/* bloxTradr live demo: a pretend desktop (Windows 11 / Windows 10 / macOS / Linux) around the real app screens */
@font-face { font-family: "Geist"; src: url("app/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("app/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("app/fonts/geist-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("app/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #06080b; --panel: #0d1117; --panel-2: #121821; --line: #1c2430; --line-2: #2a3442;
  --ink: #e7ecf3; --muted: #8b96a7; --up: #1fe08f; --up-dim: rgba(31,224,143,.12); --blue: #3d7bff; --amber: #ffb547;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; overflow: hidden; display: flex; flex-direction: column; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- demo bar (not part of the pretend desktop) ---------- */
.dbar { flex: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px max(14px, env(safe-area-inset-right, 0px)) 8px max(14px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); background: rgba(6,8,11,.92); position: relative; z-index: 50; }
.dbar .brand { display: flex; align-items: center; gap: 9px; font-weight: 700; text-decoration: none; }
.dbar .brand img { width: 26px; height: 26px; border-radius: 7px; }
.dlive { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--up); background: var(--up-dim); border-radius: 999px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dlive i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: dpulse 1.4s infinite; }
@keyframes dpulse { 50% { opacity: .3; } }
.dnote { color: var(--muted); font-size: 12.5px; }
.dgrow { flex: 1; }
.dseg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: var(--panel); }
.dseg button { border: 0; background: none; color: var(--muted); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.dseg button[aria-pressed="true"] { background: var(--up-dim); color: var(--up); }
.dbtn { border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); border-radius: 9px; padding: 7px 12px; font-weight: 600; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dbtn:hover { border-color: #3a4656; }
.dbtn.go { background: linear-gradient(135deg, #1fe08f, #19b874); color: #04140c; border: 0; }
body.embed .dbar { padding-block: 6px; }
body.embed .dbar .brand span, body.embed .dbar .dnote { display: none; }

/* ---------- stage: scales the desktop to fit ---------- */
.stage { flex: 1; position: relative; overflow: hidden; background: #000; }
.desk { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; font-family: "Segoe UI Variable", "Segoe UI", var(--sans); user-select: none; }
.wall { position: absolute; inset: 0; transition: background .4s; }
.work { position: absolute; }

/* wallpapers (made up, no real OS artwork) */
.desk[data-os="mac"][data-theme="dark"] .wall { background: radial-gradient(1200px 700px at 15% 20%, #ff8a5c, transparent 60%), radial-gradient(1000px 800px at 85% 30%, #7b5cff, transparent 60%), radial-gradient(900px 700px at 50% 100%, #1fb6ff, transparent 60%), #2a1f5c; }
.desk[data-os="mac"][data-theme="light"] .wall { background: radial-gradient(1200px 700px at 15% 20%, #ffc29e, transparent 60%), radial-gradient(1000px 800px at 85% 30%, #b9a8ff, transparent 60%), radial-gradient(900px 700px at 50% 100%, #8fd8ff, transparent 60%), #e9e4ff; }
.desk[data-os="linux"][data-theme="dark"] .wall { background: radial-gradient(900px 700px at 80% 10%, #e95420aa, transparent 60%), radial-gradient(1200px 900px at 10% 90%, #77216f, transparent 65%), linear-gradient(135deg, #2c001e, #5e2750); }
.desk[data-os="linux"][data-theme="light"] .wall { background: radial-gradient(900px 700px at 80% 10%, #ff9a6a, transparent 60%), radial-gradient(1200px 900px at 10% 90%, #c86bb8, transparent 65%), linear-gradient(135deg, #f6d6e4, #e7b7d2); }
.desk[data-os="win10"][data-theme="dark"] .wall { background: radial-gradient(800px 500px at 60% 45%, #1f6fd1, transparent 70%), linear-gradient(160deg, #04122b, #0a2a5e 55%, #03101f); }
.desk[data-os="win10"][data-theme="light"] .wall { background: radial-gradient(800px 500px at 60% 45%, #5aa6ff, transparent 70%), linear-gradient(160deg, #1d4f9c, #2f76d2 55%, #164a96); }
.desk[data-os="win11"][data-theme="dark"] .wall { background: radial-gradient(700px 520px at 50% 55%, #3d7cf5, transparent 70%), radial-gradient(1100px 800px at 50% 80%, #0d2a6b, transparent 70%), linear-gradient(180deg, #0a1636, #09122a); }
.desk[data-os="win11"][data-theme="light"] .wall { background: radial-gradient(700px 520px at 50% 55%, #6aa5ff, transparent 70%), radial-gradient(1100px 800px at 50% 80%, #a9c8ff, transparent 70%), linear-gradient(180deg, #dfeaff, #c9dbfb); }

/* desktop icons (decorative "other apps") */
.tile { display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); border: 0; padding: 0; }
.appico { display: block; flex: none; }

/* ---------- top bars ---------- */
.mbar { position: absolute; inset: 0 0 auto; height: 24px; display: flex; align-items: center; gap: 18px; padding: 0 12px; font: 500 13px/1 -apple-system, "SF Pro Text", var(--sans); backdrop-filter: blur(30px) saturate(1.6); z-index: 30; }
.desk[data-theme="dark"] .mbar { background: rgba(30,20,60,.35); color: #fff; }
.desk[data-theme="light"] .mbar { background: rgba(255,255,255,.5); color: #111; }
.mbar b { font-weight: 700; }
.mbar .logo { width: 13px; height: 13px; border-radius: 4px; background: currentColor; opacity: .9; }
.mbar .r { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.gbar { position: absolute; inset: 0 0 auto; height: 32px; background: #000; color: #fff; display: flex; align-items: center; padding: 0 10px; font: 600 14px/1 Ubuntu, Cantarell, var(--sans); z-index: 30; }
.gbar .ws { display: flex; gap: 5px; align-items: center; padding: 4px 10px; } .gbar .ws i { height: 8px; width: 8px; border-radius: 99px; background: #666; display: block; } .gbar .ws i:first-child { width: 30px; background: #fff; }
.gbar .clock { position: absolute; left: 50%; transform: translateX(-50%); }
.gbar .r { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.trayico { border: 0; background: none; padding: 2px; border-radius: 6px; display: inline-grid; place-items: center; }
.trayico:hover { background: rgba(127,127,127,.25); }
.trayico img { width: 16px; height: 16px; border-radius: 4px; display: block; }

/* ---------- docks & taskbars ---------- */
.dock { position: absolute; z-index: 30; display: flex; gap: 10px; }
.dock .it { position: relative; border: 0; background: none; padding: 0; transition: transform .15s; }
.dock .it:hover { transform: translateY(-4px) scale(1.06); }
.dock .it .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: rgba(30,30,30,.85); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.dock .it:hover .tip { opacity: 1; }
.desk[data-os="mac"] .dock { left: 50%; bottom: 8px; transform: translateX(-50%); align-items: flex-end; padding: 8px 12px 10px; border-radius: 22px; backdrop-filter: blur(30px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 10px 30px rgba(0,0,0,.25); }
.desk[data-os="mac"][data-theme="dark"] .dock { background: rgba(255,255,255,.18); }
.desk[data-os="mac"][data-theme="light"] .dock { background: rgba(255,255,255,.42); }
.desk[data-os="mac"] .dock .it.run::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); background: currentColor; }
.desk[data-os="mac"][data-theme="dark"] .dock .it { color: rgba(255,255,255,.85); } .desk[data-os="mac"][data-theme="light"] .dock .it { color: rgba(0,0,0,.6); }
.desk[data-os="mac"] .dock .sep { width: 1px; align-self: stretch; margin: 4px 4px; background: rgba(127,127,127,.4); }
.desk[data-os="linux"] .dock { left: 0; top: 32px; bottom: 0; width: 64px; flex-direction: column; align-items: center; padding: 10px 0; background: rgba(20,20,20,.72); backdrop-filter: blur(20px); }
.desk[data-os="linux"] .dock .it { padding: 4px; border-radius: 12px; }
.desk[data-os="linux"] .dock .it.focus { background: rgba(255,255,255,.14); }
.desk[data-os="linux"] .dock .it.run::before { content: ""; position: absolute; left: -6px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #e95420; transform: translateY(-50%); }
.desk[data-os="linux"] .dock .it .tip { bottom: auto; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.desk[data-os="linux"] .dock .it:hover { transform: none; background: rgba(255,255,255,.1); }
.desk[data-os="linux"] .dock .apps { margin-top: auto; color: #ddd; }
.tbar { position: absolute; inset: auto 0 0; z-index: 30; display: flex; align-items: center; }
.desk[data-os="win10"] .tbar { height: 40px; align-items: stretch; }
.desk[data-os="win10"][data-theme="dark"] .tbar { background: #101010; color: #fff; } .desk[data-os="win10"][data-theme="light"] .tbar { background: #eeeeee; color: #000; }
.desk[data-os="win10"] .tbar .start { width: 48px; display: grid; place-items: center; border: 0; background: none; }
.desk[data-os="win10"][data-theme="light"] .tbar .start { color: #0078d4; }
.desk[data-os="win10"] .tbar .search { width: 320px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13px; color: #555; background: #f3f3f3; }
.desk[data-os="win10"][data-theme="light"] .tbar .search { background: #fff; border: 1px solid #cfcfcf; }
.desk[data-os="win10"] .tbar .it { width: 48px; display: grid; place-items: center; position: relative; border: 0; background: none; padding: 0; }
.desk[data-os="win10"] .tbar .it:hover { background: rgba(127,127,127,.2); }
.desk[data-os="win10"] .tbar .it.focus { background: rgba(127,127,127,.25); }
.desk[data-os="win10"] .tbar .it.run::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px; background: #76b9ed; }
.desk[data-os="win11"] .tbar { height: 48px; justify-content: center; gap: 4px; backdrop-filter: blur(40px) saturate(1.4); }
.desk[data-os="win11"][data-theme="dark"] .tbar { background: rgba(32,32,36,.85); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.desk[data-os="win11"][data-theme="light"] .tbar { background: rgba(243,243,243,.85); color: #000; border-top: 1px solid rgba(0,0,0,.08); }
.desk[data-os="win11"] .tbar .it, .desk[data-os="win11"] .tbar .start { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; position: relative; border: 0; background: none; padding: 0; }
.desk[data-os="win11"] .tbar .it:hover, .desk[data-os="win11"] .tbar .start:hover { background: rgba(127,127,127,.18); }
.desk[data-os="win11"] .tbar .it.focus { background: rgba(127,127,127,.2); }
.desk[data-os="win11"] .tbar .it.run::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; border-radius: 3px; background: #9a9a9a; transform: translateX(-50%); }
.desk[data-os="win11"] .tbar .it.focus::after { width: 16px; background: #60cdff; }
.desk[data-os="win11"] .tbar .start { color: #4cc2ff; } .desk[data-os="win11"][data-theme="light"] .tbar .start { color: #0067c0; }
.tray { display: flex; align-items: center; gap: 10px; padding: 0 10px; font-size: 12px; margin-left: auto; }
.desk[data-os="win11"] .tray { position: absolute; right: 0; top: 0; bottom: 0; }
.tray .clk { text-align: right; line-height: 1.35; }

/* ---------- windows ---------- */
.win { position: absolute; display: flex; flex-direction: column; overflow: hidden; background: #0d1117; transition: opacity .16s, transform .16s; }
.win.min { opacity: 0; transform: scale(.92) translateY(30px); pointer-events: none; }
.win.max { transition: none; }
.win .body { flex: 1; position: relative; min-height: 0; display: flex; flex-direction: column; }
.win iframe { flex: 1; width: 100%; border: 0; display: block; background: transparent; }
.desk.dragging iframe { pointer-events: none; }
.tb { flex: none; display: flex; align-items: center; position: relative; cursor: default; }
.tb .t { pointer-events: none; }
.tb .ctl { display: flex; } .tb button { border: 0; background: none; padding: 0; }
/* mac */
.desk[data-os="mac"] .win { border-radius: 10px; box-shadow: 0 0 0 .5px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1) inset, 0 30px 80px rgba(0,0,0,.5); }
.desk[data-os="mac"] .tb { height: 28px; justify-content: center; font: 600 13px -apple-system, var(--sans); }
.desk[data-os="mac"][data-theme="dark"] .tb { background: #2b2a30; color: #d6d6d8; border-bottom: 1px solid #000; }
.desk[data-os="mac"][data-theme="light"] .tb { background: #ececec; color: #4a4a4a; border-bottom: 1px solid #d1d1d1; }
.desk[data-os="mac"] .tb .ctl { position: absolute; left: 12px; top: 8px; gap: 8px; }
.desk[data-os="mac"] .tb .ctl button { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); color: transparent; font-size: 9px; line-height: 12px; font-weight: 700; display: grid; place-items: center; }
.desk[data-os="mac"] .tb .ctl:hover button { color: rgba(0,0,0,.55); }
.desk[data-os="mac"] .tb .ctl .x { background: #ff5f57; order: 1; } .desk[data-os="mac"] .tb .ctl .m { background: #febc2e; order: 2; } .desk[data-os="mac"] .tb .ctl .z { background: #28c840; order: 3; }
.desk[data-os="mac"] .tb .wi { display: none; }
/* linux */
.desk[data-os="linux"] .win { border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 18px 50px rgba(0,0,0,.5); }
.desk[data-os="linux"] .tb { height: 37px; justify-content: center; font: 700 14px Ubuntu, Cantarell, var(--sans); }
.desk[data-os="linux"][data-theme="dark"] .tb { background: #303030; color: #fff; border-bottom: 1px solid #1b1b1b; }
.desk[data-os="linux"][data-theme="light"] .tb { background: #ebebeb; color: #2e2e2e; border-bottom: 1px solid #d6d6d6; }
.desk[data-os="linux"] .tb .ctl { position: absolute; right: 8px; top: 7px; gap: 10px; }
.desk[data-os="linux"] .tb .ctl button { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.desk[data-os="linux"][data-theme="dark"] .tb .ctl button { background: #474747; color: #fff; } .desk[data-os="linux"][data-theme="light"] .tb .ctl button { background: #d6d6d6; color: #2e2e2e; }
.desk[data-os="linux"] .tb .ctl .x { background: #e95420 !important; color: #fff !important; }
.desk[data-os="linux"] .tb .wi { display: none; }
/* windows 10 / 11 */
.desk[data-os^="win"] .tb { font: 12px "Segoe UI", var(--sans); }
.desk[data-os^="win"] .tb .wi { width: 16px; height: 16px; margin: 0 8px 0 10px; border-radius: 3px; }
.desk[data-os^="win"] .tb .t { flex: 1; }
.desk[data-os^="win"] .tb .ctl button { width: 46px; display: grid; place-items: center; font-size: 13px; font-weight: 300; }
.desk[data-os^="win"] .tb .ctl button:hover { background: rgba(127,127,127,.2); }
.desk[data-os^="win"] .tb .ctl .x:hover { background: #e81123; color: #fff; }
.desk[data-os="win10"] .win { border: 1px solid #2b6fd6; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.desk[data-os="win10"] .tb { height: 31px; } .desk[data-os="win10"] .tb .ctl button { height: 31px; }
.desk[data-os="win10"][data-theme="dark"] .tb { background: #1f1f1f; color: #fff; } .desk[data-os="win10"][data-theme="light"] .tb { background: #fff; color: #000; }
.desk[data-os="win11"] .win { border-radius: 8px; box-shadow: 0 0 0 1px rgba(127,127,127,.25), 0 26px 70px rgba(0,0,0,.45); }
.desk[data-os="win11"] .win.max { border-radius: 0; }
.desk[data-os="win11"] .tb { height: 32px; } .desk[data-os="win11"] .tb .ctl button { height: 32px; }
.desk[data-os="win11"][data-theme="dark"] .tb { background: #202020; color: #fff; } .desk[data-os="win11"][data-theme="light"] .tb { background: #f3f3f3; color: #000; }
.win.blur .tb { opacity: .78; }

/* pretend browser around the settings page */
.bbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 12.5px; }
.desk[data-theme="dark"] .bbar { background: #1b1f26; color: #c3cbd6; border-bottom: 1px solid #0b0e13; }
.desk[data-theme="light"] .bbar { background: #f1f3f6; color: #333; border-bottom: 1px solid #d8dde4; }
.bbar .nav { display: flex; gap: 4px; opacity: .6; }
.bbar .url { flex: 1; border-radius: 999px; padding: 5px 12px; font-family: var(--mono); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.desk[data-theme="dark"] .bbar .url { background: #0d1117; } .desk[data-theme="light"] .bbar .url { background: #fff; border: 1px solid #d8dde4; }
.bbar .url b { font-weight: 500; opacity: .55; }

/* small dialogs (Roblox login, notes) */
.dlg { padding: 22px; display: grid; gap: 12px; align-content: start; font: 14px/1.5 var(--sans); height: 100%; }
.desk[data-theme="dark"] .dlg { background: #0d1117; color: #e7ecf3; } .desk[data-theme="light"] .dlg { background: #fff; color: #0f172a; }
.dlg h3 { margin: 0; font-size: 18px; } .dlg p { margin: 0; opacity: .8; }
.dlg .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.dlg .dbtn { justify-content: center; }
.desk[data-theme="light"] .dlg .dbtn:not(.go) { background: #f1f5f9; color: #0f172a; border-color: #dde3ec; }
.fakefield { border-radius: 8px; padding: 9px 11px; font-family: var(--mono); font-size: 13px; opacity: .75; }
.desk[data-theme="dark"] .fakefield { background: #0a0d12; border: 1px solid #1c2430; } .desk[data-theme="light"] .fakefield { background: #f8fafc; border: 1px solid #dde3ec; }

/* ---------- notifications ---------- */
.ntf { position: absolute; z-index: 40; width: 360px; border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; font: 13px/1.4 var(--sans); box-shadow: 0 16px 40px rgba(0,0,0,.35); animation: nin .25s ease; cursor: pointer; }
.ntf img { width: 34px; height: 34px; border-radius: 8px; grid-row: span 3; }
.ntf small { opacity: .6; } .ntf b { font-weight: 600; }
@keyframes nin { from { opacity: 0; transform: translateY(10px); } }
.desk[data-theme="dark"] .ntf { background: rgba(36,38,44,.92); color: #fff; border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(20px); }
.desk[data-theme="light"] .ntf { background: rgba(250,250,252,.94); color: #111; border: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(20px); }
.discord { position: absolute; z-index: 40; width: 400px; background: #313338; color: #dbdee1; border-radius: 10px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); font: 14px/1.4 "gg sans", var(--sans); display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; animation: nin .25s ease; }
.discord .lbl { grid-column: 1 / -1; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #949ba4; margin-bottom: 8px; display: flex; justify-content: space-between; }
.discord img { width: 40px; height: 40px; border-radius: 50%; }
.discord .who { font-weight: 600; color: #fff; display: flex; gap: 6px; align-items: center; } .discord .who span { background: #5865f2; color: #fff; font-size: 10px; border-radius: 3px; padding: 1px 4px; font-weight: 600; }
.discord .emb { margin-top: 6px; background: #2b2d31; border-left: 4px solid var(--c, #1fe08f); border-radius: 4px; padding: 8px 12px; display: grid; gap: 6px; }
.discord .emb b { color: #fff; } .discord .emb .f { font-size: 13px; } .discord .emb .f i { display: block; font-style: normal; font-weight: 600; color: #fff; font-size: 12.5px; }

/* ---------- tray / menus ---------- */
.menu { position: absolute; z-index: 45; min-width: 200px; border-radius: 10px; padding: 5px; font: 13px var(--sans); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.desk[data-theme="dark"] .menu { background: #2b2b30; color: #fff; border: 1px solid rgba(255,255,255,.1); } .desk[data-theme="light"] .menu { background: #fafafa; color: #111; border: 1px solid rgba(0,0,0,.1); }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 6px; }
.menu button:hover { background: #3d7bff; color: #fff; }
.menu hr { border: 0; border-top: 1px solid rgba(127,127,127,.3); margin: 4px 2px; }
.menu .h { padding: 6px 10px 4px; font-weight: 700; opacity: .7; font-size: 12px; }

/* ---------- guided tour ---------- */
.ring { position: absolute; z-index: 60; border-radius: 12px; box-shadow: 0 0 0 3px #1fe08f, 0 0 0 9999px rgba(0,0,0,.42); pointer-events: none; transition: all .25s ease; }
.ring.none { box-shadow: 0 0 0 9999px rgba(0,0,0,.42); }
.bubble { position: absolute; z-index: 61; width: 330px; background: #0d1117; color: #e7ecf3; border: 1px solid #2a3442; border-radius: 14px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); font: 14px/1.5 var(--sans); transition: left .25s, top .25s; }
.bubble .step { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--up); }
.bubble h4 { margin: 8px 0 6px; font-size: 16px; }
.bubble p { margin: 0; color: #c3cbd6; }
.bubble .row { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; align-items: center; }
.bubble .row .skip { margin-right: auto; border: 0; background: none; color: var(--muted); padding: 0; font-size: 13px; }
.bubble .wait { font-size: 12.5px; color: var(--muted); margin-right: auto; }

/* ---------- "like it?" prompt ---------- */
.cta { position: absolute; z-index: 55; left: 50%; bottom: 72px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: #0d1117; color: #e7ecf3; border: 1px solid #2a3442; border-radius: 14px; padding: 12px 14px 12px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.45); font: 14px var(--sans); animation: nin .3s ease; }
.cta .x { border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0 4px; }
.speed { position: absolute; z-index: 35; left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--mono); letter-spacing: .05em; color: #fff; background: rgba(0,0,0,.55); border-radius: 999px; padding: 6px 12px; pointer-events: none; backdrop-filter: blur(6px); }

/* ---------- phones: one app at a time, no fake desktop ---------- */
.phone { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.phone .ptabs { display: flex; gap: 6px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.phone .ptabs button { flex: 1; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 10px; padding: 9px; font-weight: 600; }
.phone .ptabs button[aria-pressed="true"] { color: var(--up); border-color: rgba(31,224,143,.4); background: var(--up-dim); }
.phone .pnote { padding: 8px 14px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.phone iframe { flex: 1; width: 100%; border: 0; background: #06080b; }
.phone .pdrawer { position: fixed; inset: 0; background: #06080b; z-index: 70; display: flex; flex-direction: column; }
.phone .pdrawer .ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.phone .pdrawer iframe { flex: 1; }
.pntf { position: fixed; left: 12px; right: 12px; top: 64px; z-index: 75; }
.pntf .ntf, .pntf .discord { position: static; width: auto; }
@media (max-width: 900px), (pointer: coarse) and (max-width: 1100px) {
  .dbar .dnote, .dbar .brand span, #dOs, #dTour { display: none; }
}
