/* Layout: a transit map read from the top. The goal is the terminus, three coloured lines (games, tabletop, tools) run up to it through white ringed stations, and everything else is flat paper. */
:root{
  --bg:#F2EFE7; --surface:#FFFFFF; --sunk:#E6E2D8; --ink:#26272B; --muted:#6B6B6B; --line:#D3CEC2;
  --red:#E4372E; --blue:#1F6DB5; --yellow:#F2B705; --green:#2E9E5B; --on-color:#FFFFFF; --on-yellow:#2A2100;
  --display:"Jost","Century Gothic","Avenir Next",system-ui,sans-serif;
  --body:"DM Sans","Segoe UI",system-ui,-apple-system,sans-serif;
  --r-lg:22px; --r-md:16px; --r-sm:10px;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#1D1E22; --surface:#292A2F; --sunk:#141518; --ink:#F0EEE8; --muted:#A3A29C; --line:#3D3E44;
  --red:#F0534A; --blue:#4B95DA; --yellow:#F5C431; --green:#44B872; --on-color:#FFFFFF; --on-yellow:#2A2100; color-scheme:dark } }
:root[data-theme="dark"]{
  --bg:#1D1E22; --surface:#292A2F; --sunk:#141518; --ink:#F0EEE8; --muted:#A3A29C; --line:#3D3E44;
  --red:#F0534A; --blue:#4B95DA; --yellow:#F5C431; --green:#44B872; --on-color:#FFFFFF; --on-yellow:#2A2100; color-scheme:dark }

*{box-sizing:border-box; scrollbar-width:none; -webkit-tap-highlight-color:transparent}
*::-webkit-scrollbar{display:none}
html{-webkit-text-size-adjust:100%}
body{margin:0; background:var(--bg); color:var(--ink); font:16px/1.45 var(--body)}
button,input,textarea{font:inherit; color:inherit}
button{cursor:pointer; border:0; background:none; padding:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--blue); outline-offset:2px; border-radius:8px}
h1,h2,h3{font-family:var(--display); margin:0; text-wrap:balance; font-weight:600}
p{margin:0}
.wrap{max-width:720px; margin:0 auto; padding-block:18px 64px;
  padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px));
  display:flex; flex-direction:column; gap:30px}

.top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.brand{display:flex; align-items:center; gap:10px}
.brand .mark{width:44px; height:44px; flex:none; display:block}
.brand .mark img{width:100%; height:100%; display:block}
.brand h1{font:700 28px/1 "Pixelify Sans",var(--display); letter-spacing:.02em}
.round{width:44px; height:44px; flex:none; border-radius:50%; display:grid; place-items:center; background:var(--surface); border:2.5px solid var(--ink)}
.round svg{width:20px; height:20px}

.label{font:600 12.5px var(--display); letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.sec{display:flex; flex-direction:column; gap:12px}
.sechead{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.sechead h2{font-size:21px; white-space:nowrap}
.sechead span{color:var(--muted); font-size:14px; text-align:right}

/* GOAL */
.goal{display:flex; flex-direction:column; gap:12px}
.goal ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px}
.goal li{display:flex; gap:12px; align-items:flex-start; font:500 19px/1.3 var(--display); text-wrap:balance}
.goal svg{width:20px; height:20px; flex:none; margin-top:3px}

/* round action buttons, always one row */
.acts{display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:4px}
.act{display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none; font:600 12.5px/1.15 var(--display); text-align:center; min-width:0}
.act i{width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--surface); border:3px solid var(--ink); color:var(--ink)}
.act svg{width:22px; height:22px}
.act.go i{background:var(--green); border-color:var(--green); color:var(--on-color)}
.act.on i{background:var(--yellow); border-color:var(--yellow); color:var(--on-yellow)}
.btn{min-height:44px; padding:0 18px; border-radius:999px; font:600 15px var(--display); display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; white-space:nowrap; align-self:flex-start}
.btn.solid{background:var(--ink); color:var(--bg)}
.btn.line{background:var(--surface); border:2.5px solid var(--ink)}

/* NOW */
.now{background:var(--surface); border-radius:var(--r-lg); padding:18px; display:flex; flex-direction:column; gap:14px; border-top:8px solid var(--red)}
.now .label{color:var(--red)}
.now .who{display:flex; align-items:center; gap:10px; font:600 16px var(--display); text-align:left}
.now .task{font:600 24px/1.2 var(--display); text-wrap:balance}
.now .why{font-size:14px; color:var(--muted)}

.tile{width:46px; height:46px; flex:none; border-radius:13px; background:var(--sunk); display:grid; place-items:center; font-size:24px; line-height:1; overflow:hidden}
.tile img{width:100%; height:100%; object-fit:cover; display:block}
.tile.sm{width:38px; height:38px; border-radius:11px; font-size:19px}
.ring{border-radius:14px; padding:2.5px; display:block}
.ring.game{background:var(--red)} .ring.tabletop{background:var(--blue)} .ring.tool{background:var(--yellow)}
.ring .tile{border:2px solid var(--surface)}
.starred{position:relative}
.starred::after{content:""; position:absolute; right:-5px; top:-5px; width:14px; height:14px; border-radius:50%; background:var(--yellow); border:2.5px solid var(--ink)}

/* FOCUS */
.focus{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px}
.slot{border-radius:var(--r-md); padding:14px; min-height:78px; display:flex; gap:12px; align-items:center; text-align:left; width:100%}
.slot.full{background:var(--surface)}
.slot.empty{border:2.5px dashed var(--line); color:var(--muted); font-size:14px}
.slot .txt{min-width:0; display:flex; flex-direction:column; gap:2px}
.slot b{font:600 17px var(--display)}
.slot .sub{font-size:14px; color:var(--muted)}

/* PATH */
.path{position:relative; padding:4px 0}
.path > svg{position:absolute; left:0; top:0; width:68px; height:100%; overflow:visible; pointer-events:none}
.stop{position:relative; padding:14px 0 14px 76px; display:flex; flex-direction:column; gap:8px}
.stop h3{font-size:18px; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.stop p{font-size:14px; color:var(--muted)}
.stop.ahead h3{color:var(--muted)}
.stop.goalstop h3{color:var(--ink); font-weight:700}
.count{font:600 13px var(--display); min-width:24px; height:24px; padding:0 7px; border-radius:12px; background:var(--ink); color:var(--bg); display:inline-grid; place-items:center}
.stop.ahead .count{background:var(--line); color:var(--ink)}
.chips{display:flex; flex-wrap:wrap; gap:6px}
.how{font-size:14px}
.how summary{cursor:pointer; list-style:none; font:600 13.5px var(--display); min-height:32px; display:flex; align-items:center; gap:6px}
.how summary::-webkit-details-marker{display:none}
.how summary::before{content:"+"; width:18px; height:18px; border-radius:50%; border:2px solid var(--ink); display:grid; place-items:center; font-size:13px; line-height:1}
.how[open] summary::before{content:"–"}
.how ul{margin:4px 0 0; padding:0 0 0 18px; display:flex; flex-direction:column; gap:5px}
.lead{display:flex; align-items:center; gap:10px; background:var(--surface); border-radius:var(--r-md); padding:10px 12px; text-align:left; font-size:14px; width:100%}
.lead b{font:600 15px var(--display); display:block}
.legend{display:flex; flex-wrap:wrap; gap:6px 16px; font:500 13.5px var(--display); color:var(--muted); padding-left:76px}
.legend span{display:flex; align-items:center; gap:6px}
.legend i{width:14px; height:14px; border-radius:5px}
.srcnote{font-size:13px; color:var(--muted); padding-left:76px}

/* BASICS */
.basics{background:var(--surface); border-radius:var(--r-lg); padding:6px 16px}
.brow{display:grid; grid-template-columns:1fr 96px 44px; gap:10px; align-items:center; padding:9px 0; font-size:15px}
.brow + .brow{border-top:1.5px solid var(--sunk)}
.bar{height:8px; border-radius:4px; background:var(--sunk); overflow:hidden}
.bar i{display:block; height:100%; border-radius:4px; background:var(--green)}
.brow .n{font:600 13.5px var(--display); text-align:right; font-variant-numeric:tabular-nums; color:var(--muted)}

/* LIST */
.filters{display:flex; gap:5px; align-items:center; overflow-x:auto}
.chip{height:40px; padding:0 11px; border-radius:20px; background:var(--surface); border:2.5px solid transparent; font:600 14px var(--display); white-space:nowrap; flex:none}
.chip[aria-pressed="true"]{border-color:var(--ink)}
.filters .round{margin-left:auto; width:40px; height:40px}
.sortnote{font-size:13px; color:var(--muted)}
.cards{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:8px}
.card{background:var(--surface); border-radius:var(--r-md); padding:12px 6px 12px 12px; display:flex; gap:6px; align-items:center}
.card .main{flex:1; min-width:0; text-align:left; display:flex; gap:12px; align-items:flex-start}
.card .txt{display:flex; flex-direction:column; gap:3px; min-width:0}
.card b{font:600 17px var(--display)}
.card .tag{font-size:14px; color:var(--muted)}
.meta{display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.meta .st{color:var(--ink); font-weight:600}
.starbtn{width:44px; height:44px; flex:none; display:grid; place-items:center; color:var(--line)}
.starbtn svg{width:24px; height:24px}
.starbtn.on{color:var(--yellow)}
.more{align-self:center}
details.hid{background:var(--sunk); border-radius:var(--r-md); padding:4px 14px}
details.hid summary{min-height:44px; display:flex; align-items:center; font:600 15px var(--display); color:var(--muted); cursor:pointer; list-style:none}
details.hid summary::-webkit-details-marker{display:none}
.hrow{display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1.5px solid var(--line)}
.hrow span.nm{flex:1; min-width:0}

/* SHEET */
.scrim{position:fixed; inset:0; background:rgba(20,20,22,.55); z-index:20; display:flex; justify-content:center; align-items:flex-end}
.sheet{background:var(--bg); width:100%; max-width:680px; max-height:100%; overflow-y:auto; border-radius:var(--r-lg) var(--r-lg) 0 0;
  padding:16px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  margin-top:calc(24px + env(safe-area-inset-top, 0px)); display:flex; flex-direction:column; gap:16px}
@media (min-width:720px){ .scrim{align-items:center} .sheet{border-radius:var(--r-lg); max-height:90%} }
.shead{display:flex; gap:12px; align-items:center}
.shead .t{flex:1; min-width:0}
.shead h2{font-size:23px; font-weight:700}
.shead p{color:var(--muted); font-size:14.5px}
.block{background:var(--surface); border-radius:var(--r-md); padding:14px 16px; display:flex; flex-direction:column; gap:8px}
.block p{font-size:15.5px}
.block .hint{font-size:13px; color:var(--muted)}
.mini{display:flex; align-items:center; height:22px; position:relative}
.mini::before{content:""; position:absolute; left:0; right:0; top:50%; height:7px; margin-top:-3.5px; border-radius:4px; background:var(--line)}
.mini .fill{position:absolute; left:0; top:50%; height:7px; margin-top:-3.5px; border-radius:4px}
.mini .fill.game{background:var(--red)} .mini .fill.tabletop{background:var(--blue)} .mini .fill.tool{background:var(--yellow)}
.mini i{position:relative; flex:1; display:flex; justify-content:flex-end}
.mini i:first-child{flex:0}
.mini i::after{content:""; width:12px; height:12px; border-radius:50%; background:var(--surface); border:3px solid var(--line)}
.mini i.done::after{border-color:var(--ink)}
.mini i.here::after{width:20px; height:20px; border-color:var(--ink); border-width:4px}
.mini i.dream::after{background:var(--yellow); border-color:var(--ink)}
.minicap{display:flex; justify-content:space-between; gap:10px; font-size:13.5px; color:var(--muted)}
.minicap b{color:var(--ink)}
textarea.fit{width:100%; border:0; background:transparent; resize:none; overflow:hidden; padding:0; font-size:15.5px; line-height:1.45; field-sizing:content; min-height:1.45em; display:block}
textarea.fit::placeholder, input::placeholder{color:var(--muted)}
textarea.fit:focus{outline:none}
.dreamq{border-top:6px solid var(--yellow)}
.dreamq h3{font-size:19px}
.opts{display:flex; flex-direction:column; gap:6px}
.opt{min-height:44px; text-align:left; padding:8px 14px; border-radius:var(--r-sm); background:var(--bg); border:2.5px solid transparent; font:500 15px var(--display)}
.opt[aria-pressed="true"]{border-color:var(--ink); font-weight:600}
.list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.list li{display:flex; gap:10px; align-items:flex-start; padding:7px 0}
.list li + li{border-top:1.5px solid var(--sunk)}
.check{width:26px; height:26px; flex:none; border-radius:50%; border:3px solid var(--ink); display:grid; place-items:center; margin-top:1px}
.check svg{width:14px; height:14px; opacity:0}
li.done .check{background:var(--green); border-color:var(--green); color:var(--on-color)}
li.done .check svg{opacity:1}
li.done .tx{color:var(--muted); text-decoration:line-through}
.list .tx{flex:1; min-width:0; font-size:15.5px; text-align:left}
.dot{width:9px; height:9px; border-radius:50%; background:var(--yellow); flex:none; margin:7px 8px 0}
.x{color:var(--muted); width:28px; height:28px; flex:none; font-size:18px; line-height:1}
.add{display:flex; gap:8px; align-items:center; border-top:1.5px solid var(--sunk); padding-top:8px}
.add input{flex:1; min-width:0; border:0; background:transparent; min-height:38px; font-size:15px}
.add input:focus{outline:none}
.add button{width:34px; height:34px; border-radius:50%; border:2.5px solid var(--ink); font-weight:700; font-size:18px; line-height:1}
.bgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:4px 12px}
.bitem{display:flex; align-items:center; gap:8px; min-height:36px; text-align:left; font-size:14.5px}
.bitem i{width:20px; height:20px; flex:none; border-radius:50%; border:2.5px solid var(--line); display:grid; place-items:center}
.bitem i svg{width:11px; height:11px; opacity:0}
.bitem.ok i{background:var(--green); border-color:var(--green); color:var(--on-color)}
.bitem.ok i svg{opacity:1}
.bitem:not(.ok){font-weight:600}
.src{font-size:13px; color:var(--muted)}
.toast{position:fixed; left:50%; transform:translateX(-50%); bottom:calc(20px + env(safe-area-inset-bottom, 0px)); background:var(--ink); color:var(--bg); padding:10px 18px; border-radius:999px; font:600 14.5px var(--display); z-index:40; max-width:calc(100% - 32px); text-align:center}
.paste{width:100%; background:var(--sunk); border:0; border-radius:var(--r-sm); padding:10px 12px; font:13px/1.4 ui-monospace,Menlo,Consolas,monospace; resize:none; field-sizing:content; min-height:3.2em; max-height:9em; overflow:auto}
@media (prefers-reduced-motion:no-preference){ .sheet{animation:up .22s ease-out} @keyframes up{from{transform:translateY(24px); opacity:.6}} }

.topbtns{display:flex; gap:8px}
.tile svg{width:22px; height:22px}
.msgs{display:flex; flex-direction:column; gap:8px}
.msg{max-width:88%; padding:10px 14px; border-radius:18px; font-size:15.5px; overflow-wrap:anywhere}
.msg.me{align-self:flex-end; background:var(--ink); color:var(--bg); border-bottom-right-radius:6px}
.msg.ai{align-self:flex-start; background:var(--surface); border-bottom-left-radius:6px}
.msg.err{color:var(--red); font-size:14px}
.keep{display:block; margin-top:8px; font:600 12.5px var(--display); color:var(--muted); text-decoration:underline; min-height:28px}
.chatform{display:flex; gap:8px; align-items:flex-end; background:var(--surface); border-radius:24px; padding:8px 8px 8px 16px; border:2.5px solid var(--ink)}
.chatform textarea{padding:8px 0}
.sendbtn{background:var(--ink); color:var(--bg); width:40px; height:40px}
.chatacts{display:flex; flex-wrap:wrap; gap:8px}
.chatacts .btn svg{width:18px; height:18px}
.field{width:100%; min-height:44px; border:2.5px solid var(--line); border-radius:var(--r-sm); background:var(--bg); padding:0 12px; font-size:15px}
.field:focus{outline:none; border-color:var(--ink)}

.pending{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; background:var(--surface); border-radius:var(--r-md); padding:12px 14px; font-size:14.5px; border-left:8px solid var(--yellow)}
.pending span{flex:1; min-width:150px}
.pending .btn{align-self:center} .pending .btn svg{width:18px; height:18px}
.doit{width:30px; height:30px; flex:none; border-radius:50%; border:2.5px solid var(--ink); display:grid; place-items:center; margin-top:-1px}
.doit svg{width:15px; height:15px}
.donebox summary{cursor:pointer; list-style:none; min-height:28px; display:flex; align-items:center}
.donebox summary::-webkit-details-marker{display:none}

.leadnote{font:600 13.5px var(--display); color:var(--ink) !important}
.hero{background:var(--hc); color:#fff; margin:-16px calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding:20px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); border-radius:var(--r-lg) var(--r-lg) 0 0; display:flex; flex-direction:column; gap:18px}
.hero .shead{align-items:flex-start}
.hero .shead h2{font-size:27px; line-height:1.1}
.hero .shead p{color:rgba(255,255,255,.82); font-size:15px; margin-top:4px}
.hero .round{background:transparent; border-color:rgba(255,255,255,.7); color:#fff}
.hero .act i{background:rgba(255,255,255,.14); border-color:#fff; color:#fff}
.hero .act.on i{background:var(--yellow); border-color:var(--yellow); color:var(--on-yellow)}
.tile.lg{width:68px; height:68px; border-radius:18px; font-size:36px; background:rgba(255,255,255,.16); box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.grp{font:600 12px var(--display); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:4px}
.grp.rn{color:var(--red)}
.mini-btn{width:28px; height:28px; flex:none; border-radius:50%; border:2.5px solid var(--ink); display:grid; place-items:center}
.mini-btn svg{width:14px; height:14px}
.list li{gap:8px}
.hintfill{text-align:left; font-size:13.5px; color:var(--muted); min-height:32px}
.hintfill u{color:var(--ink); font-weight:600; white-space:nowrap}

.added{display:block; margin-top:8px; padding:8px 10px; border-radius:10px; background:var(--bg); font-size:13.5px; border-left:5px solid var(--green); color:var(--ink)}
.added.undone{border-left-color:var(--line); color:var(--muted); text-decoration:line-through}
.added button{font:600 13px var(--display); text-decoration:underline; margin-left:6px; min-height:24px}
.msg.me .keep{color:inherit; opacity:.75}
.msg.me .added{background:transparent; color:inherit; border:1.5px solid currentColor; border-left-width:5px}

#docbody p{font-size:15.5px}
.acts .act span{white-space:nowrap}
@media (max-width:380px){ .hero .act i{width:46px; height:46px} }

.hero{gap:14px}
.quote{display:flex; gap:6px; align-items:flex-start; font:500 16.5px/1.4 var(--display); font-style:italic}
.quote > span{font-size:34px; line-height:.9; opacity:.6; font-style:normal}
.quote textarea{color:#fff; font:inherit; line-height:1.4}
.quote textarea::placeholder{color:rgba(255,255,255,.6)}
.hero .acts{gap:2px}
.hero .act i{width:46px; height:46px}
.hero .act svg{width:20px; height:20px}
.hero .act{font-size:12px}
.jump{border-left:8px solid var(--red)}
.jtask{font:600 21px/1.25 var(--display) !important; text-wrap:balance}
.jump .btn svg{width:18px; height:18px}
.shot{display:block; flex:none; position:relative; border-radius:var(--r-md); overflow:hidden; background:var(--sunk); text-decoration:none}
.shot{align-self:center; max-width:min(100%, 300px)}
.shot.wide{max-width:100%}
.shot img{display:block; width:100%; height:auto}
.shot span{position:absolute; left:10px; bottom:10px; background:rgba(20,20,22,.72); color:#fff; font:600 12.5px var(--display); padding:5px 10px; border-radius:999px}
.more summary{cursor:pointer; list-style:none; min-height:28px; display:flex; align-items:center}
.more summary::-webkit-details-marker{display:none}
.more[open] summary{margin-bottom:4px}

/* gates */
.ring.nfp{background:repeating-linear-gradient(45deg,var(--line) 0 4px,var(--muted) 4px 8px)}
.legend i.nfpkey{background:repeating-linear-gradient(45deg,var(--line) 0 3px,var(--muted) 3px 6px)}
.act.go i{background:var(--ink); border-color:var(--ink); color:var(--bg)}
.moreacts{display:flex; flex-wrap:wrap; gap:8px}
.moreacts .btn{background:rgba(255,255,255,.14); color:#fff; border:2px solid rgba(255,255,255,.8); min-height:40px; align-self:auto}
.moreacts .btn[aria-pressed="true"]{background:var(--yellow); border-color:var(--yellow); color:var(--on-yellow)}
.bar.big{height:10px; border-radius:5px; margin:2px 0 4px}
.bar.big i{border-radius:5px}
.doneitems summary{cursor:pointer; list-style:none; font:600 13.5px var(--display); color:var(--muted); min-height:36px; display:flex; align-items:center; gap:6px; border-top:1.5px solid var(--sunk)}
.doneitems summary::-webkit-details-marker{display:none}
.doneitems summary::before{content:"+"; width:18px; height:18px; border-radius:50%; border:2px solid var(--muted); display:grid; place-items:center; font-size:13px; line-height:1}
.doneitems[open] summary::before{content:"–"}
.check{cursor:pointer}
/* gallery */
.gallery{display:flex; flex-direction:column; gap:6px; flex:none}
.reel{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 0; margin:0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline:max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); scroll-padding-inline:16px}
.reel.one{justify-content:center}
.frame{flex:none; width:min(62vw, 250px); scroll-snap-align:start; position:relative; border-radius:var(--r-md); overflow:hidden; background:var(--sunk)}
.reel.wide .frame{width:min(86vw, 520px)}
.frame img, .frame video{display:block; width:100%; height:auto}
.frame .cap, .yt span{position:absolute; left:8px; bottom:8px; background:rgba(20,20,22,.72); color:#fff; font:600 12px var(--display); padding:4px 9px; border-radius:999px}
.yt{display:block}
.reelnote{font:600 12.5px var(--display); color:var(--muted); text-align:center; font-variant-numeric:tabular-nums}

.reel{cursor:grab} .reel.dragging{cursor:grabbing; scroll-snap-type:none; user-select:none}
.reel img{-webkit-user-drag:none; user-select:none}
.reelnav{display:flex; align-items:center; justify-content:center; gap:14px}
.reelnav .round{width:36px; height:36px} .reelnav .round svg{width:16px; height:16px}

.wrap{gap:24px}
.goal{margin-top:-12px}
.motto{font:500 18px/1.35 var(--display); font-style:italic; text-wrap:balance; display:flex; gap:6px; align-items:flex-start; color:var(--ink)}
.motto span{font-size:34px; line-height:.9; color:var(--muted); font-style:normal}
.recent{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x proximity; margin:0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline:max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); scroll-padding-inline:16px}
.rcard{flex:1 0 118px; max-width:150px; scroll-snap-align:start; display:flex; flex-direction:column; gap:3px; text-align:left; min-width:0}
.rimg{display:block; width:100%; aspect-ratio:9/16; border-radius:var(--r-md); overflow:hidden; background:var(--sunk); margin-bottom:4px}
.rimg img{width:100%; height:100%; object-fit:cover; object-position:top; display:block}
.rcard.wide .rimg img{object-position:left top}
.rimg.icon{display:grid; place-items:center}
.rimg.icon .tile img{object-fit:cover}
.rcard b{font:600 15px/1.2 var(--display); overflow-wrap:anywhere}
.rcard span:last-child{font-size:12.5px; color:var(--muted)}
.moreacts a.btn{text-decoration:none}

.skill{display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:10px 0; border-top:1.5px solid var(--sunk)}
.skill b{font:600 16px var(--display)}
.skill p{flex-basis:100%; font-size:14.5px}
.skill .pill{font:600 11.5px var(--display); padding:2px 8px; border-radius:999px; background:var(--sunk)}
.skill .btn{min-height:38px; margin-top:4px}

.docs{border-left:8px solid var(--blue)}
.docrow{display:flex; align-items:center; gap:6px; padding:6px 0}
.docrow + .docrow, .how + .docrow{border-top:1.5px solid var(--sunk)}
.doclink{flex:1; min-width:0; display:flex; gap:10px; align-items:center; text-decoration:none; min-height:44px}
.doclink i{width:36px; height:36px; flex:none; border-radius:10px; background:var(--blue); color:#fff; display:grid; place-items:center}
.doclink i svg{width:19px; height:19px}
.doclink span{min-width:0; display:flex; flex-direction:column}
.doclink b{font:600 16px/1.25 var(--display); overflow-wrap:anywhere; text-decoration:underline; text-decoration-thickness:1.5px; text-underline-offset:3px}
.doclink em{font-style:normal; font-size:13px; color:var(--muted)}
.docrow .x{width:36px; height:36px; font-size:22px}
.frame.vid{width:min(86vw, 520px); align-self:center}

.flag{color:var(--red); font-weight:600}
.redflag{margin:0 0 10px; padding:10px 12px; border-radius:12px; border:1.5px solid var(--red); color:var(--red); font:500 14px/1.35 var(--body,inherit)}

/* PIXEL LOOK: picked under the menu. One committed look, taken from the logo: dusk purple, sunset orange, sea blue, hard edges. */
:root[data-skin="pixel"][data-skin]{
  --bg:#1C0F45; --surface:#2D1A6B; --sunk:#130930; --ink:#FFF4DC; --muted:#C9B6F5; --line:#5A3FB0;
  --red:#FF4D5E; --blue:#3FBBFF; --yellow:#FFC42E; --green:#4FE38F; --on-color:#1C0F45; --on-yellow:#2A1500;
  --display:"Pixelify Sans","Jost",system-ui,sans-serif; --r-lg:0px; --r-md:0px; --r-sm:0px; color-scheme:dark }
:root[data-skin="pixel"] *{border-radius:0!important}
:root[data-skin="pixel"] body{background:linear-gradient(#5B2BB5 0,#C2378F 150px,#FF8A2B 250px,#1C0F45 250px) no-repeat, var(--bg); background-size:100% 250px,auto}
:root[data-skin="pixel"] .brand h1{color:#FFE66B; text-shadow:3px 3px 0 #1C0F45; font-size:32px}
:root[data-skin="pixel"] .round, :root[data-skin="pixel"] .btn, :root[data-skin="pixel"] .act i{box-shadow:3px 3px 0 #0B0522}
:root[data-skin="pixel"] .btn.solid{background:var(--yellow); color:var(--on-yellow)}
:root[data-skin="pixel"] .btn.line{border-color:var(--yellow)}
:root[data-skin="pixel"] .block, :root[data-skin="pixel"] .sheet{box-shadow:none}
:root[data-skin="pixel"] .label{color:var(--yellow)}
:root[data-skin="pixel"] .tile img, :root[data-skin="pixel"] .brand .mark img{image-rendering:auto}
:root[data-skin="pixel"] .motto{color:#FFF4DC; text-shadow:2px 2px 0 #1C0F45}
