/* Taste-skill-inspired system: supplied artwork first, equal edges, one action style, clear type and reduced motion. */
:root{--bg:#f8f3e9;--ink:#33251f;--muted:#75665e;--accent:#b54f2d;--wash:#eee1cf;--line:#d9cbb9;--action:var(--accent);--paper:#fffdf8;--body:"PingFang SC","Microsoft YaHei",sans-serif;--display:"Songti SC","Noto Serif CJK SC","SimSun",serif}
[data-theme=deepseek]{--bg:#f4f7fc;--ink:#1a2b50;--muted:#5c6b87;--accent:#2e4f9b;--wash:#e5ecf8;--line:#c8d4e8;--paper:#fff}
[data-theme=gpt]{--bg:#faf6f2;--ink:#342c3c;--muted:#75697c;--accent:#766388;--wash:#eee5ef;--line:#d9cfdc;--paper:#fff}
[data-theme=gemini]{--bg:#f7f4fc;--ink:#342d56;--muted:#6a6080;--accent:#7050ac;--wash:#eae2f7;--line:#d5c9e9;--paper:#fff}
[data-theme=grok]{--bg:#211b1a;--ink:#f6e4c5;--muted:#c7b598;--accent:#efb665;--wash:#372b27;--line:#594337;--paper:#faf5ec}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}html,body{overflow-x:clip}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}h1,h2,p,figure,dl,dd{margin:0}h1,h2{font-family:var(--display);font-weight:400;text-wrap:balance}h1{font-size:clamp(45px,4.6vw,70px);line-height:1.35;letter-spacing:-.05em}h1 span{color:var(--accent)}.skip{position:absolute;left:16px;top:12px;transform:translateY(-200%);z-index:20;background:var(--bg);padding:8px 16px}.skip:focus{transform:none}header{border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;background:var(--bg)}.nav-shell{max-width:1440px;margin:auto;padding:0 56px;height:88px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:17px;font-weight:500}.brand-mark{font-size:28px;color:var(--accent);line-height:1}nav{display:flex;gap:28px;align-items:center}nav a{display:flex;gap:6px;font-size:14px;align-items:baseline;padding:12px 0;position:relative}nav a>span{font:11px Georgia,serif;color:var(--muted)}nav a:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform 160ms ease}nav a:hover:after,nav a[aria-current=page]:after{transform:scaleX(1)}nav a[aria-current=page]{color:var(--accent)}.preview{font-size:12px;color:var(--muted);border:1px solid var(--line);padding:4px 12px;border-radius:20px;white-space:nowrap}main,footer{max-width:1440px;margin:auto;padding:0 56px}.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;min-height:calc(100svh - 88px);padding:36px 0 40px;align-items:center}.copy{padding:12px 0;position:relative;z-index:1}.chapter{display:flex;gap:24px;font-size:13px;color:var(--muted);margin-bottom:36px}.chapter span:first-child{font-family:Georgia,serif;font-size:15px}.intro{font-size:18px;color:var(--muted);margin-top:28px;line-height:1.9}.actions{display:flex;gap:28px;align-items:center;margin-top:36px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;min-height:48px;background:var(--accent);color:var(--bg);border:1px solid var(--accent);border-radius:3px;font-size:14px}.text-link{font-size:14px;border-bottom:1px solid var(--line);padding:8px 0}.text-link:hover{border-color:var(--accent)}.draft{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-top:44px}.small-rule{width:24px;height:1px;background:var(--accent)}.visual{position:relative;background:var(--wash);min-width:0;border-radius:180px 180px 8px 8px;isolation:isolate;padding:16px 20px 0;height:min(680px,calc(100svh - 160px));min-height:510px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.art-name{position:absolute;top:48px;left:0;right:0;text-align:center;font:clamp(50px,6vw,88px)/1 Georgia,serif;color:var(--accent);opacity:.16;z-index:-1;letter-spacing:-5px}.visual figure{display:flex;align-items:flex-end;justify-content:center;min-height:0;height:100%;padding-top:12px}.visual img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center bottom;mix-blend-mode:multiply}.art-foot{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:12px 0 14px;position:relative}.art-foot>span:first-child{font-family:Georgia,serif;font-size:16px}.visual:before{content:'';position:absolute;inset:20px;border:1px solid var(--line);border-radius:170px 170px 0 0;z-index:-1}.visual:after{content:'';position:absolute;width:100px;height:100px;border:1px solid var(--line);border-radius:50%;right:-36px;top:30%;z-index:-1}
[data-theme=claude] .visual img{mix-blend-mode:normal}[data-theme=claude] .visual{background:#edddc7}[data-theme=deepseek] .visual{border-radius:8px 180px 8px 8px}[data-theme=deepseek] .visual:before{border-radius:0 170px 0 0}[data-theme=gpt] .visual{border-radius:180px 180px 80px 8px}[data-theme=gemini] .visual{border-radius:160px 12px 160px 12px}[data-theme=gemini] .visual:before{border-radius:150px 0 150px 0}[data-theme=grok] .visual{background:var(--paper);border-radius:8px 8px 180px 180px}[data-theme=grok] .visual:before{border-color:#dbc7a8;border-radius:0 0 170px 170px}[data-theme=grok] .art-foot{color:#65523e}[data-theme=grok] .art-name{color:#9b6e2a}
.details-section{border-top:1px solid var(--line);padding:72px 0 80px;display:grid;grid-template-columns:1fr 1fr;gap:72px}.section-caption>span{font-size:13px;color:var(--muted)}h2{font-size:32px;line-height:1.5;margin-top:16px}.section-caption p{font-size:13px;color:var(--muted);margin-top:24px;max-width:340px}.detail{border-bottom:1px solid var(--line);padding:20px 0}.detail:first-child{padding-top:0}.detail dt{font-size:13px;color:var(--muted);margin-bottom:10px}.detail dd{font-size:17px;overflow-wrap:anywhere}.page-links{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:32px 0;gap:24px}.page-links a{font-size:18px}.page-links a:last-child{text-align:right}.page-links a span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.page-links a:hover{color:var(--accent)}.footnote{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:20px 0;border-top:1px solid var(--line);gap:24px}
@media(min-width:1600px){.stage{min-height:800px}.visual{height:700px}}
@media(max-width:1050px){.nav-shell{padding:0 32px;gap:20px}main,footer{padding:0 32px}nav{gap:18px}.preview{display:none}.stage{gap:28px}.visual{min-height:470px}.chapter{margin-bottom:24px}h1{font-size:48px}.intro{font-size:16px}.actions{gap:20px}.draft{font-size:10px}.details-section{gap:40px}}
@media(max-width:700px){html{scroll-padding-top:140px}.nav-shell{height:auto;min-height:108px;display:flex;flex-wrap:wrap;gap:0;padding:16px 24px 8px}.brand{font-size:15px;width:100%;margin-bottom:12px}.brand-mark{font-size:22px}nav{width:100%;justify-content:space-between;gap:8px}nav a{font-size:12px;gap:4px;padding:6px 0}nav a>span{font-size:10px}main,footer{padding:0 24px}.stage{grid-template-columns:1fr;gap:28px;padding:32px 0 40px;min-height:0}.copy{padding:0}.chapter{margin-bottom:20px;font-size:12px}h1{font-size:42px;line-height:1.35}.intro{margin-top:20px;font-size:15px;line-height:1.85}.actions{margin-top:24px;gap:24px}.btn{padding:12px 24px;min-height:46px;font-size:13px}.text-link{font-size:12px}.draft{margin-top:24px;font-size:10px}.visual{height:500px;min-height:0;padding:16px 16px 0;border-radius:150px 150px 8px 8px}.art-name{font-size:64px;top:32px}.visual:before{inset:16px;border-radius:140px 140px 0 0}.art-foot{font-size:10px}.details-section{grid-template-columns:1fr;gap:32px;padding:40px 0}.section-caption h2{font-size:28px}.section-caption p{margin-top:16px}.detail dd{font-size:15px}.page-links{padding:24px 0}.page-links a{font-size:15px}.footnote{flex-direction:column;gap:8px;padding-bottom:24px}[data-theme=grok] .visual{border-radius:8px 8px 140px 140px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}.btn{transform:none!important}}
[data-theme=grok] .art-foot,[data-theme=gemini] .art-foot,[data-theme=gpt] .art-foot{justify-content:center;gap:18px}
