@layer reset, shell, desktop, themes, components, fieldnotes, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  :root { font-family: Arial, Helvetica, sans-serif; color: #202429; background: #f8f9fa; font-synthesis: none; --orange: #e85a30; --border: #e2e5e8; --muted: #6b727b; }
  body { margin: 0; font-size: 1rem; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button, a { touch-action: manipulation; }
  button { cursor: pointer; }
  button { color: inherit; }
  a { color: inherit; }
  svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
  button:disabled { cursor: not-allowed; opacity: .45; }
  :focus-visible { outline: 3px solid #ec6b38; outline-offset: 3px; }
  [hidden] { display: none !important; }
  h1,h2,h3,p { margin: 0; }
  .skip-link { position: fixed; z-index: 9999; top: -70px; left: 12px; padding: 12px; background: #fff; }
  .skip-link:focus { top: 12px; }
}

@layer shell {
  .site-header { height: 85px; display: flex; align-items: center; padding: 0 32px; gap: 32px; border-bottom: 1px solid var(--border); background: #fff; position: relative; z-index: 40; }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
  .brand-mark { color: var(--orange); display: grid; place-items: center; width: 40px; height: 44px; }
  .brand-mark svg { width: 37px; height: 37px; }
  .brand-name { font-size: 19px; font-weight: 750; line-height: 1.1; letter-spacing: -.6px; }
  .brand-name > span { display: block; font-size: 13px; font-weight: 500; letter-spacing: 1.1px; text-transform: uppercase; margin-top: 5px; }
  .beta { display: none; font: 10px/1.5 'Courier New',monospace; color: #92979c; border-left: 1px solid var(--border); padding-left: 20px; margin-left: 10px; max-width: 110px; }
  .header-nav { display: flex; gap: 28px; align-self: stretch; margin-left: auto; }
  .nav-link { background: none; border: 0; position: relative; font-size: 14px; color: #7b8188; white-space: nowrap; padding: 0; }
  .nav-link.active { color: #202429; }
  .nav-link.active::after { content: ''; height: 2px; background: var(--orange); position: absolute; bottom: -1px; left: 0; right: 0; }
  .count { font-size: 11px; margin-left: 4px; padding: 3px 5px; border-radius: 3px; background: #f1f2f4; }
  .source-link { font-size: 13px; text-decoration: none; border: 1px solid var(--border); border-radius: 5px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; white-space: nowrap; }
  .source-link svg { width: 15px; height: 15px; }
  .app-layout { display: grid; grid-template-columns: 242px minmax(0,1fr); }
  .sidebar { border-right: 1px solid var(--border); background: #fff; height: calc(100dvh - 85px); position: sticky; top: 0; display: flex; flex-direction: column; }
  .sidebar-intro { display: flex; align-items: center; justify-content: space-between; padding: 28px 20px 17px; }
  .eyebrow { font: 11px/1.5 'Courier New',monospace; font-weight: 700; letter-spacing: 1.4px; color: #6a717a; }
  .library-total { font: 11px 'Courier New',monospace; color: #8d939a; }
  .search-box { display: flex; align-items: center; border: 1px solid #e4e7ea; margin: 0 17px; padding: 9px 10px; border-radius: 5px; gap: 8px; }
  .search-box svg { width: 16px; height: 16px; color: #a1a6ac; }
  .search-box input { border: 0; outline: 0; min-width: 0; width: 100%; font-size: 13px; background: transparent; }
  .search-box:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
  .search-box kbd { font-size: 10px; padding: 2px 5px; background: #f4f5f6; color: #999; border: 1px solid #e8eaec; border-radius: 3px; }
  .filters { display: flex; gap: 4px; margin: 15px 17px 7px; padding: 3px; border-radius: 5px; background: #f4f5f6; }
  .filters button { flex: 1; border: 0; background: transparent; font-size: 12px; padding: 6px 5px; color: #7d838b; border-radius: 3px; }
  .filters button.selected { background: #fff; color: #262a30; box-shadow: 0 1px 3px #00000012; }
  .system-list { min-height: 150px; overflow-y: auto; padding: 8px 11px 20px; scrollbar-width: thin; scrollbar-color: #ddd transparent; flex: 1; }
  .list-label { font: 10px/1.5 'Courier New',monospace; letter-spacing: 1px; color: #959ba2; padding: 15px 10px 9px; }
  .system-option { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; background: none; width: 100%; text-align: left; padding: 11px 10px; border-radius: 5px; margin-bottom: 2px; position: relative; }
  .system-option:hover { background: #f5f6f7; }
  .system-option[aria-pressed=true] { border-color: #f7dacd; background: #fdf1eb; color: #a94021; }
  .system-option[aria-pressed=true]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); margin-left: auto; }
  .system-option .system-text { font-size: 13px; flex: 1; white-space: nowrap; }
  .system-option .system-date { color: #9299a0; font: 10px 'Courier New',monospace; }
  .system-option[aria-pressed=true] .system-date { display: none; }
  .platform-icon { display: inline-grid; width: 24px; height: 25px; place-items: center; font-weight: bold; font-size: 16px; flex-shrink: 0; color: var(--icon-color,#686868); }
  .platform-icon svg { width: 25px; height: 25px; stroke-width: 1; }
  .sidebar-credit { flex-shrink: 0; border-top: 1px solid var(--border); padding: 18px 22px; display: grid; grid-template-columns: 19px 1fr; gap: 7px 9px; }
  .credit-symbol { font-size: 24px; color: var(--orange); line-height: 1; }
  .sidebar-credit p { font-size: 12px; line-height: 1.6; color: #666f78; }
  .sidebar-credit .credit-author { grid-column: 2; color: #9a9fa6; font-size: 11px; }
  .credit-author a { color: #59616b; text-underline-offset: 3px; }
  main { padding: 39px 40px 0; min-width: 0; outline: none; max-width: 1600px; width: 100%; margin: auto; }
  .page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 37px; }
  .page-intro .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; }
  .tiny-pixel { background: var(--orange); width: 7px; height: 7px; display: block; box-shadow: 4px 4px 0 #f6bd9d; }
  h1 { font-size: clamp(26px,2.7vw,39px); letter-spacing: -1.6px; font-weight: 650; margin: 12px 0 10px; }
  .intro-copy { color: #7c838b; font-size: 14px; line-height: 1.6; }
  .shuffle-button { display: flex; align-items: center; gap: 10px; font-size: 12px; background: #fff; border: 1px solid #dfe2e5; border-radius: 5px; padding: 11px 14px; white-space: nowrap; }
  .shuffle-button:hover { border-color: var(--orange); color: var(--orange); }
  .shuffle-button svg { width: 15px; height: 15px; }
  .system-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 26px; }
  .selected-system { display: flex; align-items: center; gap: 15px; }
  .selected-icon { background: #fff; width: 51px; height: 51px; border: 1px solid var(--border); border-radius: 10px; display: grid; place-items: center; box-shadow: 0 2px 3px #00000003; }
  .selected-icon .platform-icon,.selected-icon svg { width: 31px; height: 31px; font-size: 27px; }
  .system-name-line { display: flex; align-items: center; gap: 11px; }
  .system-name-line h2 { font-size: 24px; letter-spacing: -.7px; font-weight: 600; }
  .year-badge { font: 11px 'Courier New',monospace; color: #737b84; padding: 4px 7px; border: 1px solid #dde1e5; border-radius: 4px; }
  #system-subtitle { color: #7c838b; margin-top: 6px; font-size: 12px; }
  .guide-link { font-size: 11px; display: flex; align-items: center; gap: 7px; color: #777f88; text-decoration: none; }
  .guide-link:hover { color: var(--orange); }
  .guide-link svg { width: 14px; height: 14px; }
  .playground-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); margin-bottom: 17px; }
  .view-tabs { display: flex; gap: 26px; }
  .view-tabs button { padding: 0 0 14px; border: 0; background: none; color: #8c9299; font-size: 12px; position: relative; }
  .view-tabs button[aria-selected=true] { color: #2a2e34; }
  .view-tabs button[aria-selected=true]::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; background: var(--orange); height: 2px; }
  .tab-count { background: #e9ecef; border-radius: 3px; font: 10px 'Courier New',monospace; padding: 2px 4px; margin-left: 3px; }
  .stage-tools { display: flex; gap: 7px; padding-bottom: 10px; }
  .icon-button { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 4px; background: none; color: #858c95; }
  .icon-button:hover { background: #edeff1; color: #202429; }
  .icon-button svg { width: 16px; height: 16px; }
  .monitor { border: 1px solid #d5d9dd; border-radius: 7px; overflow: hidden; box-shadow: 0 4px 12px #1c232908,0 15px 40px #1c232903; background: #fff; }
  .monitor-bar { height: 34px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f1f2f4; font: 9px 'Courier New',monospace; letter-spacing: .8px; color: #90969d; border-bottom: 1px solid #d8dce0; }
  .monitor-bar > span:first-child { display: flex; align-items: center; gap: 7px; color: #68716d; font-size: 9px; }
  .monitor-bar i { width: 5px; height: 5px; border-radius: 50%; background: #67a27b; }
  .recreation-label { font-size: 9px; letter-spacing: 0; }
  .monitor-bottom { background: #fff; min-height: 36px; padding: 9px 13px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; color: #8a929a; }
  .monitor-bottom > span:first-child { display: flex; align-items: center; gap: 7px; }
  .monitor-bottom svg { width: 12px; height: 12px; }
  .theme-colors { display: flex; gap: 4px; }
  .theme-colors i { display: block; width: 10px; height: 10px; border-radius: 2px; border: 1px solid #00000012; }
  .under-stage { margin: 14px 0 29px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .under-stage p { font-size: 10px; color: #78818a; }
  .keyboard-icon { font-size: 15px; margin-right: 5px; color: #818b94; }
  .under-muted { color: #a1a7ae; }
  .text-button { border: 0; background: none; padding: 0; color: #6e7780; font-size: 10px; display: flex; gap: 7px; align-items: center; }
  .text-button span { display: inline-grid; place-items: center; width: 13px; height: 13px; border: 1px solid #b2b8be; border-radius: 50%; font-size: 9px; }
  .details-strip { border-top: 1px solid var(--border); padding: 23px 0 25px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
  .details-strip > div { display: flex; gap: 13px; }
  .detail-icon { color: #949ba3; padding-top: 1px; }
  .detail-icon svg { width: 20px; height: 20px; stroke-width: 1.25; }
  .details-strip h3 { font-size: 11px; font-weight: 600; margin-bottom: 6px; }
  .details-strip p { font-size: 10px; line-height: 1.8; color: #969da5; }
  .details-strip a { text-underline-offset: 3px; color: #717b85; }
  footer { padding: 17px 0 21px; border-top: 1px solid var(--border); color: #9ca3aa; font-size: 9px; display: flex; justify-content: space-between; gap: 12px; line-height: 1.6; }
  .footer-dot { margin: 0 8px; }
  .mobile-menu { display: none; }
  .toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%,20px); z-index: 300; background: #242a31; color: #fff; padding: 13px 19px; border-radius: 6px; font-size: 13px; box-shadow: 0 8px 30px #0002; pointer-events: none; opacity: 0; transition: opacity .2s,transform .2s; max-width: calc(100% - 32px); text-align: center; }
  .toast.visible { opacity: 1; transform: translate(-50%,0); }
  .empty-list { font-size: 13px; padding: 20px 10px; line-height: 1.8; color: #8b929a; }
}

@layer desktop {
  .stage { --desk: #008080; --surface: #c0c0c0; --surface-2: #fff; --ink: #111; --title: #000080; --title-ink: #fff; --hi: #fff; --lo: #808080; --accent: #000080; --control-radius: 0px; --ui-font: Arial,Helvetica,sans-serif; --desktop-ink: #fff; position: relative; height: 495px; background: var(--desk); color: var(--ink); font-family: var(--ui-font); font-size: 13px; overflow: hidden; isolation: isolate; }
  .stage button,.stage input,.stage select,.stage textarea { font-family: var(--ui-font); }
  .desktop-icons { position: absolute; top: 20px; left: 14px; display: flex; flex-direction: column; gap: 22px; z-index: 1; }
  .desktop-icon { border: 0; padding: 3px; background: none; color: var(--desktop-ink); width: 86px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; line-height: 1.4; text-align: center; text-shadow: 1px 1px #0005; }
  .desktop-icon .pixel-icon { width: 36px; height: 36px; }
  .desktop-icon:hover span:last-child,.desktop-icon:focus-visible span:last-child { background: var(--accent); outline: 1px dotted #fff; }
  .pixel-icon { width: 30px; height: 30px; display: inline-block; flex-shrink: 0; vertical-align: middle; image-rendering: pixelated; }
  .pixel-icon svg { display: block; width: 100%; height: 100%; stroke: none; stroke-linecap: square; stroke-linejoin: miter; }
  .desktop-watermark { position: absolute; bottom: 68px; right: 24px; color: #ffffff20; font-size: 44px; font-weight: 700; letter-spacing: -2px; user-select: none; }
  .os-window { position: absolute; width: min(580px,calc(100% - 130px)); left: 50%; top: 76px; transform: translateX(-44%); background: var(--surface); padding: 3px; border: 1px solid #111; box-shadow: inset -1px -1px var(--lo),inset 1px 1px var(--hi),2px 2px #0004; z-index: 4; border-radius: var(--control-radius); overflow: hidden; }
  .os-window.is-front { z-index: 12; }
  .os-window.is-maximized { width: calc(100% - 16px) !important; height: calc(100% - 56px) !important; top: 8px !important; left: 8px !important; transform: none !important; }
  .os-window.is-maximized .window-body { height: calc(100% - 32px); }
  .os-window.is-minimized { display: none; }
  .title-bar { background: var(--title); color: var(--title-ink); height: 27px; display: flex; justify-content: space-between; align-items: center; padding: 3px 4px; cursor: grab; touch-action: none; user-select: none; font-weight: 700; font-size: 12px; }
  .title-bar:active { cursor: grabbing; }
  .window-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .window-title .pixel-icon { height: 16px; width: 16px; }
  .window-title > span:last-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .window-controls { display: flex; gap: 3px; }
  .os-button,.window-controls button { border: 0; background: var(--surface); color: var(--ink); box-shadow: inset -1px -1px #262626,inset 1px 1px var(--hi),inset -2px -2px var(--lo); border-radius: var(--control-radius); padding: 8px 15px; min-width: 80px; font-size: 12px; }
  .os-button:active,.window-controls button:active { box-shadow: inset 1px 1px #333,inset -1px -1px var(--hi),inset 2px 2px var(--lo); }
  .os-button.primary { outline: 1px solid var(--ink); outline-offset: 1px; }
  .window-controls button { min-width: 0; width: 19px; height: 18px; padding: 0; line-height: 15px; font-size: 14px; font-family: Arial,sans-serif; font-weight: 700; }
  .window-body { padding: 21px 22px 13px; }
  .welcome-content { display: grid; grid-template-columns: 175px 1fr; gap: 23px; min-height: 218px; }
  .welcome-illustration { display: flex; align-items: center; flex-direction: column; justify-content: center; background: linear-gradient(145deg,#000080,#0879a5); position: relative; overflow: hidden; padding: 20px 12px; color: #fff; }
  .welcome-illustration::before { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid #ffffff20; transform: rotate(-30deg); top: -60px; right: -80px; box-shadow: 0 0 0 20px #ffffff09,0 0 0 40px #ffffff07; }
  .pixel-computer { position: relative; width: 110px; height: 108px; flex-shrink: 0; z-index: 1; }
  .computer-body { position: absolute; left: 9px; top: 0; width: 90px; height: 76px; background: #c8c8c8; border: 2px solid #111; box-shadow: inset 3px 3px #fff,inset -4px -4px #888,4px 4px #0004; }
  .computer-screen { position: absolute; inset: 10px 9px 16px; background: #008080; border: 3px solid #555; border-bottom-color: #eee; border-right-color: #eee; display: grid; place-items: center; }
  .computer-screen .platform-icon { transform: scale(1.1); }
  .computer-body::after { content: ''; position: absolute; width: 3px; height: 3px; right: 8px; bottom: 5px; background: #12bd5d; }
  .computer-stand { position: absolute; left: 41px; top: 76px; height: 13px; width: 26px; background: #aaa; border-left: 2px solid #111; border-right: 2px solid #111; }
  .computer-base { position: absolute; top: 88px; left: 0; width: 110px; height: 15px; background: #bdbdbd; border: 2px solid #111; box-shadow: inset 2px 2px #fff,inset -2px -2px #888; }
  .welcome-logotype { font-size: 20px; line-height: 1.15; text-align: center; letter-spacing: -.5px; margin-top: 9px; font-weight: 700; z-index: 1; }
  .welcome-logotype small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 1px; margin-bottom: 5px; }
  .welcome-main h3 { font-size: 20px; letter-spacing: -.5px; line-height: 1.2; margin: 0 0 9px; font-weight: 700; }
  .welcome-main > p { font-size: 11px; line-height: 1.7; margin-bottom: 12px; color: var(--ink); opacity: .75; }
  .welcome-action { display: flex; width: 100%; gap: 10px; align-items: center; background: transparent; border: 0; padding: 7px 0; text-align: left; color: var(--ink); }
  .welcome-action .pixel-icon { width: 26px; height: 26px; }
  .welcome-action strong { display: block; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
  .welcome-action small { display: block; font-size: 10px; margin-top: 3px; opacity: .65; }
  .welcome-action:hover strong { color: var(--accent); }
  .welcome-footer { border-top: 1px solid var(--lo); box-shadow: 0 -1px #ffffff70; margin-top: 17px; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; }
  .os-check { display: inline-flex; gap: 7px; align-items: center; font-size: 12px; line-height: 1.5; }
  .os-check input { appearance: none; width: 13px; height: 13px; margin: 0; background: var(--surface-2); border: 1px solid var(--lo); box-shadow: inset 1px 1px #555,inset -1px -1px var(--hi); display: grid; place-content: center; flex-shrink: 0; border-radius: 0; }
  .os-check input:checked::before { content: '✓'; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1; }
  .os-check input[type=radio] { border-radius: 50%; }
  .os-check input[type=radio]:checked::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
  .taskbar { position: absolute; bottom: 0; left: 0; right: 0; height: 36px; background: var(--surface); border-top: 2px solid var(--hi); padding: 3px 5px; display: flex; align-items: stretch; gap: 7px; z-index: 20; }
  .start-button { display: flex; align-items: center; gap: 6px; padding: 2px 8px; min-width: 65px; font-size: 13px; font-weight: 700; }
  .start-button .platform-icon { width: 20px; height: 20px; }
  .start-button .platform-icon svg { width: 20px; height: 20px; }
  .task-divider { width: 2px; border-left: 1px solid var(--lo); border-right: 1px solid var(--hi); margin: 1px 0; }
  .task-button { min-width: 115px; max-width: 170px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 11px; padding: 4px 8px; background: #d6d6d6; text-align: left; display: flex; gap: 5px; align-items: center; }
  .task-button .pixel-icon { width: 16px; height: 16px; }
  .task-clock { margin-left: auto; padding: 5px 10px; border: 1px inset var(--hi); font-size: 11px; display: flex; align-items: center; gap: 8px; }
  .task-clock svg { height: 13px; width: 13px; }
  .start-menu { position: absolute; left: 3px; bottom: 36px; width: 230px; background: var(--surface); border: 2px outset var(--hi); z-index: 25; padding: 3px 3px 3px 30px; box-shadow: 2px 2px #0004; }
  .start-menu-label { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 26px; background: #808080; color: #ddd; writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 4px; font-size: 17px; font-weight: 700; }
  .start-menu button { border: 0; background: none; color: var(--ink); display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 8px; font-size: 12px; }
  .start-menu button:hover { background: var(--accent); color: #fff; }
  .start-menu .pixel-icon { width: 25px; height: 25px; }
  .start-menu hr { border: 0; border-top: 1px solid var(--lo); border-bottom: 1px solid var(--hi); margin: 3px; }
  .desktop-menubar { display: none; }
  .notepad-body { padding: 0; }
  .os-menubar { display: flex; position: relative; padding: 3px; border-bottom: 1px solid var(--lo); gap: 2px; }
  .os-menubar > button { background: none; border: 0; padding: 4px 8px; color: var(--ink); font-size: 12px; }
  .os-menubar > button:hover { background: var(--accent); color: #fff; }
  .notepad-text { display: block; resize: none; width: 100%; height: 230px; background: var(--surface-2); color: var(--ink); padding: 15px; border: 2px inset var(--hi); font: 13px/1.7 'Courier New',monospace !important; border-radius: 0; }
  .notepad-status { display: flex; justify-content: space-between; padding: 5px 7px; font-size: 10px; color: var(--ink); opacity: .7; }
  .file-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 20px 8px; background: var(--surface-2); border: 2px inset var(--hi); }
  .file-grid button { color: var(--ink); font-size: 11px; }
  .file-grid .desktop-icon { width: auto; text-shadow: none; }
  .file-path { margin-bottom: 12px; font-size: 11px; display: flex; gap: 8px; align-items: center; }
  .file-path span { background: var(--surface-2); padding: 5px 8px; border: 2px inset var(--hi); flex: 1; }
  .os-message { display: flex; gap: 20px; line-height: 1.7; padding: 10px 0 20px; align-items: center; }
  .os-message > .pixel-icon { width: 44px; height: 44px; }
  .dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 16px; }
  .settings-form { display: grid; gap: 17px; font-size: 12px; }
  .settings-form label { display: flex; flex-direction: column; gap: 7px; }
  .settings-form .os-check { flex-direction: row; }
  .os-input,.os-select { background: var(--surface-2); color: var(--ink); border: 2px inset var(--hi); border-radius: var(--control-radius); padding: 6px 8px; font-size: 12px; width: 100%; }
  .os-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 28px; }
  .wallpaper-options { display: flex; gap: 7px; }
  .wallpaper-options button { width: 31px; height: 26px; border: 2px outset var(--hi); }
  .wallpaper-options button[aria-pressed=true] { outline: 1px dotted var(--ink); outline-offset: 2px; }
  .stage:fullscreen { height: 100dvh; }
  .stage:fullscreen .os-window { top: 25%; }
  .screen-off { position: absolute; inset: 0; background: #111; color: #f6a447; display: grid; place-items: center; text-align: center; font: 23px/1.5 'Courier New',monospace; z-index: 50; }
  .screen-off button { background: none; border: 1px solid #f6a447; color: #f6a447; font-size: 13px; padding: 10px 20px; margin-top: 20px; }
}

@layer themes {
  .theme-macintosh { --desk: #999; --surface: #fff; --surface-2: #fff; --ink: #111; --title: #fff; --title-ink: #111; --hi: #fff; --lo: #111; --accent: #111; --desktop-ink: #111; --ui-font: 'Geneva',Arial,sans-serif; background-image: repeating-conic-gradient(#aaa 0 25%,#999 0 50%); background-size: 3px 3px; }
  .theme-macintosh .os-window { border: 2px solid #111; padding: 3px; box-shadow: 2px 2px #111; }
  .theme-macintosh .title-bar { background: repeating-linear-gradient(#111 0 1px,#fff 1px 3px); border-bottom: 1px solid #111; margin: 1px; height: 24px; flex-direction: row-reverse; }
  .theme-macintosh .window-title { background: #fff; padding: 0 12px; margin: 0 auto; }
  .theme-macintosh .window-title .pixel-icon { display: none; }
  .theme-macintosh .window-controls { background: #fff; }
  .theme-macintosh .window-controls button { box-shadow: none; width: 13px; height: 13px; border: 1px solid #111; font-size: 0; }
  .theme-macintosh .window-controls button:not(:last-child) { display: none; }
  .theme-macintosh .os-button { border: 1.5px solid #111; border-radius: 5px; box-shadow: none; background: #fff; }
  .theme-macintosh .os-button:active { background: #111; color: #fff; }
  .theme-macintosh .welcome-illustration { background: #fff; color: #111; border: 1px solid #111; }
  .theme-macintosh .computer-screen { background: #ddd; }
  .theme-macintosh .pixel-icon { filter: grayscale(1); }
  .theme-macintosh .taskbar { height: 31px; border-top: 1px solid #111; }
  .theme-macintosh .desktop-menubar,.theme-aqua .desktop-menubar,.theme-amiga .desktop-menubar,.theme-gem .desktop-menubar { display: flex; position: absolute; top: 0; left: 0; right: 0; height: 28px; background: var(--surface); color: var(--ink); z-index: 18; padding: 0 13px; align-items: center; gap: 5px; border-bottom: 1px solid var(--lo); }
  .desktop-menubar > button { background: none; border: 0; font-weight: 600; color: inherit; font-size: 12px; height: 100%; padding: 0 12px; }
  .desktop-menubar > button:hover { background: var(--accent); color: #fff; }
  .desktop-menubar time { margin-left: auto; font-size: 11px; }
  .theme-macintosh .desktop-icons,.theme-aqua .desktop-icons,.theme-gem .desktop-icons { left: auto; right: 14px; top: 48px; }
  .theme-macintosh .os-window,.theme-aqua .os-window { transform: translateX(-57%); }
  .theme-macintosh .start-button,.theme-aqua .start-button { display: none; }
  .theme-aqua { --desk: #3d74a4; --surface: #eaeaea; --surface-2: #fff; --ink: #202020; --title: #e8e8e8; --title-ink: #303030; --hi: #fff; --lo: #a0a0a0; --accent: #2d80d4; --control-radius: 7px; --ui-font: 'Lucida Grande',Arial,sans-serif; background: radial-gradient(ellipse at 40% 90%,#c4e5ec55,transparent 60%),repeating-linear-gradient(155deg,#154177 0 2%,#3b73ab 6%,#64a6cf 12%,#3068a2 17%,#154177 20%); }
  .theme-aqua .os-window { box-shadow: 0 9px 22px #0005; border: 1px solid #777; padding: 0; border-radius: 9px 9px 4px 4px; }
  .theme-aqua .title-bar { background: repeating-linear-gradient(#f9f9f9 0 1px,#ececec 1px 3px); height: 29px; justify-content: center; border-bottom: 1px solid #aaa; }
  .theme-aqua .window-controls { position: absolute; left: 9px; flex-direction: row-reverse; gap: 7px; }
  .theme-aqua .window-controls button { border-radius: 50%; width: 13px; height: 13px; font-size: 0; min-width: 0; border: 1px solid #0003; box-shadow: inset 0 3px 3px #ffffffbb,0 1px #fff; background: #58b45b; }
  .theme-aqua .window-controls button:nth-child(2) { background: #e4bd3d; }
  .theme-aqua .window-controls button:last-child { background: #dc6356; }
  .theme-aqua .os-button { border-radius: 20px; background: linear-gradient(#fff,#eee 45%,#c4c4c4 50%,#fff); border: 1px solid #777; box-shadow: 0 1px #fff; padding: 5px 17px; }
  .theme-aqua .os-button.primary { background: linear-gradient(#bce6ff,#59a7eb 45%,#2384d7 50%,#9adaff); outline: none; border-color: #3877ac; }
  .theme-aqua .welcome-illustration { background: linear-gradient(135deg,#d6eaf2,#7cafd3); color: #194768; border-radius: 5px; }
  .theme-aqua .taskbar { left: 50%; right: auto; transform: translateX(-50%); min-width: 330px; width: max-content; border: 1px solid #fff8; border-radius: 7px 7px 0 0; height: 39px; background: #ffffff88; box-shadow: 0 0 6px #0003; }
  .theme-aqua .task-clock,.theme-aqua .task-divider { display: none; }
  .theme-next { --desk: #545470; --surface: #aaa; --surface-2: #fff; --title: #111; --accent: #111; --hi: #eee; --lo: #555; --ui-font: Helvetica,Arial,sans-serif; }
  .theme-next .title-bar { height: 28px; }
  .theme-next .os-window { border: 2px solid #111; box-shadow: 4px 4px #0004; }
  .theme-next .welcome-illustration { background: #222; }
  .theme-next .os-button { box-shadow: inset 1px 1px #eee,inset -2px -2px #555,1px 1px #111; }
  .theme-next .taskbar { left: auto; width: 76px; height: auto; top: 12px; bottom: auto; flex-direction: column; right: 12px; border: 2px solid #111; padding: 3px; }
  .theme-next .task-button { min-width: 0; max-width: 66px; min-height: 55px; font-size: 9px; flex-direction: column; white-space: normal; }
  .theme-next .task-button .pixel-icon { width: 25px; height: 25px; }
  .theme-next .task-clock,.theme-next .task-divider { display: none; }
  .theme-next .start-button { width: 100%; min-width: 0; min-height: 55px; font-size: 10px; flex-direction: column; }
  .theme-amiga { --desk: #747b85; --surface: #aaa; --surface-2: #fff; --ink: #111; --title: #3568ac; --accent: #3568ac; --hi: #fff; --lo: #222; --ui-font: 'Courier New',monospace; }
  .theme-amiga .desktop-menubar { background: #eee; color: #111; font-weight: 700; }
  .theme-amiga .desktop-icons { top: 48px; }
  .theme-amiga .title-bar { border: 1px solid #111; }
  .theme-amiga .welcome-illustration { background: #e6e6e6; color: #111; border: 2px solid #111; }
  .theme-amiga .welcome-illustration::before { background: linear-gradient(#e6513a 0 20%,#efab3d 20% 40%,#f8e14e 40% 60%,#5daf5e 60% 80%,#5483c6 80%); border: 0; opacity: .8; width: 45px; height: 150px; top: 25px; right: 2px; transform: rotate(25deg); box-shadow: none; }
  .theme-cde { --desk: #738d9c; --surface: #b9b5a7; --surface-2: #e5e2d8; --title: #9b5768; --accent: #8b4055; --hi: #eee9dd; --lo: #6a695f; --ui-font: Helvetica,Arial,sans-serif; }
  .theme-cde .os-window { padding: 6px; border: 2px outset #ddd6c7; box-shadow: 3px 3px #0004; }
  .theme-cde .title-bar { border: 2px outset #be8092; }
  .theme-cde .welcome-illustration { background: #465b70; }
  .theme-cde .taskbar { left: 15%; right: 15%; height: 43px; padding: 5px; border: 3px outset var(--hi); }
  .theme-cua { --desk: #00005e; --surface: #c1c1c1; --surface-2: #fff; --title: #000080; --hi: #eee; --lo: #666; --accent: #000080; --ui-font: 'Courier New',monospace; }
  .theme-cua .title-bar { border: 1px solid #fff; text-align: center; }
  .theme-gem { --desk: #6b9d65; --surface: #fff; --surface-2: #fff; --title: #fff; --title-ink: #111; --ink: #111; --lo: #111; --accent: #111; --desktop-ink: #111; --ui-font: 'Courier New',monospace; background-image: repeating-conic-gradient(#709d6e 0 25%,#648c62 0 50%); background-size: 2px 2px; }
  .theme-gem .os-window { border: 2px solid #111; box-shadow: 2px 2px #0008; }
  .theme-gem .title-bar { border-bottom: 2px solid #111; background: repeating-linear-gradient(#fff 0 3px,#ccc 3px 4px); }
  .theme-gem .welcome-illustration { background: #d3d3d3; color: #111; }
  .theme-gem .pixel-icon { filter: grayscale(1); }
  .theme-gnome { --desk: #5c7396; --surface: #deddd5; --surface-2: #fff; --title: #566a86; --accent: #4c6892; --hi: #f5f4ec; --lo: #9c9a94; --control-radius: 3px; --ui-font: 'Trebuchet MS',Arial,sans-serif; background: radial-gradient(ellipse at 60% 35%,#8fa6c2,#4b6384); }
  .theme-gnome .title-bar { background: linear-gradient(#7890b0,#4e6585); }
  .theme-java { --desk: #a6a3bc; --surface: #ccccdf; --surface-2: #fff; --title: #9999b6; --title-ink: #000; --accent: #666699; --hi: #fff; --lo: #777; --ui-font: Dialog,Arial,sans-serif; }
  .theme-java .title-bar { background: repeating-linear-gradient(#9999b6 0 1px,#ccccdf 1px 3px); height: 27px; }
  .theme-java .window-title { background: #ccccdf; padding: 4px; }
  .theme-java .welcome-illustration { background: #666699; }
  .theme-openlook { --desk: #8d9ba8; --surface: #ccc; --surface-2: #fff; --title: #ccc; --title-ink: #111; --accent: #444; --hi: #fff; --lo: #777; --control-radius: 15px; --ui-font: 'Lucida Sans',Arial,sans-serif; }
  .theme-openlook .os-window { border-radius: 0; border: 1px solid #111; padding: 4px; }
  .theme-openlook .title-bar { border-bottom: 1px solid #777; border-radius: 0; justify-content: center; }
  .theme-openlook .window-controls { position: absolute; left: 5px; }
  .theme-openlook .window-controls button { border-radius: 2px; }
  .theme-openlook .os-button { border: 1px solid #333; box-shadow: inset 0 2px #fff,inset 0 -2px #888; }
  .theme-risc { --desk: #91a8ad; --surface: #d3d3d3; --surface-2: #fff; --title: #d3d3d3; --title-ink: #111; --accent: #477d70; --hi: #fff; --lo: #888; --ui-font: Arial,sans-serif; background-image: repeating-conic-gradient(#9cb0b4 0 25%,#8fa4a8 0 50%); background-size: 4px 4px; }
  .theme-risc .title-bar { background: linear-gradient(#f4f4f4,#aaa); }
  .theme-sgi { --desk: #6b7a91; --surface: #c7c7bb; --surface-2: #fffff6; --title: #b4b4a5; --title-ink: #111; --accent: #634b84; --hi: #f8f8ee; --lo: #77776a; --ui-font: Helvetica,Arial,sans-serif; background: linear-gradient(160deg,#71859f,#455471); }
  .theme-sgi .title-bar { border: 2px outset #d8d8c9; }
  .theme-sgi .welcome-illustration { background: linear-gradient(140deg,#634b84,#2d6570); }
  .theme-taligent { --desk: #6f8990; --surface: #d8d8d1; --surface-2: #fff; --title: #668a9c; --accent: #4d7286; --hi: #fff; --lo: #777; --control-radius: 3px; }
  .theme-office { --desk: #d8e5ef; --surface: #dce6f2; --surface-2: #fff; --title: #abc8e5; --title-ink: #244c77; --accent: #2b6095; --hi: #f4f8fd; --lo: #849ab0; --control-radius: 3px; }
  .theme-office .title-bar { background: linear-gradient(#e0effd,#b2cee8); }
  .theme-office .welcome-illustration { background: #3e6d9e; }
  .theme-penpoint { --desk: #b5b5a4; --surface: #f7f7eb; --surface-2: #fffef5; --title: #eeeedd; --title-ink: #111; --hi: #fff; --lo: #666; --accent: #333; --desktop-ink: #222; --ui-font: 'Times New Roman',serif; }
  .theme-penpoint .os-window { border-left: 14px double #555; }
  .theme-penpoint .welcome-illustration { background: #d7d8c7; color: #222; }
  .theme-magiccap { --desk: #d8d2bb; --surface: #e8e2cf; --surface-2: #fffbed; --title: #c4bca6; --title-ink: #333; --hi: #fff9e6; --lo: #8f8773; --accent: #6f6654; --desktop-ink: #443e31; --control-radius: 9px; --ui-font: 'Comic Sans MS','Trebuchet MS',sans-serif; background-image: linear-gradient(0deg,#b7a585 0 25%,transparent 25%),repeating-linear-gradient(90deg,#e4decb 0 38px,#d8d2bf 38px 40px); }
  .theme-magiccap .welcome-illustration { background: #a7a18e; color: #fff; }
  .theme-newton { --desk: #c1c5a3; --surface: #d7d9b8; --surface-2: #e7e9cd; --title: #d7d9b8; --title-ink: #333c25; --ink: #333c25; --hi: #eaecd6; --lo: #626b4d; --accent: #414b2f; --desktop-ink: #333c25; --control-radius: 6px; --ui-font: 'Times New Roman',serif; }
  .theme-newton .pixel-icon { filter: grayscale(1) sepia(.6); }
  .theme-palm { --desk: #bcc9a8; --surface: #d7dfc6; --surface-2: #e8eddc; --title: #35462e; --title-ink: #e8eddc; --ink: #293522; --hi: #e8eddc; --lo: #35462e; --accent: #35462e; --desktop-ink: #293522; --control-radius: 3px; --ui-font: 'Tahoma',Arial,sans-serif; }
  .theme-palm .pixel-icon { filter: grayscale(1) sepia(.6); }
  .theme-ios { --desk: #aebccc; --surface: #d4d9e2; --surface-2: #fff; --title: #6d88aa; --title-ink: #fff; --ink: #283549; --hi: #fff; --lo: #8a97a8; --accent: #3878ba; --control-radius: 7px; --ui-font: Helvetica,Arial,sans-serif; background: repeating-linear-gradient(90deg,#b9c6d5 0 2px,#aebccd 2px 4px); }
  .theme-android { --desk: #1b2026; --surface: #292929; --surface-2: #161616; --title: #272727; --title-ink: #fff; --ink: #ddd; --hi: #555; --lo: #111; --accent: #33b5e5; --ui-font: Roboto,Arial,sans-serif; }
  .theme-blackberry { --desk: #132333; --surface: #f5f5f5; --surface-2: #fff; --title: #141c24; --title-ink: #fff; --ink: #222; --hi: #fff; --lo: #9c9c9c; --accent: #007bc4; --ui-font: 'Helvetica Neue',Arial,sans-serif; }
  .theme-nokia { --desk: #6c82a0; --surface: #e1e5eb; --surface-2: #f8f9fb; --title: #4668a0; --title-ink: #fff; --ink: #1b2b44; --hi: #fff; --lo: #78869b; --accent: #406ba4; --control-radius: 5px; --ui-font: 'Tahoma',Arial,sans-serif; }
  .theme-windowsphone { --desk: #161616; --surface: #111; --surface-2: #222; --title: #111; --title-ink: #fff; --ink: #fff; --hi: #666; --lo: #111; --accent: #c83c75; --ui-font: 'Segoe UI',Arial,sans-serif; }
  .theme-webos { --desk: #434a3a; --surface: #e8e7e3; --surface-2: #fff; --title: #d9d7ce; --title-ink: #333; --ink: #333; --hi: #fff; --lo: #aaa; --accent: #6b9145; --control-radius: 9px; --ui-font: 'Prelude','Trebuchet MS',sans-serif; background: radial-gradient(ellipse at top,#7a8a66,#30392b); }
  .theme-samsung { --desk: #e5ddf2; --surface: #f7f7fa; --surface-2: #fff; --title: #fff; --title-ink: #171721; --ink: #171721; --hi: #fff; --lo: #ddd; --accent: #3b64d9; --control-radius: 15px; --ui-font: Arial,sans-serif; }
  .mobile-desktop { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 32px; align-items: center; height: 100%; padding: 24px 30px; }
  .device { width: 263px; border: 7px solid #282a2c; border-radius: 30px; background: #111; box-shadow: 0 12px 30px #0005,inset 0 0 0 1px #888; padding: 21px 5px 14px; justify-self: center; position: relative; }
  .device::before { content: ''; position: absolute; top: 9px; width: 38px; height: 4px; border-radius: 3px; background: #4f5152; left: calc(50% - 19px); }
  .device-screen { background: var(--surface); color: var(--ink); min-height: 338px; overflow: hidden; position: relative; }
  .device-status { display: flex; justify-content: space-between; font-size: 9px; padding: 4px 7px; height: 20px; background: #111; color: #fff; }
  .device-header { background: var(--title); color: var(--title-ink); text-align: center; padding: 12px 8px; font-size: 17px; font-weight: 600; }
  .device-content { padding: 18px 12px 14px; min-height: 243px; }
  .device-content h3 { font-size: 14px; margin-bottom: 15px; }
  .device-row { width: 100%; display: flex; gap: 8px; align-items: center; border: 0; border-bottom: 1px solid #0002; padding: 11px 8px; background: var(--surface-2); color: var(--ink); text-align: left; font-size: 12px; }
  .device-row:first-of-type { border-radius: var(--control-radius) var(--control-radius) 0 0; }
  .device-row:last-of-type { border-radius: 0 0 var(--control-radius) var(--control-radius); }
  .device-row .pixel-icon { width: 22px; height: 22px; }
  .device-row::after { content: '›'; font-size: 20px; margin-left: auto; color: #888; }
  .device-tabs { display: flex; background: #222; color: #bbb; height: 42px; }
  .device-tabs button { border: 0; background: transparent; color: inherit; font-size: 9px; padding: 6px 3px; flex: 1; }
  .device-tabs button[aria-selected=true] { color: #fff; background: #ffffff15; }
  .device-home { display: block; margin: 10px auto 0; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #555; background: linear-gradient(#111,#222); padding: 7px; }
  .device-home::after { content: ''; display: block; width: 10px; height: 10px; border: 1px solid #888; border-radius: 2px; }
  .mobile-aside { color: var(--desktop-ink); max-width: 195px; justify-self: end; }
  .mobile-aside .mobile-kicker { font: 10px 'Courier New',monospace; text-transform: uppercase; letter-spacing: 1px; opacity: .6; margin-bottom: 12px; }
  .mobile-aside h3 { font-size: 26px; letter-spacing: -.7px; line-height: 1.15; margin-bottom: 14px; }
  .mobile-aside p { font-size: 11px; line-height: 1.9; opacity: .7; }
  .mobile-side-note { justify-self: start; font: 10px/1.8 'Courier New',monospace; color: var(--desktop-ink); opacity: .6; max-width: 140px; }
  .mobile-side-note span { display: block; height: 1px; width: 25px; background: currentColor; margin-bottom: 14px; }
  .theme-ios .device-header { background: linear-gradient(#b1c0d3,#6d85a4 50%,#577294 51%,#6f86a3); text-shadow: 0 -1px #0005; border-bottom: 1px solid #425d7f; }
  .theme-ios .device-screen { background: repeating-linear-gradient(90deg,#cbd3df 0 2px,#c1cbd9 2px 4px); }
  .theme-ios .device-tabs { background: linear-gradient(#454545,#111 50%,#080808 51%); }
  .theme-android .device-header { text-align: left; border-bottom: 2px solid #33b5e5; font-weight: 400; }
  .theme-android .device-row { padding: 12px 1px; border-color: #444; }
  .theme-android .device-row::after { color: #33b5e5; }
  .theme-blackberry .device { border-radius: 15px; border-width: 6px; padding-top: 23px; padding-bottom: 9px; }
  .theme-blackberry .device-home { width: 70px; height: 4px; padding: 0; margin: 10px auto 3px; background: #555; border: 0; border-radius: 4px; }
  .theme-blackberry .device-home::after { display: none; }
  .theme-blackberry .device-header { text-align: left; background: linear-gradient(#26333e,#111b24); border-bottom: 2px solid #009add; }
  .theme-blackberry .device-tabs { background: #121a23; }
  .theme-blackberry .device-tabs button[aria-selected=true] { box-shadow: inset 0 3px #009add; }
  .theme-palm .device { border-color: #747a6e; border-radius: 22px 22px 34px 34px; background: #a7ad9d; width: 270px; padding: 24px 11px 20px; }
  .theme-palm .device-screen { min-height: 300px; }
  .theme-palm .device-status { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--ink); }
  .theme-palm .device-header { text-align: left; padding: 5px 8px; font-size: 14px; }
  .theme-palm .device-tabs { background: #c1c8b1; color: var(--ink); border-top: 2px solid var(--ink); }
  .theme-palm .device-tabs button[aria-selected=true] { background: #9caa89; color: var(--ink); }
  .theme-palm .device-home { background: #757d6c; width: 70px; height: 20px; border-radius: 12px; padding: 0; }
  .theme-palm .device-home::after { display: none; }
  .theme-windowsphone .device-header { text-align: left; font-size: 30px; font-weight: 300; padding: 12px 11px; }
  .theme-windowsphone .device-row { background: var(--accent); margin: 5px 0; border: 0; border-radius: 0; padding: 13px 7px; }
  .theme-windowsphone .device-row::after { color: #fff; }
  .theme-windowsphone .device-tabs { background: #111; }
  .theme-samsung .mobile-aside,.theme-newton .mobile-aside,.theme-palm .mobile-aside,.theme-ios .mobile-aside,.theme-nokia .mobile-aside,.theme-samsung .mobile-side-note,.theme-newton .mobile-side-note,.theme-palm .mobile-side-note,.theme-ios .mobile-side-note,.theme-nokia .mobile-side-note { color: var(--ink); }
  .theme-samsung .device { border-radius: 30px; border-width: 4px; padding-top: 14px; }
  .theme-samsung .device-header { padding: 28px 10px 12px; text-align: left; font-size: 24px; }
  .theme-samsung .device-tabs { background: #fff; color: #777; }
  .theme-samsung .device-tabs button[aria-selected=true] { color: #3b64d9; }
  .theme-nokia .device { border-color: #263958; border-radius: 25px 25px 18px 18px; padding-bottom: 10px; }
  .theme-nokia .device-header { background: linear-gradient(#7794bf,#3b5991); }
  .theme-webos .device { border-radius: 38px; border-color: #262626; }
  .theme-webos .device-screen { border-radius: 9px; }
  .theme-webos .device-header { background: linear-gradient(#f6f4ed,#cecdc5); border-bottom: 1px solid #aaa; }
  .theme-newton .device { width: 280px; border: 12px solid #3a3f3c; border-radius: 16px; padding: 12px 0; background: #363b37; }
  .theme-newton .device-status { background: var(--surface); color: var(--ink); }
  .theme-newton .device-header { border-bottom: 2px solid var(--ink); text-align: left; font-style: italic; }
  .theme-newton .device-tabs { background: #b2b990; color: var(--ink); }
  .theme-newton .device-tabs button[aria-selected=true] { color: var(--ink); }
}

@layer components {
  .component-view { padding: 24px; overflow-y: auto; scrollbar-width: thin; }
  .component-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; align-items: start; }
  .component-card { background: var(--surface); padding: 15px; border: 1px solid var(--lo); box-shadow: inset 1px 1px var(--hi); min-height: 128px; }
  .component-card h3 { font: 10px var(--ui-font); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .65; margin-bottom: 16px; }
  .component-card .control-stack { display: grid; gap: 12px; }
  .component-card .control-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
  .component-card .os-button { padding: 7px 11px; min-width: 67px; }
  .os-range { appearance: none; width: 100%; height: 5px; background: var(--lo); border-bottom: 1px solid var(--hi); margin: 10px 0; }
  .os-range::-webkit-slider-thumb { appearance: none; width: 15px; height: 23px; background: var(--surface); border: 2px outset var(--hi); cursor: grab; }
  .os-range::-moz-range-thumb { width: 13px; height: 21px; background: var(--surface); border: 2px outset var(--hi); border-radius: 0; cursor: grab; }
  .os-progress { appearance: none; width: 100%; height: 19px; border: 2px inset var(--hi); background: var(--surface-2); }
  .os-progress::-webkit-progress-bar { background: var(--surface-2); }
  .os-progress::-webkit-progress-value { background: repeating-linear-gradient(90deg,var(--accent) 0 9px,transparent 9px 11px); }
  .os-progress::-moz-progress-bar { background: repeating-linear-gradient(90deg,var(--accent) 0 9px,transparent 9px 11px); }
  .progress-label { display: flex; justify-content: space-between; font-size: 10px; margin-top: 7px; }
  .os-toggle { border: 2px inset var(--hi); background: var(--surface-2); width: 49px; height: 24px; padding: 2px; display: flex; }
  .os-toggle span { background: var(--surface); height: 16px; width: 19px; border: 2px outset var(--hi); }
  .os-toggle[aria-checked=true] { background: var(--accent); justify-content: flex-end; }
  .os-list { width: 100%; border: 2px inset var(--hi); background: var(--surface-2); padding: 2px; }
  .os-list button { border: 0; background: none; color: var(--ink); font-size: 11px; padding: 4px 6px; display: block; width: 100%; text-align: left; }
  .os-list button[aria-selected=true] { background: var(--accent); color: #fff; }
  .os-tabs { display: flex; border-bottom: 1px solid var(--lo); margin-bottom: 11px; }
  .os-tabs button { background: var(--surface); color: var(--ink); font-size: 10px; padding: 5px 8px; border: 1px solid var(--lo); border-radius: 3px 3px 0 0; margin-right: 2px; }
  .os-tabs button[aria-selected=true] { box-shadow: inset 0 2px var(--hi); border-bottom-color: var(--surface); margin-bottom: -1px; font-weight: bold; }
  .component-tab-text { font-size: 11px; line-height: 1.6; }
  .color-picker { display: flex; gap: 4px; flex-wrap: wrap; }
  .color-picker button { border: 2px outset var(--hi); width: 22px; height: 22px; }
  .color-picker button[aria-pressed=true] { outline: 1px dotted var(--ink); outline-offset: 2px; }
  .control-feedback { font-size: 10px; min-height: 15px; opacity: .7; margin-top: 8px; }
  .menu-demo { position: relative; }
  .demo-dropdown { position: absolute; z-index: 15; top: 30px; left: 0; background: var(--surface); border: 2px outset var(--hi); min-width: 140px; padding: 3px; box-shadow: 2px 2px #0004; }
  .demo-dropdown button { display: block; width: 100%; text-align: left; background: none; color: var(--ink); border: 0; padding: 7px; font-size: 11px; }
  .demo-dropdown button:hover { background: var(--accent); color: #fff; }
  .theme-aqua .component-card { background: repeating-linear-gradient(#fafafa 0 1px,#eee 1px 3px); border-radius: 6px; }
  .theme-aqua .os-progress { border-radius: 8px; height: 15px; }
  .theme-aqua .os-progress::-webkit-progress-value { background: linear-gradient(#bce6ff,#4a9adc 50%,#207ac5 50%,#8bd4ff); border-radius: 7px; }
  .theme-android .os-button,.theme-blackberry .os-button,.theme-windowsphone .os-button,.theme-samsung .os-button { box-shadow: none; background: var(--accent); color: #fff; outline: none; border: 0; }
  .theme-samsung .component-card { border: none; border-radius: 17px; }
  .theme-samsung .os-input,.theme-blackberry .os-input { border: 0; border-bottom: 1px solid var(--lo); }
  .theme-macintosh .component-card { box-shadow: none; }
  .theme-macintosh .os-progress::-webkit-progress-value { background: repeating-conic-gradient(#111 0 25%,#fff 0 50%); background-size: 2px 2px; }
  .notes-view { padding: 26px; background: #f0f1ef; color: #303735; overflow-y: auto; }
  .inline-notes { max-width: 700px; margin: 0 auto; background: #fff; border: 1px solid #ddd; padding: 27px; box-shadow: 4px 4px #ddd; }
  .inline-notes > .eyebrow { color: var(--orange); }
  .inline-notes h3 { font: 30px Georgia,serif; margin: 12px 0; }
  .inline-notes p { font: 14px/1.9 Arial,sans-serif; color: #737b80; margin-bottom: 18px; }
  .design-dna { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0 23px; }
  .design-dna > div { border-top: 2px solid #343b3b; padding-top: 10px; }
  .design-dna strong { font: 12px Arial,sans-serif; font-weight: 700; display: block; margin-bottom: 8px; }
  .design-dna span { font: 11px/1.7 Arial,sans-serif; color: #80878c; }
  .field-guide-button { border: 1px solid #333; background: #333; color: #fff; font: 12px Arial,sans-serif; padding: 11px 15px; display: inline-flex; gap: 8px; align-items: center; border-radius: 4px; }
  .field-guide-button svg { width: 15px; height: 15px; }
}

@layer fieldnotes {
  .info-dialog { border: 1px solid #d8dcd9; padding: 0; border-radius: 10px; width: min(860px,calc(100% - 36px)); max-height: min(840px,90dvh); color: #2c3435; box-shadow: 0 30px 100px #0005; background: #fff; overflow: auto; }
  .info-dialog::backdrop { background: #1b2731aa; backdrop-filter: blur(5px); }
  .dialog-close { position: absolute; right: 16px; top: 15px; z-index: 5; background: #ffffffbb; color: #596465; font-size: 24px; width: 31px; height: 31px; }
  .fieldnote-top { background: #f0f1ed; border-bottom: 1px solid #d9ded7; padding: 26px 35px 0; position: relative; overflow: hidden; }
  .fieldnote-top::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 35%; opacity: .3; background-image: linear-gradient(#c8d0c8 1px,transparent 1px),linear-gradient(90deg,#c8d0c8 1px,transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(90deg,transparent,#000); pointer-events: none; }
  .fieldnote-top .eyebrow { color: #778171; font-size: 10px; }
  .fieldnote-heading { display: flex; align-items: center; gap: 17px; margin: 22px 0; }
  .fieldnote-icon { width: 60px; height: 60px; background: #fff; border: 1px solid #d8ded4; display: grid; place-items: center; border-radius: 8px; }
  .fieldnote-icon .platform-icon,.fieldnote-icon svg { width: 37px; height: 37px; font-size: 28px; }
  .fieldnote-heading h2 { font: 35px/1.2 Georgia,serif; letter-spacing: -1px; }
  .fieldnote-heading p { font: 11px 'Courier New',monospace; color: #84907f; margin-top: 7px; }
  .fieldnote-tabs { display: flex; gap: 27px; position: relative; }
  .fieldnote-tabs button { background: none; border: 0; padding: 12px 0; font-size: 12px; color: #8a9386; border-bottom: 2px solid transparent; }
  .fieldnote-tabs button[aria-selected=true] { color: #2e3931; border-bottom-color: #e2643b; }
  .fieldnote-layout { display: grid; grid-template-columns: minmax(0,1fr) 195px; }
  .markdown-body { padding: 30px 35px 32px; font: 15px/1.85 Georgia,serif; color: #565e5e; }
  .markdown-body h2 { font: 23px/1.4 Georgia,serif; color: #273130; letter-spacing: -.4px; margin: 0 0 13px; }
  .markdown-body h3 { font: 11px/1.5 'Courier New',monospace; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #747e76; margin: 24px 0 11px; }
  .markdown-body p { margin-bottom: 17px; }
  .markdown-body ul { margin: 10px 0 20px; padding-left: 19px; }
  .markdown-body li { margin: 8px 0; padding-left: 3px; }
  .markdown-body a { color: #a84628; text-underline-offset: 3px; overflow-wrap: anywhere; }
  .markdown-body blockquote { border-left: 2px solid #d9aa87; background: #faf5ef; padding: 14px 17px; margin: 22px 0; font-style: italic; font-size: 15px; }
  .markdown-body blockquote p { margin: 0; }
  .markdown-body code { font: 12px 'Courier New',monospace; background: #eff1ed; padding: 2px 4px; }
  .markdown-body hr { border: 0; border-top: 1px solid #e5e7e3; margin: 23px 0; }
  .fieldnote-aside { padding: 32px 20px; border-left: 1px solid #e9ece7; background: #fafbf8; }
  .fieldnote-aside dt { font: 9px 'Courier New',monospace; letter-spacing: 1px; color: #9ba393; margin-bottom: 7px; text-transform: uppercase; }
  .fieldnote-aside dd { font-size: 12px; margin: 0 0 24px; color: #626e5b; line-height: 1.7; }
  .fieldnote-aside .palette { display: flex; gap: 5px; }
  .palette i { width: 20px; height: 20px; border-radius: 3px; border: 1px solid #0002; }
  .fieldnote-aside .specimen { font: 34px/1.2 var(--specimen-font,Arial),sans-serif; letter-spacing: -1px; }
  .fieldnote-aside small { font: 10px/1.7 'Courier New',monospace; color: #9aa290; }
  .fieldnote-bottom { border-top: 1px solid #e4e8e0; padding: 16px 35px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font: 10px/1.6 'Courier New',monospace; color: #91998a; }
  .fieldnote-bottom button { background: #e95e32; color: #fff; border: 0; border-radius: 4px; padding: 10px 13px; font: 11px Arial,sans-serif; }
  .about-content { padding: 40px; }
  .about-content > .eyebrow { color: var(--orange); }
  .about-content h2 { font: 37px Georgia,serif; margin: 15px 0 21px; letter-spacing: -1px; }
  .about-content p { font-size: 14px; line-height: 1.9; color: #7b838b; margin-bottom: 17px; }
  .about-content a { color: #a74327; text-underline-offset: 4px; }
  .about-content h3 { font-size: 16px; margin: 22px 0 12px; }
  .collection-content { padding: 35px; }
  .collection-content h2 { font: 33px Georgia,serif; margin: 12px 0 8px; }
  .collection-content > p { font-size: 13px; line-height: 1.7; color: #8b9299; margin-bottom: 22px; }
  .collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .collection-card { background: #fff; border: 1px solid #e0e4e6; text-align: left; border-radius: 6px; padding: 0; overflow: hidden; }
  .collection-card:hover { border-color: #e85a30; transform: translateY(-2px); }
  .collection-art { background: var(--card-desk); height: 76px; display: grid; place-items: center; position: relative; overflow: hidden; }
  .mini-window { background: var(--card-surface); height: 48px; width: 88px; border: 1px solid #0007; box-shadow: 3px 3px #0002; padding: 3px; }
  .mini-window::before { content: ''; height: 7px; display: block; background: var(--card-title); margin-bottom: 6px; }
  .mini-window::after { content: ''; display: block; width: 55%; height: 19px; border-top: 2px solid #0002; border-bottom: 5px solid #0002; margin-left: 5px; }
  .collection-card-text { padding: 11px; }
  .collection-card-text strong { font-size: 12px; font-weight: 600; display: block; margin-bottom: 4px; }
  .collection-card-text span { font: 10px 'Courier New',monospace; color: #9199a1; }
  .tour-list { padding-left: 22px; color: #747d85; font-size: 14px; line-height: 1.8; }
  .tour-list li { margin-bottom: 15px; padding-left: 7px; }
  .source-note { font: 11px/1.8 Arial,sans-serif; color: #969c93; margin-top: 24px; }
}

@layer responsive {
  @media(min-width:1550px) { .beta { display: block; } main { padding: 44px 55px 0; } .stage { height: 550px; } .os-window { top: 105px; } }
  @media(max-width:1200px) { .site-header { padding: 0 22px; gap: 24px; } .header-nav { gap: 20px; } .app-layout { grid-template-columns: 220px minmax(0,1fr); } main { padding: 31px 26px 0; } .sidebar-intro { padding-left: 18px; padding-right: 18px; } .welcome-content { grid-template-columns: 145px 1fr; gap: 17px; } .welcome-main h3 { font-size: 18px; } .os-window { width: min(550px,calc(100% - 115px)); } .window-body { padding: 20px 17px 13px; } .guide-link { font-size: 10px; } .mobile-desktop { grid-template-columns: 1fr 263px; gap: 22px; padding: 24px; } .mobile-side-note { display: none; } .mobile-aside h3 { font-size: 23px; } footer > span:last-child { max-width: 240px; text-align: right; } .component-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
  @media(max-width:1000px) { .source-link { display: none; } .app-layout { grid-template-columns: 200px minmax(0,1fr); } .system-option { gap: 9px; padding-left: 7px; padding-right: 7px; } .system-option .system-text { font-size: 12px; } .system-date { display: none; } .sidebar-intro { padding-left: 15px; padding-right: 15px; } .sidebar-intro .eyebrow { font-size: 10px; letter-spacing: .7px; } .library-total { font-size: 10px; } main { padding: 28px 23px 0; } .intro-copy { max-width: 350px; font-size: 12px; } .page-intro { align-items: flex-end; } .shuffle-button { font-size: 11px; padding: 9px; gap: 6px; margin-bottom: 4px; } h1 { font-size: 29px; } .guide-link { max-width: 100px; line-height: 1.6; } .stage { height: 495px; } .desktop-icons { left: 8px; top: 22px; gap: 20px; } .desktop-icon { width: 70px; font-size: 10px; } .desktop-icon .pixel-icon { width: 31px; height: 31px; } .os-window { width: calc(100% - 102px); transform: none; left: 87px; top: 68px; } .welcome-content { grid-template-columns: 1fr; gap: 15px; } .welcome-illustration { display: none; } .window-body { padding: 19px; } .welcome-main h3 { font-size: 21px; } .welcome-action { padding: 9px 0; } .welcome-main > p { font-size: 11px; } .welcome-footer { font-size: 9px; } .welcome-footer .os-button { min-width: 70px; padding: 6px 10px; } .theme-macintosh .os-window,.theme-aqua .os-window { transform: none; left: 15px; width: calc(100% - 100px); } .theme-next .os-window { left: 85px; width: calc(100% - 180px); } .theme-next .window-body { padding: 15px; } .view-tabs { gap: 19px; } .view-tabs button { font-size: 11px; } .recreation-label { display: none; } .under-muted { display: none; } .details-strip { gap: 16px; } .details-strip > div { gap: 8px; } .details-strip h3 { font-size: 10px; } .details-strip p { font-size: 9px; } .detail-icon svg { width: 17px; } .details-strip br { display: none; } .theme-macintosh .desktop-icons,.theme-aqua .desktop-icons,.theme-gem .desktop-icons { right: 8px; } .mobile-desktop { display: flex; justify-content: center; } .mobile-aside { display: none; } .task-button { min-width: 90px; max-width: 140px; font-size: 10px; } .monitor-bottom { font-size: 9px; } .theme-colors i { width: 8px; height: 8px; } }
  @media(max-width:760px) { .site-header { height: 70px; padding: 0 18px; gap: 15px; } .brand-mark { width: 29px; } .brand-mark svg { width: 29px; height: 29px; } .brand { gap: 9px; } .brand-name { font-size: 17px; } .brand-name > span { font-size: 10px; letter-spacing: 1.2px; margin-top: 4px; } .header-nav { gap: 20px; margin-left: auto; } .nav-link { font-size: 12px; } .nav-link:first-child { display: none; } .count { display: none; } .mobile-menu { display: inline-grid; } .app-layout { display: block; } .sidebar { position: fixed; top: 70px; left: 0; bottom: 0; height: calc(100dvh - 70px); width: 248px; z-index: 35; transform: translateX(-100%); transition: transform .2s; box-shadow: 15px 0 50px #0002; visibility: hidden; } body.sidebar-open .sidebar { transform: translateX(0); visibility: visible; } .system-option .system-text { font-size: 14px; } .system-date { display: block; } .system-option { padding: 12px; gap: 12px; } main { padding: 30px 22px 0; } .page-intro { margin-bottom: 30px; } .page-intro .eyebrow { font-size: 9px; letter-spacing: 1px; } h1 { font-size: 31px; letter-spacing: -1.3px; } .intro-copy { font-size: 12px; max-width: 340px; } .system-heading { margin-bottom: 22px; } .system-name-line h2 { font-size: 23px; } .guide-link { font-size: 10px; max-width: 120px; } .stage { height: 480px; } .os-window { width: min(520px,calc(100% - 105px)); left: 90px; top: 65px; } .welcome-content { grid-template-columns: 135px 1fr; gap: 17px; } .welcome-illustration { display: flex; } .welcome-main h3 { font-size: 18px; } .window-body { padding: 17px; } .welcome-main > p { font-size: 10px; } .welcome-action small { font-size: 9px; } .welcome-action strong { font-size: 11px; } .welcome-action { padding: 7px 0; } .monitor-bottom { font-size: 9px; } .under-stage { margin-bottom: 24px; } .details-strip { padding: 21px 0; } footer { font-size: 8px; } .fieldnote-layout { grid-template-columns: minmax(0,1fr) 160px; } .fieldnote-top { padding: 24px 26px 0; } .markdown-body { padding: 26px; font-size: 14px; } .fieldnote-aside { padding: 28px 17px; } .fieldnote-bottom { padding: 16px 26px; } }
  @media(max-width:560px) { .header-nav { gap: 15px; } .nav-link { font-size: 11px; } .nav-link[data-action=about] { display: none; } main { padding: 25px 15px 0; } .page-intro { gap: 12px; align-items: flex-start; margin-bottom: 27px; } h1 { font-size: 27px; letter-spacing: -1.1px; line-height: 1.2; max-width: 255px; } .intro-copy { max-width: 240px; font-size: 11px; line-height: 1.7; } .page-intro .eyebrow { font-size: 8px; letter-spacing: .8px; } .tiny-pixel { width: 5px; height: 5px; } .shuffle-button { font-size: 0; width: 34px; height: 34px; padding: 8px; margin-top: 32px; justify-content: center; } .shuffle-button svg { width: 17px; height: 17px; } .selected-icon { width: 43px; height: 43px; border-radius: 8px; } .selected-icon svg { width: 27px; height: 27px; } .selected-system { gap: 11px; } .system-name-line { gap: 8px; } .system-name-line h2 { font-size: 21px; } .year-badge { font-size: 10px; padding: 3px 5px; } #system-subtitle { font-size: 10px; max-width: 225px; line-height: 1.6; } .guide-link { font-size: 0; max-width: 20px; flex-shrink: 0; } .guide-link svg { width: 17px; height: 17px; } .playground-toolbar { margin-bottom: 12px; } .view-tabs { gap: 18px; } .view-tabs button { font-size: 11px; padding-bottom: 13px; } .stage-tools { gap: 0; } .icon-button { width: 25px; height: 25px; } .fullscreen-button { display: none; } .tab-count { display: none; } .monitor-bar { padding: 0 9px; height: 29px; font-size: 8px; } .monitor-bar > span:first-child { font-size: 8px; } .stage { height: 470px; } .desktop-icons { left: 6px; top: 17px; gap: 18px; } .desktop-icon { width: 65px; font-size: 9px; } .desktop-icon .pixel-icon { width: 28px; height: 28px; } .os-window { left: 75px; width: calc(100% - 85px); top: 61px; } .window-body { padding: 18px 15px 12px; } .title-bar { height: 26px; font-size: 10px; } .window-title .pixel-icon { display: none; } .window-controls { gap: 2px; } .window-controls button { width: 16px; height: 16px; font-size: 12px; line-height: 14px; } .welcome-content { grid-template-columns: 1fr; gap: 0; min-height: 0; } .welcome-illustration { display: none; } .welcome-main h3 { font-size: 20px; letter-spacing: -.7px; margin-bottom: 10px; } .welcome-main > p { font-size: 10px; margin-bottom: 13px; } .welcome-action { padding: 9px 0; gap: 9px; } .welcome-action strong { font-size: 11px; } .welcome-action small { font-size: 9px; } .welcome-action .pixel-icon { width: 24px; height: 24px; } .welcome-footer { align-items: center; margin-top: 17px; padding-top: 12px; } .welcome-footer .os-check { display: none; } .welcome-footer .os-button { margin-left: auto; padding: 6px 10px; } .desktop-watermark { font-size: 33px; bottom: 61px; right: 14px; } .taskbar { height: 34px; } .task-button { min-width: 0; max-width: 125px; padding: 3px 7px; font-size: 9px; } .task-clock { padding: 4px 7px; font-size: 9px; gap: 5px; } .start-button { min-width: 61px; font-size: 11px; padding: 2px 6px; } .task-divider { margin: 2px -2px; } .monitor-bottom { padding: 9px; font-size: 8px; line-height: 1.6; min-height: 39px; } #interaction-hint { max-width: 225px; } .theme-colors { gap: 3px; } .theme-colors i { width: 7px; height: 7px; } .under-stage p { font-size: 9px; } .keyboard-icon { display: none; } .text-button { font-size: 9px; gap: 4px; } .details-strip { grid-template-columns: 1fr; gap: 18px; padding: 24px 8px; } .details-strip > div { gap: 16px; } .details-strip h3 { font-size: 12px; margin-bottom: 4px; } .details-strip p { font-size: 11px; } .detail-icon svg { width: 20px; height: 20px; } footer { flex-direction: column; text-align: center; gap: 7px; padding: 18px 5px; font-size: 9px; } footer > span:last-child { max-width: none; text-align: center; font-size: 8px; } .desktop-menubar > button { padding: 0 7px; font-size: 10px; } .desktop-menubar time { font-size: 9px; } .theme-macintosh .desktop-icons,.theme-aqua .desktop-icons,.theme-gem .desktop-icons { right: 4px; } .theme-macintosh .os-window,.theme-aqua .os-window { left: 9px; width: calc(100% - 82px); top: 73px; } .theme-next .os-window { left: 73px; width: calc(100% - 82px); top: 130px; } .theme-next .taskbar { top: 9px; right: 10px; width: auto; height: 64px; flex-direction: row; } .theme-next .task-button { min-width: 45px; font-size: 8px; } .theme-next .start-button { width: 50px; min-height: 45px; } .theme-next .welcome-main h3 { font-size: 19px; } .theme-cde .taskbar { left: 4px; right: 4px; height: 38px; } .component-view { padding: 15px; } .component-grid { gap: 12px; grid-template-columns: 1fr; } .component-card { min-height: 0; padding: 17px; } .component-card h3 { margin-bottom: 14px; } .component-card .control-row { gap: 11px; } .component-card .os-button { min-width: 79px; } .mobile-desktop { padding: 15px; } .mobile-desktop .device { transform: scale(.98); } .notes-view { padding: 17px; } .inline-notes { padding: 21px; } .inline-notes h3 { font-size: 25px; } .inline-notes p { font-size: 12px; } .design-dna { grid-template-columns: 1fr; gap: 15px; } .design-dna > div { padding-top: 9px; } .design-dna strong { margin-bottom: 4px; } .fieldnote-layout { grid-template-columns: 1fr; } .fieldnote-aside { display: none; } .fieldnote-top { padding: 24px 22px 0; } .fieldnote-heading { gap: 12px; margin: 20px 0; } .fieldnote-heading h2 { font-size: 28px; } .fieldnote-icon { width: 49px; height: 49px; } .fieldnote-tabs { gap: 22px; } .fieldnote-tabs button { font-size: 11px; } .markdown-body { padding: 25px 22px; font-size: 15px; line-height: 1.85; } .fieldnote-bottom { padding: 15px 22px; font-size: 9px; gap: 12px; } .fieldnote-bottom > span { max-width: 170px; } .fieldnote-bottom button { font-size: 10px; white-space: nowrap; } .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .collection-content { padding: 28px 20px; } .collection-content h2 { font-size: 28px; } .about-content { padding: 32px 24px; } .about-content h2 { font-size: 30px; } .about-content p { font-size: 13px; } .dialog-close { width: 28px; height: 28px; top: 11px; right: 11px; } .os-window.secondary-window { left: 9px !important; width: calc(100% - 18px) !important; transform: none !important; top: 100px !important; } }
  @media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
}
