/* ============================================================
    Design tokens
    ============================================================ */
:root {
    --header-h: 96px;
    --footer-h: 48px;
    --sidebar-w: 210px;
    --radius: 0.8rem;

    --color-primary: rgba(123,29, 44, 1);
    --color-primary-hover: rgba(90,19, 32, 1);
    --color-accent: rgba(200,36, 58, 1);
    --color-accent-light: rgb(202, 67, 82);

    --color-bg: rgba(255, 255, 255, 1);
    --color-surface: rgba(250, 250, 250, 1);
    --color-surface-raised: rgb(200, 200, 200);
    --color-text: rgba(26, 26, 26, 100);
    --color-muted: rgba(107, 107, 107, 1);
    --color-border: rgba(232, 232, 234, 1);
    --color-selection: rgba(187, 222, 251, 1);

    --checked-color: rgb(33, 150, 243);
    --valid-color: rgb(22, 154, 91);
    --invalid-color: var(--color-accent);

    --blue-color: rgb(30, 136, 229);

    --font-display: Montserrat, sans-serif;
    --font-sans:   system-ui, sans-serif;
    --font-body: Montserrat, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-drawer: 2px 0 16px rgba(0, 0, 0, 0.12);

    --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
    --shadow-md:   0 4px 12px rgba(0,0,0,.10);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width:   1280px;

    --radio-size: 2rem;
    --radio-checked-size: 1rem;
    --radio-ripple-size: 1rem;
}

.free_chat, .openChatColor{color:#fff!important;background-color:rgba(62, 101, 255, 1)}
.member_chat, .memberChatColor{color:#fff!important;background-color:rgba(240, 140, 10 ,1)}
.private_chat, .privateChatColor{color:#fff!important;background-color:rgba(229, 20, 0, 1)}
.private_chat_exclusive, .xclsvPrivateChatColor{color:#fff!important;background-color:rgba(162, 0, 0, 1)}
.vip_show, .vipShowColor{color:#fff!important;background-color:rgba(180, 131, 200, 1)}
.vip_show_running, .vipShowRunningColor{color:#fff!important;background-color:rgba(142, 68, 173, 1)}
.offline, .offlineColor{color:#fff!important;background-color:rgba(149, 165, 166, 1)}

@font-face {
    font-family: 'Montserrat';
    src: url('/Montserrat.woff2') format('woff2 supports variations'),
         url('/Montserrat.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    }
*:disabled {
    cursor: not-allowed;
    opacity: 0.3;                           /* dimmed when disabled */
}
html, body {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color:transparent;
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
html
{
    font-family:Montserrat,sans-serif;
    font-size:10px;
    font-weight:400;
    -ms-touch-action:manipulation;
    touch-action:manipulation;color:var(--color-selection);
}
body {
    font-family:Montserrat,sans-serif;
    font-size:1.6rem;
    line-height:1.85;
    color: var(--color-text);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    transition: color 0.1s, background-color 0.5s;
}
/* ============================================================
   helpers
   ============================================================ */
.leftAlign{text-align:left;}
.rightAlign{text-align:right;}
.center, .centerAlign{text-align:center;}
.justify, .justifyAlign{text-align:justify}
.topAlign{vertical-align:top;}
.bottomAlign{vertical-align:bottom;}
.middleAlign{vertical-align:middle;}
.left{float:left}
.right{float:right}
.clearfix{}
.clearfix:before,.clearfix:after{content:'';display:table;}
.clearfix:after{clear:both;}
.circle{border-radius:50%;}
.block{display:block;}
.center-block{display:block;margin-left:auto;margin-right:auto;}
.inline{display:inline;}
.inlineBlock{display:inline-block;}
.cropEllipsis{display:table;table-layout:fixed;width:100%;white-space:nowrap;}
.cropEllipsis > *{display:table-cell;overflow:hidden;text-overflow:ellipsis;}
.truncated{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uppercase{text-transform:uppercase;letter-spacing: 0.03em;}
.lowercase{text-transform:lowercase;}
.capitalizeFirst{display:inline-block;}
.capitalizeFirst:first-letter{text-transform:capitalize;}
.hide{display:none}
.hidden{display:none}
.collapsed,.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto;}
.invisible{visibility:hidden;}
.border{border-style:solid;border-width:1px;}
.borderTop{border-top:1px solid;}
.borderBottom{border-bottom:1px solid;}
.pointerCursor{cursor:pointer;}
.borderTop{border-top:1px solid;}

details,figcaption,figure,hgroup,menu{display:block}
blockquote,q{quotes:none}
blockquote:after,blockquote:before,q:after,q:before{content:none}
audio{display:inline-block;max-width:100%;vertical-align:baseline;}
button{border:none;cursor:pointer}
::-moz-selection{background:var(--color-selection);text-shadow:none;}
::selection{background:var(--color-selection);text-shadow:none;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}
ul{list-style:none;padding:0;}
li{padding:0;}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;cursor:pointer;}
small{font-size:70%;}sub,sup{font-size:60%;}
blockquote{margin:2rem 0;padding-left:1.5rem;}
img.responsive,video.responsive{max-width:100%;height:auto;}
.divider{height:1px;overflow:hidden;background-color:var(--color-border);border:0;}
/*============================================================ Shadows =============================================================*/
.shadow0{box-shadow:none;}
.shadow1{box-shadow:0 0.1rem 0.3rem rgba(0,0,0, 0.12),0 0.1rem 0.2rem rgba(0,0,0, 0.24);}
.shadow2{box-shadow:0 0.3rem 0.6rem rgba(0,0,0, 0.16),0 0.3rem 0.6rem rgba(0,0,0, 0.23);}
.shadow3{box-shadow:0 1rem 2rem rgba(0,0,0, 0.19),0 0.6rem 0.6rem rgba(0,0,0, 0.23);}
.shadow4{box-shadow:0 1.4rem 2.8rem rgba(0,0,0, 0.25),0 1rem 1rem rgba(0,0,0, 0.22);}
.shadow5{box-shadow:0 1.9rem 3.8rem rgba(0,0,0, 0.30),0 1.5rem 1.2rem rgba(0,0,0, 0.22);}
.hoverable:hover{transition:box-shadow .25s;box-shadow:0 1rem 2rem rgba(0,0,0, 0.19),0 0.6rem 0.6rem rgba(0,0,0, 0.23);}
/*============================================================ Paddings =============================================================*/
.noPadding{padding:0}
.padding02{padding:0.2rem;}
.padding05{padding:0.5rem;}
.padding10{padding:1rem;}
.padding15{padding:1.5rem;}
.padding20{padding:2rem;}
.padding24{padding:2.4rem;}
.padding30{padding:3rem;}
.padding40{padding:4rem;}
.paddingTop02{padding-top:0.2rem;}
.paddingTop05{padding-top:0.5rem;}
.paddingTop10{padding-top:1rem;}
.paddingTop15{padding-top:1.5rem;}
.paddingTop20{padding-top:2rem;}
.paddingTop24{padding-top:2.4rem;}
.paddingTop30{padding-top:3rem;}
.paddingTop40{padding-top:4rem;}
.paddingBottom02{padding-bottom:0.2rem;}
.paddingBottom05{padding-bottom:0.5rem;}
.paddingBottom10{padding-bottom:1rem;}
.paddingBottom15{padding-bottom:1.5rem;}
.paddingBottom20{padding-bottom:2rem;}
.paddingBottom24{padding-bottom:2.4rem;}
.paddingBottom30{padding-bottom:3rem;}
.paddingBottom40{padding-bottom:4rem;}
.paddingLeft02{padding-left:0.2rem;}
.paddingLeft05{padding-left:0.5rem;}
.paddingLeft10{padding-left:1rem;}
.paddingLeft15{padding-left:1.5rem;}
.paddingLeft20{padding-left:2rem;}
.paddingLeft24{padding-left:2.4rem;}
.paddingLeft30{padding-left:3rem;}
.paddingLeft40{padding-left:4rem;}
.paddingRight02{padding-right:0.2rem;}
.paddingRight05{padding-right:0.5rem;}
.paddingRight10{padding-right:1rem;}
.paddingRight15{padding-right:1.5rem;}
.paddingRight20{padding-right:2rem;}
.paddingRight24{padding-right:2.4rem;}
.paddingRight30{padding-right:3rem;}
.paddingRight40{padding-right:4rem;}
/*============================================================ Margins =============================================================*/
.noMargin{margin:0}
.margin02{margin:0.2rem;}
.margin05{margin:0.5rem;}
.margin10{margin:1rem;}
.margin15{margin:1.5rem;}
.margin20{margin:2rem;}
.margin24{margin:2.4rem;}
.margin30{margin:3rem;}
.margin40{margin:4rem;}
.marginTop02{margin-top:0.2rem;}
.marginTop05{margin-top:0.5rem;}
.marginTop10{margin-top:1rem;}
.marginTop15{margin-top:1.5rem;}
.marginTop20{margin-top:2rem;}
.marginTop24{margin-top:2.4rem;}
.marginTop30{margin-top:3rem;}
.marginTop40{margin-top:4rem;}
.marginBottom02{margin-bottom:0.2rem;}
.marginBottom05{margin-bottom:0.5rem;}
.marginBottom10{margin-bottom:1rem;}
.marginBottom15{margin-bottom:1.5rem;}
.marginBottom20{margin-bottom:2rem;}
.marginBottom24{margin-bottom:2.4rem;}
.marginBottom30{margin-bottom:3rem;}
.marginBottom40{margin-bottom:4rem;}
.marginLeft02{margin-left:0.2rem;}
.marginLeft05{margin-left:0.5rem;}
.marginLeft10{margin-left:1rem;}
.marginLeft15{margin-left:1.5rem;}
.marginLeft20{margin-left:2rem;}
.marginLeft24{margin-left:2.4rem;}
.marginLeft30{margin-left:3rem;}
.marginLeft40{margin-left:4rem;}
.marginRight02{margin-right:0.2rem;}
.marginRight05{margin-right:0.5rem;}
.marginRight10{margin-right:1rem;}
.marginRight15{margin-right:1.5rem;}
.marginRight20{margin-right:2rem;}
.marginRight24{margin-right:2.4rem;}
.marginRight30{margin-right:3rem;}
.marginRight40{margin-right:4rem;}
/*============================================================ Positioning =============================================================*/
.displayTopLeft{position:absolute;left:0;top:0}
.displayTopRight{position:absolute;right:0;top:0}
.displayBottomLeft{position:absolute;left:0;bottom:0}
.displayBottomRight{position:absolute;right:0;bottom:0}
.displayMiddle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}
.displayLeft{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
.displayRight{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
.displayTopMiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
.displayBottomMiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
/*============================================================ Typography =============================================================*/
.heading1{font-size:5.2rem;line-height:6.4rem;}
.heading2{font-size:4rem;line-height:5rem;}
.heading3{font-size:3.6rem;line-height:4.2rem;}
.heading4{font-size:3.2rem;line-height:3.8rem;}
.heading5{font-size:2.4rem;line-height:3rem;}
.heading6{font-size:2rem;line-height:2.8rem;}
.heading7{font-size:1.6rem;}
.heading8{font-size:1.3rem;}
.heading9{font-size:1.2rem;}
.heading10{font-size:1rem;}
/*============================== Text Styles =============================*/
.textDisplay4,.display4{font-size:11.2rem;font-weight:300;line-height:12.8rem;letter-spacing:-0.5rem;}
.textdisplay3,.display3{font-size:5.6rem;font-weight:400;line-height:6.4rem;}
.textdisplay2,.display2{font-size:4.5rem;font-weight:400;line-height:6.4rem;}
.textdisplay1,.display1{font-size:3.4rem;font-weight:400;line-height:5.2rem;}
.textHeadline,.headline{font-size:2.4rem;font-weight:400;line-height:4.4rem;}
.textHeadlineThin,.headlineThin{font-size:2.4rem;font-weight:300;line-height:4.4rem;}
.textTitle,.title{font-size:2rem;font-weight:500;line-height:4.4rem;}
.textSubheading,.subheading{font-size:1.6rem;font-weight:400;line-height:3.2rem;}
.textBody2,.body2{font-size:1.6rem;font-weight:500;line-height:2.5rem;}
.textBody1,.body1{font-size:1.4rem;font-weight:400;line-height:2.5rem;}
.textMenu,.menu{font-size: 1.4rem;font-weight: 600;line-height: 3.2rem;}
.textCaption,.caption{font-size:1.2rem;font-weight:400;line-height:3.2rem;}
.textButton,.button{font-size:1.4rem;font-weight:500;line-height:1.8rem;text-transform:uppercase;letter-spacing: 0.03em;}

.textShadow1 {text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);}
.textShadow2 {text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);}
/* ============================================================
   Header — sticky top, full-width
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem;
    box-shadow: var(--shadow-header);
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(3rem, 3vw, 4rem);
    font-weight: 200;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
}

.search {
    flex: 1;
    max-width: 380px;
    height: 36px;
    border: none;
    border-radius: 18px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: background var(--transition);
}
.search::placeholder { color: rgba(255, 255, 255, 0.7); }
.search:focus { background: rgba(255, 255, 255, 0.25); }

.menu-toggle {
    display: none;            /* hidden on desktop */
    position: relative;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.menu-toggle:hover,
.menu-toggle:focus-visible { background: rgba(255, 255, 255, 0.18); outline: none; }

/* hamburger -> X icon (CSS-only) */
.menu-icon {
    position: relative;
    width: 22px;
    height: 16px;
}
.menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 7px; }
.menu-icon span:nth-child(3) { top: 14px; }

body.nav-open .menu-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
body.nav-open .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.nav-open .menu-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

/* ============================================================
   Layout wrapper — fills space between header & footer
   ============================================================ */
.layout {
    flex: 1;                  /* grows to push footer down */
    display: flex;
    align-items: flex-start;  /* sidebar must not stretch */
    min-height: 0;
}

/* ============================================================
   Sidebar — sticky on desktop, fixed slide-drawer on mobile
   ============================================================ */
.sidebar {
    position: sticky;
    top: var(--header-h);
    flex: 0 0 var(--sidebar-w);
    width: var(--sidebar-w);
    height: calc(100vh - var(--header-h) - var(--footer-h));
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    overflow-x: clip;
    padding: 1.25rem 0;

    details{cursor: pointer;}

    summary {
        padding: 0.5rem 1rem;
        list-style: none;
        position: relative;
        anchor-name: --summary;
        &::marker {
            content: "";
        }
        &::after {
            content: "";
            display: inline-block;
            width: 24px;
            height: 24px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23000'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            inset-block-start: 25%;
            inset-inline-end: 5%;
            position: absolute;
            top: 15%;
            position-anchor: --summary;
            position-area: self-end;
            transform: rotate(-90deg);
            transform-origin: 50%;
            transition: transform 0.2s ease-in-out;
        }
    }
    details[open] summary::after {transform: rotate(0deg);}

    ul{width:100%; padding:0;}

    li{position:relative;overflow: hidden;}

    .nav-section {
        padding:0;
        margin-bottom: 1rem;
    }

    .nav-section + .nav-section {
        border-top: 1px solid var(--color-border);
        padding-top: 1rem;
    }
    .nav-item {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--color-text);
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        transition: color 0.15s;
    }
    .nav-item:hover {
        background: var(--color-accent);
        color: var(--color-bg); }
    .nav-item.active {
        background: var(--color-primary);
        color: var(--color-bg);
    }
}
/* ============================================================
   Main content area
   ============================================================ */
.main {
    flex: 1;
    min-width: 0; /* prevents grid blowout */
    padding: 0 0 3rem 0;

    h1 {
        font-family: var(--font-display);
        font-weight: 500;
        letter-spacing: -0.01em;
        font-size: clamp(1.6rem, 3vw, 3.2rem);
        margin: 0 0 1.25rem;
    }
}

.breadcrumbs {
    /*background: var(--color-surface-raised);*/
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
    padding: 0.2rem 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.15s;

    a{}
    a:hover{color: var(--color-accent);}
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
}
/* ============================================================
   Card
   ============================================================ */
.card {
    background: var(--color-surface);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(10, 16, 14, 0.45), inset 0 0 0 1px rgba(212, 219, 216, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--color-muted);
    font-size: 1.3rem;
    contain-intrinsic-size: auto 360px;

   header, footer{border-collapse: collapse;}

    footer div{padding:1.2rem; line-height: 2rem;}
    header, footer{width: 100%; padding: 0.55rem 1rem; color:var(--color-surface);}
    header
    {
        border-radius: 8px 8px 0 0;
        text-shadow: 1px 1px 2px var(--color-text);
        width:100%;
    }
    header a
    {
        padding:0;
        width:100%;
    }
    header a:hover
    {
        background-color:rgba(0,0,0,0);
    }
    footer{position:absolute;pointer-events: none;z-index: 6;bottom:0; padding: 0.5rem 1rem;border-radius: 0 0 8px 8px;}
    div{display: inline;padding: 0;top:0;}
    .media{aspect-ratio: 4/3; overflow: hidden;}
    img{
        width:100%;
        aspect-ratio: 4/3;
        height: auto;
        /*object-fit: cover;*/
        display:block;
        border-radius: 0 0 8px 8px;
    }
    .hotDeal
    {
        position:absolute;
        top:3.15rem;
        right:-4.5rem;
        width:10rem;
        height:6rem;
        background: url('hotDeal-small.png') no-repeat;
        pointer-events: none;
    }
    .hotDealBadge
    {
        position: absolute;
        bottom: 1rem !important;
        right: 1rem !important;
        top: auto !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 7;
        width:6rem;
        height:6rem;
        border-radius: 50%;
        background: #c70017;
        background: linear-gradient(100deg,rgba(199, 0, 23, 1) 10%, rgba(250, 75, 75, 1) 35%, rgba(196, 0, 23, 1) 80%);
        rotate: 25deg;
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-surface);
        text-shadow: 2px 2px 3px rgba(0,0,0, 0.2);
        text-align: center;
        line-height: 6rem;
        pointer-events: none;
    }
    .desktop, .mobile {
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
        transition-behavior: allow-discrete;
    }
}
@media (hover: hover) and (pointer: fine) {
    .card .mobile { opacity: 0; visibility: hidden; }   /* always hidden on desktop */
    .card .desktop { opacity: 0; visibility: hidden; }  /* hidden by default */
    .card:hover .desktop { opacity: 0.85; visibility: visible; }  /* revealed on hover */
}

@media (hover: none) and (pointer: coarse) {
    footer { background-color: transparent !important; }
    .card .desktop { opacity: 0; visibility: hidden; }  /* never shown on touch */
    .card .mobile {
        opacity: 0.85;
        visibility: visible;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    }
}
/* ============================================================
   Footer — sticky bottom
   ============================================================ */
.footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    height: var(--footer-h);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    display: flex;
    padding: 0.5rem 1rem;

    .inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        font-weight: 500;
        font-size: 1rem;
        padding: 0 1rem;
        text-transform: uppercase;
        background: var(--color-bg);
        color: var(--color-muted);
        letter-spacing: 0.1em;
        width: 100%;
    }
    .copy { margin: 0; opacity: 0.85; font-size: clamp(0.75rem, 2vw, 1.1rem);}

    .nav { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }

    .nav a {
        display: block;
        padding: 0.5rem 0.8rem;
        color: var(--color-muted);
        text-decoration: none;
        text-align: center;
        font-size: clamp(0.8rem, 2vw, 1.1rem);
        transition: color 0.15s;
        border-left: 1px solid var(--color-border);
    }
    .nav a:hover {
        background: var(--color-accent);
        color: var(--color-bg);
    }
    .nav a:first-of-type
    {
        border: 0;
    }
    .nav .active
    {
        background: var(--color-primary);
        color: var(--color-bg);
    }
}
/* ============================================================
   Forms, inputs
   ============================================================ */
.form-wrap {
    max-width: 640px;
    margin: 3rem auto;
    padding-bottom: 3rem;
}

.inputField
{
    --height: 60px;
    --width: 100%;
    --font-size: 18px;
    --top-ofset: 30%;
    --bottom-ofset: 30%;
    position: relative;
    margin: 1rem 0;
    padding-bottom: 1.5rem; /* reserve space so layout doesn't jump */
}
.inputField  textarea
{
    resize: none;
}
.inputField input,
.inputField textarea
{
    background: none;
    color: var(--color-text);
    font-size: 1.6rem;
    padding: 1rem 1rem 1rem 0.5rem;
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
}
.inputField input:focus,
.inputField textarea:focus
{
    outline: none;
}
.inputField label
{
    color: var(--color-muted);
    font-size: 1.6rem;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}
.inputField input:focus ~ label,
.inputField input:valid ~ label,
.inputField textarea:focus ~ label,
.inputField textarea:valid ~ label
{
    top: -1.4rem;
    font-size: 80%;
    color: var(--checked-color);
}
.inputField input::placeholder,
.inputField textarea::placeholder
{
    color: transparent;
}
.inputField input:focus::placeholder,
.inputField textarea:focus::placeholder
{
    color: var(--color-border);
}
.inputField input:focus ~ .bar:before,
.inputField textarea:focus ~ .bar:before
{
    width: 100%;
}

.inputField input[type=password]
{
    letter-spacing: 0.3em;
}

.inputField .bar
{
    position: relative;
    display: block;
    width: 100%;
}
.inputField .bar:before
{
    content: "";
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: var(--checked-color);
    transition: 300ms ease all;
    left: 0;
}
.inputField .error {
    color: var(--color-accent);
    position: absolute;
    font-size: 1rem;

}

.inputField.has-danger input {
    border-bottom-color: var(--color-accent);
}
/* ============================================================
   Buttons
   ============================================================ */
.btn
{
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    color: var(--color-text);
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    box-shadow: 0 1px 3px rgba(0,0,0, 0.12), 0 1px 2px rgba(0,0,0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
}
.btn:disabled
{
    background: var(--color-muted);
    color: var(--color-border);
    opacity: 0.6;
}
.btn:disabled:hover
{
    cursor: not-allowed;
}
.btn:hover
{
    box-shadow: 0 7px 14px rgba(0,0,0, 0.18), 0 4px 5px rgba(0,0,0, 0.12);
}
.btn:active
{
    box-shadow: 0 3px 6px rgba(0,0,0, 0.16), 0 0 1px rgba(0,0,0, 0.23);
}
.btn.fab
{
    border-radius: 50%;
    width:4rem;
    height:4rem;
    padding: 0;          /* kill inherited padding */
    box-sizing: border-box;  /* belt-and-suspenders */
}
.btn.btn-submit, .btn.btn-link, .btn.fab.submit, .btn.fab.link
{
    background: var(--checked-color);
    color: var(--color-surface);
}
.btn.btn-cancel
{
    background: var(--color-muted);
}
.btn.btn-exit
{
    background: var(--color-accent);
    color: var(--color-surface);
}
/* ============================================================
   Radio buttons
   ============================================================ */
.radio
{
    margin: 1.6rem 0;
}
.radio.radio-inline
{
    display: inline-block;
}
.radio input[type=radio]
{
    display: none;
}
.radio input[type=radio]:checked + label:before
{
    border-color: var(--checked-color);
    animation: ripple 0.2s linear forwards;
}
.radio input[type=radio]:checked + label:after
{
    transform: scale(1);
}
.radio label
{
    display: inline-block;
    min-height: 2rem;
    position: relative;
    padding: 0 3rem;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: bottom;
}
.radio label:before, .radio label:after
{
    position: absolute;
    content: "";
    border-radius: 50%;
    transition: all 0.3s ease;
    transition-property: transform, border-color;
}
.radio label:before {
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--color-border);
}
.radio label:after
{
    top: 0.5rem;
    left: 0.5rem;
    width: 1rem;
    height: 1rem;
    transform: scale(0);
    background: var(--checked-color);
}
/* ============================================================
   Checkboxes
   ============================================================ */
.checkbox
{
    position: relative;
    margin: 1rem 0;
    text-align: left;
}
.checkbox.checkbox-inline {
    display: inline-block;
}
.checkbox label {
    cursor: pointer;
    display: inline;
    line-height: 1.25rem;
    vertical-align: top;
    clear: both;
    padding-left: 1px;
}
.checkbox label:not(:empty) {
    padding-left: 1.2rem;
}
.checkbox label:before, .checkbox label:after {
    content: "";
    position: absolute;
    left: 0;
    top: -0.3rem;
}
.checkbox label:before {
    width: 1.8rem;
    height: 1.8rem;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.3s;
}
.checkbox input[type=checkbox] {
    outline: 0;
    visibility: hidden;
    width: 1.25em;
    margin: 0;
    display: block;
    float: left;
    font-size: inherit;
}
.checkbox input[type=checkbox]:checked + label:before {
    background: var(--checked-color);
    border: none;
}
.checkbox input[type=checkbox]:checked + label:after {
    transform: translate(0.25em, 0.3365384615em) rotate(-45deg);
    width: 1rem;
    height: 0.5rem;
    border: 0.25rem solid #fff;
    border-top-style: none;
    border-right-style: none;
}
.checkbox input[type=checkbox]:disabled + label:before {
    border-color: var(--color-muted);
}
.checkbox input[type=checkbox]:disabled:checked + label:before {
    background: var(--color-muted);
}
/* ============================================================
   iconcheckboxes
   ============================================================ */
.icon-shadow {
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.5));
}
.icon-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    cursor: pointer;
    color: inherit;
    background-color: currentColor;        /* inherits the text color */
    vertical-align: middle;
}
/* favorite (heart) — unchecked = outline */
.icon-checkbox.favorite {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z'/></svg>") center / contain no-repeat;
}

/* favorite (heart) — checked = filled */
.icon-checkbox.favorite:checked {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Z'/></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Z'/></svg>");
}

/* notifications (bell) — unchecked = outline */
.icon-checkbox.notifications {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z'/></svg>") center / contain no-repeat;
}

/* notifications (bell) — checked = filled */
.icon-checkbox.notifications:checked {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80Z'/></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80Z'/></svg>");
}

/* notes (note add) — unchecked = outline */
.icon-checkbox.notes {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z'/></svg>") center / contain no-repeat;
}

/* notes (bell) — checked = filled */
.icon-checkbox.notes:checked {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240ZM320-240h320v-80H320v80ZM320-400h320v-80H320v80Z'/></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240ZM320-240h320v-80H320v80ZM320-400h320v-80H320v80Z'/></svg>");
}

/* block (hide source) — unchecked = outline */
.icon-checkbox.blocked {
    -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m791-55-91-91q-49 32-104.5 49T480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-60 17-115.5T146-700l-91-91 57-57 736 736-57 57ZM480-160q43 0 83.5-11t78.5-33L204-642q-22 38-33 78.5T160-480q0 133 93.5 226.5T480-160Zm334-100-58-58q22-38 33-78.5t11-83.5q0-133-93.5-226.5T480-800q-43 0-83.5 11T318-756l-58-58q49-32 104.5-49T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 60-17 115.5T814-260ZM537-537ZM423-423Z'/></svg>") center / contain no-repeat;
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m791-55-91-91q-49 32-104.5 49T480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-60 17-115.5T146-700l-91-91 57-57 736 736-57 57ZM480-160q43 0 83.5-11t78.5-33L204-642q-22 38-33 78.5T160-480q0 133 93.5 226.5T480-160Zm334-100-58-58q22-38 33-78.5t11-83.5q0-133-93.5-226.5T480-800q-43 0-83.5 11T318-756l-58-58q49-32 104.5-49T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 60-17 115.5T814-260ZM537-537ZM423-423Z'/></svg>") center / contain no-repeat;
}
/* block (hide source) — checked = filled */
.icon-checkbox.blocked:checked {
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M480-880a400 400 0 1 0 0 800 400 400 0 1 0 0-800ZM112-848l736 736-57 57-736-736Z'/></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M480-880a400 400 0 1 0 0 800 400 400 0 1 0 0-800ZM112-848l736 736-57 57-736-736Z'/></svg>");
}
/* ============================================================
   Icons
   ============================================================ */
.icon {
    display: inline-block;
    width: 1em;                       /* size — see options below */
    height: 1em;
    background-color: currentColor;   /* inherits the text color */
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
    vertical-align:middle;         /* optical alignment when inline with text */
    transition: background-color 120ms ease;
    cursor: pointer;
}
.icon.disabled, .icon.disabled:hover {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.25);                          /* dimmed when disabled */
}
.icon:hover { background: rgba(255, 255, 255, 0.74); }
.icon.info {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M440-280h80v-240h-80v240Zm68.5-331.5Q520-623 520-640t-11.5-28.5Q497-680 480-680t-28.5 11.5Q440-657 440-640t11.5 28.5Q463-600 480-600t28.5-11.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/></svg>");
}
.icon.heart {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z'/></svg>");
}
.icon.heartFilled {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Z'/></svg>");
}
.icon.bell {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z'/></svg>");
}
.icon.bellFilled {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80Z'/></svg>");
}
.icon.addNote {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M440-240h80v-120h120v-80H520v-120h-80v120H320v80h120v120ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z'/></svg>");
}
.icon.note {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240ZM320-240h320v-80H320v80ZM320-400h320v-80H320v80Z'/></svg>");
}
.icon.blocked {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m791-55-91-91q-49 32-104.5 49T480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-60 17-115.5T146-700l-91-91 57-57 736 736-57 57ZM480-160q43 0 83.5-11t78.5-33L204-642q-22 38-33 78.5T160-480q0 133 93.5 226.5T480-160Zm334-100-58-58q22-38 33-78.5t11-83.5q0-133-93.5-226.5T480-800q-43 0-83.5 11T318-756l-58-58q49-32 104.5-49T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 60-17 115.5T814-260ZM537-537ZM423-423Z'/></svg>");
}
.icon.blockedFilled {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M480-880a400 400 0 1 0 0 800 400 400 0 1 0 0-800ZM112-848l736 736-57 57-736-736Z'/></svg>");
}
.icon.close {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z'/></svg>");
}
.icon.closeSmall {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m336-280-56-56 144-144-144-143 56-56 144 144 143-144 56 56-144 143 144 144-56 56-143-144-144 144Z'/></svg>");
}
.icon.save {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M840-680v480q0 33-23.5 56.5T760-120H200q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h480l160 160Zm-80 34L646-760H200v560h560v-446ZM565-275q35-35 35-85t-35-85q-35-35-85-35t-85 35q-35 35-35 85t35 85q35 35 85 35t85-35ZM240-560h360v-160H240v160Zm-40-86v446-560 114Z'/></svg>");
}
.icon.delete {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z'/></svg>");
}
.icon.search {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z'/></svg>");
}
.icon.arrowForward{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z'/></svg>");
}
.icon.arrowBack{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z'/></svg>");
}
.icon.cancel{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/></svg>");
}
.icon.pageInfo{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M603.5-193.5Q560-237 560-300t43.5-106.5Q647-450 710-450t106.5 43.5Q860-363 860-300t-43.5 106.5Q773-150 710-150t-106.5-43.5Zm156-57Q780-271 780-300t-20.5-49.5Q739-370 710-370t-49.5 20.5Q640-329 640-300t20.5 49.5Q681-230 710-230t49.5-20.5ZM160-260v-80h320v80H160Zm-16.5-293.5Q100-597 100-660t43.5-106.5Q187-810 250-810t106.5 43.5Q400-723 400-660t-43.5 106.5Q313-510 250-510t-106.5-43.5Zm156-57Q320-631 320-660t-20.5-49.5Q279-730 250-730t-49.5 20.5Q180-689 180-660t20.5 49.5Q221-590 250-590t49.5-20.5ZM480-620v-80h320v80H480Zm230 320ZM250-660Z'/></svg>");
}
.icon.settings{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z'/></svg>");
}
.icon.tune{
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z'/></svg>");
}
.icon.menu {
    --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z'/></svg>");
}
/* ============================================================
   Switches
   ============================================================ */

.switch {
    display: inline-block;
    position: relative;
    margin: 0 0 1rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
}
.switch input {
    position: absolute;
    top: 0;
    left: 0;
    width: 3.6rem;
    height: 2rem;
    opacity: 0;
    z-index: 0;
}
.switch label {
    display: block;
    padding: 0 0 0 4.4rem;
    cursor: pointer;
}
.switch label:before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 3.6rem;
    height: 1.4rem;
    background-color: rgba(var(--color-muted));
    border-radius: 1.4rem;
    z-index: 1;
    transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.switch label:after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0;
    width: 2rem;
    height: 2rem;
    background-color: rgba(255,255,255,1);
    border-radius: 1.4rem;
    box-shadow: 0 2px 2px 0 rgba(0,0,0, 0.14), 0 3px 1px -2px rgba(0,0,0, 0.2), 0 1px 5px 0 rgba(0,0,0, 0.12);
    z-index: 2;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition-property: left, background-color;
}
.switch input:checked + .switch__label:before {
    background-color: rgba(var(--checked-color));
}
.switch input:checked + .switch__label:after {
    left: 1.6rem;
    background-color: rgba(var(--blue-color));
}
/* ============================================================
   Mobile drawer backdrop
   ============================================================ */
.backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
/* ============================================================
   tabs
   ============================================================ */
.md-tabs-bar {
    --md-primary: var(--color-primary);
    --md-on-surface: rgba(0,0,0,0.87);
    --md-on-surface-muted: rgba(0,0,0,0.60);
    --md-disabled:rgba(0,0,0,.38);
    --md-divider: rgba(0,0,0,0.12);
    --md-hover: rgba(25,118,210,0.04);
    --md-pressed: rgba(25,118,210,0.10);
    --md-indicator-h: 2px;
    --md-ease: cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    display: flex;
    align-items: stretch;
    /*border-bottom: 1px solid var(--md-divider);*/
    background: var(--color-bg);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 15px 20px -20px var(--color-text);
}

/* The tablist itself = the horizontal scroll container */
.md-tabs {
    position: relative;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;                /* allow shrink inside flex parent */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* legacy Edge/IE */
}
.md-tabs::-webkit-scrollbar { display: none; }
.md-tabs.no-smooth { scroll-behavior: auto; }

.md-tabs-bar[data-align="stretch"]:not(.overflow) .md-tab { flex: 1 1 0; }

.md-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;               /* never shrink — let the row overflow */
    height: 48px;
    min-width: 90px;
    max-width: 360px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--md-on-surface-muted);
    font: 500 14px/1 Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.0892857em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color 150ms var(--md-ease), background-color 150ms var(--md-ease);
}
.md-tab:hover         { background: var(--md-hover); }
.md-tab:focus-visible { background: var(--md-pressed); outline: none; }
.md-tab[aria-selected="true"] { color: var(--color-text); }
.md-tab[disabled],
.md-tab[aria-disabled="true"]  { color: rgba(0,0,0,0.38); cursor: default; pointer-events: none; }

.md-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: var(--md-indicator-h);
    background: var(--color-primary);
    border-radius: 1px 1px 0 0;
    transform: translateX(0);
    transition: transform 250ms var(--md-ease), width 250ms var(--md-ease);
    pointer-events: none;
}
.md-tab-indicator.no-anim { transition: none; }

/* Chevron paginator buttons */
.md-tabs-nav {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--md-on-surface-muted);
    cursor: pointer;
}
.md-tabs-nav svg { width: 24px; height: 24px; fill: currentColor; }
.md-tabs-nav:hover { background: var(--md-hover); color: var(--md-on-surface); }
.md-tabs-nav:focus-visible { background: var(--md-pressed); outline: none; }
.md-tabs-bar.overflow .md-tabs-nav { display: inline-flex; }
.md-tabs-bar.overflow:not(.can-scroll-left)  .md-tabs-nav-prev { visibility: hidden; }
.md-tabs-bar.overflow:not(.can-scroll-right) .md-tabs-nav-next { visibility: hidden; }

/* Subtle edge fades so cut-off tabs feel intentional */
.md-tabs-bar.overflow::before,
.md-tabs-bar.overflow::after {
    content: "";
    position: absolute;
    top: 0; bottom: 1px;          /* sit above the divider */
    width: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 150ms var(--md-ease);
    z-index: 1;
}
.md-tabs-bar.overflow::before {
    left: 48px;                   /* start where the chevron ends */
    background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}
.md-tabs-bar.overflow::after {
    right: 48px;
    background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}
.md-tabs-bar.overflow.can-scroll-left::before  { opacity: 1; }
.md-tabs-bar.overflow.can-scroll-right::after  { opacity: 1; }

/* Panels */
.md-tab-panels { background: #fff; }
.md-tab-panel {
    padding: 20px;
    color: var(--md-on-surface);
    font: 400 14px/1.6 Roboto, "Helvetica Neue", Arial, sans-serif;
}
.md-tab-panel[hidden] { display: none; }
.md-tab-panel iframe[data-managed] { width: 100%; border: 1px solid rgba(0,0,0,.12); border-radius: 4px; display: block; background:#fff;}

    /* Dark theme */
.md-tabs-bar.md-dark {
    --md-primary: #82b1ff;
    --md-on-surface: rgba(255,255,255,0.87);
    --md-on-surface-muted: rgba(255,255,255,0.60);
    --md-disabled:rgba(255,255,255,.38);
    --md-divider: rgba(255,255,255,0.12);
    --md-hover: rgba(130,177,255,0.08);
    --md-pressed: rgba(130,177,255,0.16);
    background: #1e1e1e;
}
.md-tabs-bar.md-dark.overflow::before { background: linear-gradient(to right, #1e1e1e, rgba(30,30,30,0)); }
.md-tabs-bar.md-dark.overflow::after  { background: linear-gradient(to left,  #1e1e1e, rgba(30,30,30,0)); }
.md-tabs-bar.md-dark + .md-tab-panels { background: #1e1e1e; }
.md-tabs-bar.md-dark + .md-tab-panels .md-tab-panel { color: rgba(255,255,255,0.87); }

/* ============================================================
   Mobile breakpoint < 720px
   ============================================================ */
@media (max-width: 720px)
{
    .menu-toggle { display: inline-flex; }

    .sidebar {
        position: fixed;
        top: var(--header-h);
        left: 0;
        height: calc(100vh - var(--header-h));
        z-index: 95;
        transform: translateX(-100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-drawer);
    }

    body.nav-open .sidebar { transform: translateX(0); }
    body.nav-open .backdrop { opacity: 1; visibility: visible; }

    .site-footer { gap: 2rem; }
}

/* prevent body scroll when drawer open on mobile */
body.nav-open { overflow: hidden; }

/* =========================================================
     RIPPLE
     Add data-ripple to any element to make it ripple.
     Override per-element with --ripple-color, ripple-opacity, or --ripple-duration
     Example: <div data-ripple style="--ripple-color: #c9a96e; --ripple-opacity: 0.35;">
     ========================================================= */
.ripple-host {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: var(--ripple-color, currentColor);
    opacity: var(--ripple-opacity, 0.28);
    transform: scale(0);
    animation: ripple-expand var(--ripple-duration, 600ms)
    cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
}
@keyframes ripple-expand {
    to { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ripple { animation-duration: 1ms; opacity: 0; }
}

/* =========================================================
    Modal
   ========================================================= */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 0 20px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-500px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-500px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: var(--color-text);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
}

/* ── Featured Card ───────────────────────────────────────── */
.featuredCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color var(--transition);

    .image { height: 300px; background: linear-gradient(135deg, var(--color-surface-raised) 0%, var(--color-surface) 100%); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 2rem; background-size: cover; background-position: center; }
    .image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,22,42,0.92) 0%, rgba(22,22,42,0.25) 100%); }
    .glow { position: absolute; top: 0; right: 0; width: 140px; height: 140px; background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 70%); pointer-events: none; z-index: 1; }
    .header { position: relative; z-index: 2; }
    .label { font-family: var(--font-body); font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 0.8rem; }
    .title { font-family: var(--font-sans); font-weight: 800; font-size: 3rem; text-transform: uppercase; letter-spacing: -0.3px; line-height: 1.15; color: #fff; }
    .body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
    .summary { font-family: var(--font-body); font-size: 1.5rem; line-height: 1.7; color: var(--color-muted); margin-bottom: 1.5rem; flex: 1; }
    .meta { display: flex; justify-content: space-between; align-items: center; }
    .author { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-muted); }
    .link { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; color: var(--color-accent); }

}

/* ── Panel Cards ───────────────────────────────────────── */
.panel {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition);

    .image {
        width: 100%;
        aspect-ratio: 21 / 9;
        object-fit: cover;
        display: block;
    }

    .body {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .category {
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-accent);
        margin-bottom: 0.5rem;
        display: block;
    }
    .title {
        font-family: var(--font-display);
        font-size: 1.7rem;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.4;
        margin-bottom: 0.6rem;
        display: block;
        text-decoration: none;
    }
    .title:hover { color: var(--color-accent); text-decoration: none; }
    .summary {
        font-size: 1.4rem;
        color: var(--color-muted);
        line-height: 1.6;
        flex: 1;
        margin-bottom: 1rem;
    }
    .meta {
        font-size: 1.2rem;
        color: var(--color-muted);
    }
}
.featured-card:hover, .articleCard:hover { box-shadow: var(--shadow-md); }
/* ── Panel Grid ────────────────────────────────────────── */
.panelGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.4rem;
    padding: 4rem 0;
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
}
/* === MAGAZINE GRID (Homepage) === */
.magazineGrid {
    padding: 4rem 0;
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;

    .top { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-bottom: 2rem; }
    .secondary { display: flex; flex-direction: column; gap: 2.4rem; height: 100%; }
    .divider { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 2rem; overflow: visible;}
    .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border);}
    .dividerLabel { font-family: var(--font-display); font-size: 1.2rem; font-weight:500; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent); white-space: nowrap; background: var(--color-bg); padding: 0 1rem;}
    .bottom { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.4rem; }
}
@media (max-width: 720px) {
    .magazineGrid
    {
        .top{grid-template-columns: 1fr;}
        .bottom { grid-template-columns: 1fr 1fr; }
    }
}

@media (max-width: 520px)
{
    .magazineGrid
    {
        .bottom { grid-template-columns: 1fr; }
    }
}
/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0 2.5rem;
}
.pagination__link {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
}
.pagination__link:hover { border-color: var(--color-accent); color: var(--color-accent); text-decoration: none; }
.pagination__link--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.pagination__link--active:hover { color: #fff; }
.pagination__link.disabled { opacity: 0.3; pointer-events: none; }


/* ── Single Article ──────────────────────────────────────── */
.article_header {
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
    text-align: center;
}
.article_header_category {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
}
.article_header_title {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: clamp(1.6rem, 3vw, 3.2rem);
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 1rem;
}
.article_header_meta {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.article_layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    padding: 2rem 1rem 0;
    align-items: start;
}
@media (max-width: 960px)
{
    .article_layout { grid-template-columns: 1fr; }
}

.article_body {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.85;
    color: var(--color-text);
}
.article_body_subheading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-style: oblique;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.article_body_picture {
    width: 100%;
    display: block;
    margin: 0 0 2rem 0 !important;
    border: 0;
}
.article_body p { margin-bottom: 1.4rem; }
.article_body h2 {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}
.article_body h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.6rem;
}
.article_body blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-muted);
}
.article_body ul,
.article_body ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.article_body li { margin-bottom: 0.3rem; }
.article_body a { color: var(--color-accent); }
.article_body img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ── Sidebar ─────────────────────────────────────────────── */
.article-sidebar {
    position: sticky;
    top: 80px;
}
.sidebar-widget {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sidebar-widget__header {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}
.sidebar-widget__list { list-style: none; }
.sidebar-widget__item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-widget__item:last-child { border-bottom: none; }
.sidebar-widget__item a {
    font-size:1.5rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 0.2rem;
    text-decoration: none;
    line-height: 1.4;
}
.sidebar-widget__item a:hover { color: var(--color-accent); text-decoration: none; }
.sidebar-widget__date {
    font-size: 1rem;
    color: var(--color-muted);
}