/* No Phone Party — predarea telefonului.
   Culori și fonturi din sistemul vizual HHT (design-system/hht). Telefon întâi.
   Ideea vizuală: eticheta portocalie de pe pungă e personajul. Pe formular e o etichetă mică,
   la confirmare crește cât tot ecranul. Semnătura se face pe „hârtie” albă. Fără umbre și gradienturi. */

@font-face { font-family: 'Archivo Black HHT'; src: url('fonts/ArchivoBlack.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans HHT'; src: url('fonts/DMSansHHT-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans HHT'; src: url('fonts/DMSansHHT-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --night: #101014;
  --night-2: #1a1a21;
  --night-3: #24242d;
  --paper: #f6f5f1;
  --amber: #f5a51b;
  --ink: #101014;
  --line-dark: #3b3b44;
  --ink-2-dark: #c5c2bd;
  --loss-dark: #ff8a80;
  --win-dark: #7fd39a;
  --sand: #ebe7dd;
  --line: #d6d1c6;
  --ink-2: #5d6067;
  --title: 'Archivo Black HHT', 'Arial Black', Impact, sans-serif;
  --text: 'DM Sans HHT', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 500 17px/1.45 var(--text);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body[data-surface='amber'] { background: var(--amber); }
h1, h2, p, ol, ul, dl { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.screen-amber :focus-visible { outline-color: var(--ink); }
.screen-amber .panel :focus-visible { outline-color: var(--amber); }

/* ------------------------------------------------------------ cadrul paginii */

.screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) var(--pad) calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.screen-amber { background: var(--amber); color: var(--ink); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.logo { height: 40px; width: auto; display: block; }
.top-event { display: flex; flex-direction: column; align-items: flex-end; font: 700 13px/1.25 var(--text); letter-spacing: .03em; color: var(--ink-2-dark); text-align: right; }

.stack { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; }
.kicker { font: 700 15px/1.1 var(--text); color: var(--ink-2-dark); }
.title { font: 400 30px/1.1 var(--title); letter-spacing: -.005em; }
.lead { font-size: 18px; line-height: 1.4; color: var(--ink-2-dark); }
.muted { color: var(--ink-2-dark); font-size: 15px; }
.noscript { padding: 20px; font-size: 17px; }

/* ----------------------------------------------------------- fotografiile
   Făcute cu generatorul de imagini din Codex (vizual/BRIEF-IMAGINI.md): peretele de telefoane în pungi
   și telefonul în punga lui. Peste ele stă un văl închis, ca textul să se citească. */
.has-art::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 262px; z-index: 0;
  background-image: linear-gradient(to bottom, rgba(16, 16, 20, .62) 0%, rgba(16, 16, 20, .18) 34%, rgba(16, 16, 20, .72) 68%, #101014 90%, #101014 100%), url('art/wall-strip.webp');
  background-size: 100% 100%, cover; background-position: 0 0, 60% 30%; background-repeat: no-repeat;
  /* Fotografia se oprește cu 14 px mai sus decât vălul, ca la îmbinarea cu fundalul să nu rămână nicio dungă. */
  padding-bottom: 14px; background-origin: border-box, content-box; background-clip: border-box, content-box;
}
.has-art > * { position: relative; z-index: 1; }
.has-art .form, .has-art .boot, .has-art .stack, .has-art .pin-form { padding-top: 74px; }
.is-after::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 690px; z-index: 0;
  background-image: linear-gradient(to bottom, #101014 0%, #101014 22%, rgba(16, 16, 20, .6) 46%, rgba(16, 16, 20, 0) 62%, rgba(16, 16, 20, 0) 86%, #101014 100%), url('art/pouch-hero.webp');
  background-size: 100% 100%, 108% auto; background-position: 0 0, 50% 100%; background-repeat: no-repeat;
  padding-bottom: 14px; background-origin: border-box, content-box; background-clip: border-box, content-box;
}
.is-after > * { position: relative; z-index: 1; }
.is-after .after-hero { min-height: 570px; }

/* Eticheta de pe pungă, în mic. */
.tag {
  position: relative; align-self: flex-start;
  display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 12px;
  padding: 12px 22px 11px 46px;
  background: var(--amber); color: var(--ink);
  border-radius: 20px;
  transform: rotate(-2.5deg); transform-origin: 20% 50%;
}
.tag::before { content: ''; position: absolute; left: 17px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--night); }
.tag-cap { grid-column: 1 / -1; font: 700 14px/1.1 var(--text); }
.tag-num { font: 400 58px/.86 var(--title); letter-spacing: -.01em; margin-left: -.03em; }
.tag-code { font: 700 15px/1 var(--text); letter-spacing: .1em; padding-bottom: 5px; }
.boot { padding-top: 26px; display: flex; flex-direction: column; gap: 22px; }

/* ------------------------------------------------------------------- butoane */

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 0 18px;
  border: 0; border-radius: 18px;
  font: 700 18px/1.1 var(--text); text-decoration: none; text-align: center;
  transition: transform .08s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.985); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:disabled, .btn-amber[aria-disabled='true'] { background: var(--night-3); color: #9c9ca4; }
.btn-ghost { background: transparent; color: var(--paper); border: 2px solid var(--line-dark); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost-ink { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-text { background: none; border: 0; padding: 12px 0; min-height: 48px; font: 700 16px/1 var(--text); color: var(--paper); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.btn.is-busy { opacity: .75; pointer-events: none; }
.block-form { display: flex; flex-direction: column; gap: 14px; }

/* ----------------------------------------------------------------- formular */

.form { display: flex; flex-direction: column; gap: 22px; padding-top: 24px; flex: 1; }
.form-head { display: flex; flex-direction: column; gap: 18px; }
.form-head .lead { font-size: 17px; }

.field { display: block; }
.field-label { display: block; font: 700 16px/1.25 var(--text); margin-bottom: 8px; }
.field-help { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2-dark); }
.field-help:empty { display: none; }
.input {
  width: 100%; padding: 10px 0 9px;
  background: transparent; color: var(--paper);
  border: 0; border-bottom: 2px solid var(--line-dark); border-radius: 0;
  font: 500 22px/1.25 var(--text);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .15s ease;
}
.input::placeholder { color: #6f6f78; }
.input:focus { border-bottom-color: var(--amber); }
.input-big { font: 400 34px/1.2 var(--title); letter-spacing: .04em; text-transform: uppercase; }
.field.is-bad .input { border-bottom-color: var(--loss-dark); }
.field.is-bad .field-help { color: var(--loss-dark); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-btn {
  min-height: 54px; padding: 0 12px;
  background: var(--night-2); color: var(--paper);
  border: 2px solid transparent; border-radius: 16px;
  font: 700 17px/1 var(--text);
  transition: background-color .12s ease, color .12s ease;
}
.seg-btn[aria-pressed='true'] { background: var(--paper); color: var(--ink); }
.field.is-bad .seg-btn { border-color: var(--loss-dark); }

.rules { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rules li { position: relative; padding-left: 19px; font-size: 16px; line-height: 1.4; color: var(--ink-2-dark); }
.rules li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--amber); }
.rules-more { align-self: flex-start; margin-top: -10px; }
.rules-full { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--night-2); border-radius: 18px; }
.rules-full h2 { font: 700 16px/1.2 var(--text); color: var(--paper); }
.rules-full p { font-size: 15px; line-height: 1.45; color: var(--ink-2-dark); margin-top: 3px; }
.rules-full > h2 { font: 400 19px/1.15 var(--title); }

/* Semnătura: o bucată de hârtie albă pe fundalul închis. */
.sig-wrap { display: flex; flex-direction: column; gap: 4px; }
.sig-head { display: flex; align-items: baseline; justify-content: space-between; }
.sig-head .field-label { margin-bottom: 6px; }
.sig-head .btn-text { padding: 0; min-height: 0; font-size: 15px; color: var(--ink-2-dark); }
.sig {
  position: relative; width: 100%; aspect-ratio: 5 / 2;
  background: var(--paper); color: var(--ink);
  border-radius: 18px;
  outline: 3px solid transparent; outline-offset: 0;
  touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden;
  transition: outline-color .15s ease;
}
.sig.is-signed { outline-color: var(--amber); }
.sig.is-bad { outline-color: var(--loss-dark); }
.sig canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sig-line { position: absolute; left: 13%; right: 7%; top: 74%; height: 2px; background: #cdc8bc; pointer-events: none; }
.sig-x { position: absolute; left: 6.5%; top: 74%; margin-top: -19px; font: 400 20px/1 var(--title); color: #b3ad9f; pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-size: 16px; color: #8a867c; pointer-events: none; transition: opacity .15s; }
.sig.is-signed .sig-hint { opacity: 0; }

.form-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 2px; }
.progress { display: flex; align-items: center; gap: 12px; min-height: 22px; }
.squares { display: flex; gap: 5px; flex: none; }
.sq { width: 11px; height: 11px; background: var(--night-3); transition: background-color .2s ease, transform .2s cubic-bezier(.2, .9, .3, 1.4); }
.sq.is-on { background: var(--amber); transform: scale(1.1); }
.status { font-size: 15px; line-height: 1.4; color: var(--ink-2-dark); min-height: 21px; }
.status.is-bad { color: var(--loss-dark); }
.status:empty { min-height: 0; }
.foot-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: #8b8b93; }
.foot-links .btn-text { padding: 0; min-height: 44px; font-size: 14px; color: var(--ink-2-dark); flex: none; }

.alert { padding: 13px 16px; border-left: 4px solid var(--loss-dark); background: var(--night-2); border-radius: 0 14px 14px 0; font-size: 16px; line-height: 1.4; }
.alert-soft { border-left-color: var(--amber); color: var(--ink-2-dark); }
.manual { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }

/* ------------------------------------------------------ limbă, alegeri, reguli */

.lang { display: flex; gap: 2px; padding: 3px; background: rgba(16, 16, 20, .6); border: 1px solid var(--line-dark); border-radius: 999px; }
.lang-btn { min-width: 46px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2-dark); font: 700 14px/1 var(--text); letter-spacing: .04em; }
.lang-btn[aria-pressed='true'] { background: var(--paper); color: var(--ink); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  min-height: 96px; padding: 14px 10px 12px;
  background: var(--night-2); color: var(--paper);
  border: 2px solid transparent; border-radius: 18px;
  font: 700 16px/1.2 var(--text); text-align: center;
  transition: background-color .12s ease, color .12s ease, transform .08s ease;
}
.choice:active { transform: scale(.98); }
.choice-ico { display: block; width: 30px; height: 30px; color: var(--amber); }
.choice[aria-pressed='true'] { background: var(--paper); color: var(--ink); }
.choice[aria-pressed='true'] .choice-ico { color: var(--ink); }
.field.is-bad .choice { border-color: var(--loss-dark); }
.field.is-bad > .field-help { color: var(--loss-dark); }
.choice-ico svg, .rule-ico svg, .ico svg { display: block; width: 100%; height: 100%; }

.rules-block { display: flex; flex-direction: column; gap: 12px; }
.rules-block > .field-label { margin-bottom: 0; }
.rules-block .rules li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; padding-left: 0; }
.rules-block .rules li::before { content: none; }
.rule-ico { display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--night-2); color: var(--amber); }
.rules-block .rules-more { margin-top: -6px; }

.sig-head .sig-clear { min-height: 44px; padding: 10px 0 10px 18px; }
.foot-note { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.4; color: #9a9aa2; }
.foot-event { font-size: 13px; color: #7f7f88; }
.bi { display: block; margin-top: 4px; font-size: .82em; font-weight: 500; color: var(--ink-2-dark); }
.title .bi { font: 500 17px/1.3 var(--text); letter-spacing: 0; margin-top: 8px; }
.live-cap .bi, .live-hours .bi { display: inline; margin: 0 0 0 .6em; font-family: var(--text); font-weight: 500; font-size: .5em; color: var(--ink-2-dark); }
/* ------------------------------------------- confirmarea: eticheta cât ecranul */

.conf { display: flex; flex-direction: column; flex: 1; }
.conf-top { padding: 6px 0 22px; }
.clock { font: 400 18px/1 var(--title); }
.conf-hello { font: 700 21px/1.2 var(--text); margin-top: 14px; }
.conf-num { font: 400 clamp(124px, 45vw, 236px)/.8 var(--title); letter-spacing: -.02em; margin: 10px 0 0 -.045em; }
.conf-name { font: 700 19px/1.25 var(--text); margin-top: 14px; overflow-wrap: anywhere; }
.conf-time { font-size: 16px; line-height: 1.3; }
.test-flag { display: inline-block; margin-top: 10px; padding: 4px 11px; border: 2px solid currentColor; border-radius: 999px; font: 700 13px/1.2 var(--text); }

.panel {
  flex: 1; display: flex; flex-direction: column;
  margin: 0 calc(-1 * var(--pad)) calc(-20px - env(safe-area-inset-bottom));
  padding: 24px var(--pad) calc(20px + env(safe-area-inset-bottom));
  background: var(--night); color: var(--paper);
  border-radius: 28px 28px 0 0;
}
.panel-title { font: 400 22px/1.15 var(--title); margin-bottom: 16px; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 14px; padding: 5px 0; font: 700 19px/1.25 var(--text); }
.step-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--night-2); color: var(--amber); }
.step-ico svg { width: 26px; height: 26px; display: block; }
.conf-foot { margin-top: auto; padding-top: 20px; font-size: 15px; line-height: 1.4; color: var(--ink-2-dark); }
.conf-foot .foot-links { margin-top: 4px; }
.conf-foot .foot-links .btn-text { color: var(--paper); font-size: 15px; }

.flood { animation: flood .52s cubic-bezier(.2, .8, .2, 1) both; }
.flood .conf-num { animation: land .5s cubic-bezier(.2, .9, .3, 1.25) .16s both; }
.flood .conf-hello, .flood .conf-name, .flood .conf-time { animation: rise .4s ease .3s both; }
.flood .panel { animation: panel .5s cubic-bezier(.2, .8, .2, 1) .22s both; }
.flood .steps li { animation: rise .4s ease both; }
.flood .steps li:nth-child(1) { animation-delay: .42s; }
.flood .steps li:nth-child(2) { animation-delay: .5s; }
.flood .steps li:nth-child(3) { animation-delay: .58s; }
@keyframes flood {
  from { clip-path: circle(0% at var(--ox, 50%) var(--oy, 92%)); }
  to { clip-path: circle(160% at var(--ox, 50%) var(--oy, 92%)); }
}
@keyframes land {
  from { transform: translateY(26px) scale(.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rise {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes panel {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  max-width: 520px; margin: 0 auto;
  padding: 12px var(--pad) calc(22px + env(safe-area-inset-bottom));
  background: var(--paper); color: var(--ink);
  border-radius: 28px 28px 0 0;
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.sheet::before { content: ''; align-self: center; width: 44px; height: 5px; border-radius: 3px; background: #cfcabd; margin-bottom: 6px; }
.sheet.is-open { transform: none; }
.sheet .title { font-size: 27px; }
.sheet .status { color: var(--ink-2); }
.sheet .status.is-bad { color: #b3261e; }
.sheet .btn-ghost { color: var(--ink); border-color: var(--ink); }
.sheet .btn-amber { background: var(--ink); color: var(--paper); }
.sheet :focus-visible { outline-color: var(--ink); }

/* ------------------------------------------------------------------- „după” */

.after { display: flex; flex-direction: column; gap: 26px; padding-top: 26px; flex: 1; }
.after-hero { position: relative; }
.after-hello { font: 700 20px/1.2 var(--text); color: var(--ink-2-dark); }
.after-num { font: 400 clamp(62px, 19.5vw, 112px)/.9 var(--title); color: var(--amber); letter-spacing: -.015em; margin: 12px 0 0 -.03em; }
.after-part { display: block; white-space: nowrap; }
.after-cap { font: 400 30px/1.05 var(--title); margin-top: 10px; }
.hours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hour { position: relative; width: 22px; height: 22px; background: var(--night-3); overflow: hidden; }
.hour-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--amber); }
.after-line { font-size: 16px; line-height: 1.4; color: var(--ink-2-dark); margin-top: 14px; }
.spark { position: absolute; left: 30%; top: 46%; width: 12px; height: 12px; background: var(--amber); opacity: 0; pointer-events: none; animation: spark .95s cubic-bezier(.15, .7, .3, 1) forwards; }
.spark.is-paper { background: var(--paper); }
@keyframes spark {
  0% { transform: translate(0, 0) rotate(0) scale(.4); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); opacity: 0; }
}
.block { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--night-2); border-radius: 22px; }
.block h2 { font: 400 21px/1.15 var(--title); }
.block p { font-size: 16px; line-height: 1.4; color: var(--ink-2-dark); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; color: var(--ink-2-dark); }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--amber); }
.after .input { font-size: 19px; }

/* ----------------------------------------------------------------- echipa */

.crew { max-width: 760px; gap: 18px; }
.pin-form { display: flex; flex-direction: column; gap: 22px; padding-top: 26px; max-width: 420px; }
.pin-input { font: 400 40px/1.1 var(--title); letter-spacing: .28em; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.counter { padding: 14px 12px 12px; background: var(--night-2); border-radius: 16px; min-width: 0; }
.counter b { display: block; font: 400 32px/1 var(--title); }
.counter.is-main { background: var(--amber); color: var(--ink); }
.counter span { display: block; margin-top: 7px; font-size: 13px; line-height: 1.2; color: var(--ink-2-dark); }
.counter.is-main span { color: var(--ink); font-weight: 700; }
.now-line { font-size: 16px; color: var(--ink-2-dark); }
.now-line strong { color: var(--paper); font-weight: 700; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tab { min-height: 50px; background: var(--night-2); border: 0; border-radius: 16px; font: 700 16px/1 var(--text); color: var(--paper); }
.tab[aria-selected='true'] { background: var(--paper); color: var(--ink); }
.search-input { font-size: 24px; }
.rows { list-style: none; padding: 0; display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line-dark); text-align: left; min-height: 60px; }
.row-num { font: 400 24px/1 var(--title); }
.row-name { font-size: 17px; overflow-wrap: anywhere; }
.row-sub { display: block; font-size: 13px; color: var(--ink-2-dark); }
.pill { padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--text); white-space: nowrap; border: 1px solid var(--line-dark); color: var(--ink-2-dark); }
.pill.is-held { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.pill.is-returned { border-color: var(--win-dark); color: var(--win-dark); }
.pill.is-queue { border-color: var(--paper); color: var(--paper); }
.pill.is-woke { border-color: var(--amber); color: var(--amber); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--night-2); border-radius: 22px; }
.card-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.card-num { font: 400 46px/.9 var(--title); color: var(--amber); }
.card-name { order: 3; flex-basis: 100%; font: 700 20px/1.2 var(--text); overflow-wrap: break-word; }
.card-head .pill { order: 2; margin-left: auto; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.facts dt { color: var(--ink-2-dark); }
.facts dd { margin: 0; }
.card-sig { background: var(--paper); border-radius: 14px; padding: 6px; }
.card-sig svg { display: block; width: 100%; height: auto; }
.card-notes { white-space: pre-wrap; font-size: 15px; color: var(--ink-2-dark); }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.card .input { font-size: 18px; }
.crew-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--ink-2-dark); }
.crew-foot a { color: var(--paper); }
.empty { padding: 18px 0; color: var(--ink-2-dark); font-size: 16px; }

/* --------------------------------------------------------- ecranul din club */

.np-live { overflow: hidden; }
.live { min-height: 100vh; padding: 5vh 6vw; display: flex; flex-direction: column;
  background-image: linear-gradient(to right, #101014 0%, rgba(16, 16, 20, .9) 34%, rgba(16, 16, 20, .28) 100%), url('art/live-bg.webp'); background-size: cover; background-position: center; }
.live-top { display: flex; align-items: center; gap: 2.4vw; }
.live-top .logo { height: 9vh; }
.live-event { font: 700 2.6vh/1.2 var(--text); letter-spacing: .03em; color: var(--ink-2-dark); }
.live-main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.live-num { font: 400 min(46vh, 30vw)/.82 var(--title); color: var(--amber); letter-spacing: -.02em; margin-left: -.04em; }
.live-cap { font: 400 min(7vh, 5vw)/1.05 var(--title); margin-top: 2vh; }
.live-hours { font: 500 min(4vh, 2.8vw)/1.2 var(--text); color: var(--ink-2-dark); }
.live-hours span:first-child { font: 400 min(5vh, 3.4vw)/1 var(--title); color: var(--paper); }
.live[data-rehearsal='1'] .live-event::after { content: ' (probă)'; color: var(--amber); }
.live[data-state='offline'] .live-hours::after { content: ' (fără legătură)'; color: var(--loss-dark); }

/* ----------------------------------------------------------------- registru */

.np-registru { background: #fff; color: var(--ink); }
.registru { padding: 24px; font-size: 13px; }
.registru-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.registru-head .logo { height: 60px; }
.registru-head h1 { font: 400 22px/1.15 var(--title); }
.registru-head p { margin-top: 4px; color: var(--ink-2); }
.registru-actions { margin-left: auto; display: flex; gap: 8px; }
.registru-actions .btn { width: auto; min-height: 44px; font-size: 15px; border-radius: 12px; }
.reg-table { width: 100%; border-collapse: collapse; }
.reg-table th { text-align: left; font: 700 11px/1.2 var(--text); padding: 7px 6px; background: var(--sand); border-bottom: 1px solid var(--line); }
.reg-table td { padding: 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.reg-num { font: 400 16px/1 var(--title); }
.reg-sig svg { display: block; width: 130px; height: 52px; }
.reg-notes { max-width: 220px; color: var(--ink-2); }
.reg-table tr.st-void td { color: #9a9a9a; text-decoration: line-through; }
.reg-table tr.st-void td.reg-notes, .reg-table tr.st-void td.reg-sig { text-decoration: none; }
.tag-small { display: inline-block; padding: 1px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--ink-2); }
@media print {
  .registru-actions { display: none; }
  .registru { padding: 0; font-size: 10px; }
  .reg-table thead { display: table-header-group; }
  .reg-table tr { break-inside: avoid; }
}

@media (min-width: 700px) {
  .crew .counter b { font-size: 44px; }
  .crew .card-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .tag-num { font-size: 50px; }
  .counter b { font-size: 26px; }
  .steps li { font-size: 18px; }
}
@media (max-height: 700px) {
  .conf-num { font-size: clamp(110px, 38vw, 200px); }
  .step-ico { width: 46px; height: 46px; }
  .steps li { grid-template-columns: 46px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .flood, .flood * { animation: none !important; }
  .sheet, .btn, .sq { transition: none; }
  .spark { display: none; }
}
