/* =====================================================
   DG SPORTS KP - PUBLIC INDEX FRONTEND ENHANCEMENT
   Clean frontend-only styling. No backend functionality changed.
===================================================== */

:root{
    --dgs-primary:#0f766e;
    --dgs-primary-dark:#064e3b;
    --dgs-secondary:#2563eb;
    --dgs-gold:#f59e0b;
    --dgs-dark:#020617;
    --dgs-muted:#64748b;
    --dgs-soft:#f8fafc;
    --dgs-border:#e2e8f0;
}

html{scroll-behavior:smooth;}

body{
    background:
        radial-gradient(circle at top left,rgba(15,118,110,.08),transparent 34%),
        radial-gradient(circle at top right,rgba(37,99,235,.07),transparent 30%),
        #ffffff;
}

.dgs-index-page{position:relative; overflow:hidden;}
.dgs-public-main{position:relative; z-index:1;}

/* =====================================================
   GLOBAL MODAL STACKING FIX
===================================================== */
.modal{z-index:99999 !important;}
.modal-backdrop{z-index:99998 !important;}

/* =====================================================
   SCROLL PROGRESS
===================================================== */
.dgs-scroll-progress{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:4px;
    z-index:100050;
    background:linear-gradient(90deg,var(--dgs-primary),var(--dgs-secondary),var(--dgs-gold));
    box-shadow:0 6px 18px rgba(15,118,110,.28);
    transition:width .08s linear;
}

/* =====================================================
   PAGE LOADER
===================================================== */
.dgs-page-loader{
    position:fixed;
    inset:0;
    z-index:100040;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at 30% 20%,rgba(37,99,235,.18),transparent 32%),
        radial-gradient(circle at 75% 70%,rgba(16,185,129,.20),transparent 34%),
        linear-gradient(135deg,#020617,#064e3b);
    transition:opacity .45s ease,visibility .45s ease;
}

.dgs-page-loader.hide{opacity:0; visibility:hidden; pointer-events:none;}

.dgs-loader-card{
    width:min(380px,92vw);
    padding:42px 32px;
    text-align:center;
    border-radius:32px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 40px 110px rgba(0,0,0,.35);
    backdrop-filter:blur(20px);
}

.dgs-loader-emblem{
    width:86px;
    height:86px;
    margin:0 auto 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:28px;
    color:#fff;
    font-size:38px;
    background:linear-gradient(135deg,var(--dgs-gold),#f97316);
    box-shadow:0 22px 50px rgba(245,158,11,.34);
    animation:dgsPulse 1.7s ease-in-out infinite;
}

@keyframes dgsPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}

.dgs-loader-card h5{margin:0; color:#fff; font-size:22px; font-weight:900; letter-spacing:-.4px;}
.dgs-loader-card p{margin:8px 0 26px; color:rgba(255,255,255,.72); font-weight:700;}

.dgs-loader-line{
    position:relative;
    width:100%;
    height:8px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.14);
}

.dgs-loader-line:after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:-45%;
    width:45%;
    border-radius:999px;
    background:linear-gradient(90deg,transparent,#fff,transparent);
    animation:dgsLoaderMove 1.1s linear infinite;
}

@keyframes dgsLoaderMove{to{left:100%}}

/* =====================================================
   SECTION REVEAL
===================================================== */
.dgs-section-reveal{
    opacity:0;
    transform:translateY(32px);
    transition:opacity .7s ease,transform .7s ease;
}

.dgs-section-reveal.dgs-visible{opacity:1; transform:translateY(0);}

/* ================================================================
PUBLIC NOTICE SYSTEM
================================================================ */

#public_notices.spm-notice-strip {
    --notice-dark: #071a15;
    --notice-green: #0f766e;
    --notice-green-dark: #065f46;
    --notice-blue: #2563eb;
    --notice-gold: #f59e0b;
    --notice-red: #ef4444;
    --notice-text: #0f172a;
    --notice-muted: #64748b;
    --notice-border: #e2e8f0;

    position: relative;
    z-index: 50;
    padding: 10px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 50%,
            rgba(16, 185, 129, 0.19),
            transparent 26%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(37, 99, 235, 0.17),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #020617 0%,
            #052e2b 48%,
            #064e3b 100%
        );
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#public_notices.spm-notice-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );
    background-size: 28px 28px;
}

#public_notices .spm-notice-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 224px;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.075);
    box-shadow:
        0 18px 50px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

/* ================================================================
NOTICE STATUS
================================================================ */

#public_notices .spm-notice-status {
    min-width: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 13px;
    color: #ffffff;
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.94),
            rgba(6, 78, 59, 0.88)
        );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.22);
}

#public_notices .spm-notice-status-icon {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    background:
        linear-gradient(
            135deg,
            #16a34a,
            #0f766e
        );
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
}

#public_notices .spm-live-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border: 2px solid #0f172a;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.72);
    animation: spmNoticeLivePulse 1.5s infinite;
}

@keyframes spmNoticeLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.72);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#public_notices .spm-notice-status-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#public_notices .spm-notice-status-label {
    margin-bottom: 2px;
    color: #86efac;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

#public_notices .spm-notice-status-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ================================================================
NOTICE MARQUEE
================================================================ */

#public_notices .spm-notice-marquee {
    position: relative;
    min-width: 0;
    height: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 17px;
    background: rgba(2, 6, 23, 0.23);
}

#public_notices .spm-notice-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: 58px;
    pointer-events: none;
}

#public_notices .spm-notice-fade-left {
    left: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 46, 43, 0.96),
            transparent
        );
}

#public_notices .spm-notice-fade-right {
    right: 0;
    background:
        linear-gradient(
            270deg,
            rgba(5, 46, 43, 0.96),
            transparent
        );
}

#public_notices .spm-notice-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    animation: spmNoticeScroll 48s linear infinite;
    will-change: transform;
}

#public_notices .spm-notice-marquee:hover .spm-notice-track {
    animation-play-state: paused;
}

@keyframes spmNoticeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

#public_notices .spm-notice-item {
    position: relative;
    min-width: 340px;
    max-width: 510px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 6px;
    overflow: hidden;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.99),
            rgba(248, 250, 252, 0.96)
        );
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.13);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#public_notices .spm-notice-item:hover {
    color: #0f172a;
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 15px 30px rgba(2, 6, 23, 0.18);
}

#public_notices .spm-notice-item[aria-disabled="true"] {
    cursor: default;
}

#public_notices .spm-notice-item-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 13px;
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.12);
}

#public_notices .spm-notice-item-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#public_notices .spm-notice-item-title {
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    text-overflow: ellipsis;
}

#public_notices .spm-notice-item-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
}

#public_notices .spm-notice-item-type {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.03em;
}

#public_notices .spm-notice-new {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fef2f2;
    font-size: 8px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
}

#public_notices .spm-notice-open-icon {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 10px;
}

#public_notices .spm-notice-empty {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 800;
}

#public_notices .spm-notice-empty-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
}

/* ================================================================
NOTICE CENTER BUTTON
================================================================ */

#public_notices .spm-notice-action {
    min-width: 0;
}

#public_notices .spm-notice-view-btn {
    position: relative;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 8px;
    overflow: hidden;
    color: #ffffff;
    border: 0;
    border-radius: 17px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.2),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );
    box-shadow:
        0 14px 32px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

#public_notices .spm-notice-view-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 19px 40px rgba(37, 99, 235, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#public_notices .spm-notice-view-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 15px;
}

#public_notices .spm-notice-view-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#public_notices .spm-notice-view-copy small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#public_notices .spm-notice-view-copy strong {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
}

#public_notices .spm-notice-count {
    flex: 0 0 auto;
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    color: #1d4ed8;
    border-radius: 10px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 950;
}

#public_notices .spm-notice-view-arrow {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
}

/* ================================================================
PUBLIC NOTICE MODAL
================================================================ */

#publicNoticesModal .modal-dialog {
    width: min(1240px, calc(100vw - 30px));
    max-width: 1240px;
}

.spm-notice-modal {
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background: #f8fafc;
    box-shadow:
        0 45px 130px rgba(2, 6, 23, 0.43),
        0 0 0 1px rgba(255, 255, 255, 0.45);
}

.spm-notice-modal-head {
    position: relative;
    min-height: 178px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 34px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 82% 0%,
            rgba(59, 130, 246, 0.42),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 100%,
            rgba(16, 185, 129, 0.25),
            transparent 33%
        ),
        linear-gradient(
            125deg,
            #020617 0%,
            #0f172a 48%,
            #064e3b 100%
        );
}

.spm-notice-modal-head-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 32px 32px;
    mask-image:
        linear-gradient(
            90deg,
            #000,
            transparent
        );
}

.spm-notice-modal-brand {
    position: relative;
    z-index: 2;
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.spm-notice-modal-emblem {
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            rgba(16, 185, 129, 0.95),
            rgba(37, 99, 235, 0.94)
        );
    box-shadow:
        0 22px 55px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 31px;
}

.spm-notice-modal-heading {
    min-width: 0;
}

.spm-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 10px;
    padding: 0 11px;
    color: #a7f3d0;
    border: 1px solid rgba(167, 243, 208, 0.18);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.spm-notice-modal-head h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -1.2px;
}

.spm-notice-modal-head p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.spm-notice-modal-summary {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 116px);
    gap: 10px;
    margin-right: 44px;
}

.spm-notice-summary-box {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.spm-notice-summary-box.new {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(254, 202, 202, 0.18);
}

.spm-notice-summary-box span {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spm-notice-summary-box strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
}

.spm-modal-close {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 13px;
    background-color: rgba(255, 255, 255, 0.92);
    opacity: 1;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.24);
}

/* ================================================================
NOTICE TOOLBAR
================================================================ */

.spm-notice-toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(18px);
}

.spm-notice-search {
    position: relative;
    min-width: 0;
    height: 54px;
    display: flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.spm-notice-search:focus-within {
    border-color: #3b82f6;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 12px 30px rgba(15, 23, 42, 0.07);
}

.spm-notice-search-icon {
    flex: 0 0 auto;
    width: 52px;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 15px;
}

.spm-notice-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0;
    color: #0f172a;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}

.spm-notice-search input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.spm-notice-search-clear {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-right: 7px;
    color: #64748b;
    border: 0;
    border-radius: 11px;
    background: #f1f5f9;
    font-size: 12px;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.spm-notice-search-clear:hover {
    color: #dc2626;
    background: #fee2e2;
}

.spm-notice-toolbar-info {
    max-width: 330px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
}

.spm-notice-toolbar-info i {
    color: #2563eb;
}

/* ================================================================
NOTICE CARDS
================================================================ */

.spm-notice-modal-body {
    min-height: 340px;
    padding: 22px;
    background:
        radial-gradient(
            circle at top right,
            rgba(59, 130, 246, 0.05),
            transparent 28%
        ),
        #f8fafc;
}

.spm-notice-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.spm-notice-modal-card {
    position: relative;
    min-width: 0;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 21px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 23px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.065);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.spm-notice-modal-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.spm-notice-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.spm-modal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.spm-modal-card-category,
.spm-modal-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spm-modal-card-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.spm-table-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.spm-card-new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 9px;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fef2f2;
    font-size: 9px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
}

.spm-card-new span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}

.spm-notice-number {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
}

.spm-notice-card-content {
    flex: 1;
}

.spm-table-title {
    margin: 0 0 11px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.42;
    font-weight: 950;
    letter-spacing: -0.25px;
}

.spm-table-desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.spm-notice-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.spm-table-date,
.spm-notice-file-status {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    color: #475569;
    border: 1px solid #e8edf4;
    border-radius: 13px;
    background: #f8fafc;
}

.spm-meta-icon {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #2563eb;
    border-radius: 10px;
    background: #eff6ff;
    font-size: 11px;
}

.spm-notice-file-status .spm-meta-icon {
    color: #047857;
    background: #ecfdf5;
}

.spm-table-date div,
.spm-notice-file-status div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.spm-table-date small,
.spm-notice-file-status small {
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spm-table-date strong,
.spm-notice-file-status strong {
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.spm-table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.spm-action-btn {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    text-decoration: none;
    border-radius: 13px;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.spm-action-btn.view {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );
    box-shadow: 0 11px 25px rgba(37, 99, 235, 0.2);
}

.spm-action-btn.download {
    color: #047857;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.spm-action-btn:hover {
    transform: translateY(-2px);
}

.spm-action-btn.view:hover {
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.28);
}

.spm-action-btn.download:hover {
    color: #065f46;
    background: #d1fae5;
}

.spm-action-disabled {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
    border-radius: 13px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 850;
}

/* ================================================================
EMPTY STATES
================================================================ */

.spm-notice-search-empty,
.spm-modal-empty {
    min-height: 330px;
    display: none;
    place-items: center;
    align-content: center;
    padding: 35px 20px;
    text-align: center;
}

.spm-notice-search-empty.show {
    display: grid;
}

.spm-modal-empty {
    display: grid;
}

.spm-notice-search-empty-icon,
.spm-modal-empty-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 24px;
    background: #eff6ff;
    font-size: 27px;
}

.spm-modal-empty-icon {
    color: #64748b;
    border-color: #e2e8f0;
    background: #ffffff;
}

.spm-notice-search-empty h4,
.spm-modal-empty h4 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 950;
}

.spm-notice-search-empty p,
.spm-modal-empty p {
    max-width: 470px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.spm-notice-search-empty button {
    min-height: 42px;
    margin-top: 18px;
    padding: 0 17px;
    color: #ffffff;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    font-size: 11px;
    font-weight: 900;
}

/* ================================================================
NOTICE MODAL FOOTER
================================================================ */

.spm-notice-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 22px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.spm-notice-modal-footer > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
}

.spm-notice-modal-footer > div i {
    flex: 0 0 auto;
    color: #16a34a;
}

.spm-notice-footer-close {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 900;
}

/* ================================================================
RESPONSIVE NOTICE DESIGN
================================================================ */

@media (max-width: 1199.98px) {

    #public_notices .spm-notice-shell {
        grid-template-columns: 185px minmax(0, 1fr) 200px;
    }

    #public_notices .spm-notice-item {
        min-width: 310px;
    }

    .spm-notice-modal-summary {
        grid-template-columns: repeat(2, 102px);
    }
}

@media (max-width: 991.98px) {

    #public_notices.spm-notice-strip {
        padding: 9px 0;
    }

    #public_notices .spm-notice-shell {
        grid-template-columns: 1fr auto;
        min-height: auto;
    }

    #public_notices .spm-notice-status {
        grid-column: 1;
    }

    #public_notices .spm-notice-action {
        grid-column: 2;
        grid-row: 1;
        width: 190px;
    }

    #public_notices .spm-notice-marquee {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .spm-notice-modal-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .spm-notice-modal-summary {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-right: 0;
    }

    .spm-notice-summary-box {
        min-height: 76px;
    }

    .spm-notice-toolbar {
        grid-template-columns: 1fr;
    }

    .spm-notice-toolbar-info {
        max-width: none;
    }
}

@media (max-width: 767.98px) {

    #public_notices .spm-notice-shell {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #public_notices .spm-notice-status {
        width: 100%;
    }

    #public_notices .spm-notice-action {
        width: 100%;
        order: 3;
    }

    #public_notices .spm-notice-marquee {
        width: 100%;
        order: 2;
    }

    #public_notices .spm-notice-view-btn {
        justify-content: flex-start;
    }

    #public_notices .spm-notice-item {
        min-width: 285px;
        max-width: 360px;
    }

    .spm-notice-modal-grid {
        grid-template-columns: 1fr;
    }

    .spm-notice-modal-head {
        min-height: auto;
        padding: 26px 22px;
    }

    .spm-notice-modal-brand {
        align-items: flex-start;
    }

    .spm-notice-modal-emblem {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        font-size: 24px;
    }

    .spm-notice-modal-head h3 {
        font-size: 28px;
    }

    .spm-notice-toolbar {
        padding: 14px;
    }

    .spm-notice-modal-body {
        padding: 14px;
    }

    .spm-notice-modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .spm-notice-footer-close {
        width: 100%;
    }
}

@media (max-width: 575.98px) {

    #publicNoticesModal .modal-dialog {
        width: calc(100vw - 18px);
        margin: 9px auto;
    }

    .spm-notice-modal {
        border-radius: 22px;
    }

    .spm-notice-modal-brand {
        gap: 13px;
    }

    .spm-notice-modal-emblem {
        width: 52px;
        height: 52px;
        border-radius: 17px;
        font-size: 20px;
    }

    .spm-modal-eyebrow {
        font-size: 7px;
    }

    .spm-notice-modal-head h3 {
        font-size: 24px;
    }

    .spm-notice-modal-head p {
        font-size: 11px;
    }

    .spm-modal-close {
        top: 14px;
        right: 14px;
        width: 35px;
        height: 35px;
    }

    .spm-notice-summary-box {
        min-height: 68px;
        padding: 11px;
    }

    .spm-notice-summary-box strong {
        font-size: 23px;
    }

    .spm-notice-toolbar-info {
        display: none;
    }

    .spm-notice-modal-card {
        min-height: 0;
        padding: 17px;
        border-radius: 19px;
    }

    .spm-modal-card-top {
        align-items: flex-start;
    }

    .spm-modal-card-status {
        flex-direction: column;
        align-items: flex-end;
    }

    .spm-table-title {
        font-size: 16px;
    }

    .spm-notice-card-meta {
        grid-template-columns: 1fr;
    }

    .spm-table-actions {
        flex-direction: column;
    }

    .spm-action-btn {
        width: 100%;
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    #public_notices .spm-notice-track,
    #public_notices .spm-live-dot {
        animation: none !important;
    }
    

    #public_notices .spm-notice-item,
    #public_notices .spm-notice-view-btn,
    .spm-notice-modal-card,
    .spm-action-btn {
        transition: none !important;
    }
}


/* =====================================================
   EVENT MODAL
===================================================== */
.dgs-event-popup .modal-content{border-radius:34px; background:#fff; box-shadow:0 42px 120px rgba(2,6,23,.38);}
.dgs-event-close{position:absolute; top:20px; right:20px; z-index:5; width:44px; height:44px; border-radius:16px; background-color:#fff; opacity:1; box-shadow:0 14px 30px rgba(15,23,42,.18);}
.dgs-event-visual{position:relative; min-height:520px; height:100%; background:linear-gradient(135deg,#064e3b,#0f766e); overflow:hidden;}
.dgs-event-visual img{width:100%; height:100%; min-height:520px; object-fit:cover; display:block;}
.dgs-event-visual:after{content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(2,6,23,.58),transparent 48%);}
.dgs-event-fallback{min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; gap:20px;}
.dgs-event-fallback i{font-size:96px; opacity:.95;}
.dgs-event-fallback span{font-size:28px; font-weight:900;}
.dgs-event-badge{position:absolute; left:28px; bottom:28px; z-index:2; display:inline-flex; align-items:center; gap:10px; min-height:46px; padding:0 18px; border-radius:999px; color:#fff; font-size:13px; font-weight:900; text-transform:uppercase; letter-spacing:.7px; background:rgba(15,23,42,.72); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(14px);}
.dgs-event-content{min-height:520px; padding:64px 54px; display:flex; flex-direction:column; justify-content:center; background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 35%),#ffffff;}
.dgs-event-kicker{width:max-content; max-width:100%; margin-bottom:18px; padding:9px 14px; border-radius:999px; background:rgba(15,118,110,.10); color:var(--dgs-primary); font-size:11px; font-weight:950; text-transform:uppercase; letter-spacing:1px;}
.dgs-event-content h2{margin:0 0 18px; color:var(--dgs-dark); font-size:clamp(34px,4vw,52px); line-height:1.05; font-weight:950; letter-spacing:-1.7px;}
.dgs-event-desc{color:#475569; font-size:16px; line-height:1.85; margin-bottom:28px; display:-webkit-box; -webkit-line-clamp:5; line-clamp:5; -webkit-box-orient:vertical; overflow:hidden;}
.dgs-event-meta{display:grid; gap:12px; margin-bottom:34px;}
.dgs-event-meta div{display:flex; align-items:center; gap:12px; color:#334155; font-size:15px; font-weight:800;}
.dgs-event-meta i{width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,var(--dgs-primary),var(--dgs-secondary));}
.dgs-event-actions{display:flex; flex-wrap:wrap; gap:14px;}
.dgs-event-primary-btn,.dgs-event-light-btn{min-height:52px; display:inline-flex; align-items:center; justify-content:center; border-radius:16px; padding:0 24px; font-size:14px; font-weight:900;}
.dgs-event-primary-btn{color:#fff; border:0; background:linear-gradient(135deg,var(--dgs-primary),var(--dgs-secondary)); box-shadow:0 18px 40px rgba(37,99,235,.22);}
.dgs-event-primary-btn:hover{color:#fff; transform:translateY(-2px);}
.dgs-event-light-btn{color:#0f172a; border:1px solid var(--dgs-border); background:#f8fafc;}
.dgs-event-light-btn:hover{background:#eef2ff;}

/* =====================================================
   DISTRICT MODALS
===================================================== */
.dgs-premium-district-modal,.dgs-premium-dashboard-modal{border-radius:28px; overflow:hidden; box-shadow:0 34px 100px rgba(2,6,23,.28);}
.dgs-premium-district-modal .modal-header,.dgs-premium-dashboard-modal .modal-header{background:radial-gradient(circle at top right,rgba(245,158,11,.18),transparent 36%),linear-gradient(135deg,#ffffff,#f8fafc);}
.dgs-premium-district-modal h4,.dgs-premium-dashboard-modal h3{color:#0f172a; letter-spacing:-.6px;}
.dgs-premium-district-modal .district-select{min-height:54px; border-radius:16px; border-color:#dbe3ef; font-weight:700; box-shadow:0 12px 30px rgba(15,23,42,.06);}
.dgs-premium-district-modal .district-select:focus{border-color:var(--dgs-primary); box-shadow:0 0 0 .25rem rgba(15,118,110,.13);}
.dgs-premium-district-modal .district-continue-btn{min-height:54px; border-radius:16px; border:0; font-weight:900; background:linear-gradient(135deg,var(--dgs-primary),var(--dgs-secondary)); box-shadow:0 16px 36px rgba(37,99,235,.22);}
.dgs-premium-dashboard-modal .district-dashboard-scroll{background:#f8fafc;}

/* =====================================================
   GO TO TOP
===================================================== */
.dgs-go-top-btn,.go-top-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:54px;
    height:54px;
    border:0;
    border-radius:20px;
    color:#fff;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--dgs-primary),var(--dgs-secondary));
    box-shadow:0 18px 42px rgba(15,23,42,.24);
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.3s ease;
}

.dgs-go-top-btn.show,.go-top-btn.show{opacity:1; visibility:visible; transform:translateY(0);}
.dgs-go-top-btn:hover,.go-top-btn:hover{transform:translateY(-4px); box-shadow:0 24px 52px rgba(15,23,42,.30);}

/* =====================================================
   GENERAL POLISH
===================================================== */
.dgs-index-page .card,
.dgs-index-page .facility-card,
.dgs-index-page .event-card,
.dgs-index-page .gallery-card{
    border-radius:22px;
    border-color:rgba(226,232,240,.9);
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.dgs-index-page img{max-width:100%;}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width:991px){
    #public_notices.spm-notice-strip{height:auto; max-height:none; min-height:auto; padding:8px 0;}
    #public_notices .container-fluid{height:auto;}
    #public_notices .spm-notice-shell{height:auto; grid-template-columns:1fr; gap:8px; padding:8px;}
    #public_notices .spm-notice-control{width:100%; justify-content:center;}
    #public_notices .spm-notice-action{text-align:initial;}
    #public_notices .spm-notice-view-btn{width:100%;}
    #public_notices .spm-notice-text{max-width:260px;}

    .spm-notice-modal-grid{grid-template-columns:1fr;}
    .dgs-event-popup .modal-dialog{margin:14px;}
    .dgs-event-popup .modal-content{border-radius:26px;}
    .dgs-event-visual,.dgs-event-visual img,.dgs-event-fallback{min-height:320px;}
    .dgs-event-content{min-height:auto; padding:38px 26px 32px;}
}

@media(max-width:576px){
    .dgs-loader-card{padding:34px 22px; border-radius:26px;}
    .dgs-event-content h2{font-size:32px;}
    .dgs-event-actions .btn{width:100%;}
    .dgs-go-top-btn,.go-top-btn{right:16px; bottom:16px; width:48px; height:48px; border-radius:17px;}
    .spm-notice-modal-head{padding:24px;}
    .spm-notice-modal-head h3{font-size:26px;}
    .spm-table-actions{flex-direction:column; align-items:stretch;}
    .spm-action-btn,.spm-action-disabled{width:100%;}
}

@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    .dgs-section-reveal,
    .dgs-page-loader,
    .dgs-loader-emblem,
    .dgs-loader-line:after,
    #public_notices .spm-notice-track,
    #public_notices .spm-live-dot{
        animation:none !important;
        transition:none !important;
    }
}


/* ================================================================
DISTRICT DASHBOARD EXPORT ACTIONS
================================================================ */

.district-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.district-dashboard-kicker {
    display: block;
    margin-bottom: 4px;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.district-dashboard-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.district-dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.district-dashboard-action-btn:hover {
    color: #ffffff;
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-2px);
}

.district-share-jpg-btn {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #16a34a,
            #15803d
        );
    border-color: transparent;
}

.district-share-jpg-btn:hover {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #15803d,
            #166534
        );
}

.district-dashboard-capture-area {
    position: relative;
    width: 100%;
    padding: 28px;
    background: #f8fafc;
    border-radius: 22px;
}

.district-export-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px;
    padding: 20px 22px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #14532d,
            #15803d,
            #16a34a
        );
    border-radius: 18px;
}

.district-export-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.district-export-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 24px;
}

.district-export-department {
    font-size: 16px;
    font-weight: 850;
}

.district-export-province {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.district-export-document {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.district-export-document strong {
    font-size: 18px;
    font-weight: 850;
}

.district-export-document span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
}

.district-export-footer {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding: 14px 18px;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 650;
}




/* ================================================================
DISTRICT DASHBOARD EXPORT NOTIFICATION
================================================================ */

.district-export-message {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 200000;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 300px;
    max-width: calc(100vw - 30px);
    padding: 15px 20px;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.25);
    font-size: 13px;
    font-weight: 750;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -20px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.district-export-message.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.district-export-message.is-success {
    background:
        linear-gradient(
            135deg,
            #16a34a,
            #15803d
        );
}

.district-export-message.is-error {
    background:
        linear-gradient(
            135deg,
            #dc2626,
            #991b1b
        );
}

.district-export-message i {
    font-size: 18px;
}

.district-dashboard-action-btn {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.district-dashboard-header-actions {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.district-dashboard-action-btn.is-processing {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none !important;
}

@media (max-width: 575.98px) {

    .district-export-message {
        top: 15px;
        width: calc(100vw - 30px);
        min-width: 0;
    }
}


/**============== Waiting modal Css ==============**/
/* ================================================================
ADVANCED DISTRICT EXPORT WAITING MODAL
================================================================ */

 

.district-export-waiting-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(59, 130, 246, 0.30),
            transparent 36%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(16, 185, 129, 0.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #020617 0%,
            #0f172a 52%,
            #064e3b 100%
        );
    box-shadow:
        0 40px 120px rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(24px);
}

.district-waiting-body {
    position: relative;
    z-index: 5;
    padding: 46px 38px 34px;
    text-align: center;
}

.district-waiting-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.40;
    pointer-events: none;
}

.district-waiting-glow-one {
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: #3b82f6;
}

.district-waiting-glow-two {
    bottom: -90px;
    left: -70px;
    width: 220px;
    height: 220px;
    background: #10b981;
}

.district-waiting-visual {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 28px;
}

.district-waiting-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border-style: solid;
}

.district-ring-one {
    border-width: 3px;
    border-color:
        rgba(255, 255, 255, 0.08)
        rgba(255, 255, 255, 0.08)
        #22c55e
        #22c55e;
    animation: districtWaitingSpin 1.7s linear infinite;
}

.district-ring-two {
    inset: 14px;
    border-width: 2px;
    border-color:
        #60a5fa
        transparent
        #60a5fa
        transparent;
    animation: districtWaitingSpinReverse 1.25s linear infinite;
}

.district-ring-three {
    inset: 29px;
    border-width: 2px;
    border-color:
        transparent
        #fbbf24
        transparent
        #fbbf24;
    animation: districtWaitingSpin 2.2s linear infinite;
}

.district-waiting-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(34, 197, 94, 0.92),
            rgba(37, 99, 235, 0.92)
        );
    box-shadow:
        0 18px 45px rgba(34, 197, 94, 0.32);
    font-size: 30px;
    transform: translate(-50%, -50%);
    animation: districtWaitingPulse 1.8s ease-in-out infinite;
}

.district-waiting-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 6px 13px;
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.20);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.10);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.district-waiting-body h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.district-waiting-body p {
    max-width: 370px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.75;
}

.district-waiting-progress {
    position: relative;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.district-waiting-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.26),
            transparent
        );
    transform: translateX(-100%);
    animation: districtWaitingShimmer 1.6s linear infinite;
}

.district-waiting-progress-bar {
    position: relative;
    z-index: 2;
    width: 10%;
    height: 100%;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #22c55e,
            #38bdf8,
            #fbbf24
        );
    box-shadow:
        0 0 24px rgba(56, 189, 248, 0.45);
    transition: width 0.45s ease;
}

.district-waiting-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-weight: 700;
}

.district-waiting-progress-info strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.district-waiting-security {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 10px;
    font-weight: 700;
}

.district-waiting-security i {
    color: #4ade80;
}

@keyframes districtWaitingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes districtWaitingSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes districtWaitingPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* ================================================================
DISTRICT EXPORT WAITING OVERLAY
================================================================ */

.district-export-waiting-overlay {
    position: fixed;
    inset: 0;
    z-index: 300000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.district-export-waiting-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.district-export-waiting-card {
    position: relative;
    width: min(490px, 100%);
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    background:
        radial-gradient(
            circle at top right,
            rgba(59, 130, 246, 0.30),
            transparent 36%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(16, 185, 129, 0.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #020617 0%,
            #0f172a 52%,
            #064e3b 100%
        );
    box-shadow:
        0 40px 120px rgba(2, 6, 23, 0.65);
    transform: translateY(18px) scale(0.96);
    transition:
        transform 0.3s ease;
}

.district-export-waiting-overlay.is-visible
.district-export-waiting-card {
    transform: translateY(0) scale(1);
}

.district-waiting-body {
    position: relative;
    z-index: 5;
    padding: 46px 38px 34px;
    text-align: center;
}

.district-waiting-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.40;
    pointer-events: none;
}

.district-waiting-glow-one {
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: #3b82f6;
}

.district-waiting-glow-two {
    bottom: -90px;
    left: -70px;
    width: 220px;
    height: 220px;
    background: #10b981;
}

.district-waiting-visual {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 28px;
}

.district-waiting-ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
}

.district-ring-one {
    inset: 0;
    border-width: 3px;
    border-color:
        rgba(255, 255, 255, 0.08)
        rgba(255, 255, 255, 0.08)
        #22c55e
        #22c55e;
    animation: districtWaitingSpin 1.7s linear infinite;
}

.district-ring-two {
    inset: 14px;
    border-width: 2px;
    border-color:
        #60a5fa
        transparent
        #60a5fa
        transparent;
    animation: districtWaitingSpinReverse 1.25s linear infinite;
}

.district-ring-three {
    inset: 29px;
    border-width: 2px;
    border-color:
        transparent
        #fbbf24
        transparent
        #fbbf24;
    animation: districtWaitingSpin 2.2s linear infinite;
}

.district-waiting-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(34, 197, 94, 0.92),
            rgba(37, 99, 235, 0.92)
        );
    box-shadow:
        0 18px 45px rgba(34, 197, 94, 0.32);
    font-size: 30px;
    transform: translate(-50%, -50%);
    animation: districtWaitingPulse 1.8s ease-in-out infinite;
}

.district-waiting-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 6px 13px;
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.20);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.10);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.district-waiting-body h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
}

.district-waiting-body p {
    max-width: 370px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.75;
}

.district-waiting-progress {
    position: relative;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.district-waiting-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.26),
            transparent
        );
    transform: translateX(-100%);
    animation: districtWaitingShimmer 1.6s linear infinite;
}

.district-waiting-progress-bar {
    position: relative;
    z-index: 2;
    width: 10%;
    height: 100%;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #22c55e,
            #38bdf8,
            #fbbf24
        );
    transition: width 0.45s ease;
}

.district-waiting-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-weight: 700;
}

.district-waiting-progress-info strong {
    color: #ffffff;
}

.district-waiting-security {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 10px;
    font-weight: 700;
}

.district-waiting-security i {
    color: #4ade80;
}

body.district-export-processing {
    overflow: hidden !important;
}

@keyframes districtWaitingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes districtWaitingSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes districtWaitingPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes districtWaitingShimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 575.98px) {

    .district-waiting-body {
        padding: 38px 24px 28px;
    }

    .district-waiting-visual {
        width: 125px;
        height: 125px;
    }

    .district-waiting-body h3 {
        font-size: 24px;
    }
}


/* ================================================================
ULTRA-FAST DISTRICT JPG EXPORT TEMPLATE
================================================================ */

.district-fast-export-container {
    position: fixed;
    top: 0;
    left: -10000px;
    z-index: -1;
    width: 760px;
    min-width: 760px;
    max-width: 760px;
    padding: 18px;
    color: #0f172a;
    background: #f1f5f9;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    box-sizing: border-box;
}

.district-fast-export-container,
.district-fast-export-container * {
    box-sizing: border-box;
}

.district-fast-export-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 17px 18px;
    color: #ffffff;
    background: #166534;
    border-radius: 12px;
}

.district-fast-export-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.district-fast-export-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 21px;
}

.district-fast-export-department {
    font-size: 15px;
    font-weight: 800;
}

.district-fast-export-government {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
}

.district-fast-export-document {
    max-width: 280px;
    text-align: right;
}

.district-fast-export-document strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.district-fast-export-document span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 9px;
}

.district-fast-export-section {
    margin-bottom: 13px;
    padding: 14px;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
}

.district-fast-export-section-title {
    margin-bottom: 11px;
    padding-bottom: 8px;
    color: #166534;
    border-bottom: 2px solid #dcfce7;
    font-size: 14px;
    font-weight: 800;
}

.district-fast-export-section .card,
.district-fast-export-section [class*="card"] {
    margin-bottom: 8px !important;
    overflow: visible !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #ffffff !important;
}

.district-fast-export-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -4px !important;
    margin-left: -4px !important;
}

.district-fast-export-section [class*="col-"] {
    padding-right: 4px !important;
    padding-left: 4px !important;
}

.district-fast-export-section table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    font-size: 9px !important;
}

.district-fast-export-section th,
.district-fast-export-section td {
    padding: 6px !important;
    border: 1px solid #e2e8f0 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.district-fast-export-section th {
    color: #ffffff !important;
    background: #166534 !important;
    font-weight: 700 !important;
}

.district-fast-export-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 12px;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    font-size: 8px;
}



.go-top-btn{
position:fixed;
right:25px;
bottom:25px;
width:48px;
height:48px;
border-radius:50%;
border:0;
background:#006b54;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
cursor:pointer;
opacity:0;
visibility:hidden;
transform:translateY(20px);
transition:.3s;
z-index:9999;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}
.go-top-btn.show{
opacity:1;
visibility:visible;
transform:translateY(0);
}.go-top-btn:hover{background:#008f70;}



/* =========================================================
   SDI KP — MODERN SPORTS LANDING PAGE OVERRIDES
   Keep existing public-index-enhancement.css loaded first.
========================================================= */
:root{
  --sports-ink:#07111f;
  --sports-ink-2:#0d1b2d;
  --sports-green:#17c964;
  --sports-green-2:#0e9f4b;
  --sports-blue:#2f7df6;
  --sports-cyan:#27c7d8;
  --sports-paper:#f5f7fa;
  --sports-muted:#6b7788;
  --sports-white:#fff;
  --sports-line:rgba(7,17,31,.09);
  --sports-radius:24px;
  --sports-shadow:0 22px 70px rgba(7,17,31,.12);
}

html{scroll-behavior:smooth}
body{background:var(--sports-paper);color:var(--sports-ink)}
.dgs-index-page.modern-sports-page{position:relative;overflow:hidden;background:var(--sports-paper)}
.modern-sports-noise{position:absolute;inset:0;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ---------- Navigation: make the existing nav feel like a sports brand ---------- */
.modern-sports-page .navbar,
.modern-sports-page header nav{
  background:rgba(7,17,31,.86)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.modern-sports-page .navbar .nav-link,
.modern-sports-page header nav a{font-weight:700;letter-spacing:.02em}

/* ---------- Main content rhythm ---------- */
.modern-sports-page .dgs-public-main{position:relative;z-index:1}
.modern-sports-page .dgs-section-reveal{position:relative}

/* ---------- Generic modern headings ---------- */
.modern-section-heading{margin-bottom:32px}
.modern-section-heading-split{display:flex;align-items:flex-end;justify-content:space-between;gap:32px}
.modern-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--sports-green-2);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.modern-section-heading h2{margin:9px 0 12px;font-size:clamp(34px,5vw,68px);line-height:.96;letter-spacing:-.055em;font-weight:900;color:var(--sports-ink)}
.modern-section-heading h2 em{font-style:normal;color:var(--sports-green-2)}
.modern-section-heading p{max-width:650px;margin:0;color:var(--sports-muted);font-size:17px;line-height:1.7}
.modern-section-side-note{min-width:190px;padding:16px 18px;border-left:3px solid var(--sports-green);background:#fff;border-radius:0 16px 16px 0;box-shadow:0 12px 30px rgba(7,17,31,.06)}
.modern-section-side-note span{display:block;font-size:10px;letter-spacing:.15em;font-weight:900;color:#8b96a6}
.modern-section-side-note strong{display:block;margin-top:5px;font-size:18px}

/* ---------- District map ---------- */
.modern-district-section{padding:105px 0 115px;background:#fff}
.modern-map-shell{position:relative;border-radius:30px;background:var(--sports-ink);padding:14px;box-shadow:var(--sports-shadow);overflow:hidden}
.modern-map-topbar,.modern-map-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;color:#fff}
.modern-map-topbar{font-size:12px;font-weight:800;letter-spacing:.04em}
.modern-map-status{display:flex;align-items:center;gap:9px}
.modern-map-status span{width:8px;height:8px;border-radius:50%;background:var(--sports-green);box-shadow:0 0 0 6px rgba(23,201,100,.12);animation:mapPulse 2s infinite}
.modern-map-hint{color:rgba(255,255,255,.55)}
.modern-map-stage{position:relative;overflow:hidden;border-radius:22px;background:#fff;line-height:0}
.modern-kp-map{display:block;width:100%;height:auto}
.modern-map-hotspot{position:absolute;z-index:5;width:30px;height:30px;margin:-15px 0 0 -15px;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer;line-height:normal}
.modern-map-pulse{position:absolute;inset:7px;border-radius:50%;background:rgba(23,201,100,.92);box-shadow:0 0 0 5px rgba(23,201,100,.18),0 0 0 10px rgba(23,201,100,.07);transition:.2s ease}
.modern-map-hotspot:hover .modern-map-pulse,.modern-map-hotspot:focus-visible .modern-map-pulse{transform:scale(1.28);background:#07111f;box-shadow:0 0 0 5px rgba(7,17,31,.15),0 0 0 11px rgba(7,17,31,.07)}
.modern-map-tooltip{position:absolute;left:50%;bottom:27px;transform:translate(-50%,8px);width:max-content;max-width:220px;padding:10px 13px;border-radius:12px;background:#07111f;color:#fff;font-size:13px;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.2);opacity:0;visibility:hidden;transition:.2s ease;text-align:left;white-space:nowrap}
.modern-map-tooltip:after{content:"";position:absolute;left:50%;bottom:-5px;width:10px;height:10px;background:#07111f;transform:translateX(-50%) rotate(45deg)}
.modern-map-tooltip small{display:block;margin-top:4px;color:rgba(255,255,255,.58);font-size:9px;letter-spacing:.06em;text-transform:uppercase}
.modern-map-hotspot:hover .modern-map-tooltip,.modern-map-hotspot:focus-visible .modern-map-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}
.modern-map-bottom{padding:18px 8px 5px}
.modern-map-bottom strong{display:block;font-size:11px;letter-spacing:.15em;color:var(--sports-green)}
.modern-map-bottom span{display:block;margin-top:4px;color:rgba(255,255,255,.52);font-size:12px}
.modern-map-all-btn{border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:#fff;padding:11px 17px;font-size:12px;font-weight:900;transition:.2s ease}
.modern-map-all-btn:hover{background:var(--sports-green);border-color:var(--sports-green);color:#07111f;transform:translateY(-2px)}
@keyframes mapPulse{50%{box-shadow:0 0 0 8px rgba(23,201,100,.08)}}

/* ---------- Existing hero: make it visually dominant ---------- */
.modern-sports-page .dgs-section-reveal:has(.hero),
.modern-sports-page .dgs-section-reveal:has(.dgs-hero),
.modern-sports-page .dgs-section-reveal:has(.public-hero){position:relative}

/* Common card polish for existing modular sections */
.modern-sports-page .card{border:0;border-radius:var(--sports-radius);box-shadow:0 15px 45px rgba(7,17,31,.07)}
.modern-sports-page img{max-width:100%}
.modern-sports-page button,.modern-sports-page a{transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease}

/* Make the public page feel less like a document and more like a sports platform */
.modern-sports-page .section-title,
.modern-sports-page .dgs-section-title{font-weight:900;letter-spacing:-.04em}
.modern-sports-page .badge{font-weight:800}

/* ---------- Statistics wrapper ---------- */
.modern-sports-page #statistics{background:var(--sports-ink)!important;color:#fff;border-radius:0}
.modern-sports-page #statistics h1,
.modern-sports-page #statistics h2,
.modern-sports-page #statistics h3,
.modern-sports-page #statistics h4{color:#fff}

/* ---------- Notice strip ---------- */
.modern-sports-page .spm-notice-strip{position:relative;z-index:4;background:#07111f!important;color:#fff;border:0!important}
.modern-sports-page .spm-notice-strip a{color:#fff}

/* ---------- District selector modal ---------- */
.modern-sports-page #districtSelectorModal .modal-content,
.modern-sports-page #districtDashboardModal .modal-content{border:0;border-radius:24px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.25)}
.modern-sports-page #districtSelectorModal .modal-header,
.modern-sports-page #districtDashboardModal .modal-header{background:var(--sports-ink);color:#fff;border:0}

/* ---------- Responsive ---------- */
@media(max-width:991.98px){
  .modern-section-heading-split{align-items:flex-start;flex-direction:column}
  .modern-section-side-note{min-width:0;width:100%}
  .modern-map-tooltip{display:none}
  .modern-map-hotspot{width:24px;height:24px;margin:-12px 0 0 -12px}
  .modern-map-pulse{inset:6px}
  .modern-map-bottom{align-items:flex-start;flex-direction:column}
  .modern-map-all-btn{width:100%}
}
@media(max-width:575.98px){
  .modern-district-section{padding:70px 0 75px}
  .modern-section-heading h2{font-size:42px}
  .modern-section-heading p{font-size:15px}
  .modern-map-shell{padding:7px;border-radius:20px}
  .modern-map-topbar{padding:10px 9px;font-size:10px}
  .modern-map-hint{display:none}
  .modern-map-stage{border-radius:15px}
  .modern-map-hotspot{width:19px;height:19px;margin:-9.5px 0 0 -9.5px}
  .modern-map-pulse{inset:5px;box-shadow:0 0 0 3px rgba(23,201,100,.18)}
  .modern-map-bottom{padding:12px 5px 3px}
}

/* Respect reduced-motion accessibility */
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
