/* Shared theme controls and dark palette. Original component layouts stay intact. */
/* Palette tokens (--theme-* included) now live in aurora.css for both modes; rules below are dark-mode refinements. */


/* styles */
:where(html[data-theme="dark"]) body{color:var(--theme-text);background:var(--theme-surface)}
:where(html[data-theme="dark"]) button:focus-visible,
:where(html[data-theme="dark"]) a:focus-visible{outline:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) ::selection{background:var(--theme-surface-raised);color:var(--theme-link)}
:where(html[data-theme="dark"]) .skip-link{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .header{background:color-mix(in srgb,var(--card) 60%,transparent);border:1px solid color-mix(in srgb,var(--line) 85%,transparent);box-shadow:0 6px 35px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .brand>.icon{color:var(--theme-link)}
:where(html[data-theme="dark"]) .desktop-nav a:hover{color:var(--theme-link)}
:where(html[data-theme="dark"]) .nav-cta{background:var(--theme-surface-deep);color:var(--theme-text)}
:where(html[data-theme="dark"]) .nav-cta:hover{background:var(--theme-action)}
:where(html[data-theme="dark"]) .hero{background:radial-gradient(ellipse at 52% 28%,var(--theme-surface) 0%,var(--theme-surface) 29%,var(--theme-surface-soft) 65%,var(--theme-surface-soft) 100%)}
:where(html[data-theme="dark"]) .status-dot{background:var(--theme-action);box-shadow:0 0 0 4px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .crest-caption{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .impact-ripple{border:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .hero-english{color:var(--theme-link)}
:where(html[data-theme="dark"]) .hero-chinese em{color:var(--theme-link)}
:where(html[data-theme="dark"]) .button:hover{box-shadow:0 7px 20px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .button-primary{background:var(--theme-action);color:var(--theme-text);box-shadow:0 4px 14px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .button-primary:hover{background:var(--theme-action)}
:where(html[data-theme="dark"]) .button-glass{background:color-mix(in srgb,var(--card) 52%,transparent);border-color:var(--theme-line);color:var(--theme-text)}
:where(html[data-theme="dark"]) .sip-count{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .hero-footnote{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .hero-sticker{border:1px solid color-mix(in srgb,var(--line) 85%,transparent);box-shadow:0 12px 35px color-mix(in srgb,var(--shade) 18%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--card) 72%,transparent),color-mix(in srgb,var(--card) 25%,transparent))}
:where(html[data-theme="dark"]) .tiny-label{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .sticker-squiggle{stroke:var(--theme-muted)}
:where(html[data-theme="dark"]) .sticker-right>.icon{color:var(--theme-link)}
:where(html[data-theme="dark"]) .sticker-right b{color:var(--theme-link)}
:where(html[data-theme="dark"]) .sticker-right small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .hero-orbit{border:1px solid color-mix(in srgb,var(--line) 10%,transparent)}
:where(html[data-theme="dark"]) .hero-bottom{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-strip{background:var(--theme-surface-deep);color:var(--theme-text);border-top:1px solid var(--theme-line-strong);border-bottom:1px solid var(--theme-line-strong)}
:where(html[data-theme="dark"]) .water-strip .icon{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .section-heading .eyebrow{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .section-note{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .about-copy strong{color:var(--theme-text)}
:where(html[data-theme="dark"]) .ink-underline:after{border-top:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) .about-signoff .icon{color:var(--theme-link)}
:where(html[data-theme="dark"]) .chat-scene{background:var(--theme-surface-soft);border:1px solid var(--theme-line);box-shadow:0 18px 45px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .chat-top{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .chat-time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .chat-avatar{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .chat-message p{background:var(--theme-surface);box-shadow:0 2px 3px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .chat-reply .chat-avatar{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .chat-reply p{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .bubble-highlight{box-shadow:0 4px 0 var(--shade)}
:where(html[data-theme="dark"]) .chat-read{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .chat-stamp{border:2px solid color-mix(in srgb,var(--line) 66%,transparent);color:color-mix(in srgb,var(--accent) 73%,transparent)}
:where(html[data-theme="dark"]) .truth-tag{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .truth-note p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .truth-note strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .recipe-section{background:var(--theme-surface-soft);border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .serif-em{color:var(--theme-link)}
:where(html[data-theme="dark"]) .recipe-card{background:linear-gradient(150deg,color-mix(in srgb,var(--card) 90%,transparent),color-mix(in srgb,var(--card) 57%,transparent));border:1px solid var(--theme-line);box-shadow:0 8px 22px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .recipe-card:hover{box-shadow:0 15px 30px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .card-top{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .card-top .icon{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .recipe-card p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .card-bottom{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .bottle-body{border:2px solid var(--theme-line);background:linear-gradient(90deg,color-mix(in srgb,var(--card) 80%,transparent),color-mix(in srgb,var(--card2) 50%,transparent) 35%,color-mix(in srgb,var(--card2) 54%,transparent));box-shadow:inset 7px 0 3px color-mix(in srgb,var(--shade) 47%,transparent),5px 9px 15px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .bottle-water{background:linear-gradient(140deg,color-mix(in srgb,var(--card2) 47%,transparent),color-mix(in srgb,var(--btn) 66%,transparent))}
:where(html[data-theme="dark"]) .bottle-body>span{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .bottle-cap{background:repeating-linear-gradient(90deg,var(--theme-action) 0 3px,var(--theme-surface-raised) 3px 4px);border:2px solid var(--theme-line-strong)}
:where(html[data-theme="dark"]) .bottle-spark{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .brain-small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .brain-big{color:var(--theme-link);text-shadow:3px 3px 0 var(--shade)}
:where(html[data-theme="dark"]) .brain-line{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .brain-sticker{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .life-ring{background:conic-gradient(from 10deg,var(--theme-action) 0 45deg,var(--theme-surface) 45deg 90deg,var(--theme-action) 90deg 135deg,var(--theme-surface) 135deg 180deg,var(--theme-action) 180deg 225deg,var(--theme-surface) 225deg 270deg,var(--theme-action) 270deg 315deg,var(--theme-surface) 315deg);box-shadow:inset -5px -5px 8px color-mix(in srgb,var(--shade) 22%,transparent),inset 4px 4px 8px color-mix(in srgb,var(--shade) 70%,transparent),8px 12px 20px color-mix(in srgb,var(--shade) 18%,transparent);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .life-ring:after{background:var(--theme-surface);box-shadow:inset 4px 5px 7px color-mix(in srgb,var(--shade) 20%,transparent),2px 2px 2px var(--shade)}
:where(html[data-theme="dark"]) .ring-note{color:var(--theme-link)}
:where(html[data-theme="dark"]) .fortune-copy>.eyebrow{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-copy>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-card{background:var(--theme-surface);border:1px solid var(--theme-line);box-shadow:8px 8px 0 var(--shade),9px 9px 0 var(--shade),18px 18px 0 var(--shade),19px 19px 0 var(--shade)}
:where(html[data-theme="dark"]) .fortune-top{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-number{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-type{color:var(--theme-link)}
:where(html[data-theme="dark"]) .fortune-result>p:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-seal{border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .fortune-bottom{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .join-section{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .join-content>.eyebrow{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .join-content h2>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .join-content>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .button-white{background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .join-note{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .join-note .status-dot{background:var(--theme-surface-raised);box-shadow:0 0 0 4px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .join-ripples i{border:1px solid color-mix(in srgb,var(--line) 15%,transparent)}
:where(html[data-theme="dark"]) .footer{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .footer-main p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .footer-bottom{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .toast{border:1px solid color-mix(in srgb,var(--line) 53%,transparent);box-shadow:0 8px 32px color-mix(in srgb,var(--shade) 19%,transparent);background:color-mix(in srgb,var(--card) 93%,transparent);color:var(--theme-text)}
:where(html[data-theme="dark"]) .toast .icon{color:var(--theme-muted)}
@media(min-width:1600px){

}
@media(max-width:1100px){

}
@media(max-width:760px){
:where(html[data-theme="dark"]) .menu-toggle{border:1px solid color-mix(in srgb,var(--line) 47%,transparent);background:color-mix(in srgb,var(--card) 30%,transparent)}
:where(html[data-theme="dark"]) .menu-toggle span{background:var(--theme-surface-deep)}
:where(html[data-theme="dark"]) .mobile-nav:not([hidden]){background:color-mix(in srgb,var(--card) 96%,transparent);border:1px solid var(--theme-line);box-shadow:0 15px 30px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .mobile-nav a:hover{background:var(--theme-surface-soft)}
}
@media(max-width:360px){

}
@media(prefers-reduced-motion:reduce){

}
:where(html[data-theme="dark"]) .hero-name{color:var(--theme-text)}

/* app-overview */
:where(html[data-theme="dark"]) .app-overview{background:linear-gradient(140deg,var(--theme-surface),var(--theme-surface-soft));border-bottom:1px solid var(--theme-line);color:var(--theme-text)}
:where(html[data-theme="dark"]) .app-overview .overview-kicker{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .app-overview .overview-name{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .app-overview .overview-cn{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .overview-features li{background:color-mix(in srgb,var(--card) 68%,transparent);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .overview-features strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .overview-google{background:var(--theme-surface);border-left:3px solid var(--theme-line-strong)}
:where(html[data-theme="dark"]) .overview-google a,
:where(html[data-theme="dark"]) .overview-links a{color:var(--theme-link)}
:where(html[data-theme="dark"]) .overview-links .overview-browse{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .overview-links a:focus-visible{outline:3px solid var(--theme-line)}
@media(max-width:760px){

}
@media(max-width:600px){

}

/* officers */
:where(html[data-theme="dark"]) .officer-label{background:linear-gradient(135deg, color-mix(in srgb,var(--card) 79%,transparent), color-mix(in srgb,var(--card) 50%,transparent));border:1px solid var(--theme-line);box-shadow:0 8px 24px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .officer-label .tiny-label{color:var(--theme-muted)}
@media (min-width: 1600px){

}
@media (max-width: 1000px){

}
@media (max-width: 760px){

}
@media (max-width: 360px){

}

/* community */
:where(html[data-theme="dark"]) body{color:var(--theme-text)}
:where(html[data-theme="dark"]) a:focus-visible,
:where(html[data-theme="dark"]) button:focus-visible,
:where(html[data-theme="dark"]) input:focus-visible,
:where(html[data-theme="dark"]) select:focus-visible,
:where(html[data-theme="dark"]) textarea:focus-visible{outline:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) ::selection{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .overline{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .skip{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .primary{background:var(--theme-action);color:var(--theme-text);box-shadow:0 3px 9px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .primary:not(:disabled):hover{background:var(--theme-action)}
:where(html[data-theme="dark"]) .white{background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .ghost{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .text-link{color:var(--theme-link)}
:where(html[data-theme="dark"]) .text-button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .text-button:hover{color:var(--theme-link)}
:where(html[data-theme="dark"]) .text-button.liked{color:var(--theme-link)}
:where(html[data-theme="dark"]) .danger{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .icon-button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .icon-button:hover{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .panel{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .tag{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .tag.blue{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .tag.red{background:var(--theme-surface);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .notice{border:1px solid var(--theme-line);background:var(--theme-success-bg);color:var(--theme-success)}
:where(html[data-theme="dark"]) .notice.error{border-color:var(--theme-line);background:var(--theme-surface);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .notice.info{border-color:var(--theme-line);background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .avatar{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-link)}
:where(html[data-theme="dark"]) .avatar-1{background:var(--theme-surface-soft);border-color:var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .avatar-2{background:var(--theme-surface-soft);border-color:var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .avatar-3{background:var(--theme-amber-bg);border-color:var(--theme-line);color:var(--theme-amber)}
:where(html[data-theme="dark"]) .avatar-4{background:var(--theme-surface-soft);border-color:var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-wordmark>.wi{color:var(--theme-link)}
:where(html[data-theme="dark"]) .stack-form input:not([type=checkbox]),
:where(html[data-theme="dark"]) .stack-form select,
:where(html[data-theme="dark"]) .stack-form textarea,
:where(html[data-theme="dark"]) .composer textarea,
:where(html[data-theme="dark"]) .composer select{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text)}
:where(html[data-theme="dark"]) .stack-form input::placeholder,
:where(html[data-theme="dark"]) textarea::placeholder{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .stack-form input[readonly]{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .password-toggle{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .check-label input{accent-color:var(--theme-link)}
:where(html[data-theme="dark"]) .field-help{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .auth-story{background:radial-gradient(ellipse at 50% 37%,var(--theme-action) 0,var(--theme-action) 47%,var(--theme-surface-deep) 100%);color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-story:after,
:where(html[data-theme="dark"]) .auth-story:before{border:1px solid color-mix(in srgb,var(--line) 15%,transparent)}
:where(html[data-theme="dark"]) .auth-back{color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-back:hover{color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-story-content>.overline{color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-story-content h1 span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .auth-story-content>p{color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-features span{color:var(--theme-text)}
:where(html[data-theme="dark"]) .auth-bottom{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .auth-form-side{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .form-lead{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .auth-switch a{color:var(--theme-link)}
:where(html[data-theme="dark"]) .sidebar{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .sidebar-brand>.wi{color:var(--theme-link)}
:where(html[data-theme="dark"]) .sidebar-brand small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .sidebar-caption{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .nav-item{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .nav-item:hover{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .nav-item.active{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .sidebar-tip{background:linear-gradient(140deg,var(--theme-surface-soft),var(--theme-surface-soft));border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .sidebar-tip>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .back-site{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .sidebar-user small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .app-top{background:color-mix(in srgb,var(--card) 75%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .online-dot{background:var(--theme-surface-raised);box-shadow:0 0 0 4px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .balance-pill{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-link)}
:where(html[data-theme="dark"]) .app-footer{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .page-heading p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .date-pill{color:var(--theme-muted);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .welcome-banner{background:linear-gradient(115deg,var(--theme-surface-soft),var(--theme-surface-soft) 58%,var(--theme-surface-soft));border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .welcome-banner:after{border:1px solid color-mix(in srgb,var(--line) 33%,transparent)}
:where(html[data-theme="dark"]) .welcome-banner .overline{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .welcome-banner h1>span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .welcome-banner p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .welcome-water>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .welcome-water>span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .stat>.wi{color:var(--theme-muted);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .stat strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .stat span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .section-title>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .section-title>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .live-tag{background:var(--theme-success-bg);color:var(--theme-success)}
:where(html[data-theme="dark"]) .composer textarea{border-color:var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .composer select{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .char-counter{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .feed-tabs>a{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .feed-tabs>a.active{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .feed-tabs>a:hover{color:var(--theme-link)}
:where(html[data-theme="dark"]) .post-author>time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .post-body{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .post-actions{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .rail-checkin>h3{color:var(--theme-link)}
:where(html[data-theme="dark"]) .rail-checkin>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .rail-event p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .mini-map{background:repeating-linear-gradient(32deg,transparent,transparent 22px,color-mix(in srgb,var(--card2) 25%,transparent) 22px,color-mix(in srgb,var(--card2) 25%,transparent) 25px),repeating-linear-gradient(130deg,var(--theme-surface),var(--theme-surface) 33px,var(--theme-surface-soft) 33px,var(--theme-surface-soft) 35px);border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-teaser{background:linear-gradient(140deg,var(--theme-surface-soft),var(--theme-surface-soft));border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-teaser>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-teaser>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-teaser>.tag{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .rail-footnote{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .empty>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .empty p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .empty-map{background:radial-gradient(ellipse at 50% 35%,var(--theme-surface-soft),var(--theme-surface) 65%)}
:where(html[data-theme="dark"]) .empty-map>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .comment{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .comment time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .comment p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .date-block{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .date-block>span{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .activity-description{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .event-facts p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .event-facts .wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .event-facts small,
:where(html[data-theme="dark"]) .event-facts .text-link{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .event-facts .text-link{color:var(--theme-link)}
:where(html[data-theme="dark"]) .checkin-hero{background:radial-gradient(ellipse at 50% 40%,var(--theme-surface-soft),var(--theme-surface) 70%)}
:where(html[data-theme="dark"]) .checkin-drop{border:1px solid var(--theme-line);background:linear-gradient(145deg,var(--theme-surface),var(--theme-surface-soft));box-shadow:0 12px 22px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .checkin-drop>.wi{color:var(--theme-link)}
:where(html[data-theme="dark"]) .checkin-hero>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .checkin-hero>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .streak-panel>strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .streak-panel>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .checkin-raffle{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .checkin-raffle>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .checkin-raffle p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day.done{background:var(--theme-surface-soft);border-color:var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day.done>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .calendar-day.today{border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .calendar-day.today>span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .raffle-art>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-art>span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .prize-list>div{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .prize-list .wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .prize-list small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .prize-list b{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .pool-rule{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .draw-result{background:linear-gradient(145deg,var(--theme-surface),var(--theme-surface-soft));border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .draw-result>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .draw-result>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-code{background:var(--theme-surface-soft);border:1px dashed var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .history-list>div{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .history-icon{background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .history-list small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .history-points{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .history-points.positive{color:var(--theme-success)}
:where(html[data-theme="dark"]) .water-id{background:linear-gradient(135deg,var(--theme-surface-soft),var(--theme-surface));border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .water-id-top{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-id>.avatar{box-shadow:0 8px 15px color-mix(in srgb,var(--shade) 18%,transparent);border:3px solid color-mix(in srgb,var(--line) 68%,transparent)}
:where(html[data-theme="dark"]) .water-id>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .id-bottom{border-top:1px solid color-mix(in srgb,var(--line) 60%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .id-bottom b{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .badge-list>span{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .admin-entry p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .prize-edit-grid fieldset{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .prize-edit-grid legend{color:var(--theme-muted)}
@media(min-width:1550px){

}
@media(max-width:1200px){

}
@media(max-width:1050px){

}
@media(max-width:900px){
:where(html[data-theme="dark"]) .sidebar{box-shadow:10px 0 30px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .sidebar-backdrop:not([hidden]){background:color-mix(in srgb,var(--card) 33%,transparent)}
:where(html[data-theme="dark"]) .mobile-top{background:color-mix(in srgb,var(--card) 87%,transparent)}
:where(html[data-theme="dark"]) .app-top{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .bottom-nav{background:color-mix(in srgb,var(--card) 93%,transparent);border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .bottom-nav>a{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .bottom-nav>a.active{color:var(--theme-link);background:var(--theme-surface-soft)}
}
@media(max-width:600px){

}
@media(max-width:360px){

}
@media(prefers-reduced-motion:reduce){

}
:where(html[data-theme="dark"]) .verify-address{border:1px solid var(--theme-line);background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .verify-resend{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .resend-button:disabled{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .verify-switch .text-button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .activity-map{border:1px solid var(--theme-line);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .activity-map>iframe{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .map-caption{background:var(--theme-surface);border-top:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .map-caption>a{color:var(--theme-muted)}
@media(max-width:600px){

}
:where(html[data-theme="dark"]) #water-progress{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) #water-progress:after{background:var(--theme-action)}
:where(html[data-theme="dark"]) .water-toast{background:var(--theme-surface);border:1px solid var(--theme-line);color:var(--theme-success);box-shadow:0 8px 30px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .water-toast.error{color:var(--theme-danger);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .water-toast>button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .reply-context{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .comment-recipient{color:var(--theme-muted)}
@media(max-width:600px){

}
@media(prefers-reduced-motion:reduce){

}
:where(html[data-theme="dark"]) .guest-composer-input{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .guest-composer-input:hover{border-color:var(--theme-line);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .guest-comment-prompt{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .guest-comment-prompt p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .guest-map-preview{border:1px dashed var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .guest-map-preview>.wi{color:var(--theme-link)}
:where(html[data-theme="dark"]) .guest-map-preview p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .guest-dialog{border:1px solid var(--theme-line);background:linear-gradient(150deg,var(--theme-surface),var(--theme-surface-soft));color:var(--theme-link);box-shadow:0 25px 100px color-mix(in srgb,var(--shade) 30%,transparent)}
:where(html[data-theme="dark"]) .guest-dialog::backdrop{background:color-mix(in srgb,var(--card) 50%,transparent)}
:where(html[data-theme="dark"]) .guest-dialog-icon{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .guest-dialog>p{color:var(--theme-muted)}
@media(max-width:480px){

}
:where(html[data-theme="dark"]) .google-auth-form .google-signin{background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .google-signin:hover{background:var(--theme-surface-soft)}

/* admin */
:where(html[data-theme="dark"]) .management-body{background:var(--theme-surface);color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-sidebar{background:var(--theme-surface-deep);color:var(--theme-muted);scrollbar-color:var(--theme-line) var(--theme-line-strong)}
:where(html[data-theme="dark"]) .management-brand{color:var(--theme-text)}
:where(html[data-theme="dark"]) .brand-mark{border:1px solid color-mix(in srgb,color-mix(in srgb,var(--accent) 46%,var(--line)) 31%,transparent);background:color-mix(in srgb,var(--accent) 6%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-brand small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .workspace-badge{border:1px solid color-mix(in srgb,var(--line) 12%,transparent);background:color-mix(in srgb,var(--accent) 3%,transparent);color:var(--theme-text)}
:where(html[data-theme="dark"]) .workspace-badge>span:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .workspace-dot{background:var(--theme-success-action)}
:where(html[data-theme="dark"]) .nav-label{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-sidebar nav{scrollbar-color:var(--theme-line) var(--theme-line-strong)}
:where(html[data-theme="dark"]) .management-sidebar nav:focus-visible{outline:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .management-nav{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-nav>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-nav:hover{background:color-mix(in srgb,var(--accent) 3%,transparent);color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-nav.selected{color:var(--theme-text);background:var(--theme-action);box-shadow:0 5px 15px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .management-nav.selected>.wi{color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-nav small{color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-return{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-operator{border-top:1px solid color-mix(in srgb,var(--line) 12%,transparent)}
:where(html[data-theme="dark"]) .management-operator strong{color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-operator small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-operator .icon-button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-operator .icon-button:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}
:where(html[data-theme="dark"]) .management-header{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .management-header>div>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-header b{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .secure-label{color:var(--theme-muted)!important}
:where(html[data-theme="dark"]) .management-eyebrow{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-heading h1{color:var(--theme-text)}
:where(html[data-theme="dark"]) .management-heading p:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-heading>.btn{background:var(--theme-surface);border-color:var(--theme-line);box-shadow:0 2px 3px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .metric-card{background:var(--theme-surface);box-shadow:0 2px 4px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .metric-card>div{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .metric-card .wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .metric-card>strong{color:var(--theme-text)}
:where(html[data-theme="dark"]) .metric-card>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-panel{background:var(--theme-surface);box-shadow:0 2px 4px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .panel-heading h2{color:var(--theme-text)}
:where(html[data-theme="dark"]) .panel-heading p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .panel-heading>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .subtle-badge{color:var(--theme-muted);background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .todo-link{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .todo-icon{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .todo-link strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .todo-link small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .todo-link>b{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .todo-link>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .data-table thead{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .data-table th{color:var(--theme-muted);border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .data-table td{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .data-table tbody tr:hover{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .table-person strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-person small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-email{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .status-pill.green{background:var(--theme-success-bg);color:var(--theme-success);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .status-pill.red{background:var(--theme-surface);color:var(--theme-danger);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .status-pill.amber{background:var(--theme-amber-bg);color:var(--theme-amber);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .role-badge{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .role-badge.admin{color:var(--theme-muted);background:var(--theme-surface-soft);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .unit{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-link{color:var(--theme-link)}
:where(html[data-theme="dark"]) .table-link:hover{color:var(--theme-link)}
:where(html[data-theme="dark"]) .management-filters input,
:where(html[data-theme="dark"]) .management-filters select{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-filters input::placeholder{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-pagination{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .count-badge{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-empty{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-empty>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-empty h3{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .table-secondary{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .audit-reason{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-footer{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .back-directory{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-identity p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-balance>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-balance strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-balance small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-facts{background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-facts b{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .member-facts .ban-detail{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .form-panel .stack-form input,
:where(html[data-theme="dark"]) .form-panel .stack-form select{background:var(--theme-surface);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .form-panel .stack-form input::placeholder{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-details{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .management-details>summary{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .danger-button{background:var(--theme-danger-action);color:var(--theme-text);border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .danger-button:hover{background:var(--theme-danger-bg)}
:where(html[data-theme="dark"]) .danger-panel{border-color:var(--theme-line)}
:where(html[data-theme="dark"]) .danger-panel .panel-heading h2{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .positive{color:var(--theme-success)}
:where(html[data-theme="dark"]) .negative{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .segmented{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .segmented>a{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .segmented>a.selected{background:var(--theme-surface);box-shadow:0 1px 4px color-mix(in srgb,var(--shade) 18%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .moderation-head time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .moderation-body{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-body .panel h2{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .management-body .panel .stack-form input,
:where(html[data-theme="dark"]) .management-body .panel .stack-form textarea,
:where(html[data-theme="dark"]) .management-body .panel .stack-form select{background:var(--theme-surface)}
@media(min-width:1600px){

}
@media(max-width:1200px){

}
@media(max-width:1000px){
:where(html[data-theme="dark"]) .management-scrim:not([hidden]){background:color-mix(in srgb,var(--card) 38%,transparent)}
}
@media(max-width:700px){

}
@media(prefers-reduced-motion:reduce){

}
@media(max-width:700px){
:where(html[data-theme="dark"]) .table-scroll-hint{color:var(--theme-muted)}
}
@media(max-height:600px){

}

/* raffle */
:where(html[data-theme="dark"]) .raffle-info-strip{background:var(--theme-surface-soft);border:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-personal-stats>div{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-personal-stats span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-personal-stats small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-tabs{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-tabs>a{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-tabs>a.active{color:var(--theme-link);border-bottom-color:var(--theme-line-strong)}
:where(html[data-theme="dark"]) .raffle-tabs>a>span{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .raffle-pool-art{background:radial-gradient(ellipse at 25% 35%,var(--theme-surface),var(--theme-surface-soft) 70%);border:1px solid var(--theme-line);color:var(--theme-link)}
:where(html[data-theme="dark"]) .raffle-pool-art>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-card-description{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-prize-chips>span{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-card-rules{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-card-rules small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-card-rules>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-detail-hero p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-prize-row{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-prize-row p,
:where(html[data-theme="dark"]) .raffle-prize-row small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-prize-row>strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .prize-symbol{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .prize-symbol.physical{background:var(--theme-amber-bg);color:var(--theme-amber)}
:where(html[data-theme="dark"]) .prize-symbol.none{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-prize-row.sold-out>strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-rules dl>div{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-rules dt{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-claim-instructions{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-claim-instructions p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-draw-panel{background:linear-gradient(150deg,var(--theme-surface),var(--theme-surface-soft))}
:where(html[data-theme="dark"]) .raffle-draw-cost small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-draw-panel>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-draw-panel>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-usage{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-drawing{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-tips p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-disclaimer{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-result{background:linear-gradient(145deg,var(--theme-surface),var(--theme-surface-soft))}
:where(html[data-theme="dark"]) .result-symbol{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .raffle-result>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .result-facts{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .result-facts>span{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-voucher{background:var(--theme-surface);border:1px dashed var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-voucher>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-voucher small,
:where(html[data-theme="dark"]) .raffle-voucher p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-history-meta{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-voucher.compact{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-snapshot{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-admin-pool{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-admin-pool p,
:where(html[data-theme="dark"]) .raffle-admin-pool small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-admin-pool dl{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-admin-pool dt{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-form-section{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-form-section label>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-prize-editor{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-probability-note{background:var(--theme-surface-soft);color:var(--theme-muted)}
@media(max-width:1200px){

}
@media(max-width:800px){

}
@media(max-width:480px){

}
:where(html[data-theme="dark"]) .raffle-state-filter select,
:where(html[data-theme="dark"]) .raffle-record-filters input,
:where(html[data-theme="dark"]) .raffle-record-filters select{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-state-filter select:focus,
:where(html[data-theme="dark"]) .raffle-record-filters input:focus,
:where(html[data-theme="dark"]) .raffle-record-filters select:focus{outline:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-pool-card .tag.green,
:where(html[data-theme="dark"]) .raffle-admin-pool .tag.green,
:where(html[data-theme="dark"]) .raffle-detail-hero .tag.green{background:var(--theme-success-bg);color:var(--theme-success)}
:where(html[data-theme="dark"]) .raffle-pool-card .tag.amber,
:where(html[data-theme="dark"]) .raffle-admin-pool .tag.amber,
:where(html[data-theme="dark"]) .raffle-detail-hero .tag.amber{background:var(--theme-amber-bg);color:var(--theme-amber)}
:where(html[data-theme="dark"]) .raffle-pool-cover{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .raffle-detail-cover{border:1px solid var(--theme-line);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .raffle-prize-photo{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-result-photo{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-history-photo{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-image-form{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .raffle-image-form h4 small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-image-preview{border:1px dashed var(--theme-line);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .raffle-image-preview [data-image-empty]{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-image-form label>small{color:var(--theme-muted)}
@media(max-width:800px){

}
@media(max-width:480px){

}
:where(html[data-theme="dark"]) .raffle-claim-qr img{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-claim-qr p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-qr-voucher>strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .raffle-history-card[data-claim-state=claimed] .raffle-voucher>strong{color:var(--theme-success)}
:where(html[data-theme="dark"]) .raffle-history-top>.tag.green{background:var(--theme-success-bg);color:var(--theme-success)}
:where(html[data-theme="dark"]) .claim-scan-intro p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-camera-stage{background:var(--theme-surface-deep);color:var(--theme-text)}
:where(html[data-theme="dark"]) .claim-camera-placeholder>.wi{stroke:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-camera-placeholder>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-camera-frame{border:1px dashed color-mix(in srgb,var(--line) 67%,transparent)}
:where(html[data-theme="dark"]) .claim-camera-status{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-photo-upload{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .claim-photo-upload input{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .claim-photo-upload small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-scan-help{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-scan-empty{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-scan-empty>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-scan-empty h3{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-result-heading p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-result-state{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-result-state.success{background:var(--theme-success-bg);color:var(--theme-success)}
:where(html[data-theme="dark"]) .claim-result-state.pending{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .claim-result-state.expired{background:var(--theme-amber-bg);color:var(--theme-amber)}
:where(html[data-theme="dark"]) .claim-recipient{border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .claim-recipient>div>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-result-prize{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .claim-result-facts dt{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .claim-scan-confirm{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .claim-scan-confirm label small{color:var(--theme-muted)}
@media(max-width:800px){

}
@media(max-width:480px){

}
:where(html[data-theme="dark"]) .raffle-panel-tabs{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .raffle-panel-tabs a{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .raffle-panel-tabs a.active{background:var(--theme-surface);color:var(--theme-link);box-shadow:0 3px 10px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .odds-control input[type=range]{accent-color:var(--theme-action)}
:where(html[data-theme="dark"]) .odds-control input[type=number]{color:var(--theme-link)}
:where(html[data-theme="dark"]) .odds-range-label{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .odds-preview{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .odds-preview svg{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .odds-preview [data-odds-legend]>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .odds-preview p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .odds-preview .odds-error{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .odds-color-0{fill:var(--theme-link);background:var(--theme-action)}
:where(html[data-theme="dark"]) .odds-color-1{fill:var(--theme-success);background:var(--theme-success-bg)}
:where(html[data-theme="dark"]) .odds-color-2{fill:var(--theme-muted);background:var(--theme-surface-raised)}
:where(html[data-theme="dark"]) .odds-color-3{fill:var(--theme-amber);background:var(--theme-amber-action)}
:where(html[data-theme="dark"]) .odds-color-4{fill:var(--theme-danger);background:var(--theme-danger-bg)}
:where(html[data-theme="dark"]) .odds-color-5{fill:var(--theme-link);background:var(--theme-action)}
:where(html[data-theme="dark"]) .odds-color-6{fill:var(--theme-success);background:var(--theme-success-bg)}
:where(html[data-theme="dark"]) .odds-color-7{fill:var(--theme-purple);background:var(--theme-purple-bg)}
:where(html[data-theme="dark"]) .odds-color-8{fill:var(--theme-amber);background:var(--theme-amber-action)}
:where(html[data-theme="dark"]) .odds-color-9{fill:var(--theme-muted);background:var(--theme-surface-raised)}
:where(html[data-theme="dark"]) .odds-color-10{fill:var(--theme-success);background:var(--theme-success-bg)}
:where(html[data-theme="dark"]) .odds-color-11{fill:var(--theme-amber);background:var(--theme-amber-bg)}
:where(html[data-theme="dark"]) .raffle-publish-box{border:1px solid var(--theme-line)!important;background:var(--theme-surface)}
:where(html[data-theme="dark"]) .claim-instructions-section{background:var(--theme-surface);border:1px solid var(--theme-line)!important}
:where(html[data-theme="dark"]) .claim-instructions-section.physical-required{background:var(--theme-surface);border-color:var(--theme-line)!important}
:where(html[data-theme="dark"]) .claim-instructions-section.physical-required h3{color:var(--theme-amber)}
:where(html[data-theme="dark"]) .raffle-editor-panel .raffle-form-section label>small{color:var(--theme-muted)}
@media(max-width:600px){

}

/* build */
:where(html[data-theme="dark"]) .build-heading>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-metrics>div{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .build-metrics strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .build-metrics span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-access-note{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-access-note>.wi{color:var(--theme-link)}
:where(html[data-theme="dark"]) .build-access-note p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-tabs a{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-tabs a.active{color:var(--theme-link);border-color:var(--theme-line);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .build-tabs span{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .build-card p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-card small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-card-top>small,
:where(html[data-theme="dark"]) .build-card-top>time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-progress>div{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-progress strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .build-progress progress,
:where(html[data-theme="dark"]) .build-voting progress{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .build-progress progress::-webkit-progress-bar,
:where(html[data-theme="dark"]) .build-voting progress::-webkit-progress-bar{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .build-progress progress::-webkit-progress-value,
:where(html[data-theme="dark"]) .build-voting progress::-webkit-progress-value{background:var(--theme-action)}
:where(html[data-theme="dark"]) .build-progress progress::-moz-progress-bar,
:where(html[data-theme="dark"]) .build-voting progress::-moz-progress-bar{background:var(--theme-action)}
:where(html[data-theme="dark"]) .build-empty>.wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-empty p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-submit>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-meta{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-response{background:var(--theme-surface);border-left:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-response strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-voting{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-vote-results{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-vote-results strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .build-current-vote{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-timeline{border-left:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-timeline li:before{background:var(--theme-surface-raised);border:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-timeline p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-timeline small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-pagination{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-admin-panel .stack-form small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-filter label{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-filter select{border:1px solid var(--theme-line);background:var(--theme-surface)}
@media(max-width:700px){

}
:where(html[data-theme="dark"]) .build-application-free{color:var(--theme-success);background:var(--theme-success-bg);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-permissions li{border-left:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) .build-permissions strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-permissions span,
:where(html[data-theme="dark"]) .build-application-scope{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-agreement input{accent-color:var(--theme-action)}
:where(html[data-theme="dark"]) .build-application-message{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-join-dialog{box-shadow:0 18px 70px color-mix(in srgb,var(--shade) 25%,transparent);color:var(--theme-text)}
:where(html[data-theme="dark"]) .build-join-dialog::backdrop{background:color-mix(in srgb,var(--card) 53%,transparent)}
:where(html[data-theme="dark"]) .build-join-later{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .build-application-review{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .build-application-review small{color:var(--theme-muted)}
@media(max-width:600px){

}

/* water-card */
:where(html[data-theme="dark"]) .water-card-studio{border:1px solid var(--theme-line);background:linear-gradient(130deg,var(--theme-surface),var(--theme-surface-soft));box-shadow:0 12px 40px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .water-card-preview{background:radial-gradient(ellipse at center,var(--theme-surface-soft),var(--theme-surface-soft) 70%)}
:where(html[data-theme="dark"]) .water-card-copy>.overline{color:var(--theme-link)}
:where(html[data-theme="dark"]) .water-card-copy h2{color:var(--theme-text)}
:where(html[data-theme="dark"]) .water-card-copy>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-card-number{color:var(--theme-link)}
:where(html[data-theme="dark"]) .water-card-number>span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-card-links{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-card-copy>.water-card-status{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-card-copy>small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .water-card-preview[aria-busy=true]:after{color:var(--theme-muted);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .water-card-preview.card-error:after{color:var(--theme-muted);background:var(--theme-surface-soft)}
@media(max-width:1200px){

}
@media(max-width:800px){

}
@media(max-width:480px){

}

/* caps */
:where(html[data-theme="dark"]) .cap-teaser{border:1px solid var(--theme-line);background:linear-gradient(120deg,var(--theme-surface-soft),var(--theme-surface));box-shadow:0 6px 24px color-mix(in srgb,var(--shade) 18%,transparent);color:var(--theme-link)}
:where(html[data-theme="dark"]) .cap-teaser-icon{background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .cap-teaser b{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .cap-teaser small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-hero{background:linear-gradient(120deg,var(--theme-surface-soft),var(--theme-surface));border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .cap-hero h1 span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .cap-hero p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-hero-art{border:7px double var(--theme-line);background:color-mix(in srgb,var(--card) 56%,transparent);color:var(--theme-link)}
:where(html[data-theme="dark"]) .cap-upload .section-title span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-drop{background:var(--theme-surface);border:2px dashed var(--theme-line)}
:where(html[data-theme="dark"]) .cap-drop:focus-within{outline:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .cap-drop strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-drop>span:last-of-type{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-drop-icon .wi{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-preview{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .cap-preview figcaption{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-photo-hint{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-working{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-result{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .cap-result-water{background:var(--theme-success-bg);border-color:var(--theme-line);color:var(--theme-success)}
:where(html[data-theme="dark"]) .cap-result-roast{background:var(--theme-amber-bg);border-color:var(--theme-line);color:var(--theme-amber)}
:where(html[data-theme="dark"]) .cap-result-error{background:var(--theme-surface);border-color:var(--theme-line);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .cap-quota{border-top:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-quota strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-rules>div>span{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-rules strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-rules small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-limit-note,
:where(html[data-theme="dark"]) .cap-private-note{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-private-note{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .cap-history-row{border-bottom:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-history-row strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-login{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-admin-stats small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-admin-stats strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-admin-config>p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-admin-config summary{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .cap-admin-thumb{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .cap-revoke summary{color:var(--theme-muted)}
@media(max-width:1100px){

}
@media(max-width:600px){

}
:where(html[data-theme="dark"]) .sidebar nav:focus-visible{outline:2px solid var(--theme-line)}

/* releases */
:where(html[data-theme="dark"]) .release-nav-version{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-hero{border:1px solid var(--theme-line);background:linear-gradient(125deg,var(--theme-surface-soft),var(--theme-surface))}
:where(html[data-theme="dark"]) .release-hero h1 span{color:var(--theme-link)}
:where(html[data-theme="dark"]) .release-hero p:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-current{border:1px solid var(--theme-line);background:color-mix(in srgb,var(--card) 65%,transparent)}
:where(html[data-theme="dark"]) .release-current span,
:where(html[data-theme="dark"]) .release-current small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-current strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .release-version{color:var(--theme-link)}
:where(html[data-theme="dark"]) .release-latest{color:var(--theme-muted);background:var(--theme-success-bg)}
:where(html[data-theme="dark"]) .release-heading h2{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-heading time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-summary{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-groups>section{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .release-groups h3{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-groups li{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-note{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .release-footer-link:hover{color:var(--theme-link)}
@media(max-width:700px){

}

/* social */
:where(html[data-theme="dark"]) .wsn-root{color:var(--theme-text)}
:where(html[data-theme="dark"]) .wsn-launch{background:var(--theme-surface);border:2px solid var(--theme-line);box-shadow:0 5px 22px color-mix(in srgb,var(--shade) 18%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-badge{border:2px solid var(--theme-line);background:var(--theme-danger-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wsn-panel{border:1px solid var(--theme-line);background:var(--theme-surface);box-shadow:0 18px 65px color-mix(in srgb,var(--shade) 22%,transparent)}
:where(html[data-theme="dark"]) .wsn-header{background:linear-gradient(125deg,var(--theme-surface-soft),var(--theme-surface));border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wsn-header small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-close{background:color-mix(in srgb,var(--card) 69%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-tools{border-bottom:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-read-all{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-empty{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-login{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wsn-item{border-bottom:1px solid var(--theme-line);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-item:hover{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .wsn-item.is-unread{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wsn-item-heading strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-excerpt{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-item time{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-unread-dot{background:var(--theme-danger-bg)}
:where(html[data-theme="dark"]) .wsn-more{background:var(--theme-surface);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wsn-error{background:var(--theme-surface);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .social-avatar-wrap>.avatar{background:var(--theme-surface-soft);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .online-preview{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .online-preview h2>span{background:var(--theme-success-bg);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .online-mini-person>span:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .presence-dot{border:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .presence-dot.is-active{background:var(--theme-success-bg)}
:where(html[data-theme="dark"]) .presence-dot.is-idle{background:var(--theme-amber-bg)}
:where(html[data-theme="dark"]) .suggestion-entry{border:1px solid var(--theme-line);background:linear-gradient(125deg,var(--theme-surface),var(--theme-surface));color:var(--theme-muted)}
:where(html[data-theme="dark"]) .suggestion-entry>span{background:color-mix(in srgb,var(--card) 69%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .suggestion-entry small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .online-person{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .online-person strong{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .online-person small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .comment-withdrawn p{color:var(--theme-muted)}
@media(max-width:800px){

}
@media(max-width:500px){

}
@media(max-height:500px){

}

/* community-images */
:where(html[data-theme="dark"]) .image-pick-label{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .image-pick-label:focus-within{outline:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) .image-pick-item img{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .image-pick-item button{border:2px solid var(--theme-line);background:var(--theme-surface-deep);color:var(--theme-text)}
:where(html[data-theme="dark"]) .image-pick-error{color:var(--theme-danger)}
:where(html[data-theme="dark"]) .community-images a{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .community-image-dialog{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-link)}
:where(html[data-theme="dark"]) .community-image-dialog::backdrop{background:color-mix(in srgb,var(--card) 82%,transparent)}
:where(html[data-theme="dark"]) .image-view-close{color:var(--theme-text)}
@media(max-width:480px){

}

/* polls */
:where(html[data-theme="dark"]) .content-edited{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .edit-existing-images input,
:where(html[data-theme="dark"]) .poll-toggle input{accent-color:var(--theme-action)}
:where(html[data-theme="dark"]) .poll-composer{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .poll-composer summary{color:var(--theme-link)}
:where(html[data-theme="dark"]) .poll-composer input:not([type=checkbox]){border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .poll-composer [readonly],
:where(html[data-theme="dark"]) .stack-form [readonly]{background:var(--theme-surface-soft)!important;color:var(--theme-muted)}
:where(html[data-theme="dark"]) .post-poll{border:1px solid var(--theme-line);background:linear-gradient(140deg,var(--theme-surface),var(--theme-surface))}
:where(html[data-theme="dark"]) .poll-heading,
:where(html[data-theme="dark"]) .poll-footnote{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-choice{border:1px solid var(--theme-line);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .poll-choice:has(input:checked){background:var(--theme-surface-soft);border-color:var(--theme-line);box-shadow:0 0 0 1px var(--shade)}
:where(html[data-theme="dark"]) .poll-choice input{accent-color:var(--theme-action)}
:where(html[data-theme="dark"]) .poll-result span{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-result.is-mine strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .poll-track{fill:var(--theme-text)}
:where(html[data-theme="dark"]) .poll-fill{fill:var(--theme-link)}
:where(html[data-theme="dark"]) .poll-decline-fill{fill:var(--theme-muted)}
:where(html[data-theme="dark"]) .global-poll-dialog{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text);box-shadow:0 24px 80px color-mix(in srgb,var(--shade) 33%,transparent)}
:where(html[data-theme="dark"]) .global-poll-dialog::backdrop{background:color-mix(in srgb,var(--card) 72%,transparent)}
:where(html[data-theme="dark"]) .global-ballot{background:linear-gradient(145deg,var(--theme-surface-soft),var(--theme-surface) 65%);color:var(--theme-text)}
:where(html[data-theme="dark"]) .global-ballot .overline{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .global-ballot-symbol{background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .global-ballot .muted{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .global-ballot .tag{background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .global-ballot .btn{border:1px solid var(--theme-line-strong);background:var(--theme-action);color:var(--theme-text)}
:where(html[data-theme="dark"]) .global-ballot .text-button{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .global-answer-error{background:var(--theme-surface);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .global-deadline{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .global-ballot-exit{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .poll-kpis>div{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .poll-kpis span,
:where(html[data-theme="dark"]) .poll-kpis small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-admin-item{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .poll-admin-item p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-admin-item>div:last-child{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-admin-item strong{color:var(--theme-link)}
:where(html[data-theme="dark"]) .poll-admin-item b{color:var(--theme-link)}
:where(html[data-theme="dark"]) .poll-trend summary small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .poll-trend-columns svg{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .poll-trend-columns span,
:where(html[data-theme="dark"]) .poll-trend-columns small{color:var(--theme-muted)}
@media(max-width:700px){

}
@media(prefers-reduced-motion:reduce){

}
@media(max-width:700px){

}
@media(min-width:701px) and (max-width:1200px){

}
@media(max-width:700px){

}

/* ai-chat */
:where(html[data-theme="dark"]) .wai-root{color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-launch{border:3px solid var(--theme-line);background:linear-gradient(145deg,var(--theme-surface-raised),var(--theme-action));box-shadow:0 6px 26px color-mix(in srgb,var(--shade) 36%,transparent)}
:where(html[data-theme="dark"]) .wai-ai-badge{border:2px solid var(--theme-line);background:var(--theme-surface-deep);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-invite{background:var(--theme-surface);border:1px solid var(--theme-line);color:var(--theme-link);box-shadow:0 5px 20px color-mix(in srgb,var(--shade) 18%,transparent)}
:where(html[data-theme="dark"]) .wai-panel{background:var(--theme-surface);border:1px solid var(--theme-line);box-shadow:0 16px 70px color-mix(in srgb,var(--shade) 26%,transparent)}
:where(html[data-theme="dark"]) .wai-header{background:linear-gradient(125deg,var(--theme-surface-soft),var(--theme-surface-soft));border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-header small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-close{background:color-mix(in srgb,var(--card) 53%,transparent);color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-empty{background:var(--theme-surface);border:1px dashed var(--theme-line)}
:where(html[data-theme="dark"]) .wai-chip{border:1px solid var(--theme-line);color:var(--theme-link);background:var(--theme-surface)}
:where(html[data-theme="dark"]) .wai-message{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wai-message.wai-user{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wai-message small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-message p{color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-thinking{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-compose{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-compose textarea{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-compose textarea:focus{outline:2px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-primary{background:var(--theme-action);color:var(--theme-text)!important}
:where(html[data-theme="dark"]) .wai-foot small{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-clear{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-error{background:var(--theme-surface);color:var(--theme-danger)}
:where(html[data-theme="dark"]) .wai-settings{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-settings p{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-settings label{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-settings input:not([type=checkbox]),
:where(html[data-theme="dark"]) .wai-settings textarea{border:1px solid var(--theme-line);background:var(--theme-surface);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-stats span{background:var(--theme-surface)}
:where(html[data-theme="dark"]) .wai-settings small{color:var(--theme-muted)}
@media(max-width:800px){

}
@media(max-height:500px){

}
@media(prefers-reduced-motion:reduce){

}
:where(html[data-theme="dark"]) .wai-entry{border:1px solid var(--theme-line);background:var(--theme-surface-soft);color:var(--theme-link)}
:where(html[data-theme="dark"]) .wai-markdown{color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-markdown h1,
:where(html[data-theme="dark"]) .wai-markdown h2,
:where(html[data-theme="dark"]) .wai-markdown h3,
:where(html[data-theme="dark"]) .wai-markdown h4,
:where(html[data-theme="dark"]) .wai-markdown h5,
:where(html[data-theme="dark"]) .wai-markdown h6{color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-markdown blockquote{border-left:3px solid var(--theme-line);color:var(--theme-muted);background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wai-markdown pre{background:var(--theme-surface-deep);color:var(--theme-text)}
:where(html[data-theme="dark"]) .wai-markdown :not(pre)>code{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wai-markdown a{color:var(--theme-link)}
:where(html[data-theme="dark"]) .wai-markdown hr{border-top:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-markdown th,
:where(html[data-theme="dark"]) .wai-markdown td{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .wai-markdown th{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .wai-skip{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .wai-writing::after{color:var(--theme-link)}
@media(prefers-reduced-motion:reduce){

}

/* legal */
:where(html[data-theme="dark"]) body{background:var(--theme-surface);color:var(--theme-text)}
:where(html[data-theme="dark"]) a{color:var(--theme-link)}
:where(html[data-theme="dark"]) a:hover{color:var(--theme-link)}
:where(html[data-theme="dark"]) a:focus-visible{outline:3px solid var(--theme-line)}
:where(html[data-theme="dark"]) .skip{background:var(--theme-surface)}
:where(html[data-theme="dark"]) header{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) header>a{color:var(--theme-text)}
:where(html[data-theme="dark"]) .eyebrow{color:var(--theme-muted)}
:where(html[data-theme="dark"]) h2{color:var(--theme-text)}
:where(html[data-theme="dark"]) .date{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .intro{color:var(--theme-muted)}
:where(html[data-theme="dark"]) .contents{background:var(--theme-surface-soft);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .document{background:var(--theme-surface);border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) section{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) footer{border-top:1px solid var(--theme-line);color:var(--theme-muted)}
@media(max-width:600px){

}
@media(prefers-reduced-motion:reduce){

}
:where(html[data-theme="dark"]) .legal-table-wrap{border:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .legal-table th,
:where(html[data-theme="dark"]) .legal-table td{border-bottom:1px solid var(--theme-line)}
:where(html[data-theme="dark"]) .legal-table thead{background:var(--theme-surface-soft)}
:where(html[data-theme="dark"]) .policy-identity{border:1px solid var(--theme-line);background:var(--theme-surface-soft)}
@media(max-width:600px){

}
:where(html[data-theme="dark"]) .privacy-summary{background:var(--theme-surface);border:1px solid var(--theme-line);border-left:4px solid var(--theme-line-strong)}
@media(max-width:600px){

}

/* Theme switch: the same action and icon on every page, including small screens. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-width:44px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card2);color:var(--accent);font:600 12px/1.4 system-ui,-apple-system,"PingFang SC",sans-serif;cursor:pointer;white-space:nowrap}
.theme-toggle[hidden]{display:none}
.theme-toggle:hover{background:var(--card2);border-color:color-mix(in srgb,var(--accent) 39%,var(--line))}
.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 48%,var(--line));outline-offset:3px}
.theme-toggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.theme-toggle .theme-icon-sun{display:none}
:where(html[data-theme="dark"]) .theme-toggle{background:var(--card2);color:var(--txt);border-color:var(--line)}
:where(html[data-theme="dark"]) .theme-toggle:hover{background:var(--line);border-color:color-mix(in srgb,var(--accent) 59%,var(--line))}
:where(html[data-theme="dark"]) .theme-toggle .theme-icon-moon{display:none}
:where(html[data-theme="dark"]) .theme-toggle .theme-icon-sun{display:block}
.header{gap:16px}
.header>.theme-toggle{padding:8px;width:44px}
.header>.theme-toggle [data-theme-label]{display:none}
.sidebar-bottom>.theme-toggle{width:100%;justify-content:flex-start;margin:0 0 16px}
.theme-auth-tools{display:flex;justify-content:flex-end;margin-bottom:18px}
.mobile-actions>.theme-toggle,.header-right>.theme-toggle{width:40px;padding:8px}
.mobile-actions>.theme-toggle [data-theme-label],.header-right>.theme-toggle [data-theme-label]{display:none}
.legal-theme-toggle{align-self:flex-start}

/* Surface hierarchy and exceptions: photographs, QR codes and semantic actions. */
:where(html[data-theme="dark"]) body{background:var(--theme-bg);color:var(--theme-text)}
:where(html[data-theme="dark"]) body.management-body{background:var(--theme-bg)}
:where(html[data-theme="dark"]) .sidebar,
:where(html[data-theme="dark"]) .management-sidebar{background:var(--card)}
:where(html[data-theme="dark"]) .management-header,
:where(html[data-theme="dark"]) .app-top,
:where(html[data-theme="dark"]) .mobile-top,
:where(html[data-theme="dark"]) .bottom-nav{background:var(--card)}
:where(html[data-theme="dark"]) .auth-form-side{background:var(--theme-bg)}
:where(html[data-theme="dark"]) .auth-story{background:radial-gradient(ellipse at 50% 37%,var(--line),var(--card2) 47%,var(--card) 100%)}
:where(html[data-theme="dark"]) .hero{background:radial-gradient(ellipse at 52% 28%,var(--card2) 0%,var(--card2) 35%,var(--card) 70%,var(--card2) 100%)}
:where(html[data-theme="dark"]) .app-overview{background:linear-gradient(140deg,var(--card),var(--card2))}
:where(html[data-theme="dark"]) .header{background:color-mix(in srgb,var(--card) 92%,transparent)}
:where(html[data-theme="dark"]) .hero-waves path{fill:var(--accent)}
:where(html[data-theme="dark"]) .recipe-section{background:var(--card)}
:where(html[data-theme="dark"]) .join-section{background:var(--card2)}
:where(html[data-theme="dark"]) .footer{background:var(--theme-bg)}
:where(html[data-theme="dark"]) .primary,
:where(html[data-theme="dark"]) .button-primary,
:where(html[data-theme="dark"]) .nav-cta,
:where(html[data-theme="dark"]) .overview-links .overview-browse,
:where(html[data-theme="dark"]) .wai-primary,
:where(html[data-theme="dark"]) .wsn-login,
:where(html[data-theme="dark"]) .management-nav.selected{background:var(--theme-action);color:var(--on-solid)!important}
:where(html[data-theme="dark"]) .primary:not(:disabled):hover,
:where(html[data-theme="dark"]) .button-primary:hover,
:where(html[data-theme="dark"]) .nav-cta:hover,
:where(html[data-theme="dark"]) .wai-primary:hover{background:var(--btn)}
:where(html[data-theme="dark"]) .danger-button{background:var(--theme-danger-action);color:var(--on-solid)}
:where(html[data-theme="dark"]) .danger-button:hover{background:var(--danger-solid)}
:where(html[data-theme="dark"]) .overview-google a,
:where(html[data-theme="dark"]) .overview-links a:not(.overview-browse){color:var(--theme-link)}
:where(html[data-theme="dark"]) input,
:where(html[data-theme="dark"]) textarea,
:where(html[data-theme="dark"]) select{color-scheme:dark;accent-color:var(--accent)}
:where(html[data-theme="dark"]) input::placeholder,
:where(html[data-theme="dark"]) textarea::placeholder{color:var(--mute);opacity:1}
:where(html[data-theme="dark"]) input[type="file"]::file-selector-button{background:var(--line);color:var(--txt);border:1px solid var(--line);border-radius:6px;padding:6px 10px}
:where(html[data-theme="dark"]) .raffle-claim-qr img{background:var(--txt)}
:where(html[data-theme="dark"]) .poll-track{fill:var(--mute)}
:where(html[data-theme="dark"]) .poll-fill{fill:var(--accent)}
:where(html[data-theme="dark"]) .poll-decline-fill{fill:var(--mute)}
:where(html[data-theme="dark"]) .odds-color-0{fill:var(--accent);background:var(--accent)}
:where(html[data-theme="dark"]) .odds-color-1{fill:var(--teal-txt);background:var(--teal)}
:where(html[data-theme="dark"]) .odds-color-2{fill:var(--accent);background:var(--accent)}
:where(html[data-theme="dark"]) .odds-color-3{fill:var(--gold-txt);background:var(--gold)}
:where(html[data-theme="dark"]) .odds-color-4{fill:var(--danger);background:var(--danger)}
:where(html[data-theme="dark"]) .odds-color-5{fill:var(--accent);background:var(--accent)}
:where(html[data-theme="dark"]) .odds-color-6{fill:var(--teal-txt);background:var(--teal)}
:where(html[data-theme="dark"]) .odds-color-7{fill:var(--danger);background:var(--danger)}
:where(html[data-theme="dark"]) .odds-color-8{fill:var(--gold-txt);background:var(--gold)}
:where(html[data-theme="dark"]) .odds-color-9{fill:var(--mute);background:var(--mute)}
:where(html[data-theme="dark"]) .odds-color-10{fill:var(--teal-txt);background:var(--teal)}
:where(html[data-theme="dark"]) .odds-color-11{fill:var(--gold-txt);background:var(--gold)}
:where(html[data-theme="dark"]) dialog::backdrop{background:color-mix(in srgb,var(--bg) 78%,transparent)}
@media(max-width:1100px) and (min-width:761px){.header{gap:10px}.desktop-nav{gap:15px}.header .nav-cta{gap:12px;padding:12px}}
@media(max-width:1000px) and (min-width:761px){.header .nav-cta{display:none}}
@media(max-width:760px){.header{justify-content:flex-start;gap:10px}.header>.brand{margin-right:auto}.header>.theme-toggle{width:40px;min-width:40px}.header>.menu-toggle{flex-shrink:0}.theme-toggle{min-height:44px}.legal-theme-toggle{min-height:44px}}
@media(max-width:360px){.header{padding-left:12px;padding-right:12px;gap:7px}.mobile-actions{gap:6px}.management-header .header-right{gap:8px}}

