/* UtilgruX site exhibits (2026-11-07): a MacBook drawn to scale, the notch island in real points, and the demos.
   Inside .desk every px is a macOS point; island.js scales the whole screen at once. Colors inside the island are the
   app's own (NotchTheme: accent #0A85FF, secondary 52 % white, pill 7 % white, card 3.5 % white, track 12 % white).
   Light graphics: no backdrop blur, glows only while an activity asks for one, animations stop when off screen. */

.sf { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", system-ui, sans-serif; }

/* ── MacBook (sizes in container units, so the frame scales with the page) ─────────────────────────────────────── */
.macbook { container-type: inline-size; width: min(1060px, 100%); margin: 0 auto; position: relative; }
.macbook .lid { position: relative; padding: 1.25cqw 1.25cqw 1.6cqw; border-radius: 2.6cqw 2.6cqw .9cqw .9cqw; background: #0b0b0d;
  box-shadow: 0 0 0 .14cqw #3a3b40, 0 0 0 .3cqw #1a1b1e, 0 4cqw 9cqw -2cqw rgba(0, 0, 0, .7), 0 3cqw 12cqw -3cqw color-mix(in srgb, var(--g3) 30%, transparent); }
.macbook .lid::after { content: ""; position: absolute; left: 50%; bottom: .45cqw; width: 6cqw; height: .5cqw; transform: translateX(-50%);
  border-radius: 1cqw; background: linear-gradient(#1c1d20, #121214); opacity: .7; }
.macbook [data-screen] { border-radius: 1.15cqw 1.15cqw .2cqw .2cqw; }
.macbook .base { position: relative; height: 1.9cqw; margin: 0 -7.5cqw; border-radius: 0 0 2.4cqw 2.4cqw / 0 0 1.5cqw 1.5cqw;
  background: linear-gradient(180deg, #d9dbe0 0%, #b9bcc3 38%, #8f939b 72%, #5d6168 100%); box-shadow: 0 2.6cqw 4cqw -1.4cqw rgba(0, 0, 0, .75); }
.macbook .base::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .35cqw; background: linear-gradient(#f2f3f5, #a7aab1); border-radius: .2cqw; }
.macbook .base i { position: absolute; left: 50%; top: 0; width: 14cqw; height: .85cqw; transform: translateX(-50%); border-radius: 0 0 1.2cqw 1.2cqw;
  background: linear-gradient(#7e828a, #a7aab1); }
.macbook.midnight .lid { background: #08080a; }
.macbook.midnight .base { background: linear-gradient(180deg, #3b3f4a 0%, #2b2f38 45%, #1d2027 100%); }
.macbook.midnight .base::before { background: linear-gradient(#4c515d, #2a2e36); }
.macbook.midnight .base i { background: linear-gradient(#20232a, #2d3139); }

/* A slice of the lid around the notch (the stage demo): bezel on top, fading out below. */
.lid-crop { position: relative; border-radius: 22px 22px 0 0; padding: 12px 12px 0; background: #0b0b0d;
  box-shadow: 0 0 0 1.5px #34353a, 0 0 0 3px #17181b, 0 40px 90px -40px color-mix(in srgb, var(--g3) 50%, transparent);
  -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent); }
.lid-crop [data-screen] { border-radius: 10px 10px 0 0; }

/* ── The screen in points ─────────────────────────────────────────────────────────────────────────────────────── */
[data-screen] { position: relative; aspect-ratio: var(--ar, 1470 / 956); overflow: hidden; background: #000; isolation: isolate; }
.desk { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; color: #fff; font-size: 13px; line-height: 1.25;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none;
  /* Desktop picture: a soft, macOS-style color field in the page's theme colors (no lettering, no photo). */
  background:
    radial-gradient(60% 70% at 18% 105%, color-mix(in srgb, var(--g3) 80%, #000) 0%, transparent 62%),
    radial-gradient(55% 65% at 92% 95%, color-mix(in srgb, var(--g4) 75%, #000) 0%, transparent 60%),
    radial-gradient(70% 55% at 58% 8%, color-mix(in srgb, var(--g1) 45%, #000) 0%, transparent 70%),
    radial-gradient(45% 45% at 40% 55%, color-mix(in srgb, var(--g2) 55%, #000) 0%, transparent 70%),
    linear-gradient(165deg, #090b18 0%, #0e0a1c 55%, #07060d 100%); }
.desk::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-radial-gradient(120% 90% at 30% 120%, transparent 0 46px, rgba(255, 255, 255, .025) 47px 48px, transparent 49px 96px); }
/* The hero Mac shows the theme's wallpaper photo (--wall, set per data-look in ux5.css); the gradient above stays as the fallback. */
[data-screen="hero"] .desk { background: var(--wall) center / cover no-repeat, #07060d; }
[data-screen="hero"] .desk::before { content: none; }
.desk button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.desk .sym { display: block; flex: none; }

/* Menu bar (macOS 26/27: no fill, white type with a soft shadow). 33 pt on notch Macs, 24 pt otherwise. */
.mb { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 14px; background: linear-gradient(rgba(0, 0, 0, .22), rgba(0, 0, 0, 0)); text-shadow: 0 0 5px rgba(0, 0, 0, .35); white-space: nowrap; }
.mb-l, .mb-r { display: flex; align-items: center; height: 100%; }
.mb-l { gap: 21px; }
.mb-l b { font-weight: 700; }
.mb-logo { width: 15px; height: 15px; border-radius: 3.5px; display: block; }
.mb-r { gap: 15px; }
.mb-i { display: flex; align-items: center; color: #fff; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .3)); }
.mb-i .bglyph { transform: scale(.92); }
.mb-clock { font-variant-numeric: tabular-nums; }
.mb-ro { display: flex; align-items: center; gap: 10px; margin-right: 2px; }
.mb-ro .r { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; gap: 1px; }
.mb-ro .r small { font-size: 7.5px; font-weight: 700; letter-spacing: .02em; opacity: .82; }
.mb-ro .r b { font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* The camera housing (always there on notch Macs; the island covers it when idle). */
.hw-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 8; background: #000; }
.hw-notch .lens { position: absolute; left: 50%; top: 12px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #34405e 0, #0b0e17 55%, #050608 100%); box-shadow: 0 0 0 1.5px #0c0d10; }

/* ── The island ───────────────────────────────────────────────────────────────────────────────────────────────── */
.isl { position: absolute; left: 50%; top: 0; z-index: 10; transform: translateX(-50%); cursor: pointer; outline: none; transition: filter .3s; }
.isl.open { cursor: default; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45)); }
.isl:not(.open):hover { filter: drop-shadow(0 0 8px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(0, 0, 0, .4)); }
.isl:focus-visible .isl-body { outline: 2px solid #0A85FF; outline-offset: 2px; }
.isl-body { position: absolute; inset: 0; background: #000; }
.isl-c { position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: #fff; animation: islIn .32s cubic-bezier(.2, .8, .2, 1) both; }
.isl-c.x { animation-duration: .38s; animation-delay: .06s; }
@keyframes islIn { from { opacity: 0; transform: translateX(-50%) scale(.96); transform-origin: 50% 0; } }

/* Glow under the island: layered blurs of its own shape (IslandGlow: radii 5 / 13 / 26 × strength). */
.isl-glow { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; pointer-events: none; transform-origin: 50% 0; transform: scale(.55, .4); }
.isl-glow i { position: absolute; inset: 0; }
.isl-glow b { position: absolute; inset: 0; background: var(--glow, #29FF61); }
.isl-glow i:nth-child(1) { filter: blur(9px); }
.isl-glow i:nth-child(2) { filter: blur(22px); opacity: .85; }
.isl-glow i:nth-child(3) { filter: blur(44px); opacity: .55; }
.isl.glow-green .isl-glow { opacity: 1; transform: none; transition: opacity .45s, transform .5s cubic-bezier(.2, .8, .2, 1); }

/* Closed: icon wing · the notch · data wing. */
.isl-c.c { display: flex; align-items: center; }
.isl-c.c .wing { width: var(--wing); height: 100%; display: flex; align-items: center; }
.isl-c.c .wing.l { padding-left: 14px; justify-content: flex-start; }
.isl-c.c .wing.r { padding-right: 14px; justify-content: flex-end; }
.isl-c.c .mid { width: var(--center); flex: none; }
.isl.pill .isl-c.c .wing.l { padding-left: 12px; }
.isl.pill .isl-c.c .wing.r { padding-right: 12px; }
.c-art .art-img { width: 22px; height: 22px; border-radius: 5px; }
.c-chg { display: flex; align-items: center; gap: 5px; color: #29FF61; font-size: 12px; font-weight: 600; filter: drop-shadow(0 0 4px rgba(41, 255, 97, .8)); }
.c-chg b { color: #fff; font-variant-numeric: tabular-nums; filter: none; }
.c-bat { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #29FF61; font-variant-numeric: tabular-nums; }
.c-bat b { text-shadow: 0 0 6px rgba(41, 255, 97, .7); }
.c-tmr { color: #FF9F0A; display: flex; }
.c-tmr.t { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; }
.c-call { display: flex; align-items: center; gap: 6px; color: #30D158; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-call .sym { width: 20px; }
.c-wave { display: flex; align-items: center; gap: 2.5px; height: 19px; }
.c-wave > span { display: grid; grid-template-rows: 9px 9px; row-gap: 1px; }
.c-wave > span i { display: block; width: 3px; height: 1.5px; border-radius: 2px; transition: height .08s ease-out; }
.c-wave > span i:first-child { background: #30D158; align-self: end; }
.c-wave > span i:last-child { background: #64D2FF; align-self: start; }
.c-hud { width: 24px; display: flex; justify-content: center; }
.c-hbar { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 6px; flex: 1; }
.c-hbar .hb { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.c-hbar .hb i { display: block; height: 100%; border-radius: 3px; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .6); transition: width .12s ease-out; }
.c-hbar b { width: 24px; text-align: right; }

/* Music bars: 4 bands, 3 pt wide, 2.55 pt apart, in the accent blue. */
.vbars { display: inline-flex; align-items: center; gap: 2.55px; }
.vbars i { width: 3px; height: 30%; border-radius: 1.5px; background: #0A85FF; animation: vb 1.05s ease-in-out infinite; }
.vbars i:nth-child(2) { animation-duration: .8s; animation-delay: -.35s; }
.vbars i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
.vbars i:nth-child(4) { animation-duration: .9s; animation-delay: -.2s; }
@keyframes vb { 0%, 100% { height: 22%; } 35% { height: 95%; } 60% { height: 45%; } 80% { height: 75%; } }

/* Artwork drawn in CSS: dusk sky, sun, road. */
.art-img { position: relative; display: block; overflow: hidden;
  background: linear-gradient(180deg, #1b1446 0%, #5b2a86 38%, #e0517c 62%, #ffb267 74%, #1a1030 74.5%, #0d0820 100%); }
.art-img i { position: absolute; left: 50%; top: 44%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: repeating-linear-gradient(180deg, #ffd27a 0 9%, transparent 9% 13%); }
.art-img b { position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(90deg, transparent 47%, #ff7ab6 47% 53%, transparent 53%), linear-gradient(180deg, #120a26, #2a0f3a);
  clip-path: polygon(0 100%, 42% 0, 58% 0, 100% 100%); }

/* Battery glyph (BatteryGlyph): 25 × 12 outline at 45 % white, 2 × 4 nub, fill 21 pt at 100 %. */
.bglyph { display: inline-flex; align-items: center; gap: 1px; }
.bglyph .bb { position: relative; width: 25px; height: 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 3.5px; }
.bglyph .bb i { position: absolute; left: 1px; top: 1px; height: 8px; border-radius: 1.8px; background: #fff; }
.bglyph .nub { width: 2px; height: 4px; border-radius: 1px; background: rgba(255, 255, 255, .45); }
.bglyph.g .bb i { background: #29FF61; }
.bglyph.g { filter: drop-shadow(0 0 4px rgba(41, 255, 97, .65)); }
.bglyph em { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 0 .6px #000); }
.bglyph.anim .bb i { animation: bfill 1.1s cubic-bezier(.2, .8, .2, 1) .15s both; transform-origin: 0 50%; }
@keyframes bfill { from { transform: scaleX(0); } }

/* Open: top bar, then the page (ExpandedNotch: padding 2 / 30 / 16, spacing 8). */
.isl-c.x { display: flex; flex-direction: column; gap: 8px; padding: 2px 30px 16px; text-align: left; cursor: default; }
.isl-c.x .top { height: var(--toph, 32px); display: flex; align-items: center; gap: 6px; flex: none; }
.isl-c.x .tabs { display: flex; gap: 6px; }
.isl-c.x .tb { width: 40px; height: 24px; border-radius: 12px; display: grid; place-items: center; color: #858585; transition: background .15s, color .15s; }
.isl-c.x .tb.on { background: rgba(255, 255, 255, .07); color: #fff; }
.isl-c.x .tb:hover { color: #fff; }
.isl-c.x .gap { flex: 1; }
.isl-c.x .tr { display: flex; align-items: center; gap: 6px; }
.isl-c.x .ib { width: 26px; height: 24px; display: grid; place-items: center; color: #fff; position: relative; }
.isl-c.x .ib.blue { color: #0A85FF; }
.isl-c.x .ib .new { position: absolute; right: 2px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #30D158; }
.isl-c.x .bbadge { display: flex; align-items: center; gap: 4px; padding-left: 4px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.isl-c.x .pane { flex: 1; min-height: 0; }
.isl-c .sp { flex: 1; }

/* Home: Now Playing + calendar widget (236 pt). */
.p-home { display: flex; gap: 20px; align-items: flex-start; }
.np { flex: 1; min-width: 0; display: flex; gap: 16px; }
.cover { position: relative; width: 112px; height: 112px; flex: none; }
.cover .art-img { width: 112px; height: 112px; border-radius: 14px; }
.cover .appb { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(160deg, #ff5f7e, #c51d4a); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.cover .appb::after { content: "♪"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: #fff; }
.meta { flex: 1; min-width: 0; height: 118px; display: flex; flex-direction: column; gap: 2px; }
.meta .ttl { display: flex; align-items: center; gap: 8px; }
.meta .ttl b { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .sub { font-size: 13px; color: #858585; }
.meta .prog { margin-top: auto; }
.meta .trk { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 3.5px 0; overflow: hidden; }
.meta .trk i { display: block; height: 100%; border-radius: 3px; background: #0A85FF; transition: width 1s linear; }
.meta .times { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: #858585; font-variant-numeric: tabular-nums; }
.meta .ctl { display: flex; justify-content: center; gap: 34px; padding-top: 4px; }
.meta .ctl button { width: 34px; height: 30px; display: grid; place-items: center; }
.cal { width: 236px; flex: none; display: flex; flex-direction: column; gap: 10px; }
.cal-h { display: flex; gap: 8px; align-items: flex-start; }
.cal .my { width: 44px; flex: none; }
.cal .my b { display: block; font-size: 17px; font-weight: 700; }
.cal .my small { font-size: 15px; color: #858585; }
.cal .days { display: flex; gap: 2px; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.cal .day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 3px; border-radius: 8px; flex: none; }
.cal .day small { font-size: 11px; color: #858585; }
.cal .day b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 600; }
.cal .day.sel { background: rgba(255, 255, 255, .07); }
.cal .day.sel small { color: #fff; }
.cal .day b.today { background: #0A85FF; }
.cal .ev { display: flex; align-items: center; gap: 6px; }
.cal .ev i { width: 3px; height: 26px; border-radius: 2px; flex: none; }
.cal .ev b { display: block; font-size: 12px; font-weight: 600; }
.cal .ev small { font-size: 10px; color: #858585; }

/* Shelf */
.p-shelf { display: flex; flex-direction: column; gap: 8px; }
.shelf-bar { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.shelf-bar b { font-weight: 600; }
.shelf-bar button { color: #0A85FF; font-size: 12px; }
.shelf-bar .danger { color: #FF453A; }
.files { display: flex; gap: 8px; }
.file { width: 90px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .035); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.file:first-child { background: rgba(10, 133, 255, .28); box-shadow: inset 0 0 0 1.5px #0A85FF; }
.file small { width: 78px; font-size: 10px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi { position: relative; width: 42px; height: 52px; border-radius: 4px; display: grid; place-items: end center; padding-bottom: 7px;
  font-size: 9px; font-weight: 800; font-style: normal; color: #fff; background: linear-gradient(#f4f4f6, #dcdce2); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.fi.pdf { color: #fff; } .fi.pdf::after, .fi.zip::after, .fi.key::after { content: ""; }
.fi.pdf { background: linear-gradient(#f4f4f6, #dcdce2); }
.fi.pdf, .fi.zip, .fi.key { text-shadow: none; }
.fi.pdf { --tag: #E5383B; } .fi.zip { --tag: #8E8E93; } .fi.key { --tag: #0A84FF; }
.fi.pdf, .fi.zip, .fi.key { background: linear-gradient(transparent 62%, var(--tag) 62% 82%, transparent 82%), linear-gradient(#f4f4f6, #dcdce2); }
.fi.img { width: 52px; height: 40px; margin: 6px 0; border-radius: 4px; clip-path: none; background: linear-gradient(160deg, #6a5cff, #ff6fa8 60%, #ffb36b); box-shadow: inset 0 0 0 2px #fff; }

/* Timer (TimerTab): ring 118, stroke 8, orange; presets 3 × 78 pt. */
.p-timer { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ring { position: relative; width: 118px; height: 118px; flex: none; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 8; }
.ring circle.v { stroke: #FF9F0A; stroke-linecap: round; stroke-dasharray: var(--p, 1) 1; transition: stroke-dasharray 1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; }
.tset { display: flex; flex-direction: column; gap: 10px; }
.tset .grid { display: grid; grid-template-columns: repeat(3, 78px); gap: 8px; }
.tset .grid button { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 600; }
.tset .grid button:hover { background: rgba(255, 255, 255, .12); }
.tset .row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.tset .row button { height: 22px; padding: 0 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: 12px; }

/* Messages (MessagesTab) */
.msg { display: flex; flex-direction: column; gap: 10px; }
.msg .mh { display: flex; gap: 10px; align-items: flex-start; }
.msg .back { width: 14px; height: 38px; display: grid; place-items: center; color: #858585; flex: none; }
.msg .mt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.msg .who { display: flex; align-items: center; gap: 6px; }
.msg .who b { font-size: 13px; font-weight: 600; }
.msg .who small { font-size: 11px; color: #858585; }
.msg .mi { color: #858585; width: 18px; display: grid; place-items: center; }
.msg p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .92); }
.reply-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reply-f .fld { flex: 1; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: flex; align-items: center; padding: 0 8px 0 12px; }
.reply-f input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 13px; }
.reply-f input::placeholder { color: #6b6b70; }
.reply-f .sendb { color: #0A85FF; }
.reply-f .status { flex-basis: 100%; padding-left: 12px; font-size: 11px; color: #858585; }
.reply-f.sent .status { color: #30D158; }

/* Mirror */
.p-mirror { display: flex; gap: 20px; }
.cam { position: relative; width: 236px; height: 132px; border-radius: 14px; overflow: hidden; flex: none;
  background: radial-gradient(60% 70% at 50% 110%, #3a3346 0%, transparent 70%), linear-gradient(160deg, #2b3242, #171a22); }
.cam .face { position: absolute; left: 50%; bottom: -18px; width: 92px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(28px 34px at 50% 34%, #c79b84 0 98%, transparent 100%), radial-gradient(60px 46px at 50% 100%, #2d4a7a 0 98%, transparent 100%); }
.cam .lbl { position: absolute; left: 10px; top: 8px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .45); }
.atest { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.atest b { font-size: 14px; font-weight: 700; }
.atest .meter { display: flex; gap: 3px; align-items: flex-end; height: 26px; }
.atest .meter i { flex: 1; border-radius: 2px; background: #30D158; height: 20%; animation: vb 1s ease-in-out infinite; }
.atest .meter i:nth-child(3n) { animation-duration: .7s; } .atest .meter i:nth-child(4n) { animation-duration: 1.3s; animation-delay: -.4s; }
.atest .meter i:nth-child(n+13) { background: #FFD60A; } .atest .meter i:nth-child(n+16) { background: #FF453A; }
.atest .rec { align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 13px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; }
.atest small { font-size: 11px; color: #858585; }

/* ── Stage controls ───────────────────────────────────────────────────────────────────────────────────────────── */
.stage5 { display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips button { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, background .15s, box-shadow .15s; }
.chips button:hover { color: var(--fg); }
.chips button.on { color: #07070c; background: var(--fg); box-shadow: none; }
.chips.models button.on { color: var(--fg); background: color-mix(in srgb, var(--g2) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g2) 60%, transparent); }
.spec-note { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Hero */
.hero-mac { margin-top: 8px; }
.hero-mac .hint5 { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* Theme swatches (hero strip + themes section) */
.look-strip.themes5 button { width: 30px; height: 30px; border-radius: 50%; overflow: visible; background: conic-gradient(from 210deg, var(--a), var(--b), var(--c), var(--d), var(--a)); }
.look-strip.themes5 button.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 44px; }
.theme-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 18px; text-align: left; color: var(--fg);
  background: #0e0e15; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease5), box-shadow .2s; }
.theme-card:hover { transform: translateY(-3px); }
.theme-card.on { box-shadow: inset 0 0 0 2px var(--a), 0 24px 60px -30px var(--c); }
.theme-card .pv { position: relative; height: 118px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(70% 90% at 15% 110%, color-mix(in srgb, var(--c) 75%, #000), transparent 65%), radial-gradient(60% 80% at 95% 100%, color-mix(in srgb, var(--d) 70%, #000), transparent 60%), radial-gradient(60% 60% at 60% 0%, color-mix(in srgb, var(--a) 40%, #000), transparent 70%), #0a0b16; }
.theme-card .pv .mini-isl { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 46%; height: 16px; border-radius: 0 0 8px 8px; background: #000;
  display: flex; align-items: center; justify-content: space-between; padding: 0 7px; }
.theme-card .pv .mini-isl i { width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--a), var(--d)); }
.theme-card .pv .mini-isl b { display: flex; gap: 1.5px; align-items: center; }
.theme-card .pv .mini-isl b s { width: 2px; height: 7px; border-radius: 1px; background: var(--b); text-decoration: none; }
.theme-card .pv .mini-isl b s:nth-child(2) { height: 4px; } .theme-card .pv .mini-isl b s:nth-child(3) { height: 8px; }
.theme-card .pv .panel { position: absolute; left: 12%; right: 12%; bottom: 12px; height: 58px; border-radius: 10px; background: rgba(10, 10, 16, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); padding: 8px 10px; }
.theme-card .pv .panel svg { width: 100%; height: 100%; display: block; }
.theme-card .nm { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.theme-card .nm b { font-size: 15px; }
.theme-card .nm small { display: block; font-size: 12px; color: var(--muted); }
.theme-card .dots { display: flex; gap: 4px; }
.theme-card .dots i { width: 14px; height: 14px; border-radius: 50%; }

/* ── Window thumbnails, Dock, Finder, player, tools ──────────────────────────────────────────────────────────── */
.mw { position: relative; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #1e1e22; color: #e8e8ed;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .16), 0 18px 40px -12px rgba(0, 0, 0, .7); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif; }
.mw .tb { height: 28px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #2a2a2f; border-bottom: 1px solid rgba(0, 0, 0, .5); font-size: 12px; font-weight: 600; color: #c7c7cc; }
.mw .lights { display: flex; gap: 7px; }
.mw .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.mw .lights i:nth-child(2) { background: #febc2e; } .mw .lights i:nth-child(3) { background: #28c840; }
.mw.inactive .lights i { background: #4a4a50; }
.mw .tt { flex: 1; text-align: center; margin-right: 52px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw .bd { flex: 1; min-height: 0; position: relative; }

/* Mini app contents (generic apps, drawn in CSS) */
.app-web .bd { background: #f5f5f7; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.app-web .url { height: 14px; border-radius: 7px; background: #e1e1e6; width: 60%; margin: 0 auto 4px; }
.app-web .hero { height: 38%; border-radius: 6px; background: linear-gradient(120deg, #0b0b18, #2a1650 55%, #c0397e); }
.app-web .ln { height: 6px; border-radius: 3px; background: #d4d4da; } .app-web .ln.s { width: 70%; }
.app-mail .bd { display: grid; grid-template-columns: 38% 1fr; background: #1c1c1f; }
.app-mail .list { border-right: 1px solid #2c2c31; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.app-mail .list i { height: 22px; border-radius: 4px; background: #26262b; } .app-mail .list i:first-child { background: #0A84FF; }
.app-mail .read { padding: 10px; display: flex; flex-direction: column; gap: 5px; } .app-mail .read i { height: 5px; border-radius: 3px; background: #3a3a40; } .app-mail .read i:first-child { width: 55%; height: 8px; background: #8e8e93; }
.app-notes .bd { background: #1f1d18; padding: 10px; display: flex; flex-direction: column; gap: 6px; } .app-notes .bd i { height: 5px; border-radius: 3px; background: #4b463a; } .app-notes .bd i:first-child { width: 50%; height: 9px; background: #e3c34d; }
.app-music .bd { display: flex; gap: 10px; padding: 10px; background: linear-gradient(160deg, #2a1220, #121214); } .app-music .bd .art-img { width: 42%; aspect-ratio: 1; height: auto; border-radius: 6px; }
.app-music .bd div { flex: 1; display: flex; flex-direction: column; gap: 5px; padding-top: 4px; } .app-music .bd div i { height: 5px; border-radius: 3px; background: #4a3540; } .app-music .bd div i:first-child { height: 8px; background: #ff4f7a; width: 70%; }
.app-photos .bd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 2px; background: #111; }
.app-photos .bd i { aspect-ratio: 1; background: linear-gradient(140deg, var(--p1), var(--p2)); }
.app-term .bd { background: #0d0d10; padding: 8px 10px; font: 10px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: #c7f3c7; white-space: pre; overflow: hidden; }
.app-ux .bd { display: grid; grid-template-columns: 30% 1fr; background: #141419; } .app-ux .side { background: #19191f; border-right: 1px solid #26262d; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.app-ux .side i { height: 7px; border-radius: 3px; background: #2e2e37; } .app-ux .side i:nth-child(2) { background: linear-gradient(90deg, var(--g2), var(--g4)); }
.app-ux .main { padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .app-ux .main i { border-radius: 6px; background: #1f1f27; box-shadow: inset 0 0 0 1px #2b2b35; }
.app-files .bd { display: grid; grid-template-columns: 28% 1fr; background: #1e1e22; } .app-files .side { background: #232328; padding: 8px; display: flex; flex-direction: column; gap: 5px; } .app-files .side i { height: 6px; border-radius: 3px; background: #3a3a40; }
.app-files .grid { padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .app-files .grid i { aspect-ratio: 1.25; border-radius: 3px; background: linear-gradient(#6cb7ff, #3d8ef0); clip-path: polygon(0 12%, 38% 12%, 46% 0, 100% 0, 100% 100%, 0 100%); }

/* App icons (generic, not real app icons): squircle tiles with a glyph. */
.aico { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 22.5%; color: #fff;
  background: linear-gradient(160deg, var(--i1), var(--i2)); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .35); overflow: hidden; }
.aico svg { width: 58%; height: 58%; }
.aico img { width: 100%; height: 100%; display: block; }

/* ⌥Tab switcher (fixed overlay) */
.switcher { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .12s; }
.switcher.show { opacity: 1; pointer-events: auto; }
.switcher .sw-panel { display: flex; gap: 14px; padding: 18px; border-radius: 22px; max-width: calc(100vw - 32px); overflow-x: auto;
  background: rgba(30, 30, 34, .94); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 30px 80px rgba(0, 0, 0, .6); }
.switcher .sw-it { width: 200px; flex: none; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 14px; }
.switcher .sw-it .mw { height: 128px; }
.switcher .sw-it .cap { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #e5e5ea; white-space: nowrap; overflow: hidden; }
.switcher .sw-it .cap .aico { width: 18px; flex: none; border-radius: 5px; }
.switcher .sw-it .cap span { overflow: hidden; text-overflow: ellipsis; }
.switcher .sw-it.sel { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px var(--g2); }

/* Dock (macOS style, generic icons, UtilgruX preview above) */
.dock-stage5 { position: relative; padding: 300px 0 8px; border-radius: 18px; overflow: hidden; margin-top: 18px;
  background: radial-gradient(70% 90% at 20% 120%, color-mix(in srgb, var(--g3) 55%, #000), transparent 65%), radial-gradient(60% 80% at 90% 110%, color-mix(in srgb, var(--g4) 45%, #000), transparent 60%), #0a0b16;
  box-shadow: inset 0 0 0 1px var(--line); }
.dock-stage5 h3 { position: absolute; left: 0; right: 0; top: 16px; margin: 0; text-align: center; font-size: 15px; }
.dock5 { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 63px; box-sizing: border-box; width: max-content; max-width: calc(100% - 20px); margin: 0 auto; padding: 5px 6px 6px; border-radius: 20px;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 30px rgba(0, 0, 0, .35); }
.dock5 button { position: relative; width: 52px; flex: none; padding: 0; transition: width .12s ease-out; }
.dock5 button::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.dock5 .sep { width: 1px; align-self: stretch; margin: 6px 4px; background: rgba(255, 255, 255, .3); }
.dprev { position: absolute; bottom: 92px; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; transform: translateX(-50%);
  background: rgba(28, 28, 32, .96); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), 0 20px 50px rgba(0, 0, 0, .55); transition: left .18s ease-out, opacity .15s; color: #fff; }
.dprev .dh { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; padding: 0 4px; min-height: 26px; }
.dprev .dh .aico { width: 26px; border-radius: 6px; }
.dprev .dh .sp { flex: 1; min-width: 20px; }
.dprev .dh button { font-size: 11px; color: #d1d1d6; visibility: hidden; }
.dprev .dh:hover button, .dprev .dh button:focus-visible { visibility: visible; }
.dprev .ws { display: flex; gap: 12px; }
.dprev .w { width: 214px; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 20px; background: rgba(128, 128, 128, .18); transition: transform .12s ease-out, background .12s; }
.dprev .w:hover { background: rgba(128, 128, 128, .3); transform: scale(1.02); }
.dprev .w .mw { height: 112px; }
.dprev .wbar { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.dprev .wl { display: flex; gap: 7px; padding: 6px 9px; border-radius: 99px; background: rgba(0, 0, 0, .25); flex: none; }
.dprev .wl i { width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; }
.dprev .wl i.c { background: linear-gradient(#ff7a73, #ff5e57); } .dprev .wl i.m { background: linear-gradient(#ffc84a, #ffbd2e); } .dprev .wl i.f { background: linear-gradient(#3fd65a, #29c940); }
.dprev .wl svg { width: 7px; height: 7px; fill: rgba(0, 0, 0, .6); stroke: rgba(0, 0, 0, .6); stroke-width: 1.4; stroke-linecap: round; }
.dprev .wl i.f svg { stroke: none; }
.dprev .wt { margin-left: auto; min-width: 0; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .25); font-size: 12px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Finder + Quick Look for folders */
.ql-stage { position: relative; height: 380px; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  background: radial-gradient(70% 90% at 80% 120%, color-mix(in srgb, var(--g3) 45%, #000), transparent 65%), #0b0c16; }
.ql-stage .finder { position: absolute; left: 3%; top: 26px; width: 54%; height: 300px; }
.finder .bd { display: grid; grid-template-columns: 150px 1fr; background: #1e1e22; }
.finder .side { background: #26262b; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #d1d1d6; }
.finder .side small { font-size: 10.5px; font-weight: 700; color: #7c7c84; margin: 6px 6px 2px; }
.finder .side span { display: flex; align-items: center; gap: 7px; padding: 3px 6px; border-radius: 5px; }
.finder .side span.on { background: rgba(255, 255, 255, .1); }
.finder .side span i { width: 13px; height: 10px; border-radius: 2px; background: #3d8ef0; }
.finder .items { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; align-content: start; }
.finder .it { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; color: #e5e5ea; padding: 6px 2px; border-radius: 6px; cursor: pointer; }
.finder .it .fold { width: 56px; height: 44px; background: linear-gradient(#78c0ff, #3d8ef0); clip-path: polygon(0 14%, 36% 14%, 44% 0, 100% 0, 100% 100%, 0 100%); border-radius: 3px; }
.finder .it .doc { width: 38px; height: 46px; border-radius: 3px; background: linear-gradient(#fafafa, #dedee4); clip-path: polygon(0 0, 70% 0, 100% 24%, 100% 100%, 0 100%); }
.finder .it.sel b { background: #0A84FF; color: #fff; border-radius: 4px; padding: 0 4px; }
.finder .it.sel .fold { filter: brightness(.85); outline: 2px solid rgba(255, 255, 255, .2); }
.finder .it b { font-weight: 500; }
.qlook { position: absolute; right: 3%; top: 40px; width: 41%; height: 290px; opacity: 0; transform: scale(.94); transform-origin: 20% 40%; transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.qlook.show { opacity: 1; transform: none; }
.qlook .mw { height: 100%; background: rgba(36, 36, 40, .98); }
.qlook .qh { padding: 12px 14px 8px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #333; }
.qlook .qh .fold { width: 30px; height: 24px; background: linear-gradient(#78c0ff, #3d8ef0); clip-path: polygon(0 14%, 36% 14%, 44% 0, 100% 0, 100% 100%, 0 100%); border-radius: 2px; }
.qlook .qh b { display: block; font-size: 13px; } .qlook .qh small { font-size: 11px; color: #8e8e93; }
.qlook .ql-grid { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qlook .ql-grid span { display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: #c7c7cc; overflow: hidden; }
.qlook .ql-grid span i { aspect-ratio: 4 / 3; border-radius: 5px; background: linear-gradient(140deg, var(--p1), var(--p2)); }
.qlook .ql-grid span i { position: relative; overflow: hidden; }
.qlook .ql-grid span i::before { content: ""; position: absolute; left: 62%; top: 22%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .75); }
.qlook .ql-grid span i::after { content: ""; position: absolute; inset: 45% 0 0; background: rgba(0, 0, 0, .35); clip-path: polygon(0 100%, 0 55%, 22% 20%, 40% 60%, 62% 5%, 84% 50%, 100% 30%, 100% 100%); }
.qlook .ql-grid span em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.space-key { position: absolute; left: 4%; bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.space-key kbd { min-width: 96px; height: 26px; display: grid; place-items: center; border-radius: 6px; font: 600 11px -apple-system, system-ui, sans-serif; color: #e5e5ea;
  background: linear-gradient(#3a3a40, #2a2a2f); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .4), 0 0 0 .5px rgba(255, 255, 255, .2); transition: transform .08s; }
.space-key kbd.down { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .4), 0 0 0 .5px rgba(255, 255, 255, .2); }

/* Player window */
.player5 { max-width: 760px; margin: 0 auto; }
.player5 .mw { background: #000; }
.player5 .scene { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: zoom-in; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(180deg, #0d1b3a 0%, #3b2a6b 34%, #d96a7c 58%, #ffb27a 66%, #2a1d3a 66.3%, #120d1f 100%); }
.player5.zoomed .scene { cursor: zoom-out; }
.player5 .scene .zoomer { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.player5.zoomed .scene .zoomer { transform: scale(1.8) translate(6%, 4%); }
.player5 .sun { position: absolute; left: 58%; top: 40%; width: 15%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: repeating-linear-gradient(180deg, #ffe08a 0 10%, transparent 10% 14%); filter: drop-shadow(0 0 30px rgba(255, 190, 120, .6)); }
.player5 .hills { position: absolute; left: -5%; right: -5%; bottom: 30%; height: 22%; background: #1b1430;
  clip-path: polygon(0 100%, 0 60%, 12% 30%, 22% 55%, 34% 20%, 46% 52%, 58% 26%, 70% 58%, 82% 30%, 92% 50%, 100% 36%, 100% 100%); }
.player5 .sea { position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: repeating-linear-gradient(180deg, rgba(255, 178, 122, .18) 0 2px, transparent 2px 9px), linear-gradient(#2a1d3a, #0d0a18); animation: sea 6s linear infinite paused; }
.player5.playing .sea { animation-play-state: running; }
@keyframes sea { to { background-position: 0 90px, 0 0; } }
.player5 .badge { position: absolute; left: 12px; top: 10px; font: 700 10px -apple-system, system-ui, sans-serif; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .55); color: #fff; }
.player5 .hud { position: absolute; left: 50%; bottom: 14px; width: min(560px, 88%); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 9px 14px;
  border-radius: 14px; background: rgba(24, 24, 28, .86); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18); color: #fff; font: 12px -apple-system, system-ui, sans-serif; }
.player5 .hud button { color: #fff; display: grid; place-items: center; width: 26px; height: 26px; }
.player5 .hud .t { font-variant-numeric: tabular-nums; color: #d1d1d6; min-width: 34px; text-align: center; }
.player5 .hud .scrub { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); cursor: pointer; position: relative; }
.player5 .hud .scrub i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #fff; }
.player5 .hud .chip { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); color: #d1d1d6; }

/* Tools: Pick Color loupe, Capture Text, Isolate */
.tools5 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.tools5 .b { position: relative; padding: 16px; border-radius: 18px; background: #0e0e15; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tools5 .b h4 { margin: 12px 0 4px; font-size: 15px; } .tools5 .b p { margin: 0; font-size: 13px; color: var(--muted); }
.tools5 .wide { grid-column: 1 / -1; }
.pick5 { position: relative; height: 210px; border-radius: 12px; cursor: crosshair; overflow: hidden;
  background: linear-gradient(transparent, #000), linear-gradient(90deg, #ff0040, #ff8a00, #ffe600, #22e36b, #00c2ff, #6a5cff, #d946ef, #ff0040); }
.pick5 .loupe { position: absolute; width: 112px; height: 112px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; overflow: hidden;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .5); display: grid; grid-template-columns: repeat(9, 1fr); }
.pick5 .loupe i { box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.pick5 .loupe i.c { box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px #000; z-index: 1; }
.pick5 .val { position: absolute; pointer-events: none; transform: translate(-50%, 70px); padding: 5px 9px; border-radius: 8px; background: rgba(20, 20, 24, .92); color: #fff;
  font: 600 11px ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2); }
.pick5-out { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font: 600 11.5px ui-monospace, "SF Mono", Menlo, monospace; }
.pick5-out span { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.pick5-out span b { color: var(--muted); font-weight: 600; margin-right: 4px; }
.ocr5 { position: relative; height: 210px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1f2a44, #121625); }
.ocr5 .note { position: absolute; left: 12%; top: 16%; width: 62%; padding: 14px 16px; border-radius: 4px; transform: rotate(-3deg); background: #fff7b0; color: #3a3320;
  font: 600 17px "Marker Felt", "Comic Sans MS", "Bradley Hand", cursive; line-height: 1.35; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
.ocr5 .sel { position: absolute; left: 9%; top: 11%; width: 0; height: 0; border: 1.5px solid #0A84FF; background: rgba(10, 132, 255, .12); transition: width .7s cubic-bezier(.2, .8, .2, 1), height .7s cubic-bezier(.2, .8, .2, 1); }
.ocr5.go .sel { width: 70%; height: 62%; }
.ocr5 .toast { position: absolute; right: 10px; bottom: 10px; padding: 7px 11px; border-radius: 10px; background: rgba(20, 20, 24, .92); color: #fff; font: 12px -apple-system, system-ui, sans-serif;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2); opacity: 0; transform: translateY(6px); transition: opacity .25s .7s, transform .25s .7s; }
.ocr5.go .toast { opacity: 1; transform: none; }
.ocr5 .toast b { color: #30D158; }
.iso5 { position: relative; height: 230px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(70% 90% at 20% 120%, color-mix(in srgb, var(--g3) 55%, #000), transparent 65%), #0b0c16; }
.iso5 .mw { position: absolute; transition: filter .3s, opacity .3s, transform .3s; }
.iso5 .w1 { left: 5%; top: 12%; width: 38%; height: 62%; }
.iso5 .w2 { left: 31%; top: 22%; width: 40%; height: 66%; z-index: 2; }
.iso5 .w3 { right: 4%; top: 8%; width: 34%; height: 58%; }
.iso5 .dim { position: absolute; inset: 0; background: rgba(4, 4, 10, .72); opacity: 0; transition: opacity .3s; z-index: 1; pointer-events: none; }
.iso5.on .dim { opacity: 1; }
.iso5.on .w2 { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), 0 0 0 2px color-mix(in srgb, var(--g2) 60%, transparent), 0 24px 60px rgba(0, 0, 0, .7); }

@media (max-width: 760px) {
  .tools5 { grid-template-columns: 1fr; }
  .ql-stage { height: 470px; } .ql-stage .finder { width: 92%; height: 250px; } .qlook { left: 8%; right: auto; width: 84%; top: 190px; height: 240px; }
  .finder .bd { grid-template-columns: 0 1fr; } .finder .side { display: none; } .finder .items { grid-template-columns: repeat(3, 1fr); }
  .dock-stage5 { padding-top: 270px; } .dock5 { height: 49px; } .dock5 button { width: 38px; } .dprev .w { width: 128px; padding: 8px; } .dprev .w .mw { height: 70px; } .dprev .wt { display: none; }
  .switcher .sw-it { width: 150px; } .switcher .sw-it .mw { height: 94px; }
}
@media (prefers-reduced-motion: reduce) {
  .vbars i, .atest .meter i, .player5 .sea { animation: none; }
  .isl-c { animation: none; }
}

/* Hero backdrop: the theme's colors instead of a blurred photo (no image decode, no 22 px blur filter). */
.hero-bg { background: radial-gradient(50% 45% at 50% 62%, color-mix(in srgb, var(--g3) 35%, transparent), transparent 70%),
  radial-gradient(40% 40% at 20% 30%, color-mix(in srgb, var(--g1) 18%, transparent), transparent 70%),
  radial-gradient(40% 40% at 82% 28%, color-mix(in srgb, var(--g4) 18%, transparent), transparent 70%), var(--bg); filter: none; transform: none; }

/* The Dock on the hero desktop (64 pt tiles, as macOS draws them at the default size). */
.desk-dock { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); z-index: 3; display: flex; align-items: flex-end; gap: 5px; padding: 6px 7px 8px;
  border-radius: 24px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), 0 12px 30px rgba(0, 0, 0, .3); }
.desk-dock .dk { position: relative; width: 58px; }
.desk-dock .dk > i { position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, .85); }

/* Menu bar monitor: a real menu bar over the desktop; the panel drops from it, dark like macOS in Dark Mode. */
.monitor-demo.desk5 { max-width: none; margin: 0; padding: 0 0 26px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  background: radial-gradient(70% 90% at 15% 120%, color-mix(in srgb, var(--g3) 60%, #000), transparent 65%), radial-gradient(60% 80% at 92% 110%, color-mix(in srgb, var(--g4) 50%, #000), transparent 60%), radial-gradient(60% 50% at 60% 0%, color-mix(in srgb, var(--g1) 30%, #000), transparent 70%), #0a0b16; }
.mbar5 { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 12px 0 14px; color: #fff; font: 13px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .12)); text-shadow: 0 0 5px rgba(0, 0, 0, .35); white-space: nowrap; }
.mb5-l, .mb5-r { display: flex; align-items: center; gap: 18px; }
.mb5-l img { width: 15px; height: 15px; border-radius: 3.5px; }
.mb5-r { gap: 14px; } .mb5-r svg { display: block; }
.monitor-demo .strip { margin: 0; padding: 0; gap: 2px; background: none; border: 0; box-shadow: none; border-radius: 0; }
.monitor-demo .ro { min-width: 0; padding: 3px 7px; border-radius: 5px; color: #fff; }
.monitor-demo .ro small { font-size: 7.5px; color: rgba(255, 255, 255, .8); letter-spacing: .02em; }
.monitor-demo .ro b { font-size: 11px; font-weight: 600; }
.monitor-demo .ro.grp { gap: 7px; } .monitor-demo .ro.grp > span { min-width: 0; }
.monitor-demo .ro:hover { background: rgba(255, 255, 255, .12); }
.monitor-demo .ro.on { background: rgba(255, 255, 255, .22); color: #fff; }
.monitor-demo .ro.on small { color: rgba(255, 255, 255, .85); }
.monitor-demo .glass-panel { --label: rgba(255, 255, 255, .92); --dim: rgba(235, 235, 245, .55); --track: rgba(255, 255, 255, .12);
  margin: 6px auto 0; border-radius: 14px; background: rgba(34, 34, 38, .97); backdrop-filter: none; -webkit-backdrop-filter: none;
  border: .5px solid rgba(255, 255, 255, .18); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.monitor-demo .themes, .monitor-demo .designs { margin-top: 16px; }
@media (max-width: 760px) { .mb5-l span, .mb5-r svg { display: none; } .mbar5 { overflow-x: auto; } }
