/* ───────────── fonts ───────────── */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; font-style: normal; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-400-italic.woff2') format('woff2'); font-weight: 400; font-display: swap; font-style: italic; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; font-style: normal; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dmsans-400-normal.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* ───────────── tokens ───────────── */
:root {
  --paper: #f6efe3;
  --paper-2: #efe3d1;
  --card: #fffcf6;
  --ink: #2a211b;
  --ink-soft: #6f6357;
  --ink-faint: #a2958a;
  --line: rgba(42, 33, 27, .13);
  --coral: #e8705a;
  --coral-deep: #d2553d;
  --blush: #f5d5cd;
  --butter: #f7e6b8;
  --sage: #cfdfc9;
  --lilac: #ded4ef;
  --shadow-lg: 0 26px 60px -28px rgba(74, 52, 36, .5), 0 3px 10px -4px rgba(74, 52, 36, .18);
  --shadow-sm: 0 8px 20px -12px rgba(74, 52, 36, .45);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --r-lg: 30px;
  --r-md: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { background: var(--paper); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #fffaf0 0%, var(--paper) 45%, var(--paper-2) 100%);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; display: block; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -14vw; top: -8vh; background: var(--blush); }
.blobs i:nth-child(2) { width: 40vw; height: 40vw; right: -12vw; bottom: 4vh; background: var(--sage); opacity: .38; }
.blobs i:nth-child(3) { width: 34vw; height: 34vw; right: 6vw; top: -10vh; background: var(--butter); opacity: .5; }

#app { position: relative; z-index: 1; min-height: 100dvh; }
.screen { min-height: 100dvh; }

/* ───────────── login ───────────── */
.login {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: max(28px, env(safe-area-inset-top)) 24px calc(24px + var(--safe-b));
  text-align: center; gap: 6px;
}
.login-art {
  position: relative; width: min(320px, 82vw); height: 210px; margin-bottom: 22px;
}
.ghost-polaroid {
  position: absolute; margin: 0; width: 108px;
  background: #fffdf8; padding: 7px 7px 26px; border-radius: 3px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(42, 33, 27, .06);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ghost-polaroid .gp-img { height: 100px; border-radius: 1px; background: var(--butter); }
.ghost-polaroid figcaption { font-family: var(--hand); font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.gp-1 { left: 6px; top: 22px; transform: rotate(-9deg); z-index: 1; }
.gp-2 { left: 50%; top: 0; transform: translateX(-50%) rotate(2deg); z-index: 3; }
.gp-3 { right: 6px; top: 30px; transform: rotate(8deg); z-index: 2; }
.login-art:hover .gp-1 { transform: rotate(-13deg) translateY(-4px); }
.login-art:hover .gp-2 { transform: translateX(-50%) rotate(0deg) translateY(-6px); }
.login-art:hover .gp-3 { transform: rotate(12deg) translateY(-4px); }
.g1 { background: linear-gradient(150deg, #f7d7cf 0%, #f3b9a8 45%, #f7e6b8 100%) !important; }
.g2 { background: linear-gradient(160deg, #e6e0f4 0%, #cfdfc9 60%, #f7e6b8 100%) !important; }
.g3 { background: linear-gradient(140deg, #fdeccd 0%, #f7c9c0 55%, #ded4ef 100%) !important; }

.eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 12px;
}
.login h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 15vw, 72px);
  line-height: .92; letter-spacing: -.03em; margin: 0 0 18px; color: var(--ink);
}
.login h1 em { font-style: italic; color: var(--coral-deep); }
.lede {
  max-width: 300px; margin: 0 auto 26px; font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.google-btn {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  background: var(--card); color: var(--ink); font-size: 15px; font-weight: 500;
  padding: 15px 24px; border-radius: 999px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.google-btn:active { transform: scale(.97); }
.google-btn:hover { box-shadow: var(--shadow-lg); }
.fineprint { font-size: 12px; color: var(--ink-faint); margin: 16px auto 0; max-width: 250px; line-height: 1.5; }
.login-foot { font-family: var(--hand); font-size: 16px; color: var(--ink-faint); margin: 30px 0 0; }

/* ───────────── booth shell ───────────── */
.booth {
  display: flex; flex-direction: column; align-items: center;
  padding: max(10px, env(safe-area-inset-top)) 12px calc(10px + var(--safe-b));
  gap: 10px; max-width: 470px; margin: 0 auto;
}
.topbar {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 0;
}
.brand {
  font-family: var(--serif); font-size: 17px; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 8px;
}
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(232, 112, 90, .18); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.user-chip {
  display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px;
  background: rgba(255, 252, 246, .7); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--ink-soft); max-width: 150px;
}
.user-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--butter); }
.user-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-btn {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500;
  background: var(--ink); color: #fdf8ee; padding: 8px 12px; border-radius: 999px;
}
.badge {
  background: var(--coral); color: #fff; border-radius: 999px; min-width: 17px; height: 17px;
  font-size: 10px; display: grid; place-items: center; padding: 0 4px;
}

.camera {
  width: 100%; flex: 1; display: flex; flex-direction: column;
  background: linear-gradient(175deg, #fffdf7 0%, #f8f0e2 62%, #f2e6d4 100%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  padding: 12px 12px 10px;
  position: relative;
}
.camera-top { display: flex; align-items: center; gap: 7px; padding: 0 4px 9px; }
.cam-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: blink 3.4s infinite; }
@keyframes blink { 0%, 92%, 100% { opacity: 1 } 95% { opacity: .25 } }
.cam-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cam-batt { margin-left: auto; display: flex; gap: 2px; align-items: flex-end; }
.cam-batt i { width: 3px; background: var(--ink-faint); border-radius: 1px; display: block; }
.cam-batt i:nth-child(1) { height: 4px } .cam-batt i:nth-child(2) { height: 7px } .cam-batt i:nth-child(3) { height: 10px; background: var(--sage); }

.viewfinder {
  position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 56dvh;
  background: #171210; border-radius: 20px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 14px 40px -18px rgba(0, 0, 0, .9);
}
#video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #171210;
  transition: filter .35s ease;
}
#video.mirrored { transform: scaleX(-1); }
.vf-tint { position: absolute; inset: 0; pointer-events: none; transition: background .3s; }
.vf-grid { position: absolute; inset: 0; pointer-events: none; opacity: .16; }
.vf-grid i { position: absolute; background: #fff; }
.vf-grid i:nth-child(1) { left: 33.3%; top: 0; bottom: 0; width: 1px; }
.vf-grid i:nth-child(2) { left: 66.6%; top: 0; bottom: 0; width: 1px; }
.vf-grid i:nth-child(3) { top: 33.3%; left: 0; right: 0; height: 1px; }
.vf-grid i:nth-child(4) { top: 66.6%; left: 0; right: 0; height: 1px; }
.vf-corners i { position: absolute; width: 16px; height: 16px; border: 2px solid rgba(255, 250, 240, .75); }
.vf-corners i:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.vf-corners i:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.vf-corners i:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.vf-corners i:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }
.vf-date {
  position: absolute; left: 14px; bottom: 13px; display: flex; align-items: center; gap: 6px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: .1em;
  color: #ffb27a; text-shadow: 0 0 10px rgba(255, 130, 60, .5);
}
.vf-date .rec { color: var(--coral); font-size: 9px; animation: blink 2s infinite; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: .92 } 100% { opacity: 0 } }

.cam-permission {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center;
  background: rgba(23, 18, 16, .9); backdrop-filter: blur(6px); color: #f7ecdd; padding: 24px;
}
.cam-permission p { margin: 0; font-family: var(--serif); font-size: 20px; }
.mini-btn {
  justify-self: center; background: #f7ecdd; color: #241d18; border-radius: 999px;
  padding: 10px 18px; font-size: 13px;
}

/* slot + ejecting print */
.slot-wrap { position: relative; }
.slot {
  height: 10px; margin: 6px 14px 0; border-radius: 6px;
  background: linear-gradient(#d9c9b3, #efe2cf 60%, #fffdf8);
  box-shadow: inset 0 3px 6px rgba(80, 58, 40, .45), 0 1px 0 rgba(255, 255, 255, .8);
}
.eject-area { position: absolute; inset: 0; pointer-events: none; }
.eject-polaroid {
  position: absolute; left: 50%; bottom: -6px; width: 56%; margin-left: -28%;
  will-change: transform, opacity; z-index: 5;
}

/* filters */
.filters {
  display: flex; gap: 8px; padding: 12px 2px 2px; overflow-x: auto; scrollbar-width: none;
  animation: rise .3s ease both;
}
.filters::-webkit-scrollbar { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.filter-chip {
  flex: 0 0 auto; font-size: 12.5px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); background: rgba(255, 252, 246, .6);
  transition: .2s;
}
.filter-chip.is-active { background: var(--ink); color: #fdf8ee; border-color: var(--ink); }

/* controls */
.controls {
  display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; align-items: center;
  gap: 4px; padding: 10px 2px 0; margin-top: auto;
}
.ctrl { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 0; color: var(--ink-soft); }
.ctrl:active .ctrl-icon { transform: scale(.92); }
.ctrl-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 252, 246, .8); border: 1px solid var(--line);
  box-shadow: 0 3px 8px -5px rgba(74, 52, 36, .5); transition: transform .15s;
}
.ctrl-icon svg { width: 19px; height: 19px; }
.ctrl-label { font-size: 10px; letter-spacing: .04em; color: var(--ink-faint); }
.stack { position: relative; }
.stack-card {
  position: absolute; width: 17px; height: 20px; background: #fffdf8; border: 1px solid var(--line); border-radius: 2px;
}
.stack-card:nth-child(1) { transform: rotate(-13deg) translate(-5px, 1px); }
.stack-card:nth-child(2) { transform: rotate(4deg) translate(4px, -1px); }
.stack-count {
  position: absolute; right: -5px; bottom: -6px; background: var(--coral); color: #fff;
  font-size: 9.5px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 999px;
  display: grid; place-items: center; border: 1.5px solid #fbf4e8;
}
.shutter { display: grid; place-items: center; padding: 0; }
.shutter-ring {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #fffdf8, #f2e4d2);
  box-shadow: 0 10px 22px -12px rgba(74, 52, 36, .8), inset 0 2px 3px #fff, inset 0 -3px 6px rgba(150, 110, 80, .22);
  transition: transform .12s;
}
.shutter-core {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #f58e75, var(--coral) 45%, var(--coral-deep) 100%);
  box-shadow: inset 0 -3px 8px rgba(120, 40, 20, .35), inset 0 2px 3px rgba(255, 255, 255, .35);
}
.shutter:active .shutter-ring { transform: scale(.93); }
.shutter.is-busy .shutter-core { background: radial-gradient(circle at 35% 28%, #d9cbb8, #b7a693); }
.cam-foot {
  margin: 8px 0 2px; text-align: center; font-size: 10.5px; letter-spacing: .06em;
  color: var(--ink-faint); text-transform: uppercase;
}

/* ───────────── polaroid ───────────── */
.polaroid {
  background: #fffdf8; border-radius: 4px; padding: 9px 9px 38px;
  box-shadow: 0 14px 26px -18px rgba(70, 50, 35, .75), 0 2px 5px -3px rgba(70, 50, 35, .3);
  border: 1px solid rgba(42, 33, 27, .07);
  position: relative; margin: 0;
}
.polaroid::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), transparent 35%);
}
.polaroid .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 1px; background: #efe6d7; user-select: none; -webkit-user-drag: none; }
.polaroid .cap {
  position: absolute; left: 10px; right: 10px; bottom: 7px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 6px;
}
.polaroid .cap .who { font-family: var(--hand); font-size: 16px; color: #4a3c31; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.polaroid .cap .stamp { font-family: ui-monospace, Menlo, monospace; font-size: 8px; letter-spacing: .06em; color: #b3a493; }

/* ───────────── sheets ───────────── */
.sheet {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fdf7ec 0%, #f7efe2 100%);
  border-radius: 26px 26px 0 0; padding: 6px 0 0;
  animation: sheetUp .38s cubic-bezier(.22, .9, .24, 1) both;
  box-shadow: 0 -20px 60px -30px rgba(60, 40, 25, .6);
}
@media (min-width: 640px) { .sheet { inset: 2vh auto 0 50%; transform: translateX(-50%); width: min(560px, 94vw); border-radius: 26px; bottom: 2vh; } }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes sheetUpD { from { transform: translate(-50%, 24px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }
@media (min-width: 640px) { .sheet { animation-name: sheetUpD; } }
.sheet-grip { width: 42px; height: 4px; border-radius: 999px; background: rgba(42, 33, 27, .16); margin: 6px auto 8px; flex: 0 0 auto; }
.sheet-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 2px 20px 12px; flex: 0 0 auto;
}
.sheet-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.02em; margin: 0 0 3px; }
.sheet-head p { margin: 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.4; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 252, 246, .85); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 14px; flex: 0 0 auto;
}

.polaroid-grid {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px;
  padding: 6px 20px calc(28px + var(--safe-b)); align-content: start;
}
@media (min-width: 640px) { .polaroid-grid { grid-template-columns: 1fr 1fr 1fr; } }
.roll-item { position: relative; touch-action: pan-y; transition: transform .18s; will-change: transform; }
.roll-item:nth-child(3n+1) .polaroid { rotate: -1.2deg; }
.roll-item:nth-child(3n+2) .polaroid { rotate: .9deg; }
.roll-item:nth-child(3n) .polaroid { rotate: -.4deg; }
.roll-item .sent-tag {
  position: absolute; top: -7px; right: -6px; background: var(--sage); color: #2f3d2a;
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px;
  border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(255, 255, 255, .7);
}
.roll-item.is-sending { transform: translateY(-120%) rotate(6deg); opacity: 0; transition: transform .45s ease-in, opacity .45s; }
.roll-item.hint-wrap { z-index: 2; }
.empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--ink-faint); text-align: center; padding: 30px; }
.empty p { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 0; }
.empty-frame { width: 92px; height: 112px; border: 1.5px dashed rgba(42, 33, 27, .2); border-radius: 4px; background: rgba(255, 252, 246, .5); }

/* viewer */
.viewer {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 24px 20px calc(20px + var(--safe-b));
  background: rgba(30, 24, 20, .82); backdrop-filter: blur(18px) saturate(1.1);
  animation: fade .24s ease both;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.viewer-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; background: rgba(255, 252, 246, .16); border-color: rgba(255, 255, 255, .2); color: #fdf8ee; }
.viewer-stage { width: min(340px, 84vw); animation: pop .4s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes pop { from { transform: scale(.92) rotate(-2deg); opacity: 0 } to { transform: none; opacity: 1 } }
.viewer-stage .polaroid { padding: 11px 11px 48px; }
.viewer-stage .polaroid .cap .who { font-size: 21px; }
.viewer-actions { display: flex; gap: 10px; width: min(340px, 84vw); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 14px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: transform .15s, opacity .2s;
}
.pill:active { transform: scale(.97); }
.pill-ghost { background: rgba(255, 252, 246, .14); color: #fdf8ee; border: 1px solid rgba(255, 255, 255, .22); flex: 0 0 auto; }
.pill-solid { background: var(--coral); color: #fff7f2; flex: 1; box-shadow: 0 10px 22px -12px rgba(210, 85, 61, .9); }
.pill-solid:disabled { background: #b9aa9a; box-shadow: none; }

/* desk */
.tabs { display: flex; gap: 6px; padding: 0 20px 12px; flex: 0 0 auto; align-items: center; }
.reset-link {
  margin-left: auto; font-size: 11px; color: var(--ink-faint); text-decoration: underline;
  text-underline-offset: 3px; padding: 6px 4px;
}
.tab {
  font-size: 12.5px; padding: 8px 14px; border-radius: 999px; color: var(--ink-soft);
  border: 1px solid transparent;
}
.tab span { color: var(--ink-faint); }
.tab.is-active { background: rgba(42, 33, 27, .07); color: var(--ink); border-color: var(--line); }
.desk-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 4px 20px calc(96px + var(--safe-b)); align-content: start;
}
@media (min-width: 640px) { .desk-body { grid-template-columns: 1fr 1fr 1fr; } }
.desk-item { position: relative; }
.desk-item .polaroid { padding: 8px 8px 34px; }
.desk-item .pick {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 253, 248, .92); border: 1.5px solid rgba(42, 33, 27, .25);
  display: grid; place-items: center; font-size: 13px; color: transparent; z-index: 2;
}
.desk-item.is-picked .pick { background: var(--coral); border-color: var(--coral); color: #fff; }
.desk-item.is-picked .polaroid { outline: 2px solid var(--coral); outline-offset: 2px; }
.desk-meta { font-size: 11px; color: var(--ink-faint); margin-top: 4px; text-align: center; }
.desk-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px calc(14px + var(--safe-b)); background: rgba(253, 247, 236, .92);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  border-radius: 0 0 26px 26px;
}
.desk-bar span { font-size: 13px; color: var(--ink-soft); }
.desk-bar .pill { margin-left: auto; flex: 0 0 auto; padding: 12px 22px; }

/* toast + hint */
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(26px + var(--safe-b)); transform: translateX(-50%);
  background: var(--ink); color: #fdf8ee; padding: 12px 18px; border-radius: 999px;
  font-size: 13px; box-shadow: var(--shadow-lg); animation: toastIn .3s cubic-bezier(.2, .9, .2, 1) both;
  max-width: 86vw; text-align: center;
}
@keyframes toastIn { from { transform: translate(-50%, 14px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }
.swipe-hint {
  position: fixed; z-index: 45; left: 50%; bottom: calc(120px + var(--safe-b)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; background: rgba(255, 252, 246, .95);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 999px;
  padding: 10px 16px; font-size: 12.5px; color: var(--ink-soft); animation: bob 1.8s ease-in-out infinite;
}
.swipe-hint span { color: var(--coral); font-size: 15px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0) } 50% { transform: translate(-50%, -6px) } }

/* loader */
.loader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--paper); }
.loader-ring {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(42, 33, 27, .12);
  border-top-color: var(--coral); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

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

/* wide stage: a quiet poster column beside the booth */
.booth-aside { display: none; }
@media (min-width: 1040px) {
  .booth-aside {
    display: block; position: fixed; left: max(48px, 8vw); top: 50%;
    transform: translateY(-50%); width: min(330px, 26vw); text-align: left;
  }
  .booth-aside h2 {
    font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: .94;
    letter-spacing: -.03em; margin: 0 0 22px;
  }
  .booth-aside h2 em { font-style: italic; color: var(--coral-deep); }
  .booth-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .booth-aside li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: baseline; gap: 8px; }
  .booth-aside li::before { content: '♡'; color: var(--coral); font-size: 11px; }
  .booth-aside li b { color: var(--ink); font-weight: 500; }
}

/* wide screens: put the booth in the middle of a soft stage */
@media (min-width: 900px) {
  .booth { padding-top: 18px; }
  .camera { box-shadow: 0 40px 90px -50px rgba(74, 52, 36, .7), inset 0 1px 0 #fff; }
}

/* ═══════════════════════════════════════════════════════════
   Y2K device skin — champagne plastic, chrome hardware, stickers
   ═══════════════════════════════════════════════════════════ */

:root {
  --body-hi: #fbf3e3;
  --body-1: #f0e3ce;
  --body-2: #e4d3ba;
  --body-3: #d6c2a6;
  --chrome-hi: #ffffff;
  --chrome-1: #f3f1ec;
  --chrome-2: #ddd9d1;
  --chrome-3: #b3ada3;
  --chrome-4: #857f75;
  --pink: #f4a7bd;
  --pink-soft: #ffd6e2;
  --pink-deep: #e07f9b;
  --lcd: #b9c6a4;
}

body {
  background:
    radial-gradient(100% 60% at 50% -8%, #fff9ee 0%, #f3e8d6 40%, #e8dac4 100%);
}

/* the body */
.camera {
  background:
    radial-gradient(120% 55% at 18% 0%, rgba(255, 252, 244, .95) 0%, rgba(255, 252, 244, 0) 62%),
    linear-gradient(168deg, var(--body-hi) 0%, var(--body-1) 42%, var(--body-2) 78%, var(--body-3) 100%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px 24px 32px 32px;
  box-shadow:
    0 34px 60px -34px rgba(92, 66, 44, .62),
    0 2px 0 rgba(255, 255, 255, .85) inset,
    0 -8px 16px rgba(122, 94, 66, .14) inset,
    0 0 0 1px rgba(150, 120, 90, .16);
  padding: 9px 9px 8px;
  position: relative;
  isolation: isolate;
}
.camera::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23p)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .14; mix-blend-mode: multiply;
}
.camera > * { position: relative; z-index: 1; }

.screw {
  position: absolute; width: 7px; height: 7px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 30%, #fff, #cfc9bf 55%, #9d978d 100%);
  box-shadow: inset 0 0 0 1px rgba(90, 80, 68, .35), 0 1px 1px rgba(255, 255, 255, .7);
}
.s-tl { top: 7px; left: 8px; }
.s-tr { top: 7px; right: 8px; }

.device-top {
  display: flex; align-items: center; gap: 7px; padding: 1px 14px 8px;
}
.lamp {
  width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(150deg, #fffdf6, #e6dccb);
  box-shadow: inset 0 0 0 1px rgba(120, 100, 80, .35), 0 0 6px rgba(255, 240, 200, .8);
}
.etch {
  font-family: var(--sans); font-size: 7.5px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(84, 66, 48, .56);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
  white-space: nowrap;
}
.model-etch { letter-spacing: .2em; }
.model-no { margin-left: auto; font-size: 7px; color: rgba(84, 66, 48, .42); }

.device-main { display: flex; gap: 7px; align-items: stretch; position: relative; }

/* the screen */
.viewfinder {
  flex: 1; min-width: 0;
  aspect-ratio: 3 / 4;
  max-height: 50dvh;
  border-radius: 7px;
  border: 5px solid #211d19;
  background: #14110f;
  box-shadow:
    0 0 0 1px #c9c2b6,
    0 0 0 2px rgba(255, 255, 255, .55),
    0 10px 22px -14px rgba(50, 35, 22, .9),
    inset 0 2px 10px rgba(0, 0, 0, .9);
  overflow: hidden;
  position: relative;
}
#video { filter: saturate(.9) contrast(.94) brightness(1.04); }
.vf-wash {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(185deg, rgba(214, 226, 196, .22), rgba(120, 118, 96, .18));
  mix-blend-mode: soft-light;
}
.vf-scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .3;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
}
.vf-mode {
  position: absolute; top: 10px; left: 12px; z-index: 3;
  font-family: ui-monospace, Menlo, monospace; font-size: 8.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 226, 186, .82);
  text-shadow: 0 0 8px rgba(255, 140, 60, .45);
}
.vf-date { z-index: 3; font-size: 11.5px; }
.vf-corners i { border-color: rgba(255, 250, 240, .55); }
.vf-grid { opacity: .11; }

/* stickers */
.sticker { position: absolute; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(90, 60, 70, .3)); }
.st-heart { width: 54px; height: 54px; top: -16px; right: 44px; transform: rotate(9deg); z-index: 8; }
.st-flower { width: 40px; height: 40px; bottom: 52px; left: -9px; transform: rotate(-12deg); z-index: 6; }
.st-star { width: 26px; height: 26px; bottom: 96px; right: -7px; transform: rotate(14deg); z-index: 6; }
.sticker-heartno {
  position: absolute; z-index: 9; right: 55px; top: 2px;
  font-family: var(--serif); font-size: 13px; color: #fff; opacity: .92;
  text-shadow: 0 1px 2px rgba(150, 60, 90, .5);
  pointer-events: none;
}

/* right hardware strip */
.side-strip {
  width: 54px; flex: 0 0 54px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 4px 0 2px;
}
.hw-btn {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(160deg, var(--chrome-hi) 0%, var(--chrome-1) 28%, var(--chrome-2) 62%, var(--chrome-3) 100%);
  border: 1px solid rgba(120, 112, 100, .55);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(120, 112, 100, .3), 0 2px 4px -2px rgba(60, 45, 30, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: #4d463d; position: relative; transition: transform .12s, box-shadow .12s;
}
.hw-btn svg { width: 17px; height: 17px; }
.hw-btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(90, 80, 68, .4); }
.hw-btn .etch { font-size: 6px; letter-spacing: .14em; color: rgba(70, 58, 44, .6); text-shadow: none; }
.led {
  margin-top: auto; margin-bottom: 4px; width: 6px; height: 6px; border-radius: 50%;
  background: #a9c79a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5), 0 0 6px rgba(150, 200, 130, .8);
  opacity: .8;
}

/* film slot */
.slot {
  height: 12px; margin: 8px 8px 0; border-radius: 3px;
  background: linear-gradient(#aaa49a 0%, #ded8cc 38%, #fdf9f0 100%);
  box-shadow: inset 0 3px 4px rgba(50, 38, 26, .55), 0 1px 0 rgba(255, 255, 255, .9);
}
.eject-polaroid { z-index: 7; }

/* bottom deck */
.deck {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 4px; padding: 12px 4px 2px; margin-top: auto;
}
.deck-cell { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.deck-mid { margin-top: -4px; }
.deck-label { font-size: 6.5px; letter-spacing: .16em; }

.oval-btn {
  width: 48px; height: 30px; border-radius: 999px;
  background: linear-gradient(165deg, #fff 0%, var(--chrome-1) 30%, var(--chrome-2) 65%, var(--chrome-3) 100%);
  border: 1px solid rgba(120, 112, 100, .5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(120, 112, 100, .28), 0 3px 6px -4px rgba(60, 45, 30, .6);
  display: grid; place-items: center; transition: transform .12s;
}
.oval-btn:active { transform: translateY(1px) scale(.98); }
.oval-dot {
  width: 17px; height: 10px; border-radius: 3px;
  background: radial-gradient(circle at 35% 25%, #6b6258, #2c2620 70%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .3);
}

.dial {
  width: 90px; height: 90px; border-radius: 50%; position: relative;
  display: grid; place-items: center;
  background: repeating-conic-gradient(from 0deg, #eae6de 0 2.2deg, #b6b0a6 2.2deg 3.6deg);
  box-shadow: 0 8px 14px -8px rgba(60, 45, 30, .75), inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 112, 100, .45);
  transition: transform .1s;
}
.dial:active { transform: scale(.955); }
.dial-ridge {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .55) 66%, rgba(255, 255, 255, 0) 73%);
}
.dial-core {
  width: 62px; height: 62px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 34% 26%, #ffd9e4 0%, var(--pink) 42%, var(--pink-deep) 100%);
  box-shadow: inset 0 -3px 7px rgba(150, 60, 90, .38), inset 0 2px 3px rgba(255, 255, 255, .6), 0 1px 2px rgba(120, 60, 80, .35);
  display: grid; place-items: center;
}
.dial-gloss {
  position: absolute; top: 9px; left: 12px; width: 24px; height: 13px; border-radius: 50%;
  background: rgba(255, 255, 255, .55); filter: blur(3px); transform: rotate(-18deg);
}
.dial.is-busy .dial-core { filter: grayscale(.55) brightness(.92); }

.mini-lcd {
  width: 62px; height: 48px; border-radius: 3px; padding: 3px; position: relative;
  background: linear-gradient(160deg, #2b2f27, #171a15);
  border: 1px solid rgba(120, 112, 100, .6);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .7);
}
.mini-inner {
  display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden;
  background: var(--lcd); filter: sepia(.18) saturate(.85) contrast(.95);
}
.mini-inner img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.mini-empty {
  font-size: 6.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25;
  color: #4c5342; text-align: center;
}
.mini-count {
  position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--pink-deep); color: #fff; font-size: 9.5px;
  display: grid; place-items: center; border: 1.5px solid #f6eddd;
  box-shadow: 0 1px 3px rgba(120, 60, 80, .35);
}

.cam-foot {
  margin: 8px 0 1px; font-size: 8.5px; letter-spacing: .16em;
  color: rgba(84, 66, 48, .55);
}

/* filter chips in body colour */
.filter-chip {
  background: rgba(255, 250, 240, .55); border-color: rgba(120, 100, 76, .25);
  color: rgba(70, 56, 42, .8);
}
.filter-chip.is-active { background: #2c261f; border-color: #2c261f; color: #fdf6ea; }

/* camera permission panel */
.cam-permission { background: rgba(20, 17, 15, .88); }

/* slight wash on the small screens / sheets too */
.desk .polaroid, .polaroid-grid .polaroid { box-shadow: 0 12px 22px -16px rgba(70, 50, 35, .8), 0 2px 4px -3px rgba(70, 50, 35, .35); }

/* extra physicality */
.camera::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 12%),
    linear-gradient(0deg, rgba(120, 92, 64, .12) 0%, rgba(120, 92, 64, 0) 16%);
}
.device-top { border-bottom: 1px solid rgba(150, 120, 90, .16); padding-bottom: 7px; margin-bottom: 8px; }
.deck {
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(160, 130, 100, .08));
  border-radius: 18px;
  margin: 8px 1px 0;
  padding: 10px 2px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(140, 110, 84, .12);
}
.dial {
  box-shadow:
    0 10px 16px -9px rgba(60, 45, 30, .8),
    0 2px 3px rgba(60, 45, 30, .25),
    inset 0 1px 0 #fff,
    inset 0 -2px 4px rgba(120, 108, 94, .45),
    0 0 0 1px rgba(120, 112, 100, .45);
}
.sticker { filter: drop-shadow(0 4px 5px rgba(90, 60, 70, .32)); }

/* mini LCD: keep the thumb inside the screen */
.mini-inner { display: block; position: relative; }
.mini-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-empty { position: absolute; inset: 0; display: grid; place-content: center; }

/* ═══════════════════════════════════════════════════════════
   silver finish — graphite accents, no pink hardware
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #eef0f1;
  --paper-2: #dfe3e5;
  --card: #fdfdfd;
  --ink: #24262a;
  --ink-soft: #5f6467;
  --ink-faint: #8d9295;
  --line: rgba(36, 38, 42, .14);
  --coral: #8d9296;
  --coral-deep: #4f5457;
  --blush: #e6e9ea;
  --butter: #eceeef;
  --sage: #dfe4e2;
  --lilac: #e2e4e6;
  --body-hi: #f7f8f8;
  --body-1: #e4e6e7;
  --body-2: #cfd2d3;
  --body-3: #b7babc;
  --chrome-hi: #ffffff;
  --chrome-1: #f1f2f2;
  --chrome-2: #dadcdd;
  --chrome-3: #aeb1b3;
  --chrome-4: #7c8082;
  --graphite: #3a3d3f;
}

body {
  background:
    radial-gradient(100% 60% at 50% -8%, #fbfcfc 0%, #eef0f1 42%, #dcdfe1 100%);
}
.grain { opacity: .38; }
.blobs i:nth-child(1) { background: #dfe4e8; }
.blobs i:nth-child(2) { background: #d9dedb; opacity: .45; }
.blobs i:nth-child(3) { background: #eef0f2; opacity: .5; }

.camera {
  background:
    radial-gradient(120% 55% at 18% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(168deg, var(--body-hi) 0%, var(--body-1) 38%, var(--body-2) 76%, var(--body-3) 100%);
  box-shadow:
    0 34px 60px -34px rgba(38, 42, 46, .5),
    0 2px 0 rgba(255, 255, 255, .95) inset,
    0 -8px 16px rgba(90, 96, 100, .16) inset,
    0 0 0 1px rgba(110, 116, 120, .22);
}
.camera::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 12%),
    linear-gradient(0deg, rgba(80, 86, 90, .12) 0%, rgba(80, 86, 90, 0) 16%);
}
.etch { color: rgba(58, 62, 66, .58); text-shadow: 0 1px 0 rgba(255, 255, 255, .85); }
.device-top { border-bottom-color: rgba(110, 116, 120, .2); }

/* account chip now lives on the camera */
.device-top .user-chip {
  margin-left: 8px; padding: 2px 9px 2px 2px; height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(228, 231, 232, .85));
  border: 1px solid rgba(110, 116, 120, .32);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(60, 66, 70, .16);
  font-size: 10px; letter-spacing: .04em; color: rgba(50, 54, 58, .8);
  max-width: 116px;
}
.device-top .user-chip img {
  width: 20px; height: 20px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(90, 96, 100, .25);
}
.model-no { margin-right: 2px; }

/* screen reads cooler */
.vf-wash { background: linear-gradient(185deg, rgba(206, 214, 220, .3), rgba(110, 116, 120, .16)); }
#video { filter: saturate(.84) contrast(.96) brightness(1.03); }
.vf-mode { color: rgba(255, 236, 214, .8); }

/* zoom rocker */
.rocker {
  width: 46px; height: 62px; border-radius: 15px; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--chrome-hi) 0%, var(--chrome-1) 30%, var(--chrome-2) 64%, var(--chrome-3) 100%);
  border: 1px solid rgba(110, 116, 120, .5);
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px -2px rgba(60, 66, 70, .45);
  color: #565a5c;
}
.rk-half {
  flex: 1; display: grid; place-items: center; width: 100%;
  font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .08em;
}
.rk-t { box-shadow: inset 0 -1px 0 rgba(110, 116, 120, .35), inset 0 1px 0 #fff; }
.rk-w { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.rocker:active .rk-t, .rocker:active .rk-w { background: rgba(160, 165, 168, .18); }
.side-note { font-size: 6px; letter-spacing: .16em; }

/* round hardware button */
.hw-round {
  width: 38px; height: 38px; border-radius: 50%; position: relative;
  display: grid; place-items: center; color: #4d5153;
  background: linear-gradient(160deg, #fff 0%, var(--chrome-1) 30%, var(--chrome-2) 64%, var(--chrome-3) 100%);
  border: 1px solid rgba(110, 116, 120, .5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(120, 126, 130, .3), 0 2px 4px -2px rgba(60, 66, 70, .45);
}
.hw-round svg { width: 16px; height: 16px; }
.hw-round:active { transform: translateY(1px); }

/* oval shutter */
.oval-shutter {
  width: 66px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(165deg, #fff 0%, var(--chrome-1) 28%, var(--chrome-2) 62%, var(--chrome-3) 100%);
  border: 1px solid rgba(110, 116, 120, .5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(120, 126, 130, .3), 0 4px 7px -5px rgba(60, 66, 70, .65);
  transition: transform .1s;
}
.oval-shutter:active { transform: scale(.96); }
.os-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #55595b, #16181a 72%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .28), 0 1px 1px rgba(0, 0, 0, .4);
}
.oval-shutter.is-busy .os-dot { background: radial-gradient(circle at 36% 28%, #9a9d9e, #5c6062 72%); }

/* mode dial = filter */
.dial-core {
  background: radial-gradient(circle at 34% 26%, #ffffff 0%, #e3e5e5 40%, #b4b8ba 100%);
  box-shadow: inset 0 -3px 7px rgba(100, 106, 110, .35), inset 0 2px 3px rgba(255, 255, 255, .8), 0 1px 2px rgba(80, 86, 90, .3);
}
.dial-glyph {
  font-size: 17px; line-height: 1; color: rgba(56, 60, 62, .55);
  transform: rotate(0deg); text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}
.dial.is-busy .dial-core { filter: grayscale(.4) brightness(.95); }

/* mini lcd + count */
.mini-count { background: var(--graphite); border-color: #f0f2f3; }
.mini-inner { filter: sepia(.06) saturate(.8) contrast(1.02); background: #c3cbb4; }

/* sheets + accents stay neutral silver */
.polaroid { background: #fdfdfc; border-color: rgba(36, 38, 42, .08); }
.pill-solid { background: var(--graphite); box-shadow: 0 10px 22px -12px rgba(40, 44, 48, .9); }
.pill-solid:disabled { background: #b3b7b9; }
.toast { background: var(--graphite); }
.badge { background: var(--graphite); }
.sent-tag { background: #dfe4e0; }
.swipe-hint span { color: var(--graphite); }
.ghost-polaroid .g1 { background: linear-gradient(150deg, #f2f4f5 0%, #d6dbde 45%, #eef0f1 100%) !important; }
.ghost-polaroid .g2 { background: linear-gradient(160deg, #eceff1 0%, #cfd5d8 60%, #f6f7f8 100%) !important; }
.ghost-polaroid .g3 { background: linear-gradient(140deg, #f7f8f8 0%, #dbdfe2 55%, #eef0f1 100%) !important; }
.login-star polygon { fill: #e3e6e8; }
.login h1 em { color: var(--graphite); }

/* four-way pad */
.dpad {
  width: 62px; height: 62px; position: relative; border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, var(--chrome-1) 32%, var(--chrome-2) 66%, var(--chrome-3) 100%);
  border: 1px solid rgba(110, 116, 120, .5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(120, 126, 130, .3), 0 3px 5px -3px rgba(60, 66, 70, .5);
}
.dp {
  position: absolute; width: 22px; height: 22px; display: grid; place-items: center;
  color: #565a5c;
}
.dp svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dp:active { color: #17191a; }
.dp.up { top: 0; left: 20px; }
.dp.down { bottom: 0; left: 20px; }
.dp.left { left: 0; top: 20px; }
.dp.right { right: 0; top: 20px; }
.dp.hub {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d3d6d7 60%, #aaadaf);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(60, 66, 70, .35);
}

/* device hugs its content and sits centred, no dead slab at the bottom */
.booth { justify-content: center; }
.camera { flex: 0 1 auto; }
.deck { margin: 10px 1px 0; }
