/* Topic-only overrides; shared cards, player and navigation retain their behavior. */
.xm.xvt-hiyori{--vt-bg:#f7f5f0;--vt-surface:#fffdf9;--vt-panel:#eeebe4;--vt-text:#292d2b;--vt-muted:#747770;--vt-line:#deddd5;--vt-accent:#aa453c;--vt-ink:#fff;color-scheme:light}
.xm.xvt-aether{--vt-bg:#10101b;--vt-surface:#1c1b2b;--vt-panel:#191826;--vt-text:#f4f1ff;--vt-muted:#a7a2bb;--vt-line:#333047;--vt-accent:#ad8bff;--vt-ink:#171020;color-scheme:dark}
.xm.xt .xm-header{background:var(--vt-bg)}.xm.xt .xm-logo{font-size:26px}.xm.xt .xm-wrap{width:min(1472px,92%)}
.xm.xt .xt-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 20px;color:var(--vt-muted);font-size:13px}.xm.xt .xt-intro p{margin:0;color:var(--vt-accent)}
.xm.xt .xt-feature{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(250px,1fr);gap:24px}
.xm.xt .xt-feature-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);min-height:400px;background:var(--vt-surface);border:1px solid var(--vt-line);border-radius:6px;overflow:hidden}
.xm.xt .xt-feature-copy{padding:36px;align-self:center}.xm.xt .xt-label{font-size:12px;color:var(--vt-accent)}.xm.xt .xt-feature h1{font-size:36px;line-height:1.3;margin:20px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.xm.xt .xt-meta{font-size:12px;color:var(--vt-muted)}.xm.xt .xt-description{font-size:14px;line-height:1.8;color:var(--vt-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.xm.xt .xt-feature .xm-button{display:inline-flex;align-items:center;gap:10px;margin-top:12px;padding:12px 20px;font-size:14px}
.xm.xt .xt-feature-art{display:flex;align-items:center;justify-content:center;min-width:0;background:var(--vt-panel)}.xm.xt .xt-feature-art img{width:100%;height:100%;max-height:460px;object-fit:cover}
.xm.xt .xt-updates{padding:26px;background:var(--vt-panel);border:1px solid var(--vt-line);border-radius:6px;min-width:0}.xm.xt .xt-updates h2{font-size:20px}.xm.xt .xt-updates ol{padding:0;list-style:none;margin:0}.xm.xt .xt-updates li{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid var(--vt-line)}.xm.xt .xt-updates li:last-child{border:0}.xm.xt .xt-updates li>span{color:var(--vt-accent);font-size:20px;font-variant-numeric:tabular-nums}.xm.xt .xt-updates li>div{min-width:0}.xm.xt .xt-updates li a{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px}.xm.xt .xt-updates small{display:block;margin-top:6px;font-size:12px;color:var(--vt-muted)}
.xm.xt .xt-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.xm.xt .xt-chips a{padding:9px 16px;font-size:13px;border:1px solid var(--vt-line);border-radius:5px;background:var(--vt-surface)}.xm.xt .xt-chips a:hover{border-color:var(--vt-accent)}
.xm.xvt-aether .xt-feature-main{background:linear-gradient(120deg,#242039,#171622)}.xm.xvt-aether .xt-feature{grid-template-columns:minmax(0,3fr) minmax(250px,1fr)}
.xm.xt .xm-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:28px 20px}.xm.xt .xm-player video{object-fit:contain}.xm.xt .xm-filters label{color:var(--vt-text)}
@media(max-width:1100px){.xm.xt .xt-feature,.xm.xvt-aether .xt-feature{grid-template-columns:1fr}.xm.xt .xt-updates ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.xm.xt .xt-updates li{border:0}.xm.xt .xm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.xm.xt .xt-feature-main{min-height:320px}}
@media(max-width:700px){.xm.xt .xt-intro{margin:20px 0 16px}.xm.xt .xt-intro>span{display:none}.xm.xt .xt-feature-copy{padding:22px}.xm.xt .xt-feature h1{font-size:26px;margin:14px 0}.xm.xt .xt-feature-main{min-height:290px;grid-template-columns:1.15fr 1fr}.xm.xt .xt-description{-webkit-line-clamp:2;font-size:13px}.xm.xt .xt-feature .xm-button{padding:10px 12px}.xm.xt .xt-updates{padding:20px}.xm.xt .xt-updates ol{grid-template-columns:1fr;gap:0}.xm.xt .xt-updates li:nth-child(n+4){display:none}.xm.xt .xm-section{margin:32px 0}.xm.xt .xm-heading h2{font-size:22px}.xm.xt .xm-heading{margin-bottom:18px}.xm.xt .xm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}.xm.xt .xt-chips{gap:8px}.xm.xt .xt-chips a{padding:9px 12px}.xm.xt .xm-card h3{font-size:15px}}
@media(max-width:390px){.xm.xt .xm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xm.xt .xt-feature-copy{padding:16px}.xm.xt .xt-feature h1{font-size:23px}}

.xm.xt .xm-logo>span.xm-brand-name{color:var(--vt-accent)}
.xm.xt.xvt .xm-recommend-bottom>.xm-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(min-width:701px) and (max-width:1100px){.xm.xt.xvt .xm-recommend-bottom>.xm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.xm.xt.xvt .xm-recommend-bottom>.xm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:390px){.xm.xt.xvt .xm-recommend-bottom>.xm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.xm.xt .xt-kind{position:absolute;top:8px;left:8px;z-index:1;padding:4px 7px;background:var(--vt-accent);color:var(--vt-ink);font-size:11px;border-radius:3px;max-width:calc(100% - 16px)}

/* Topic containers must not auto-place CMS-injected inert decoration nodes. */
.xm.xt :is(.xt-intro,.xt-feature,.xt-feature-main,.xt-feature-copy,.xt-feature-art,.xt-updates,.xt-updates ol,.xt-updates li,.xt-chips,.xt-collections,.xt-collection,.xt-calendar,.xt-day,.xt-facts,.xt-facts>div,.xt-collection-intro)>:is(time,tt,var,small,sup,area,map,bdo,dfn,font,ins):empty:not([class]):not([id]):not([href]):not([role]):not([aria-label]):not([title]):not([tabindex]):not([contenteditable]){display:none!important}
.xm.xt .xt-feature{grid-template-areas:"main updates";align-items:stretch}
.xm.xt .xt-feature-main{grid-area:main;grid-template-areas:"copy artwork";min-width:0;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:380px}
.xm.xt .xt-feature-copy{grid-area:copy;min-width:0;overflow-wrap:anywhere}
.xm.xt .xt-feature-art{grid-area:artwork;min-width:0;min-height:0}
.xm.xt .xt-updates{grid-area:updates;min-width:0}
.xm.xt .xt-feature-art img{display:block;width:100%;height:400px;max-height:420px}
.xm.xt .xt-art-portrait img{object-fit:contain;padding:16px;box-sizing:border-box}
.xm.xt .xt-art-landscape img{object-fit:cover}
.xm.xt .xt-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.xm.xt .xt-collection{display:flex;min-width:0;gap:24px;padding:24px;background:var(--vt-surface);border:1px solid var(--vt-line);border-radius:6px;color:var(--vt-text);text-decoration:none}
.xm.xt .xt-collection>img{width:110px;height:154px;object-fit:cover;border-radius:4px;flex-shrink:0}
.xm.xt .xt-collection>div{min-width:0}.xm.xt .xt-collection h3{font-size:20px;margin:12px 0}.xm.xt .xt-collection p{font-size:14px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.xm.xt .xt-collection small,.xm.xt .xt-disclaimer{font-size:12px;color:var(--vt-muted)}
.xm.xt .xt-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.xm.xt .xt-day{padding:16px;background:var(--vt-surface);border:1px solid var(--vt-line);border-radius:5px;min-width:0}
.xm.xt .xt-day h3{font-size:16px;margin:0 0 16px;color:var(--vt-accent)}.xm.xt .xt-day a{display:block;font-size:14px;line-height:1.6;margin-bottom:16px;overflow-wrap:anywhere}.xm.xt .xt-day small{display:block;font-size:12px;color:var(--vt-muted)}.xm.xt .xt-day p{font-size:12px;color:var(--vt-muted)}
.xm.xt .xt-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px;background:var(--vt-surface);border:1px solid var(--vt-line);border-radius:6px}
.xm.xt .xt-facts>div{min-width:0}.xm.xt .xt-facts dt{font-size:12px;color:var(--vt-muted);margin-bottom:8px}.xm.xt .xt-facts dd{font-size:14px;line-height:1.7;margin:0;overflow-wrap:anywhere}
.xm.xt .xt-collection-intro{display:flex;gap:24px;margin-top:32px;padding:24px;background:var(--vt-surface);border:1px solid var(--vt-line);border-radius:6px;line-height:1.8}.xm.xt .xt-collection-intro>img{width:160px;height:180px;object-fit:cover}.xm.xt .xt-collection-intro>div{min-width:0;overflow-wrap:anywhere}
.xm.xt .xt-chips [aria-current=page]{background:var(--vt-accent);color:var(--vt-ink)}
@media(max-width:1100px){.xm.xt .xt-feature{grid-template-areas:"main" "updates";grid-template-columns:minmax(0,1fr)}.xm.xt .xt-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.xm.xt .xt-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.xm.xt .xt-feature-main{grid-template-areas:"artwork" "copy";grid-template-columns:minmax(0,1fr);min-height:0}.xm.xt .xt-feature-art img{height:260px}.xm.xt .xt-feature-copy{padding:24px}.xm.xt .xt-feature h1{font-size:26px;margin:14px 0}.xm.xt .xt-collections{grid-template-columns:minmax(0,1fr);gap:16px}.xm.xt .xt-collection{padding:16px;gap:16px}.xm.xt .xt-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.xm.xt .xt-facts{padding:16px;gap:16px}.xm.xt .xt-collection-intro{flex-direction:column}.xm.xt .xt-collection-intro>img{width:100%;height:200px}.xm.xt .xt-editorial .xm-heading{flex-wrap:wrap;gap:12px}.xm.xt .xt-editorial .xm-heading>span{font-size:12px}}

/* Topic search: one enclosing focus indicator, with theme-specific colors. */
.xm.xt .xm-header>.xm-search,
.xm.xt .xm-header>.xm-search:hover{background:var(--vt-surface);border-color:var(--vt-line);box-shadow:none}
.xm.xt .xm-header>.xm-search:focus-within{background:var(--vt-surface);border-color:var(--vt-accent);box-shadow:0 0 0 2px var(--vt-line)}
.xm.xt .xm-search input{background:transparent;border:0;box-shadow:none;color:var(--vt-text);caret-color:var(--vt-accent);-webkit-text-fill-color:var(--vt-text)}
.xm.xt .xm-search input:focus,
.xm.xt .xm-search input:focus-visible{outline:none}
.xm.xt .xm-search input::placeholder{color:var(--vt-muted);-webkit-text-fill-color:var(--vt-muted);opacity:1}
.xm.xt .xm-search input:-webkit-autofill{box-shadow:0 0 0 1000px var(--vt-surface) inset;-webkit-text-fill-color:var(--vt-text)}
.xm.xt .xm-search button:hover,
.xm.xt .xm-search button:focus-visible{color:var(--vt-accent);background:var(--vt-panel);outline-color:var(--vt-accent);outline-offset:0}

/* Topic players inherit their own palette; the video canvas remains black. */
.xm.xt .xm-pui-stage{--vt-player:var(--vt-accent)}
.xm.xt .xm-pui-stage .xm-pui-center,
.xm.xt .xm-pui-stage .xm-pui-center:hover,
.xm.xt .xm-pui-stage .xm-pui-center:focus-visible{background:var(--vt-player);border-color:var(--vt-player);color:var(--vt-ink);opacity:.9}
.xm.xt .xm-pui-stage .xm-pui-center::before{border-color:var(--vt-player);background:transparent}
.xm.xt .xm-pui-stage .xm-pui-loading::before{border-top-color:var(--vt-player)}
.xm.xt .xm-pui-stage :focus-visible{outline-color:var(--vt-player)}
.xm.xt .xm-pui-stage .xm-pui-seek,.xm.xt .xm-pui-stage .xm-pui-volume{accent-color:var(--vt-player)}
.xm.xt .xm-pui-stage .xm-pui-button:hover,
.xm.xt .xm-pui-stage .xm-pui-tool:hover,
.xm.xt .xm-pui-stage .xm-pui-settings[open]>summary{color:var(--vt-player)}
.xm.xt .xm-pui-settings .xm-pui-extras{background:var(--vt-surface);border-color:var(--vt-line);color:var(--vt-text)}
.xm.xt .xm-pui-extras .xm-pui-auto,.xm.xt .xm-pui-extras .xm-pui-select{color:var(--vt-text)}
.xm.xt .xm-pui-extras .xm-pui-select option{background:var(--vt-surface);color:var(--vt-text)}
.xm.xt .xm-pui-extras .xm-pui-button,.xm.xt .xm-pui-prompt .xm-pui-button{background:var(--vt-panel);border-color:var(--vt-line);color:var(--vt-text)}
.xm.xt .xm-pui-prompt{background:var(--vt-panel);border-color:var(--vt-line);color:var(--vt-text)}

.xm.xt .xm-pui-stage .xm-pui-center:hover,.xm.xt .xm-pui-stage .xm-pui-center:focus-visible{color:var(--vt-ink)}

/* Explicit glyph dimensions avoid percentage sizing inside the grid button. */
.xm.xt .xm-pui-stage .xm-pui-center svg{display:block;width:28px;height:28px;min-width:28px;min-height:28px;position:relative;z-index:1;color:var(--vt-ink);fill:currentColor;opacity:1;visibility:visible}
.xm.xt .xm-pui-stage .xm-pui-center svg use{color:var(--vt-ink);fill:currentColor}
@media(max-width:600px){.xm.xt .xm-pui-stage .xm-pui-center svg{width:20px;height:20px;min-width:20px;min-height:20px}}
