/* Gönder Gelsin — İsviçre tarzı sade arayüz.
   Lacivert ana renk, güven/başarı için yeşil, kırık beyaz zemin, ince çizgiler, gölge yok. */
:root {
  --bg: #f4f5f3;
  --surface: #ffffff;
  --sunken: #eef0ee;
  --ink: #0f1b2d;
  --ink-2: #334155;
  --muted: #5d6b7e;
  --line: #dfe3e8;
  --line-strong: #c9d0d9;
  --accent: #1e3a5f;          /* marka / birincil (dükkanlar kendi rengini verir) */
  --accent-ink: #ffffff;
  --accent-soft: #e8eef5;
  --ok: #15803d;              /* güvenli / tamamlandı */
  --ok-soft: #e7f4ec;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warn-soft: #fff4dc;
  --radius: 10px;
  --radius-sm: 7px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]), :root[data-theme="clay"] {
    --bg: #0b1220;
    --surface: #111a2b;
    --sunken: #0d1524;
    --ink: #e8edf4;
    --ink-2: #c3ccd8;
    --muted: #93a1b4;
    --line: #223049;
    --line-strong: #2e3f5c;
    --accent: #8fb4e3;
    --accent-ink: #0b1220;
    --accent-soft: #16243b;
    --ok: #4ade80;
    --ok-soft: #10261b;
    --danger: #f87171;
    --danger-soft: #2a1414;
    --warn-soft: #2a2312;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 4px 16px 32px; }
[hidden] { display: none !important; }
a { color: var(--accent-text, var(--accent)); }

/* ---------- ikonlar ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.i-lg { width: 22px; height: 22px; }

/* ---------- üst bant ---------- */
.top { display: flex; justify-content: center; align-items: center; max-width: 960px; width: 100%; margin: 0 auto; padding: 20px 16px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 700; }
.logo .i { width: 18px; height: 18px; stroke-width: 2.4; }
.tag { color: var(--muted); font-size: 13px; margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line); }
.shoplogo { height: 34px; width: auto; max-width: 160px; object-fit: contain; border-radius: 6px; }

/* ---------- tipografi ---------- */
h1, h2, h3, .brand { font-family: var(--font-head, inherit); }
h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h2 { font-size: 21px; margin: 0 0 8px; letter-spacing: -0.015em; }
h3 { font-size: 15px; margin: 0 0 12px; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- düğmeler ---------- */
button, .btnlike {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 10px 18px;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s;
}
button:hover, .btnlike:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
button:active, .btnlike:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: default; }
button.ghost, .btnlike.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
button.ghost:hover, .btnlike.ghost:hover { background: var(--sunken); }
button.danger { background: var(--surface); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
button.danger:hover { background: var(--danger-soft); }
button.small, .btnlike.small { padding: 6px 12px; min-height: 36px; font-size: 14px; }
.linkbtn { background: none; border: 0; color: var(--muted); padding: 0; min-height: 0; font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { background: none; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-text, var(--accent)); outline-offset: 2px; }

/* ---------- yüzeyler ---------- */
.panel, .waitbox, .enter, .doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- bekleme ekranı ---------- */
.waitbox { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 32px; }
.waitinfo h1 { margin-bottom: 20px; }
.qr { background: #fff; padding: 14px; border-radius: var(--radius); line-height: 0; width: 320px; height: 320px; border: 1px solid var(--line); }
.qr svg { width: 290px; height: 290px; display: block; }
.qrph { width: 290px; height: 290px; border-radius: 6px; background: repeating-linear-gradient(45deg, #eef0f2 0 8px, #f7f8f9 8px 16px); animation: pulse 1.4s infinite; }
.codewrap { padding: 14px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.code { font: 700 50px/1.1 var(--mono); letter-spacing: .14em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.status { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); margin: 16px 0 8px; font-size: 15px; }
.status .i { color: var(--danger); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

.enter { margin-top: 12px; padding: 14px 18px; display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; }
.enter label { font-weight: 500; color: var(--ink-2); display: flex; gap: 8px; align-items: center; font-size: 15px; }
.enter label .i { color: var(--muted); }
.enterrow { display: flex; gap: 8px; flex: 1 1 240px; min-width: 0; }
#codeInput {
  flex: 1; min-width: 0; font: 600 20px/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
#codeInput::placeholder { color: color-mix(in srgb, var(--muted) 55%, transparent); }
#codeInput:focus { outline: none; border-color: var(--accent-text, var(--accent)); box-shadow: 0 0 0 3px var(--accent-soft); }

.toast { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ink); font-weight: 500; border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }

/* ---------- bağlanıyor / durum ---------- */
.center { text-align: center; padding: 64px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.center h2 { font-size: 22px; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; margin-bottom: 18px; }
@keyframes spin { to { transform: rotate(360deg) } }
.actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- bağlı oda ---------- */
.verify { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.vmain { flex: 1; min-width: 200px; color: var(--ink-2); }
.vmain strong { color: var(--ink); }
.vemoji { font-size: 40px; line-height: 1; display: inline-grid; place-items: center; min-width: 48px; }
.vemoji .i { width: 32px; height: 32px; color: var(--muted); }
.timer { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sunken); }
.tlabel { display: flex; gap: 6px; align-items: center; }
.tlabel .i { color: var(--muted); }
.tval { font: 700 22px/1 var(--mono); font-variant-numeric: tabular-nums; min-width: 3.1em; }
.timer.hot { border-color: var(--danger); background: var(--danger-soft); }
.timer.hot .tval { color: var(--danger); animation: pulse 1s infinite; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.panel { padding: 20px; min-width: 0; }
.phead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.phead h3 { margin: 0; }

.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 28px 16px; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.drop:hover, .drop.over { border-color: var(--accent-text, var(--accent)); background: var(--accent-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text, var(--accent)); margin-bottom: 4px; }
.dropico .i { width: 20px; height: 20px; }

.safe { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-soft); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.safeico { color: var(--ok); line-height: 0; margin-top: 1px; }
.safe strong { color: var(--ok); }

.list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; display: grid; gap: 7px; background: var(--surface); }
.item .row { display: flex; justify-content: space-between; gap: 2px 10px; align-items: center; flex-wrap: wrap; }
.item .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 160px; }
.item .meta { color: var(--muted); font-size: 13px; flex: none; font-variant-numeric: tabular-nums; }
.item .meta.ok { color: var(--ok); }
.bar { height: 4px; border-radius: 2px; background: var(--sunken); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s linear; }
.item .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.item .btns .print { padding: 7px 14px; min-height: 38px; font-size: 14px; }
.item.err .meta { color: var(--danger); }
.item .rcpt { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ok); }
.item .rcpt.warn { color: var(--danger); }

/* yazdırma tercihi */
.prefs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.plabel { width: 100%; display: flex; gap: 6px; align-items: center; }
.seg { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px; background: var(--sunken); }
.seg button { background: transparent; color: var(--ink-2); border: 0; min-height: 34px; padding: 4px 12px; font-size: 14px; font-weight: 500; border-radius: 5px; }
.seg button:hover { background: var(--surface); }
.seg button.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--line-strong); }
.seg b { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.seg .small { margin-right: 4px; }
.chip2 { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--warn-soft); border-radius: 5px; padding: 3px 8px; justify-self: start; }
.printhint { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; align-items: center; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-weight: 500; max-width: calc(100% - 32px); }

.note { color: var(--muted); font-size: 13px; margin: 16px 2px 0; max-width: 760px; }

/* bağlantı onayı (dükkan ekranı) */
.incoming { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); animation: rise .2s var(--ease); }
.incoming .vemoji { font-size: 44px; }
.incoming strong { display: block; font-size: 17px; color: var(--ink); }
@keyframes rise { from { transform: translateY(-4px); opacity: 0 } to { transform: none; opacity: 1 } }

/* ---------- alt bant ---------- */
.foot { color: var(--muted); font-size: 13px; padding: 20px 16px 24px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; align-items: center; text-align: center; }
.foot > span .i { margin-right: 4px; }
.grid.single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.flinks { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center; align-items: center; }
.flinks a, .foot a { color: var(--muted); text-decoration: none; }
.flinks a:hover, .foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a.credit { color: var(--ink-2); font-weight: 600; }

/* ---------- duyarlı ---------- */
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  #vWait { display: flex; flex-direction: column; }
  .enter { order: -1; margin: 0 0 12px; padding: 14px; }
  .waitbox { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 20px 16px; gap: 18px; }
  .waitbox .status { justify-content: center; }
  .waitinfo { width: 100%; }
  .qr { width: min(240px, 100%); height: auto; padding: 12px; } .qr svg, .qrph { width: 100%; height: auto; aspect-ratio: 1; }
  .qrcol { width: 100%; display: flex; justify-content: center; }
  #codeInput { font-size: 19px; letter-spacing: .1em; }
  .code { font-size: 38px; }
  .verify { padding: 12px 14px; gap: 12px; }
  .vmain { flex: 1 1 calc(100% - 64px); min-width: 0; }
  .timer { order: 3; flex: 1 1 auto; justify-content: space-between; }
  #btnFinish { order: 4; flex: 0 0 auto; }
  .prefs .seg { width: 100%; }
  .prefs .seg button { flex: 1; }
  .prefs .seg b { flex: 1; }
}
@media (hover: none) { .hide-touch { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   CLAYMORPHISM katmanı — yumuşak 3B, kalın yuvarlak kenar, çift gölge, pastel
   ===================================================================== */
:root {
  --bg: #dfe4f0;
  --muted: #4f5c70;
  --surface: #fbfcff;
  --sunken: #e4e8f3;
  --line: #e1e5f2;
  --line-strong: #d3d9eb;
  --accent: #4353d6;          /* metin kontrastı 4.5:1 üstü */
  --accent-ink: var(--accent-ink-auto, #ffffff);
  --accent-text: var(--accent-on-light, var(--accent));
  --accent-soft: #e4e7fd;
  --ok: #157a46;
  --ok-soft: #dcf5e7;
  --danger: #c0352b;
  --danger-soft: #ffe4df;
  --warn-soft: #ffeedd;
  --radius: 24px;
  --radius-sm: 16px;
  --clay-out: 8px 10px 22px rgba(55, 70, 125, .16), -3px -3px 10px rgba(255, 255, 255, .45);
  --clay-in: inset 1px 1px 2px rgba(255, 255, 255, .55), inset -2px -3px 6px rgba(55, 70, 125, .06);
  --clay: var(--clay-out), var(--clay-in);
  --clay-sm: 4px 5px 12px rgba(55, 70, 125, .14), -2px -2px 6px rgba(255, 255, 255, .4), var(--clay-in);
  --clay-press: inset 3px 4px 9px rgba(55, 70, 125, .14), inset -2px -2px 6px rgba(255, 255, 255, .4);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]), :root[data-theme="clay"] {
    --bg: #181c2c;
    --surface: #252b41;
    --sunken: #1f2438;
    --line: #2f3652;
    --line-strong: #3a4263;
    --accent: #9aa6ff;
    --accent-ink: var(--accent-ink-auto, #141832);
    --accent-text: var(--accent-on-dark, var(--accent));
    --accent-soft: #2c3360;
    --ok-soft: #173327;
    --danger-soft: #3a1f22;
    --warn-soft: #3a2f1f;
    --clay-out: 10px 10px 24px rgba(0, 0, 0, .45), -6px -6px 16px rgba(255, 255, 255, .04);
    --clay-in: inset 2px 2px 5px rgba(255, 255, 255, .06), inset -3px -3px 8px rgba(0, 0, 0, .25);
    --clay-sm: 5px 5px 12px rgba(0, 0, 0, .4), -3px -3px 8px rgba(255, 255, 255, .03), var(--clay-in);
    --clay-press: inset 4px 4px 10px rgba(0, 0, 0, .45), inset -3px -3px 8px rgba(255, 255, 255, .04);
  }
}
body { background: var(--page-bg, radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--accent-soft) 35%, transparent), transparent 60%), var(--bg)); background-attachment: fixed; }

/* yüzeyler: kalın açık kenar + çift gölge */
.panel, .waitbox, .enter, .doc, .verify, .incoming, .kpi { border: var(--card-border, 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent)); background: var(--surface); box-shadow: var(--clay); backdrop-filter: var(--card-blur, none); }

.verify { background: linear-gradient(135deg, var(--ok-soft), var(--surface) 55%); }
.verify.lost { background: linear-gradient(135deg, var(--danger-soft), var(--surface) 55%); }
.incoming { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 60%); }
.waitbox { gap: 44px; padding: 36px; }
.grid { gap: 20px; margin-top: 20px; }
.enter { margin-top: 20px; }
.panel { padding: 22px; }

/* marka ve logo kili */
.logo { width: 38px; height: 38px; border-radius: 13px; box-shadow: 2px 4px 10px rgba(55, 70, 125, .25), inset -2px -2px 5px rgba(0, 0, 0, .14); }
.brand { font-size: 21px; }

/* QR: yumuşak çukur içinde */
.qr { border: 0; border-radius: 22px; padding: 16px; box-shadow: var(--clay-press); background: #fff; }
.qrph { border-radius: 12px; }

/* düğmeler: tombul, basınca yaylanır */
button, .btnlike { border-radius: var(--radius-sm); min-height: 48px; padding: 12px 22px;
  box-shadow: var(--btn-shadow, 3px 5px 12px rgba(55, 70, 125, .25), inset 1px 1px 2px rgba(255, 255, 255, .25), inset -2px -3px 6px rgba(0, 0, 0, .16));
  border: var(--btn-border, 0);
  transition: transform .2s var(--bounce), box-shadow .2s ease-out, background-color .15s; }
button:hover, .btnlike:hover { transform: var(--btn-lift, translateY(-2px)); background: var(--accent); }
button:active, .btnlike:active { transform: translateY(1px) scale(.98); box-shadow: var(--clay-press); }
button.ghost, .btnlike.ghost, button.danger { background: var(--surface); box-shadow: var(--clay-sm); border: var(--btn-border, 0); }
button.ghost:hover, .btnlike.ghost:hover { background: var(--surface); }
button.danger { color: var(--danger); }
button.danger:hover { background: var(--danger-soft); }
button.small, .btnlike.small { min-height: 40px; padding: 8px 14px; border-radius: 13px; }
.linkbtn, .linkbtn:hover { box-shadow: none; transform: none; background: none; }

/* girişler: içe basık */
#codeInput { border: 0; border-radius: var(--radius-sm); background: var(--sunken); box-shadow: var(--clay-press); padding: 12px 16px; }
#codeInput:focus { box-shadow: var(--clay-press), 0 0 0 3px var(--accent-soft); }

/* sayaç, seçim grupları */
.timer { border: 0; border-radius: var(--radius-sm); background: var(--sunken); box-shadow: var(--clay-press); padding: 5px 5px 5px 14px; }
.timer.hot { background: var(--danger-soft); }
.seg { border: 0; border-radius: var(--radius-sm); background: var(--sunken); box-shadow: var(--clay-press); padding: 4px; gap: 4px; }
.seg button { border-radius: 12px; min-height: 38px; box-shadow: none; }
.seg button:hover { transform: none; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.seg button.on { background: var(--surface); box-shadow: var(--clay-sm); color: var(--accent-text, var(--accent)); }
.seg button:active { box-shadow: none; }

/* bırakma alanı */
.drop { border: var(--drop-border, 3px dashed var(--line-strong)); border-radius: 20px; background: color-mix(in srgb, var(--sunken) 50%, transparent); padding: 30px 16px; transition: transform .2s var(--bounce), border-color .15s, background-color .15s; }
.drop:hover, .drop.over { transform: scale(1.01); }
.dropico { width: 52px; height: 52px; box-shadow: var(--clay-sm); background: var(--surface); }
.dropico .i { width: 24px; height: 24px; }

/* listeler ve kutular */
.item { border: var(--item-border, 0); border-radius: var(--radius-item, 18px); padding: 12px 14px; box-shadow: var(--clay-sm); }
.bar { height: 8px; border-radius: 4px; box-shadow: var(--clay-press); }
.bar > i { border-radius: 4px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #8fd3ff)); }
.safe { border-radius: 18px; box-shadow: var(--clay-press); }
.chip2 { border-radius: 10px; padding: 4px 10px; }
.toast { border: 0; border-radius: 18px; box-shadow: var(--clay-sm); }
.printhint { border-radius: 18px; box-shadow: 0 12px 30px rgba(15, 27, 45, .3); }
.dot { box-shadow: 0 0 0 5px var(--ok-soft); }
.vemoji { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); box-shadow: var(--clay-sm); font-size: 36px; }
.incoming .vemoji { font-size: 40px; width: 72px; height: 72px; }
.spinner { border-width: 4px; }

@media (max-width: 720px) {
  .waitbox { padding: 22px 16px; gap: 20px; }
  .panel { padding: 18px; }
  .vemoji { width: 52px; height: 52px; font-size: 30px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { button:hover, .btnlike:hover, .drop:hover { transform: none; } }

/* QR ortasında işletme logosu */
.qr { position: relative; }
.qrlogo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 21%; height: 21%; object-fit: contain;
  background: #fff; padding: 5px; border-radius: 14%; box-shadow: 0 0 0 4px #fff; }
.shoplogo { height: 42px; max-width: 180px; }

/* dükkan sahibi şifre girişi */
.owner { margin-top: 22px; }
.pinform { margin-top: 22px; width: min(440px, 100%); text-align: left; display: grid; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay); border: var(--card-border, 1px solid var(--line)); }
.pinform label { font-size: 14px; color: var(--ink-2); }
#pinInput { flex: 1; min-width: 0; font: 600 22px/1 var(--mono); letter-spacing: .3em; text-align: center; padding: 12px; border: 0; border-radius: var(--radius-sm); background: var(--sunken); color: var(--ink); box-shadow: var(--clay-press); }
#pinInput:focus { outline: none; box-shadow: var(--clay-press), 0 0 0 3px var(--accent-soft); }
.pinmsg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--danger); }

/* bağlantı isteği: ekranın ortasında, kaçırılamaz */
.incoming-wrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px;
  background: rgba(12, 18, 36, .55); backdrop-filter: blur(4px); animation: fade .15s ease-out; }
.incoming-wrap .incoming { width: min(460px, 100%); margin: 0; flex-direction: column; text-align: center; gap: 12px; padding: 28px 24px;
  background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: pop .25s var(--bounce, ease-out); }
.incoming-wrap .vemoji { width: 96px; height: 96px; font-size: 60px; border-radius: 28px; }
.incoming-wrap strong { font-size: 24px; }
.incoming-wrap #inText { color: var(--ink-2); font-size: 16px; }
.inbtns { display: flex; gap: 10px; width: 100%; margin-top: 6px; }
.inbtns button { flex: 1; min-height: 54px; font-size: 17px; }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { transform: scale(.92); opacity: 0 } to { transform: none; opacity: 1 } }

/* ---------- boşluk düzeni (tüm temalar) ---------- */
.top { padding: 36px 16px 28px; }
main { padding: 8px 20px 48px; }
.waitbox { margin-top: 0; }
.enter { margin-top: 28px; }
#vRoom .grid { gap: 24px; margin-top: 28px; }
.toast { margin-top: 20px; }
.note { margin-top: 24px; }
.center { padding-top: 40px; }
@media (max-width: 720px) {
  .top { padding: 24px 16px 20px; }
  main { padding: 4px 16px 36px; }
  .enter { margin: 0 0 20px; }
  #vRoom .grid { gap: 18px; margin-top: 20px; }
}

/* dükkan ekranı: QR okutamayanlar için kısa adres */
.shopaddr { display: grid; gap: 4px; margin: 4px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.shopaddr b { font: 700 clamp(17px, 2.2vw, 22px)/1.25 var(--mono); color: var(--ink); word-break: break-all; }

/* ---------- taşma koruması: uzun dosya / dükkan adları kutudan çıkmasın ---------- */
.grid, #vRoom .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.single { grid-template-columns: minmax(0, 640px); }
.panel, .list, .list > li, .item, .vmain, .waitinfo { min-width: 0; }
.item .row { flex-wrap: nowrap; align-items: flex-start; }
.item .name {
  white-space: normal; overflow-wrap: anywhere; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35;
}
.item .meta { white-space: nowrap; padding-top: 1px; }
.chip2 { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.item .rcpt, .item > .muted { overflow-wrap: anywhere; }
.vmain, #vText, #inText, .toast, .printhint, .safe, #connMsg, .status { overflow-wrap: anywhere; }
.brand { max-width: 100%; min-width: 0; }
#brandName, .brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.top { min-width: 0; }
@media (max-width: 720px) {
  .grid, #vRoom .grid, .grid.single { grid-template-columns: minmax(0, 1fr); }
  .item .row { flex-wrap: wrap; }
  .item .meta { width: 100%; }
}
.incoming-wrap .incoming { min-width: 0; max-width: 100%; box-sizing: border-box; }
.incoming-wrap .incoming > * { min-width: 0; max-width: 100%; }
#dlAskText, #inText { overflow-wrap: anywhere; word-break: break-word; }

/* ücretsiz deneme bandı (sadece dükkan ekranında) */
.trialbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 12px 16px 12px 18px; border-radius: var(--radius); background: var(--surface);
  border: var(--card-border, 1px solid var(--line)); box-shadow: var(--clay-sm); font-size: 14.5px; }
.trialbar .tb-text { color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.trialbar b { color: var(--ink); }
.trialbar.urgent { background: color-mix(in srgb, var(--danger-soft) 60%, var(--surface)); }
.trialbar .btnlike { flex: none; }
#subLink { margin-top: 18px; }

/* güvenlik kontrolü */
.riskwarn { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 500; color: var(--danger); background: var(--danger-soft); border-radius: 10px; padding: 7px 10px; overflow-wrap: anywhere; }
.item.blocked .row { flex-direction: column; align-items: flex-start; gap: 4px; }
.item.blocked .name { flex: none; width: 100%; text-decoration: line-through; color: var(--muted); }
.item.blocked .meta { white-space: normal; text-align: left; font-weight: 600; flex: none; }
.item.blocked .chip2 { display: none; }

/* çok müşterili dükkan ekranı */
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; margin-top: 24px; align-items: start; }
.cust { background: var(--surface); border: var(--card-border, 1px solid var(--line)); border-radius: var(--radius); box-shadow: var(--clay); padding: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; animation: rise .2s var(--ease); transition: opacity .25s, transform .25s; }
.cust.leaving { opacity: 0; transform: scale(.97); }
.cust-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cust-h .vemoji { width: 52px; height: 52px; font-size: 30px; flex: none; }
.cust-t { flex: 1; min-width: 0; display: grid; }
.cust-t b, .cust-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust-h .timer { flex: none; padding: 4px 10px; }
.cust-h .tval { font-size: 18px; min-width: 2.8em; }
.cust-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cust-tools .danger { margin-left: auto; }
.cust .list { margin: 0; }
.cust-empty { margin: 0; }
.waitbox.compact { grid-template-columns: auto 1fr; gap: 24px; padding: 20px 24px; }
.waitbox.compact .qr { width: 196px; height: auto; padding: 10px; }
.waitbox.compact .qr svg, .waitbox.compact .qrph { width: 176px; height: 176px; }
.waitbox.compact h1 { font-size: 22px; margin-bottom: 10px; }
@media (max-width: 720px) { .waitbox.compact { grid-template-columns: minmax(0, 1fr); } }

/* cihaz numarası rozeti (emoji yerine) */
.vemoji.num { font: 800 26px/1 var(--font-head, inherit); color: var(--accent-ink); background: var(--accent); letter-spacing: -0.02em; }
.cust-h .vemoji.num { font-size: 24px; }
.verify .vemoji.num { font-size: 28px; }

.item .savednote { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--ink-2); background: var(--sunken); border-radius: 8px; padding: 6px 9px; overflow-wrap: anywhere; }

/* müşteriyi ayırt etme bildirimi */
.buzz .incoming { border-color: var(--accent); }
.buzz .vemoji.num { width: 110px; height: 110px; font-size: 56px; border-radius: 30px; animation: pulse 1s infinite; }
.cust.flash { box-shadow: 0 0 0 4px var(--accent), var(--clay); }

/* müşteri numarası rozeti */
.cust .vemoji.num { background: var(--dev, var(--accent)); color: #fff; }
.cust.flash { box-shadow: 0 0 0 4px var(--dev, var(--accent)), var(--clay); }

/* müşteri kasayı çağırdı */
.cust.calling { animation: callpulse 1.2s ease-in-out infinite; }
@keyframes callpulse { 0%,100% { box-shadow: 0 0 0 0 var(--dev, var(--accent)), var(--clay); } 50% { box-shadow: 0 0 0 6px var(--dev, var(--accent)), var(--clay); } }
.callbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--dev, var(--accent)) 14%, var(--surface)); color: var(--ink); font-weight: 600; font-size: 14px; }
#btnCall { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .cust.calling { animation: none; box-shadow: 0 0 0 4px var(--dev, var(--accent)); } }

.incoming.shake { animation: shake .45s ease-in-out; }
@keyframes shake { 0%,100% { transform: none } 20% { transform: translateX(-8px) } 40% { transform: translateX(8px) } 60% { transform: translateX(-5px) } 80% { transform: translateX(5px) } }
@media (prefers-reduced-motion: reduce) { .incoming.shake { animation: none; } }

/* dükkan ekranı: QR afişte, burada sade bekleme kartı */
.waitbox.shopwait { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.waitbox.shopwait .waitinfo h1 { margin-bottom: 8px; }
.waitbox.shopwait .shopwaitmsg { margin: 0 0 16px; }
.waitbox.shopwait .status { justify-content: center; }
/* geniş ekranda bağlantı mesajı sütunu daralıp kelime kelime kırılmasın */
@media (min-width: 721px) { .verify .vmain { min-width: 220px; } }
/* telefonda tek panel varsa (gelen dosya yokken) tüm genişliği kullansın */
#vRoom .grid.single { grid-template-columns: minmax(0, 1fr); }
.waitbox.shopwait #custScreen { display: inline-block; margin-top: 12px; }
.waitbox.shopwait #custScreenHint { margin: 6px 0 0; max-width: 46ch; }

/* müşteri ekranı (şifresiz bilgisayar/tablet): solda büyük QR, sağda kimin dosyası geldi */
.dsp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start;
  background: var(--surface); border: var(--card-border, 1px solid var(--line)); border-radius: var(--radius); box-shadow: var(--clay); padding: clamp(20px, 3vw, 40px); }
.dsp-qrcol { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.dsp .dsp-qr { width: min(100%, 56vh, 440px); height: auto; aspect-ratio: 1; padding: clamp(10px, 1.6vw, 18px); }
.dsp .dsp-qr svg { width: 100%; height: 100%; display: block; }
.dsp-title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; margin: 20px 0 8px; }
.dsp-title .acc { color: var(--accent-on-light, var(--accent)); }
.dsp-url { font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.dsp-board { min-width: 0; }
.dsp-bhead { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dsp-bhead h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); }
.dsp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dsp-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: calc(var(--radius) - 6px); background: var(--bg); box-shadow: var(--clay-sm); }
.dsp-list li.done { opacity: .62; }
.dsp-list .vemoji.num { width: 52px; height: 52px; font-size: 24px; flex: none; }
.dsp-t { display: grid; gap: 2px; min-width: 0; font-size: clamp(16px, 1.6vw, 20px); }
.dsp-empty { margin: 8px 0 0; font-size: 17px; }
.dsp-tools { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 860px) {
  .dsp { grid-template-columns: minmax(0, 1fr); }
  .dsp .dsp-qr { width: min(100%, 360px); }
}

/* müşteri seçimi: birden çok kasa açıksa */
.kasapick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; width: min(420px, 100%); margin-top: 18px; }
.kasapick button { min-height: 60px; font-size: 18px; }
/* müşteri ekranı: kasa etiketi, izin bekleyen, dükkan kapalı */
.dsp-kasa { margin-top: 10px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text, var(--accent)); }
.dsp-list li.ask { background: var(--warn-soft); }
.dsp-closed { display: grid; justify-items: center; text-align: center; gap: 8px; padding: clamp(48px, 12vh, 120px) 16px; }
.dsp-closed h1 { font-size: clamp(32px, 5vw, 56px); margin: 8px 0 0; }
.dsp-closed p { font-size: 18px; margin: 0; }
.dsp-closed-ico { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 28px; background: var(--sunken); color: var(--muted); }
.dsp-closed-ico .i { width: 40px; height: 40px; }

/* =====================================================================
   Müşteri bilgisayarı (istasyon.js)
   ===================================================================== */
main:has(#stWork:not([hidden])) { max-width: 1240px; }
.st-idle { margin-top: clamp(8px, 4vh, 48px); }
.st-idle .waitinfo .status { margin-top: 18px; }
.st-work { display: grid; gap: 16px; }
.st-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay-sm, none); border: var(--card-border, 1px solid var(--line)); position: sticky; top: 8px; z-index: 5; }
.st-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--sunken); font-size: 14px; font-weight: 600; color: var(--muted); }
.st-pill.on { background: var(--ok-soft); color: var(--ok); }
.st-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.st-empty { text-align: center; font-size: 17px; padding: 40px 16px; margin: 0; }
.st-files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }
.st-file { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay-sm, none); border: var(--card-border, 1px solid var(--line)); }
.st-file.err { opacity: .75; }
.st-file.sent .st-state { color: var(--ok); }
.st-thumb { width: 112px; height: 140px; border-radius: 12px; background: var(--sunken); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.st-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.st-thumb .i { width: 28px; height: 28px; }
.st-kind { font: 800 20px/1 var(--mono); letter-spacing: .04em; }
.st-info { display: grid; gap: 6px; align-content: start; min-width: 0; }
.st-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.st-state { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.st-file.err .st-state { color: var(--danger); }
.st-prefs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.st-prefs .seg button { min-height: 32px; padding: 3px 10px; font-size: 13px; }
.st-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.st-send { display: grid; justify-items: center; gap: 6px; padding: 8px 0 4px; position: sticky; bottom: 8px; }
.st-send .big { min-height: 58px; padding: 12px 34px; font-size: 18px; box-shadow: 0 10px 30px rgba(15, 27, 45, .25); }
.riskwarn { font-size: 13px; color: var(--danger); font-weight: 500; }
@media (max-width: 760px) {
  .st-file { grid-template-columns: 84px minmax(0, 1fr); }
  .st-thumb { width: 84px; height: 108px; }
}

/* düzenleyici (duzenle.js) */
body.ed-open { overflow: hidden; }
.ed { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.ed-h { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ed-title { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 200px; }
.ed-msg { color: var(--muted); font-size: 14px; }
.ed-hb { display: flex; gap: 8px; }
.ed-note { margin: 0; padding: 8px 18px; font-size: 14px; color: var(--ink-2); background: var(--warn-soft); }
.ed-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ed-tools:empty { display: none; }
.ed-tools .on { background: var(--accent-soft); border-color: var(--accent-text, var(--accent)); }
.ed-tools .b { font-weight: 800; } .ed-tools .i { font-style: italic; } .ed-tools .u { text-decoration: underline; }
.ed-range { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ed-range input { width: 120px; }
.ed-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.ed-body { overflow: auto; position: relative; padding: 16px; flex: 1 1 auto; min-height: 0; }
.ed-stage { display: flex; min-height: 100%; min-width: fit-content; }
.ed-canvas { margin: auto; flex: none; box-shadow: 0 6px 24px rgba(0,0,0,.18); background: #fff; touch-action: none; cursor: grab; }
.ed-canvas.cropping { cursor: crosshair; } .ed-canvas.panning { cursor: grabbing; }
.ed-zoom { display: inline-flex; align-items: center; gap: 4px; }
.ed-zoom button { min-width: 40px; }
.ed-zval { min-width: 58px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.ed-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ed-page { display: grid; gap: 6px; justify-items: center; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ed-page.del { opacity: .4; }
.ed-page.del .ed-pthumb { outline: 3px solid var(--danger); }
.ed-pthumb { all: unset; cursor: zoom-in; width: 170px; height: 220px; display: grid; place-items: center; background: #fff; border-radius: 6px; overflow: hidden; }
.ed-pthumb img { max-width: 100%; max-height: 100%; transition: transform .15s; }
.ed-pbtns { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.ed-pbtns button { min-height: 32px; padding: 3px 10px; }
.ed-view { position: fixed; inset: 0; z-index: 2; background: rgba(15, 27, 45, .75); overflow: auto; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 18px; }
.ed-viewbar { display: flex; gap: 12px; align-items: center; color: #fff; }
.ed-view canvas { background: #fff; max-width: 100%; }
.ed-paper { max-width: 820px; margin: 0 auto; background: #fff; color: #111; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.ed-doc { min-height: 70vh; padding: 48px 56px; outline: none; font: 16px/1.5 Calibri, Arial, sans-serif; }
.ed-doc table { border-collapse: collapse; } .ed-doc td, .ed-doc th { border: 1px solid #999; padding: 3px 6px; }
.ed-doc img { max-width: 100%; height: auto; }
.ed-sheet { overflow: auto; background: #fff; color: #111; border-radius: 6px; }
.ed-sheet table { border-collapse: collapse; font: 14px/1.3 Calibri, Arial, sans-serif; }
.ed-sheet td { border: 1px solid #ccc; padding: 4px 8px; min-width: 70px; white-space: pre; outline: none; }
.ed-sheet td:focus { box-shadow: inset 0 0 0 2px #2563eb; }
.ed-tabs { flex-wrap: wrap; }
.ed-text { width: 100%; min-height: 70vh; box-sizing: border-box; font: 15px/1.5 var(--mono); padding: 16px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: #111; }
.ed-info { display: grid; place-items: center; min-height: 40vh; text-align: center; font-size: 18px; color: var(--ink-2); }
@media (max-width: 720px) { .ed-doc { padding: 24px 18px; } }
.st-alt { display: flex; gap: 10px; flex-wrap: wrap; }
.st-web .st-webgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; width: 100%; }
.st-web .st-webgrid button { min-height: 56px; font-size: 16px; }
.st-web .st-webgrid .st-browser { grid-column: 1 / -1; min-height: 64px; font-size: 18px; }
.incoming-wrap .st-web { width: min(560px, 100%); }

/* müşteri bilgisayarı: tam ekran kilidi */
.st-corner { position: fixed; right: 14px; top: 14px; z-index: 50; }
.st-unlock { width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; opacity: .35; background: var(--surface); color: var(--muted); box-shadow: var(--clay-sm); border: 0; }
.st-unlock:hover, .st-unlock:focus-visible { opacity: 1; }
.st-lock { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: var(--bg); }
.st-lock .incoming { width: min(440px, 100%); margin: 0; flex-direction: column; align-items: stretch; text-align: center; padding: 32px 28px; }
.st-lockmain { display: grid; gap: 12px; justify-items: center; text-align: center; width: 100%; }
.st-lockmain .dsp-closed-ico { margin-bottom: 4px; }
.st-lockmain strong { font-size: 22px; }
.st-pinform { display: grid; gap: 8px; width: 100%; text-align: left; }
.st-pinform label { font-weight: 600; font-size: 14px; }
.st-pinform input { flex: 1; min-width: 0; font: 600 22px/1 var(--mono); letter-spacing: .3em; text-align: center; padding: 12px; border: 0; border-radius: var(--radius-sm); background: var(--sunken); color: var(--ink); box-shadow: var(--clay-press); }
.st-pinmsg { margin: 0; min-height: 1.2em; color: var(--danger); font-size: 14px; }
#stPinBox { display: grid; gap: 10px; justify-items: center; width: 100%; }
