/* SUNYL — Purple Universe. Parent integration; provider limitations recorded in DELIVERY.md. */
@font-face{font-family:'Sunyl Allura';src:url('assets/fonts/Allura-Sunyl.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--night:#100a24;--ink:#241638;--gold:#d4b5ff;--paper:#f7f3ff;--green:#67409a;--gray:#bfb2d6;--brass:#a38abe;--line:rgba(204,178,255,.22);--drawer:#18112c;--control:#2a203f;--scroll-thumb:#9074b6;--scroll-track:#18112c;--gutter:clamp(24px,5vw,88px);--body:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif}
.site-header{padding:28px var(--gutter)}.wordmark{min-height:44px;min-width:44px;display:flex;align-items:center}.wordmark img{width:44px;height:44px;object-fit:contain}.header-link{padding:8px 16px;min-height:44px;display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;font:12px var(--body);background:#ffffff08}
.hero{height:100svh;min-height:680px;max-height:none;background:radial-gradient(ellipse at 75% 48%,#422775 0%,#211238 32%,var(--night) 70%);isolation:isolate}
.hero::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#100a24ad 0%,#100a2480 33%,transparent 63%)}
.stage-light{z-index:0;background:radial-gradient(ellipse at 78% 40%,#a462ec33,transparent 48%);mix-blend-mode:screen}
.stage-orbit{z-index:0;right:7%;top:15%;width:min(49vw,720px);height:min(49vw,720px);border-color:#c69cff16;transform:rotate(-20deg)}.stage-orbit::after{border-color:#c69cff0a}
.prismatic-burst-host{position:absolute;z-index:0;inset:0 0 0 32%;opacity:.6;pointer-events:none;mask-image:radial-gradient(ellipse at 65% 48%,#000 12%,#000b 46%,transparent 73%)}
.energy-ring{position:absolute;z-index:0;right:9%;top:23%;width:min(42vw,620px);aspect-ratio:1;border:1px solid #c594ff50;border-radius:50%;box-shadow:0 0 42px #a268fc30,inset 0 0 42px #a268fc18;pointer-events:none;opacity:0}
#click-sparks{position:absolute;inset:0;z-index:8;pointer-events:none}
.hero-heading{left:var(--gutter);top:27%;width:42%;z-index:4}.hero-heading .eyebrow{color:#d5c5e8;font:15px/1.6 var(--body);letter-spacing:.035em;margin-bottom:18px}
.hero h1{font:720 clamp(64px,8.4vw,132px)/1.08 var(--body);letter-spacing:-.065em;color:var(--paper);padding:0 0 .1em;max-width:100%;overflow:visible}.hero-title-effects{overflow:visible}.hero-blur-text{letter-spacing:inherit}.hero-intro{font:400 clamp(15px,1.4vw,21px)/1.7 var(--body);letter-spacing:.01em;margin:18px 0 0;color:#cec0df}
.hero-model{z-index:3;right:2%;top:14%;width:52%;height:72%;margin:0;pointer-events:none}.model-label{font:11px var(--body);letter-spacing:.04em;bottom:4%;right:14%;color:#c8b8dd}.model-shadow{background:radial-gradient(ellipse,#17072b8c,transparent 68%);bottom:6%;height:9%}
.cabinet-handles{left:var(--gutter);right:auto;bottom:17%;width:min(440px,41vw);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;overflow:visible}
.cabinet-handles a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:7px 8px 7px 22px;border:1px solid #d6b4ff3b!important;border-radius:999px;background:linear-gradient(135deg,#ffffff11,#ffffff04);box-shadow:inset 0 1px 0 #ffffff1f,0 8px 30px #15082733;backdrop-filter:blur(16px);overflow:visible;transition:background .25s,transform .3s,box-shadow .3s}
.cabinet-handles a::before{display:none}.handle-label{font:500 15px/1.4 var(--body)}.handle-arrow{position:static;flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#c0a7ff19;box-shadow:inset 0 1px 1px #ffffff26;font:22px/1 var(--body);transition:transform .3s,background .3s}
.cabinet-handles a[data-drawer='things']{background:linear-gradient(120deg,#b08bf2,#c3a7fc);color:#241339;box-shadow:0 8px 32px #a36bfa2b,inset 0 1px 0 #fff8}.cabinet-handles a[data-drawer='things'] .handle-arrow{background:#eee4ff5e;color:#26143e}
.cabinet-handles a:hover,.cabinet-handles a:focus-visible{background:#8f6abe30;color:var(--paper);transform:translateY(-3px);box-shadow:0 12px 36px #964de32a}.cabinet-handles a[data-drawer='things']:hover{background:#ceb5ff;color:#241339}.cabinet-handles a:hover .handle-arrow{transform:rotate(45deg);background:#d7bbff38}.cabinet-handles a:focus-visible{outline-offset:5px}
.hero-foot{bottom:28px;align-items:center;font:12px/1.5 var(--body);color:#bdaed0}.energy-replay{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 16px;background:#ffffff08;border:1px solid var(--line);border-radius:999px;font-size:12px}.energy-replay:hover{background:#ffffff14}.energy-replay span{font-size:18px}
.content-drawer{background:linear-gradient(145deg,#241837,var(--drawer) 60%);border-color:#bda0e638;--scrim:rgba(13,6,30,.55)}.drawer-edge{background:linear-gradient(180deg,transparent,#cfa9ff55,transparent);width:1px}.drawer-header h2,.section-heading h2,.about-copy h2,.scene-heading h2,.work-summary-row h3,.contact h2{font-family:var(--body);font-weight:550;letter-spacing:-.035em}
.drawer-close,.dialog-close,.photo-enlarge{border-radius:999px}.drawer-close{background:#ffffff0a}.drawer-links a{border-radius:999px}.drawer-links a[aria-current]{border:0;background:#d4b5ff;color:#241638}.drawer-navigation{min-height:78px}.jelly-radio__chip{border-radius:999px!important}
.about{background:#f2edfb}.about em{color:#6b3a96}.portrait img,.car-photo .photo-open,.work-visual,.story-visual{border-radius:22px;overflow:hidden}.life-scene{border-color:#5e3b842b}.scene-heading .eyebrow{color:#695979}.portrait figcaption{font-family:var(--body)}.about-signature{color:#684992}
.photo-strip{gap:20px;align-items:start}.photo-strip figure,.photo-strip figure:nth-child(2),.photo-strip figure:nth-child(3){padding:0;transform:none;box-shadow:none;background:transparent;color:var(--paper);margin-top:0}.photo-strip figure:nth-child(2){margin-top:24px}.photo-open>img,.tilted-image-host .tilted-card-img{border-radius:18px}.photo-strip figcaption{font:12px var(--body);padding:15px 2px}.work-visual.logo-preview{background:#f2edfb}.work-visual.pet-preview{background:#302045}.story-visual{background:#35204e;color:#e0c5ff}.footer-signature{color:#b48adb}.photo-dialog{border-radius:24px}
@media(min-width:1500px){.hero-heading{top:27%}.hero-model{right:5%;width:51%}.stage-orbit{right:9%}}
@media(min-width:761px) and (max-width:1100px){.hero-heading{top:26%;width:42%}.hero h1{font-size:8.3vw}.hero-intro{font-size:15px}.hero-model{right:0;width:52%;height:70%;top:15%}.cabinet-handles{width:41vw;bottom:16%}.cabinet-handles a{padding-left:16px;min-height:56px}.handle-label{font-size:14px}.handle-arrow{width:32px;height:32px;font-size:20px}}
@media(min-width:761px) and (max-height:680px){.hero{height:680px;min-height:680px}.hero-heading{top:24%}.hero-model{height:470px;top:95px}.cabinet-handles{bottom:15%}}
@media(max-width:760px){:root{--gutter:24px}.site-header{padding:20px var(--gutter)}.hero{height:auto;min-height:100svh;max-height:none;padding:94px var(--gutter) 20px;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 43%,#422775 0%,#211238 39%,var(--night) 80%)}.hero::after{background:linear-gradient(180deg,#100a2450,transparent 40%,#100a2460)}.hero-heading{position:relative;top:auto;left:auto;width:100%;margin:8px 0 0;text-align:center}.hero-heading .eyebrow{font-size:13px;margin-bottom:9px}.hero h1{font-size:clamp(62px,18vw,100px);line-height:1.08;letter-spacing:-.055em;overflow:visible}.hero-blur-text{justify-content:center}.hero-intro{font-size:14px;margin:10px 0 0;line-height:1.6}.hero-model{position:relative;top:auto;right:auto;width:calc(100% + 24px);height:clamp(270px,42svh,400px);margin:8px 0 14px}.model-label{bottom:3%;right:9%;font-size:10px}.stage-orbit{top:200px;right:5%;width:90vw;height:90vw}.energy-ring{top:29%;left:8%;right:auto;width:84vw}.prismatic-burst-host{inset:0;opacity:.5}.cabinet-handles{position:relative;left:auto;right:auto;bottom:auto;width:100%;max-width:430px;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;z-index:5}.cabinet-handles a{min-height:54px;padding:6px 7px 6px 16px;border-bottom:1px solid #d6b4ff3b}.handle-label{font-size:14px}.handle-arrow{width:34px;height:34px;font-size:20px}.hero-foot{position:relative;left:auto;right:auto;bottom:auto;display:flex;flex-wrap:wrap;justify-content:center;width:100%;gap:12px;margin-top:auto;padding-top:22px;font-size:10px;text-align:center}.energy-replay{min-height:44px;font-size:11px;padding:6px 12px}.content-drawer{border-top-color:#bda0e638}.photo-strip figure:nth-child(2){margin-top:0}.portrait{width:75%}.drawer-navigation{padding:8px 10px}.drawer-links a{padding:12px 14px}.about-copy h2{font-size:36px}.contact h2{font-size:90px}.photo-dialog{padding:18px;border-radius:20px}}
@media(max-width:360px){:root{--gutter:18px}.hero{min-height:100svh;padding-top:90px}.hero h1{font-size:18vw}.hero-intro{font-size:13px}.hero-model{height:280px}.cabinet-handles a{padding-left:12px}.handle-label{font-size:13px}.drawer-links a{padding:12px 10px}.contact h2{font-size:78px}}
@media(prefers-reduced-motion:reduce){.cabinet-handles a:hover,.cabinet-handles a:focus-visible,.cabinet-handles a:hover .handle-arrow{transform:none}.energy-ring{opacity:.25}.energy-replay{display:none!important}}
[data-motion='off'] .cabinet-handles a:hover,[data-motion='off'] .cabinet-handles a:focus-visible,[data-motion='off'] .cabinet-handles a:hover .handle-arrow{transform:none}
@media(forced-colors:active){.hero,.about,.content-drawer{background:Canvas;color:CanvasText}.hero::after,.energy-ring,.prismatic-burst-host,.stage-orbit,.stage-light,#click-sparks{display:none}.hero h1,.hero-intro,.hero-heading .eyebrow,.hero-foot,.model-label{color:CanvasText}.cabinet-handles a,.cabinet-handles a[data-drawer='things'],.handle-arrow,.energy-replay{background:ButtonFace;color:ButtonText;border:1px solid ButtonText!important}.drawer-links a[aria-current]{background:Highlight;color:HighlightText}}

/* Works has one directory or one independent detail view, with native fallback. */
.works .section-heading h2{font-size:clamp(34px,4vw,52px);margin:12px 0 16px}.works .section-heading{margin-bottom:24px}
.work-summary-row{position:relative;grid-template-columns:112px minmax(0,1fr) 36px;gap:24px;padding:24px 8px;min-height:112px}.work-summary-row h3{min-width:0;font-size:clamp(21px,2.7vw,32px)}.work-name{display:block}.work-type{display:block;font:400 12px/1.7 var(--body);letter-spacing:0;color:var(--gray);margin-top:5px}.work-thumb{width:112px;height:68px;object-fit:cover;border-radius:12px;background:var(--control)}.work-thumb.contain{object-fit:contain;padding:7px;background:#f2edfb}.work-arrow{justify-self:end}
.work-back{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 16px;margin-bottom:28px;border-radius:999px;border:1px solid var(--line);background:#ffffff08;font-size:13px}.work-back:hover{background:#ffffff14}
.works[data-view='detail'] .work{border:0}.works[data-view='detail'] .work-summary-row{display:none}.works[data-view='detail'] #flowing-works{display:none}.works[data-view='list'].has-flowing .work{display:none}
.work-detail-title{font:550 clamp(32px,4vw,52px)/1.35 var(--body);letter-spacing:-.035em;margin:8px 0 28px}.work-detail-title:focus{outline:none}.work-detail-body>.mono{margin-bottom:8px}.work-detail-body>p:not(.mono){max-width:unset}.work-detail-body{padding-bottom:16px}
#flowing-works{height:468px;margin:0}#flowing-works .menu__item{border-color:var(--line)}#flowing-works .menu__item-link{display:grid;grid-template-columns:112px minmax(0,1fr) 36px;gap:24px;padding:18px 8px;min-height:112px;text-transform:none;text-align:left;white-space:normal;outline-offset:-3px;font-family:var(--body)}#flowing-works .menu__item-thumb{width:112px;height:68px;object-fit:cover;border-radius:12px;background:var(--control)}#flowing-works .menu__item-thumb.contain{object-fit:contain;padding:7px;background:#f2edfb}#flowing-works .menu__item-copy{min-width:0}#flowing-works .menu__item-name{display:block;font:550 clamp(21px,2.7vw,32px)/1.4 var(--body);letter-spacing:-.035em}#flowing-works .menu__item-description{display:block;font:400 12px/1.7 var(--body);color:var(--gray);margin-top:5px}#flowing-works .menu__item-arrow{font:28px/1 var(--body);justify-self:end}#flowing-works .marquee span{font-family:var(--body);text-transform:none}
@media(max-width:760px){.works .section-heading h2{font-size:36px}.work-summary-row,#flowing-works .menu__item-link{grid-template-columns:78px minmax(0,1fr) 22px;gap:14px;padding:18px 2px;min-height:100px}.work-thumb,#flowing-works .menu__item-thumb{width:78px;height:56px;border-radius:10px}.work-summary-row h3,#flowing-works .menu__item-name{font-size:22px}.work-type,#flowing-works .menu__item-description{font-size:11px}.work-detail-title{font-size:36px}#flowing-works{height:420px}.work-back{margin-bottom:22px}}
@media(max-width:360px){.work-summary-row,#flowing-works .menu__item-link{grid-template-columns:64px minmax(0,1fr) 18px;gap:10px}.work-thumb,#flowing-works .menu__item-thumb{width:64px;height:50px}.work-summary-row h3,#flowing-works .menu__item-name{font-size:20px}.work-detail-title{font-size:32px}.work-type,#flowing-works .menu__item-description{font-size:10px}}
@media(forced-colors:active){.work-back{background:ButtonFace;color:ButtonText;border-color:ButtonText}.work-type,#flowing-works .menu__item-description{color:CanvasText}}

/* One connected signature: the whole word is shaped before its BlurText reveal. */
.hero #hero-title{font:400 clamp(92px,11.2vw,174px)/1.08 'Sunyl Allura','Segoe Script',cursive;letter-spacing:0;padding:.08em .12em .08em 0;min-height:1.25em;text-shadow:0 4px 34px #c69cff12}
.hero-title-effects .hero-blur-text{letter-spacing:0;white-space:nowrap}
@media(max-width:760px){.hero #hero-title{font-size:clamp(88px,26vw,132px);min-height:1.22em}.wordmark img{width:40px;height:40px}}
@media(min-width:761px) and (max-height:820px){.hero-heading{top:24%}.hero #hero-title{font-size:clamp(84px,9vw,132px);min-height:1.18em}}

/* Directory height follows content; avoid the old full-row marquee geometry. */
#flowing-works{height:auto;margin:0;background:transparent}
.works .section-heading h2{font-size:clamp(28px,3vw,36px);font-weight:450;margin:8px 0 12px}
.works .section-heading{margin-bottom:26px}
.drawer-navigation .jelly-radio__skin{border-radius:999px}

/* Visual & motion polish (2026-10-08): no copy changes. */
/* Drawer scrollbar blends with its field: thin thumb, no dark trough. About keeps its lavender to the edge. */
.content-drawer .drawer-body{scrollbar-width:thin;scrollbar-color:#9a7fc480 transparent}
.content-drawer .drawer-body::-webkit-scrollbar-track{background:transparent}
.content-drawer .drawer-body::-webkit-scrollbar-thumb{background:#9a7fc480;border-color:transparent;background-clip:padding-box}
.content-drawer[data-section='about'] .drawer-body{background:#f2edfb;scrollbar-color:#8f74b866 transparent}
/* Quiet violet energy that stays behind the cat after the entrance burst. */
.hero-model::before{content:'';position:absolute;z-index:-1;left:50%;top:50%;width:92%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;background:radial-gradient(circle,#b98aff4d 0%,#9d63f42e 30%,#7d45e014 50%,transparent 68%);animation:paopao-aura 7s ease-in-out infinite alternate}
@keyframes paopao-aura{from{opacity:.75;transform:translate(-50%,-50%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1.03)}}
.prismatic-burst-host{opacity:.72}
/* Opening a drawer: the home recedes in place as a softly rounded, dimmed card instead of sliding left. */
.content-drawer{--scrim:rgba(13,6,30,.4)}.hero{transition:border-radius .6s cubic-bezier(.22,1,.36,1)}.drawer-open .hero{border-radius:24px}.drawer-open.drawer-closing .hero{border-radius:0}
/* Secondary hero tools stay readable but recede behind the four entrances. */
.hero-tools .energy-replay,.hero-tools .ambient-toggle{min-height:44px;padding:6px 13px;gap:8px;background:transparent;border:1px solid #cdb2ff1f;color:#a99cc0;font-size:11px;transition:background .2s,color .2s,border-color .2s}
.hero-tools .energy-replay span{font-size:14px}
.hero-tools .energy-replay:hover,.hero-tools .ambient-toggle:hover{background:#ffffff0d;border-color:var(--line);color:var(--paper)}
/* Photo strip: equal frames so tops and captions share one line; the viewer still opens the full photo. */
@media(min-width:761px){.photo-strip figure:nth-child(2){margin-top:0}.photo-strip .photo-open>img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover}.photo-strip .tilted-image-host{aspect-ratio:4/3!important}.photo-strip .tilted-card-img{object-fit:cover}.photo-strip img[src*='paopao-looking'],.photo-strip .tilted-card-img[src*='paopao-looking']{object-position:50% 72%}}
/* Works directory: one thumbnail language for logos, cut-outs and stills. */
#flowing-works .work-entry__media,#things .work-thumb{box-shadow:inset 0 0 0 1px #cdb2ff2e}
#flowing-works .work-entry__media img{width:100%;height:100%;object-fit:cover}
#flowing-works .work-entry__media.is-contained,#things .work-thumb.contain{background:radial-gradient(ellipse at 50% 60%,#ffffff 0%,#efe7fb 58%,#dccbf3 100%)}
#flowing-works .work-entry__media.is-contained img[src*='paopao.png'],#things .work-thumb.contain[src*='paopao.png']{object-fit:cover;object-position:50% 38%;padding:0}
@media(max-width:760px){
  /* The hero fills one screen: the cat yields space so the footer tools stay fully visible. */
  .hero{min-height:100svh}.hero-model{flex:1 1 0;height:auto;min-height:clamp(220px,32svh,300px);max-height:400px}
  .hero-foot{padding-top:16px;gap:10px}
  .photo-strip{align-items:center}.photo-strip figure{width:100%}
  .portrait{justify-self:center}
}
@media(prefers-reduced-motion:reduce){.hero-model::before{animation:none}}
[data-motion='off'] .hero-model::before{animation:none}
@media(forced-colors:active){.hero-model::before{display:none}}
.hero[data-ambient='paused'] .hero-model::before{animation-play-state:paused}
/* Paopao tap reactions (2026-10-08): whole-body hop is JS-driven; these are the light accents. */
.hero.is-over-cat{cursor:pointer}
.paopao-ripple{position:absolute;z-index:0;left:22%;width:56%;aspect-ratio:3.2/1;border-radius:50%;background:radial-gradient(ellipse,#d9c2ff59 0,#b98aff2e 40%,#9b6ef00f 58%,transparent 70%);pointer-events:none;translate:0 -50%;animation:paopao-ripple 900ms cubic-bezier(.22,.8,.3,1) both}
.paopao-ripple.is-big{animation-duration:1100ms}
@keyframes paopao-ripple{from{transform:scale(.45);opacity:0}25%{opacity:1}to{transform:scale(1.25);opacity:0}}
.hero .prismatic-burst-host{transition:opacity .6s ease}
.hero.is-purr .prismatic-burst-host{opacity:.95;transition-duration:.15s}
.hero-model::before{transition:filter .5s ease}
.hero.is-purr .hero-model::before{filter:brightness(1.55) saturate(1.2);transition-duration:.12s}
.hero-model.is-petted::before{filter:brightness(1.6)}
.hero-model.is-petted .hero-model-poster,.hero-model.is-petted .hero-model-canvas{filter:drop-shadow(0 0 18px #c69cffb3)}
@media(prefers-reduced-motion:reduce){.paopao-ripple{display:none}.hero-model::before,.hero .prismatic-burst-host{transition:none}}
@media(forced-colors:active){.paopao-ripple{display:none}}
/* Drawer glass: a wider room on desktop with a frosted right side, so Paopao stays in view behind it. */
@media(min-width:761px){.content-drawer{--pane:min(1180px,max(min(960px,76vw),64vw));background:linear-gradient(90deg,rgba(36,24,55,.96) 0%,rgba(30,20,50,.9) 34%,rgba(26,18,46,.74) 66%,rgba(24,17,44,.6) 100%);-webkit-backdrop-filter:blur(20px) saturate(1.3);backdrop-filter:blur(20px) saturate(1.3)}.content-drawer::backdrop{background:linear-gradient(90deg,rgba(13,6,30,.4),rgba(13,6,30,.36) 30%,rgba(13,6,30,.12) 52%,rgba(13,6,30,.08))}.content-drawer #drawer-content,.content-drawer .about{background:transparent}.content-drawer[data-section='about'] .drawer-body{background:linear-gradient(90deg,rgba(242,237,251,.97),rgba(242,237,251,.93) 45%,rgba(242,237,251,.84))}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media(min-width:761px){.content-drawer{background:linear-gradient(145deg,#241837,var(--drawer) 60%)}.content-drawer #drawer-content{background:var(--drawer)}.content-drawer[data-section='about'] .drawer-body,.content-drawer .about{background:#f2edfb}}}
@media(forced-colors:active){.content-drawer{background:Canvas;-webkit-backdrop-filter:none;backdrop-filter:none}.content-drawer #drawer-content,.content-drawer[data-section='about'] .drawer-body,.content-drawer .about{background:Canvas}.content-drawer::backdrop{background:rgba(13,6,30,.4)}}
/* Drawer smoothness: same open look, fewer full-screen GPU passes. The room is dimmed by a plain overlay (identical to brightness(.72)) instead of a whole-page filter, only the visible left-side pieces keep the soft 2px blur, and the paused light field is held as a still picture while a dialog is open. */
.hero[data-still] .living-background>span{animation:none}.hero[data-still] .hero-model::before{animation:none;transform:var(--aura-still-transform,translate(-50%,-50%));opacity:var(--aura-still-opacity,1)}
@keyframes drawer-soften{from{filter:blur(0)}to{filter:blur(2px)}}@keyframes drawer-sharpen{from{filter:blur(2px)}to{filter:blur(0)}}
@media(min-width:761px){.home-stage::after{content:'';position:absolute;inset:0;z-index:90;pointer-events:none;background:#000;opacity:0;transition:opacity .6s cubic-bezier(.22,1,.36,1)}.drawer-open .home-stage{filter:none}.drawer-open .home-stage::after{opacity:.28}.drawer-open.drawer-closing .home-stage::after{opacity:0}.drawer-open :is(.site-header,.hero-heading,.cabinet-handles a,.hero-foot){filter:blur(2px);animation:drawer-soften .6s cubic-bezier(.22,1,.36,1)}.drawer-open.drawer-closing :is(.site-header,.hero-heading,.cabinet-handles a,.hero-foot){filter:none;animation:drawer-sharpen .6s cubic-bezier(.22,1,.36,1)}}
@media(forced-colors:active){.home-stage::after{forced-color-adjust:none}}
/* Slim drawer header: the title stands alone, centred against the close button. */
.drawer-header{padding-top:24px;padding-bottom:20px}.drawer-header h2{margin:0}
@media(max-width:760px){.drawer-header{padding:calc(14px + env(safe-area-inset-top)) var(--gutter) 14px}.drawer-bottom{display:none}.drawer-body{padding-bottom:env(safe-area-inset-bottom)}}
/* Two type families only: Allura for the big SunyL signature, the system Chinese sans for everything else.
   Former serif/mono/Song roles keep their hierarchy through size, weight and spacing. */
:root{--song:var(--body);--serif:var(--body);--mono:var(--body)}
.eyebrow,.mono{font-weight:500}.drawer-bottom,.handle-index{font-weight:500;letter-spacing:.06em}
.about-signature{font-style:normal;font-weight:300;letter-spacing:.01em}.footer-signature{font-weight:300;letter-spacing:-.03em}
/* About type: the headline sits at the weight Windows actually has (Microsoft YaHei has no 550, so it jumped to Bold and,
   with -.035em tracking, read heavy and cramped on the light page); same 500 as "屏幕之外", near-natural CJK spacing.
   The sign-off is handwritten like the home signature. */
.about-copy h2{font-weight:500;letter-spacing:-.01em;line-height:1.36}
.about .small-label{letter-spacing:.04em}
.about-signature{font:400 clamp(50px,4.4vw,62px)/1.15 'Sunyl Allura','Segoe Script',cursive;letter-spacing:0;margin-top:20px}
.portrait figcaption{font-size:11px;font-weight:500;letter-spacing:.06em}
/* Headline weight on Windows: Microsoft YaHei has no 550, so drawer titles, the Paopao heading and the big Contact
   "write" jumped to Bold with tight tracking. 500 renders as YaHei Regular (PingFang Medium on Mac), like About and Works. */
.drawer-header h2,.section-heading h2,.contact h2{font-weight:500}
.drawer-header h2,.section-heading h2{letter-spacing:-.01em}.section-heading h2{line-height:1.36}.contact h2{letter-spacing:-.03em}
/* Paopao photos: one grid for any number of photos. Desktop shows three per row and wraps on its own; phones stack them.
   Every photo is cropped to the same 4:5 frame; a figure may set --pos (object-position) to keep the face in frame. */
.photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px;align-items:start}
.photo-strip figure,.photo-strip figure:nth-child(n){margin:0;transform:none;width:auto;max-width:none}
.photo-strip .photo-open>img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:var(--pos,50% 40%)}
.photo-strip .tilted-image-host{aspect-ratio:4/5!important}
.photo-strip .tilted-image-host .tilted-card-img{object-fit:cover;object-position:var(--pos,50% 40%)}
@media(max-width:760px){.photo-strip{grid-template-columns:minmax(0,1fr);gap:30px;justify-items:center}.photo-strip figure,.photo-strip figure:nth-child(n){width:100%;max-width:400px}}
/* Work list titles (no-JS fallback and menu names) at 500 like the other headings; Windows has no 550 for YaHei. */
.work-summary-row h3,#flowing-works .menu__item-name{font-weight:500;letter-spacing:-.01em}
/* Paopao photo fan (photo-fan.js adds .is-fan): an overlapping stack of rounded cards. The front card is upright with its
   caption; neighbours lean and step back. Transforms are set per frame by a soft spring, so no CSS transition on them. */
.photo-strip.is-fan{display:block;position:relative;--card:min(330px,30vw);height:calc(var(--card)*1.25 + 92px);margin-top:34px;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab;outline-offset:8px;border-radius:24px}
.photo-strip.is-fan.is-dragging{cursor:grabbing}
.photo-strip.is-fan>figure{position:absolute;left:50%;top:6px;width:var(--card);margin:0 0 0 calc(var(--card)/-2);transform-origin:50% 110%;max-width:none}
.photo-strip.is-fan.is-moving>figure{will-change:transform}
.photo-strip.is-fan .photo-open{border-radius:20px;box-shadow:0 22px 46px -22px rgba(6,2,16,.75),0 0 0 1px rgba(255,255,255,.08)}
.photo-strip.is-fan .photo-open>img,.photo-strip.is-fan .tilted-card-img{border-radius:20px;-webkit-user-drag:none}
.photo-strip.is-fan figure:not(.is-front) .photo-open{cursor:pointer}.photo-strip.is-fan figure.is-front .photo-open{cursor:zoom-in}
.photo-strip.is-fan figcaption{opacity:var(--front,0);justify-content:center;transition:none}
.photo-strip.is-fan figure:not(.is-front) .photo-enlarge{opacity:0}
.photo-strip.is-fan figure .photo-enlarge{transition:opacity .3s ease}
.fan-dots{display:flex;justify-content:center;gap:4px;margin-top:4px}
.fan-dots button{width:26px;height:26px;padding:0;border:0;background:transparent;border-radius:999px;display:grid;place-items:center;cursor:pointer}
.fan-dots button::before{content:'';width:6px;height:6px;border-radius:999px;background:#bfb2d666;transition:width .45s cubic-bezier(.22,1,.36,1),background-color .45s ease}
.fan-dots button[aria-current='true']::before{width:18px;background:#d9c1fb}
.fan-dots button:focus-visible{outline:2px solid #d9c1fb;outline-offset:1px}
/* A deep link can paint the drawer before photo-fan.js runs: keep far cards out of layout until then so their lazy images wait. */
@media (prefers-reduced-motion:no-preference){.drawer-body .photo-strip:not(.is-fan)>figure:nth-child(n+5){display:none}}
.fan-dots button[hidden]{display:none}.fan-dots button::before{transform:scale(1);transition:width .45s cubic-bezier(.22,1,.36,1),background-color .45s ease,transform .45s cubic-bezier(.22,1,.36,1)}.fan-dots button.is-edge::before{transform:scale(.6)}
.photo-strip.is-fan~.gallery-hint{margin-top:18px;text-align:center}.photo-strip.is-fan~.gallery-hint>span{display:inline;margin-left:.6em}
@media(max-width:760px){.photo-strip.is-fan{--card:min(68vw,290px);margin-top:26px}}
/* Reduced motion: a plain horizontal strip that scrolls/snaps, no lean, no spring. */
@media(prefers-reduced-motion:reduce){.photo-strip{display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding-bottom:10px;justify-items:initial}
.photo-strip>figure,.photo-strip>figure:nth-child(n){flex:0 0 min(300px,72%);scroll-snap-align:center;transform:none!important}
.photo-strip~.gallery-hint>span{display:inline;margin-left:.6em}}
/* about-option:begin */
/* About background, option C: dark glass like the other tabs; only the intro (text + portrait) sits on a soft, rounded
   light "paper" card with a faint violet glow, so light is an accent instead of the whole panel. */
.content-drawer[data-section='about'] .drawer-body{background:transparent;scrollbar-color:#9a7fc480 transparent}
.content-drawer .about{background:transparent;color:var(--paper)}
.content-drawer .about::before{content:'';grid-row:1;grid-column:1/-1;margin:-34px -36px;border-radius:30px;background:linear-gradient(160deg,rgba(244,239,252,.96),rgba(231,223,243,.93));box-shadow:0 34px 90px -46px rgba(182,140,255,.55),inset 0 0 0 1px rgba(255,255,255,.4)}
.content-drawer .about-copy{grid-row:1;grid-column:1;position:relative;color:var(--ink)}
.content-drawer .about .portrait{grid-row:1;grid-column:2;position:relative;color:var(--ink)}
.content-drawer .about .portrait figcaption{color:#4a3a5e}
.content-drawer .about .life-scene{border-color:#bda0e62e;margin-top:34px}
.content-drawer .about .scene-heading .eyebrow,.content-drawer .about .car-photo figcaption{color:var(--gray)}
.content-drawer .about .life-scene :focus-visible{outline-color:var(--paper)}
@media(max-width:760px){.content-drawer .about::before{grid-row:1/3;grid-column:1;margin:-18px -12px;border-radius:24px}.content-drawer .about .portrait{grid-row:2;grid-column:1}}
/* about-option:end */
/* paopao-zoom:begin — tapping a photo zooms the photo itself in place (photo-zoom.js, used by photo-fan.js and work-zoom.js). No frame, no panel. */
.photo-strip>figure>.photo-open,.photo-strip>figure>figcaption{transition:opacity .5s cubic-bezier(.22,1,.36,1),scale .5s cubic-bezier(.22,1,.36,1),rotate .5s cubic-bezier(.22,1,.36,1)}
.photo-strip.is-zoomed>figure:not(.is-zoom-source)>.photo-open{scale:.9;rotate:calc(var(--rot,0) * -.45deg);opacity:.3}
.photo-strip.is-zoomed>figure>figcaption{opacity:0}
.photo-strip.is-fan~.fan-dots,.photo-strip.is-fan~.gallery-hint{transition:opacity .45s cubic-bezier(.22,1,.36,1)}.photo-strip.is-zoomed~.fan-dots,.photo-strip.is-zoomed~.gallery-hint{opacity:0}
.photo-strip>figure.is-zoom-source>.photo-open,.photo-strip>figure.is-zoom-source>figcaption{opacity:0;transition:none}
.photo-zoom{position:fixed;inset:0;z-index:1000;outline:none;cursor:zoom-out;-webkit-tap-highlight-color:transparent;touch-action:none}
.photo-zoom-scrim{position:absolute;inset:0;background:rgba(14,8,28,.68);opacity:0;transition:opacity .5s cubic-bezier(.22,1,.36,1)}
.photo-zoom.is-open .photo-zoom-scrim{opacity:1}
.photo-zoom-photo,.photo-zoom-shade{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
.photo-zoom-photo{overflow:hidden;border-radius:18px}
.photo-zoom-photo img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
.photo-zoom-shade{border-radius:18px;box-shadow:0 30px 70px rgba(6,2,16,.5),0 8px 22px rgba(6,2,16,.32)}
.photo-zoom-caption{position:absolute;margin:0;text-align:center;color:#eee4ff;font:14px/1.5 var(--body);opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .3s cubic-bezier(.22,1,.36,1)}
.photo-zoom-caption .mono{font-size:11px;opacity:.65;margin-right:.9em}
.photo-zoom.is-open .photo-zoom-caption{opacity:1;transform:none;transition:opacity .4s ease .16s,transform .5s cubic-bezier(.22,1,.36,1) .16s}
.photo-zoom .is-entering,.photo-zoom .is-leaving,.photo-zoom.is-open .photo-zoom-caption.is-entering,.photo-zoom.is-open .photo-zoom-caption.is-leaving{opacity:0;translate:var(--dx,0) 0}
.photo-zoom-photo,.photo-zoom-shade{transition:opacity .4s cubic-bezier(.22,1,.36,1),translate .45s cubic-bezier(.22,1,.36,1)}
.photo-zoom.is-fading{opacity:0;transition:opacity .2s ease}
@media(prefers-reduced-motion:reduce){.photo-zoom{animation:photo-zoom-in .2s ease both}.photo-zoom *{transition-duration:.01s!important;transition-delay:0s!important}.photo-strip>figure>.photo-open{transition:opacity .2s ease}.photo-strip.is-zoomed>figure:not(.is-zoom-source)>.photo-open{scale:none;rotate:none}}
@keyframes photo-zoom-in{from{opacity:0}}
.is-zoom-return .photo-open,.is-zoom-return .photo-open>img{transition:none!important}
#things .process-figure .photo-open{transition:opacity .5s cubic-bezier(.22,1,.36,1),scale .5s cubic-bezier(.22,1,.36,1)}
#things .work-detail-body.is-zoomed .process-figure:not(.is-zoom-source) .photo-open{scale:.97;opacity:.55}
#things .process-figure.is-zoom-source .photo-open{opacity:0;transition:none}
.car-photo .photo-open{transition:opacity .5s cubic-bezier(.22,1,.36,1)}.car-photo.is-zoom-source .photo-open,.car-photo.is-zoom-source figcaption{opacity:0;transition:none}
@media(prefers-reduced-motion:reduce){#things .process-figure .photo-open{transition:opacity .2s ease}#things .work-detail-body.is-zoomed .process-figure:not(.is-zoom-source) .photo-open{scale:none}}
/* paopao-zoom:end */
/* drawer-scrollbars:begin — the drawer scrolls (wheel, touch, keys) without drawing scrollbars; the fan never widens the page. */
.content-drawer,.content-drawer *,.content-drawer .drawer-body{scrollbar-width:none}
.content-drawer::-webkit-scrollbar,.content-drawer *::-webkit-scrollbar,.content-drawer .drawer-body::-webkit-scrollbar{display:none;width:0;height:0}
.paopao-life{overflow-x:clip}
/* drawer-scrollbars:end */
/* contact-option:begin */
/* Contact option A (postcard) + C's handwritten sign-off. A: Dark glass stays; the note, 写信 and the addresses sit on a light paper postcard (same
   paper tone as About option C) with a perforated Paopao stamp and a SunyL. postmark. Hover: the card lifts softly and
   straightens, the stamp settles. */
/* shared: arrow glides softly on hover; copy button + toast */
.contact h2 a .contact-arrow{transition:transform .7s cubic-bezier(.22,1,.36,1)}
.contact h2 a:hover .contact-arrow,.contact h2 a:focus-visible .contact-arrow{transform:translate(.1em,-.1em)}
.contact-mail{position:relative;display:inline-flex;align-items:center;gap:8px}
.contact-copy{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;opacity:.72;transition:opacity .4s ease,background-color .4s ease}
.contact-copy[hidden]{display:none}
.contact-copy:hover,.contact-copy:focus-visible{opacity:1;background:rgba(204,178,255,.14)}
.contact-copy svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.contact-copy .i-copy,.contact-copy .i-check{transition:opacity .45s ease,transform .45s cubic-bezier(.22,1,.36,1);transform-origin:12px 12px}
.contact-copy .i-check{opacity:0;transform:scale(.7)}
.contact-copy.is-copied .i-copy{opacity:0;transform:scale(.8)}
.contact-copy.is-copied .i-check{opacity:1;transform:none}
.contact-toast{position:absolute;right:0;bottom:100%;margin-bottom:6px;padding:6px 12px;border-radius:999px;background:#f4effc;color:#2c1d42;font-size:12px;line-height:1.4;white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .45s ease,transform .6s cubic-bezier(.22,1,.36,1);box-shadow:0 10px 30px -14px rgba(182,140,255,.7)}
.contact-toast.is-shown{opacity:1;transform:none}
.contact-toast:empty{padding:0}
@media(max-width:760px){.contact-copy{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.contact h2 a .contact-arrow,.contact-toast,.contact-copy .i-copy,.contact-copy .i-check{transition:opacity .3s ease}.contact h2 a:hover .contact-arrow{transform:none}.contact-toast,.contact-toast.is-shown{transform:none}}
.contact--postcard .contact-card{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 40px;margin:34px 0 0;padding:34px 40px 38px;border-radius:26px;background:linear-gradient(160deg,rgba(246,241,253,.97),rgba(232,224,245,.94));color:var(--ink);box-shadow:0 34px 90px -46px rgba(182,140,255,.55),0 2px 0 rgba(255,255,255,.35) inset,0 0 0 1px rgba(255,255,255,.4) inset;transform:rotate(-.6deg);transition:transform .9s cubic-bezier(.22,1,.36,1),box-shadow .9s cubic-bezier(.22,1,.36,1)}
.contact--postcard .contact-card::before{content:'';position:absolute;inset:10px;border-radius:18px;border:1px dashed rgba(107,58,150,.18);pointer-events:none}
.contact--postcard .contact-card:hover,.contact--postcard .contact-card:focus-within{transform:translateY(-6px) rotate(0);box-shadow:0 46px 100px -42px rgba(182,140,255,.68),0 2px 0 rgba(255,255,255,.35) inset,0 0 0 1px rgba(255,255,255,.45) inset}
.contact--postcard .contact-note{margin:0 0 6px;color:#5a4a70}
.contact--postcard h2{color:var(--ink);line-height:1.12}
.contact--postcard h2 a:hover{color:#6b3a96}
.contact--postcard .contact-arrow{color:#7b4bb0}
.contact--postcard .contact-card-side{position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:0 0 4px 34px;border-left:1px solid rgba(107,58,150,.2);min-height:200px}
.contact--postcard .contact-stamp{position:absolute;top:0;right:0;margin:0;width:88px;aspect-ratio:4/5;padding:6px;background:#fffdf8;box-shadow:0 8px 18px -10px rgba(60,30,90,.45);transform:rotate(4deg);transition:transform .9s cubic-bezier(.22,1,.36,1);
  -webkit-mask:radial-gradient(circle,#0000 2.6px,#000 3px) 0 -4px/8px 8px repeat-x,radial-gradient(circle,#0000 2.6px,#000 3px) 0 calc(100% + 4px)/8px 8px repeat-x,radial-gradient(circle,#0000 2.6px,#000 3px) -4px 0/8px 8px repeat-y,radial-gradient(circle,#0000 2.6px,#000 3px) calc(100% + 4px) 0/8px 8px repeat-y,linear-gradient(#000 0 0) center/calc(100% - 8px) calc(100% - 8px) no-repeat;
          mask:radial-gradient(circle,#0000 2.6px,#000 3px) 0 -4px/8px 8px repeat-x,radial-gradient(circle,#0000 2.6px,#000 3px) 0 calc(100% + 4px)/8px 8px repeat-x,radial-gradient(circle,#0000 2.6px,#000 3px) -4px 0/8px 8px repeat-y,radial-gradient(circle,#0000 2.6px,#000 3px) calc(100% + 4px) 0/8px 8px repeat-y,linear-gradient(#000 0 0) center/calc(100% - 8px) calc(100% - 8px) no-repeat}
.contact--postcard .contact-stamp img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%;border-radius:2px}
.contact--postcard .contact-card:hover .contact-stamp,.contact--postcard .contact-card:focus-within .contact-stamp{transform:rotate(1deg) translateY(-2px)}
.contact--postcard .contact-postmark{position:absolute;top:34px;right:84px;display:grid;place-items:center;width:78px;height:78px;border-radius:50%;border:1.5px solid rgba(107,58,150,.55);color:rgba(98,50,142,.9);font:400 25px/1 'Sunyl Allura','Segoe Script',cursive;transform:rotate(-14deg);pointer-events:none}
.contact--postcard .contact-links{display:flex;flex-direction:column;gap:2px;margin-top:124px;font-size:14px;color:var(--ink)}
.contact--postcard .contact-links>a,.contact--postcard .contact-mail{padding:10px 0 8px;border-bottom:1px solid rgba(107,58,150,.22)}
.contact--postcard .contact-links>a{align-self:stretch}
.contact--postcard .contact-links a:hover{color:#6b3a96}
.contact--postcard .contact-mail{display:flex;justify-content:space-between}
.contact--postcard .contact-copy{color:#5a3b80}
.contact--postcard .contact-copy:hover,.contact--postcard .contact-copy:focus-visible{background:rgba(107,58,150,.1)}
.contact--postcard .contact-card :focus-visible{outline-color:#6b3a96}
.contact--postcard .contact-bottom{margin-top:30px;padding-top:0;border-top:0}
.contact--postcard .contact-bottom>p{margin-top:0}
.contact--postcard .contact-sign{display:flex;align-items:baseline;gap:18px;margin-top:26px;color:#b48adb}
.contact--postcard .contact-sign .sign-hand{font:400 clamp(64px,7vw,104px)/1.1 'Sunyl Allura','Segoe Script',cursive;letter-spacing:0;color:#c7a4ec;padding-right:.1em}
.contact--postcard .contact-sign>span:last-child{font-size:13px;letter-spacing:.16em;color:var(--gray)}
@media(max-width:760px){.contact--postcard .contact-card{grid-template-columns:1fr;padding:26px 22px 24px;margin-top:26px;border-radius:22px}.contact--postcard .contact-card::before{inset:8px;border-radius:15px}.contact--postcard .contact-card-side{position:static;padding:16px 0 0;border-left:0;border-top:1px solid rgba(107,58,150,.2);margin-top:18px;min-height:0}.contact--postcard .contact-stamp{top:18px;right:18px;width:62px;padding:5px}.contact--postcard .contact-card-main .contact-note{margin-right:72px}.contact--postcard .contact-postmark{display:none}.contact--postcard .contact-sign .sign-hand{font-size:72px}.contact--postcard .contact-links{margin-top:0}.contact--postcard .contact-links a{margin:0}.contact--postcard .contact-bottom{margin-top:26px}}
@media(prefers-reduced-motion:reduce){.contact--postcard .contact-card,.contact--postcard .contact-stamp{transition:none}.contact--postcard .contact-card:hover,.contact--postcard .contact-card:focus-within{transform:rotate(-.6deg)}}
/* contact-option:end */
/* contact-kaiti:begin — 写信 on the postcard in Kai: system Kaiti first; the two-glyph AR PL UKai subset (Arphic Public
   License, assets/fonts/ARPHICPL.TXT) only downloads on devices without one. The arrow keeps the sans. */
@font-face{font-family:'Sunyl Kai';src:url('assets/fonts/Kai-Sunyl.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+4FE1,U+5199,U+6CE1}
.contact--postcard h2 a{font-family:"Kaiti SC","STKaiti",KaiTi,"楷体","KaiTi_GB2312",'Sunyl Kai',serif;font-weight:400;font-size:1.14em;letter-spacing:-.03em}
.contact--postcard h2 a .contact-arrow{font-family:var(--body);font-size:.56em;vertical-align:.12em}
@media(max-width:760px){.contact--postcard h2 a{font-size:1.04em}}
/* contact-kaiti:end */
/* work-back-pin:begin — pinned 返回作品 pill in work details: sticky at the top-right of the drawer scroller (below the tab bar,
   inside the content gutter), fades/slides in over ~250ms only while every inline back link is out of view. */
.work-back-pin-wrap{position:sticky;top:14px;z-index:6;height:0;display:flex;justify-content:flex-end;pointer-events:none}
.work-back-pin{pointer-events:auto;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:rgba(36,24,55,.78);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 10px 30px #0d061e40;font-size:13px;color:var(--paper);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1),visibility 0s linear .25s}
.work-back-pin.is-shown{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1),visibility 0s}
.work-back-pin:hover{background:rgba(52,36,78,.86)}.work-back-pin:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.works:not([data-view='detail']) .work-back-pin-wrap,.works:has(.is-zoomed) .work-back-pin-wrap{display:none}
@media(max-width:760px){.work-back-pin-wrap{top:10px}.work-back-pin{min-height:38px;padding:6px 13px;gap:8px;font-size:12px;background:rgba(36,24,55,.72);box-shadow:0 6px 18px #0d061e38}}
@media(prefers-reduced-motion:reduce){.work-back-pin,.work-back-pin.is-shown{transform:none}}
@media(forced-colors:active){.work-back-pin{background:ButtonFace;color:ButtonText;border-color:ButtonText}}
/* work-back-pin:end */
/* about-copy:begin — the greeting intro on the option C paper card: headline greeting (sans 500, SunyL in the accent),
   a three-line trait lead (one clause per line, the last phrase in purple), one body paragraph, then a soft closing line
   right above the handwritten sign-off. Chinese lines wrap with text-wrap:pretty/balance so no line ends on one character. */
.about-copy{display:flex;flex-direction:column;justify-content:center}
.about-copy .about-hello{font-size:clamp(34px,3.1vw,46px);line-height:1.25;margin:0 0 26px;text-wrap:balance}
.about-copy .about-hello em{font-style:normal;color:#6b3a96;letter-spacing:-.005em}
.about .about-copy>p.about-lead{margin:0 0 22px;font-size:clamp(18px,1.45vw,21px);line-height:1.72;font-weight:450;color:#2c2140}
.about-copy .about-lead span{display:block;text-wrap:balance}
.about-copy .about-lead em{font-style:normal;color:#6b3a96}
.about .about-copy>p.about-body{margin:0;font-size:15px;line-height:1.95;color:#4a3d5c}
/* one sentence per line; a sentence may only wrap at its comma (each clause is unbreakable), so no one-character orphans */
.about-copy .about-body>span{display:block}.about-copy .about-body>span>span{display:inline-block}
.about .about-copy>p.about-closing{margin:22px 0 0;font-size:15px;line-height:1.7;color:#684992;letter-spacing:.02em}
.about-copy>.about-closing+p{margin-top:6px}
@media(max-width:760px){.about-copy .about-hello{font-size:32px;margin-bottom:20px}.about .about-copy>p.about-lead{font-size:18px;margin-bottom:18px}.about .about-copy>p.about-body{font-size:15px}.about .about-copy>p.about-closing{margin-top:18px}}
/* about-copy:end */

/* mobile-glow:begin — phones: a deeper, slower breath around Paopao (6s, scale .94→1.06, a little brighter at the top).
   Only the animation name/duration change, so reduced motion, motion-off, a paused background and the dialog still hold it. */
@keyframes paopao-aura-soft{from{opacity:.68;transform:translate(-50%,-50%) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1.06)}}
@media(max-width:760px) and (prefers-reduced-motion:no-preference){html:not([data-motion='off']) .hero-model::before{animation-name:paopao-aura-soft;animation-duration:6s}}
/* mobile-glow:end */
/* polish-review-2026-10-10:begin — design review pass.
   Drawer header: the tab bar names the section, so the header shows the SunyL. mark (or ← 造物集 in a work detail) and keeps
   the title for assistive tech only. Back pill moves out of the scroller (no overlap with reading text). */
.drawer-heading{display:flex;align-items:center;min-height:44px;min-width:0}
.drawer-heading #drawer-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.drawer-brand{font:400 36px/1 'Sunyl Allura','Segoe Script',cursive;color:#d4b5ff;letter-spacing:0;padding:4px .12em 0 0;user-select:none}
.drawer-heading.has-back .drawer-brand{display:none}
.drawer-heading .work-back-pin-wrap{position:static;height:auto;display:none;pointer-events:auto}
.drawer-heading.has-back .work-back-pin-wrap{display:flex}
.drawer-heading .work-back-pin{min-height:44px;padding:8px 18px 8px 14px;font-size:14px;background:#ffffff0a;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.drawer-heading .work-back-pin.is-shown{transform:none}
.drawer-heading .work-back-pin:hover{background:#ffffff14;border-color:var(--gold)}
.works>.work-back{display:none!important}
@media(max-width:760px){.drawer-brand{font-size:30px}.drawer-heading .work-back-pin{min-height:40px;padding:6px 14px 6px 12px;font-size:13px}}
/* Tabs now carry the full section names; keep four of them on one row on phones. */
@media(max-width:760px){.drawer-navigation .jelly-radio{--jr-px:14px!important;--jr-font:13px!important;--jr-gap:2px!important;--jr-pad-x:0px!important}}
@media(max-width:360px){.drawer-navigation .jelly-radio{--jr-px:9px!important;--jr-font:12px!important}}
/* Frosted pane: a denser right edge so the hero cat no longer reads as smudges through the glass. */
@media(min-width:761px){.content-drawer{background:linear-gradient(90deg,rgba(36,24,55,.97) 0%,rgba(30,20,50,.94) 40%,rgba(26,18,46,.88) 72%,rgba(24,17,44,.84) 100%);-webkit-backdrop-filter:blur(40px) saturate(1.2);backdrop-filter:blur(40px) saturate(1.2)}}
/* Paopao fan: the stack fans to the right, so the front card sits left of centre and the deck stays inside the pane. */
@media(min-width:761px){.photo-strip.is-fan>figure{left:calc(50% - var(--card)*.42)}}
/* About portrait: a cut-out on a soft lilac well instead of an ID-photo white field. */
.content-drawer .about .portrait img{background:radial-gradient(ellipse at 50% 30%,#efe7fb 0%,#ddd0f2 55%,#cbb8ea 100%)}
/* Works directory: rounded-rectangle previews (rows stay capsules), a little larger. */
#flowing-works .work-entry__media,#things .work-thumb{border-radius:18px}
@media(min-width:761px){#flowing-works .work-entry,#things:not([data-view=detail]) .work-summary-row{grid-template-columns:124px minmax(0,1fr) 38px;padding-left:16px}#flowing-works .work-entry__media,#things .work-thumb{width:124px;height:78px}}
@media(max-width:760px){#flowing-works .work-entry__media,#things .work-thumb{border-radius:14px}}
#flowing-works .work-entry__media.is-contained img[src*='paopao.png']{object-position:50% 30%}
/* White-field process art sits on the same lilac well, so it no longer glares on the dark pane. */
#things .process-figure .photo-open:has(img[src*='tv-v1']){background:#ece6f7!important;isolation:isolate}
#things .process-figure img[src*='tv-v1']{mix-blend-mode:multiply}
/* Pagination: the previous-work arrow leads, mirroring the next-work arrow. */
#things .work-pagination a[rel='prev']{flex-direction:row-reverse;padding:8px 18px 8px 10px}
/* Contact: the arrow stays with 写信 instead of wrapping to its own line. */
.contact--postcard h2 a{white-space:nowrap}
.contact-top{justify-content:flex-end}
/* Home footer tools: quieter until hovered. */
.hero-tools .energy-replay,.hero-tools .ambient-toggle{border-color:transparent;color:#8d80a6}
@media(forced-colors:active){.drawer-brand{color:CanvasText}.drawer-heading .work-back-pin{background:ButtonFace;color:ButtonText;border-color:ButtonText}}
/* polish-review-2026-10-10:end */
/* hero-line-2026-10-10: the line breaks only after its comma, never leaving one character behind. */
.hero-intro>span{display:inline-block}
/* aesthetic-2026-10-10:begin — second design pass.
   1 Fewer, larger small labels: section eyebrows that repeat their heading are hidden; the remaining labels are >=12px. */
#paopao .section-heading .eyebrow,body #things>.section-heading .eyebrow,#about .life-scene .scene-heading .eyebrow,body #things .process-heading .eyebrow,body #things .work-detail-body>p.mono{display:none}
body #things .work-detail-body .work-archive{font-size:13px;color:var(--accent,#c9b3ec);letter-spacing:.01em}
body #things .process-figure figcaption,body #things .work-detail-body figcaption,.car-photo figcaption,#paopao .gallery-hint,.contact-top .back-top{font-size:13px;color:#cbbfe0}
body #things .process-index{font-size:12px}
body #things .work-pagination small{font-size:11px}
.contact--postcard .contact-bottom p{font-size:14px}
/* 2 Reading text in work details: a step brighter, 16px on desktop. */
body #things .process-intent p,body #things .process-step>p:not(.process-index){color:#d6cce8}
@media(min-width:761px){body #things .process-intent p,body #things .process-step>p:not(.process-index){font-size:16px;line-height:1.9}}
/* 3 One accent per work, used only for small marks: title rule, archive line, step numbers, intent heading, active stage. */
body #things .work[data-project='deskpet']{--accent:#ecd3a8}
body #things .work[data-project='pingxiaojian']{--accent:#f5c842}
body #things .work[data-project='stories']{--accent:#f0a35e}
body #things .work[data-project='three-questions']{--accent:#8cc7c1}
body #things .work[data-project='nanhu']{--accent:#e8786b}
body #things .work-detail-title::after{content:'';display:block;width:44px;height:3px;border-radius:3px;background:var(--accent,var(--gold));margin-top:16px}
body #things .process-index,body #things .process-intent h3{color:var(--accent,var(--gold))}
body #things .process-ending{border-top-color:color-mix(in srgb,var(--accent,#d4b5ff) 38%,transparent)}
body #things .logo-stage-tab[aria-selected='true']{background:var(--accent,var(--gold));border-color:transparent;color:#241638}
/* 4 屏幕之外: heading sits with its photo on the left; the dark car photo no longer spans the whole pane. */
#about .life-scene .scene-heading{display:block}
@media(min-width:761px){#about .life-scene .car-photo{max-width:640px}}
/* 5 Phones: the fan's front card moves left so the stacked deck stays on screen. */
@media(max-width:760px){.photo-strip.is-fan>figure{left:calc(50% - var(--card)*.1)}}
/* 6 The postcard has one hand: the postmark is written in the same Kai as 写信. */
.contact--postcard .contact-postmark{font:400 24px/1 "Kaiti SC","STKaiti",KaiTi,"楷体","KaiTi_GB2312",'Sunyl Kai',serif;letter-spacing:.04em}
@media(forced-colors:active){body #things .work-detail-title::after{background:CanvasText}
body #things .logo-stage-tab[aria-selected='true']{background:Highlight;color:HighlightText}}
/* aesthetic-2026-10-10:end */
/* aesthetic-2026-10-10b — third pass.
   1 The play-it entrance of an interactive work is the page's main action: filled with the work's accent, a size up.
     The new-tab note moves inside the link for screen readers; the arrow already says "opens elsewhere". */
body #things .work-launch-link{min-height:60px;padding:10px 12px 10px 28px;border-color:transparent;background:var(--accent,var(--gold));color:#241638;font-size:16px;font-weight:600;box-shadow:0 12px 32px -14px color-mix(in srgb,var(--accent,#d4b5ff) 70%,transparent);transition:transform .2s ease,filter .2s ease}
body #things .work-launch-link:hover{filter:brightness(1.06);transform:translateY(-1px)}
body #things .work-launch-arrow{background:#24163826;color:#241638}
body #things .work-launch-note{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){body #things .work-launch-link{font-size:15px;padding-left:22px}}
@media(prefers-reduced-motion:reduce){body #things .work-launch-link:hover{transform:none}}
@media(forced-colors:active){body #things .work-launch-link{background:ButtonFace;color:LinkText;border-color:LinkText;box-shadow:none}}
/* 2 The drawer's fixed bottom tagline is retired on desktop too (phones already hid it); the contact page closes the story. */
.content-drawer .drawer-bottom{display:none}
/* 3 Home footer keeps only 暂停背景 (needed for motion control); tapping Paopao already replays the bloom. */
.hero-tools .energy-replay{display:none!important}
/* archive-wrap-2026-10-10: the archive line and lead never leave one or two characters alone on their last line. */
body #things .work-detail-body .work-archive,body #things .process-lead{text-wrap:pretty}
