/* WANGO main-site visual contract, verified at 1ee572e843080dcc7e3249986e205f2428effed0. */
:root,:root[data-theme=light]{--bg:#fff;--surface:#fff;--surface2:#f5f6f8;--text:#202536;--muted:#667085;--line:#eaecf0;--orange:#ff642d;--radius:12px;--card-surface:var(--surface);--card-border:var(--line);--card-accent:#ff642d;--gallery-panel:var(--surface);--gallery-soft:var(--surface2);--gallery-ink:var(--text);--gallery-muted:var(--muted);--gallery-line:var(--line);--gallery-accent:#ff642d;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
:root[data-theme=dark]{--bg:#14161b;--surface:#1c1f26;--surface2:#242831;--text:#eef0f5;--muted:#acb4c2;--line:#373e4b}
body{background:var(--bg);color:var(--text)}
h1,h2,h3{font-weight:650;letter-spacing:-.035em}button,input,select,textarea{font-family:inherit}
:root[data-theme] .btn-primary,:root[data-theme] .filter-bar button.active,:root[data-theme] .quantity-options [aria-pressed=true]{background:#ff642d;border-color:#ff642d;color:#202536}
:root[data-theme] .btn-primary:hover{background:#ff7a4b;border-color:#ff7a4b}
:root[data-theme] .btn-ghost{background:var(--surface);border-color:var(--line);color:var(--text)}
:root[data-theme] :is(.site-header,.desktop-nav,.mobile-nav){background:var(--bg);border-color:var(--line)}
.site-header{position:sticky;top:0;z-index:30}.header-inner{max-width:1360px;height:76px;padding:0 40px;gap:28px;flex-wrap:nowrap}
.brand{display:inline-flex;align-items:center;flex:none;letter-spacing:0}.wordmark{width:112px;height:auto;display:block}.wordmark-light{display:none}
:root[data-theme=dark] .wordmark-dark{display:none}:root[data-theme=dark] .wordmark-light{display:block}
:root[data-theme] .global-search{order:2;flex:0 1 264px;width:264px;max-width:264px;min-width:160px;height:40px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--muted);margin:0}
:root[data-theme] .global-search input{width:100%;min-width:0;background:transparent;color:var(--text);font-size:13px}
:root[data-theme] .global-search>span,:root[data-theme] .global-search button{color:var(--muted)}.global-search button{white-space:nowrap}
.desktop-nav{order:3;margin-left:auto;border:0!important}.nav-inner{padding:0;gap:25px;overflow:visible}.nav-inner a{padding:27px 0 24px;font-size:14px;font-weight:550;white-space:nowrap}
:root[data-theme] .nav-inner a{color:var(--text)}:root[data-theme] .nav-inner a.selected{color:#a63813;border-color:#ff642d}:root[data-theme=dark] .nav-inner a.selected{color:#ff9b75}
:root[data-theme] .theme-toggle{order:4;min-height:36px;padding:7px 11px;border-color:var(--line);background:var(--bg);color:var(--muted);font-size:12px;margin:0}
main{max-width:1296px;padding-inline:40px}.gallery-home{padding-top:0}.gallery-intro{grid-template-columns:1.8fr 1fr;gap:48px;padding:58px 0 48px}.gallery-copy{padding:0}.gallery-copy h1{font-size:clamp(36px,3.4vw,48px);font-weight:650;line-height:1.25;letter-spacing:-.05em;margin:0 0 20px}.gallery-copy>p{color:var(--muted);font-size:16px;line-height:1.75;margin:0 0 28px}
.home-card-search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:8px 8px 8px 20px;height:64px;max-width:680px;background:var(--surface)}.home-card-search>span{font-size:27px;color:var(--muted)}.home-card-search input{min-width:0;flex:1;border:0;outline:none;background:transparent;color:var(--text);font-size:15px;height:44px}.home-card-search:focus-within{border-color:#ff642d;box-shadow:0 0 0 3px #ff642d14}.home-card-search input:focus-visible{outline:0}.home-card-search .btn{min-height:44px;border-radius:8px;padding:10px 24px;font-size:14px;font-weight:600}
.gallery-index{gap:20px;margin-top:16px;font-size:13px}.gallery-index>span{flex-basis:auto;color:var(--muted);font-size:13px}.gallery-index>a{border:0;color:var(--text)}.gallery-index>a:hover{color:#a63813}
.gallery-feature{width:100%;max-width:330px;height:260px;border-radius:12px;justify-self:end}.gallery-feature>img{object-position:68% 40%}
.gallery-experiences,.gallery-library{margin-top:64px}.gallery-experiences{margin-top:16px}.card-section-heading{margin-bottom:24px;gap:20px}.card-section-heading h2{font-size:28px;line-height:1.3;font-weight:650;margin-bottom:10px}.card-section-heading p{font-size:15px;line-height:1.75;margin:0}:root[data-theme] .card-section-heading p,:root[data-theme] .card-section-heading>a,:root[data-theme] .card-source-note,:root[data-theme] .card-eyebrow{color:var(--muted)}.card-section-heading>a{font-size:14px;white-space:nowrap}.gallery-play-grid{gap:24px}.gallery-play-card>div{border-radius:12px}.gallery-play-card>span{font-size:18px;font-weight:650}.gallery-play-card>small{font-size:13px;line-height:1.6}
.gallery-source{border-radius:12px;background:var(--surface2);border-color:transparent}.gallery-source:hover{border-color:var(--line)}.source-identity h3{font-weight:650}.source-identity b{font-weight:600}.gallery-personal{margin-top:64px;padding:36px 0}.gallery-personal h2{font-size:28px;font-weight:650}.card-footer{max-width:1296px;padding-inline:40px}:root[data-theme] .card-footer p,:root[data-theme] .card-footer small,:root[data-theme] .card-footer nav{color:var(--muted)}.card-footer .brand{margin-bottom:8px}
:root[data-theme] :is(.real-heading p,.real-form label,.form-hint,.library-owned,.collection-mode small,.real-storage-note,.flow-help,.flow-save-note,.flow-dialog-top small){color:var(--muted)}
:root[data-theme] :is(.real-form input,.real-form select,.real-form textarea,.quantity-stepper button,.library-filters select,.library-search-form>input,.real-search input){background:var(--surface);border-color:var(--line);color:var(--text)}
:root[data-theme] :is(.shop-card,.collector-card,.post-card,.calendar-card,.event-row,.cabinet-item,.cabinet-hero,.real-metrics,.real-empty,.real-item,.library-source,.flow-dialog,.flow-reveal,.theme-options button,.session-metrics,.summary-items>div,.flow-followup,.play-stage){background:var(--surface);border-color:var(--line);color:var(--text)}
:root[data-theme] .play-stage{background:var(--surface)!important}:root[data-theme] :is(.filter-bar button,.play-switcher a,.cross-play a,.detail-tabs a){background:var(--surface2);color:var(--muted);border-color:var(--line)}
:root[data-theme] :is(.collection-mode .active,.real-utilities>button,.real-utilities>a,.real-section-title button,.library-official,.library-build-target){color:#a63813}:root[data-theme=dark] :is(.collection-mode .active,.real-utilities>button,.real-utilities>a,.real-section-title button,.library-official,.library-build-target){color:#ff9b75}
.library-gallery .real-heading h1,.play-control h1{font-weight:650;letter-spacing:-.04em}.real-dialog,.flow-dialog{border-radius:12px}.real-heading h1{font-weight:650}
@media(max-width:1050px) and (min-width:761px){.header-inner{padding-inline:24px;gap:20px}.global-search{display:none}.nav-inner{gap:24px}.gallery-intro{gap:28px}.gallery-copy h1{font-size:40px}main,.card-footer{padding-inline:24px}}
@media(max-width:760px){.header-inner{height:64px;min-height:64px;padding:0 20px;gap:16px}.wordmark{width:104px}:root[data-theme] .theme-toggle{margin-left:auto}.global-search,.desktop-nav{display:none!important}main{padding-inline:20px}.gallery-home{padding-top:0}.gallery-intro{grid-template-columns:1fr;padding:32px 0 0;gap:24px}.gallery-copy h1{font-size:34px;line-height:1.3;margin:0 0 14px}.gallery-copy>p{font-size:14px;line-height:1.75;margin:0 0 22px}.home-card-search{height:56px;gap:8px;padding:6px 6px 6px 12px;border-radius:10px}.home-card-search input{font-size:16px}.home-card-search>span{display:none}.home-card-search .btn{min-height:42px;padding:8px 16px}.gallery-index{margin-top:12px;gap:20px;font-size:12px}.gallery-feature{max-width:none;height:190px;justify-self:stretch}.gallery-feature>img{object-position:68% 43%}.gallery-experiences,.gallery-library{margin-top:36px}.card-section-heading{margin-bottom:20px;gap:10px}.card-section-heading h2{font-size:23px;line-height:1.35}.card-section-heading p{font-size:13px;line-height:1.65}.card-section-heading>a{font-size:12px}.gallery-play-grid{gap:16px;grid-template-columns:repeat(5,148px)}.gallery-play-card>span{font-size:16px}.gallery-play-card>small{font-size:12px}.gallery-personal{margin-top:36px;padding:28px 0}.gallery-personal h2{font-size:23px}.card-footer{padding-inline:20px}:root[data-theme] .mobile-nav a.selected{color:#a63813}:root[data-theme=dark] .mobile-nav a.selected{color:#ff9b75}}
@media(max-width:360px){.gallery-copy h1{font-size:29px}.home-card-search input{font-size:14px}.home-card-search .btn{padding-inline:12px}.card-section-heading h2{font-size:20px}}

/* Card-site identity stays visible in both themes and on narrow screens. */
.brand .brand-category{display:inline-block;margin-left:10px;font-size:20px;font-weight:750;letter-spacing:.02em;line-height:1.2;color:var(--text)}
@media(max-width:760px){.brand .brand-category{font-size:18px;margin-left:8px}}

.library-taxonomy{margin:20px 0 16px}.taxonomy-row{display:flex;align-items:flex-start;gap:18px;margin:12px 0}.taxonomy-row>strong{flex:0 0 78px;padding-top:12px;font-size:13px;color:var(--muted);font-weight:600}.taxonomy-row .library-source-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0}.taxonomy-context{font-size:12px;color:var(--muted);margin:16px 0 0}.taxonomy-row button{white-space:normal;text-align:left}.library-taxonomy button[aria-pressed=true]{border-color:var(--orange)}
@media(max-width:760px){.taxonomy-row{display:block;margin:16px 0}.taxonomy-row>strong{display:block;padding:0;margin-bottom:9px}.taxonomy-row .library-source-tabs{gap:7px}.taxonomy-row button{font-size:12px;padding:9px 12px}.taxonomy-context{line-height:1.7}}
