/* Every rule excludes both Halloween and the orange theme, including runtime theme switches. */
html:not([data-halloween]):not([data-theme="orange"]) {
    --md-background: #080c0f;
    --md-panel: #04080b;
    --md-card: #0e1317;
    --md-border: #232c32;
    --md-muted: #959da3;
    --bg-main: var(--md-background);
    --bg-header: var(--md-panel);
    --bg-sidebar: var(--md-panel);
    --bg-card: var(--md-card);
}
html[data-theme="standard"]:not([data-halloween]) {
    --accent: #00d86d !important;
    --accent-hover: #20e984 !important;
    --accent-dark: #00b356 !important;
    --accent-rgb: 0,216,109 !important;
}
html:not([data-halloween]):not([data-theme="orange"]) body { background: var(--md-background) !important; }
html:not([data-halloween]):not([data-theme="orange"]) body > .ambient-bg {
    opacity: 1;
    background: var(--md-background) !important;
}
html:not([data-halloween]):not([data-theme="orange"]) .ambient-bg > .ambient-light,
html:not([data-halloween]):not([data-theme="orange"]) .ambient-bg::after { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) .main-wrapper { background: transparent; }
html:not([data-halloween]):not([data-theme="orange"]) :is(.top-nav,.live-sidebar,.live-sidebar .live-header) {
    background: var(--md-panel) !important;
    backdrop-filter: none;
}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav {
    border-bottom: 1px solid #20282e !important;
    box-shadow: 0 5px 18px #0004 !important;
}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar { border-right: 1px solid #20282e; }
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-header { border-bottom: 1px solid #20282e; }
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item {
    background: #060a0d !important;
    border-bottom: 1px solid #192126;
    box-shadow: none;
}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item::before { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item .item-name { color: #eceff0; }
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item .item-price { color: #ffdf56; border-color: #75622e66; background: #18160d; }

/* Independent category tiles use the Halloween layout and the ordinary card surface. */
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none !important;
    overflow-x: auto;
    scrollbar-width: none;
}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav::-webkit-scrollbar { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link {
    min-width: 0;
    min-height: 96px;
    gap: 10px;
    justify-content: flex-start;
    padding: 13px 15px;
    border: 1px solid var(--md-border);
    border-radius: 13px;
    background: var(--md-card);
    box-shadow: 0 5px 15px #0002;
    transition: border-color .25s ease,box-shadow .25s ease;
}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link:is(:hover,.is-active,:focus-visible) {
    background: var(--md-card) !important;
    border-color: rgba(var(--accent-rgb),.65);
    box-shadow: 0 0 16px rgba(var(--accent-rgb),.06);
}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon { flex-basis: 72px; width: 72px; height: 61.714286px; }
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text { text-align: left; gap: 5px; }
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text b { color: #f1f3f4; font-size: 13px; letter-spacing: .1px; }
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text small { color: var(--md-muted); font-size: 11px; font-weight: 400; }

html:not([data-halloween]):not([data-theme="orange"]) #cases-grid { width: 100%; max-width: 1320px; margin-inline: auto; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section { margin-bottom: 0; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title {
    position: relative;
    display: block;
    margin: 0 auto 24px;
    padding-bottom: 15px;
    color: #f1f3f4;
    font-size: clamp(22px,1.8vw,29px);
    text-align: center;
    letter-spacing: -.5px;
    text-shadow: none;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .hw-heading-start { color: #f1f3f4; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .hw-heading-end { color: var(--accent); }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-fun .hw-heading-start { color: #f1f3f4; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-fun .hw-heading-end { color: var(--accent); }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title::before { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title::after {
    display: none !important;
    content: none !important;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .cases-grid { padding: 0 10px; gap: 18px; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: 100%; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card {
    position: relative;
    isolation: isolate;
    flex: 0 0 calc((100% - 72px)/5);
    width: calc((100% - 72px)/5);
    min-width: 0;
    max-width: none;
    min-height: 342px;
    padding: 21px 15px 15px;
    border: 1px solid var(--md-border) !important;
    border-radius: 13px;
    background: var(--md-card) !important;
    /* The card is opaque, so pixels behind it never contribute to its surface. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 7px 18px #0004 !important;
    transition: opacity .55s ease,translate .55s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease !important;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card:is(:hover,:focus-visible) {
    background: var(--md-card) !important;
    box-shadow: 0 7px 20px #0005,0 0 20px rgba(var(--accent-rgb),.035) !important;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card::before,
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card::after { display: none !important; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title { color: #f1f3f4; font-size: 15px; min-height: 19px; margin-bottom: 6px; text-shadow: none; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count { color: #a0a6aa; margin-bottom: 8px; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-badge { background: #ff123a; color: #fff; padding: 3px 6px; border-radius: 6px; font-size: 9px; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box { height: 205px; flex: 1 0 205px; margin-bottom: 0; padding-bottom: 37px; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box::before { display: none !important; background: none !important; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price {
    left: 50%; right: auto; bottom: 3px; transform: translateX(-50%);
    min-width: 116px; min-height: 33px; padding: 7px 12px;
    background: #080d10; border: 1px solid rgba(var(--accent-rgb),.55); border-radius: 9px;
    color: #f1f3f4; font-size: 14px; font-weight: 500; box-shadow: 0 3px 8px #0003;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price-value { color: #ffdf38; font-weight: 750; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price-unit { color: #edf0f1; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn {
    display: flex; align-items: center; justify-content: center;
    margin-top: 8px; min-height: 44px; padding: 10px 7px;
    background: linear-gradient(180deg,var(--accent),var(--accent-dark));
    border: 1px solid rgba(var(--accent-rgb),.65); border-radius: 9px;
    color: #fff; font-size: 13px; font-weight: 800; text-shadow: none;
    box-shadow: inset 0 1px #ffffff14,0 4px 12px #0003;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn::before,
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn::after { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card:hover .case-btn { background: linear-gradient(180deg,var(--accent-hover),var(--accent-dark)); }

/* Two paths grow from the top centre and meet at the bottom. */
.md-case-outline,.md-case-particles,.md-site-atmosphere { display: none; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .md-case-outline {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    max-width: none; overflow: visible; z-index: 4; pointer-events: none;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .md-case-outline path {
    fill: none; stroke: var(--accent); stroke-width: 1.4;
    stroke-linecap: round; vector-effect: non-scaling-stroke;
    stroke-dasharray: 100; stroke-dashoffset: 100;
    opacity: 0; transition: stroke-dashoffset .85s cubic-bezier(.2,.65,.35,1),opacity .2s ease;
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card:is(:hover,:focus-visible) .md-case-outline path { stroke-dashoffset: 0; opacity: .95; }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .md-case-particles {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    max-width: none; z-index: -1; overflow: visible; pointer-events: none;
    filter: hue-rotate(var(--case-effect-hue,0deg));
}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .md-case-spark {
    animation: md-case-rise var(--spark-duration,7s) linear var(--spark-delay,0s) infinite;
}
@keyframes md-case-rise {
    0% { transform: translate(0,var(--spark-from)); opacity: 0; }
    15%,65% { opacity: var(--spark-brightness,.6); }
    100% { transform: translate(var(--spark-drift,8px),var(--spark-to)); opacity: 0; }
}

/* Sparse moving bands and stars; no repeating grid or bright full-screen wash. */
html:not([data-halloween]):not([data-theme="orange"]) body > .md-site-atmosphere {
    display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden;
    pointer-events: none; contain: strict; color: var(--accent);
    background: radial-gradient(ellipse at 77% 8%,rgba(var(--accent-rgb),.025),transparent 47%);
}
html:not([data-halloween]):not([data-theme="orange"]) .md-bg-band {
    position: absolute; width: var(--band-width,140px); height: var(--band-thickness,1px);
    background: linear-gradient(90deg,transparent,rgba(var(--accent-rgb),var(--band-alpha,.2)),transparent);
    transform: rotate(-45deg);
    animation: md-band-drift var(--bg-duration,40s) ease-in-out var(--bg-delay,0s) infinite alternate;
}
html:not([data-halloween]):not([data-theme="orange"]) .md-bg-band--wide {
    clip-path: polygon(5% 0,100% 0,95% 100%,0 100%);
}
html:not([data-halloween]):not([data-theme="orange"]) .md-bg-band--double::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 9px;
    width: 70%;
    height: 1px;
    background: inherit;
    opacity: .5;
}
html:not([data-halloween]):not([data-theme="orange"]) .md-bg-star {
    position: absolute; width: var(--star-size,5px); height: var(--star-size,5px);
    background: currentColor;
    clip-path: polygon(50% 0,62% 36%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 36%);
    opacity: .2;
    animation: md-star-appear var(--bg-duration,12s) ease-in-out var(--bg-delay,0s) infinite;
}
@keyframes md-band-drift { from { transform: translate3d(-8px,10px,0) rotate(-45deg); opacity: .3; } to { transform: translate3d(10px,-12px,0) rotate(-45deg); opacity: .65; } }
@keyframes md-star-appear { 0%,100% { opacity: 0; scale: .75; } 25%,60% { opacity: .38; scale: 1; } 85% { opacity: 0; scale: .75; } }
html[data-page-hidden] :is(.md-bg-band,.md-bg-star,.md-case-spark),
html[data-ambient-paused] :is(.md-bg-band,.md-bg-star,.md-case-spark) { animation-play-state: paused !important; }
html[data-reduced-motion] :is(.md-bg-band,.md-bg-star,.md-case-spark) { animation: none !important; }
html[data-reduced-motion] .md-case-outline path { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
    .md-bg-band,.md-bg-star,.md-case-spark { animation: none !important; }
    .md-case-outline path { transition: none !important; }
}
@media (max-width: 1100px) {
    html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav { gap: 10px; grid-template-columns: repeat(5,minmax(175px,1fr)); padding-bottom: 3px; }
    html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link { padding: 12px 10px; gap: 7px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row { gap: 14px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card { flex-basis: calc((100% - 28px)/3); width: calc((100% - 28px)/3); padding: 18px 12px 13px; }
}
@media (max-width: 768px) {
    html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav { grid-template-columns: repeat(5,170px); margin-bottom: 17px; }
    html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link { min-height: 84px; padding: 12px 10px; gap: 8px; border-radius: 11px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .cases-grid { display: block; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row { gap: 12px; margin-bottom: 12px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card { flex-basis: calc((100% - 12px)/2); width: calc((100% - 12px)/2); min-height: 286px; padding: 16px 10px 12px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title { font-size: 12px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count { gap: 4px; font-size: 10px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box { height: 170px; flex-basis: 170px; padding-bottom: 34px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price { min-width: 0; width: 90%; min-height: 30px; padding: 6px; font-size: 12px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn { min-height: 39px; font-size: 12px; }
    html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title { font-size: 23px; }
}



html:not([data-halloween]):not([data-theme="orange"]) .top-nav{position:relative;min-height:78px;padding:7px 24px;gap:12px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-left{gap:24px;min-width:0}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-right{gap:10px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .brand-link>.hw-brand-wordmark{width:176px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-links{gap:10px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-tile{min-width:74px;min-height:58px;border-radius:12px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav :is(.header-icon-link,.event-nav-button,.wallet-trigger){border-radius:11px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .header-icon-link{width:38px;flex-basis:38px;height:38px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .user-profile-mini{border-radius:12px;padding:7px 12px}
html:not([data-halloween]):not([data-theme="orange"]) .top-nav .role-badge{border-radius:11px}

html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar{width:220px;flex:0 0 220px}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-header{min-height:48px;height:48px;padding:10px 12px;line-height:1.2;font-size:10px}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-items{padding:0}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item{min-height:94px;padding:24px 10px 10px;margin:0;border-radius:0;grid-template-columns:54px minmax(0,1fr);column-gap:10px}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item .live-item-icon{width:54px;height:54px}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item .item-name{font-size:12px;font-weight:700}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item .item-price{font-size:11px;padding:3px 7px;border-radius:6px}
html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar .live-item-server{font-size:10px;left:10px;top:7px}

html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel){padding:0 24px;--home-gutter:24px}

html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title{display:flex!important;align-items:center;justify-content:center;gap:24px;margin:18px auto 20px;max-width:100%;padding:0;font-size:22px;font-weight:850;letter-spacing:-.3px!important}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .cases-grid{padding:0;gap:16px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row{gap:16px;width:100%;justify-content:center}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex:0 1 calc((100% - 64px)/5);width:calc((100% - 64px)/5);min-width:0;min-height:362px;padding:21px 17px 18px;border-radius:14px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title{font-size:15px;letter-spacing:0!important;line-height:1.2}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count{font-size:11px;gap:7px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-badge{padding:3px 6px;border-radius:5px;line-height:1.2}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box{height:200px;flex-basis:200px;margin-bottom:7px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price{border-radius:7px;font-size:13px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn{min-height:42px;border-radius:9px;font-size:13px;font-weight:800}
@media(min-width:901px) and (max-width:1350px){
 html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar{width:190px;flex-basis:190px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav{padding-inline:18px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-left{gap:14px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .brand-link>.hw-brand-wordmark{width:145px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-right{gap:6px}
}
@media(max-width:1100px){
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav :is(.role-badge,.header-telegram){display:none}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex-basis:calc((100% - 32px)/3);width:calc((100% - 32px)/3)}
}
@media(max-width:900px){
 html:not([data-halloween]):not([data-theme="orange"]) .live-sidebar{display:none}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav{min-height:68px;padding:8px 16px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-left{gap:12px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .brand-link>.hw-brand-wordmark{width:132px}
 html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel){padding:0 16px;--home-gutter:16px}
}
@media(max-width:600px){
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav{min-height:62px;padding:6px 10px;gap:6px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-left{gap:7px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .brand-link>.hw-brand-wordmark{width:112px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .nav-right{gap:5px}
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .header-icon-link{width:30px;flex-basis:30px;height:32px}
 html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel){padding:0 10px;--home-gutter:10px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title{gap:12px;font-size:18px;margin:15px auto 18px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row{gap:10px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex-basis:calc((100% - 10px)/2);width:calc((100% - 10px)/2);min-height:285px;padding:16px 10px 13px;border-radius:12px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title{font-size:12px;min-height:17px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count{font-size:10px;gap:5px;margin-bottom:5px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-badge{font-size:8px;padding:3px 5px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box{height:150px;flex-basis:150px;margin-bottom:4px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price{font-size:11px;padding:4px 8px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn{font-size:12px;min-height:39px}
}
@media(max-width:360px){
 html:not([data-halloween]):not([data-theme="orange"]) .top-nav .brand-link>.hw-brand-wordmark{width:96px}
}
@media(prefers-reduced-motion:reduce){}


html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel)>.site-footer{margin-inline:-24px}
@media(max-width:900px){html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel)>.site-footer{margin-inline:-16px}}
@media(max-width:600px){html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(>#banner-carousel)>.site-footer{margin-inline:-10px}}

/* Match the established Halloween catalog geometry while retaining theme colors. */


html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;width:100%;max-width:none;margin:0 0 22px;padding:0;border-radius:0}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link{min-width:0;min-height:96px;gap:10px;justify-content:flex-start;padding:13px 15px;border-radius:13px}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon{flex-basis:72px;width:72px;height:61.714286px}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text{text-align:left;gap:5px}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text b{font-size:13px;letter-spacing:.1px}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text small{font-size:11px;font-weight:400}
html:not([data-halloween]):not([data-theme="orange"]) .case-search-shell.case-search-right{gap:22px;margin:0 auto 22px}
html:not([data-halloween]):not([data-theme="orange"]) .case-search-right .case-search{width:350px}
html:not([data-halloween]):not([data-theme="orange"]) .case-search-right .case-search input{height:44px;border-radius:11px;font-size:13px}
html:not([data-halloween]):not([data-theme="orange"]) .case-search-right .fav-only-text{font-size:12px}
@media(min-width:901px) and (max-width:1350px){
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav{gap:10px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link{padding:12px 10px;gap:7px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon{flex-basis:58px;width:58px;height:49.714286px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text b{font-size:11px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text small{font-size:10px}
}
@media(max-width:1100px){
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav{grid-template-columns:repeat(5,minmax(175px,1fr));gap:10px;padding-bottom:3px}
}
@media(max-width:900px){
}
@media(max-width:600px){
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-nav{grid-template-columns:repeat(5,170px);gap:10px;margin-bottom:17px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link{min-height:84px;padding:12px 10px;gap:8px;border-radius:11px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon{flex-basis:58px;width:58px;height:49.714286px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text b{font-size:11px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-branch-text small{font-size:10px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-search-shell.case-search-right{justify-content:space-between;gap:8px;margin-bottom:16px}
 html:not([data-halloween]):not([data-theme="orange"]) .case-search-right .case-search{flex-basis:100%;width:100%}
 html:not([data-halloween]):not([data-theme="orange"]) .case-search-right .case-search input{height:42px}
}
@media(max-width:360px){
}
@media(prefers-reduced-motion:reduce){}
@media(max-width:900px){}
@media(max-width:600px){}

html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title{display:block!important;position:relative;margin:18px auto 22px;padding:0 0 13px;text-align:center;font-size:clamp(19px,1.45vw,25px)!important;line-height:1.2;font-weight:900;letter-spacing:-.5px!important}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row{gap:clamp(14px,1.3vw,24px)}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex-basis:min(245px,calc((100% - clamp(56px,5.2vw,96px))/5 * .95));width:min(245px,calc((100% - clamp(56px,5.2vw,96px))/5 * .95));max-width:245px;min-height:0;padding:20px 18px 18px;border-radius:13px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title{font-size:clamp(13px,.95vw,16px);min-height:21px;margin-bottom:5px;font-weight:900}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count{font-size:clamp(10px,.7vw,12px);gap:6px;margin-bottom:6px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-badge{font-size:9px;padding:3px 5px;border-radius:5px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box{height:clamp(182px,11.1vw,218px);flex-basis:clamp(182px,11.1vw,218px);margin-bottom:0;padding-bottom:42px}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img{width:100%;max-width:none;flex-shrink:0}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price{left:50%!important;right:auto!important;bottom:0!important;min-width:0;width:72%;max-width:100%;min-height:34px;padding:6px 8px;gap:5px;border-radius:10px;font-size:clamp(11px,.8vw,14px);font-weight:800}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price-unit{font-size:.83em;font-weight:700}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price-text{display:contents}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:14px;padding:10px 7px;border-radius:11px;font-size:clamp(12px,.9vw,15px);font-weight:900}
@media(max-width:1100px){
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex-basis:min(245px,calc((100% - 28px)/3 * .95));width:min(245px,calc((100% - 28px)/3 * .95));padding:18px 14px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row{gap:14px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box{height:196px;flex-basis:196px}
}
@media(max-width:600px){
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title{font-size:18px!important;margin:16px auto 18px;padding-bottom:12px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{flex-basis:calc((100% - 10px)/2 * .98);width:calc((100% - 10px)/2 * .98);padding:14px 8px 12px;border-radius:11px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row{gap:10px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-title{font-size:clamp(11px,3vw,13px);min-height:17px;margin-bottom:4px;overflow-wrap:anywhere}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-items-count{font-size:10px;gap:5px;margin-bottom:4px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-badge{font-size:8px;padding:3px 5px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box{height:clamp(152px,44vw,200px);flex-basis:clamp(152px,44vw,200px);padding-bottom:34px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-price{width:95%;min-height:30px;padding:5px;gap:3px;font-size:11px;border-radius:7px}
 html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn{min-height:44px;margin-top:8px;font-size:12px;border-radius:8px}
}

html:not([data-halloween]):not([data-theme="orange"]) :is(#cases-grid,.case-branch-nav){max-width:none;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .cases-grid{padding:0;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-section-title::after{content:''!important;display:block!important;position:absolute;inset:auto auto 0 50%;width:min(245px,65%);height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,var(--accent),transparent);box-shadow:none!important;filter:none!important;opacity:.7;}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon{overflow:visible;transition:scale .65s cubic-bezier(.22,1,.36,1);}
html:not([data-halloween]):not([data-theme="orange"]) .case-branch-link:is(:hover,:focus-visible) .case-branch-icon{scale:1.14;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card{transition:opacity .65s ease,translate .65s ease,box-shadow .65s ease!important;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img{width:100%!important;height:calc(100% - 42px)!important;position:absolute;top:0;left:0;object-fit:contain!important;object-position:center!important;transform:none!important;scale:1;transition:scale .75s cubic-bezier(.22,1,.36,1),filter .75s ease,opacity .4s ease!important;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-card:hover .case-img-box>img{transform:none!important;scale:1.045;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn{transition:filter .45s ease,transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-btn:hover{transform:translateY(-1px);}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .md-case-outline path{transition:stroke-dashoffset 1.25s cubic-bezier(.22,1,.36,1),opacity .45s ease;}
@media(max-width:600px){html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img{height:calc(100% - 34px)!important;}}
@media(prefers-reduced-motion:reduce){html:not([data-halloween]):not([data-theme="orange"]) .case-branch-icon,html:not([data-halloween]):not([data-theme="orange"]) #cases-grid :is(.case-card,.case-card-image,.case-btn){transition:none!important;}}

html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img { object-view-box:var(--md-art-crop,inset(0)); }
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .hw-heading-spaced {margin-right:.16em;}

html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .cases-grid {display:flex;flex-direction:column;}
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-row {margin-bottom:0;}
/* Size the visible chest, independently of PNG canvas size and legacy per-case settings. */
html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img{width:var(--md-art-width,92%)!important;height:var(--md-art-height,calc(100% - 42px))!important;aspect-ratio:auto;max-width:none!important;max-height:none!important;top:calc(50% - 21px);left:50%;translate:-50% -50%;}
@media(max-width:600px){html:not([data-halloween]):not([data-theme="orange"]) #cases-grid .case-img-box>img{top:calc(50% - 17px);}}
