/* Tyas — final. Black canvas, oversized grotesk headline over a faded mono portrait,
   chat-bubble as the full stop (identity), dark project cards with phone mockups, bento with a moderation mini-game. */
:root{
  --bg:#0a0a0b; --surface:#121214; --surface2:#17171a; --line:#232327; --text:#ededee; --mute:#8b8b93; --faint:#55555c;
  --pink:#ff86bf; --blue:#4a5bff;
  --font:"Inter Tight","Segoe UI",system-ui,sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit}
:focus-visible{outline:2px solid var(--pink);outline-offset:3px;border-radius:6px}
::selection{background:var(--pink);color:#0a0a0b}

/* identity: chat bubble used as logo and as the full stop */
.dot{display:inline-block;position:relative;width:.2em;height:.17em;margin-left:.04em;background:var(--pink);border-radius:.04em;vertical-align:baseline}
.dot::after{content:"";position:absolute;left:.025em;bottom:-.05em;width:.06em;height:.06em;background:var(--pink);clip-path:polygon(0 0,100% 0,0 100%)}
.dot.sm{width:.22em;height:.19em}
.mark{position:relative;display:block;width:34px;height:34px}
.mark span{position:absolute;border-radius:3px}
.b2{left:8px;top:8px;width:24px;height:20px;background:#fff}
.b1{left:0;top:0;width:24px;height:20px;background:var(--pink);z-index:1}
.b1::after{content:"";position:absolute;left:3px;bottom:-6px;width:7px;height:7px;background:var(--pink);clip-path:polygon(0 0,100% 0,0 100%)}

/* top */
.top{position:fixed;z-index:30;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;padding:28px max(36px,env(safe-area-inset-right,0px)) 30px max(36px,env(safe-area-inset-left,0px));pointer-events:none;transition:background .3s}
.top.solid{background:linear-gradient(#0a0a0bf2 40%,#0a0a0b00)}
.top > *{pointer-events:auto}
.where{text-align:right;font-size:13.5px;line-height:1.3}
.where b{display:block;font-weight:600}
.where span{color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums}

/* hero */
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding:120px max(36px,env(safe-area-inset-right,0px)) 64px max(36px,env(safe-area-inset-left,0px));overflow:hidden}
/* cut-out portrait on black (background baked to #000; lighten blends it into the page black) */
.portrait{position:absolute;inset:0;display:flex;justify-content:center;align-items:flex-end;pointer-events:none;overflow:hidden}
.portrait img{height:min(94svh,1000px);width:auto;max-width:none;mix-blend-mode:lighten;filter:grayscale(1) brightness(.6) contrast(1.2);
  -webkit-mask-image:linear-gradient(to bottom,#000 45%,transparent 94%);mask-image:linear-gradient(to bottom,#000 45%,transparent 94%)}
@media (prefers-reduced-motion:no-preference){.portrait img{animation:breathe 14s ease-in-out infinite alternate}}
@keyframes breathe{to{transform:scale(1.04)}}
/* decorative collaborator cursor wandering around the portrait */
.hero-cur{position:absolute;z-index:1;left:0;top:0;pointer-events:none;will-change:transform}
/* tip of the arrow sits at (1.25px,1.2px); rotate around it so it can aim at the face */
.hero-cur svg{display:block;width:20px;height:22px;margin:-1.2px 0 0 -1.25px;transform-origin:1.25px 1.2px;fill:var(--pink);stroke:#0a0a0b;stroke-width:1;stroke-linejoin:round;filter:drop-shadow(0 3px 6px #000a)}
.hero-cur span{position:absolute;left:0;top:0;white-space:nowrap;font:600 14px/1 var(--font);color:#0a0a0b;background:var(--pink);padding:6px 10px;border-radius:3px;box-shadow:0 6px 16px -6px #000c}
.hero-cur.tap svg{transform:scale(.8)}
.headline{position:relative;z-index:2;font-weight:700;font-size:clamp(64px,14.2vw,230px);line-height:.86;letter-spacing:-.065em;margin-left:-.04em}
.headline .row{display:block;white-space:nowrap;background:linear-gradient(180deg,#f2f2f3 0%,#f2f2f3 55%,#9a9aa1 82%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.16em;margin-bottom:-.12em}
.hero{align-items:center;text-align:center}
.headline{margin-left:0}
.headline .dot{width:.17em;height:.15em;margin-left:.1em}
@media (prefers-reduced-motion:no-preference){
  .headline .row{animation:rise 1s cubic-bezier(.2,.8,.2,1) both}
  .headline .row:nth-child(2){animation-delay:.12s}
  .hero-foot{animation:rise 1s cubic-bezier(.2,.8,.2,1) .3s both}
}
@keyframes rise{from{opacity:0;transform:translateY(.35em)}}
.hero-foot{position:relative;margin-top:44px;font-size:clamp(17px,1.6vw,21px);font-weight:500;letter-spacing:-.02em;line-height:1.5}
.dim{color:var(--faint)}
.ul{border-bottom:1px solid var(--faint);padding-bottom:2px;display:inline-flex;align-items:center;gap:6px;transition:border-color .2s}
.ul:hover{border-color:var(--text)}
.ul svg{width:14px;height:14px}

/* sections */
.wrap{max-width:1180px;margin:0 auto;padding:120px max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.sec{font-weight:600;font-size:clamp(36px,4.6vw,56px);letter-spacing:-.05em;line-height:1;margin-bottom:36px}

/* projects */
.projects{display:grid;gap:14px}
.proj{position:relative;display:grid;grid-template-columns:260px 1fr;align-items:center;gap:40px;height:230px;padding:0 70px 0 28px;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:background .3s,border-color .3s}
.proj:hover{background:var(--surface2);border-color:#34343a}
.mock{align-self:end;height:200px;display:flex;justify-content:center}
.ph{width:150px;height:300px;border-radius:28px;background:#1d1d21;border:2px solid #3a3a40;padding:6px;box-shadow:0 0 0 1px #000,0 30px 40px -20px #000;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.proj:hover .ph{transform:translateY(-14px)}
.ph-scr{position:relative;height:100%;border-radius:22px;overflow:hidden;background:#000}
.ph-scr img{width:100%;height:100%;object-fit:cover}
.lv{position:absolute;top:12px;left:10px;background:#ff2d55;color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:3px}
.chatui{background:#1b1d2e;padding:16px 10px;display:flex;flex-direction:column;gap:10px}
.chatui .ch{font-size:10px;font-weight:600;color:#fff;background:#2a2e4a;border-radius:5px;padding:3px 7px;align-self:flex-start}
.bub{display:flex;gap:6px;font-size:9.5px;line-height:1.35;color:#a7accb}
.bub i{flex:0 0 16px;height:16px;border-radius:50%}
.bub b{color:#fff;font-weight:600;display:block}
.statui{background:#fff;color:#141414;padding:22px 14px}
.statui .s1{font-size:11px;font-weight:700}.statui .s2{font-size:10px;color:#888}
.statui .s3{font-size:40px;font-weight:800;letter-spacing:-.05em;margin-top:18px;line-height:1;background:linear-gradient(90deg,#ff5f9e,#7b6bff);-webkit-background-clip:text;background-clip:text;color:transparent}
.statui .s4{font-size:11px;color:#666}
.statui .s5{font-size:10px;margin-top:14px;padding:6px 8px;background:#f2f2f5;border-radius:8px}
.reelui{background:#111;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px}
.reelui i{border-radius:8px;background:linear-gradient(160deg,var(--g),#111)}
.mock.wide{align-self:center;height:auto}
.photo{width:240px;height:170px;border-radius:12px;overflow:hidden;border:1px solid #3a3a40;transform:rotate(-3deg);transition:transform .5s}
.photo img{width:100%;height:100%;object-fit:cover}
.proj:hover .photo{transform:rotate(0) scale(1.03)}
.ptext h3{font-weight:500;font-size:clamp(19px,1.8vw,23px);letter-spacing:-.02em}
.ptext p{color:var(--mute);margin-top:6px;max-width:52ch;font-size:15px}
.arrow{position:absolute;top:24px;right:26px;width:26px;height:26px;color:var(--text);transition:transform .3s}
.arrow svg{width:100%;height:100%}
.proj:hover .arrow{transform:translate(3px,-3px);color:var(--pink)}

/* bento */
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.tile{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:22px;min-height:240px;overflow:hidden}
.tile-cap h3{font-weight:500;font-size:19px;letter-spacing:-.02em}
.tile-cap p{color:var(--mute);font-size:14px;margin-top:4px}
.t-time{grid-column:span 4;grid-row:span 2}
.t-num{grid-column:span 2}
.t-game{grid-column:span 4}
.t-tools{grid-column:span 4}
.steps{list-style:none;position:relative;display:grid;gap:12px;padding-left:34px}
.steps::before{content:"";position:absolute;left:9px;top:10px;bottom:10px;width:1px;background:repeating-linear-gradient(var(--faint) 0 4px,transparent 4px 8px)}
.steps li{position:relative;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.steps li::before{content:"";position:absolute;left:-30px;top:18px;width:11px;height:11px;border-radius:50%;background:var(--bg);border:1.5px solid var(--faint)}
.steps li:first-child::before{background:var(--pink);border-color:var(--pink);box-shadow:0 0 0 4px #ff86bf26}
.steps b{display:block;font-weight:500}
.steps span{color:var(--mute);font-size:14px}
.steps .fade{opacity:.45}
.big{font-weight:700;font-size:clamp(34px,3.6vw,48px);letter-spacing:-.055em;line-height:1}
.t-num.pink .big{color:var(--pink)}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:7px}
.chips li{font-size:13px;padding:5px 11px;border:1px solid var(--line);border-radius:20px;color:#cfcfd4;background:var(--surface2)}
/* moderation game */
.game{background:#0d0d0f;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;height:300px}
.g-head{display:flex;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600}
.score{color:var(--mute);font-weight:500;font-variant-numeric:tabular-nums}
.score b{color:var(--text)}
.g-feed{flex:1;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:12px 14px;
  background-image:radial-gradient(#ffffff0a 1px,transparent 1px);background-size:16px 16px;
  -webkit-mask-image:linear-gradient(transparent,#000 24%);mask-image:linear-gradient(transparent,#000 24%)}
.gm{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.4;animation:in .3s ease}
@keyframes in{from{opacity:0;transform:translateY(8px)}}
.gm i{flex:0 0 22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:700;color:#111}
.gm b{font-weight:600;margin-right:6px}
.gm p{color:#c8c8ce;flex:1;min-width:0}
.gm .del{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--mute);border:1px solid var(--line);border-radius:8px;padding:2px 9px}
.gm .del:hover{color:#fff;border-color:#ff5f6d;background:#ff5f6d22}
.gm.gone{opacity:.35;text-decoration:line-through}
.gm.sys p{color:var(--mute);font-style:italic}
.g-foot{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--line);flex-wrap:wrap}
.g-foot button{font-size:13px;font-weight:600;background:var(--pink);color:#111;border-radius:9px;padding:6px 13px}
.g-hint{font-size:12.5px;color:var(--mute)}

/* education rows */
.rows{list-style:none;border-top:1px solid var(--line)}
.rows li{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.rows b{display:block;font-weight:500;font-size:clamp(18px,1.8vw,22px);letter-spacing:-.02em}
.rows span{color:var(--mute);font-size:14px}
.rows em{font-style:normal;color:var(--faint);font-weight:600;font-size:clamp(16px,1.6vw,20px);font-variant-numeric:tabular-nums;white-space:nowrap}
.thesis{color:var(--mute);font-size:14px;margin-top:18px;max-width:70ch}

/* contact */
.contact{padding-bottom:40px}
.huge{font-weight:700;font-size:clamp(64px,12vw,190px);letter-spacing:-.065em;line-height:.88;padding-bottom:.18em;margin-bottom:-.12em;background:linear-gradient(180deg,#f2f2f3 50%,#8f8f96 80%);-webkit-background-clip:text;background-clip:text;color:transparent}
.huge .dot{width:.17em;height:.15em;margin-left:.1em}
.sec .dot{margin-left:.12em}
.cl{color:var(--mute);font-size:clamp(17px,1.6vw,20px);max-width:52ch;margin-top:26px}
.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px;align-items:center}
.mailbtn{display:inline-flex;align-items:center;gap:12px;background:var(--text);color:#0a0a0b;font-weight:600;font-size:16px;padding:12px 14px 12px 20px;border-radius:40px;transition:transform .2s}
.mailbtn:hover{transform:translateY(-2px)}
.mailbtn em{font-style:normal;font-size:12.5px;background:#0a0a0b;color:#fff;border-radius:20px;padding:4px 10px}
.ln{font-weight:500;padding:12px 18px;border:1px solid var(--line);border-radius:40px;transition:border-color .2s,background .2s}
.ln:hover{border-color:#44444b;background:var(--surface)}
.foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:120px;padding-top:22px;border-top:1px solid var(--line);color:var(--faint);font-size:13.5px}

/* auto-scrolling timeline (like a running log) */
.vtick{position:relative;height:330px;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)}
.steps.roll{padding-top:8px;width:100%}
@media (prefers-reduced-motion:no-preference){.steps.roll.is-rolling{animation:roll var(--dur,16s) linear infinite}.vtick:hover .steps.roll{animation-play-state:paused}}
@keyframes roll{to{transform:translateY(var(--shift,-50%))}}
.steps.roll li:first-child::before,.steps.roll li::before{background:var(--bg);border-color:var(--faint);box-shadow:none}
.steps.roll li.now::before{background:var(--pink);border-color:var(--pink);box-shadow:0 0 0 4px #ff86bf26}

/* bot terminal */
.t-term{grid-column:span 2}
.term{background:#0d0d0f;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:190px}
.term-bar{display:flex;gap:6px;padding:9px 11px;border-bottom:1px solid var(--line)}
.term-bar i{width:9px;height:9px;border-radius:50%;background:#ff5f57}.term-bar i:nth-child(2){background:#febc2e}.term-bar i:nth-child(3){background:#28c840}
.term-body{margin:0;padding:12px 14px;font:12.5px/1.65 ui-monospace,"Cascadia Code",Consolas,monospace;color:#c8c8ce;white-space:pre-wrap;min-height:150px}
.term-body .ok{color:#7ee0a3}.term-body .pr{color:var(--pink)}.term-body .done{color:#fff}
.term-body .caret{display:inline-block;width:.55em;height:1.05em;background:#e8e8ea;vertical-align:-.18em;animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:0}}

/* rotating words */
.t-words{grid-column:span 2;justify-content:center;align-items:center;text-align:center}
.words{display:flex;flex-direction:column;gap:2px;font-weight:600;font-size:clamp(26px,2.4vw,32px);letter-spacing:-.04em;line-height:1.08}
.words span{color:#3a3a40;transition:color .5s}
.words span.on{color:var(--text)}

/* zig-zag work timeline */
.zig{list-style:none;position:relative;display:grid;gap:56px}
.zig::before{content:"";position:absolute;left:50%;top:10px;bottom:10px;width:1px;background:linear-gradient(var(--line),#3a3a40 20%,#3a3a40 80%,var(--line))}
.zig > li{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.z-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px 22px}
.z-card h3{font-weight:500;font-size:18px;letter-spacing:-.02em;margin-bottom:10px}
.z-card ul{padding-left:18px;color:var(--mute);font-size:14.5px;display:grid;gap:6px}
.z-card ul li::marker{color:var(--faint)}
.z-more{margin-top:14px;font-size:13.5px;font-weight:500;color:var(--text);border-bottom:1px solid var(--faint);padding-bottom:1px}
.z-more:hover{border-color:var(--pink);color:var(--pink)}
.z-node{position:relative;display:flex;gap:12px;align-items:center;padding-top:18px}
.z-badge{flex:0 0 38px;height:38px;border-radius:9px;display:grid;place-items:center;font-weight:700;font-size:13px;color:#fff;box-shadow:0 0 0 6px var(--bg)}
.z-node b{display:block;font-weight:500}
.z-node time{font:12.5px ui-monospace,Consolas,monospace;color:var(--mute)}
.z-left .z-card{grid-column:1;grid-row:1}
.z-left .z-node{grid-column:2;grid-row:1;margin-left:-51px}
.z-right .z-card{grid-column:2;grid-row:1}
.z-right .z-node{grid-column:1;grid-row:1;justify-self:end;flex-direction:row-reverse;text-align:right;margin-right:-51px}
@media (max-width:760px){
  .zig::before{left:19px}
  .zig > li{grid-template-columns:1fr;gap:12px;padding-left:0}
  .z-left .z-node,.z-right .z-node{grid-column:1;grid-row:1;justify-self:start;flex-direction:row;text-align:left;margin:0}
  .z-left .z-card,.z-right .z-card{grid-column:1;grid-row:2;margin-left:52px}
}

/* big footer + tic-tac-toe */
.site-foot{margin-top:40px;border-top:1px solid var(--line);background:#0d0d0f}
.sf-in{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-top:70px;padding-bottom:80px}
.sf-brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:19px;letter-spacing:-.02em}
.mini-mark{position:relative;width:18px;height:15px;background:var(--pink);border-radius:2px;box-shadow:5px 5px 0 #fff}
.sf-tag{color:var(--mute);font-size:14.5px;margin-top:6px}
.sf-social{display:flex;gap:14px;margin-top:22px}
.sf-social a{width:22px;height:22px;color:#d6d6da;opacity:.85}.sf-social a:hover{opacity:1;color:var(--pink)}
.sf-social svg{width:100%;height:100%}
.sf-game{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:220px}
.sf-game > p:first-child{font-size:14.5px;color:#cfcfd4}
.ttt{display:grid;grid-template-columns:repeat(3,56px);grid-template-rows:repeat(3,56px);gap:1px;background:#3a3a40}
.ttt button{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:#0d0d0f;font:600 26px/1 var(--font);color:var(--text);text-align:center}
.ttt button.o{color:var(--pink)}
.ttt button:not(:disabled):hover{background:#16161a}
.ttt button.win{background:#ff86bf1f}
.ttt-msg{font-size:13px;color:var(--mute);min-height:1.4em}
.ttt-msg button{color:var(--text);border-bottom:1px solid var(--faint);font-size:13px}

/* "turun tangan" canvas: visitor drops a message, the Tyas cursor handles it */
.t-hands{grid-column:span 3;order:1}
.t-shapes{grid-column:span 3;order:1}
.shape{position:absolute;left:0;top:0;width:68px;height:68px;transition:transform 1s cubic-bezier(.6,0,.2,1),opacity .5s;animation:drop .35s cubic-bezier(.2,1.4,.4,1)}
.shape svg{width:100%;height:100%;overflow:visible}
.shape svg *{fill:#26262b;stroke:#e8e8ea;stroke-width:1.6;vector-effect:non-scaling-stroke;transition:fill .3s,stroke .3s}
.shape.held svg *{fill:#ff86bf26;stroke:var(--pink)}
.hands{position:relative;height:250px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#0d0d0f radial-gradient(#ffffff14 1px,transparent 1.2px) 0 0/18px 18px}
.h-tools{position:absolute;z-index:4;top:10px;left:10px;display:flex;gap:2px;padding:4px;background:#151518;border:1px solid var(--line);border-radius:9px}
.h-tools button{width:32px;height:30px;display:grid;place-items:center;border-radius:6px;color:#cfcfd4}
.h-tools button:hover,.h-tools button:focus-visible{background:#26262b;color:#fff}
.h-tools button:disabled{opacity:.35;cursor:default}
.h-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.h-layer{position:absolute;inset:0;z-index:2}
.msgcard{position:absolute;left:0;top:0;max-width:220px;padding:9px 12px;border-radius:12px 12px 12px 4px;background:#1b1b20;border:1px solid #34343b;font-size:13px;line-height:1.35;color:#e4e4e8;box-shadow:0 10px 24px -12px #000;
  transition:transform .9s cubic-bezier(.6,0,.2,1),opacity .4s,border-color .3s,background .3s;animation:drop .35s cubic-bezier(.2,1.4,.4,1)}
@keyframes drop{from{opacity:0;scale:.6}}
.msgcard b{display:block;font-size:11px;font-weight:600;color:var(--mute);margin-bottom:2px}
.msgcard.spam{border-color:#5b2b31;background:#22161a}
.msgcard.held{border-color:var(--pink);box-shadow:0 0 0 3px #ff86bf33,0 10px 24px -12px #000}
.msgcard .reply{display:block;margin-top:6px;padding-top:6px;border-top:1px solid #34343b;color:var(--pink);font-weight:500}
.msgcard .tag{display:inline-block;margin-top:6px;font-size:11px;font-weight:600;color:#0a0a0b;background:var(--pink);border-radius:4px;padding:1px 6px}
.h-cur{position:absolute;z-index:5;left:0;top:0;pointer-events:none}
.h-cur svg{display:block;width:16px;height:18px;stroke:#0a0a0b;stroke-width:1.1;stroke-linejoin:round;filter:drop-shadow(0 2px 3px #0009)}
.h-cur span{position:absolute;left:14px;top:15px;white-space:nowrap;font:600 12px/1 var(--font);padding:4px 7px;border-radius:4px}
.h-tyas{transition:transform 1s cubic-bezier(.6,0,.2,1)}
.h-tyas svg{fill:var(--pink)}.h-tyas span{background:var(--pink);color:#0a0a0b}
@media (prefers-reduced-motion:no-preference){.h-tyas.idle{animation:hover 3s ease-in-out infinite alternate}}
@keyframes hover{to{margin-top:-6px;margin-left:-4px}}
.h-guest{display:none}.h-guest svg{fill:#fff}.h-guest span{background:#fff;color:#0a0a0b}
.hands.has-guest{cursor:none}.hands.has-guest .h-tools button{cursor:none}
.hands.has-guest .h-guest{display:block}
@media (max-width:900px){.t-hands,.t-shapes,.t-term,.t-words{grid-column:span 2}}
@media (max-width:720px){.t-shapes{grid-column:auto}}
@media (max-width:720px){.t-term,.t-words{grid-column:auto}}
@media (max-width:720px){.t-hands{grid-column:auto}.hands{height:280px}.msgcard{max-width:190px}}
/* to top with progress ring */
.totop{position:fixed;z-index:30;right:max(22px,env(safe-area-inset-right,0px));bottom:max(22px,env(safe-area-inset-bottom,0px));width:44px;height:44px;border-radius:50%;background:#0a0a0bcc;backdrop-filter:blur(8px);color:var(--text);opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s;pointer-events:none}
.totop.on{opacity:1;transform:none;pointer-events:auto}
.totop svg{width:100%;height:100%}
.track{fill:none;stroke:var(--line);stroke-width:2}
.prog{fill:none;stroke:var(--pink);stroke-width:2;stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:113.1;transform:rotate(-90deg);transform-origin:center}

/* sheet */
.sheet{margin:auto;width:min(780px,94vw);max-height:88svh;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text);padding:0;overflow:auto;box-shadow:0 40px 80px -30px #000}
.sheet::backdrop{background:#000000c4;backdrop-filter:blur(6px)}
.sheet[open]{animation:pop .35s cubic-bezier(.2,.8,.2,1)}
@keyframes pop{from{opacity:0;transform:translateY(16px) scale(.98)}}
.sheet-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;background:#121214f2;border-bottom:1px solid var(--line)}
.sheet-head h3{font-weight:600;font-size:19px;letter-spacing:-.02em}
.sheet-head button{font-size:13.5px;font-weight:600;color:var(--mute);border:1px solid var(--line);border-radius:20px;padding:4px 12px}
.sheet-head button:hover{color:var(--text)}
.sheet-body{padding:22px}
.lead{color:var(--mute);margin-bottom:18px;max-width:60ch}
.fine{font-size:13px;color:var(--faint);margin-top:12px}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:18px}
.facts.one{grid-template-columns:1fr}
.facts div{background:var(--surface2);padding:12px 14px}
.facts dt{font-size:12px;color:var(--mute)}
.facts dd{font-size:18px;font-weight:700;letter-spacing:-.02em;margin-top:2px}
.console{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#0d0d0f}
.channels{display:flex;gap:4px;padding:10px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.channels::-webkit-scrollbar{display:none}
.channels button{white-space:nowrap;font-size:14px;font-weight:500;color:var(--mute);padding:6px 11px;border-radius:9px}
.channels button[aria-selected="true"]{color:var(--text);background:var(--surface2);box-shadow:inset 0 0 0 1px var(--line)}
.chat{padding:16px;display:flex;flex-direction:column;gap:14px;min-height:180px}
.msg{display:flex;gap:12px;animation:in .3s ease backwards}
.msg:nth-child(2){animation-delay:.08s}.msg:nth-child(3){animation-delay:.16s}
.av{flex:0 0 32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13px;color:#111}
.msg b{font-size:14px}
.bot{font-size:10px;font-weight:700;background:var(--blue);color:#fff;border-radius:4px;padding:1px 5px;margin-left:6px;vertical-align:2px}
.msg p{font-size:14.5px;color:var(--mute);line-height:1.5}
.tagme{color:var(--pink)}
.task{display:flex;flex-direction:column;padding:12px 16px;border-top:1px solid var(--line);font-size:15px}
.task span:first-child{font-size:12px;color:var(--mute)}
.live-grid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:start}
.phone-col{display:flex;flex-direction:column;align-items:center;gap:10px}
.phone-big{width:210px;aspect-ratio:9/18.5;background:#1d1d21;border:2px solid #3a3a40;border-radius:32px;padding:6px}
.pscreen{position:relative;height:100%;border-radius:26px;overflow:hidden;background:#000}
.slides{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.slides::-webkit-scrollbar{display:none}
.slides figure{flex:0 0 100%;scroll-snap-align:start}
.slides img{width:100%;height:100%;object-fit:cover}
.live-badge{position:absolute;z-index:2;top:14px;left:12px;background:#ff2d55;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px}
.slide-cap{position:absolute;z-index:2;left:8px;right:8px;bottom:10px;background:#ffffffeb;color:#111;border-radius:10px;padding:6px 10px;font-size:12.5px;font-weight:600}
.slide-nav{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;max-width:230px}
.slide-nav button{font-size:12.5px;color:var(--mute);padding:3px 10px;border-radius:20px;border:1px solid transparent}
.slide-nav button[aria-selected="true"]{color:var(--text);border-color:var(--line)}
.dash{list-style:none;display:grid;gap:8px}
.dash li{padding-left:18px;position:relative}
.dash li::before{content:"";position:absolute;left:0;top:.7em;width:8px;height:2px;background:var(--pink)}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gallery figure{border-radius:12px;overflow:hidden;position:relative}
.gallery img{width:100%;aspect-ratio:3/4;object-fit:cover}
.gallery .wide{grid-column:span 2}.gallery .wide img{aspect-ratio:16/10}
.gallery figcaption{position:absolute;left:10px;bottom:10px;background:#000000b3;backdrop-filter:blur(6px);font-size:13px;font-weight:600;padding:4px 10px;border-radius:10px}
.artgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.artgrid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}
.vlist{list-style:none;border-top:1px solid var(--line)}
.vlist li{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-weight:500}
.vlist i{width:22px;height:32px;border-radius:6px;background:linear-gradient(160deg,var(--g),#111);flex:0 0 auto}
.vlist span{margin-left:auto;font-size:14px;color:var(--mute)}
.go{display:inline-block;margin-top:18px;background:var(--text);color:#0a0a0b;font-weight:600;padding:10px 18px;border-radius:30px}

/* responsive */
@media (max-width:900px){
  .bento{grid-template-columns:1fr 1fr}
  .t-time,.t-game{grid-column:span 2}
  .t-num,.t-tools{grid-column:span 1}
  .t-tools{grid-column:span 2}
}
@media (max-width:720px){
  .top{padding:20px 20px 0}
  .hero{padding:110px 20px 48px}
  .portrait{align-items:flex-start;padding-top:70px}
  .portrait img{height:auto;width:118%;max-width:none}
  .headline{font-size:clamp(52px,16vw,96px)}
  .proj{grid-template-columns:1fr;height:auto;padding:24px 22px 0;gap:18px}
  .ptext{order:-1;padding-right:30px}
  .mock{height:170px}
  .mock.wide{height:auto;padding-bottom:22px;justify-content:flex-start}
  .photo{width:100%;height:180px}
  .arrow{top:22px;right:20px}
  .bento{grid-template-columns:1fr}
  .t-time,.t-game,.t-num,.t-tools{grid-column:auto;grid-row:auto}
  .rows li{align-items:flex-start}
  .live-grid{grid-template-columns:1fr}
  .facts{grid-template-columns:1fr}
  .wrap{padding-top:90px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
