:root {
  --y: #FDD509;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;

  --cur-owner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16.5 25.2 L12.6 16.6 L20 16.6 Z' fill='%230B0B0A' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2;
  --cur-owner-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16.5 25.2 L12.6 16.6 L20 16.6 Z' fill='%23FDD509' stroke='%230B0B0A' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2;
  --cur-alloc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16.5 25.2 L12.6 16.6 L20 16.6 Z' fill='%23E8EBEF' stroke='%230E1116' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2;
  --cur-alloc-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'%3E%3Cpath d='M3 2 L3 23 L8.5 18 L12.5 27 L16.5 25.2 L12.6 16.6 L20 16.6 Z' fill='%23AFC3D6' stroke='%230E1116' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2;
  --cur-busy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28'%3E%3Cpath d='M5 2 H19 M5 26 H19 M7 2 C7 10 17 10 17 14 C17 18 7 18 7 26 M17 2 C17 10 7 10 7 14 C7 18 17 18 17 26' fill='white' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 24 H15 L12 19 Z' fill='%23F2B233'/%3E%3C/svg%3E") 12 14;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.os { margin: 0; overflow: hidden; background: #050505; color: #F3EFE3; font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--focus, #FDD509); outline-offset: 2px; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }

.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: clamp(22px, 6vw, 72px); background: #050505 url('../../images/web/os-boot.webp') center / cover no-repeat; color: #CFC9B8; font: 13px/1.75 var(--mono); cursor: pointer; overflow: hidden; user-select: none; }
.boot__terminal { width: min(760px, 100%); max-height: calc(100vh - 110px); overflow: auto; padding: clamp(22px, 4vw, 40px); border: 1px solid rgba(253, 213, 9, .55); border-radius: 14px; background: rgba(5, 5, 5, .93); box-shadow: 0 0 0 5px rgba(253, 213, 9, .055), 0 26px 80px rgba(0, 0, 0, .5); }
.boot__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.boot__logo { flex: none; width: auto; height: 52px; }
.boot__build { margin: 0; font: 500 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: right; color: #77736A; }
.boot__title { margin: 30px 0 28px; font: 700 clamp(26px, 5.2vw, 46px)/1.04 var(--mono); letter-spacing: -.035em; text-align: center; text-transform: uppercase; color: var(--y); }
.boot__title .off { color: transparent; }
.boot__cursor { display: inline-block; width: .56em; height: .8em; margin-left: .05em; vertical-align: -.02em; background: var(--y); animation: blink 1s steps(1) infinite; }
.boot__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bs { display: grid; grid-template-columns: 14ch minmax(0, 1fr) 11ch; align-items: center; gap: 16px; }
.bs.is-wait { visibility: hidden; }
.bs__k { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #CFC9B8; }
.bs__bar { grid-area: 1 / 2; position: relative; height: 10px; border: 1px solid rgba(253, 213, 9, .5); border-radius: 3px; transition: opacity .22s ease, transform .22s ease; }
.bs__bar i { position: absolute; inset: 2px; border-radius: 1px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .09s linear; }
.bs::before { content: ""; grid-area: 1 / 2; border-top: 1px dotted rgba(207, 201, 184, .32); opacity: 0; transition: opacity .3s ease .12s; }
.bs__v { grid-area: 1 / 3; text-align: right; white-space: nowrap; color: #77736A; font-variant-numeric: tabular-nums; }
.bs.is-done .bs__bar { opacity: 0; transform: scaleY(.2); }
.bs.is-done::before { opacity: 1; }
.bs.is-done .bs__v { color: var(--y); font-weight: 700; }
.bs.is-done.is-under .bs__v { color: #D5DDE6; }
.boot__welcome { margin: 30px 0 0; color: #77736A; text-align: center; opacity: 0; transition: opacity .35s ease; }
.boot__welcome b { display: block; margin-bottom: 2px; font-size: 15px; color: #F3EFE3; }
.boot__welcome.is-on { opacity: 1; }
.boot__skip { position: absolute; left: 16px; right: 16px; bottom: 22px; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-align: center; text-transform: uppercase; color: #9C978A; }

.lock {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center;
  padding: 16px 20px 34px; overflow-y: auto; user-select: none; color: #F3EFE3;
  background: #050505 url('../../images/web/os-selection-background.webp') center / cover no-repeat;
  animation: fade-in .5s ease;
}
.lock::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .18) 25%, rgba(0, 0, 0, .18) 75%, transparent 100%); }
.lock > * { position: relative; }
.lock__top { width: 100%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.lock__back { padding: 8px 10px; border-radius: 8px; color: #CFC9B8; text-decoration: none; }
.lock__back:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lock__brand { display: flex; align-items: center; gap: 8px; color: #9C978A; font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.lock__brand img { width: auto; height: 22px; }
.lock__clock { margin-top: clamp(18px, 5vh, 56px); text-align: center; }
.lock__clock time { display: block; font: 200 clamp(68px, 12vw, 148px)/.95 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.lock__clock time small, .hello__clock small { margin-left: .12em; font-size: .28em; font-weight: 500; letter-spacing: 0; }
.lock__clock p { margin: 8px 0 0; font-size: clamp(15px, 1.4vw, 18px); color: #BDB7A8; }
.lock__clock .lock__alloc { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--y); }
.lock__q { margin: clamp(22px, 5vh, 52px) 0 0; font: 650 clamp(24px, 3vw, 36px)/1.1 var(--font); letter-spacing: -.02em; text-align: center; }
.lock__sub { margin: 8px 0 0; color: #A39E91; text-align: center; font-size: 15px; }
.lock__users { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; margin-top: 26px; }
.user { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 22px 24px; border-radius: 24px; background: rgba(7, 7, 7, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: transform .2s ease, background-color .2s ease; animation: rise-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.user + .user { animation-delay: .08s; }
.user:hover { transform: translateY(-4px); background: rgba(7, 7, 7, .96); }
.user--alloc { border: 1px solid rgba(170, 177, 184, .32); }
.user--owner { border: 1px solid rgba(253, 213, 9, .45); }
.user__avatar { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; }
.user__avatar svg { width: 62px; height: 62px; }
.user--alloc .user__avatar { background: #5B6168; color: #AEB4BA; }
.user--owner .user__avatar { background: #0B0B0A; color: var(--y); box-shadow: 0 0 0 3px var(--y), 0 0 40px rgba(253, 213, 9, .25); }
.user__name { margin-top: 16px; font: 700 20px/1.15 var(--font); letter-spacing: -.01em; }
.user__class { margin-top: 10px; padding: 5px 10px 4px; border-radius: 999px; font: 650 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.user--alloc .user__class { background: #3A3F45; color: #CDD2D7; }
.user--owner .user__class { background: var(--y); color: #0B0B0A; }
.user__meta { margin-top: 10px; font-size: 13px; color: #9C978A; }
.user__state { position: absolute; left: 0; right: 0; bottom: -26px; font: 500 12px/1 var(--mono); color: #9C978A; opacity: 0; transition: opacity .2s; }
.user.is-scanning .user__state { opacity: 1; }
.user.is-scanning .user__avatar::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid transparent; border-top-color: currentColor; border-right-color: currentColor; animation: spin .8s linear infinite; }
.lock.is-choosing .user:not(.is-scanning) { opacity: .35; transform: none; }

.desktop { position: fixed; inset: 0; display: flex; flex-direction: column; animation: fade-in .45s ease; user-select: none; -webkit-user-select: none; }
.desktop :is(input, textarea, .reader__body, .term__log, .chat .msg) { user-select: text; -webkit-user-select: text; }

.desktop[data-tier="owner"] {
  --text: #1B1A17; --muted: #6B6558; --line: rgba(27, 26, 23, .1); --line-2: rgba(27, 26, 23, .2);
  --panel: rgba(255, 255, 255, .93); --panel-2: rgba(27, 26, 23, .045); --panel-solid: #FFFFFF; --btn: #FFFFFF; --field: #FFFFFF;
  --accent: #FDD509; --accent-ink: #0B0B0A; --pos: #1E7A3E; --neg: #B3261E; --warn: #B26A1B; --info: #2F6E9E;
  --seg-muted: #D8D1C2; --seg-accent: #FDD509; --track: #E7E2D6; --radius: 12px; --focus: #0B0B0A;
  --art-paper: #FFFFFF; --art-accent: #FDD509; --art-card: #D9C49B; --art-ink: #1B1A17;
  --ic-tile: #FDD509; --ic-a: #0B0B0A; --ic-b: #FBF6E6; --ic-c: #FDD509; --ic-d: #2A2824; --ic-line: #0B0B0A;
  --glass: rgba(255, 255, 255, .74); --glass-edge: rgba(255, 255, 255, .85); --glass-shadow: 0 10px 30px rgba(20, 50, 70, .14);
  --menu: rgba(255, 255, 255, .96); --menu-hi: #FDD509; --menu-hi-ink: #0B0B0A; --menu-line: rgba(0, 0, 0, .08); --menu-shadow: 0 18px 50px rgba(20, 40, 60, .25), 0 0 0 1px rgba(0, 0, 0, .06);
  --bar: rgba(255, 255, 255, .72); --bar-line: rgba(0, 0, 0, .08); --bar-ink: #1B1A17; --bar-hover: rgba(0, 0, 0, .07);
  --dock: rgba(255, 255, 255, .5); --dock-edge: rgba(255, 255, 255, .75); --dock-shadow: 0 16px 40px rgba(20, 50, 70, .22); --dock-ink: #14303D;
  --win-bar: linear-gradient(#FBFAF7, #F2EFE8); --win-title: #3D3A33; --wc: #D9D4C8; --wc-close: #FDD509;
  --win-shadow: 0 30px 80px rgba(20, 40, 60, .3), 0 0 0 1px rgba(0, 0, 0, .08); --win-shadow-on: 0 34px 90px rgba(20, 40, 60, .36), 0 0 0 1px rgba(0, 0, 0, .14);
  --toast: rgba(255, 255, 255, .96); --toast-shadow: 0 14px 40px rgba(20, 40, 60, .22), 0 0 0 1px rgba(0, 0, 0, .06);
  --tile-up: #EFE8D6; --tile-open: #FFFFFF;
  --n1: #2F6FD6; --n2: #1E8A3E; --n3: #D1342B; --n4: #5B3FB5; --n5: #A35A00; --n6: #0E8A8A; --n7: #1B1A17; --n8: #6B6558;
  background: #CFE6F2; color: var(--text);
}
.desktop[data-tier="allocated"] {
  --text: #E8EBEF; --muted: #9AA4AF; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .17);
  --panel: rgba(27, 31, 37, .95); --panel-2: rgba(255, 255, 255, .05); --panel-solid: #2A3038; --btn: #313842; --field: #15191E;
  --accent: #D5DDE6; --accent-ink: #0E1116; --pos: #5CC98A; --neg: #FF8374; --warn: #F0B35A; --info: #8DB3DB;
  --seg-muted: #4A535E; --seg-accent: #D5DDE6; --track: rgba(255, 255, 255, .1); --radius: 12px; --focus: #D5DDE6;
  --art-paper: #F5F5F2; --art-accent: #F2B233; --art-card: #C9B48A; --art-ink: #1E232A;
  --ic-tile: #AAB3BD; --ic-a: #12161B; --ic-b: #EEF1F4; --ic-c: #E3E8ED; --ic-d: #2A3038; --ic-line: #12161B;
  --glass: rgba(18, 22, 28, .66); --glass-edge: rgba(255, 255, 255, .1); --glass-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --menu: rgba(30, 35, 42, .97); --menu-hi: #D5DDE6; --menu-hi-ink: #0E1116; --menu-line: rgba(255, 255, 255, .1); --menu-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  --bar: rgba(12, 15, 19, .76); --bar-line: rgba(255, 255, 255, .08); --bar-ink: #E8EBEF; --bar-hover: rgba(255, 255, 255, .1);
  --dock: rgba(16, 20, 25, .58); --dock-edge: rgba(255, 255, 255, .14); --dock-shadow: 0 16px 40px rgba(0, 0, 0, .45); --dock-ink: #D5DDE6;
  --win-bar: linear-gradient(#2E343C, #262B32); --win-title: #C9D1DA; --wc: #4A535E; --wc-close: #D5DDE6;
  --win-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); --win-shadow-on: 0 34px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14);
  --toast: rgba(30, 35, 42, .97); --toast-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
  --tile-up: #3A424C; --tile-open: #1C2127;
  --n1: #7FB2FF; --n2: #6BD48E; --n3: #FF7A6E; --n4: #C3A8FF; --n5: #FFB870; --n6: #6FD6D6; --n7: #FFFFFF; --n8: #AAB3BD;
  background: #1A1F25; color: var(--text);
}

@media (pointer: fine) {
  .desktop[data-tier="owner"], .desktop[data-tier="owner"] * { cursor: var(--cur-owner), default; }
  .desktop[data-tier="owner"] :is(button, a, summary, label, [role="button"], .dicon, .seg, .captcha__tile, .mc) { cursor: var(--cur-owner-hand), pointer; }
  .desktop[data-tier="allocated"], .desktop[data-tier="allocated"] * { cursor: var(--cur-alloc), default; }
  .desktop[data-tier="allocated"] :is(button, a, summary, label, [role="button"], .dicon, .seg, .captcha__tile, .mc) { cursor: var(--cur-alloc-hand), pointer; }
  .desktop :is(input[type="text"], input:not([type]), textarea) { cursor: text !important; }
  .desktop .win__grip { cursor: nwse-resize !important; }
  .desktop .win.is-busy, .desktop .win.is-busy * { cursor: var(--cur-busy), progress !important; }
}

.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.wall { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.wall__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wall__svg { width: 100%; height: 100%; }
.wall__svg text { font-family: var(--display); }
.wall .blink { animation: blink 1.4s steps(1) infinite; }
.wall__drone { animation: drift 10s ease-in-out infinite alternate; }
.wall__drone--2 { animation-duration: 13s; animation-name: drift2; }
.wall__drone--3 { animation-duration: 16s; animation-name: drift3; }
@keyframes drift { to { transform: translate(520px, 60px); } }
@keyframes drift2 { to { transform: translate(620px, 90px) scale(.8); } }
@keyframes drift3 { to { transform: translate(-220px, 40px) scale(.7); } }

.hello { position: absolute; left: 50%; top: 14px; z-index: 1; transform: translateX(-50%); width: min(720px, calc(100% - 700px)); text-align: center; pointer-events: none; animation: fade-in 1s ease; }
.hello__clock { display: block; font: 200 clamp(76px, 8vw, 138px)/.95 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hello__h { margin: 12px 0 0; font: 650 clamp(22px, 2vw, 32px)/1.15 var(--font); letter-spacing: -.02em; }
.hello__p { margin: 8px 0 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.desktop[data-tier="owner"] .hello { color: #14303D; text-shadow: 0 1px 18px rgba(255, 255, 255, .9); }
.desktop[data-tier="allocated"] .hello { color: #F4F6F8; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
@media (max-width: 1180px), (max-height: 640px) { .hello { display: none; } }

.icon { display: block; width: 100%; height: 100%; overflow: visible; }
.icon .ic-tile { fill: var(--ic-tile); }
.icon .ic-shine { fill: #fff; opacity: .18; }
.icon .ic-edge { fill: none; stroke: rgba(0, 0, 0, .22); stroke-width: 1; }
.icon .ia { fill: var(--ic-a); }
.icon .ib { fill: var(--ic-b); }
.icon .ic { fill: var(--ic-c); }
.icon .id { fill: var(--ic-d); }
.icon .ired { fill: #E5484D; }
.icon .is { stroke: var(--ic-line); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.icon .il { fill: none; stroke: var(--ic-line); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .il--k { stroke-width: 3.6; }
.icon .il--acc { stroke: var(--ic-c); stroke-width: 3.4; }
.icon .il--dim { opacity: .35; }
.icon .snk { stroke: var(--ic-line); }
.icon .snk2 { stroke: var(--ic-c); }
.desktop[data-tier="owner"] .icon--special { --ic-tile: #0B0B0A; --ic-b: #FDD509; --ic-line: #0B0B0A; }
.desktop[data-tier="owner"] .icon--special .ic-edge { stroke: rgba(253, 213, 9, .6); }
.desktop[data-tier="allocated"] .icon--special { --ic-tile: #FDD509; --ic-a: #0B0B0A; --ic-b: #FFF6CC; --ic-line: #0B0B0A; }

.icons { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.dicon { position: absolute; width: 84px; padding: 6px 2px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; border-radius: 10px; background: transparent; pointer-events: auto; touch-action: none; }
.dicon__img { width: 56px; height: 56px; transition: transform .12s ease; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); pointer-events: none; }
.desktop img { -webkit-user-drag: none; user-select: none; }
.dicon__img img, .dock__app img { pointer-events: none; }
.dicon__label { max-width: 84px; padding: 2px 6px; border-radius: 4px; font: 600 12px/1.25 var(--font); text-align: center; word-break: break-word; }
.desktop[data-tier="owner"] .dicon__label { color: #14303D; background: rgba(255, 255, 255, .72); }
.desktop[data-tier="allocated"] .dicon__label { color: #F1F3F5; background: rgba(12, 15, 19, .5); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.dicon:hover .dicon__img { transform: translateY(-2px); }
.dicon:focus-visible { outline: none; }
.dicon:focus-visible .dicon__label { outline: 2px dotted currentColor; outline-offset: 1px; }
.desktop[data-tier="owner"] .dicon.is-sel { background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.desktop[data-tier="owner"] .dicon.is-sel .dicon__label { background: var(--y); color: #0B0B0A; text-shadow: none; }
.desktop[data-tier="allocated"] .dicon.is-sel { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.desktop[data-tier="allocated"] .dicon.is-sel .dicon__label { background: #D5DDE6; color: #0E1116; text-shadow: none; }
.icons.is-dragging .dicon.is-sel { opacity: .85; z-index: 2; }
.band { position: absolute; z-index: 4; pointer-events: none; }
.desktop[data-tier="owner"] .band { background: rgba(253, 213, 9, .15); border: 1px solid rgba(160, 130, 0, .7); border-radius: 4px; }
.desktop[data-tier="allocated"] .band { background: rgba(213, 221, 230, .12); border: 1px solid rgba(213, 221, 230, .6); border-radius: 4px; }

.widgets { position: absolute; top: 14px; z-index: 2; width: 290px; max-height: calc(100% - 28px); display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.widgets::-webkit-scrollbar { display: none; }
.desktop .widgets { left: 16px; max-height: calc(100% - 120px); }
.widget { padding: 14px 16px 13px; animation: rise-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.widget:nth-child(2) { animation-delay: .05s; } .widget:nth-child(3) { animation-delay: .1s; } .widget:nth-child(4) { animation-delay: .15s; } .widget:nth-child(5) { animation-delay: .2s; }
.desktop .widget { border-radius: 18px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); color: var(--text); }
.w-label { margin: 0; font: 600 11.5px/1.25 var(--font); letter-spacing: .02em; color: var(--muted); }
.w-value { margin: 6px 0 0; font: 650 30px/1.05 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-value--sm { font-size: 18px; letter-spacing: -.01em; }
.w-sub { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); }
.w-text { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
.w-earn { position: relative; }
.widget[data-open] { transition: transform .15s ease, box-shadow .15s ease; }
.widget[data-open]:hover { transform: translateY(-2px); }
.widget[data-open]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.toast[data-open] { cursor: pointer; }
.w-list { list-style: none; margin: 8px 0 0; padding: 0; }
.w-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.w-list li span { flex: 1; min-width: 0; }
.w-list li b { font: 600 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.w-list--plain li { border-top: 1px solid var(--line-2); }
.w-list--plain li:first-child { border-top: 0; }
.spark { width: 100%; height: 50px; margin-top: 8px; }
.spark__area { fill: rgba(253, 213, 9, .35); }
.spark__line { fill: none; stroke: #0B0B0A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark__dot { fill: var(--y); stroke: #0B0B0A; stroke-width: 2; }

.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.on { background: #1E7A3E; animation: pulse 1.8s ease-in-out infinite; }

.meter { position: relative; height: 10px; margin-top: 10px; border-radius: 5px; background: var(--track); }
.meter i { display: block; height: 100%; border-radius: 5px; background: var(--accent); transition: width .5s ease; }
.meter--ok i { background: #1E7A3E; }
.meter--warn i { background: var(--warn); }
.meter--bad i { background: var(--neg); }
.meter--ctx i { background: var(--info); }
.meter__mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); }

.menubar { position: relative; z-index: 300; flex: none; height: 30px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--bar); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--bar-line); color: var(--bar-ink); font-size: 13px; }
.menubar button { border: 0; color: inherit; cursor: pointer; }
.mb__logo, .mb__app, .mb__clock { display: grid; place-items: center; padding: 3px 6px; border-radius: 6px; background: transparent; }
.mb__logo img { width: auto; height: 20px; }
.mb__app { font-weight: 700; }
.mb__logo:hover, .mb__app:hover, .mb__clock:hover, .mb__bal:hover, .mb__icon:hover, .menubar [aria-expanded="true"] { background: var(--bar-hover); }
.mb__class:hover, .mb__ad:hover { filter: brightness(1.12); }
.mb__class { padding: 2px 8px; border-radius: 999px; background: var(--y); color: #0B0B0A; font: 700 10px/1.5 var(--font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.desktop[data-tier="allocated"] .mb__class { background: #3A424C; color: #D5DDE6; }
.mb__ad { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 430px; padding: 2px 10px 2px 3px; border-radius: 999px; background: rgba(242, 178, 51, .14); color: #F2C46B; font-size: 12px; white-space: nowrap; }
.mb__ad b { flex: none; padding: 1px 6px; border-radius: 999px; background: #F2B233; color: #111; font: 800 9.5px/1.5 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.mb__ad span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mb__spacer { flex: 1; }
.mb__bal { padding: 3px 8px; border-radius: 6px; background: transparent; font: 600 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; transition: background-color .3s; }
.mb__bal.is-up { background: rgba(253, 213, 9, .5); }
.mb__bal.is-down { background: rgba(214, 70, 55, .3); }
.mb__icon { position: relative; display: grid; place-items: center; border: 0; background: transparent; padding: 3px; border-radius: 6px; }
.mb__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mb__bell:hover, .mb__user:hover { background: var(--bar-hover); }
.mb__clock { font-variant-numeric: tabular-nums; white-space: pre; }
.mb__user { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; font-weight: 600; }
.mb__user svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.mb__avatar { width: 18px; height: 18px; border-radius: 50%; background: #0B0B0A; box-shadow: 0 0 0 1.5px var(--y); }
.desktop[data-tier="allocated"] .mb__avatar { background: #6B7580; box-shadow: 0 0 0 1.5px #AAB3BD; }
.badge { position: absolute; top: -4px; right: -6px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: #E5484D; color: #fff; font: 700 9.5px/15px var(--font); font-style: normal; text-align: center; }

.dock { position: absolute; left: 50%; bottom: 12px; z-index: 250; transform: translateX(-50%); display: flex; gap: 4px; max-width: calc(100vw - 24px); padding: 8px 10px 6px; border-radius: 24px; background: var(--dock); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--dock-edge); box-shadow: var(--dock-shadow); overflow-x: auto; scrollbar-width: none; }
.dock::-webkit-scrollbar { display: none; }
.dock__app { position: relative; flex: none; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; }
.dock__app .icon { width: 48px; height: 48px; transition: transform .16s ease; }
.dock__app:hover .icon { transform: translateY(-6px) scale(1.12); }
.dock__label { font-size: 10.5px; font-weight: 600; color: var(--dock-ink); white-space: nowrap; }
.dock__app.is-open::after { content: ""; position: absolute; bottom: 14px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--dock-ink); }

.usermenu { position: absolute; top: 34px; right: 10px; z-index: 400; width: 280px; padding: 6px; border-radius: 12px; background: var(--menu); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--text); box-shadow: var(--menu-shadow); animation: rise-in .14s ease; }
.um__who { margin: 4px 8px 8px; padding-bottom: 8px; border-bottom: 1px solid var(--menu-line); font-size: 12px; color: var(--muted); }
.um__who b { display: block; color: var(--text); font-size: 13.5px; }
.usermenu hr { margin: 4px 8px; border: 0; border-top: 1px solid var(--menu-line); }
.usermenu button, .usermenu a { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; text-align: left; text-decoration: none; font-size: 13.5px; }
.usermenu button:hover, .usermenu a:hover, .usermenu button:focus-visible { background: var(--menu-hi); color: var(--menu-hi-ink); outline: none; }

.ctx { position: absolute; z-index: 500; min-width: 210px; padding: 5px; border-radius: 10px; background: var(--menu); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--text); box-shadow: var(--menu-shadow); }
.ctx button { display: block; width: 100%; padding: 7px 12px; border: 0; border-radius: 6px; background: transparent; text-align: left; font-size: 13.5px; }
.ctx button.is-bold { font-weight: 700; }
.ctx__info { margin: 0; padding: 5px 12px 4px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ctx__info:first-child { padding-top: 7px; font-weight: 650; color: var(--text); }
.ctx button:hover, .ctx button:focus-visible { background: var(--menu-hi); color: var(--menu-hi-ink); outline: none; }
.ctx hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--menu-line); }

.wins { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.win { position: absolute; pointer-events: auto; display: flex; flex-direction: column; min-width: 300px; min-height: 180px; color: var(--text); animation: win-in .2s cubic-bezier(.2, .8, .2, 1); }
.win:focus { outline: none; }
.win.is-min { display: none; }
.win.is-closing { animation: win-out .15s ease-in forwards; }
@keyframes win-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes win-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
.win__bar { flex: none; display: flex; align-items: center; gap: 8px; touch-action: none; }
.win__icon { flex: none; width: 18px; height: 18px; }
.win__title { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win__ctl { display: flex; gap: 7px; }
.wc { display: grid; place-items: center; padding: 0; border: 0; }
.wc svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.win__body { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; container-type: inline-size; }
.win__grip { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; z-index: 2; }
.win__loading { display: flex; align-items: center; gap: 10px; margin: 0; padding: 28px 18px; color: var(--muted); font-size: 13px; }
.win__loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .7s linear infinite; }
.view { min-height: 100%; }

.desktop .win { border-radius: 14px; overflow: hidden; background: var(--panel); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); box-shadow: var(--win-shadow); }
.desktop .win.is-focused { box-shadow: var(--win-shadow-on); }
.desktop .win__bar { height: 40px; padding: 0 12px; background: var(--win-bar); border-bottom: 1px solid var(--line); }
.desktop .win__title { font: 650 13.5px/1 var(--font); text-align: center; padding-left: 64px; color: var(--win-title); }
.desktop .wc { width: 14px; height: 14px; border-radius: 50%; background: var(--wc); color: transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.desktop .wc--close { background: var(--wc-close); }
.desktop .win__ctl:hover .wc { color: #0B0B0A; }
.desktop .win__icon { display: none; }
.desktop .win__body { padding: 18px; }
.desktop .win__grip { background: linear-gradient(135deg, transparent 50%, var(--line-2) 50% 58%, transparent 58% 70%, var(--line-2) 70% 78%, transparent 78%); }
.win.is-max { border-radius: 0 !important; }
.desktop .win--browser .win__body, .desktop .win--terminal .win__body, .desktop .win--vr-office .win__body { padding: 0; }

.rp { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 18px; text-align: center; animation: rise-in .25s ease; }
.rp__icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; font: 800 30px/1 var(--font); }
.rp__icon .icon { width: 56px; height: 56px; }
.rp--ok .rp__icon { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }
.rp--no .rp__icon { background: #B3261E; color: #fff; }
.rp--info .rp__icon { background: var(--info); color: #fff; font-family: Georgia, serif; font-style: italic; }
.rp--wait .rp__icon { background: #E8912D; color: #fff; font-size: 26px; }
.rp__kick { margin: 4px 0 0; font: 700 11px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rp__title { margin: 2px 0 0; font: 700 22px/1.2 var(--font); letter-spacing: -.015em; max-width: 26em; }
.rp__text { margin: 0; max-width: 34em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rp__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.subpage__bar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.subpage__title { font: 650 13.5px/1.2 var(--font); color: var(--muted); }
.btn-os svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.app { font-size: 14px; color: var(--text); }
.eyebrow { margin: 0 0 8px; font: 500 12px/1.4 var(--font); color: var(--muted); }
.app-h { margin: 4px 0 12px; font: 650 19px/1.25 var(--font); letter-spacing: -.01em; }
.sub-h { margin: 16px 0 8px; font: 700 11.5px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted { margin: 0; font-size: 13.5px; color: var(--muted); }
.big-line { margin: 4px 0 8px; font: 650 22px/1.25 var(--font); letter-spacing: -.015em; }
.note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--y); color: #0B0B0A; font: 700 9.5px/1.4 var(--font); font-style: normal; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.ill { margin: 0 0 14px; }
.ill .art { width: 100%; height: auto; border-radius: calc(var(--radius) - 4px); color: var(--art-ink); }
.desktop .ill .art { border: 1px solid var(--line-2); }
.art .p { fill: var(--art-paper); }
.art .y { fill: var(--art-accent); }
.art .c { fill: var(--art-card); }
.art .d { fill: #0B0B0A; }
.art .ps { stroke: var(--art-paper); }
.art .ys { stroke: var(--art-accent); }
.art text { font-family: var(--display); font-stretch: 82%; }

.hero { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 6px; }
.hero__cur { font: 500 20px/1 var(--font); color: var(--muted); }
.hero__num { font: 650 50px/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.card { margin-top: 16px; padding: 14px 14px 12px; border-radius: calc(var(--radius) - 2px); background: var(--panel-2); border: 1px solid var(--line); }
.card__h { margin: 0 0 12px; font: 650 13.5px/1.3 var(--font); }
.split-bar { display: flex; gap: 2px; height: 22px; }
.seg { display: block; height: 100%; min-width: 3px; transition: filter .15s; }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg--muted { background: var(--seg-muted); }
.seg--accent { background: var(--seg-accent); }
.desktop[data-tier="owner"] .seg--accent { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45); }
.seg:hover, .seg:focus-visible { filter: brightness(1.1); outline: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--text); font-weight: 650; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sw--muted { background: var(--seg-muted); }
.sw--accent { background: var(--seg-accent); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.ledger { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13.5px; }
.ledger td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.ledger td:last-child { padding-left: 12px; text-align: right; white-space: nowrap; font: 500 13px/1.35 var(--mono); font-variant-numeric: tabular-nums; }
.ledger .who { display: block; font-weight: 650; }
.ledger .what { display: block; font-size: 12.5px; color: var(--muted); }
.ledger tfoot td { border-top: 2px solid var(--text); font-weight: 700; }
.tip { position: fixed; z-index: 1000; max-width: 260px; padding: 8px 10px; border-radius: 8px; pointer-events: none; background: #0B0B0A; color: #F3EFE3; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); font-size: 12px; line-height: 1.35; }
.tip b { display: block; font: 650 15px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.tip span { color: #BDB7A8; }
.notice { margin-top: 14px; padding: 11px 13px; border-radius: calc(var(--radius) - 4px); background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }
.notice--warn { background: color-mix(in srgb, var(--warn) 12%, var(--panel-2)); border-color: color-mix(in srgb, var(--warn) 32%, transparent); }
.notice--lock { color: var(--muted); }
.list { list-style: none; margin: 8px 0 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.list li:first-child { border-top: 0; }
.list li > span:first-child { color: var(--muted); flex: none; }
.list li > span:first-child b { display: block; color: var(--text); font-weight: 650; }
.list li > span:first-child small { display: block; font-size: 12px; }
.list li > b { text-align: right; font-weight: 650; }
.list--items li > span:first-child { color: var(--text); flex: 1; }
.list--items li > b { font: 600 13px/1 var(--mono); }
.lock-tag { flex: none; padding: 3px 7px 2px; border-radius: 999px; background: var(--line); color: var(--muted); font: 700 10px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 12px 0; }
.kpi { padding: 10px 12px; border-radius: calc(var(--radius) - 4px); background: var(--panel-2); border: 1px solid var(--line); }
.kpi > span { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); }
.kpi > b { display: block; margin-top: 4px; font: 650 19px/1.15 var(--font); letter-spacing: -.01em; }
.options { display: grid; gap: 8px; margin-top: 12px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: calc(var(--radius) - 4px); background: var(--panel-solid); color: var(--text); text-align: left; transition: border-color .15s, background-color .15s; }
.desktop .opt { background: var(--btn); }
.opt:hover { border-color: var(--text); }
.opt b { font-weight: 650; font-size: 14px; }
.opt span { font-size: 12.5px; color: var(--muted); }
.opt--locked { opacity: .55; }
.field { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.field input[type="range"] { accent-color: var(--text); }
.btn-os { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: calc(var(--radius) - 4px); background: var(--panel-solid); color: var(--text); font: 650 13.5px/1 var(--font); text-decoration: none; }
.desktop .btn-os { background: var(--btn); }
.btn-os:hover:not(:disabled) { border-color: var(--text); }
.btn-os:disabled { opacity: .5; }
.btn-os--primary { background: var(--accent) !important; color: var(--accent-ink) !important; border-color: var(--accent) !important; }
.btn-os--sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ladder { list-style: none; margin: 8px 0 0; padding: 0; }
.ladder li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 9px 12px; margin-top: -1px; border: 1px solid var(--line-2); background: var(--panel-solid); }
.ladder li div b { display: block; font-weight: 650; }
.ladder li div span { font-size: 12px; color: var(--muted); }
.ladder li em { font: 600 12.5px/1 var(--mono); font-style: normal; }
.ladder li.is-here { background: var(--accent) !important; color: var(--accent-ink); }
.ladder li.is-here div span { color: inherit; opacity: .72; }
.ladder li.is-here div b::after { content: "  ← you are here"; font-weight: 600; font-size: 12px; }
.ladder li.is-locked { opacity: .6; }

.food { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
@container (max-width: 520px) { .food { grid-template-columns: minmax(0, 1fr); } }
.nf { padding: 6px 8px 8px; background: #fff; color: #000; border: 2px solid #000; font: 400 12px/1.25 Arial, Helvetica, sans-serif; }
.nf__h { margin: 0; font: 900 27px/1 "Archivo", Arial, sans-serif; font-stretch: 80%; letter-spacing: -.01em; }
.nf__row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 3px 0; border-top: 1px solid #000; }
.nf__row--b { border-top: 1px solid #000; border-bottom: 8px solid #000; padding-bottom: 4px; }
.nf__row--in { padding-left: 12px; }
.nf__cal { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 2px 0; border-bottom: 4px solid #000; font-weight: 900; }
.nf__cal b { font-size: 28px; }
.nf__dv { margin: 0; padding: 2px 0; text-align: right; font-weight: 700; font-size: 11px; }
.nf__vit { margin: 0; padding: 4px 0; border-top: 8px solid #000; font-size: 11px; }
.nf__ing { margin: 0; padding-top: 5px; border-top: 1px solid #000; font-size: 10.5px; line-height: 1.35; }

.ai__meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 6px; }
.ai__lbl { font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ai__val { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ai__val b { color: var(--text); }
.chat { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; max-height: 280px; overflow-y: auto; padding: 2px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; animation: rise-in .2s ease; transition: opacity .6s, filter .6s; }
.msg--bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.desktop[data-tier="owner"] .msg--bot { background: #fff; }
.msg--me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg--sys { align-self: center; max-width: 100%; padding: 2px 6px; font-size: 12px; color: var(--muted); background: none; }
.msg em { font-style: normal; color: var(--muted); }
.msg.is-forgotten { opacity: .3; filter: blur(1.5px); }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--field); color: var(--text); font: 400 14px/1 var(--font); }
.chat-form button { height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.chat-form :disabled { opacity: .5; }
.agents, .machines, .tasks { list-style: none; margin: 10px 0 0; padding: 0; }
.agents li, .machines li, .tasks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.agents li:first-child, .machines li:first-child, .tasks li:first-child { border-top: 0; }
.agents li span, .machines li div, .tasks li div { flex: 1; min-width: 0; }
.agents li em { font-style: normal; font-size: 12px; color: var(--muted); text-align: right; }
.machines li b, .tasks li b { display: block; font-weight: 650; font-size: 14px; }
.machines li div span, .tasks li div span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.machines li em { font-style: normal; font: 600 12.5px/1 var(--mono); white-space: nowrap; }
.tasks li .btn-os { flex: none; min-width: 84px; }

.mail { list-style: none; margin: 0; padding: 0; }
.mail__row { display: grid; grid-template-columns: 10px 1fr auto; gap: 3px 10px; align-items: baseline; width: 100%; padding: 10px 6px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.mail li:first-child .mail__row { border-top: 0; }
.mail__row:hover { background: var(--panel-2); }
.mail .unread { width: 8px; height: 8px; border-radius: 50%; background: #2F6E9E; align-self: center; }
.mail__row.is-read .unread { background: transparent; }
.mail__row:not(.is-read) .from { font-weight: 750; }
.mail .from { font-weight: 600; font-size: 13.5px; }
.mail .time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mail .subj { grid-column: 2 / span 2; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader__subj { margin: 0; font: 700 20px/1.25 var(--font); letter-spacing: -.01em; }
.reader__subj + .reader__body { margin-top: 14px; }
.reader__meta { display: flex; gap: 12px; margin: 6px 0 14px; font-size: 13px; color: var(--muted); }
.reader__meta b { color: var(--text); }
.reader__body { padding: 14px 16px; border-radius: calc(var(--radius) - 4px); background: var(--panel-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.desktop[data-tier="owner"] .reader__body { background: #fff; }

.news { list-style: none; margin: 0; padding: 0; }
.news li { border-top: 1px solid var(--line); }
.news li:first-child { border-top: 0; }
.news__item { display: block; width: calc(100% + 16px); margin: 0 -8px; padding: 12px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--text); text-align: left; font: inherit; }
.news li:first-child .news__item { padding-top: 6px; }
.news__item:hover, .news__item:focus-visible { background: var(--panel-2); outline: none; }
.news__item:hover h4, .news__item:focus-visible h4 { text-decoration: underline; text-underline-offset: 3px; }
.news .sec { font: 700 10.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.news h4 { margin: 5px 0 0; font: 650 15px/1.35 var(--font); }
.news p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.news .spon .news__item { background: rgba(242, 178, 51, .14); }
.news .spon .news__item:hover, .news .spon .news__item:focus-visible { background: rgba(242, 178, 51, .24); }
.reader__sec { margin: 0 0 8px; font: 700 10.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticker-strip { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: var(--btn); border: 1px solid var(--line-2); font: 500 12.5px/1.3 var(--mono); }
.ticker-strip b { color: var(--pos); }

.profile { display: flex; align-items: center; gap: 14px; }
.profile__avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.profile__avatar svg { width: 40px; height: 40px; }
.desktop[data-tier="owner"] .profile__avatar { background: #0B0B0A; color: var(--y); box-shadow: 0 0 0 3px var(--y); }
.desktop[data-tier="allocated"] .profile__avatar { background: #7B838B; color: #C9CED3; }
.profile h3 { margin: 0; font: 650 20px/1.15 var(--font); }
.profile p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.facts { display: grid; grid-template-columns: auto 1fr; margin: 16px 0 0; font-size: 13.5px; }
.facts dt, .facts dd { padding: 9px 0; border-top: 1px solid var(--line); }
.facts dt { padding-right: 16px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.class-chip { display: inline-block; padding: 3px 8px 2px; border-radius: 999px; font: 700 10.5px/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.desktop[data-tier="owner"] .class-chip { background: var(--y); color: #0B0B0A; }
.desktop[data-tier="allocated"] .class-chip { background: #4A5159; color: #E3E6E9; }
.quote { margin: 16px 0 0; padding: 12px 14px; border-radius: calc(var(--radius) - 4px); background: var(--panel-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; font-style: italic; }

.files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.files button { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 10px 6px; border: 1px solid transparent; background: transparent; font-size: 12px; text-align: center; word-break: break-all; }
.files button:hover, .files button:focus-visible { border-color: var(--line-2); background: var(--panel-2); outline: none; }
.files .icon { width: 44px; height: 44px; }
.doc__head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.doc__head .icon { flex: none; width: 40px; height: 40px; }
.doc__name { margin: 0; font: 650 16px/1.25 var(--font); word-break: break-all; }
.doc__meta { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.doc__paper { padding: 18px 20px; border-radius: calc(var(--radius) - 4px); background: var(--panel-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.desktop[data-tier="owner"] .doc__paper { background: #fff; }
.doc__paper h4 { margin: 0 0 12px; font: 700 12px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc__paper h5 { margin: 14px 0 4px; font: 700 13.5px/1.3 var(--font); }
.doc__paper p { margin: 0 0 4px; }
.doc__paper--mono { font: 13px/1.7 var(--mono); }
.doc__paper--mono p { min-height: 1.7em; margin: 0; white-space: pre-wrap; }
.doc__del { text-decoration: line-through; color: var(--muted); }
.doc__rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; }
.doc__rows li { display: contents; }
.doc__rows li > * { padding: 7px 0; border-top: 1px solid var(--line); }
.doc__rows li:first-child > * { padding-top: 0; border-top: 0; }
.doc__rows b { font: 600 13px/1.55 var(--mono); font-variant-numeric: tabular-nums; }
.doc__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.doc__table th { padding: 0 8px 8px; font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--muted); }
.doc__table td { padding: 8px; border-top: 1px solid var(--line); }
.doc__table :is(th, td):first-child { padding-left: 0; }
.doc__table :is(th, td):last-child { padding-right: 0; text-align: right; }
.doc__table td:not(:first-child) { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.doc__table tfoot td { font-weight: 700; border-top: 2px solid var(--line-2); }
.doc__table td.doc__empty { padding: 18px 0; text-align: center; color: var(--muted); }
.doc__note { margin: 12px 0 0; font-size: 13px; font-style: italic; color: var(--muted); }

.slack { display: grid; grid-template-columns: 130px 1fr; height: 100%; min-height: 420px; }
.slack__side { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; background: #3F0E40; color: #E7D8E7; font-size: 13px; }
.slack__side b { color: #fff; }
.slack__main { display: flex; flex-direction: column; min-width: 0; background: #fff; color: #1D1C1D; }
.slack__log { flex: 1; overflow-y: auto; padding: 12px 14px; }
.slack__log p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.4; }
.slack__log b { margin-right: 6px; }
.slack__log span { margin-right: 6px; font-size: 11px; color: #868686; }
.slack__form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #DDD; }
.slack__form input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #BBB; border-radius: 6px; font: inherit; }
.slack__form button { height: 34px; padding: 0 12px; border: 0; border-radius: 6px; background: #007A5A; color: #fff; font-weight: 700; }

.term { min-height: 100%; padding: 12px 14px; background: #0B0B0A; color: #E8E3D3; font: 13px/1.5 var(--mono); }
.term pre { margin: 0; white-space: pre-wrap; font: inherit; }
.term__cmd { color: #FDD509; }
.term__dim { color: #8F897A; }
.term__line { display: flex; gap: 8px; align-items: center; }
.term__ps { flex: none; color: #8FB0CF; }
.term__line input { flex: 1; min-width: 0; border: 0; background: transparent; color: #E8E3D3; font: inherit; caret-color: #FDD509; outline: none; }
.desktop .win--terminal .win__body { background: #0B0B0A; }

.captcha__head { padding: 12px 14px; background: #1A73E8; color: #fff; }
.captcha__head p { margin: 0; font-size: 13px; }
.captcha__head b { display: block; font: 800 26px/1.1 var(--font); letter-spacing: .02em; }
.captcha__head p:last-child { margin-top: 4px; font-size: 11.5px; opacity: .85; }
.captcha__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.captcha__tile { position: relative; padding: 0; border: 0; background: #fff; aspect-ratio: 1; overflow: hidden; --art-paper: #F5F5F2; --art-accent: #F2B233; color: #1E232A; }
.captcha__tile .art { width: 100%; height: 100%; transition: transform .15s; }
.captcha__tile.is-on .art { transform: scale(.84); }
.captcha__tile.is-on::after { content: "✓"; position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: #1A73E8; color: #fff; font: 800 14px/22px var(--font); text-align: center; }
.loopjob__timer { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.loopjob__timer i { display: block; height: 100%; width: 100%; background: var(--accent); }
.loopjob__q { min-height: 3em; margin: 14px 0 0; font: 650 18px/1.35 var(--font); }
.poem { margin: 6px 0 10px; padding: 14px 16px; border-radius: calc(var(--radius) - 4px); border: 1px solid var(--line); background: var(--panel-2); font: italic 400 15.5px/1.6 Georgia, serif; white-space: pre-wrap; }
.review fieldset { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--line-2); }
.review legend { padding: 0 4px; font-weight: 650; }
.review label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-size: 13.5px; }
.empty { padding: 18px 4px; text-align: center; }

.br { display: flex; flex-direction: column; height: 100%; min-height: 440px; background: #fff; color: #1B1A17; }
.br__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #F2EFE8; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.desktop[data-tier="allocated"] .br__bar { background: #262B32; border-bottom-color: rgba(255, 255, 255, .08); color: #E8EBEF; }
.desktop[data-tier="allocated"] .br__nav:hover { background: rgba(255, 255, 255, .1); }
.br__nav { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; }
.br__nav:hover { background: rgba(0, 0, 0, .07); }
.br__nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.br__addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(0, 0, 0, .12); }
.desktop[data-tier="allocated"] .br__addr { background: #15191E; border-color: rgba(255, 255, 255, .14); }
.desktop[data-tier="allocated"] .br__addr input { color: #E8EBEF; }
.br__lock svg { width: 14px; height: 14px; fill: none; stroke: #1E7A3E; stroke-width: 2; }
.br__addr input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 13.5px/1 var(--font); color: #1B1A17; outline: none; }
.br__free { flex: none; padding: 4px 8px; background: #F2B233; color: #111; font: 800 10.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.br__marks { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 8px; border-bottom: 1px solid rgba(0, 0, 0, .08); background: #FAF8F3; }
.desktop[data-tier="allocated"] .br__marks { background: #20252C; border-bottom-color: rgba(255, 255, 255, .08); }
.desktop[data-tier="allocated"] .br__marks button { color: #C9D1DA; }
.desktop[data-tier="allocated"] .br__marks button:hover { background: rgba(255, 255, 255, .1); }
.br__marks button { padding: 5px 9px; border: 0; border-radius: 6px; background: transparent; font: 600 12px/1 var(--font); color: #3D3A33; }
.br__marks button:hover { background: rgba(0, 0, 0, .07); }
.br__load { height: 3px; background: transparent; }
.br__load.is-going { background: linear-gradient(90deg, #8DB3DB, #D5DDE6) no-repeat 0 0 / 0% 100%; animation: brload .55s ease-out forwards; }
@keyframes brload { to { background-size: 100% 100%; opacity: .2; } }
.br__page { flex: 1; min-height: 0; overflow: auto; background: #fff; transition: opacity .2s; }
.br__page.is-loading { opacity: .35; }

.site { padding: 0 0 24px; font: 400 14px/1.45 var(--font); color: #1B1A17; }
.site a[data-href] { color: #1A4DB4; text-decoration: none; }
.site a[data-href]:hover { text-decoration: underline; }
.site-ad { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; background: #FFF6C9; border-bottom: 1px solid #EFD98A; font-size: 12.5px; }
.site-ad em { font-style: normal; color: #7A6B2E; }
.site-ad__tag { padding: 2px 6px; background: #1B1A17; color: #fff; font: 800 9.5px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.site-btn, .site a.site-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; padding: 9px 14px; border: 0; border-radius: 8px; background: #1B1A17; color: #FDD509 !important; font: 700 13px/1 var(--font); text-decoration: none !important; }
.site-btn:disabled { background: #D9D4C8; color: #6B6558 !important; }
.site-btn--big { padding: 13px 20px; font-size: 15px; }
.site-list { list-style: none; margin: 0 18px; padding: 0; }
.site-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid #ECE8DF; }
.site-list li span { color: #6B6558; }
.site-note { margin: 14px 18px 0; font-size: 13px; font-style: italic; color: #6B6558; }
.site--404 { padding: 60px 24px; text-align: center; }
.site__404 { font: 700 22px/1.2 var(--font); }
.up { color: #1E7A3E; }
.az__h { margin: 16px 18px 10px; font: 700 16px/1.2 var(--font); }

.gg__home { display: flex; flex-direction: column; align-items: center; padding: 40px 20px 10px; }
.gg__logo { margin: 0; font: 900 54px/1 var(--display); font-stretch: 80%; letter-spacing: -.02em; }
.gg__o { display: inline-grid; place-items: center; width: .62em; height: .62em; margin: 0 .02em; border-radius: 50%; background: #1B1A17; color: transparent; box-shadow: inset 0 0 0 .12em #FDD509; vertical-align: -.02em; font-size: 1em; line-height: 0; overflow: hidden; }
.gg__form { display: flex; gap: 8px; width: min(560px, 100%); margin-top: 22px; }
.gg__form input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border: 1px solid #D9D4C8; border-radius: 999px; font: 400 15px/1 var(--font); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
.gg__form button { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #1B1A17; color: #FDD509; font: 700 14px/1 var(--font); }
.gg__trend-h { margin: 26px 0 8px; font: 700 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #6B6558; }
.gg__trends { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 620px; }
.gg__trends li a { display: inline-block; padding: 7px 12px; border: 1px solid #E2DDD2; border-radius: 999px; font-size: 13px; }
.gg__top { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-bottom: 1px solid #ECE8DF; }
.gg__top .gg__logo { font-size: 28px; }
.gg__top .gg__form { margin: 0; }
.gg__top .gg__form input, .gg__top .gg__form button { height: 38px; }
.gg__list { padding: 6px 18px; max-width: 640px; }
.gg__res { padding: 12px 0; }
.gg__res cite { display: block; font-style: normal; font-size: 12px; color: #4D6B3A; }
.gg__res a { font: 600 17px/1.3 var(--font); }
.gg__res p { margin: 3px 0 0; color: #4A4740; font-size: 13.5px; }
.gg__res--ad .site-ad__tag { display: inline-block; margin-bottom: 4px; }
.gg__ai { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #F7F4EC; border: 1px solid #E8E2D3; }
.gg__ai b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6B6558; }
.gg__ai p { margin: 6px 0 0; }
.gg__ai--basic em { font-style: normal; color: #B3261E; font-weight: 600; }

.az__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; background: #1B1A17; color: #fff; }
.az__logo { margin: 0; font: 900 26px/1 var(--display); font-stretch: 90%; letter-spacing: -.02em; }
.az__logo span { color: #FDD509; }
.az__bal { font-size: 13px; color: #CFC9B8; }
.az__bal b { color: #fff; }
.az__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding: 0 18px; }
.az__card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid #E2DDD2; border-radius: 12px; }
.az__card.is-locked { opacity: .55; }
.az__img { display: grid; place-items: center; height: 92px; margin-bottom: 6px; border-radius: 8px; background: #F7F4EC; }
.az__img .icon { width: 58px; height: 58px; }
.az__card b { font-size: 13.5px; line-height: 1.3; }
.az__note { font-size: 12px; color: #6B6558; }
.az__price { margin-top: 2px; font: 700 17px/1.2 var(--font); }
.az__order { margin: 24px 18px; padding: 22px; border-radius: 14px; }
.az__order.is-ok { background: #EEF7EF; border: 1px solid #BFE0C4; }
.az__order.is-no { background: #FBEDEB; border: 1px solid #F0C4BE; }
.az__order-h { margin: 0 0 6px; font: 700 20px/1.2 var(--font); }
.az__order p { margin: 6px 0 0; }

.pw__top, .br-site__top, .rg__top, .ag__top, .y__top { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; }
.pw__top { background: #0F6E6E; color: #fff; }
.pw__logo { margin: 0; font: 900 26px/1 var(--display); font-stretch: 90%; letter-spacing: -.01em; }
.pw__top span, .br-site__top span, .rg__top span, .ag__top span, .y__top span { font-size: 12.5px; opacity: .8; }
.pw__search { display: flex; justify-content: space-between; margin: 16px 18px 0; padding: 14px 16px; border-radius: 12px; background: #F2F7F7; }
.pw__search b { color: #B3261E; }
.pw__summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 18px; }
.pw__summary div { padding: 12px 14px; border-radius: 12px; background: #F7F4EC; }
.pw__summary span { display: block; font-size: 12px; color: #6B6558; }
.pw__summary b { display: block; margin-top: 4px; font: 700 20px/1.1 var(--font); }
.pw__list { display: grid; gap: 10px; margin: 0 18px; }
.pw__item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid #E2DDD2; border-radius: 12px; }
.pw__item.is-locked { opacity: .55; }
.pw__item .site-btn { grid-column: 3; margin-top: 0; }
.pw__img { display: grid; place-items: center; width: 64px; height: 52px; border-radius: 8px; background: #F2F7F7; }
.pw__img .icon { width: 40px; height: 40px; }
.pw__item b { display: block; font-size: 14px; }
.pw__item span { font-size: 12.5px; color: #6B6558; }
.pw__item em { font: 700 14px/1 var(--font); font-style: normal; white-space: nowrap; }

.y { background: #fff; }
.y__top { border-bottom: 1px solid #ECE8DF; }
.y__logo { margin: 0; font: 900 30px/1 var(--display); }
.y__compose { display: flex; gap: 8px; margin: 12px 18px; }
.y__compose input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid #E2DDD2; border-radius: 999px; font: inherit; }
.y__compose button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #1B1A17; color: #fff; font-weight: 700; }
.y__compose--locked { padding: 10px 14px; border-radius: 12px; background: #F7F4EC; font-size: 13px; color: #6B6558; }
.y__feed { list-style: none; margin: 0; padding: 0; }
.y__post { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 18px; border-top: 1px solid #ECE8DF; }
.y__post.is-pin { background: #FFFBEA; }
.y__av { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #9AA1A8; color: #fff; font: 700 16px/1 var(--font); overflow: hidden; }
.y__av.is-owner { background: #FDD509; color: #0B0B0A; }
.y__av.is-gov { background: #1B1A17; }
.y__av.is-ubi { background: #0B0B0A; }
.y__av img { width: auto; height: 62%; }
.y__who { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 13.5px; }
.y__who span { color: #6B6558; }
.y__who i { font-style: normal; font-size: 11px; font-weight: 700; color: #8C6E00; }
.y__t { margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; }
.y__stats { margin: 6px 0 0; font-size: 12.5px; color: #6B6558; }

.br-site__top { background: #0B0B0A; color: #fff; }
.br-site__logo { margin: 0; font: 900 24px/1 var(--display); font-stretch: 86%; }
.rg__top { background: #1F4E3D; color: #fff; }
.rg__logo { margin: 0; font: 800 24px/1 Georgia, serif; }
.rg__hero { margin: 18px; padding: 26px 22px; border-radius: 14px; background: #F2F6F4; }
.rg__h { margin: 0; font: 800 26px/1.15 Georgia, serif; }
.rg__hero p { margin: 8px 0 0; }
.rg__min { padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid #D5E3DC; }
.rg__table { width: calc(100% - 36px); margin: 4px 18px; border-collapse: collapse; }
.rg__table th, .rg__table td { padding: 9px 6px; border-top: 1px solid #ECE8DF; text-align: left; }
.rg__table th { font-size: 12px; color: #6B6558; font-weight: 600; }
.ag__top { background: #0A246A; color: #fff; }
.ag__logo { margin: 0; font: 800 22px/1 var(--font); }

.gtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@container (max-width: 460px) { .gtiles { grid-template-columns: minmax(0, 1fr); } }
.gtile { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line-2); border-radius: calc(var(--radius) - 2px); background: var(--panel-solid); text-align: left; }
.desktop .gtile { background: var(--btn); }
.gtile:hover { border-color: var(--text); }
.gtile__art { width: 56px; height: 56px; }
.gtile b { font-size: 15px; }
.gtile > span:last-child { font-size: 12.5px; color: var(--muted); }

.mines { display: inline-block; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.mines__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mines__lcd { min-width: 58px; padding: 6px 8px 5px; border-radius: 8px; background: #0B0B0A; color: #FDD509; font: 700 20px/1 var(--mono); letter-spacing: .08em; text-align: center; font-variant-numeric: tabular-nums; }
.mines__face { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #0B0B0A; transition: transform .1s; }
.mines__face svg { display: block; width: 28px; height: 28px; }
.mines__face:active { transform: scale(.92); }
.mines__grid { display: grid; grid-template-columns: repeat(9, 28px); grid-template-rows: repeat(9, 28px); gap: 3px; }
.mc { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 7px; background: var(--tile-up); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16); font: 900 15px/1 var(--display); color: var(--text); }
.mc:hover:not(.is-open) { filter: brightness(1.08); }
.mc.is-open { background: var(--tile-open); box-shadow: inset 0 0 0 1px var(--line); }
.mc.is-flag { color: #E5484D; }
.mc.is-boom { background: #E5484D; color: #fff; }
.mc.n1 { color: var(--n1); } .mc.n2 { color: var(--n2); } .mc.n3 { color: var(--n3); } .mc.n4 { color: var(--n4); }
.mc.n5 { color: var(--n5); } .mc.n6 { color: var(--n6); } .mc.n7 { color: var(--n7); } .mc.n8 { color: var(--n8); }
.mines__help { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.blocks { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 16px; align-items: start; }
.blocks__board { grid-row: 1 / 3; display: block; width: 220px; height: auto; border: 3px solid #0B0B0A; border-radius: 6px; background: #10100F; outline: none; touch-action: none; }
.blocks__board:focus-visible { box-shadow: 0 0 0 3px var(--y); }
.blocks__side { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.blocks__stat { min-width: 0; }
.blocks .pad { grid-column: 2; }
.blocks__next { display: block; width: 100%; max-width: 140px; height: auto; border-radius: 6px; background: #10100F; border: 2px solid #0B0B0A; }
.blocks__lbl { margin: 6px 0 0; font: 700 10.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.blocks__num { margin: 2px 0 0; font: 700 20px/1 var(--mono); font-variant-numeric: tabular-nums; }
.blocks__side .btn-os { margin-top: 10px; }
.blocks__help { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
.pad button { height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-solid); font-size: 14px; }
.desktop .pad button { background: var(--btn); color: var(--text); }
.pad--snake { grid-template-columns: repeat(4, 1fr); }
.pad button { display: grid; place-items: center; }
.pad button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.snake { display: flex; flex-direction: column; gap: 10px; }
.snake__top { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.snake__top b { color: var(--text); font-family: var(--mono); }
.snake__top .btn-os { margin-left: auto; }
.snake__board { display: block; width: 100%; max-width: 378px; height: auto; aspect-ratio: 1; border: 3px solid #0B0B0A; border-radius: 6px; background: #10100F; outline: none; }
.brk__board { max-width: 420px; aspect-ratio: 420 / 320; touch-action: none; }

.g48 { display: flex; flex-direction: column; gap: 12px; }
.g48__top { display: flex; align-items: center; gap: 8px; }
.g48__stat { display: flex; flex-direction: column; gap: 4px; min-width: 78px; margin: 0; padding: 7px 10px 8px; border-radius: 8px; background: #0B0B0A; }
.g48__stat span { font: 700 9.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #9C978A; }
.g48__stat b { font: 700 17px/1 var(--mono); color: #FDD509; font-variant-numeric: tabular-nums; }
.g48__top .btn-os { margin-left: auto; }
.g48__board { --gap: 8px; position: relative; width: min(100%, 340px); aspect-ratio: 1; padding: var(--gap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: var(--gap); border: 3px solid #0B0B0A; border-radius: 12px; background: #10100F; outline: none; touch-action: none; user-select: none; }
.g48__board:focus-visible { box-shadow: 0 0 0 3px var(--y); }
.g48__cell { border-radius: 7px; background: rgba(255, 255, 255, .06); }
.g48__tiles { position: absolute; inset: var(--gap); pointer-events: none; }
.g48__tile { --x: 0; --y: 0; position: absolute; left: 0; top: 0; width: calc((100% - 3 * var(--gap)) / 4); height: calc((100% - 3 * var(--gap)) / 4); display: grid; place-items: center; border-radius: 7px; background: #2E2D29; color: #F3EFE3; font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; transform: translate(calc(var(--x) * (100% + var(--gap))), calc(var(--y) * (100% + var(--gap)))); transition: transform .1s ease-out; }
.g48__tile[data-v="4"] { background: #45433C; }
.g48__tile[data-v="8"] { background: #6B5A15; }
.g48__tile[data-v="16"] { background: #8F7511; }
.g48__tile[data-v="32"] { background: #B3920C; }
.g48__tile[data-v="64"] { background: #D8B006; color: #0B0B0A; }
.g48__tile[data-v="128"], .g48__tile[data-v="256"], .g48__tile[data-v="512"] { color: #0B0B0A; font-size: 22px; }
.g48__tile[data-v="128"] { background: #FDD509; }
.g48__tile[data-v="256"] { background: #FFE14D; }
.g48__tile[data-v="512"] { background: #FFEB88; }
.g48__tile[data-v="1024"], .g48__tile[data-v="2048"] { color: #0B0B0A; font-size: 18px; }
.g48__tile[data-v="1024"] { background: #FFF4C2; }
.g48__tile[data-v="2048"] { background: #FFFFFF; box-shadow: 0 0 0 3px #FDD509, 0 0 20px rgba(253, 213, 9, .55); }
.g48__tile[data-v="big"] { background: #0B0B0A; color: #FDD509; font-size: 16px; box-shadow: inset 0 0 0 2px #FDD509; }
.g48__tile.is-new { animation: g48-in .15s ease-out; }
.g48__tile.is-pop { animation: g48-pop .15s ease-out; }
@keyframes g48-in { from { opacity: 0; scale: .4; } }
@keyframes g48-pop { 50% { scale: 1.14; } }
.g48__over { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; border-radius: 9px; background: rgba(11, 11, 10, .74); text-align: center; }
.g48__over p { margin: 0; font: 800 26px/1.1 var(--display); text-transform: uppercase; color: #FDD509; }

.memo { display: flex; flex-direction: column; gap: 12px; }
.memo__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: min(100%, 384px); }
.memo__card { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; background: none; perspective: 700px; }
.memo__card:focus-visible { outline: 3px solid #FDD509; outline-offset: 2px; }
.memo__face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .32s ease; }
.memo__back { background: radial-gradient(circle, #FDD509 0 13%, transparent 14%), repeating-linear-gradient(45deg, rgba(253, 213, 9, .16) 0 5px, transparent 5px 10px), #0B0B0A; box-shadow: inset 0 0 0 2px rgba(253, 213, 9, .35); }
.memo__front { transform: rotateY(180deg); background: var(--tile-open); box-shadow: inset 0 0 0 1px var(--line-2); }
.memo__front .icon { width: 70%; height: 70%; }
.memo__card.is-up .memo__back { transform: rotateY(-180deg); }
.memo__card.is-up .memo__front { transform: rotateY(0deg); }
.memo__card.is-done .memo__front { box-shadow: inset 0 0 0 3px #FDD509; }

.toasts { position: absolute; z-index: 600; display: flex; flex-direction: column; gap: 8px; width: min(370px, calc(100vw - 24px)); pointer-events: none; }
.desktop .toasts { top: 42px; right: 12px; }
.toast { pointer-events: auto; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 11px 14px; animation: toast-in .32s cubic-bezier(.2, .9, .3, 1.15); }
.desktop .toast { border-radius: 14px; background: var(--toast); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--text); box-shadow: var(--toast-shadow); }
.toast__from { font: 650 11.5px/1.25 var(--font); color: var(--muted); }
.toast__title { grid-column: 1; font-size: 13.5px; line-height: 1.35; }
.toast__amt { grid-row: 1 / span 2; grid-column: 2; padding: 4px 7px; border-radius: 7px; font: 650 14px/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.desktop[data-tier="owner"] .toast--pos .toast__amt { background: var(--y); color: #0B0B0A; }
.toast--pos .toast__amt { color: var(--pos); }
.toast--neg .toast__amt { color: var(--neg); }
.toast--note { grid-template-columns: 1fr; }
.toasts .toast:nth-last-child(n+5) { display: none; }
.toast.is-leaving { animation: toast-out .24s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

.dlg-wrap { position: absolute; inset: 0; z-index: 700; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .18); }
.dlg { width: min(420px, 100%); animation: rise-in .16s ease; }
.dlg__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dlg__x { display: grid; place-items: center; border: 0; padding: 0; }
.dlg__x svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dlg__body { display: flex; gap: 14px; align-items: flex-start; }
.dlg__body p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.dlg__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; font: 900 20px/1 var(--font); }
.dlg__foot { display: flex; justify-content: flex-end; gap: 8px; }
.dlg__btn { min-width: 84px; height: 32px; padding: 0 14px; }
.desktop .dlg { border-radius: 14px; background: var(--panel-solid); color: var(--text); box-shadow: var(--win-shadow-on); }
.desktop .dlg__bar { padding: 12px 14px 0; font-weight: 700; }
.desktop .dlg__x { width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); }
.desktop .dlg__body { padding: 14px; }
.desktop .dlg__icon { border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.desktop .dlg__icon--warn { background: var(--warn); color: #0B0B0A; }
.desktop .dlg__icon--err { background: var(--neg); color: #fff; }
.desktop .dlg__foot { padding: 0 14px 14px; }
.desktop .dlg__btn { border: 1px solid var(--line-2); border-radius: 8px; background: var(--btn); color: var(--text); }
.desktop .dlg__btn.is-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }

.return { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade-in .2s ease; }
.return__win { width: min(560px, 100%); border-radius: 14px; overflow: hidden; background: var(--panel-solid); color: var(--text); box-shadow: var(--win-shadow-on); animation: win-in .22s cubic-bezier(.2, .8, .2, 1); }
.return .wc:disabled { cursor: default; opacity: .5; }
.return__body { display: flex; align-items: flex-start; gap: 18px; padding: 22px 22px 4px; }
.return__icon { flex: none; width: 58px; height: 58px; }
.return__h { margin: 2px 0 8px; font: 700 22px/1.2 var(--font); letter-spacing: -.015em; }
.return__p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.return__p b { color: var(--text); }
.return__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 18px 22px 20px; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: #050505; color: #F3EFE3; font-size: 16px; }

@media (max-width: 760px) {
  .menubar { gap: 8px; padding: 0 8px; }
  .mb__app, .mb__clock, .mb__icon:not(.mb__bell), .mb__class { display: none; }
  .widgets { display: none; }
  .win { left: 6px !important; top: 6px !important; right: 6px; width: auto !important; height: auto !important; max-height: calc(100% - 12px) !important; bottom: 6px; }
  .desktop .win { bottom: 96px; max-height: calc(100% - 102px) !important; }
  .mb__ad { display: none; }
  .win__grip, .wc--min, .wc--max { display: none !important; }
  .desktop .win__title { padding-left: 22px; }
  .return__body { gap: 14px; padding: 18px 18px 4px; }
  .return__icon { width: 46px; height: 46px; }
  .return__foot { padding: 16px 18px 18px; }
  .return__foot .btn-os { flex: 1 1 auto; }
  .boot { font-size: 12px; }
  .bs { grid-template-columns: 12ch minmax(0, 1fr) 10ch; gap: 10px; }
  .dock { left: 8px; right: 8px; transform: none; bottom: 8px; max-width: none; justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .lock__users { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 380px; gap: 30px; }
  .hero__num { font-size: 40px; }
  .toasts { left: 8px; right: 8px; width: auto; }
  .toasts .toast:nth-last-child(n+3) { display: none; }
  .ai__meters { grid-template-columns: minmax(0, 1fr); }
  .blocks { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; }
  .blocks__side { order: -1; flex-direction: row; align-items: flex-end; gap: 16px; }
  .blocks__side .btn-os { margin: 0 0 0 auto; }
  .blocks__next { width: 52px; }
  .blocks__help { display: none; }
  .blocks__board { grid-row: auto; justify-self: center; width: min(100%, 290px, calc(50vh - 170px)); width: min(100%, 290px, calc(50dvh - 170px)); }
  .blocks .pad { grid-column: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
  .blocks .pad button { height: 50px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
