:root {
  color-scheme: dark;
  --bg: #111827;
  --panel: #182334;
  --panel-2: #1d2b40;
  --panel-3: #22334b;
  --ink: #e6edf7;
  --muted: #9aa9bd;
  --soft: #718198;
  --line: #ffffff16;
  --accent: #73d5c0;
  --blue: #83b7ff;
  --pink: #f5a1c2;
  --mono: 'Cascadia Code', Consolas, 'Courier New', monospace;
  --sans: 'Segoe UI', Arial, sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed !important; opacity: .43; }
[hidden] { display: none !important; }
a { color: inherit; }

.boot-screen { position: fixed; z-index: 99; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 9vw; background: radial-gradient(ellipse at 50% 35%, #263c58 0, #111b2b 61%); }
.professional-splash { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #f4f6f7; color: #233844; animation: splash-out .2s ease forwards; animation-delay: .75s; }
.professional-splash span { font: 700 31px var(--display); letter-spacing: -.05em; }
.professional-splash strong { font: 500 12px var(--sans); }
.professional-splash small { margin-top: 6px; color: #79909a; font: 8px var(--mono); letter-spacing: .14em; }
.boot-screen:not(.boot-running) .boot-mark, .boot-screen:not(.boot-running) .boot-title, .boot-screen:not(.boot-running) .boot-log, .boot-screen:not(.boot-running) .boot-progress, .boot-screen:not(.boot-running) .boot-skip { visibility: hidden; }
.boot-screen.boot-running .professional-splash { display: none; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
.boot-mark { margin-bottom: 20px; color: #f3f5ff; font: 700 48px/1 var(--display); letter-spacing: -.08em; }
.boot-mark span { margin-left: 5px; color: var(--accent); font: 500 14px var(--mono); letter-spacing: .12em; }
.boot-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; color: #e9f1fb; font: 600 19px var(--display); }
.boot-title span { color: #8ca0ba; font: 9px var(--mono); letter-spacing: .12em; }
.boot-log { min-height: 185px; max-width: 680px; padding: 21px 0; color: #9be4c1; font: 12px/1.95 var(--mono); }
.boot-log p { margin: 0; animation: boot-line .25s ease both; }
.boot-log p:last-child { color: #f3d37c; }
.boot-progress { width: min(390px, 100%); height: 3px; overflow: hidden; background: #ffffff16; }
.boot-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s ease; }
.boot-skip { width: fit-content; margin-top: 21px; padding: 0; border: 0; background: none; color: #8496ac; font-size: 11px; cursor: pointer; }
.boot-skip:hover { color: var(--ink); }
@keyframes boot-line { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.veil { position: fixed; z-index: 98; inset: 0; display: grid; place-items: center; padding: 20px; background: #08101dd9; backdrop-filter: blur(12px); animation: veil-in .35s ease both; }
.captcha-card { width: min(510px, 100%); padding: 34px 36px 22px; border: 1px solid #ffffff20; border-radius: 17px; background: linear-gradient(145deg, #1d2b40, #141f30); box-shadow: 0 24px 90px #0007; }
.dialog-brand { margin-bottom: 23px; color: #eef4fc; font: 700 19px var(--display); }
.dialog-brand span { margin-left: 4px; color: var(--accent); font: 500 10px var(--mono); }
.kicker { margin: 0; color: var(--accent); font: 9px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.captcha-card h1 { margin: 12px 0 8px; font: 600 clamp(23px, 5vw, 29px)/1.2 var(--display); letter-spacing: -.045em; }
.captcha-copy { min-height: 40px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.captcha-actions { display: grid; gap: 9px; margin-top: 23px; }
.captcha-choice { min-height: 50px; display: grid; justify-items: start; gap: 4px; padding: 10px 14px; border: 1px solid #ffffff25; border-radius: 7px; background: #ffffff09; color: var(--ink); font-size: 12px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.captcha-choice:hover { transform: translateY(-2px); border-color: #73d5c076; background: #73d5c018; }
.captcha-choice small { color: var(--muted); font-size: 10px; }
.captcha-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 28px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--soft); font: 8px var(--mono); }
.captcha-foot a { text-decoration-color: #ffffff44; text-underline-offset: 3px; }

#desktop { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background-color: #152034; transition: background .35s ease; }
.wallpaper-aurora { background-image: radial-gradient(ellipse at 78% 14%, #30687c75, transparent 38%), radial-gradient(ellipse at 33% 83%, #623d8270, transparent 42%), linear-gradient(142deg, #101a2b 0%, #14253d 48%, #122433 100%); }
.wallpaper-terminal { background-image: linear-gradient(#1ce18c0b 1px, transparent 1px), linear-gradient(90deg, #1ce18c0b 1px, transparent 1px), radial-gradient(ellipse at center, #14453c, #102223 77%); background-size: 32px 32px, 32px 32px, auto; }
.wallpaper-circuit { background-image: radial-gradient(ellipse at 50% 50%, #304467, #141d31 68%); }
.system-bar { position: absolute; z-index: 20; top: 0; right: 0; left: 0; height: 44px; display: flex; align-items: center; padding: 0 13px; border-bottom: 1px solid #ffffff12; background: #101725b8; backdrop-filter: blur(18px); }
.start-button { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 5px; border: 0; border-radius: 6px; background: transparent; color: #ecf1f8; font: 600 11px var(--display); cursor: pointer; }
.start-button:hover, .start-button[aria-expanded="true"] { background: #ffffff12; }
.os-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(145deg, #91dfc6, #4676a7); color: #0c1a28; font: 700 13px var(--display); }
.system-status { display: flex; align-items: center; gap: 8px; margin-left: 23px; color: #95a4b9; font: 8px var(--mono); letter-spacing: .06em; }
.online-dot, .taskbar-online, .market-live { width: 6px; height: 6px; border-radius: 50%; background: #72d6a5; box-shadow: 0 0 9px #72d6a588; }
.system-right { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.tray-button { min-width: 30px; height: 28px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #b7c3d4; font: 9px var(--mono); cursor: pointer; }
.tray-button:hover { background: #ffffff12; color: white; }
.system-clock { min-width: 47px; color: #d3dbe7; font: 10px var(--mono); text-align: right; }
.desktop-workspace { position: absolute; inset: 44px 0 42px; overflow: hidden; }
.desktop-icons { position: absolute; z-index: 1; top: 20px; left: 19px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, 76px); grid-auto-columns: 82px; gap: 8px 4px; }
.desktop-icon { width: 77px; min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 5px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #eef3fb; font-size: 9px; line-height: 1.25; text-align: center; text-decoration: none; text-shadow: 0 1px 5px #06101a; cursor: pointer; }
.desktop-icon:hover, .desktop-icon:focus-visible { border-color: #ffffff31; background: #ffffff15; }
.app-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ffffff36; border-radius: 10px; background: linear-gradient(145deg, #384e68, #202f47); box-shadow: 0 6px 15px #0003; color: #e6f4fb; font: 600 12px var(--mono); text-shadow: none; }
.icon-profile { background: linear-gradient(145deg, #956ab0, #483f7e); }
.icon-button { border-radius: 50%; background: linear-gradient(145deg, #ff746b, #b9344d); color: white; font-size: 19px; }
.icon-terminal { background: linear-gradient(145deg, #1d6e5a, #174137); color: #94f5c2; }
.icon-store { background: linear-gradient(145deg, #dfb55d, #936e2f); color: #fff3d4; }
.icon-market { background: linear-gradient(145deg, #558bc5, #335484); }
.icon-profiler { background: linear-gradient(145deg, #4bafad, #387980); }
.icon-office { background: linear-gradient(145deg, #bd8165, #845348); }
.icon-boss { background: linear-gradient(145deg, #cb5b72, #78374c); }
.icon-recycle { background: linear-gradient(145deg, #779c91, #42655d); }
.icon-ai { background: linear-gradient(145deg, #987bd0, #5f4b99); color: #f0e5ff; }
.icon-browser { background: linear-gradient(145deg, #76aee1, #406b9e); color: #f0f8ff; font: italic 700 17px Georgia, serif; }
.icon-shortcut { background: linear-gradient(145deg, #4c9371, #285b4b); }
.recruiter-shortcut { margin-top: 8px; border-color: #c5f8d723; background: #4fc79613; }
.desktop-hud { position: absolute; z-index: 2; top: 22px; right: 25px; width: min(325px, 30vw); padding: 16px 17px 12px; border: 1px solid #ffffff1b; border-radius: 10px; background: #101a2bb5; box-shadow: 0 12px 38px #050a1450; backdrop-filter: blur(16px); }
.hud-header { display: flex; align-items: center; justify-content: space-between; color: #b8c5d6; font: 9px var(--mono); letter-spacing: .1em; }
.hud-header > span:last-child { color: var(--accent); font-size: 12px; font-weight: 500; }
.discovery-track { height: 4px; overflow: hidden; margin: 11px 0 15px; border-radius: 5px; background: #ffffff15; }
.discovery-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #69d6bc, #9ae9ae); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.hud-columns { display: grid; grid-template-columns: 1fr 1fr .75fr; gap: 8px; }
.hud-columns > div { display: grid; gap: 6px; }
.hud-label { color: #8292a8; font: 7px var(--mono); letter-spacing: .06em; }
.hud-columns strong { color: #eaf1f8; font: 600 16px var(--display); }
.hud-columns strong small { color: #b3c0d0; font: 9px var(--mono); }
.hud-columns strong small span { color: var(--accent); }
.hud-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; padding-top: 10px; border-top: 1px solid #ffffff12; color: #8494a9; font: 8px var(--mono); }
.hud-link { border: 0; background: none; color: var(--accent); font: 8px var(--mono); cursor: pointer; }
.desktop-watermark { position: absolute; right: 50%; bottom: 56px; z-index: 0; display: grid; justify-items: center; color: #ffffff08; transform: translateX(50%); pointer-events: none; }
.desktop-watermark span { margin-bottom: -22px; font: 700 clamp(80px, 15vw, 180px)/1 var(--display); letter-spacing: -.1em; }
.desktop-watermark strong { font: 700 clamp(95px, 17vw, 205px)/1 var(--display); letter-spacing: -.12em; }
.desktop-watermark small { margin-top: 13px; color: #ffffff20; font: 9px var(--mono); letter-spacing: .2em; }
.window-layer { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.os-window { position: absolute; width: min(660px, calc(100vw - 130px)); height: min(690px, calc(100% - 35px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffff27; border-radius: 10px; background: #141f30; box-shadow: 0 26px 72px #0207118c, 0 2px 6px #0004; pointer-events: auto; animation: window-open .2s cubic-bezier(.2,.8,.2,1) both; }
.os-window.app-profile, .os-window.app-market, .os-window.app-profiler, .os-window.app-boss { width: min(760px, calc(100vw - 130px)); }
.os-window.app-terminal { width: min(720px, calc(100vw - 130px)); }
.window-focused { border-color: #ffffff43; box-shadow: 0 28px 80px #020711a3, 0 0 0 1px #ffffff0b; }
.window-minimized { display: none; }
.window-maximized { position: absolute !important; inset: 7px !important; width: auto !important; height: auto !important; }
.window-titlebar { height: 42px; flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 0 0 0 13px; border-bottom: 1px solid #ffffff12; background: #1a2739; cursor: grab; touch-action: none; user-select: none; }
.window-titlebar:active { cursor: grabbing; }
.window-appicon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: #ffffff12; color: var(--accent); font: 9px var(--mono); }
.window-title { overflow: hidden; flex: 1; color: #dce5f0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.window-controls { align-self: stretch; display: flex; }
.window-control { width: 39px; border: 0; border-left: 1px solid #ffffff0c; background: transparent; color: #acb9c9; font-size: 14px; cursor: pointer; }
.window-control:hover { background: #ffffff12; }
.close-window:hover { background: #d85161; color: white; }
.window-body { flex: 1; overflow: auto; padding: 22px 24px 27px; overscroll-behavior: contain; scrollbar-color: #44546b #172235; scrollbar-width: thin; }
@keyframes window-open { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }

#desktop.guided-mode .desktop-hud { display: none; }
#desktop.guided-mode .desktop-icons .desktop-icon:not([data-app="profile"]):not([data-app="button"]) { display: none; }
#desktop.guided-mode .desktop-icon[data-app="button"] { border-color: #f5a1c2a8; background: #f5a1c21c; box-shadow: 0 0 18px #f5a1c246; }

.taskbar { position: absolute; z-index: 21; right: 0; bottom: 0; left: 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-top: 1px solid #ffffff1e; background: #111a2bd4; backdrop-filter: blur(18px); }
.taskbar-start { width: 28px; height: 27px; flex: 0 0 auto; border: 1px solid #ffffff22; border-radius: 7px; background: linear-gradient(145deg, #91dfc6, #4676a7); color: #102033; font: 700 15px var(--display); cursor: pointer; }
.task-buttons { display: flex; gap: 4px; overflow-x: auto; max-width: 55vw; scrollbar-width: none; }
.task-button { height: 27px; max-width: 145px; overflow: hidden; padding: 0 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #aebbd0; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.task-button:hover, .task-active { border-color: #ffffff16; background: #ffffff14; color: #f3f7fc; }
.task-active { box-shadow: inset 0 -2px 0 var(--accent); }
.taskbar-status { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; margin-left: auto; color: #93a2b5; font: 7px var(--mono); letter-spacing: .06em; }
.taskbar-online { width: 5px; height: 5px; }
.taskbar-credit { margin-left: 15px; color: #67788e; font: 7px var(--mono); white-space: nowrap; }
.taskbar-credit span { color: var(--accent); }

.start-menu { position: absolute; z-index: 25; bottom: 11px; left: 11px; width: min(350px, calc(100vw - 24px)); padding: 13px; border: 1px solid #ffffff24; border-radius: 11px; background: #162235f2; box-shadow: 0 22px 65px #0009; backdrop-filter: blur(20px); }
.start-profile { display: flex; align-items: center; gap: 10px; padding: 7px 7px 13px; border-bottom: 1px solid var(--line); }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, #b479bb, #4f618e); color: white; font: 600 12px var(--mono); }
.start-profile div { display: grid; gap: 4px; }
.start-profile strong { font-size: 11px; }
.start-profile small { color: var(--muted); font-size: 9px; }
.start-section-title { padding: 14px 7px 8px; color: var(--soft); font: 8px var(--mono); letter-spacing: .1em; }
.start-app-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.start-app { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 7px; border: 0; border-radius: 6px; background: transparent; color: #dce5f0; text-align: left; font-size: 9px; cursor: pointer; }
.start-app:hover { background: #ffffff12; }
.mini-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 5px; background: #ffffff14; color: var(--accent); font: 9px var(--mono); }
.start-bottom { display: flex; justify-content: space-between; margin-top: 11px; padding: 11px 7px 2px; border-top: 1px solid var(--line); }
.start-bottom a, .start-bottom button { border: 0; background: transparent; color: var(--accent); font-size: 9px; text-decoration: none; cursor: pointer; }
.start-bottom button { color: #a1afc0; }

.app-hero, .game-banner, .profiler-header, .market-header, .boss-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.app-hero h2, .game-banner h2, .store-header h2, .market-header h2, .profiler-header h2, .bureau-hero h2, .boss-header h2, .recycle-header h2, .quests-header h2, .settings-header h2 { margin: 8px 0 5px; color: #eff5fc; font: 600 22px/1.18 var(--display); letter-spacing: -.045em; }
.app-hero p:not(.kicker), .game-banner p:not(.kicker), .store-header > p:not(.kicker), .market-header p:not(.kicker), .profiler-header p:not(.kicker), .bureau-hero p:not(.kicker), .boss-header p:not(.kicker), .recycle-header p:not(.kicker), .quests-header p:not(.kicker) { max-width: 490px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.profile-percent { min-width: 103px; display: grid; gap: 4px; padding: 13px; border: 1px solid #73d5c030; border-radius: 9px; background: #73d5c010; text-align: center; }
.profile-percent strong { color: var(--accent); font: 600 25px var(--display); }
.profile-percent span { color: #9ab2b8; font: 7px var(--mono); letter-spacing: .08em; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 24px; }
.profile-stats > div { display: grid; gap: 6px; min-height: 62px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff05; }
.profile-stats small, .profile-stats strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-stats small { color: var(--soft); font: 7px var(--mono); letter-spacing: .07em; }
.profile-stats strong { color: #dce6f1; font: 500 10px var(--sans); }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 14px 0 10px; }
.section-title-row h3, .tuning-panel h3 { margin: 4px 0 0; color: #e5edf6; font: 600 14px var(--display); }
.small-link { color: var(--accent); font-size: 9px; text-decoration-color: #73d5c064; text-underline-offset: 3px; white-space: nowrap; }
.fragment-list { display: grid; gap: 7px; }
.fragment-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff04; }
.fragment-found { border-color: #73d5c02b; background: linear-gradient(100deg, #73d5c010, transparent 60%); }
.fragment-icon { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #ffffff1c; border-radius: 7px; color: #9bacc0; font: 9px var(--mono); }
.fragment-found .fragment-icon { border-color: #73d5c045; color: var(--accent); }
.fragment-card h3 { margin: 0; color: #dce6f1; font-size: 10px; font-weight: 600; }
.fragment-card p { margin: 4px 0 0; color: #96a5b8; font-size: 9px; line-height: 1.5; }
.fragment-state { color: #8293a8; font: 7px var(--mono); letter-spacing: .06em; white-space: nowrap; }
.fragment-found .fragment-state { color: var(--accent); }
.disclaimer { margin: 14px 0 0; color: #78889e; font: 8px/1.6 var(--mono); }
.fact-callout { margin-top: 14px; padding: 12px 14px; border: 1px solid #73d5c02b; border-left: 2px solid var(--accent); border-radius: 6px; background: #73d5c009; }
.fact-callout > span { color: var(--accent); font: 8px var(--mono); letter-spacing: .09em; }
.fact-callout p { margin: 5px 0 0; color: #b5c3d0; font-size: 10px; line-height: 1.55; }

.game-banner { align-items: start; }
.button-counter { min-width: 67px; display: grid; justify-items: center; gap: 1px; padding: 8px; border: 1px solid #ffffff1a; border-radius: 8px; background: #ffffff06; }
.button-counter strong { color: #f2a9ae; font: 600 21px var(--display); }
.button-counter span { color: #8594a8; font: 7px var(--mono); letter-spacing: .09em; }
.button-arena { position: relative; min-height: 255px; display: grid; justify-items: center; align-content: center; gap: 16px; overflow: hidden; margin: 17px 0 12px; padding: 24px; border: 1px solid #ffffff12; border-radius: 10px; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px), radial-gradient(ellipse at center, #27324a, #182338 73%); background-size: 30px 30px, 30px 30px, auto; }
.arena-hint { position: absolute; top: 13px; left: 15px; right: 15px; color: #8e9db2; font: 8px var(--mono); letter-spacing: .04em; text-align: center; }
.useless-button { position: absolute; left: 50%; top: 48%; width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid #ffaaa476; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #ff8379, #e54b52 55%, #9d314a); box-shadow: inset 0 3px 4px #fff6, inset 0 -8px 11px #72193291, 0 8px 0 #712d42, 0 16px 27px #02081275; color: #fff7f5; font: 500 10px var(--mono); letter-spacing: .1em; text-shadow: 0 1px 3px #731e35; cursor: pointer; transform: translate(-50%, -50%); transition: left .24s cubic-bezier(.2,.8,.2,1), top .24s cubic-bezier(.2,.8,.2,1), filter .2s, border-radius .5s; touch-action: manipulation; }
.useless-button:hover { filter: brightness(1.09); }
.useless-button:active { transform: translate(-50%, calc(-50% + 5px)) scale(.96); box-shadow: inset 0 3px 6px #7f1f3a99, 0 2px 0 #712d42; }
.useless-button span { max-width: 90px; }
.button-chaos .useless-button { border-radius: 44% 56% 59% 41% / 50% 42% 58% 50%; }
.button-boss .useless-button { border-radius: 42% 58% 47% 53%; animation: boss-button 1.1s alternate infinite; filter: saturate(1.4); }
.arena-message { position: absolute; right: 15px; bottom: 12px; left: 15px; max-width: 430px; margin: auto; color: #b1bdcb; font-size: 10px; text-align: center; }
@keyframes boss-button { to { border-radius: 58% 42% 54% 46%; box-shadow: inset 0 3px 4px #fff6, inset 0 -8px 11px #72193291, 0 8px 0 #712d42, 0 0 24px #fa5d7580; } }
.button-stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; color: #8393a8; font: 7px var(--mono); }
.button-stats strong { margin-left: 5px; color: #dce7f1; font-size: 9px; }
.upgrade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.upgrade-card { display: flex; min-height: 88px; flex-direction: column; justify-content: space-between; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff04; }
.upgrade-card h4 { margin: 0; color: #dce7f1; font-size: 9px; }
.upgrade-card p { margin: 4px 0 0; color: #8493a8; font-size: 8px; line-height: 1.4; }
.upgrade-card button, .purchase-button, .file-row button, .stock-actions button { min-height: 27px; padding: 0 9px; border: 1px solid #73d5c039; border-radius: 5px; background: #73d5c011; color: var(--accent); font: 8px var(--mono); cursor: pointer; }
.upgrade-card button:hover:not(:disabled), .purchase-button:hover:not(:disabled) { background: #73d5c025; }

.terminal-window { overflow: hidden; border: 1px solid #4d816e58; border-radius: 8px; background: #081510; color: #ace6c8; }
.terminal-bar { height: 27px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-bottom: 1px solid #b1ffd11a; background: #10221a; }
.terminal-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #ef7976; }
.terminal-bar > span:nth-child(2) { background: #e4c66b; }
.terminal-bar > span:nth-child(3) { background: #70d59d; }
.terminal-bar small { margin-left: 7px; color: #769e88; font: 8px var(--mono); }
.terminal-content { max-height: 290px; min-height: 118px; overflow-y: auto; padding: 12px; color: #a8e4c1; font: 9px/1.6 var(--mono); }
.terminal-welcome { margin-bottom: 9px; color: #709b81; }
.terminal-entry { margin: 7px 0; color: #d0eedc; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-prompt { color: #73d5a3; }
.terminal-entry pre { margin: 4px 0 0; color: #b1d5bc; font: inherit; white-space: pre-wrap; }
.terminal-form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #b1ffd11a; }
.terminal-form label { color: #86d3a6; font: 8px var(--mono); white-space: nowrap; }
.terminal-form input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #e2f8e9; font: 9px var(--mono); }
.terminal-form button { border: 0; background: none; color: #6dbb92; font: 8px var(--mono); cursor: pointer; }
.terminal-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.command-chip { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff05; color: #bdc9d8; text-align: left; cursor: pointer; }
.command-chip:hover { border-color: #73d5c044; background: #73d5c00a; }
.command-chip code { color: var(--accent); font: 8px var(--mono); }
.command-chip span { color: #8797ac; font-size: 7px; }

.store-header { position: relative; padding-right: 130px; }
.store-header > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.store-balance { position: absolute; right: 0; top: 7px; display: grid; gap: 5px; color: #91a0b2; font: 7px var(--mono); }
.store-balance strong { color: #f0d187; font: 600 18px var(--display); }
.product-list { display: grid; gap: 7px; margin-top: 17px; }
.product-card { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff04; }
.product-art { width: 36px; height: 38px; display: grid; place-items: center; border: 1px solid #f0ca7145; border-radius: 6px; background: #e2bc6310; color: #e3c36f; font: 8px var(--mono); }
.product-info h3 { margin: 0; color: #e2ebf5; font-size: 10px; font-weight: 600; }
.product-info p { margin: 3px 0 0; color: #8d9cb0; font-size: 8px; }
.product-info small { display: block; margin-top: 4px; color: var(--accent); font: 7px var(--mono); }
.product-bought { border-color: #73d5c02a; }

.market-header { align-items: start; }
.market-total { min-width: 104px; display: grid; gap: 5px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff05; }
.market-total small { color: #8393a7; font: 7px var(--mono); }
.market-total strong { color: #f1d384; font: 600 17px var(--display); }
.market-total strong span { font: 8px var(--mono); }
.market-ticker { display: flex; gap: 7px; align-items: center; overflow: hidden; margin: 15px 0 9px; padding: 10px; border: 1px solid #73d5c02a; border-radius: 6px; background: #73d5c009; color: #a8b8c7; font: 8px var(--mono); }
.market-ticker > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-live { flex: 0 0 auto; width: 5px; height: 5px; }
.ticker-separator { color: var(--accent); }
.stock-list { display: grid; gap: 6px; }
.stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 75px 112px; gap: 8px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff03; }
.stock-symbol, .stock-price { display: grid; gap: 4px; }
.stock-symbol strong { color: #c8d8e9; font: 9px var(--mono); }
.stock-symbol span, .stock-price small { color: #7f90a6; font-size: 8px; }
.stock-price strong { color: #dfeaf4; font: 9px var(--mono); white-space: nowrap; }
.stock-actions { display: flex; gap: 4px; justify-content: end; }
.stock-actions button { min-width: 48px; }
.stock-actions button:last-child { border-color: #f5a1c234; background: #f5a1c20d; color: #f1aac4; }

.profiler-header { align-items: start; }
.temp-dial { width: 79px; height: 79px; flex: 0 0 auto; display: grid; align-content: center; justify-items: center; gap: 3px; border: 1px solid #73d5c039; border-radius: 50%; background: radial-gradient(circle, #73d5c012, transparent); }
.temp-dial strong { color: var(--accent); font: 600 22px var(--display); }
.temp-dial span { color: #8398a4; font: 6px var(--mono); }
.temp-hot { border-color: #ff728060; background: #ff587117; }
.temp-hot strong { color: #ff8c9a; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 16px 0; }
.metric-tile { min-height: 89px; display: grid; align-content: start; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff04; }
.metric-tile > span { color: #8393a7; font: 7px var(--mono); }
.metric-tile strong { color: #e1edf7; font: 600 19px var(--display); }
.metric-tile small { color: #8797a9; font-size: 7px; }
.mini-meter { height: 3px; background: #ffffff15; }
.mini-meter i { display: block; height: 100%; background: var(--accent); }
.tuning-panel { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff04; }
.fiction-badge { padding: 4px 6px; border: 1px solid #73d5c032; border-radius: 3px; color: var(--accent); font: 7px var(--mono); }
.slider-label { display: grid; gap: 7px; margin: 14px 0; color: #a9b8c9; font-size: 9px; }
.slider-label > span { display: flex; justify-content: space-between; gap: 10px; }
.slider-label strong { color: var(--accent); font: 9px var(--mono); }
.slider-label input { width: 100%; height: 4px; accent-color: #73d5c0; cursor: pointer; }
.tune-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.action-button, .button-secondary, .button-danger, .text-action { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #73d5c044; border-radius: 6px; background: #73d5c016; color: var(--accent); font-size: 9px; text-decoration: none; cursor: pointer; }
.action-button:hover { background: #73d5c028; }
.button-secondary { border-color: #ffffff23; background: #ffffff07; color: #c4cfdd; }
.button-secondary:hover { background: #ffffff11; }
.button-danger { border-color: #ff809047; background: #ff809018; color: #ffabb2; }
.text-action { min-height: 24px; padding: 2px 4px; border: 0; background: none; color: var(--accent); text-decoration: underline; text-decoration-color: #73d5c047; text-underline-offset: 3px; }
.warning-panel { margin-top: 12px; padding: 11px; border: 1px solid #ff8b963d; border-radius: 6px; background: #ff8b9610; color: #ffb1b8; font: 8px/1.6 var(--mono); }
.first-run-card { padding: 16px; border: 1px solid #73d5c05c; border-left: 4px solid var(--accent); border-radius: 7px; background: #73d5c00d; }
.first-run-card h2, .first-run-card h3 { margin: 8px 0; color: var(--ink); font: 600 18px/1.35 var(--display); }
.first-run-card p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.first-run-objective { margin: 12px 0; padding: 9px 10px; border-radius: 5px; background: #ffffff08; }
.first-run-objective strong, .first-run-choice strong { color: var(--ink); }
.first-run-choice { padding-left: 10px; border-left: 2px solid #f5a1c2; }
.first-case-actions { display: grid; gap: 7px; margin-top: 11px; }
.first-case-actions button { min-height: 38px; justify-content: flex-start; text-align: left; }
.first-run-result { margin: 12px 0; }
.first-run-crash { border-color: #83b7ff7a; border-left-color: var(--blue); background: #83b7ff12; }

.bureau-hero { margin-bottom: 15px; }
.form-status { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; color: #8d9db0; font: 8px var(--mono); }
.form-status strong { color: var(--accent); font-weight: 400; }
.bureau-form { display: grid; gap: 11px; margin-top: 14px; }
.bureau-form label { display: grid; gap: 6px; color: #aebccd; font-size: 9px; }
.bureau-form select, .bureau-form textarea, .settings-row select { width: 100%; padding: 9px 10px; border: 1px solid #ffffff1e; border-radius: 5px; background: #111b2a; color: #dce6f0; font-size: 9px; }
.bureau-form textarea { resize: vertical; }
.bureau-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 17px 0; }
.approval-step { display: grid; justify-items: center; gap: 6px; padding: 10px 5px; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.approval-step > span { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #ffffff24; border-radius: 50%; color: #97a7b9; font: 9px var(--mono); }
.approval-step small { color: #8998ab; font-size: 7px; line-height: 1.4; }
.approval-done { border-color: #73d5c039; background: #73d5c00c; }
.approval-done > span { border-color: #73d5c04d; color: var(--accent); }
.bureau-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bureau-footer > span { color: #7c8da2; font-size: 8px; }

.boss-header { align-items: start; }
.boss-health { min-width: 76px; padding: 9px; border: 1px solid #f5a1c23b; border-radius: 6px; color: #f3afc7; font: 8px var(--mono); text-align: center; white-space: nowrap; }
.boss-list { display: grid; gap: 6px; margin-top: 15px; }
.boss-choice { display: grid; grid-template-columns: 27px 1fr auto; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff04; color: inherit; text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.boss-choice:hover:not(:disabled) { border-color: #f5a1c24c; background: #f5a1c20b; }
.boss-status { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #ffffff19; border-radius: 6px; color: #f0a8c1; font: 11px var(--mono); }
.boss-choice > span:nth-child(2) { display: grid; gap: 4px; }
.boss-choice strong { color: #e4eaf3; font-size: 9px; }
.boss-choice small { color: #8594a8; font-size: 8px; }
.boss-arrow { color: #91a2b5; }
.boss-cleared { border-color: #73d5c02a; }
.boss-cleared .boss-status { color: var(--accent); }
.boss-stage { margin-top: 15px; padding: 11px; border: 1px solid #f5a1c234; border-radius: 8px; background: #f5a1c208; }
.boss-stage-top, .boss-stage-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #c2bac8; font: 7px var(--mono); }
.boss-stage-top span:last-child { color: #ffb0ca; }
.boss-health-track { height: 5px; overflow: hidden; margin-top: 9px; border-radius: 4px; background: #ffffff18; }
.boss-health-track i { display: block; height: 100%; background: linear-gradient(90deg, #ff7789, #f8b17f); transition: width .2s; }
.boss-field { position: relative; height: 194px; overflow: hidden; margin: 10px 0; border: 1px solid #ffffff13; border-radius: 6px; background: radial-gradient(ellipse at center, #39243a, #1a1e31 72%); }
.boss-target { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #ffd1d57a; border-radius: 50%; background: radial-gradient(circle, #ff848d, #d13d63); box-shadow: 0 0 22px #f35e8080; color: white; font: 8px var(--mono); transform: translate(-50%, -50%); cursor: crosshair; }
.boss-target:hover { filter: brightness(1.2); }
.boss-taunt { position: absolute; inset: auto 0 13px; color: #a79bad; font: 8px var(--mono); text-align: center; pointer-events: none; }
.boss-stage-footer { color: #a5a9b8; }
.boss-stage-footer strong { color: #f2b1c6; }

.recycle-header { margin-bottom: 15px; }
.file-list { display: grid; gap: 6px; }
.file-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.file-icon { color: #e3cd8d; font-size: 14px; text-align: center; }
.file-row > div { min-width: 0; display: grid; gap: 3px; }
.file-row strong { overflow: hidden; color: #d6e0ed; font: 8px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.file-row small { overflow: hidden; color: #8594a7; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.file-row button { min-height: 25px; font-size: 7px; }

.quests-header { margin-bottom: 14px; }
.quest-list { display: grid; gap: 6px; }
.quest-card { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 6px; }
.quest-check { color: #8e9bad; font-size: 14px; }
.quest-card > div { display: grid; gap: 4px; }
.quest-card strong { color: #dce6f2; font-size: 9px; }
.quest-card small { color: #8493a6; font-size: 8px; }
.quest-done { border-color: #73d5c02b; background: #73d5c008; }
.quest-done .quest-check, .quest-done .quest-reward { color: var(--accent); }
.quest-reward { color: #e6cb81; font: 7px var(--mono); white-space: nowrap; }
.achievements-heading { margin-top: 19px; }
.achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.medal-card { display: flex; gap: 8px; align-items: center; min-height: 46px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; opacity: .65; }
.medal-card > span { color: #77869b; font-size: 15px; }
.medal-card > div { min-width: 0; display: grid; gap: 3px; }
.medal-card strong, .medal-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medal-card strong { color: #9facbd; font-size: 8px; }
.medal-card small { color: #78889d; font-size: 7px; }
.medal-unlocked { border-color: #e7cc7c33; background: #e6ca730a; opacity: 1; }
.medal-unlocked > span, .medal-unlocked strong { color: #e5ca7a; }
.ending-strip { display: flex; align-items: center; gap: 11px; margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--line); color: #8594a7; font: 8px var(--mono); }
.ending-strip strong { color: var(--accent); }
.ending-strip .text-action { margin-left: auto; }

.settings-header { margin-bottom: 15px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.settings-row > div:first-child { display: grid; gap: 4px; }
.settings-row strong { color: #dce6f1; font-size: 9px; }
.settings-row small { color: #8796aa; font-size: 8px; line-height: 1.45; }
.settings-row select { width: auto; max-width: 145px; }
.settings-static { color: var(--accent); font: 7px var(--mono); }
.toggle-button { min-width: 50px; padding: 6px 8px; border: 1px solid #73d5c044; border-radius: 5px; background: #73d5c015; color: var(--accent); font: 8px var(--mono); cursor: pointer; }
.fake-update { display: flex; align-items: center; gap: 11px; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff04; }
.update-spinner { color: var(--accent); font-size: 20px; animation: spin 4s linear infinite; }
.fake-update div:last-child { display: grid; gap: 4px; }
.fake-update strong { color: #cbd9e7; font-size: 9px; }
.fake-update small { color: #8695a9; font-size: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.assistant-header { display: flex; align-items: center; gap: 12px; }
.assistant-orb { width: 41px; height: 41px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #bd9be252; border-radius: 12px; background: linear-gradient(145deg, #765aa2, #38446e); color: #eee2ff; font-size: 19px; }
.assistant-header h2 { margin: 6px 0 3px; color: #eef4fc; font: 600 18px var(--display); }
.assistant-header p:not(.kicker) { margin: 0; color: #9cabc0; font-size: 9px; }
.chat-history { display: grid; gap: 8px; min-height: 135px; max-height: 310px; overflow-y: auto; margin: 16px 0 10px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #101a29; }
.chat-row { padding: 8px; border-radius: 6px; background: #ffffff05; }
.chat-row p { margin: 5px 0 0; color: #c2cedb; font-size: 9px; line-height: 1.55; }
.chat-you { color: #e3c784; font: 7px var(--mono); letter-spacing: .08em; }
.chat-ai { color: #bca3e6; font: 7px var(--mono); letter-spacing: .08em; }
.assistant-form { display: flex; gap: 6px; padding: 6px; border: 1px solid #ffffff20; border-radius: 7px; background: #ffffff05; }
.assistant-form input { width: 100%; min-width: 0; padding: 5px; border: 0; outline: 0; background: transparent; color: #ecf2f8; font-size: 9px; }
.assistant-form button { padding: 0 9px; border: 0; border-radius: 5px; background: #73d5c017; color: var(--accent); font: 8px var(--mono); cursor: pointer; }
.browser-chrome { margin: -22px -24px 0; padding: 9px 13px 10px; border-bottom: 1px solid var(--line); background: #1a2738; }
.browser-tabs { display: flex; align-items: center; gap: 5px; }
.browser-dot { width: 6px; height: 6px; border-radius: 50%; background: #ed827e; }
.browser-dot:nth-child(2) { background: #e1c16c; }
.browser-dot:nth-child(3) { background: #68c88c; }
.browser-tab { margin-left: 8px; color: #a7b5c6; font-size: 8px; }
.browser-address { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 6px 8px; border: 1px solid #ffffff19; border-radius: 5px; background: #101a29; }
.browser-address > span { font-size: 9px; }
.browser-address input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #bac8d7; font: 8px var(--mono); }
.browser-address button { border: 0; background: none; color: var(--accent); font: 8px var(--mono); cursor: pointer; }
.browser-page { min-height: 300px; padding: 37px 9%; background: #f7f8fb; color: #283447; text-align: center; }
.browser-logo { margin-bottom: 5px; color: #5b86b5; font: 600 37px var(--display); letter-spacing: -.08em; }
.browser-logo span { color: #75b697; }
.browser-page > p { color: #8090a4; font: 7px var(--mono); letter-spacing: .1em; }
.browser-results { display: grid; gap: 11px; max-width: 430px; margin: 25px auto; text-align: left; }
.fake-result { padding: 12px; border: 1px solid #e4e9ef; border-radius: 7px; background: white; }
.fake-result strong { color: #44806a; font: 8px var(--mono); }
.fake-result h3 { margin: 6px 0 4px; color: #386da5; font-size: 11px; }
.fake-result span { color: #69798a; font-size: 8px; }
.browser-status { color: #8290a1; font: 7px var(--mono); }
.browser-status-alert { color: #b45263; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.start-menu[hidden] { display: none; }
.toast { position: fixed; z-index: 100; right: 17px; bottom: 55px; width: max-content; max-width: min(370px, calc(100vw - 32px)); padding: 11px 14px; transform: translateY(8px); border: 1px solid #ffffff22; border-radius: 8px; background: #18263af5; box-shadow: 0 10px 30px #0005; color: #dce7f2; font-size: 10px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { transform: none; opacity: 1; }
.achievement-toast { border-color: #73d5c062; }
.system-dialog { width: min(450px, calc(100vw - 28px)); padding: 25px; border: 1px solid #ffffff2b; border-radius: 12px; background: #182538; box-shadow: 0 25px 100px #0009; color: var(--ink); }
.system-dialog::backdrop { background: #050a14bd; backdrop-filter: blur(5px); }
.system-dialog h2 { margin: 9px 0; font: 600 21px var(--display); letter-spacing: -.04em; }
.system-dialog > p:not(.kicker) { color: #9cacc0; font-size: 10px; line-height: 1.65; }
.dialog-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ending-modal .ending-foot { padding: 9px; border-left: 2px solid var(--accent); background: #73d5c00d; color: #b6c8d5 !important; }
.ending-modal .action-button { min-height: 34px; }

.professional-page { min-height: 100vh; background: #f5f6f7; color: #18232c; font-family: var(--sans); }
.professional-page * { box-sizing: border-box; }
.professional-wrap { width: min(840px, calc(100% - 42px)); margin: 0 auto; padding: 28px 0 56px; }
.professional-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid #dfe4e7; }
.professional-logo { color: #183143; font: 700 12px var(--mono); letter-spacing: .07em; text-decoration: none; }
.professional-top nav { display: flex; flex-wrap: wrap; gap: 18px; }
.professional-top nav a { color: #456071; font-size: 11px; text-decoration: none; }
.professional-top nav a:hover { color: #1e806d; }
.professional-hero { padding: 49px 0 31px; border-bottom: 1px solid #e1e5e8; }
.professional-hero .eyebrow { color: #2a8b76; font: 9px var(--mono); letter-spacing: .14em; }
.professional-hero h1 { margin: 13px 0 8px; color: #182b36; font: 600 clamp(35px, 8vw, 49px)/1.05 var(--display); letter-spacing: -.06em; }
.professional-hero p { max-width: 660px; color: #59707c; font-size: 14px; line-height: 1.7; }
.professional-hero .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.professional-hero .links a { padding: 8px 12px; border: 1px solid #b8c9ca; border-radius: 5px; color: #276f65; font-size: 10px; text-decoration: none; }
.professional-hero .links a.primary { border-color: #205b53; background: #205b53; color: #fff; }
.professional-section { padding: 22px 0 19px; border-bottom: 1px solid #e1e5e8; }
.professional-section h2 { margin: 0 0 12px; color: #23404a; font: 600 14px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.professional-section h3 { margin: 0; color: #203742; font-size: 12px; }
.professional-section p, .professional-section li { color: #526772; font-size: 11px; line-height: 1.7; }
.professional-section ul { margin: 9px 0 0; padding-left: 18px; }
.professional-item { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; }
.professional-item + .professional-item { border-top: 1px solid #e9edef; }
.professional-item p { margin: 4px 0 0; }
.professional-item time { flex: 0 0 auto; color: #71858d; font: 9px var(--mono); }
.professional-note { margin-top: 20px; color: #819198; font: 9px var(--mono); }

@media (max-width: 900px) {
  .desktop-hud { top: 17px; right: 17px; width: 285px; }
  .desktop-icons { left: 12px; grid-template-rows: repeat(5, 72px); }
  .os-window, .os-window.app-profile, .os-window.app-market, .os-window.app-profiler, .os-window.app-boss, .os-window.app-terminal { width: min(650px, calc(100vw - 115px)); }
}

@media (max-width: 700px) {
  #desktop { height: 100vh; height: 100svh; min-height: 500px; }
  .system-bar { height: 42px; padding: 0 7px; }
  .system-status { max-width: 43vw; overflow: hidden; margin-left: 7px; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
  .system-right { gap: 1px; }
  .tray-button { padding: 0 6px; font-size: 8px; }
  .desktop-workspace { inset: 42px 0 43px; overflow-y: auto; }
  .desktop-icons { position: relative; top: 13px; left: 9px; width: calc(100% - 18px); grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-columns: auto; gap: 5px; }
  .desktop-icon { width: 100%; min-height: 62px; font-size: 8px; }
  .app-icon { width: 32px; height: 32px; }
  .recruiter-shortcut { margin-top: 0; }
  .desktop-hud { position: relative; top: 26px; right: auto; width: calc(100% - 24px); margin: 0 12px 46px; padding: 13px; }
  .desktop-watermark { position: fixed; bottom: 72px; opacity: .8; }
  .desktop-watermark span { font-size: 90px; }
  .desktop-watermark strong { font-size: 105px; }
  .desktop-watermark small { font-size: 7px; }
  .window-layer { position: fixed; z-index: 15; inset: 42px 0 43px; }
  .os-window, .os-window.app-profile, .os-window.app-market, .os-window.app-profiler, .os-window.app-boss, .os-window.app-terminal { position: absolute; inset: 0; left: 0 !important; top: 0 !important; width: auto; height: auto; border-radius: 0; border: 0; animation: mobile-window-open .2s ease both; }
  .window-titlebar { height: 42px; flex-basis: 42px; padding-left: 10px; cursor: default; }
  .window-controls { gap: 0; }
  .window-control { width: 40px; }
  .window-maximized { inset: 0 !important; }
  .window-body { padding: 17px 14px 30px; }
  .taskbar { height: 43px; padding: 0 7px; gap: 5px; }
  .taskbar-credit { display: none; }
  .task-buttons { max-width: 57vw; }
  .taskbar-status { font-size: 6px; }
  .task-button { max-width: 112px; padding: 0 6px; font-size: 8px; }
  .start-menu { bottom: 8px; left: 7px; }
  .toast { right: 9px; bottom: 52px; max-width: calc(100vw - 18px); }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .upgrade-grid { grid-template-columns: 1fr; }
  .upgrade-card { min-height: 70px; flex-direction: row; align-items: center; }
  .captcha-card { padding: 26px 21px 18px; }
  .captcha-foot { flex-direction: column; gap: 8px; }
  .browser-chrome { margin: -17px -14px 0; }
  .professional-wrap { width: min(calc(100% - 30px), 840px); padding-top: 18px; }
  .professional-top { align-items: start; gap: 12px; }
  .professional-top nav { justify-content: end; gap: 10px; }
  .professional-top nav a { font-size: 9px; }
  .professional-hero { padding-top: 36px; }
}
@keyframes mobile-window-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 430px) {
  .desktop-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hud-columns { grid-template-columns: 1fr 1fr .7fr; }
  .stock-row { grid-template-columns: minmax(0, 1fr) 65px; }
  .stock-actions { grid-column: 1 / -1; justify-content: end; }
  .market-header { align-items: center; }
  .market-total { min-width: 82px; padding: 8px; }
  .market-total strong { font-size: 14px; }
  .achievement-grid { grid-template-columns: 1fr; }
  .fragment-card { grid-template-columns: 29px minmax(0, 1fr); }
  .fragment-state { grid-column: 2; }
  .product-card { grid-template-columns: 34px minmax(0, 1fr); }
  .product-art { width: 31px; height: 33px; }
  .product-card .purchase-button { grid-column: 2; justify-self: start; }
  .store-header { padding-right: 0; }
  .store-balance { position: static; display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
  .professional-item { flex-direction: column; gap: 3px; }
}

.icon-agency { border-radius: 2px; background: #d7b85b; color: #24211a; font-size: 8px; }
.icon-sports { border-radius: 2px; background: #a64e3a; color: #fff3d4; }
.icon-dell { border-radius: 2px; background: #174e8b; color: #e8f4ff; }
.icon-cards { border-radius: 2px; background: #416d53; color: #e9f2d3; }
.icon-pet { border-radius: 2px; background: #bd8860; color: #221b19; }
.icon-factcheck { border-radius: 2px; background: #725c38; color: #fff1bd; }
.agency-header, .dell-header, .sports-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.agency-header h2, .sports-header h2, .dell-header h2, .cards-header h2, .pet-header h2, .factcheck-header h2 { margin: 6px 0; font: 600 22px var(--display); }
.agency-header p, .sports-header p, .dell-header p, .cards-header p, .pet-header p, .factcheck-header p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.agency-stamp { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #d5b45f; color: #edd37e; font: 700 16px var(--mono); transform: rotate(-6deg); }
.clearance-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 13px 0; padding: 10px 12px; border: 1px solid #9f844b; background: #28251c; color: #e7d28f; font: 8px var(--mono); }
.classified-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.classified-document { min-width: 0; padding: 11px; border: 1px solid #ffffff20; background: #1b2430; }
.classified-document.document-redacted { border-style: dashed; background: #211f1a; }
.document-top { display: flex; justify-content: space-between; gap: 6px; color: #ceb96f; font: 7px var(--mono); }
.classified-document h3 { margin: 9px 0 5px; font-size: 12px; }
.classified-document p { min-height: 35px; margin: 0; color: #a6a394; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.classified-document button { margin-top: 8px; }
.incident-board { margin: 14px 0; padding: 13px; border: 1px solid #a34a3b; background: #2a1e1b; }
.incident-board h3 { margin: 6px 0; font-size: 16px; }
.incident-board > p { color: #c2b5a5; font-size: 10px; line-height: 1.6; }
.clue-list { display: grid; gap: 5px; margin: 10px 0; }
.clue-row { display: flex; gap: 9px; padding: 7px; background: #131a22; color: #a8a398; font-size: 9px; }
.clue-row.clue-found { color: #e3c781; }
.incident-actions, .agency-actions, .pet-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.incident-actions button, .agency-actions button { min-height: 34px; font-size: 9px; }
.sports-header { align-items: flex-start; flex-direction: column; gap: 0; }
.sports-tabs { display: flex; gap: 5px; margin: 12px 0; padding-bottom: 7px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.sports-tabs button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #ffffff1a; border-radius: 2px; background: #222b33; color: #b9c3c0; font: 8px var(--mono); cursor: pointer; }
.sports-tabs button.tab-active { border-color: #dfab62; background: #453221; color: #ffe2a8; }
.sports-panel { padding: 14px; border: 1px solid #ffffff21; border-left: 4px solid #c47a48; background: #1e2627; }
.sports-panel h3 { margin: 6px 0; font-size: 17px; line-height: 1.4; }
.sports-panel p, .sports-panel small { color: #b9c1b9; font-size: 10px; line-height: 1.6; }
.sports-art { min-height: 72px; display: flex; align-items: center; gap: 12px; margin: -14px -14px 14px; padding: 12px 18px; border-bottom: 1px solid #ffffff1b; background: #252e2d; color: #f0c77c; font: 700 27px var(--mono); }
.sports-art span { color: #d0c3a2; font: 8px var(--mono); letter-spacing: .1em; }
.court-panel { border-left-color: #dfba73; background: #2a2720; }
.court-panel .sports-art { background: #3a3023; }
.kyrie-panel { border-left-color: #7d9fbd; background: #202630; }
.puka-panel { border-left-color: #83aa64; background: #20291f; }
.football-game-shell { margin: 12px 0 8px; }
.football-canvas, .baseball-canvas { width: 100%; max-width: 860px; height: auto; aspect-ratio: 560 / 330; margin: 0 auto; display: block; border: 1px solid #ffffff28; background: #2f7048; touch-action: none; }
.football-score, .baseball-score { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 8px 0; color: #9fb0a4; font: 9px var(--mono); }
.football-score strong, .baseball-score strong { color: #edf7ea; }
.alabama-panel { border-left-color: #a74337; background: #2a201f; }
.sports-action-grid, .cards-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 12px 0; }
.sports-action-grid button { min-width: 0; min-height: 38px; font-size: 9px; }
.sports-result, .stadium-quiz, .card-purchase { margin: 10px 0; padding: 11px; border: 1px solid #ffffff18; background: #121b20; }
.catch-meter, .dell-progress, .pet-meter i { height: 8px; overflow: hidden; background: #101914; }
.catch-meter i, .dell-progress i, .pet-meter b { display: block; height: 100%; background: #83ad67; transition: width .3s ease; }
.stadium-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.stadium-stamp { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 9px; border: 1px solid #ffffff1a; background: #202624; }
.stadium-stamp > span, .stadium-stamp b { color: #839488; font: 7px var(--mono); }
.stadium-stamp strong { color: #e0d6bd; font-size: 9px; }
.stadium-stamp small, .stadium-stamp p { margin: 0; color: #aab1a8; font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.stadium-stamp time { color: #dfbd76; font: 8px var(--mono); }
.stadium-stamp img { width: 100%; max-height: 120px; object-fit: cover; }
.stadium-stamp.stamp-earned { border-color: #d6b66c; }
.stadium-stamp.actual-visit { border-left: 3px solid #83ad67; }
.stadium-quiz { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.fantasy-panel { border-left-color: #a86970; background: #282123; }
.fantasy-panel .sports-art { background: #332528; color: #ee9793; }
.fantasy-score { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: baseline; gap: 8px; margin: 12px 0; color: #bcb2b4; font: 8px var(--mono); }
.fantasy-score strong { color: #f0dbd9; font: 700 21px var(--display); }
.fantasy-graph { height: 100px; display: flex; align-items: end; gap: 8px; position: relative; margin: 12px 0; padding: 8px; background: repeating-linear-gradient(to top, #ffffff10 0 1px, transparent 1px 24px); }
.fantasy-graph i { width: 22%; background: #a85760; }
.fantasy-graph span { position: absolute; right: 7px; bottom: 4px; color: #c7a6a8; font: 7px var(--mono); }
.dell-header { align-items: flex-start; }
.dell-screen { width: 67px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; background: #15509a; color: white; font: 9px/1.5 var(--mono); text-align: center; }
.dell-status { display: grid; gap: 7px; margin: 14px 0 9px; padding: 17px; border: 1px solid #3972ad; background: #142a40; color: #c8dff8; font: 9px var(--mono); }
.dell-crashed { background: #0867bd; color: white; border-color: #8bc7ff; min-height: 130px; align-content: center; }
.dell-progress { margin: 8px 0 14px; }
.dell-progress i { background: #4aa7ff; }
.cards-header { padding: 13px; border-left: 4px solid #b5c77a; background: #222920; }
.card-purchase { color: #d3deb5; font: 9px var(--mono); }
.card-choice { min-height: 75px; display: grid; align-content: center; gap: 7px; padding: 12px; border: 1px solid #657657; background: #293128; color: #e3ebd2; text-align: left; cursor: pointer; }
.card-choice:hover { background: #364333; }
.card-choice span { color: #afbaa2; font-size: 9px; line-height: 1.5; }
.pet-room { min-height: 175px; display: flex; align-items: center; justify-content: center; gap: 20px; margin: 14px 0; padding: 20px; border: 1px solid #9e7555; background: #2c241f; }
.pet-sprite { position: relative; width: 78px; height: 68px; flex: 0 0 auto; image-rendering: pixelated; background: #cf9a66; box-shadow: inset -8px -8px #915f4d, 0 7px 0 #161c20; animation: pet-bob 1.1s steps(2, end) infinite alternate; }
.pet-ear { position: absolute; top: -12px; width: 20px; height: 22px; background: #cf9a66; }
.pet-ear-left { left: 5px; transform: skewY(-20deg); }
.pet-ear-right { right: 5px; transform: skewY(20deg); }
.pet-eye { position: absolute; top: 24px; width: 7px; height: 8px; background: #202329; }
.pet-eye-left { left: 19px; }
.pet-eye-right { right: 19px; }
.pet-mouth { position: absolute; left: 33px; top: 41px; width: 12px; height: 4px; background: #754c42; }
.pet-speech { max-width: 290px; padding: 11px; border: 1px solid #ffffff25; background: #171f21; color: #e5d7c6; font-size: 10px; line-height: 1.6; }
.pet-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: #bdc5b7; font: 8px var(--mono); }
.pet-meter i { display: block; }
.pet-meter b { background: #d29d62; }
.pet-actions button { min-height: 38px; font-size: 9px; }
.factcheck-header { padding: 13px; border-left: 4px solid #c8a562; background: #29261e; }
.claim-list { display: grid; gap: 8px; margin: 13px 0; }
.claim-row { display: grid; gap: 7px; padding: 11px; border: 1px dashed #997d52; background: #27231d; }
.claim-row strong { color: #efd599; font: 9px var(--mono); }
.claim-row span { color: #b8ac91; font: 8px var(--mono); }
.claim-corrected { border-style: solid; border-color: #7e9c73; }
.fake-ad { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; padding: 11px; border: 1px dashed #b3944b; background: #2b271a; color: #e4ce8d; font: 8px var(--mono); }
.fake-ad small { color: #b6a777; font: 8px var(--sans); }
.adblock-overlay { display: grid; place-content: center; gap: 10px; min-height: 260px; padding: 24px; border: 1px solid #d1ad58; background: #24221b; color: #f1d78d; text-align: center; }
.adblock-overlay p { color: #c5bd9d; font-size: 10px; }
.developer-note { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding: 10px; border-left: 3px solid #cf9d5a; background: #2a251e; color: #e1c98d; font: 8px var(--mono); }
.developer-note span { color: #c8bd9e; line-height: 1.5; }
.button-chain { margin: 10px 0; padding: 10px; border-left: 3px solid #c57d68; background: #291f20; }
.button-chain p { color: #d3b8b2; font-size: 9px; }
.button-chain > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.button-chain > div span { padding: 5px; border: 1px dotted #bd8f80; color: #d4b8aa; font: 7px var(--mono); }
@keyframes pet-bob { to { transform: translateY(-4px); } }
@media (max-width: 600px) {
  .classified-docs, .sports-action-grid, .cards-options { grid-template-columns: 1fr; }
  .stadium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sports-panel { padding: 10px; }
  .sports-art { margin: -10px -10px 12px; }
  .pet-room { flex-direction: column; gap: 14px; }
  .agency-header { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.desktop-prompt { margin: 0 0 0 22px; color: #202020; font-size: 11px; }
.coin-label { color: #444; font: 8px var(--mono); letter-spacing: .08em; }
.coin-display { min-width: 62px; color: #111; font: 600 12px var(--mono); text-align: right; }
.coin-display strong { color: #000080; font-size: 15px; }
.desktop-welcome { position: absolute; right: 20px; bottom: 20px; z-index: 1; width: min(360px, 42vw); display: grid; gap: 7px; padding: 14px 16px; border: 2px solid; border-color: #fff #404040 #404040 #fff; background: #c0c0c0; color: #111; box-shadow: 3px 3px #0005; font-size: 10px; line-height: 1.5; }
.desktop-welcome strong { color: #000080; font-size: 12px; }
.desktop-welcome span { color: #333; }
.app-menu { z-index: 25; bottom: 10px; left: 10px; width: min(390px, calc(100vw - 24px)); max-height: calc(100% - 20px); overflow: auto; }
.app-menu-heading { padding: 6px 7px 10px; border-bottom: 1px solid #808080; color: #000080; font: 700 10px var(--mono); }
.taskbar-mark { width: 28px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid; border-color: #fff #404040 #404040 #fff; background: #000080; color: #fff; font: 700 15px var(--display); }
.os-window { left: 50%; top: 50%; transform: translate(-50%, -50%); animation: simple-window-open .16s ease both; }
.window-maximized { transform: none !important; }
@keyframes simple-window-open { from { opacity: 0; } to { opacity: 1; } }
.window-body { overscroll-behavior: contain; }
.window-body .simple-app-header { padding: 0 0 14px; border-bottom: 1px solid #808080; }
.window-body .simple-app-header .kicker { margin: 0 0 7px; color: #000080; font: 700 8px var(--mono); letter-spacing: .1em; }
.window-body .simple-app-header h2 { margin: 0 0 6px; color: #111; font: 700 21px/1.2 var(--display); letter-spacing: -.03em; }
.window-body .simple-description { max-width: 570px; margin: 0; color: #333; font-size: 11px; line-height: 1.55; }
.window-body .simple-app-details { display: grid; gap: 4px; margin-top: 11px; }
.window-body .simple-app-details p { margin: 0; color: #383838; font-size: 9px; line-height: 1.5; }
.window-body .simple-app-details strong { color: #111; }
.window-body .simple-reward { color: #000080 !important; font-weight: 600; }
.simple-stage { display: grid; gap: 11px; margin-top: 14px; }
.window-body .simple-card { padding: 15px; border: 1px solid #888; background: #d4d0c8; color: #111; }
.window-body .simple-card h3 { margin: 0 0 8px; color: #111; font: 600 15px/1.3 var(--display); }
.window-body .simple-card p { margin: 7px 0; color: #333; font-size: 10px; line-height: 1.6; }
.window-body .simple-card .kicker { margin: 0 0 9px; color: #000080; font: 700 8px var(--mono); letter-spacing: .1em; }
.simple-start-card { display: grid; justify-items: start; gap: 8px; }
.simple-start-card p { max-width: 600px; }
.window-body .simple-muted { color: #555 !important; font-size: 9px; }
.window-body .button-primary, .window-body .button-secondary, .window-body .choice-button, .window-body .route-button, .window-body .level-button, .window-body .touch-direction {
  min-height: 35px; padding: 8px 12px; border: 2px solid !important; border-color: #fff #404040 #404040 #fff !important; border-radius: 0 !important; background: #c0c0c0 !important; color: #111 !important; box-shadow: none !important; font-size: 10px; text-align: center; cursor: pointer; transition: background .12s, transform .12s;
}
.window-body .button-primary { background: #000080 !important; color: #fff !important; font-weight: 700; }
.window-body .button-primary:hover:not(:disabled) { background: #1084d0 !important; color: white !important; }
.window-body .button-secondary:hover:not(:disabled), .window-body .choice-button:hover:not(:disabled), .window-body .route-button:hover:not(:disabled), .window-body .level-button:hover:not(:disabled) { background: #e4e1da !important; }
.window-body .button-primary:active:not(:disabled), .window-body .button-secondary:active:not(:disabled), .window-body .choice-button:active:not(:disabled) { transform: translateY(1px); }
.window-body .choice-list { display: grid; gap: 7px; margin-top: 12px; }
.window-body .choice-button { min-height: 43px; width: 100%; text-align: left; }
.window-body .choice-button.choice-correct { border-color: #fff #174b17 #174b17 #fff !important; background: #b7d6a1 !important; }
.window-body .choice-button.choice-wrong { background: #e0b0a7 !important; }
.window-body .simple-result { display: grid; gap: 4px; padding: 12px; border-left: 4px solid #000080; background: #e5e1d8; }
.window-body .simple-result.result-good { border-left-color: #287539; }
.window-body .simple-feedback-label { color: #000080 !important; font-weight: 700; }
.window-body .simple-results { display: grid; justify-items: start; gap: 6px; }
.window-body .simple-results h3 { font-size: 19px; }
.window-body .simple-status { min-height: 26px; margin: 8px 0 0; color: #000080; font-size: 10px; line-height: 1.5; }
.window-body .game-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 11px; color: #444; font: 9px var(--mono); }
.window-body .game-stats strong { margin-left: 4px; color: #000080; font-size: 11px; }
.window-body .arcade-canvas { display: block; width: 100%; height: auto; max-height: 53vh; border: 2px inset #808080; background: #202a27; object-fit: contain; touch-action: none; }
.window-body .game-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.window-body .route-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.window-body .route-button { flex: 1 1 150px; min-height: 37px; font-size: 9px; }
.window-body .route-button[aria-pressed="true"] { border-color: #404040 #fff #fff #404040 !important; background: #b5c5d8 !important; color: #000080 !important; }
.window-body .touch-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #444; font: 8px var(--mono); }
.window-body .touch-pad { display: grid; grid-template-columns: repeat(3, 37px); grid-template-rows: repeat(2, 34px); gap: 3px; }
.window-body .touch-direction { min-width: 35px; min-height: 31px; padding: 2px; font-size: 13px; touch-action: none; user-select: none; }
.window-body .touch-pad .touch-direction:nth-child(1) { grid-column: 2; grid-row: 1; }
.window-body .touch-pad .touch-direction:nth-child(2) { grid-column: 1; grid-row: 2; }
.window-body .touch-pad .touch-direction:nth-child(3) { grid-column: 2; grid-row: 2; }
.window-body .touch-pad .touch-direction:nth-child(4) { grid-column: 3; grid-row: 2; }
.window-body .touch-direction.touch-pressed { border-color: #404040 #fff #fff #404040 !important; background: #aebdd0 !important; }
.window-body .timing-meter { margin: 12px 0 4px; padding: 10px; border: 1px solid #888; background: #e4e1d9; }
.window-body .timing-meter-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #333; font: 700 8px var(--mono); }
.window-body .timing-track { position: relative; height: 18px; overflow: hidden; border: 1px solid #555; background: #fff; }
.window-body .timing-zone { position: absolute; top: 0; bottom: 0; left: 72%; width: 20%; background: #9dcf9d; }
.window-body .timing-marker { position: absolute; top: -3px; bottom: -3px; left: 0; width: 3px; background: #000080; box-shadow: 0 0 0 1px #fff; transform: translateX(-50%); }
.window-body .timing-meter .simple-muted { margin: 6px 0 0; }
.window-body .basketball-good-zone { left: 34%; width: 32%; background: #a2d49d; }
.window-body .basketball-perfect-zone { left: 45%; width: 10%; background: #6bb36b; }
.window-body .stock-list, .window-body .store-list { display: grid; gap: 8px; margin-top: 12px; }
.window-body .market-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 13px; padding: 10px; border: 1px solid #888; background: #e5e1d8; color: #333; font-size: 9px; }
.window-body .market-summary strong { color: #000080; font: 700 12px var(--mono); }
.window-body .market-countdown { margin-left: auto; color: #555; font: 8px var(--mono); }
.window-body .stock-card, .window-body .store-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; border: 1px solid #999; background: #e1ddd5; }
.window-body .stock-summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; min-width: 0; flex: 1; }
.window-body .stock-summary h3, .window-body .store-copy h3 { margin: 0; color: #111; font-size: 11px; }
.window-body .stock-symbol { color: #000080; font: 700 8px var(--mono); }
.window-body .stock-summary p, .window-body .store-copy p { grid-column: 1 / -1; margin: 0; color: #555; font-size: 9px; }
.window-body .stock-price { color: #000080; font: 700 10px var(--mono); }
.window-body .stock-change { font: 700 9px var(--mono); color: #444; }
.window-body .stock-change[data-trend="up"] { color: #176b2c; }
.window-body .stock-change[data-trend="down"] { color: #a02020; }
.window-body .stock-holding { color: #555; font: 8px var(--mono); }
.window-body .stock-chart { grid-column: 1 / -1; height: 28px; padding: 2px 4px; border: 1px inset #999; background: #f8f7f2; }
.window-body .stock-sparkline { display: block; width: 100%; height: 100%; }
.window-body .browser-shell { display: grid; gap: 8px; margin-top: 12px; }
.window-body .browser-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 6px; border: 1px solid #888; background: #d4d0c8; }
.window-body .browser-toolbar button { min-height: 30px; padding: 4px 8px; font-size: 10px; }
.window-body .browser-url { flex: 1 1 200px; min-width: 0; height: 30px; padding: 4px 8px; border: 2px inset #808080; background: #fff; color: #111; font: 11px var(--mono); }
.window-body .browser-bookmarks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.window-body .browser-bm-label { color: #333; font: 700 9px var(--mono); }
.window-body .browser-bookmarks button { min-height: 26px; padding: 3px 8px; font-size: 9px; }
.window-body .browser-note { margin: 0; }
.window-body .browser-frame { width: 100%; height: 380px; border: 2px inset #808080; background: #fff; }
.window-body .spotify-shell { display: grid; gap: 10px; margin-top: 12px; }
.window-body .spotify-now { display: grid; grid-template-columns: 48px 1fr; gap: 10px 12px; align-items: center; padding: 12px; border: 2px inset #404040; background: #181818; color: #f8fafc; }
.window-body .spotify-art { width: 48px; height: 48px; display: grid; place-items: center; background: #6d28d9; color: #facc15; font-size: 22px; font-weight: 700; }
.window-body .spotify-meta { display: grid; gap: 3px; min-width: 0; }
.window-body .spotify-title { color: #ffffff !important; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body .spotify-artist { color: #b3b3b3 !important; font-size: 10px; }
.window-body .spotify-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.window-body .spotify-controls button { min-height: 30px; padding: 4px 10px; font-size: 10px; }
.window-body .spotify-scrub-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.window-body .spotify-time { color: #b3b3b3 !important; font: 9px var(--mono); min-width: 28px; }
.window-body .spotify-seek { flex: 1; min-width: 80px; accent-color: #6d28d9; border: 0 !important; background: transparent !important; }
.window-body .spotify-volume { width: 70px; accent-color: #6d28d9; border: 0 !important; background: transparent !important; }
.window-body .spotify-helper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid #888; background: #e1ddd5; font-size: 9px; color: #333; }
.window-body .spotify-list { display: grid; gap: 4px; max-height: 220px; overflow: auto; }
.window-body .spotify-track { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid #888; background: #e5e1d8; color: #111; text-align: left; cursor: pointer; font-size: 10px; }
.window-body .spotify-track:hover { background: #d4d0c8; }
.window-body .spotify-track.spotify-active { border-left: 4px solid #6d28d9; background: #e5ddf7; font-weight: 700; }
.window-body .spotify-num { color: #5b21b6; font: 700 10px var(--mono); }
.window-body .spotify-row-artist { color: #555; font-size: 9px; }
.window-body .spotify-lyrics-text { margin: 8px 0 0; white-space: pre-wrap; font: 10px/1.6 var(--sans); color: #222; max-height: 220px; overflow: auto; }
.window-body .well-shell { display: grid; gap: 10px; margin-top: 12px; }
.window-body .well-form { display: grid; gap: 8px; }
.window-body .well-tiers { display: flex; flex-wrap: wrap; gap: 6px; }
.window-body .well-input, .window-body .well-textarea { width: 100%; padding: 6px 8px; font: 11px var(--sans); }
.window-body .well-textarea { resize: vertical; min-height: 62px; }
.window-body .well-submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.window-body .well-history h3 { margin: 4px 0 8px; font-size: 12px; }
.window-body .well-entry strong { display: block; color: #000080; font-size: 10px; margin-bottom: 4px; }
.window-body .well-entry p { margin: 3px 0; }
.system-clock-btn { padding: 3px 10px; border: 2px inset #808080; background: #d4d0c8; color: #000080; font: 700 13px var(--mono); cursor: pointer; flex: 0 0 auto; }
.system-mute-btn { padding: 3px 7px; border: 2px solid; border-color: #fff #404040 #404040 #fff; background: #c0c0c0; color: #111; font-size: 12px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.system-mute-btn[aria-pressed="true"] { border-color: #404040 #fff #fff #404040; background: #a8a49c; }
.window-body .calc-shell { display: grid; gap: 10px; margin-top: 12px; max-width: 340px; }
.window-body .calc-screen-box { padding: 10px; border: 2px inset #808080; background: #111827; color: #f8fafc; text-align: right; }
.window-body .calc-expr { min-height: 14px; color: #94a3b8; font: 10px var(--mono); }
.window-body .calc-display { font: 700 24px/1.2 var(--mono); color: #4ade80; overflow: hidden; text-overflow: ellipsis; }
.window-body .calc-quip { margin-top: 6px; padding-top: 6px; border-top: 1px solid #334155; color: #fde047; font: 9px/1.4 var(--sans); text-align: left; min-height: 24px; }
.window-body .calc-mode-row { display: flex; flex-wrap: wrap; gap: 6px; }
.window-body .calc-mode-row button { flex: 1; min-height: 28px; font-size: 9px; }
.window-body .calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.window-body .calc-grid button { min-height: 38px; font: 700 12px var(--mono); }
.window-body .calc-grid .calc-op { color: #000080 !important; }
.window-body .calc-grid .calc-fn { color: #800000 !important; }
.window-body .calc-bsod { display: grid; gap: 10px; padding: 16px; border: 2px solid #fff; background: #0000aa; color: #ffffff; font: 11px/1.6 var(--mono); }
.window-body .calc-bsod p { margin: 0; color: #ffffff; }
.window-body .calc-bsod-title { display: inline-block; width: fit-content; padding: 2px 6px; background: #c0c0c0; color: #0000aa !important; font-weight: 700; }
.window-body .stock-trade { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px; }
.window-body .share-quantity { width: 58px; height: 32px; padding: 4px; border: 2px inset #808080; background: #fff; color: #111; font: 10px var(--mono); }
.window-body .trade-estimate { width: 100%; color: #444; font: 8px var(--mono); text-align: right; }
.window-body .stock-trade button { min-width: 54px; min-height: 30px; padding: 5px 8px; font-size: 9px; }
.window-body .store-card { align-items: center; }
.window-body .store-copy { display: grid; gap: 4px; }
.window-body .store-price { color: #000080; font: 700 9px var(--mono); }
.window-body .store-card button { min-width: 70px; }
.window-body .store-owned { margin-top: 18px; }
.window-body .store-owned > h3 { margin: 0 0 8px; color: #111; font-size: 12px; }
.window-body .purchased-list { display: grid; gap: 6px; }
.window-body .purchased-card { padding: 9px; border: 1px solid #999; background: #e1ddd5; }
.window-body .purchased-card summary { color: #000080; font-size: 10px; font-weight: 700; cursor: pointer; }
.window-body .purchased-card p { margin-bottom: 0; }
.window-body .store-link { display: inline-block; margin-top: 8px; text-decoration: none; }
.window-body .level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.window-body .level-button { display: grid; justify-items: start; gap: 7px; min-height: 74px; text-align: left; }
.window-body .level-button strong { color: #000080; font-size: 11px; }
.window-body .level-button span { color: #444; font-size: 8px; }
.window-body .question-title { margin: 7px 0 12px !important; font-size: 16px !important; }
.window-body .joke-card { display: grid; justify-items: start; gap: 11px; }
.window-body .joke-card blockquote { margin: 2px 0; color: #111; font: 600 17px/1.5 var(--display); }
.window-body .simple-error { margin: 20px; border-left: 4px solid #a00000; }

@media (max-width: 700px) {
  #desktop { min-height: min(540px, 100svh); }
  .desktop-prompt { display: none; }
  .desktop-welcome { right: 8px; bottom: 8px; left: 8px; width: auto; padding: 9px 11px; font-size: 9px; }
  .coin-label { display: none; }
  .system-bar { padding: 0 8px; }
  .window-body .level-grid { grid-template-columns: 1fr; }
  .window-body .stock-card, .window-body .store-card { align-items: stretch; flex-direction: column; }
  .window-body .stock-trade { justify-content: flex-start; }
  .window-body .trade-estimate { width: auto; margin-right: auto; text-align: left; }
  .os-window { transform: none !important; }
}

/* Corey's deliberately anachronistic desktop: raised panels, pixel art, and zero glass. */
:root {
  color-scheme: light;
  --bg: #008080;
  --panel: #c0c0c0;
  --panel-2: #d4d0c8;
  --panel-3: #e4e0d8;
  --ink: #111;
  --muted: #343434;
  --soft: #505050;
  --line: #808080;
  --accent: #000080;
  --blue: #000080;
  --pink: #a00050;
  --mono: 'Cascadia Mono', Consolas, 'Courier New', monospace;
  --sans: Tahoma, 'MS Sans Serif', Arial, sans-serif;
  --display: Tahoma, 'MS Sans Serif', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: auto;
  -webkit-font-smoothing: auto;
}

body { background: #008080; color: #111; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px dotted #000080; outline-offset: 2px; }
.boot-screen { background: #000080; transition: opacity .22s ease; }
.boot-screen.boot-done { opacity: 0; pointer-events: none; }
.boot-screen .boot-mark span { color: #f3d37c; }
.boot-screen .boot-progress span { background: #9be4c1; }
.boot-screen .boot-skip { color: #d4d0c8; font-family: var(--mono); }
.boot-screen .boot-skip:hover { color: #ffffff; text-decoration: underline; }
.professional-splash { background: #c0c0c0; color: #111; }
.veil { background: #008080; backdrop-filter: none; }
.captcha-card, .system-dialog { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; box-shadow: 4px 4px #000; }
.captcha-card h1, .system-dialog h2 { color: #111; }
.kicker, .dialog-brand span { color: #000080; }
.captcha-copy, .captcha-foot, .captcha-foot a { color: #333; }
.captcha-choice { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; }
.captcha-choice:hover { transform: none; border-color: #000080; background: #d4d0c8; }

#desktop { background-color: #008080; background-image: linear-gradient(90deg, #ffffff08 1px, transparent 1px), linear-gradient(#ffffff08 1px, transparent 1px); background-size: 24px 24px; }
.wallpaper-aurora, .wallpaper-terminal, .wallpaper-circuit { background-color: #008080; background-image: linear-gradient(90deg, #ffffff08 1px, transparent 1px), linear-gradient(#ffffff08 1px, transparent 1px); }
.system-bar, .taskbar { border: 0; border-top: 2px solid #fff; border-left: 2px solid #fff; border-bottom: 2px solid #404040; border-right: 2px solid #404040; border-radius: 0; background: #c0c0c0; color: #111; backdrop-filter: none; }
.start-button, .tray-button { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; }
.start-button:hover, .start-button[aria-expanded="true"], .tray-button:hover { background: #d4d0c8; color: #000080; }
.os-icon { border: 1px solid #404040; border-radius: 0; background: #000080; color: #fff; }
.system-status, .system-clock { color: #111; }
.online-dot, .taskbar-online, .market-live { border-radius: 0; box-shadow: none; }
.desktop-icon { border-radius: 0; color: #fff; text-shadow: 1px 1px #000; }
.desktop-icon:hover, .desktop-icon:focus-visible { border: 1px dotted #fff; border-radius: 0; background: #00008055; }
.desktop-icons.icons-free { inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.desktop-icons.icons-free .desktop-icon { position: absolute; pointer-events: auto; user-select: none; }
.desktop-icon.icon-dragging { opacity: 0.85; z-index: 4; cursor: grabbing; }
.app-icon { width: 42px; height: 42px; padding: 3px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #111; }
.icon-art { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.mini-icon .icon-art, .window-appicon .icon-art { width: 20px; height: 20px; }
.desktop-hud { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; box-shadow: 3px 3px #0005; backdrop-filter: none; }
.hud-header, .hud-columns strong, .hud-columns strong small, .hud-footer { color: #111; }
.hud-header > span:last-child, .hud-link { color: #000080; }
.discovery-track { border-radius: 0; background: #fff; }
.discovery-track span { border-radius: 0; background: #000080; }
.hud-footer { border-top: 1px solid #808080; }
.hud-label { color: #444; }
.desktop-watermark { color: #ffffff19; }
.desktop-watermark small { color: #ffffff48; }

.os-window { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; box-shadow: 3px 3px #0008; }
.window-focused { border-color: #fff #404040 #404040 #fff; box-shadow: 3px 3px #0009; }
.window-titlebar { height: 30px; gap: 7px; padding-left: 7px; border: 0; background: linear-gradient(90deg, #000080, #1084d0); cursor: grab; }
.window-appicon { width: 22px; height: 22px; border-radius: 0; background: transparent; color: #fff; }
.window-title { color: #fff; font-weight: 700; font-size: 11px; }
.window-control { width: 25px; margin: 3px 2px; border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; font-weight: 700; }
.window-control:hover, .close-window:hover { background: #d4d0c8; color: #000; }
.window-body { background: #c0c0c0; color: #111; }
.window-body h2, .window-body h3, .window-body h4, .window-body strong { color: #111; }
.window-body p, .window-body small, .window-body label, .window-body span { color: inherit; }
.window-body .kicker { color: #000080; }
.window-body .disclaimer { color: #444; }
.window-body :is(.app-hero, .game-banner, .button-arena, .upgrade-card, .store-header, .product-card, .market-header, .stock-row, .profiler-header, .metric-tile, .bureau-hero, .form-status, .approval-step, .boss-header, .boss-choice, .recycle-header, .file-row, .agency-header, .classified-document, .incident-board, .sports-header, .sports-panel, .dell-header, .dell-status, .cards-header, .card-purchase, .card-choice, .pet-header, .pet-room, .pet-speech, .factcheck-header, .claim-row, .assistant-header, .chat-history, .browser-page, .fake-result, .quests-header, .quest-card, .medal-card, .settings-header, .settings-row, .fact-callout, .warning-panel, .world-event-log, .coreydex-header, .dex-entry, .onboarding-card, .clerk-instructions, .fantasy-player, .stadium-quiz, .stadium-stamp, .command-chip, .button-chain, .tuning-panel, .ending-strip, .fake-ad, .developer-note, .adblock-overlay) {
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111;
}
.window-body :is(.app-hero, .game-banner, .button-arena, .upgrade-card, .store-header, .product-card, .market-header, .stock-row, .profiler-header, .metric-tile, .bureau-hero, .form-status, .approval-step, .boss-header, .boss-choice, .recycle-header, .file-row, .agency-header, .classified-document, .incident-board, .sports-header, .sports-panel, .dell-header, .dell-status, .cards-header, .card-purchase, .card-choice, .pet-header, .pet-room, .pet-speech, .factcheck-header, .claim-row, .assistant-header, .chat-history, .browser-page, .fake-result, .quests-header, .quest-card, .medal-card, .settings-header, .settings-row, .fact-callout, .warning-panel, .world-event-log, .coreydex-header, .dex-entry, .onboarding-card, .clerk-instructions, .fantasy-player, .stadium-quiz, .stadium-stamp, .command-chip, .button-chain, .tuning-panel, .ending-strip, .fake-ad, .developer-note, .adblock-overlay) {
  background-color: #d4d0c8 !important;
  border-color: #808080 !important;
}
.window-body :is(.button-arena, .sports-art, .dell-screen) { background-image: none; }
.window-body .sports-art { border-bottom: 2px solid #808080; background: #000080; color: #fff; }
.window-body .sports-art span { color: #fff; }
.window-body .terminal-window { border-radius: 0; box-shadow: none; }
.window-body .terminal-bar { border-radius: 0; background: #000080; color: #fff; }
.window-body .terminal-bar small { color: #fff; }
.window-body .terminal-content { background: #111; color: #b6f3a5; }
.window-body .terminal-entry, .window-body .terminal-entry pre { color: #b6f3a5; }
.window-body .terminal-form { border-color: #808080; background: #d4d0c8; }
.window-body .terminal-form label { color: #111; }
.window-body :is(button, input, select, textarea) { border-radius: 0; }
.window-body :is(.action-button, .button-secondary, .purchase-button, .sports-tabs button, .card-choice, .toggle-button, .task-button, .command-chip, .window-control, .boss-target, .file-row button, .upgrade-card button, .terminal-form button) {
  border: 2px solid !important;
  border-color: #fff #404040 #404040 #fff !important;
  border-radius: 0 !important;
  background: #c0c0c0 !important;
  color: #111 !important;
  box-shadow: none !important;
}
.window-body :is(.action-button, .button-secondary, .purchase-button, .sports-tabs button, .card-choice, .toggle-button):hover:not(:disabled) { transform: none; background: #dedbd4 !important; }
.window-body :is(.action-button, .purchase-button) { background: #000080 !important; color: #fff !important; }
.window-body :is(.action-button, .purchase-button):hover:not(:disabled) { background: #1084d0 !important; }
.window-body :is(input, select, textarea) { border: 2px solid; border-color: #404040 #fff #fff #404040; background: #fff; color: #111; }
.window-body :is(.profile-stats > div, .metrics-grid > div, .fantasy-score, .metric-tile, .product-art, .button-counter, .temp-dial) { border-radius: 0; }
.window-body .button-arena { border: 2px inset #808080; background-color: #e8e5dc !important; }
.window-body .useless-button { border: 5px outset #f04a42; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ff8c72, #dc1f2b 67%, #8d111b); color: #fff; }
.window-body .fragment-locked, .window-body .document-redacted { background: #d4d0c8 !important; }
.window-body .fragment-found, .window-body .document-open { border-left: 4px solid #000080 !important; }
.window-body .mini-meter, .window-body .catch-meter, .window-body .dell-progress, .window-body .boss-health-track { border-radius: 0; background: #fff; }
.window-body .mini-meter i, .window-body .catch-meter i, .window-body .dell-progress i, .window-body .boss-health-track i { border-radius: 0; background: #000080; }
.window-body .sports-tabs .tab-active { background: #000080 !important; color: #fff !important; }
.window-body .arena-message, .window-body .browser-status { color: #000080; }
.window-body .puka-panel .sports-result, .window-body .baseball-panel .sports-result { color: #e7efe4; }
.window-body .pet-sprite { border-radius: 0; }
.task-button { display: inline-flex; align-items: center; gap: 5px; border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; font-size: 10px; }
.task-button.task-active { border-color: #404040 #fff #fff #404040; background: #d4d0c8; }
.start-menu { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; box-shadow: 3px 3px #0007; backdrop-filter: none; }
.start-app { border-radius: 0; color: #111; }
.start-app:hover { background: #000080; color: #fff; }
.start-app:hover span { color: #fff; }
.start-section-title, .start-bottom { border-color: #808080; color: #333; }
.toast { border: 2px solid; border-color: #fff #404040 #404040 #fff; border-radius: 0; background: #c0c0c0; color: #111; box-shadow: 3px 3px #0007; }
.toast.achievement-toast { border-color: #f0d26c #66551f #66551f #f0d26c; background: #fff2b0; color: #111; }
.window-body .stadium-grid { gap: 7px; }
.window-body .coreydex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.window-body .dex-entry { min-height: 120px; padding: 10px; border: 1px solid #808080; }
.window-body .dex-found { border-left: 4px solid #008000 !important; }
.window-body .dex-rarity { display: inline-block; margin-bottom: 7px; color: #000080; font: 700 8px var(--mono); }
.window-body .world-event-log { margin: 10px 0; padding: 10px; border: 1px solid #808080; }
.window-body .world-event-log h3 { color: #000080; font: 700 9px var(--mono); }
.window-body .world-event-log p { margin: 5px 0; padding-top: 5px; border-top: 1px dotted #888; font-size: 10px; }
.window-body .boss-question { padding: 12px; border: 2px inset #808080; background: #ece9e1; }
.window-body .boss-answers, .window-body .button-boss-answers, .window-body .dell-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.window-body .fantasy-roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.window-body .fantasy-player { display: grid; gap: 5px; padding: 10px; border: 1px solid #888; }
.window-body .fantasy-player > span { color: #000080; font: 700 8px var(--mono); }
.window-body .fantasy-starter { border: 2px solid #008000 !important; }
.window-body .fantasy-status { display: flex; flex-direction: column; gap: 5px; max-width: 360px; margin: 12px 0; }
.window-body .clerk-instructions { margin: 10px 0; padding: 10px; border-left: 4px solid #000080 !important; }
.window-body .onboarding-card { margin: 14px 0; padding: 14px; border: 2px outset #fff !important; }
.window-body .puka-panel .catch-meter { height: 16px; }
.window-body .dell-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.window-body .dell-mode strong { margin-left: auto; color: #000080; font: 700 12px var(--mono); }
.window-body .agency-stamp { border-radius: 0; }
.window-body .browser-logo { text-shadow: none; }
.window-body .sports-art, .window-body .dell-screen { border-radius: 0; }
.window-body .game-banner, .window-body .sports-header { margin-bottom: 10px; }

@media (max-width: 700px) {
  #desktop { min-height: 540px; }
  .desktop-workspace { overflow: hidden; }
  .desktop-icons { top: 8px; left: 8px; grid-auto-flow: row; grid-template-columns: repeat(3, 70px); grid-template-rows: none; grid-auto-rows: 67px; gap: 2px; }
  .desktop-icon { width: 68px; min-height: 64px; gap: 1px; font-size: 8px; }
  .app-icon { width: 35px; height: 35px; }
  .desktop-hud { top: auto; right: 8px; bottom: 8px; left: 8px; width: auto; padding: 9px; }
  .hud-footer { margin-top: 7px; padding-top: 6px; }
  .desktop-watermark { display: none; }
  .os-window, .os-window.app-profile, .os-window.app-market, .os-window.app-profiler, .os-window.app-boss, .os-window.app-terminal {
    top: 4px !important; left: 4px !important; width: calc(100% - 8px) !important; height: calc(100% - 8px) !important; max-height: none;
  }
  .window-titlebar { height: 32px; }
  .window-body { padding: 10px; }
  .window-body .classified-docs, .window-body .fantasy-roster, .window-body .coreydex-grid { grid-template-columns: 1fr; }
  .window-body .boss-answers, .window-body .button-boss-answers, .window-body .dell-options { grid-template-columns: 1fr; }
  .taskbar-credit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
