/* V7: a photographic album, with one material and a clear current cover. */
:root{--album-surface:#1c1e19;--album-edge:#514b3e;--album-radius:18px;--album-shadow:0 20px 44px #0005}
svg{stroke-linecap:round;stroke-linejoin:round}
.home.booksReady .bookCategories{gap:8px;padding:8px;background:#191b17;border:1px solid #393c32;border-radius:22px;margin-bottom:28px}
.home .bookCategories button{min-height:132px;padding:16px 20px;gap:20px;border:1px solid transparent;border-radius:15px;transition:background .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease)}
.home .bookCategories img{width:76px;height:100px;border:0;border-radius:9px;box-shadow:0 8px 16px #0005;filter:none}
.home .bookCategories strong{display:flex;align-items:center;gap:10px;font-size:clamp(19px,1.65vw,25px)}
.categoryIcon{width:22px;height:22px;flex:none;color:#c8b49c;stroke-width:1.6}
.home .bookCategories small{display:block;margin-top:8px;font-size:13px;color:#cbbda9}
.home .bookCategories button[aria-pressed=true]{background:#30291f;border-color:#856b50;box-shadow:inset 0 1px 0 #ffd1a612,0 6px 16px #0002}
.home .bookCategories button[aria-pressed=true] img{border:0}
.home .bookCategories button[aria-pressed=true] .categoryIcon{color:#ffb581}
.home .bookCategories button:hover{background:#28271f;border-color:#756451}
.home.booksReady .categoryStack{background:var(--album-surface);border:1px solid var(--album-edge);padding:32px;border-radius:24px;gap:48px;box-shadow:var(--album-shadow);grid-template-columns:minmax(0,680px) minmax(0,1fr)}
.home .deckReady .stackPage{border-radius:var(--album-radius);overflow:hidden;border:1px solid #7b6a54;box-shadow:0 16px 30px #0007,inset 0 1px 0 #ffe5cb16;background:#26271f;transition:filter .22s,border-color .22s,box-shadow .3s var(--ease)}
.home .deckReady .stackPage:after{display:none}
.home .deckReady .stackPage[data-depth="1"],.home .deckReady .stackPage[data-depth="2"]{border-radius:12px;filter:none;border-color:#4f4c3d;box-shadow:0 8px 18px #0004}
.home .deckReady .stackPage img{background:#1a1c17}
.home .deckReady .stackPage .pageLabel{background:#26271f;color:#e8dbc7;padding:10px 12px;font-size:12px}
.home .deckReady .stackPlay{background:#282a22;color:#f3e5d3;padding:8px 16px;min-height:56px;border-top:1px solid #ffffff0c;font-size:14px}
.home .deckReady .stackPlay svg{width:36px;height:36px;padding:11px;border-radius:50%;background:#ffd1a6;color:#231b14;flex:none;box-shadow:0 3px 8px #0003}
.home .deckReady .stackPage.isFront{border-color:#9d8262}
.home .deckReady .stackPage:hover,.home .deckReady .stackPage:focus-visible{border-color:#ffc397;box-shadow:0 20px 38px #0008}
.home .deckReady .stackPage:hover .stackPlay,.home .deckReady .stackPage:focus-visible .stackPlay{background:#3b3024;color:#fff0db}
.home .deckReady .stackPage:hover .stackPlay svg{transform:scale(1.08)}
.home .deckReady .workDuration{border-radius:20px;padding:4px 10px;background:#131610e8;color:#f5e5cf;font-size:12px;box-shadow:0 2px 6px #0003}
.home.booksReady .bookMeta{padding:8px 0;max-width:460px}
.home.booksReady .stackHeading{gap:16px;align-items:center;flex-wrap:wrap}
.home.booksReady .stackCount{padding:5px 10px;background:#303126;border:1px solid #4b4c3e;border-radius:30px;color:#e3c4a1;font-size:12px;white-space:nowrap}
.home.booksReady .currentWorkLabel{font-size:13px;color:#b9ad99;margin-top:32px;margin-bottom:10px}
.home.booksReady .deckTitle{font-size:clamp(24px,2.1vw,32px);line-height:1.45;color:#fff0db;text-wrap:balance}
.home .deckControls{gap:18px;margin-top:30px}
.home .deckControls button{width:48px;height:48px;border-radius:50%;background:#303126;border:1px solid #67634c;color:#f7d6b4;box-shadow:0 4px 10px #0003;transition:background .2s,transform .25s var(--ease),border-color .2s}
.home .deckControls button:hover{background:#ffd1a6;color:#251d15;border-color:#ffd1a6;transform:translateY(-2px)}
.home .deckControls button svg{width:20px;height:20px;stroke-width:1.7}
.home .deckPosition{font-size:14px;font-variant-numeric:tabular-nums;color:#e5d0b4}
.home .deckList{margin-top:24px;border-top:1px solid #4b4c3d;padding-top:8px}
.home .deckList summary{min-height:44px;display:flex;align-items:center;gap:12px;list-style:none;font-size:14px;color:#ddc8ad}
.home .deckList summary::-webkit-details-marker{display:none}
.home .deckList summary:before{content:'';width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.home .deckList[open] summary:before{transform:rotate(135deg)}
.home .deckTabs button{border-radius:8px}
.home .allWorksLink{margin-top:12px;padding-top:18px;border-color:#4b4c3d;min-height:48px}
.home .stackInstruction{color:#b9ad99;max-width:68ch;font-size:13px}
.button,.resumeDownload{border-radius:10px}
.home #release.projectTeaser{gap:64px}
.home .projectCopy p{max-width:62ch}
.home .projectCopy p strong{color:#ffe1c5;font-weight:500}
.home .projectCopy p.projectContext{font-size:16px;color:#e3cfb5;line-height:1.9}
.home .projectFilm .casePoster,.workCover{border-radius:14px;box-shadow:0 14px 28px #0005}
.playBadge{background:#ffe3c9;color:#261c14;border:1px solid #fff3df66}
.home #tour .previewButton{border-radius:30px}
.home .aboutLayout{gap:clamp(48px,7vw,96px)}
.portraitPrint{margin:0;width:100%;max-width:380px;padding:12px 12px 0;background:#252720;border:1px solid #4c4e3e;border-radius:24px;box-shadow:0 24px 48px #0006,0 4px 12px #0003;justify-self:end}
.home .portraitPrint .aboutPortrait,.reading .portraitPrint img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;filter:none;transform:none;border:0;border-radius:15px;background:#deddd4}
.portraitPrint figcaption{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 8px 20px;color:#e8d8c0;font-size:14px;line-height:1.5}
.portraitPrint figcaption span{font-size:11px;letter-spacing:.08em;color:#bdaf97}
.reading .profileIntro .portraitPrint{max-width:280px;padding:10px 10px 0;border-radius:20px}
.reading .profileIntro .portraitPrint figcaption{padding:12px 4px 14px;font-size:12px}
.reading .profileIntro .portraitPrint figcaption span{font-size:10px}
.reading .caseEvidence{border-radius:16px;background:#26271f;border-color:#57503e}
.reading .readingSplit.resultLead{display:block;padding:36px 0 48px}
.reading .resultLead>h2{margin-bottom:18px;font-size:28px;color:#ffe1c5}
.reading .resultLead>.readingContent{max-width:none}
.evidenceGrid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:24px 0}
.evidenceGrid .readingFigure{margin:0;min-width:0}
.reading .evidenceGrid .readingFigure a{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 12px 24px #0004;border:1px solid #6d634f}
.reading .evidenceGrid img{width:100%;height:auto;border:0;display:block}
.reading .evidenceGrid figcaption{font-size:13px;line-height:1.8;margin-top:14px;color:#d8c8ae}
.reading .resultLead .sourceNote{font-size:13px;color:#c7b9a3;line-height:1.9;max-width:75ch}
.reading .readingVideo{border-radius:14px;box-shadow:0 12px 28px #0005}
@media(max-width:1100px){.home.booksReady .categoryStack{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);padding:24px;gap:32px}.home .bookCategories button{padding:12px;gap:12px}.home .bookCategories img{width:60px;height:84px}.home .bookCategories strong{font-size:19px;gap:8px}.home .bookCategories .categoryIcon{width:18px;height:18px}.home .bookCategories small{font-size:12px}}
@media(max-width:900px){.home.booksReady .categoryStack{grid-template-columns:1fr;gap:32px}.home.booksReady .bookMeta{max-width:none}.home .portraitPrint{max-width:340px}.evidenceGrid{grid-template-columns:1fr;gap:32px}}
@media(max-width:760px){.home.booksReady .bookCategories{gap:4px;padding:5px;border-radius:16px}.home .bookCategories button{padding:10px 8px;min-height:0;border-radius:11px;display:block}.home .bookCategories img{width:100%;height:104px;object-fit:contain;margin-bottom:12px;border-radius:7px}.home .bookCategories strong{display:block;font-size:16px;line-height:1.45}.home .bookCategories .categoryIcon{display:none}.home .bookCategories small{font-size:11px;min-height:40px;margin-top:5px}.home .bookCategories button[aria-pressed=true] small:after{min-height:0}.home.booksReady .categoryStack{padding:16px;border-radius:18px;gap:26px}.home .deckReady .stackPage{border-radius:12px}.home .deckReady .stackPage[data-depth="1"],.home .deckReady .stackPage[data-depth="2"]{border-radius:9px}.home .deckReady .stackPage .pageLabel{font-size:11px;min-height:54px;padding:7px}.home .deckReady .stackPlay{font-size:12px;min-height:54px;padding:8px 10px}.home .deckReady .stackPlay svg{width:30px;height:30px;padding:9px}.home .deckReady .workDuration{top:7px;right:7px;font-size:10px;padding:3px 7px}.home.booksReady .currentWorkLabel{margin-top:22px}.home.booksReady .deckTitle{font-size:24px}.home .deckControls{margin-top:22px}.home .stackInstruction{margin-top:20px}.home #release.projectTeaser{gap:32px}.home .projectCopy p.projectContext{font-size:15px}.portraitPrint{justify-self:center;max-width:320px;border-radius:20px;padding:10px 10px 0}.home .portraitPrint .aboutPortrait{width:100%;border-radius:12px}.portraitPrint figcaption{padding:15px 7px 17px;font-size:13px}.reading .profileIntro .portraitPrint{justify-self:center;max-width:260px}.reading .readingSplit.resultLead{padding-top:26px}.reading .resultLead>h2{font-size:24px}.evidenceGrid{gap:28px}}
@media(max-width:380px){.home .bookCategories button{padding:8px 5px}.home .bookCategories strong{font-size:14px}.home .bookCategories img{height:90px}.home.booksReady .categoryStack{padding:12px}.home .deckReady .stackPage .pageLabel{font-size:10px;padding:6px}.home .deckReady .stackPlay{font-size:11px;padding:7px}.home .deckReady .stackPlay svg{width:26px;height:26px;padding:8px}.home .deckReady .workDuration{font-size:9px;right:5px;top:5px}.portraitPrint figcaption{gap:10px}}
@media(prefers-reduced-motion:reduce){.home .bookCategories button,.home .deckControls button,.home .deckList summary:before{transition:none}.home .deckControls button:hover{transform:none}}
body[data-motion-paused="true"] .deckControls button,body[data-motion-paused="true"] .bookCategories button{transition:none}

/* AI 实践案例（LaBaobao 演示）：面板几何由 cinema.css #aitool 规则负责，此处只管网格与卡片纵横比 */
#aitool.projectTeaser{display:grid;align-items:center}
#aitool .projectFilm{max-width:400px}
#aitool .casePoster img{aspect-ratio:16/9}
@media(max-width:1000px){#aitool .projectFilm{max-width:320px}}
@media(max-width:760px){#aitool .projectFilm{max-width:480px;width:100%;justify-self:center}}
