/* =========================================================
   Grappler League — Reception Sign-In Kiosk
   Visual language: "Grappler League" comic energy
   Midnight surfaces · purple accent · bold Bricolage display
   ========================================================= */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }

:root {
  --ink:        #1E1E2F;
  --ink-2:      #16161f;
  --panel:      #26263b;
  --panel-2:    #2e2e47;
  --panel-line: #3b3b58;
  --purple:     #9999FF;
  --purple-bright: #b3b3ff;
  --blue:       #4F46E5;
  --blue-700:   #3B35AC;
  --green:      #00E88D;
  --on-dark:    #F4F6FC;
  --on-dark-2:  #b8b9d6;
  --on-dark-3:  #7c7d9e;
}

body {
  font-family: var(--font-body, "Nunito Sans", system-ui, sans-serif);
  background: #0c0c12;
  color: var(--on-dark);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Scaling stage + iPad device ---------- */
.stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 50% -20%, #1b1b2e 0%, #0c0c12 60%);
  overflow: hidden;
}
.device {
  position: relative;
  width: 1366px;
  height: 1024px;
  transform-origin: center center;
  border-radius: 44px;
  padding: 26px;
  background: linear-gradient(155deg, #2a2a33 0%, #14141a 55%, #25252e 100%);
  box-shadow:
    0 50px 120px rgba(0,0,0,.6),
    0 8px 24px rgba(0,0,0,.4),
    inset 0 0 0 2px rgba(255,255,255,.04);
}
.device::before { /* front camera dot */
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0a0a0f;
  box-shadow: inset 0 0 0 1.5px #34343f;
  transform: translateX(-50%);
}
.screen {
  position: relative;
  width: 1314px;
  height: 972px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
}

/* ---------- Shared midnight backdrop ---------- */
.bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 80% -10%, rgba(153,153,255,.20) 0%, transparent 55%),
    radial-gradient(80% 80% at -10% 110%, rgba(0,232,141,.10) 0%, transparent 50%),
    linear-gradient(160deg, #20203a 0%, #1a1a2c 45%, #14141f 100%);
  z-index: 0;
}
.layer > .bg, .layer > .bg-dots { z-index: 0; }
.bg-dots {
  position: absolute; inset: 0;
  background-image: url("assets/dot-pattern-purple.svg");
  background-repeat: no-repeat;
  background-position: right -60px bottom -60px;
  background-size: 420px;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}
/* keep foreground above the background layers inside each screen */
.layer { isolation: isolate; }
.layer > .bg, .layer > .bg-dots, .layer > .comic-bg, .layer > .comic-vignette { z-index: 0; }
.layer > *:not(.bg):not(.bg-dots):not(.comic-bg):not(.comic-vignette) { position: relative; z-index: 1; }
.bg-dots.tl { background-position: left -80px top -80px; transform: rotate(180deg); }

.layer { position: relative; z-index: 2; height: 100%; }

/* ---------- Typography helpers ---------- */
.eyebrow-league {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.eyebrow-league::after {
  content: "";
  height: 5px;
  width: 100%;
  background: var(--purple);
  border-radius: 2px;
  transform: skewX(-12deg);
}
.hero-name {
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .92;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.alias-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--purple);
  padding: 6px 16px;
  border-radius: 6px;
  transform: skewX(-7deg);
}
.alias-pill > span { display: inline-block; transform: skewX(7deg); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
  border: none;
  border-radius: var(--radius-md, 10px);
  padding: 18px 34px;
  cursor: pointer;
  transition: transform var(--dur-fast,120ms) var(--ease-out), background var(--dur-fast,120ms) var(--ease-out), box-shadow var(--dur-fast,120ms) var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-brand, 0 12px 28px rgba(79,70,229,.4));
}
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:disabled {
  background: #3a3a55; color: #6f6f92; box-shadow: none; cursor: not-allowed;
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 2px var(--panel-line);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-xl { font-size: 26px; padding: 24px 56px; border-radius: 14px; }
.btn-success { background: var(--green); color: var(--ink); box-shadow: 0 12px 28px rgba(0,232,141,.3); }
.btn-success:hover { background: #00cc7e; }

.linklike {
  background: none; border: none; cursor: pointer;
  color: var(--on-dark-2); font-family: var(--font-body); font-weight: 700;
  font-size: 17px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px; transition: color .12s, background .12s;
}
.linklike:hover { color: #fff; background: rgba(255,255,255,.05); }

/* ---------- Progress rail ---------- */
.steps { display: flex; align-items: center; gap: 10px; }
.steps .dot {
  width: 38px; height: 6px; border-radius: 999px; background: var(--panel-line);
  transition: background .25s var(--ease-out);
}
.steps .dot.done { background: var(--purple); }
.steps .dot.active { background: var(--green); }

/* ---------- Generic screen scaffold ---------- */
.pad { padding: 56px 64px; }
.head-row { display: flex; align-items: center; justify-content: space-between; }
.brand-mini { height: 30px; }
.screen-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  color: #fff; letter-spacing: -.015em; line-height: 1; margin: 0;
}

/* ---------- ATTRACT ---------- */
.attract { height: 100%; display: grid; grid-template-columns: 1.05fr .95fr; }
.attract-left { padding: 80px 0 80px 80px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.attract-kicker { display:flex; align-items:center; gap:18px; }
.attract h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  color: #fff; font-size: 110px; line-height: .88; letter-spacing: -.025em; margin: 0;
}
.attract h1 .accentword { color: var(--purple); }
.attract-sub { font-size: 26px; color: var(--on-dark-2); max-width: 30ch; line-height: 1.35; }
.attract-cta { display: flex; gap: 18px; align-items: center; margin-top: 12px; }
.pulse { animation: pulse 2.4s var(--ease-in-out) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: var(--shadow-brand);} 50%{ box-shadow: 0 12px 40px rgba(79,70,229,.7);} }
.attract-foot { font-size: 16px; color: var(--on-dark-3); letter-spacing:.02em; }

.attract-right { position: relative; }
.league-stack {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}

/* Floating mini hero badges on attract */
.float-card {
  position: absolute;
  width: 208px;
  animation: bob 6s ease-in-out infinite;
  will-change: transform;
}
.float-card .league-card { pointer-events: none; }
@keyframes bob {
  0%   { transform: translateY(10px) rotate(var(--rot,0deg)) scale(.99); }
  50%  { transform: translateY(-22px) rotate(calc(var(--rot,0deg) + 2deg)) scale(1.015); }
  100% { transform: translateY(10px) rotate(var(--rot,0deg)) scale(.99); }
}

/* ---------- Medallion avatar ---------- */
.medallion {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(150deg, #b9b5ff 0%, #6e63f0 45%, #4F46E5 100%);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), 0 10px 24px rgba(79,70,229,.35);
  overflow: hidden;
}
.medallion::after {
  content: ""; position: absolute; right: -14px; bottom: -14px;
  width: 60%; height: 60%;
  background: url("assets/dot-pattern-purple.svg") right bottom / contain no-repeat;
  opacity: .5; mix-blend-mode: screen;
}
.medallion.round { border-radius: 50%; }
.medallion img { width: 100%; height: 100%; object-fit: cover; display: block; }
.medallion.has-img { background: #1a1a2a; }
.medallion.has-img::after { display: none; }

/* ---------- League card grid (select) ---------- */
.select-wrap { height: 100%; display: flex; flex-direction: column; }
.select-scroll { flex: 1; overflow-y: auto; padding: 8px 64px 40px; }
.select-scroll::-webkit-scrollbar { width: 10px; }
.select-scroll::-webkit-scrollbar-thumb { background: var(--panel-line); border-radius: 999px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.league-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: linear-gradient(180deg, #2c2c46, #191926);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 0;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
  overflow: hidden;
}
.league-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--purple), 0 20px 40px rgba(0,0,0,.5); }
.league-card.sel { box-shadow: inset 0 0 0 3px var(--green), 0 22px 44px rgba(0,232,141,.22); }

/* big portrait */
.league-card .lc-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 22%, #34344f, #191928);
}
.league-card .lc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.league-card .lc-initials {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: #fff;
  letter-spacing: -.02em; font-size: 96px;
  background: linear-gradient(150deg, #b9b5ff 0%, #6e63f0 45%, #4F46E5 100%);
}
.league-card .lc-initials::after {
  content: ""; position: absolute; right: -8px; bottom: -8px; width: 52%; height: 52%;
  background: url("assets/dot-pattern-purple.svg") right bottom / contain no-repeat;
  opacity: .45; mix-blend-mode: screen;
}
/* eyebrow chip over portrait */
.league-card .lc-eyebrow {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-body); font-weight: 800; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: rgba(20,20,32,.62);
  padding: 5px 10px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35), inset 0 0 0 1px rgba(153,153,255,.5);
}
.league-card .lc-check {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,232,141,.5);
  opacity: 0; transform: scale(.5); transition: .18s var(--ease-out);
}
.league-card.sel .lc-check { opacity: 1; transform: scale(1); }

/* comic name + banner body */
.league-card .lc-body { padding: 16px 18px 20px; }
.league-card .lc-name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  color: #fff; font-size: 32px; line-height: .9; letter-spacing: -.025em; margin: 0;
  -webkit-text-stroke: 0.6px rgba(0,0,0,.28);
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.league-card .lc-banner {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 16px; letter-spacing: .005em;
  color: var(--ink); background: var(--purple);
  padding: 7px 16px; transform: skewX(-7deg);
  box-shadow: 0 3px 0 rgba(0,0,0,.32);
}
.league-card .lc-banner > span { display: inline-block; transform: skewX(7deg); }
.league-card .lc-titleart {
  display: block;
  width: calc(100% + 36px);
  margin: -16px -18px -20px -18px;
}

/* ---------- Search bar ---------- */
.search {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 14px 20px; margin: 4px 64px 22px;
}
.search input {
  flex: 1; background: none; border: none; outline: none; color: #fff;
  font-family: var(--font-body); font-size: 20px; font-weight: 600;
}
.search input::placeholder { color: var(--on-dark-3); }

/* ---------- Form (details) ---------- */
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.field .req { color: var(--purple); }
.field input {
  background: var(--panel);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--font-body); font-size: 22px; font-weight: 600;
  color: #fff; outline: none;
  transition: box-shadow .12s, border-color .12s;
}
.field input::placeholder { color: var(--on-dark-3); font-weight: 500; }
.field input.active, .field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(153,153,255,.22);
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--font-body); font-weight: 700; font-size: 18px;
  color: var(--on-dark); background: var(--panel);
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  border: none; border-radius: 999px; padding: 13px 22px; cursor: pointer;
  transition: .12s var(--ease-out);
}
.chip:hover { background: var(--panel-2); }
.chip.sel { background: var(--purple); color: var(--ink); box-shadow: none; }

/* ---------- On-screen keyboard ---------- */
.keyboard {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(16,16,26,.96);
  box-shadow: 0 -16px 40px rgba(0,0,0,.45), inset 0 1.5px 0 var(--panel-line);
  padding: 18px 26px 24px;
  z-index: 40;
  transform: translateY(110%);
  transition: transform .26s var(--ease-out);
}
.keyboard.up { transform: translateY(0); }
.kb-row { display: flex; gap: 9px; justify-content: center; margin-bottom: 9px; }
.kb-row:last-child { margin-bottom: 0; }
.key {
  flex: 1 1 0;
  min-height: 60px;
  background: linear-gradient(180deg, #34344f, #2a2a40);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 23px;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .06s, background .1s;
}
.key:active { transform: translateY(2px); background: var(--blue); box-shadow: none; }
.key.wide { flex: 1.6 1 0; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-2); }
.key.space { flex: 5 1 0; }
.key.accent { background: linear-gradient(180deg, #5a52ea, #4F46E5); }
.key.sm { font-size: 17px; color: var(--on-dark-2); }

/* ---------- Confirmation ---------- */
.confirm { height: 100%; display: grid; place-items: center; text-align: center; }
.confirm-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; }
.tick {
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--green); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(0,232,141,.5);
  animation: tickpop .5s var(--ease-out) both, tickring 1.8s ease-out .3s infinite;
}
@keyframes tickpop { 0%{ transform: scale(.4); opacity: 0; } 60%{ transform: scale(1.08);} 100%{ transform: scale(1); opacity: 1;} }
@keyframes tickring { 0%{ box-shadow: 0 0 0 0 rgba(0,232,141,.45);} 100%{ box-shadow: 0 0 0 40px rgba(0,232,141,0);} }
.confirm h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color:#fff; font-size: 64px; line-height: .95; letter-spacing: -.02em; }
.confirm .lede { font-size: 26px; color: var(--on-dark-2); line-height: 1.4; }
.notify-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel); border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 18px 26px; margin-top: 6px;
}
.notify-card .medallion { width: 56px; height: 56px; font-size: 20px; flex: none; }
.notify-card .txt { text-align: left; }
.slack-row { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.count-note { font-size: 17px; color: var(--on-dark-3); }

/* ---------- Sign out + Admin lists ---------- */
.visitor-list { display: flex; flex-direction: column; gap: 14px; }
.visitor-row {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(165deg, #2b2b44, #20203388);
  border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 18px 24px;
}
.visitor-row .v-photo {
  width: 64px; height: 64px; border-radius: 14px; flex: none; overflow: hidden;
  background: var(--panel-2); display: grid; place-items: center; color: var(--on-dark-3);
}
.visitor-row .v-photo img { width: 100%; height: 100%; object-fit: cover; }
.visitor-row .v-main { flex: 1; min-width: 0; }
.visitor-row .v-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; letter-spacing: -.01em; }
.visitor-row .v-meta { color: var(--on-dark-2); font-size: 16px; margin-top: 2px; }
.visitor-row .v-seeing { color: var(--purple); font-weight: 700; }
.visitor-row .v-time { color: var(--on-dark-3); font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }

.empty-state {
  display: grid; place-items: center; text-align: center; gap: 14px;
  color: var(--on-dark-3); padding: 80px 0;
}
.empty-state .ring { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--panel-line); }

/* ---------- Photo capture ---------- */
.camera-wrap { display: grid; place-items: center; height: 100%; gap: 30px; }
.viewfinder {
  width: 520px; height: 520px; border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 30%, #33334e, #1a1a2a);
  box-shadow: inset 0 0 0 3px var(--panel-line), 0 30px 60px rgba(0,0,0,.5);
  display: grid; place-items: center;
}
.viewfinder .corner { position: absolute; width: 46px; height: 46px; border: 4px solid var(--purple); }
.viewfinder .corner.tl { top: 20px; left: 20px; border-right: none; border-bottom: none; border-radius: 14px 0 0 0; }
.viewfinder .corner.tr { top: 20px; right: 20px; border-left: none; border-bottom: none; border-radius: 0 14px 0 0; }
.viewfinder .corner.bl { bottom: 20px; left: 20px; border-right: none; border-top: none; border-radius: 0 0 0 14px; }
.viewfinder .corner.br { bottom: 20px; right: 20px; border-left: none; border-top: none; border-radius: 0 0 14px 0; }
.viewfinder .silhouette { color: #45456a; }
.viewfinder.shot { animation: flash .5s var(--ease-out); }
@keyframes flash { 0%{ filter: brightness(3); } 100%{ filter: brightness(1);} }
.viewfinder img.snap { width: 100%; height: 100%; object-fit: cover; }
.captured-pic { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 150px; background: linear-gradient(150deg, #b9b5ff 0%, #6e63f0 45%, #4F46E5 100%); }

/* helpers */
.col { display: flex; flex-direction: column; }
.center { display: grid; place-items: center; }
.spread { display: flex; align-items: center; justify-content: space-between; }
.mt-auto { margin-top: auto; }
.fade-in { animation: fadeIn .32s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: none;} }

/* admin pin */
.pin-pad { display: grid; grid-template-columns: repeat(3, 84px); gap: 16px; justify-content: center; }
.pin-key { height: 84px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--panel-line); color:#fff; font-family: var(--font-display); font-weight: 700; font-size: 32px; border: none; cursor: pointer; }
.pin-key:active { background: var(--blue); }
.pin-dots { display: flex; gap: 16px; justify-content: center; }
.pin-dots .pd { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--panel-line); }
.pin-dots .pd.on { background: var(--purple); box-shadow: none; }

/* admin stat chips */
.stat-row { display: flex; gap: 16px; }
.stat {
  flex: 1; background: linear-gradient(165deg,#2b2b44,#20203388); border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--panel-line); padding: 20px 24px;
}
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 8px; }
.stat.accent .n { color: var(--green); }

/* ---------- Health & safety step ---------- */
.safety-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px;
  margin: 8px 0 4px;
}
.safety-point {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(165deg, #2b2b44, #20203388);
  border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 18px 20px;
}
.safety-point .sp-ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: var(--purple);
  background: rgba(153,153,255,.13); box-shadow: inset 0 0 0 1.5px rgba(153,153,255,.3);
}
.safety-point .sp-title { font-weight: 800; font-size: 18px; color: #fff; }
.safety-point .sp-text { color: var(--on-dark-2); font-size: 15px; line-height: 1.35; margin-top: 3px; }

.agree-row {
  display: flex; align-items: center; gap: 18px; cursor: pointer;
  background: var(--panel); border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 20px 24px; transition: box-shadow .14s var(--ease-out), background .14s;
}
.agree-row:hover { background: var(--panel-2); }
.agree-row.on { box-shadow: inset 0 0 0 2px var(--green); background: rgba(0,232,141,.07); }
.agree-box {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--panel-line); transition: .14s var(--ease-out);
}
.agree-row.on .agree-box { background: var(--green); box-shadow: none; }
.agree-text { font-size: 20px; font-weight: 700; color: var(--on-dark); }
.agree-text b { color: #fff; }

/* ---------- Admin tabs ---------- */
.admin-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.admin-tab {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 800; font-size: 17px;
  color: var(--on-dark-2); background: rgba(255,255,255,.04);
  border: none; border-radius: 999px; padding: 12px 22px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--panel-line);
  transition: .14s var(--ease-out);
}
.admin-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-tab.on { color: var(--ink); background: var(--purple); box-shadow: none; }
.admin-tab .tab-count {
  font-size: 13px; font-weight: 800; padding: 2px 9px; border-radius: 999px;
  background: rgba(0,0,0,.18);
}
.admin-tab.on .tab-count { background: rgba(0,0,0,.16); }

/* ---------- Activity log ---------- */
.log-list { display: flex; flex-direction: column; gap: 10px; }
.log-row {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(165deg, #2b2b44, #20203366);
  border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--panel-line);
  padding: 14px 22px;
}
.log-badge {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; min-width: 112px; justify-content: center;
}
.log-badge.in { color: var(--green); background: rgba(0,232,141,.12); box-shadow: inset 0 0 0 1.5px rgba(0,232,141,.4); }
.log-badge.out { color: var(--on-dark-2); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px var(--panel-line); }
.log-main { flex: 1; min-width: 0; }
.log-name { font-weight: 800; font-size: 19px; color: #fff; }
.log-sub { color: var(--on-dark-2); font-size: 15px; margin-top: 1px; }
.log-sub .v-seeing { color: var(--purple); font-weight: 700; }
.log-when { text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.log-when .lw-time { font-weight: 800; color: #fff; font-size: 18px; }
.log-when .lw-date { color: var(--on-dark-3); font-size: 13px; margin-top: 1px; }
.log-daygroup { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin: 18px 2px 8px; }
.log-daygroup:first-child { margin-top: 0; }

/* ---------- Add team member ---------- */
.add-grid { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.add-uploader { display: flex; flex-direction: column; gap: 16px; }
.upload-zone {
  position: relative; aspect-ratio: 1/1; width: 100%;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background: radial-gradient(120% 120% at 50% 25%, #34344f, #1c1c2c);
  box-shadow: inset 0 0 0 2px var(--panel-line);
  display: grid; place-items: center; text-align: center;
  transition: box-shadow .14s var(--ease-out);
}
.upload-zone:hover { box-shadow: inset 0 0 0 2px var(--purple); }
.upload-zone.dashed { box-shadow: inset 0 0 0 2px var(--panel-line); }
.upload-zone img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.upload-zone .uz-inner { display: grid; place-items: center; gap: 12px; color: var(--on-dark-3); padding: 24px; }
.upload-zone .uz-ring {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(153,153,255,.12); color: var(--purple); box-shadow: inset 0 0 0 1.5px rgba(153,153,255,.35);
}
.upload-zone .uz-text { font-weight: 800; font-size: 16px; color: var(--on-dark); }
.upload-zone .uz-sub { font-size: 13px; color: var(--on-dark-3); }
.upload-zone .uz-change {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  background: linear-gradient(0deg, rgba(12,12,18,.85), transparent);
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-preview-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.add-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.add-form .field.full { grid-column: 1 / -1; }
.add-success { display: grid; place-items: center; text-align: center; gap: 22px; padding: 30px 0; }
.add-success .as-card { width: 240px; }

/* ---------- Comic-cover attract variant ---------- */
.attract-comic { position: relative; height: 100%; overflow: hidden; }
.comic-split {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  align-items: center; gap: 30px; padding: 40px 52px;
}
.comic-content { display: flex; flex-direction: column; gap: 18px; }
.comic-eyebrow {
  font-family: var(--font-body); font-weight: 800; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--purple);
}
.comic-title { margin: 0; line-height: .82; }
.comic-title .ct-small, .comic-title .ct-big {
  display: block;
  font-family: "Anton", var(--font-display), sans-serif;
  font-weight: 400; text-transform: uppercase;
  color: #f4efe2;
  -webkit-text-stroke: 2.5px #15121f;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 rgba(24,18,46,.55), 0 10px 22px rgba(0,0,0,.5);
  transform: skewX(-4deg); transform-origin: left;
}
.comic-title .ct-small { font-size: 42px; letter-spacing: .02em; margin-left: 3px; }
.comic-title .ct-big { font-size: 104px; letter-spacing: .005em; }
.comic-sub { font-size: 22px; color: var(--on-dark-2); max-width: 30ch; line-height: 1.38; font-weight: 500; }

.comic-cover { height: 100%; display: grid; place-items: center; }
.comic-cover img {
  max-width: 100%; max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 8px 20px rgba(0,0,0,.4);
  outline: 7px solid rgba(255,255,255,.05);
  outline-offset: -1px;
}

/* ---------- Kiosk full-screen (fill the viewport, no device bezel) ---------- */
html, body { background: var(--ink); }
.stage { background: var(--ink); }
.device {
  width: 1366px; height: 1024px;
  padding: 0; border-radius: 0; background: none; box-shadow: none;
}
.device::before { display: none; }            /* hide the fake camera dot */
.screen { width: 1366px; height: 1024px; border-radius: 0; }
.stage { place-items: start; }                 /* anchor top-left, not center */
.device { transform-origin: 0 0; }             /* scale grows from the top-left */

/* ---------- Full-bleed comic-cover attract screen ---------- */
.attract-cover { position: relative; height: 100%; overflow: hidden; }
.attract-cover .cover-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.attract-cover .cover-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(10,10,16,.96) 0%, rgba(10,10,16,.78) 16%, rgba(10,10,16,.30) 34%, rgba(10,10,16,0) 52%),
    linear-gradient(90deg, rgba(10,10,16,.80) 0%, rgba(10,10,16,.30) 30%, rgba(10,10,16,0) 55%);
}
.attract-cover .cover-content {
  position: absolute; left: 64px; right: 64px; bottom: 84px;
  z-index: 3; max-width: 70%;
}
.attract-cover .comic-title { margin-bottom: 14px; }
.attract-cover .comic-title .ct-big { font-size: 132px; }
.attract-cover .comic-title .ct-small { font-size: 50px; }
.attract-cover .comic-sub { font-size: 24px; color: var(--on-dark); max-width: 34ch; margin-bottom: 26px; }
.attract-cover .attract-foot { color: var(--on-dark-2); }
