:root{--bg:#fcfcfb;--card:#fff;--line:rgba(20,20,22,.09);--edge:rgba(20,20,22,.17);--text:#15151a;--dim:#63625f;--accent:#15151a;--now:#f26b1d;--lift:0 1px 2px rgba(20,20,22,.045),0 7px 20px -8px rgba(20,20,22,.14);
 --inter:"InterVariable","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--body:"Mulish",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
:root[data-theme=dark]{--bg:#0c0c10;--card:#17171d;--line:rgba(255,255,255,.09);--edge:rgba(255,255,255,.2);--text:#f3f3f6;--dim:#a4a6b3;--accent:#f3f3f6;--now:#ff8a3d;--lift:0 8px 24px -8px rgba(0,0,0,.65);color-scheme:dark}
:root[data-theme=gray]{--bg:#d4d5d8;--card:#e4e5e8;--line:rgba(0,0,0,.12);--edge:rgba(0,0,0,.28);--text:#16161a;--dim:#45464d;--accent:#16161a}
*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}
body{background:var(--bg);color:var(--text);font-family:var(--body);-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;overflow:hidden}
.top{flex:none;padding:max(8px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:8px;border-bottom:1px solid var(--line);background:var(--bg)}
.brand{display:flex;align-items:center;gap:12px}.brand>div{flex:1;min-width:0}
.logo{width:44px;height:44px;border-radius:12px;display:block}
h1{font:900 clamp(24px,7vw,32px)/1 var(--inter);letter-spacing:-.02em}.tag{font:700 11px/1.2 var(--inter);letter-spacing:.08em;text-transform:uppercase;color:var(--now);margin-top:3px}
.tbtn{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--edge);background:var(--card);box-shadow:var(--lift);cursor:pointer;display:grid;place-items:center}.tbtn img{width:26px;height:26px}
.sections{display:flex;gap:6px}
.sections button{flex:1;font:800 15px/1 var(--inter);padding:13px 6px;border-radius:14px;border:1px solid var(--edge);background:var(--card);color:var(--dim);cursor:pointer}
.sections button[aria-selected=true]{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.styleswitch{display:flex;padding:3px;border-radius:999px;background:var(--card);border:1px solid var(--edge);box-shadow:var(--lift);align-self:stretch;max-width:420px}
.styleswitch button{flex:1;cursor:pointer;border:0;background:transparent;color:var(--dim);font:700 12.5px/1 var(--inter);padding:9px 0;border-radius:999px}
.styleswitch button[aria-pressed=true]{background:var(--accent);color:var(--bg)}
#frames{flex:1;min-height:0;position:relative}
#frames iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--bg);display:none}
#frames iframe.on{display:block}
