:root {
    --brand-700: #ba8b00;
    --brand-400: #fdc534;
    --brand-200: #fbdd6f;
    --brand-50: #fff8dc;
    --ink: #1b1b1b;
    --ink-muted: #5c5c5c;
    --border: rgba(0,0,0,0.14);
    --shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 14px rgba(0,0,0,0.06);
    --focus: 0 0 0 3px rgba(253,197,52,0.45);

    --ys-font-prevnext: clamp(13px, 3.8vw, 17px);
    --ys-font-active: clamp(15px, 4.6vw, 20px);
}
#heading {
    position: relative;
    text-align: center;
    display: block;
    letter-spacing: 0.2px;
    font-weight: 700;
    font-size: clamp(18px, 6.5vw, 28px);
    line-height: 1.15;
    text-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

#heading::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-200), var(--brand-400) 60%, var(--brand-700));
    box-shadow: 0 2px 8px rgba(253,197,52,0.35);
    transform-origin: left center;
    transform: scaleX(0);
    animation: hd-underline-in .5s ease forwards .05s;
}

@keyframes hd-underline-in {
    to { transform: scaleX(1); }
}
#year_selector_app-before {
    visibility: hidden;
    display: none!important;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.year_selector_wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(6px, 2vw, 12px);
    color: var(--ink);
    position: relative;
}

.year_selector_wrap.is-loading {
    filter: blur(3px);
}

.year_btn {
    appearance: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand-700);
    border-radius: 10px;
    width: clamp(32px, 10vw, 42px);
    height: clamp(32px, 10vw, 42px);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    font-size: clamp(16px, 5vw, 22px);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.year_btn:hover {
    background: var(--brand-200);
    border-color: var(--brand-400);
    color: var(--ink);
}

.year_btn:active {
    transform: translateY(1px) scale(0.97);
}

.year_btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow), var(--focus);
}

.year_btn[disabled],
.year_btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

#year_selector_app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 2vw, 10px);
    padding: clamp(4px, 2vw, 10px);
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    width: 100%;
}

.year_holder_app {
    flex: 1;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    padding: clamp(6px, 1.8vw, 10px) clamp(4px, 2vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ys-font-prevnext);
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

#year_active_display {
    flex: 0.7;
    background: linear-gradient(180deg, var(--brand-200), var(--brand-400));
    color: #1b1300;
    border-color: var(--brand-400);
    font-size: var(--ys-font-active);
}

.year_holder_app:hover {
    background: var(--brand-50);
    border-color: var(--brand-200);
}

.year_holder_app:focus-visible {
    outline: none;
    box-shadow: var(--shadow), var(--focus);
}

.prev-year,
.next-year {
    background: #fff;
    color: var(--ink-muted);
}

.prev-year:hover,
.next-year:hover {
    color: var(--ink);
}

.year-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.year-loading[hidden] {
    display: none;
}

.year-spinner {
    width: clamp(18px, 5vw, 28px);
    height: clamp(18px, 5vw, 28px);
    border-radius: 50%;
    border: 3px solid var(--brand-200);
    border-top-color: var(--brand-700);
    animation: yearspin 0.8s linear infinite;
}

@keyframes year-spin {
    to { transform: rotate(360deg); }
}

@keyframes yearspin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .year_btn,
    .year_holder_app {
        transition: none;
    }
    .year-spinner {
        animation: none;
        display: none;
    }
}

/********************************************************/
/********************************************************/
/********************************************************/
/********************************************************/
/********************************************************/
/********************************************************/

.main-header{
    display: none!important;
}
#heading{
    text-wrap: nowrap !important;
}
#svMagList{
    padding:10px;
}
.sv-mag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
    padding: 10px;
}

.sv-mag {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform .15s ease;
}

.sv-mag:hover {
    transform: translateY(-2px);
}

.sv-mag__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 5px;
    background: #ddd;
}

.sv-mag__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-mag__caption {
    margin-top: 6px;
    font-size: 13px;
    text-align: center;
    line-height: 1.2;
}

.pdf-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 9999;
    justify-content: center;
    align-items: center
}

.pdf-overlay.active {
    display: flex
}

.pdf-frame {
    width: 92vw;
    height: 92vh;
    border: 0;
    background: #fff;
    border-radius: 8px
}

.pdf-overlay-close {
    position: absolute;
    top: 14px;
    right: calc(50% - 20px);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 26px;
    cursor: pointer
}

.year-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.year-loading[hidden] {
    display: none;
}

.year-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #aaa;
    border-top-color: #111;
    border-radius: 50%;
    animation: yearspin 0.8s linear infinite;
}

@keyframes yearspin {
    to { transform: rotate(360deg); }
}

.year_btn[disabled],
.year_holder_app[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}