/* Alisa Maxime Studio — live queue MVP. Visual language lifted from the design system. */
:root {
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #2A2A2A;
  --graphite: #555555;
  --stone: #8A8A8A;
  --ok: #2F6B47;
  --claret: #0E0E0C;
  --serif: "Rubik", "Avenir Next", Helvetica, Arial, sans-serif;
  --sans: "Rubik", "Avenir Next", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --hair: rgba(0,0,0,0.08);
  --hair-strong: rgba(0,0,0,0.18);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; }

.eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--graphite); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hair { height: 1px; background: var(--hair); width: 100%; }

.btn {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 15px 22px; border-radius: 2px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; cursor: pointer; transition: all .15s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .35; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.block { width: 100%; }
.btn.small { padding: 9px 14px; font-size: 10px; letter-spacing: 0.16em; }

.input {
  font-family: var(--sans); font-size: 16px; border: none;
  border-bottom: 1px solid var(--hair-strong); background: transparent;
  padding: 12px 0; width: 100%; color: var(--ink); outline: none;
}
.input:focus { border-bottom-color: var(--ink); }
.input::placeholder { color: var(--stone); }
.field-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); margin-bottom: 4px; }

.statdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--graphite); flex-shrink: 0; }
.statdot.waiting { background: var(--graphite); }
.statdot.drawing { background: var(--claret); animation: pulse 1.8s ease-in-out infinite; }
.statdot.ready { background: var(--ok); }
.statdot.picked_up { background: var(--stone); opacity: .4; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding: 5px 10px; border: 1px solid var(--hair-strong); border-radius: 2px;
}

/* Show the whole photo/sketch — never crop. Letterbox with white. */
img.cover { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }

/* studio logo footer (coordinator / artist / guest) */
.brandfoot { padding: 26px 22px calc(30px + env(safe-area-inset-bottom,0px)); text-align: center; border-top: 1px solid var(--hair); margin-top: 8px; }
.brandfoot img { width: 150px; max-width: 55%; height: auto; opacity: .8; }

/* full-screen image lightbox (tap a photo to enlarge) */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.lightbox .lbclose { position: fixed; top: calc(14px + env(safe-area-inset-top,0px)); right: 16px; width: 40px; height: 40px; border: none; background: rgba(255,255,255,.15); color: #fff; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom,0px));
  transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 3px; font-size: 13px; z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; pointer-events: none;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; }
