body{--accent:#e5762f;--accent-2:#8b5cf6;--tint:#f3ecff;--stage:#17142a}
@media (prefers-color-scheme:dark){body{--tint:#241d38}}

.desk{position:relative;display:grid;grid-template-columns:1.25fr 1fr;gap:20px;min-height:470px;padding-bottom:310px}
.source-body{padding:18px 18px 20px}
.source-hint{margin:0 0 12px;font-size:13px;color:#6d655b}
.copyables{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.copyables li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:10px 10px 10px 12px;border-radius:12px;background:#f3f0ea;font-size:14px}
.copyables small{color:#8a8176;margin-left:4px}
.copyables code,.note-body code,.card code{font:500 13px var(--mono)}
.kind{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff}
.kind.text{background:#ee8a3c}.kind.link{background:#8b5cf6}.kind.image{background:#3b82f6}.kind.code{background:#14b8a6;font-family:var(--mono)}.kind.color{background:#fff;color:#ee8a3c;border:1px solid #eadfce}.kind.secret{background:#1d1a16}
.copyables button,.open-panel{min-height:36px;padding:0 14px;border-radius:999px;border:0;background:#1d1a16;color:#fff;font:600 13px var(--body);cursor:pointer;transition:transform .15s,background .2s}
.copyables button:hover{background:var(--accent)}
.copyables button.done{background:#16a34a}
.open-panel{display:inline-flex;gap:6px;align-items:center;background:#ffffff1a;color:#fff;min-height:44px;padding:0 16px 0 10px}
.open-panel:hover{background:#ffffff2e}
.note-body{padding:20px;min-height:200px;font-size:15px;display:grid;gap:10px;align-content:start}
.note-body .placeholder{margin:0;color:#a39b90}
.note-body .pasted{margin:0;padding:10px 12px;border-radius:10px;background:#fff8ef;border-left:3px solid var(--accent);animation:pop .35s cubic-bezier(.2,.9,.3,1.3)}
.note-body .swatch{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:6px}
.note-body .photo{display:block;height:80px;border-radius:8px;background:linear-gradient(180deg,#fbbf24,#f97316 45%,#7c3aed);margin-top:6px}
@keyframes pop{from{transform:scale(.92);opacity:0}}

.panel{position:absolute;left:-8px;right:-8px;bottom:0;padding:14px 16px 12px;border-radius:22px;background:#26213dcc;backdrop-filter:blur(24px) saturate(1.5);-webkit-backdrop-filter:blur(24px) saturate(1.5);border:1px solid #ffffff22;box-shadow:0 -10px 60px -10px #000a;color:#fff;animation:rise .35s cubic-bezier(.2,.8,.2,1)}
.panel[hidden]{display:none}
@keyframes rise{from{transform:translateY(30px);opacity:0}}
.panel-top{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.search{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;max-width:380px;height:38px;padding:0 12px;border-radius:11px;background:#ffffff14;border:1px solid #ffffff1c}
.search svg{width:16px;height:16px;fill:none;stroke:#fff9;stroke-width:2;stroke-linecap:round}
.search input{flex:1;min-width:0;background:transparent;border:0;color:#fff;font:500 14px var(--body);outline:0}
.search input::placeholder{color:#fff8}
.cards{display:flex;gap:12px;overflow-x:auto;list-style:none;margin:0;padding:4px 2px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.card{position:relative;flex:none;width:170px;height:132px;padding:10px 12px;border-radius:14px;background:#fffdf9;color:#1d1a16;scroll-snap-align:start;cursor:pointer;display:flex;flex-direction:column;gap:6px;border:2px solid transparent;transition:transform .2s,border-color .2s;overflow:hidden}
.card:hover{transform:translateY(-3px)}
.card[aria-selected="true"]{border-color:#f59e0b;box-shadow:0 0 0 4px #f59e0b44}
.card .meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8a8176}
.card .app{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#4b443b}
.card .app i{width:14px;height:14px;border-radius:4px;display:inline-block}
.card .body{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.card .thumb{flex:1;border-radius:8px;background:linear-gradient(180deg,#fbbf24,#f97316 45%,#7c3aed)}
.card .chip{display:flex;align-items:center;gap:8px;flex:1}.card .chip span{width:42px;height:42px;border-radius:10px;background:#ee8a3c}
.card .slot{position:absolute;right:8px;bottom:6px;font:700 10px var(--mono);color:#b5ab9e}
.card .pin{position:absolute;left:8px;bottom:6px;font-size:10px;font-weight:700;color:#8b5cf6}
.empty-cards{padding:30px 10px;color:#fffa;font-size:14px}
.panel-foot{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#fffb}
.panel-foot span{display:inline-flex;gap:4px;align-items:center}
.panel kbd{height:22px;min-width:22px;font-size:11px;background:#ffffff1a;border-color:#ffffff2a;color:#fff}

.history-art{display:flex;flex-wrap:wrap;gap:8px}
.history-art span{padding:8px 12px;border-radius:10px;background:var(--card);border:1px solid var(--line);font-size:13px;font-weight:600;animation:drift 8s ease-in-out infinite}
.history-art span:nth-child(2n){animation-delay:-3s}.history-art span:nth-child(3n){animation-delay:-5s}
.history-art .img{width:56px;background:linear-gradient(180deg,#fbbf24,#f97316 45%,#7c3aed)}
@keyframes drift{50%{transform:translateY(-5px)}}

@media (max-width:820px){.desk{grid-template-columns:1fr;padding-bottom:330px}.note-window{order:2}.card{width:150px}}
@media (max-width:640px){.desk{padding-bottom:340px}.panel-foot .no-touch{display:none}}

/* ── Round 2 ─────────────────────────────────────────── */
.hero-scene-wrap{padding-bottom:24px}
.hero-scene-wrap h1{max-width:16ch}
.badge-icon{width:18px;height:18px;border-radius:5px}
.hero-scene{position:relative;margin:56px auto 0;max-width:1080px;aspect-ratio:16/8.4;border-radius:28px;overflow:hidden;box-shadow:0 60px 100px -50px #2a1d5bcc,0 0 0 1px #0000000d;text-align:left;isolation:isolate}
.wallpaper{position:absolute;inset:0;background:linear-gradient(135deg,#a78bfa,#60a5fa 45%,#22d3ee);z-index:-2}
.wallpaper .blob{position:absolute;border-radius:50%;filter:blur(40px);opacity:.8;animation:wander 14s ease-in-out infinite}
.wallpaper .b1{width:46%;height:70%;left:-6%;top:-10%;background:#f9a8d4}.wallpaper .b2{width:40%;height:60%;right:-4%;top:20%;background:#fdba74;animation-delay:-5s}.wallpaper .b3{width:30%;height:40%;left:35%;bottom:-10%;background:#c4b5fd;animation-delay:-9s}
@keyframes wander{50%{transform:translate(4%,6%) scale(1.08)}}
.scene-menubar{position:absolute;top:0;left:0;right:0;height:26px;display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 14px;background:#ffffff40;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);font:600 12px var(--body);color:#1d1a16}
.scene-menubar span:first-child{margin-right:auto}
.menu-icon img{width:16px;height:16px;border-radius:4px}
.scene-window{position:absolute;border-radius:12px;background:#fbfaf7ee;box-shadow:0 30px 60px -30px #0008;overflow:hidden;filter:blur(.4px)}
.scene-window .titlebar{height:30px;font-size:12px}
.scene-window.w1{left:6%;top:15%;width:40%;height:50%}
.scene-window.w2{right:6%;top:11%;width:42%;height:46%}
.scene-lines{display:grid;gap:10px;padding:16px 18px;font-size:14px}
.scene-lines span{height:8px;border-radius:4px;background:#e9e3d8}
.scene-lines span:nth-of-type(2){width:70%}
.scene-lines .typed{height:auto;min-height:22px;background:#fff3e6;border-left:3px solid var(--accent);padding:4px 8px;font-size:13px;opacity:0;transition:opacity .3s}
.scene-lines .typed.show{opacity:1}
.scene-page{display:grid;gap:9px;padding:14px}.scene-page span{height:8px;border-radius:4px;background:#e9e3d8}.scene-page .hero-img{height:90px;border-radius:8px;background:linear-gradient(180deg,#fbbf24,#f97316 45%,#7c3aed)}
.scene-strip{position:absolute;left:4%;right:4%;bottom:5%;padding:12px;border-radius:20px;background:#221d3acc;backdrop-filter:blur(22px) saturate(1.5);-webkit-backdrop-filter:blur(22px) saturate(1.5);border:1px solid #ffffff26;box-shadow:0 -10px 50px -10px #0009;animation:strip-rise 1s .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes strip-rise{from{transform:translateY(120%)}}
.scene-search{display:flex;align-items:center;gap:8px;width:min(260px,60%);height:30px;padding:0 10px;margin-bottom:10px;border-radius:9px;background:#ffffff18;color:#fff;font:500 13px var(--body)}
.scene-search svg{width:14px;height:14px;fill:none;stroke:#fffa;stroke-width:2}
.caret{width:1.5px;height:14px;background:#fff;animation:blink 1s steps(1) infinite}@keyframes blink{50%{opacity:0}}
.scene-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mini-card{height:96px;padding:8px 10px;border-radius:12px;background:#fffdf9;color:#1d1a16;border:2px solid transparent;transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .3s,opacity .3s;overflow:hidden}
.mini-card small{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#4b443b}
.mini-card small i{width:10px;height:10px;border-radius:3px;display:inline-block}
.mini-card p{margin:6px 0 0;font-size:12px;line-height:1.35}
.mini-card code{font:500 12px var(--mono)}
.mini-card .thumb{display:block;height:58px;margin-top:6px;border-radius:7px;background:linear-gradient(180deg,#fbbf24,#f97316 45%,#7c3aed)}
.mini-card .sw{display:inline-block;width:14px;height:14px;border-radius:4px;background:#ee8a3c;vertical-align:-3px;margin-right:5px}
.mini-card.on{border-color:#f59e0b;transform:translateY(-6px);box-shadow:0 0 0 4px #f59e0b44}
.mini-card.out{opacity:.25}
@media (max-width:820px){.hero-scene{aspect-ratio:4/3.6}.scene-window.w2{display:none}.scene-window.w1{width:88%;height:42%}.scene-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.mini-card:nth-child(n+4){display:none}}
@media (max-width:480px){.hero-scene{aspect-ratio:3/3.6;margin-top:36px}.scene-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-card:nth-child(n+3){display:none}}

/* Walkthrough */
.step-pill{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--tint);color:var(--accent-ink);font-weight:700;font-size:13px}
.walk-card{position:relative;aspect-ratio:5/4;border-radius:28px;background:linear-gradient(140deg,#2a2347,#17142a);box-shadow:var(--shadow);overflow:hidden}
.wv{position:absolute;inset:9%;display:grid;align-content:center;gap:12px;opacity:0;transform:translateY(16px) scale(.98);transition:opacity .45s,transform .45s}
.walk-visual[data-active="copy"] .wv-copy,.walk-visual[data-active="find"] .wv-find,.walk-visual[data-active="paste"] .wv-paste,.walk-visual[data-active="pin"] .wv-pin{opacity:1;transform:none}
.wv-doc{display:grid;gap:12px;padding:22px;border-radius:16px;background:#fbfaf7;color:#1d1a16;font-size:15px}
.wv-doc span{height:10px;border-radius:5px;background:#ece6dc}
.wv-doc .sel{height:auto;padding:4px 6px;background:#c7d7fe;border-radius:4px}
.wv-doc .pasted{height:auto;padding:8px 10px;background:#fff3e6;border-left:3px solid var(--accent);animation:pop .4s}
.wv-toast{justify-self:center;padding:8px 14px;border-radius:999px;background:#ffffff1f;color:#fff;font-size:13px;font-weight:600}
.wv-search{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:#ffffff1a;color:#fff;font-weight:600}
.wv-search svg{width:16px;height:16px;fill:none;stroke:#fffa;stroke-width:2}
.wv-row{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:14px;background:#fbfaf7;color:#1d1a16;font-size:14px;font-weight:600}
.wv-row i{width:14px;height:14px;border-radius:4px;flex:none}
.wv-row.on{box-shadow:0 0 0 3px #f59e0b}.wv-row.dim{opacity:.35}
.wv-key{justify-self:end}.wv-key kbd{width:54px;height:44px;font-size:18px;background:#ffffff1a;border-color:#ffffff33;color:#fff}
.wv-boards{display:flex;gap:8px;flex-wrap:wrap}.wv-boards span{padding:8px 12px;border-radius:999px;background:#ffffff14;color:#fffc;font-size:13px;font-weight:600}.wv-boards .on{background:#ffffff2e;color:#fff}
.bento.three{margin-top:48px}

/* Touch targets and touch pinning */
.copyables button,.segmented button,.open-panel{min-height:44px}
.card{height:150px}
.card .pin-btn{position:absolute;right:6px;top:30px;width:44px;height:44px;border:0;border-radius:12px;background:transparent;font-size:16px;cursor:pointer;opacity:.35;transition:opacity .2s,background .2s}
.card .pin-btn:hover,.card .pin-btn:focus-visible,.card .pin-btn[aria-pressed="true"]{opacity:1;background:#f3ecff}
.card .pin{font-size:12px}
.card .slot{font-size:12px}
.card .meta{font-size:12px}
.copyables small{font-size:12px}
.source-hint{font-size:14px}
.panel-foot{font-size:13px}
@media (prefers-reduced-motion:reduce){.scene-strip{animation:none}.wv{transition:none}}

