/* Navvo OS — desktop-style site. Own design, inspired by modern desktop UIs (no Microsoft assets). */

:root {
  --brand: #ea580c;
  --brand-hot: #ff6600;
  --brand-600: #c2410c;
  --amber: #fdba74;
  --ink: #16110d;
  --ink-2: #3f3a36;
  --muted: #6b6560;
  --line: #e9e6e2;
  --bg-2: #f6f4f1;
  --glass: rgba(32, 20, 14, .72);
  --glass-line: rgba(255, 255, 255, .12);
  --tb-h: 52px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Outfit", var(--font);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 14px/1.5 var(--font); color: #fff; background: #140a04; overflow: hidden; -webkit-font-smoothing: antialiased; user-select: none; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
[hidden] { display: none !important; }

#wall { position: fixed; inset: 0; width: 100%; height: 100%; background: radial-gradient(900px 600px at 70% 70%, #b2410a, transparent 70%), linear-gradient(140deg, #140a04, #3a1405); }

/* ---------- Desktop icons ---------- */
#desktop { position: fixed; inset: 0 0 var(--tb-h) 0; transition: opacity .25s; }
.icons { list-style: none; margin: 0; padding: 14px 8px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 102px); grid-auto-columns: 96px; gap: 4px; height: 100%; width: max-content; }
.dicon { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 92px; padding: 8px 4px 6px; border: 1px solid transparent; border-radius: 8px; background: none; cursor: default; text-align: center; }
.dicon:hover { background: rgba(255, 255, 255, .08); }
.dicon.sel { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); }
.dicon span { font-size: 12.5px; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, .8), 0 0 8px rgba(0, 0, 0, .5); }
.aicon { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 80%, #000)); box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.aicon .ico { width: 26px; height: 26px; stroke-width: 1.7; }
.aicon.img { background: #fff; }
.aicon.img img { width: 38px; height: 38px; }
.aicon.file { background: linear-gradient(#fff, #e9e6e2); color: #3f3a36; border-radius: 6px 14px 6px 6px; }

/* ---------- Taskbar ---------- */
.taskbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; height: var(--tb-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; background: var(--glass); border-top: 1px solid var(--glass-line); backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%); }
.tb-left { display: flex; }
.tb-classic { padding: 6px 10px; border-radius: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .8); text-decoration: none; }
.tb-classic:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tb-center { display: flex; align-items: center; gap: 4px; }
.tb-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; cursor: pointer; transition: background .15s; }
.tb-btn:hover, .tb-btn.on { background: rgba(255, 255, 255, .1); }
.tb-btn:active img, .tb-btn:active .aicon { transform: scale(.88); }
.tb-start img { width: 26px; height: 26px; transition: transform .2s; }
.tb-btn .aicon { width: 28px; height: 28px; border-radius: 8px; transition: transform .2s; }
.tb-btn .aicon .ico { width: 17px; height: 17px; }
.tb-btn .aicon.img img { width: 22px; height: 22px; }
.tb-btn::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); transform: translateX(-50%); transition: width .2s; }
.tb-btn.open::after { width: 6px; }
.tb-btn.focus::after { width: 16px; background: var(--amber); }
.tb-search { display: flex; align-items: center; gap: 8px; height: 34px; width: 190px; margin: 0 6px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 17px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); cursor: text; font-size: 13px; }
.tb-search .ico { width: 16px; height: 16px; }
.tb-apps { display: flex; gap: 4px; }
.tb-right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.tb-tray, .tb-lang { display: flex; gap: 8px; padding: 6px 8px; border: 0; border-radius: 6px; background: none; font-size: 12.5px; }
.tb-lang { cursor: pointer; font-weight: 600; }
.tb-tray .ico { width: 17px; height: 17px; }
.tb-clock { display: flex; flex-direction: column; align-items: flex-end; padding: 4px 10px; border: 0; border-radius: 6px; background: none; line-height: 1.25; font-size: 12px; cursor: default; }
.tb-clock b { font-weight: 500; }
.tb-tray:hover, .tb-lang:hover, .tb-clock:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Start menu ---------- */
.start { position: fixed; z-index: 1001; left: 50%; bottom: calc(var(--tb-h) + 12px); width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - var(--tb-h) - 24px); overflow: auto; transform: translateX(-50%); padding: 26px 28px 0; border-radius: 12px; background: rgba(36, 23, 16, .94); border: 1px solid var(--glass-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); backdrop-filter: blur(40px) saturate(160%); -webkit-backdrop-filter: blur(40px) saturate(160%); animation: rise .22s var(--ease); }
.st-search { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 19px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-bottom-color: var(--amber); }
.st-search .ico { width: 17px; height: 17px; opacity: .8; }
.st-search input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 13.5px var(--font); outline: none; }
.st-search input::placeholder { color: rgba(255, 255, 255, .55); }
.st-sec { display: flex; justify-content: space-between; margin: 22px 8px 10px; font-size: 13.5px; }
.st-sec b { font-weight: 600; }
.st-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.st-app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px 10px; border: 0; border-radius: 6px; background: none; cursor: pointer; font-size: 12px; line-height: 1.25; text-align: center; }
.st-app:hover, .st-app:focus-visible { background: rgba(255, 255, 255, .08); }
.st-app .aicon { width: 36px; height: 36px; border-radius: 10px; }
.st-app .aicon .ico { width: 20px; height: 20px; }
.st-app .aicon.img img { width: 28px; height: 28px; }
.st-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding-bottom: 20px; }
.st-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; }
.st-item:hover, .st-item:focus-visible { background: rgba(255, 255, 255, .08); }
.st-item .aicon { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.st-item .aicon .ico { width: 18px; height: 18px; }
.st-item b { display: block; font-size: 13px; font-weight: 500; }
.st-item small { font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.st-empty { grid-column: 1 / -1; padding: 16px 8px; color: rgba(255, 255, 255, .6); }
.st-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; margin: 0 -28px; padding: 12px 34px; background: rgba(20, 12, 8, .55); border-top: 1px solid var(--glass-line); }
.st-user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.st-user i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; background: var(--brand-600); }
.st-power { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; cursor: pointer; }
.st-power:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Windows ---------- */
.win { position: fixed; display: flex; flex-direction: column; min-width: 340px; min-height: 240px; border-radius: 9px; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid rgba(0, 0, 0, .25); box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .2); animation: open .2s var(--ease); transition: opacity .18s, transform .18s var(--ease); user-select: text; }
.win.max { inset: 0 0 var(--tb-h) 0 !important; width: auto !important; height: auto !important; border-radius: 0; border: 0; }
.win.min { opacity: 0; transform: translateY(40%) scale(.6); pointer-events: none; }
.win.closing { opacity: 0; transform: scale(.94); }
.win.inactive .win-bar { color: #8b857f; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 40px; flex: none; padding-left: 12px; background: #f3f0ec; border-bottom: 1px solid var(--line); cursor: default; touch-action: none; user-select: none; }
.win-bar .aicon { width: 20px; height: 20px; border-radius: 6px; box-shadow: none; }
.win-bar .aicon .ico { width: 13px; height: 13px; stroke-width: 2; }
.win-bar .aicon.img img { width: 16px; height: 16px; }
.win-title { flex: 1; min-width: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-ctl { display: flex; align-self: stretch; }
.win-ctl button { width: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #3f3a36; }
.win-ctl button:hover { background: rgba(0, 0, 0, .06); }
.win-ctl .x:hover { background: #c42b1c; color: #fff; }
.win-ctl .ico { width: 14px; height: 14px; stroke-width: 1.5; }
.win-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.win-rs { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; cursor: nwse-resize; touch-action: none; }
.win.max .win-rs { display: none; }

/* Browser */
.br-nav { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #f3f0ec; border-bottom: 1px solid var(--line); flex: none; }
.br-nav button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: #3f3a36; cursor: pointer; }
.br-nav button:hover:not(:disabled) { background: rgba(0, 0, 0, .06); }
.br-nav button:disabled { opacity: .35; cursor: default; }
.br-nav .ico { width: 17px; height: 17px; }
.br-addr { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; margin: 0 4px; padding: 0 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.br-addr .ico { width: 14px; height: 14px; color: #15803d; }
.br-addr b { color: var(--ink); font-weight: 500; }
.br-addr input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 13px var(--font); color: var(--ink); }
.br-ext { font-size: 12px; text-decoration: none; padding: 6px 10px; border-radius: 6px; color: var(--brand-600); white-space: nowrap; }
.br-ext:hover { background: rgba(234, 88, 12, .08); }
.br-load { height: 2px; background: linear-gradient(90deg, var(--brand), var(--amber)); transform-origin: left; transform: scaleX(0); opacity: 0; flex: none; }
.br-load.go { animation: load .5s var(--ease); }
.br-page { flex: 1; overflow: auto; background: #fff; scroll-behavior: smooth; }
.br-page.framed { overflow: hidden; display: flex; }
.pg-frame { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--bg-2); }
.pg-frame-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; font-size: 12.5px; color: var(--muted); background: #fff7f0; border-bottom: 1px solid #fde3cf; }
.pg-frame-bar span { flex: 1; }
.pg-frame-out { color: var(--brand-600); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pg-frame-box { position: relative; flex: 1; min-height: 0; }
/* The note sits under a transparent iframe: a loaded form covers it, a refused frame leaves it readable. */
.pg-frame-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; color: var(--muted); }
.pg-frame-wait b { font: 500 1.15rem/1.3 var(--display); color: var(--ink); }
.pg-frame-wait .pg-btn { margin-top: 8px; }
.pg-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
body.dragging iframe { pointer-events: none; }

/* Notepad, explorer */
.np { flex: 1; overflow: auto; margin: 0; padding: 18px 22px; font: 14px/1.7 "Cascadia Mono", Consolas, ui-monospace, monospace; color: #1f1a16; white-space: pre-wrap; background: #fff; user-select: text; }
.np-menu { display: flex; gap: 4px; padding: 4px 8px; font-size: 12.5px; color: #3f3a36; border-bottom: 1px solid var(--line); background: #fbfaf8; }
.np-menu span { padding: 3px 8px; border-radius: 4px; }
.ex-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfaf8; font-size: 13px; }
.ex-bar .sp { flex: 1; }
.ex-btn { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 12.5px; }
.ex-btn:hover { border-color: var(--brand); color: var(--brand-600); }
.ex-list { flex: 1; overflow: auto; padding: 6px; }
.ex-row { display: grid; grid-template-columns: 28px 1fr 140px 90px; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: 13px; }
.ex-row:hover { background: #f6f4f1; }
.ex-row.head { color: var(--muted); font-size: 12px; }
.ex-row.head:hover { background: none; }
.ex-row small { color: var(--muted); }
.ex-row .ft { width: 22px; height: 26px; border-radius: 3px 8px 3px 3px; display: grid; place-items: center; font: 700 7.5px/1 var(--font); color: #fff; }
.ex-note { padding: 14px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.ex-gone { margin: auto; text-align: center; color: var(--muted); padding: 40px; }
.ex-gone b { display: block; font: 500 18px/1.4 var(--display); color: var(--ink); margin-bottom: 4px; }

/* ---------- Site pages inside the browser ---------- */
.pg { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.pg h1, .pg h2, .pg h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; }
.pg-hero { position: relative; overflow: hidden; padding: 46px 40px 50px; color: #fff; background: radial-gradient(500px 260px at 85% 110%, rgba(255, 102, 0, .7), transparent 70%), linear-gradient(125deg, #160803, #4a1a06 70%, #8a2c06); }
.pg-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; margin-bottom: 12px; }
.pg-hero p { max-width: 620px; color: rgba(255, 255, 255, .85); }
.pg-eye { display: block; margin-bottom: 12px; font: 600 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.pg-hero .pg-acts { margin-top: 24px; }
.pg-sec { padding: 34px 40px; }
.pg-sec + .pg-sec { border-top: 1px solid var(--line); }
.pg-sec.alt { background: var(--bg-2); }
.pg-sec > h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pg-sec > p { max-width: 720px; color: var(--muted); }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 20px; }
.pg-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: left; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
button.pg-card, a.pg-card { cursor: pointer; text-decoration: none; }
button.pg-card:hover, a.pg-card:hover { border-color: transparent; box-shadow: 0 12px 30px rgba(20, 10, 4, .12); transform: translateY(-2px); }
.pg-card h3 { font-size: 1.12rem; font-weight: 500; }
.pg-card p { margin: 0; font-size: 14px; color: var(--muted); }
.pg-card .go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 13.5px; color: var(--brand-600); }
.pg-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff1e6; color: var(--brand); }
.pg-ic svg { width: 22px; height: 22px; }
.pg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.pg-stats div { padding: 18px; border-radius: 12px; background: var(--bg-2); }
.pg-stats b { display: block; font: 300 2rem/1 var(--display); color: var(--ink); margin-bottom: 6px; }
.pg-stats span { font-size: 13px; color: var(--muted); }
.pg-steps { counter-reset: s; display: grid; gap: 12px; margin-top: 18px; }
.pg-steps li { list-style: none; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.pg-steps li::before { counter-increment: s; content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 500 15px/1 var(--display); }
.pg-steps b { display: block; color: var(--ink); }
.pg-steps p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pg-chips span { padding: 8px 14px; border-radius: 8px; background: var(--bg-2); font: 500 14px/1 var(--display); color: var(--ink-2); }
.pg-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-list li { display: flex; gap: 10px; }
.pg-list li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; flex: none; border-radius: 50%; background: var(--brand); }
.pg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1.5px solid transparent; border-radius: 999px; background: var(--brand); color: #fff; font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.pg-btn:hover { background: var(--brand-hot); transform: translateY(-1px); }
.pg-btn.ghost { background: none; border-color: currentColor; color: var(--ink); }
.pg-hero .pg-btn.ghost { color: #fff; }
.pg-btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.pg-form { display: grid; gap: 12px; }
.pg-form label span { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.pg-form input, .pg-form textarea, .pg-form select { width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font: 14px var(--font); color: var(--ink); }
.pg-form input:focus, .pg-form textarea:focus, .pg-form select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(234, 88, 12, .15); }
.pg-form .pg-btn { justify-self: start; border: 0; }
.pg-contact { display: grid; gap: 12px; }
.pg-contact a, .pg-contact div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--bg-2); text-decoration: none; color: var(--ink); }
.pg-contact small { display: block; color: var(--muted); font-size: 12px; }
.pg-contact b { font-weight: 600; }
.pg-alert { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: #fff1e6; border: 1px solid #fed7aa; color: #7c2d12; }
.pg-alert b { display: block; color: #7c2d12; }
.pg-foot { padding: 22px 40px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg-2); }

/* ---------- Lock screen ---------- */
#lock { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; padding: 12vh 20px 40px; background: radial-gradient(900px 600px at 50% 110%, rgba(234, 88, 12, .55), transparent 70%), rgba(20, 10, 4, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .55s var(--ease), opacity .55s; cursor: pointer; }
body.locked #desktop, body.locked .taskbar, body.locked .toasts { visibility: hidden; }
#lock.gone { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.lock-clock { text-align: center; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.lock-clock b { display: block; font: 300 clamp(4rem, 12vw, 7.5rem)/1 var(--display); letter-spacing: -.02em; }
.lock-clock span { font-size: 1.15rem; opacity: .9; }
.lock-card { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lock-mark { width: 92px; height: 92px; padding: 10px; border-radius: 50%; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.lock-card b { font: 500 1.4rem/1.2 var(--display); }
.lock-btn { margin-top: 6px; padding: 10px 34px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: rgba(255, 255, 255, .14); cursor: pointer; font-weight: 600; backdrop-filter: blur(10px); }
.lock-btn:hover { background: rgba(255, 255, 255, .24); }
.lock-card small { opacity: .75; }
.lock-hint { margin: 28px 0 0; font-size: 12.5px; opacity: .6; }

/* ---------- Opening scene ---------- */
.intro { position: fixed; inset: 0; z-index: 4000; background: #0b0503; transition: opacity .65s var(--ease); }
.intro canvas { width: 100%; height: 100%; display: block; }
.intro.out { opacity: 0; pointer-events: none; }
.intro-skip { position: absolute; right: 24px; bottom: 24px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: 13px; cursor: pointer; backdrop-filter: blur(8px); }
.intro-skip:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Context menu, toasts ---------- */
.ctx { position: fixed; z-index: 2000; min-width: 220px; padding: 6px; border-radius: 9px; background: rgba(36, 23, 16, .95); border: 1px solid var(--glass-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); animation: rise .15s var(--ease); }
.ctx button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 0; border-radius: 5px; background: none; text-align: left; cursor: pointer; font-size: 13px; }
.ctx button:hover { background: rgba(255, 255, 255, .1); }
.ctx .ico { width: 16px; height: 16px; opacity: .85; }
.ctx hr { border: 0; border-top: 1px solid var(--glass-line); margin: 5px 4px; }
.toasts { position: fixed; z-index: 1500; right: 14px; bottom: calc(var(--tb-h) + 14px); display: grid; gap: 10px; width: min(360px, calc(100vw - 28px)); }
.toast { display: grid; grid-template-columns: 36px 1fr auto; gap: 4px 12px; padding: 14px 14px 14px 16px; border-radius: 10px; background: rgba(40, 26, 18, .9); border: 1px solid var(--glass-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); animation: slide .35s var(--ease); }
.toast img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 4px; grid-row: span 2; }
.toast b { font-size: 13px; }
.toast p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .78); grid-column: 2 / 4; }
.toast .x { grid-column: 3; grid-row: 1; border: 0; background: none; cursor: pointer; opacity: .6; padding: 0 2px; }
.toast .ta { grid-column: 2 / 4; justify-self: start; margin-top: 8px; padding: 7px 14px; border: 0; border-radius: 6px; background: var(--brand-600); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; }
.toast.out { opacity: 0; transform: translateX(30px); transition: all .3s; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: #140a04; padding: 20px; text-align: center; }

@keyframes open { from { opacity: 0; transform: scale(.96) translateY(8px); } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 16px); } }
.ctx { animation-name: pop; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
@keyframes slide { from { opacity: 0; transform: translateX(40px); } }
@keyframes load { 0% { opacity: 1; transform: scaleX(0); } 80% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Phone-only pieces (hidden on desktops) ---------- */
.phone-bar, .ph-widget { display: none; }

/* ---------- Phones: home screen + full-screen apps ---------- */
@media (max-width: 700px) {
  :root { --tb-h: 64px; --sb-h: 30px; }
  .phone-bar { position: fixed; z-index: 1100; top: 0; left: 0; right: 0; height: var(--sb-h); display: flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
  .phone-bar .ico { width: 16px; height: 16px; }
  .ph-sp { flex: 1; }
  .ph-lang { border: 0; background: rgba(255, 255, 255, .16); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; cursor: pointer; }
  .ph-batt { width: 24px; height: 12px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
  .ph-batt::before { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1px; }
  .ph-batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: #fff; }
  #desktop { top: var(--sb-h); }
  .ph-widget { display: flex; flex-direction: column; grid-column: 1 / -1; padding: 18px 18px 16px; margin: 0 4px 10px; border-radius: 22px; background: rgba(30, 18, 12, .5); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .ph-widget > b { font: 500 1.5rem/1.2 var(--display); }
  .ph-widget > span { font-size: 13.5px; opacity: .8; margin-bottom: 14px; }
  .ph-call { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(234, 88, 12, .85); text-decoration: none; font-size: 14px; font-weight: 600; }
  .ph-call small { display: block; font-weight: 400; font-size: 12px; opacity: .9; }
  .icons .ph-widget + li { grid-column-start: 1; }
  .win { animation: sheet .28s var(--ease); }
  @keyframes sheet { from { transform: translateY(24px); opacity: 0; } }
  .icons { width: 100%; height: auto; max-height: 100%; overflow-y: auto; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-template-rows: none; grid-auto-rows: auto; row-gap: 10px; padding: 14px 10px 22px; align-content: start; }
  .dicon { width: auto; }
  .aicon { width: 58px; height: 58px; border-radius: 16px; }
  .aicon .ico { width: 30px; height: 30px; }
  .taskbar { grid-template-columns: 1fr; padding: 0 8px; }
  .tb-left, .tb-right, .tb-search { display: none; }
  .tb-center { justify-content: center; }
  .tb-apps { max-width: calc(100vw - 70px); overflow-x: auto; }
  .win { inset: var(--sb-h) 0 var(--tb-h) 0 !important; width: auto !important; height: auto !important; min-width: 0; border-radius: 0; border: 0; }
  .win-ctl button[data-act="max"], .win-rs { display: none; }
  .st-grid { grid-template-columns: repeat(4, 1fr); }
  .st-rec { grid-template-columns: 1fr; }
  .start { padding: 20px 16px 0; }
  .st-foot { margin: 0 -16px; padding: 12px 20px; }
  .pg-hero, .pg-sec, .pg-foot { padding-left: 20px; padding-right: 20px; }
  .pg-stats { grid-template-columns: 1fr 1fr; }
  .pg-two { grid-template-columns: 1fr; }
  .br-ext { display: none; }
  .ex-row { grid-template-columns: 28px 1fr 70px; }
  .ex-row > :last-child { display: none; }
}
