/* Approved cultural preview: original copy, routes and calculations are retained.
   This final stylesheet is scoped to culture routes; home and account are untouched. */
:root[data-culture=china]{--accent:#3f7056;--accent-2:#a58d55;--bg:#f0f3eb;--border:#cdd9cb;--culture-night:#142e27;--culture-halo:#457158;--culture-ink:#fff7e8;--culture-muted:#d9d7c5;--culture-shadow:#23462d17}
:root[data-culture=china]:is([data-tradition=ziwei],[data-tradition=ziweipair],[data-tradition=ziweiperiods],[data-tradition=pairperiods]){--accent:#795995;--accent-2:#b79a62;--bg:#f4f0f6;--border:#dcd1e2;--culture-night:#20152c;--culture-halo:#87649f;--culture-muted:#d9cbdc;--culture-shadow:#361c4b1a}
:root[data-culture=china][data-tradition=chenggu]{--accent:#96593f;--accent-2:#b09560;--bg:#f8f1e8;--border:#e2cebf;--culture-night:#38231e;--culture-halo:#9a6649;--culture-shadow:#5b311b1a}
:root[data-culture=china][data-tradition=huangji]{--accent:#366c7b;--accent-2:#b49d65;--bg:#eff4f4;--border:#c6d9dc;--culture-night:#122f36;--culture-halo:#477e87;--culture-shadow:#1f444b1a}
:root[data-culture=europe]{--accent:#76618f;--accent-2:#c3a76c;--bg:#f1edf5;--border:#d9cce2;--culture-night:#0e132e;--culture-halo:#65548e;--culture-ink:#fff7e8;--culture-muted:#d9d2e8;--culture-shadow:#361c4b1e}
:root[data-culture=japan]{--accent:#a14337;--accent-2:#b09b62;--bg:#faf5ee;--border:#e6cfc4;--culture-night:#f3e9dc;--culture-halo:#edd5c9;--culture-ink:#692d2b;--culture-muted:#775b54;--culture-shadow:#70332417}
:root[data-culture=nordic]{--accent:#266b92;--accent-2:#619d9e;--bg:#eef5f8;--border:#c8dce5;--culture-night:#102c40;--culture-halo:#437b94;--culture-ink:#fff7e8;--culture-muted:#cce3ed;--culture-shadow:#1c4b681a}
:root[data-culture=india]{--accent:#246a50;--accent-2:#b88436;--bg:#f6f2e7;--border:#d8d8bd;--culture-night:#103c31;--culture-halo:#4f7d4b;--culture-ink:#fff7e8;--culture-muted:#dedeb5;--culture-shadow:#1f4d361a}
:root[data-culture]:not([data-culture=""]){--surface:#fffdf9}
.method-page-header[data-cultural-header]{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:330px;padding:0;border:1px solid color-mix(in srgb,var(--accent-2) 30%,transparent);border-radius:20px;background:var(--culture-night);color:var(--culture-ink);box-shadow:0 16px 40px var(--culture-shadow);margin-bottom:30px}
.method-page-header[data-cultural-header]:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 75% 60%,color-mix(in srgb,var(--culture-halo) 45%,transparent),transparent 62%)}
.method-page-header[data-cultural-header]:after{content:"";position:absolute;inset:14px;border:1px solid color-mix(in srgb,var(--accent-2) 20%,transparent);border-radius:12px;pointer-events:none}
.method-page-header[data-cultural-header] .tradition-copy{position:relative;z-index:3;padding:44px 14px 46px 46px;min-width:0}
.method-page-header[data-cultural-header] .method-page-label{color:var(--culture-muted);font-size:10px;letter-spacing:.12em;line-height:1.6;gap:12px}
.method-page-header[data-cultural-header] .method-page-label>span:first-child{display:none}
.method-page-header[data-cultural-header] .method-page-label:before{content:"";height:1px;width:28px;flex:none;background:var(--accent-2)}
.method-page-header[data-cultural-header] h1{color:var(--culture-ink);font-size:clamp(30px,3.2vw,44px);font-weight:400;line-height:1.4;letter-spacing:.02em;margin:16px 0}
.method-page-header[data-cultural-header] p{color:var(--culture-muted);font-size:14px;line-height:1.95;max-width:470px}
.method-page-header[data-cultural-header]>canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.tradition-art{position:relative;min-width:0;min-height:330px;height:100%;z-index:2;pointer-events:none}
.tradition-art>svg{position:absolute;inset:0;display:block;width:100%;height:100%}
.tradition-art .art-float{transform-origin:300px 180px;animation:tradition-float 10s ease-in-out infinite}
.tradition-art .aurora-ribbon{transform-origin:50% 30%;animation:tradition-aurora 16s ease-in-out infinite alternate}
.tradition-art .torii{filter:drop-shadow(0 9px 20px #7a302b15)}
:root[data-culture]:not([data-culture=""]) .site-header{background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(18px)}
:root[data-culture]:not([data-culture=""]) .unified-workspace .focus-window{border-radius:18px;background:var(--surface);box-shadow:0 8px 32px var(--culture-shadow)}
:root[data-culture]:not([data-culture=""]) .focus-window .field :is(input:not([type=checkbox]),select,textarea){border-radius:14px;min-height:56px;padding:16px 18px;font-size:17px}
:root[data-culture]:not([data-culture=""]) .focus-window .field :is(input:not([type=checkbox]),select,textarea):focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}
:root[data-culture]:not([data-culture=""]) .unified-workspace .panel{border-radius:16px}
:root[data-culture]:not([data-culture=""]) .unified-workspace .button{border-radius:10px}
:root[data-culture=japan] .paper-slip{background:#fffdf7;border-color:#d6b5a4;box-shadow:0 8px 25px #7a302b17}
:root[data-culture=nordic] .symbol-placeholder{color:#4e93b5;background:radial-gradient(ellipse,#d2e7f1,transparent 70%)}
:root[data-culture=india] .vedic-chart{border-color:#b88436}
/* Preserve the real tarot activity's own high-contrast night palette. */
:root[data-culture=europe] .unified-workspace .tarot-sky-content .focus-window{background:rgba(13,18,43,.9);border-color:#8f7eae;color:#f0effb}
:root[data-culture=europe] .tarot-sky-content .focus-window .field :is(input:not([type=checkbox]),select,textarea){background:#10172f;color:#f0effb}
@keyframes tradition-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes tradition-aurora{from{transform:translateX(-8px) skewX(-4deg);opacity:.55}to{transform:translateX(13px) skewX(3deg);opacity:.85}}
@media(max-width:850px){.method-page-header[data-cultural-header] .tradition-copy{padding:34px 14px 36px 32px}.method-page-header[data-cultural-header] h1{font-size:32px}.method-page-header[data-cultural-header],.tradition-art{min-height:300px}}
@media(max-width:650px){.method-page-header[data-cultural-header]{grid-template-columns:1fr;min-height:0}.method-page-header[data-cultural-header] .tradition-copy{padding:32px 30px 0}.method-page-header[data-cultural-header] h1{font-size:30px}.method-page-header[data-cultural-header] p{font-size:13px}.tradition-art{height:235px;min-height:235px}.method-page-header[data-cultural-header]:after{inset:11px}:root[data-culture]:not([data-culture=""]) .focus-window .field :is(input:not([type=checkbox]),select,textarea){font-size:16px}}
@media(prefers-reduced-motion:reduce){.tradition-art *{animation:none!important;transition:none!important}}
@media print{.method-page-header[data-cultural-header]{min-height:0;display:block;padding:0;background:white!important;color:#111;box-shadow:none;border:0}.method-page-header[data-cultural-header] :is(.tradition-art,canvas){display:none}.method-page-header[data-cultural-header]:before,.method-page-header[data-cultural-header]:after{display:none}.method-page-header[data-cultural-header] .tradition-copy{padding:0}.method-page-header[data-cultural-header] :is(h1,p,.method-page-label){color:#111}:root[data-culture]:not([data-culture=""]) .unified-workspace .focus-window{box-shadow:none}}
