/* Perch — "try it right here": a pretend MacBook (with a notch) and a Studio Display, the ledge, the shelf, eye breaks,
   Homing, Grab Text and finished pings. Loaded only on the Perch page. Also sets the page's accent, which
   mirrors [data-app="perch"] in style.css: keep the two in step. */
body[data-app="perch"] { --a1: #f6a04d; --a2: #d9542f; --b1: #cf6a22; --b2: #bd4426; --ink-l: #a9521a; --ink-d: #f2a54a; }

.pc {
  --ledge: #0a0a0c; --l-ink: #fff; --l-ink2: rgba(255,255,255,.64); --l-ink3: rgba(255,255,255,.4); --l-tile: rgba(255,255,255,.07); --l-tile2: rgba(255,255,255,.13);
  --ember: #f2a54a; --sky: #6db3ea; --leaf: #5cc495; --rose: #ee7b6c;
  --desk: #e9e4dc; --bezel: #111214; --win: #fbfaf8; --win-bar: #ece9e4; --win-ink: #1a1816; --win-mut: #77726b; --win-line: rgba(0,0,0,.1);
  --rnd: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  position: relative; color: var(--win-ink); background: var(--desk); font-family: var(--font); -webkit-user-select: none; user-select: none; outline: none;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc { --desk: #17171b; --win: #232327; --win-bar: #2c2c31; --win-ink: #eeedea; --win-mut: #9d9aa3; --win-line: rgba(255,255,255,.1); } }
:root[data-theme="dark"] .pc { --desk: #17171b; --win: #232327; --win-bar: #2c2c31; --win-ink: #eeedea; --win-mut: #9d9aa3; --win-line: rgba(255,255,255,.1); }
.pc button { font: inherit; color: inherit; }
.pc :focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 6px; }

/* ── The desk: two displays and the controls ── */
.pc-desk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; padding: 22px; align-items: start; }
.pc-screen { position: relative; overflow: hidden; border-radius: 12px; border: 7px solid var(--bezel); background: #f4d9bf; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 14px 30px rgba(0,0,0,.16); }
.pc-mbp { height: 492px; border-bottom-width: 9px; border-radius: 14px 14px 8px 8px; }
.pc-wall { position: absolute; inset: 0; }
.pc-wall svg { width: 100%; height: 100%; display: block; }
.pc-wall .w0 { fill: #f5dcc4; } .pc-wall .w1 { fill: #f9e7d2; } .pc-wall .w2 { fill: #eab8a8; } .pc-wall .w3 { fill: #b5c3e6; } .pc-wall .w4 { fill: #d9a59a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-wall .w0 { fill: #1d1a2c; } :root:not([data-theme="light"]) .pc-wall .w1 { fill: #2c2440; } :root:not([data-theme="light"]) .pc-wall .w2 { fill: #3a2433; } :root:not([data-theme="light"]) .pc-wall .w3 { fill: #2b2c4a; } :root:not([data-theme="light"]) .pc-wall .w4 { fill: #24192a; } }
:root[data-theme="dark"] .pc-wall .w0 { fill: #1d1a2c; } :root[data-theme="dark"] .pc-wall .w1 { fill: #2c2440; } :root[data-theme="dark"] .pc-wall .w2 { fill: #3a2433; } :root[data-theme="dark"] .pc-wall .w3 { fill: #2b2c4a; } :root[data-theme="dark"] .pc-wall .w4 { fill: #24192a; }

.pc-menubar { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 15px; padding: 0 12px; font-size: 12.5px; color: #1d1b19; background: rgba(255,255,255,.34); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-menubar { color: #f2f0ec; background: rgba(20,18,26,.42); } }
:root[data-theme="dark"] .pc-menubar { color: #f2f0ec; background: rgba(20,18,26,.42); }
.pc-menubar b { font-weight: 700; }
.pc-menubar .r { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.pc-menubar svg { width: 15px; height: 15px; display: block; }
.pc-menubar .mic { width: 7px; height: 7px; border-radius: 50%; background: #f29a2e; box-shadow: 0 0 0 2px rgba(242,154,46,.25); }
.pc-menubar .clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-mbp .pc-menubar .l { display: flex; gap: 15px; }
.pc-mbp .pc-menubar .l .gap { width: 190px; }

/* ── The ledge ── */
.pc-ledge {
  --w: 168px; --h: 30px; --r: 10px;
  position: absolute; z-index: 10; left: 50%; top: 0; width: var(--w); height: var(--h); transform: translateX(-50%);
  background: var(--ledge); color: var(--l-ink); border-radius: 0 0 var(--r) var(--r); font-family: var(--rnd);
  transition: width .46s cubic-bezier(.3, 1.3, .5, 1), height .46s cubic-bezier(.3, 1.3, .5, 1), border-radius .3s, box-shadow .3s;
}
.pc-ledge::before, .pc-ledge::after { content: ""; position: absolute; top: 0; width: 9px; height: 9px; pointer-events: none; }
.pc-ledge::before { left: -9px; background: radial-gradient(circle at 0 100%, transparent 8.5px, var(--ledge) 9px); }
.pc-ledge::after { right: -9px; background: radial-gradient(circle at 100% 100%, transparent 8.5px, var(--ledge) 9px); }
.pc-ledge:not([data-mode="resting"]) { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pc-ledge[data-mode="banner"] { --w: 410px; --h: 80px; --r: 18px; }
.pc-ledge[data-mode="open"] { --w: 570px; --h: 206px; --r: 22px; }
.pc-ledge[data-mode="drop"] { --w: 450px; --h: 132px; --r: 22px; }
.pc-in { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; padding: 30px 14px 10px; opacity: 1; transition: opacity .2s .14s; }
.pc-ledge.swap .pc-in { opacity: 0; transition: none; }
.pc-notch { position: absolute; z-index: 11; left: 50%; top: 0; width: 196px; height: 34px; transform: translateX(-50%); border: 0; background: none; cursor: pointer; border-radius: 0 0 12px 12px; }
.pc-notch:focus-visible { outline-offset: -2px; }
.pc-ledge[data-mode="open"] ~ .pc-notch, .pc-ledge[data-mode="banner"] ~ .pc-notch { height: 28px; }

/* Banner */
.pc-ban { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; height: 100%; padding: 0 2px 4px; }
.pc-ban .t { min-width: 0; }
.pc-ban .t b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-ban .t b svg { width: 14px; height: 14px; flex: none; }
.pc-ban .t small { display: block; font-size: 11.5px; font-weight: 500; color: var(--l-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-ban .acts { display: flex; gap: 6px; }
.pc-pillbtn { border: 0; cursor: pointer; padding: 5px 11px; border-radius: 999px; background: var(--l-tile2); color: var(--l-ink); font-family: var(--rnd); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pc-pillbtn:hover { background: rgba(255,255,255,.2); }
.pc-ring { position: relative; width: 32px; height: 32px; }
.pc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pc-ring circle { fill: none; stroke-width: 3; }
.pc-ring .bg { stroke: rgba(255,255,255,.14); }
.pc-ring .fg { stroke: var(--sky); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.pc-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Open ledge */
.pc-open { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; height: 100%; }
.pc-open .hd { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; }
.pc-open .hd svg { width: 15px; height: 15px; color: var(--ember); }
.pc-open .hd .q { border: 0; background: none; cursor: pointer; color: var(--l-ink2); font-family: var(--rnd); font-size: 12px; font-weight: 600; padding: 0 2px; }
.pc-open .hd .q:hover { color: var(--l-ink); }
.pc-open .hd .dot { color: var(--l-ink3); }
.pc-open .hd .nb { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--l-ink2); font-weight: 600; font-size: 12px; }
.pc-open .hd .nb svg { color: var(--sky); }
.pc-open .bd { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 10px; min-height: 0; }
.pc-tiles { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pc-tiles::-webkit-scrollbar { display: none; }
.pc-tile { position: relative; flex: none; width: 82px; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 9px 5px 6px; border: 0; border-radius: 10px; background: var(--l-tile); color: var(--l-ink); cursor: grab; text-align: center; touch-action: none; animation: pc-pop .35s cubic-bezier(.3,1.4,.5,1) both; }
.pc-tile:hover { background: var(--l-tile2); }
.pc-tile .ic { width: 30px; height: 36px; }
.pc-tile b { font-size: 10.5px; font-weight: 700; line-height: 1.2; max-height: 2.4em; overflow: hidden; word-break: break-word; }
.pc-tile small { font-size: 9.5px; font-weight: 700; color: var(--ember); }
.pc-tile .x { position: absolute; top: 3px; right: 3px; width: 17px; height: 17px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; font-size: 11px; line-height: 1; display: none; place-items: center; }
.pc-tile:hover .x, .pc-tile:focus-within .x { display: grid; }
.pc-empty { display: grid; place-items: center; text-align: center; border: 1.5px dashed rgba(255,255,255,.18); border-radius: 12px; color: var(--l-ink2); font-size: 11.5px; padding: 8px; }
.pc-empty b { display: block; color: var(--l-ink); font-size: 12.5px; }
.pc-tools { display: grid; gap: 6px; align-content: start; }
.pc-tool { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--l-tile); color: var(--l-ink); cursor: pointer; font-family: var(--rnd); font-size: 12px; font-weight: 700; text-align: left; }
.pc-tool:hover { background: var(--l-tile2); }
.pc-tool svg { width: 15px; height: 15px; flex: none; }
.pc-tool .hint { margin-left: auto; font-size: 10px; color: var(--l-ink3); font-weight: 600; letter-spacing: .02em; }
.pc-open .ft { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--l-ink2); border-top: 1px solid rgba(255,255,255,.12); padding-top: 4px; margin: 0 -2px; }
.pc-open .ft .bird { width: 28px; height: 28px; margin-top: -6px; }
.pc-open .ft .ok { display: inline-flex; color: var(--leaf); }
.pc-open .ft .ok svg { width: 14px; height: 14px; }
.pc-open .ft .gear { margin-left: auto; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--l-ink3); cursor: pointer; display: grid; place-items: center; }
.pc-open .ft .gear:hover { color: var(--l-ink); background: var(--l-tile); }
.pc-open .ft .gear svg { width: 15px; height: 15px; }
@keyframes pc-pop { from { transform: scale(.6); opacity: 0; } }

/* Drop target */
.pc-drop { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: end; height: 100%; padding-bottom: 2px; }
.pc-drop .box { height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1.6px dashed var(--ember); border-radius: 12px; background: rgba(255,255,255,.06); }
.pc-drop .box svg { width: 24px; height: 24px; color: var(--ember); }
.pc-drop .box b { display: block; font-size: 13.5px; }
.pc-drop .box small { font-size: 11.5px; color: var(--l-ink2); font-weight: 500; }
.pc-ledge.hot .pc-drop .box { background: rgba(242,165,74,.14); }

/* The bird */
.pc-bird { display: block; overflow: visible; }
.pc-bird .head { transition: transform .25s ease-out; }
.pc-bird.hop { animation: pc-hop .32s cubic-bezier(.3,1.6,.5,1); }
@keyframes pc-hop { 40% { transform: translateY(-14%); } }
.pc-bird.resting .torso { transform-origin: 20px 34px; animation: pc-breathe 2.2s ease-in-out infinite alternate; }
@keyframes pc-breathe { to { transform: scale(1.035, 1.05); } }
.pc-bird .blink { display: none; }
.pc-bird.blinking .eye-open { display: none; }
.pc-bird.blinking .blink { display: inline; }

/* ── Windows on the displays ── */
.pc-wins { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.pc-win { position: absolute; display: flex; flex-direction: column; border-radius: 9px; overflow: hidden; background: var(--win); color: var(--win-ink); box-shadow: 0 0 0 .5px rgba(0,0,0,.25), 0 10px 26px rgba(0,0,0,.2); pointer-events: auto; font-size: 11.5px;
  transition: left .7s cubic-bezier(.5,0,.2,1), top .7s cubic-bezier(.5,0,.2,1), width .7s cubic-bezier(.5,0,.2,1), height .7s cubic-bezier(.5,0,.2,1), opacity .3s; }
.pc-win.static { transition: none; }
.pc-win .bar { flex: none; display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 8px; background: var(--win-bar); border-bottom: 1px solid var(--win-line); font-size: 10.5px; font-weight: 600; color: var(--win-mut); white-space: nowrap; overflow: hidden; }
.pc-win .bar .lights i { width: 8px; height: 8px; }
.pc-win .bar .lights { gap: 5px; }
.pc-win .body { flex: 1; min-height: 0; padding: 8px 10px; overflow: hidden; }
.pc-win.studio-win .body { padding: 6px 8px; }
.pc-lines i { display: block; height: 5px; margin: 0 0 5px; border-radius: 3px; background: var(--win-line); }
.pc-win.term { background: #141416; color: #e6e3dd; }
.pc-win.term .bar { background: #232326; color: #9a978f; border-color: #000; }
.pc-win.term .body { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.55; white-space: pre; }
.pc-win.term .p { color: #5cc495; } .pc-win.term .d { color: #8f8b84; } .pc-win.term .ok { color: #5cc495; }
.pc-spin { display: inline-block; width: 1ch; }
.pc-win.share .body { display: grid; place-items: center; background: linear-gradient(135deg, #2b2440, #4b2b39); padding: 10px; }
.pc-inv { padding: 12px 16px; border-radius: 8px; background: #1e1e20; color: #fff; font-family: -apple-system, system-ui, sans-serif; text-align: left; }
.pc-inv span { display: block; font-size: 12px; line-height: 1.6; }
.pc-inv span:first-child { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.pc-inv span.hit { background: rgba(242,165,74,.35); border-radius: 3px; }
.pc-win.mail .body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 5px; font-size: 11px; }
.pc-win.mail .f { color: var(--win-mut); border-bottom: 1px solid var(--win-line); padding-bottom: 4px; }
.pc-win.mail .f b { color: var(--win-ink); font-weight: 500; }
.pc-attach { display: flex; flex-wrap: wrap; gap: 5px; align-content: flex-start; min-height: 40px; padding: 6px; border-radius: 7px; border: 1.5px dashed var(--win-line); color: var(--win-mut); font-size: 10.5px; }
.pc-attach.over { border-color: var(--ember); background: rgba(242,165,74,.1); }
.pc-attach .chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: rgba(242,165,74,.18); color: var(--win-ink); font-weight: 600; animation: pc-pop .3s both; }
.pc-win.app1 .body { background: linear-gradient(#fff 0 0) padding-box; }
.pc-swatch { height: 34%; border-radius: 5px; margin-bottom: 6px; background: var(--c); opacity: .85; }

/* Desktop file icons */
.pc-icons { position: absolute; z-index: 4; right: 10px; top: 40px; display: grid; gap: 6px; }
.pc-file { display: grid; justify-items: center; gap: 3px; width: 76px; padding: 5px 2px; border: 0; border-radius: 8px; background: none; cursor: grab; font-size: 10.5px; font-weight: 600; color: #1d1b19; text-shadow: 0 1px 2px rgba(255,255,255,.6); touch-action: none; text-align: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-file { color: #f2f0ec; text-shadow: 0 1px 2px rgba(0,0,0,.7); } }
:root[data-theme="dark"] .pc-file { color: #f2f0ec; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.pc-file:hover { background: rgba(255,255,255,.22); }
.pc-file .ic { width: 34px; height: 40px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.pc-file span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-file.parked span::after { content: " ·"; color: var(--ember); }
.pc-ghost { position: fixed; z-index: 1000; pointer-events: none; display: flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 9px; background: var(--card); color: var(--text); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; transform: translate(-50%, -60%) rotate(-3deg); }
.pc-ghost .ic { width: 22px; height: 26px; }

/* Studio Display */
.pc-side { display: grid; gap: 0; min-width: 0; }
.pc-studio { height: 168px; border-width: 6px; border-radius: 10px; transition: filter .4s; }
.pc-studio .pc-menubar { height: 18px; font-size: 9.5px; gap: 8px; padding: 0 7px; }
.pc-studio .pc-menubar svg { width: 11px; height: 11px; }
.pc-pill { position: absolute; z-index: 7; left: 50%; top: 2px; transform: translateX(-50%); height: 14px; padding: 0 7px; border-radius: 7px; background: var(--ledge); display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.64); font-size: 8.5px; font-weight: 700; font-family: var(--rnd); }
.pc-pill .pc-bird { width: 11px; height: 11px; }
.pc-studio .off { position: absolute; inset: 0; z-index: 8; display: none; place-items: center; align-content: center; gap: 4px; background: #08080a; color: #77757f; font-size: 11px; text-align: center; }
.pc-studio .off svg { width: 22px; height: 22px; margin: 0 auto; }
.pc-side.unplugged .pc-studio .off { display: grid; }
.pc-stand { justify-self: center; width: 54px; height: 22px; background: linear-gradient(#b9b6b0, #9b9892); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.pc-stand + .pc-foot { justify-self: center; width: 110px; height: 5px; border-radius: 3px; background: #a6a39d; margin-bottom: 14px; }
.pc-label { margin: 5px 0 0; text-align: center; font-size: 11px; color: var(--win-mut); }

/* Controls */
.pc-ctl { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--win) 80%, transparent); box-shadow: 0 0 0 1px var(--win-line); }
.pc-ctl .h { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--win-mut); }
.pc-cbtn { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border: 0; border-radius: 9px; background: var(--win); box-shadow: 0 0 0 1px var(--win-line); cursor: pointer; font-size: 12.5px; font-weight: 600; text-align: left; color: var(--win-ink); }
.pc-cbtn:hover { box-shadow: 0 0 0 1px var(--ember); }
.pc-cbtn svg { width: 16px; height: 16px; flex: none; color: #c9681f; }
.pc-cbtn[aria-pressed="true"] { background: #2a2622; color: #fff; }
.pc-cbtn[aria-pressed="true"] svg { color: var(--ember); }
.pc-cbtn small { margin-left: auto; font-size: 10.5px; color: var(--win-mut); font-weight: 600; }
.pc-cbtn[aria-pressed="true"] small { color: rgba(255,255,255,.6); }

/* Eye break overlay */
.pc-break { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; color: #fff;
  background: rgba(70, 60, 64, .42); -webkit-backdrop-filter: blur(18px) saturate(.8); backdrop-filter: blur(18px) saturate(.8); animation: pc-fade .4s both; font-family: var(--rnd); }
@keyframes pc-fade { from { opacity: 0; } }
.pc-break .big { position: relative; width: 132px; height: 132px; }
.pc-break .big svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pc-break .big circle { fill: none; stroke-width: 6; }
.pc-break .big .bg { stroke: rgba(255,255,255,.18); }
.pc-break .big .fg { stroke: var(--sky); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.pc-break .big span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 50px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-break .rail { width: 110px; border-bottom: 1.5px solid rgba(255,255,255,.45); display: grid; justify-items: center; margin: 0 auto; }
.pc-break .rail .pc-bird { width: 46px; height: 46px; margin-bottom: -2px; }
.pc-break h4 { margin: 6px 0 0; font-size: 22px; font-weight: 800; }
.pc-break p { margin: 0 16px; font-size: 13px; color: rgba(255,255,255,.82); }
.pc-break .acts { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.pc-break .acts button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-family: var(--rnd); font-size: 13px; font-weight: 700; }
.pc-break .acts button:hover { background: rgba(255,255,255,.2); }
.pc-break .acts kbd { font-family: var(--font); font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; border: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.7); }

/* Grab Text */
.pc-grab { position: absolute; inset: 0; z-index: 15; cursor: crosshair; background: rgba(0,0,0,.12); touch-action: none; }
.pc-grab .hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(10,10,12,.86); color: #fff; font-family: var(--rnd); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.pc-grab .sel { position: absolute; border: 1.5px solid var(--ember); background: rgba(242,165,74,.12); pointer-events: none; }
.pc-grab .sel small { position: absolute; left: -1px; top: 100%; margin-top: 4px; padding: 1px 6px; border-radius: 4px; background: #0a0a0c; color: #fff; font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The bird on the frame (reacts to the pointer) */
.pc-perch { position: absolute; z-index: 2; right: 7%; top: -47px; width: 50px; height: 50px; pointer-events: auto; cursor: pointer; border: 0; padding: 0; background: none; }
.pc-perch .pc-bird { width: 100%; height: 100%; transition: transform .2s; }
.pc-perch.left .pc-bird { transform: scaleX(-1); }

.pc .demo-toast { background: rgba(10,10,12,.9); font-family: var(--rnd); }

@media (max-width: 760px) {
  .pc-desk { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; }
  .pc-mbp { height: 400px; border-width: 5px 5px 7px; }
  .pc-mbp .pc-menubar .l span:not(:first-child):not(:nth-child(2)) { display: none; }
  .pc-mbp .pc-menubar .l .gap { display: none; }
  .pc-menubar .r .hide-sm { display: none; }
  .pc-ledge[data-mode="banner"] { --w: min(410px, calc(100% - 20px)); --h: 86px; }
  .pc-ledge[data-mode="banner"].has-acts { --h: 112px; }
  .pc-inv { padding: 8px 10px; } .pc-inv span { font-size: 10px; } .pc-inv span:first-child { font-size: 12.5px; }
  .pc-win .body { padding: 6px 8px; }
  .pc-ledge[data-mode="open"] { --w: calc(100% - 14px); --h: 268px; }
  .pc-ledge[data-mode="drop"] { --w: calc(100% - 30px); }
  .pc-open .bd { grid-template-columns: minmax(0, 1fr); }
  .pc-tools { grid-template-columns: 1fr 1fr 1fr; }
  .pc-tool { height: auto; min-height: 34px; padding: 4px 6px; font-size: 10.5px; gap: 5px; line-height: 1.15; }
  .pc-tool .hint { display: none; }
  .pc-ban { grid-template-columns: 30px minmax(0, 1fr) auto; row-gap: 4px; }
  .pc-ban .acts { grid-column: 2 / 4; grid-row: 2; }
  .pc-ban .pc-ring { grid-column: 3; grid-row: 1; }
  .pc-win.mail { display: none; }
  .pc-icons { right: 4px; }
  .pc-file { width: 64px; }
  .pc-side { grid-template-columns: minmax(0, 1fr); }
  .pc-studio { height: 150px; }
  .pc-break .big { width: 100px; height: 100px; }
  .pc-break .big span { font-size: 38px; }
  .pc-perch { right: 4%; top: -42px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-ledge { transition: width .18s ease, height .18s ease, border-radius .18s ease; }
  .pc-win { transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease; }
  .pc-bird.resting .torso, .pc-bird.hop, .pc-tile, .pc-attach .chip, .pc-break { animation: none; }
}
/* "Moments" strips on the page */
.pc-moments { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; width: 100%; }
.pc-moments .shot img { width: 100%; border-radius: 12px; }
