@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap");
:root {
  --blue: #0057ff;
  --ink: #071426;
  --paper: #f7f4ea;
  --red: #b9233d;
  --green: #087754;
  --gold: #ffe66d;
  --muted: #586372;
  --line: #d9d9d0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 "DM Sans",
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.display {
  font-family: "Barlow Condensed", "Arial Black", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(64px, 17vw, 112px);
  letter-spacing: -2px;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 27px;
}
small {
  font-size: 11px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ef9e29;
  outline-offset: 3px;
}
.top {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: var(--ink);
  color: white;
  border-bottom: 4px solid var(--blue);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
}
.brand small {
  display: block;
  color: #a6b7d2;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 3px;
}
.top button {
  color: white;
  border-color: #536071;
}
main {
  max-width: 1060px;
  margin: auto;
  padding: 24px 18px 120px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid var(--ink);
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: white;
  padding: 28px 24px 30px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  margin: 12px 5px 28px 0;
}
.hero:after {
  content: "✳";
  font-size: 220px;
  line-height: 1;
  position: absolute;
  right: -30px;
  top: 18px;
  opacity: 0.13;
  pointer-events: none;
}
.hero h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  max-width: 400px;
  color: #dce8ff;
  margin-top: 14px;
}
.hero .eyebrow {
  color: #c9dbff;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-top: 28px;
  border-top: 1px solid #ffffff50;
  padding-top: 16px;
}
.timer {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 44px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.snowline {
  letter-spacing: 7px;
  color: var(--red);
  font-size: 14px;
  margin: 18px 0;
}
.grid {
  display: grid;
  gap: 18px;
}
.card {
  padding: 20px;
  background: #fffdf6;
  border: 1px solid var(--ink);
  border-radius: 3px;
}
.card.blue {
  background: var(--blue);
  color: white;
}
.card.green {
  background: var(--green);
  color: white;
}
.card.red {
  background: var(--red);
  color: white;
}
.card h3 {
  margin: 5px 0 12px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.green .muted,
.blue .muted,
.red .muted {
  color: #ffffffc9;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 28px 0 16px;
}
.section-title .eyebrow {
  color: var(--red);
  margin-bottom: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: white;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}
.btn.gold {
  background: var(--gold);
  color: var(--ink);
}
.btn.red {
  background: var(--red);
}
.btn.green {
  background: var(--green);
}
.btn.light {
  background: white;
  color: var(--ink);
}
.quiet {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 3px;
  font-weight: 600;
}
.full {
  width: 100%;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.spread {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 14px;
}
.space {
  margin-top: 18px;
}
.empty {
  padding: 30px 20px;
  text-align: center;
  border: 1px dashed #9ba2ad;
  color: var(--muted);
  border-radius: 3px;
}
.empty b {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.label,
label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 12px;
  min-height: 48px;
  border: 1px solid #a8adb3;
  background: white;
  color: var(--ink);
  border-radius: 3px;
}
textarea {
  min-height: 84px;
  resize: vertical;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  padding: 6px 0;
}
.auth {
  max-width: 480px;
  margin: 25px auto;
}
.auth .hero {
  margin-bottom: 25px;
}
.auth h1 {
  font-size: 80px;
}
.switches {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.switches button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat {
  padding: 15px 12px;
  border: 1px solid var(--line);
  background: white;
}
.stat strong {
  font:
    800 38px/0.95 "Barlow Condensed",
    Impact,
    sans-serif;
  display: block;
  margin-bottom: 8px;
}
.stat small {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 800;
  text-transform: uppercase;
}
.progress {
  height: 6px;
  background: #e4e5e0;
  margin-top: 14px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--green);
}
.challenge {
  position: relative;
  padding: 18px 18px 18px 22px;
  border-left: 5px solid var(--blue);
}
.challenge p {
  margin-bottom: 15px;
}
.points {
  font:
    800 30px/1 "Barlow Condensed",
    Impact,
    sans-serif;
  color: var(--blue);
  white-space: nowrap;
}
.status {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 7px;
  background: #e9eaf0;
  border-radius: 2px;
}
.status.approved {
  background: #d8eee1;
  color: #075733;
}
.status.pending {
  background: #fff0b8;
  color: #674900;
}
.status.rejected {
  background: #f6dce1;
  color: #8c1830;
}
.pub {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.pub h3 {
  font-size: 23px;
}
.number {
  font:
    700 25px "Barlow Condensed",
    Impact,
    sans-serif;
  color: #8d939d;
  width: 26px;
}
.rank {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.rank:first-child {
  background: var(--gold);
  border: 1px solid var(--ink);
}
.rank .total {
  font:
    800 45px/0.9 "Barlow Condensed",
    Impact,
    sans-serif;
  text-align: right;
}
.rank h3 {
  font-size: 30px;
}
.rank .muted {
  margin-top: 6px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 15px 0;
}
.photo-grid a {
  display: block;
  aspect-ratio: 1;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.feed-card {
  margin-bottom: 16px;
}
.feed-card .meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.note {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin: 10px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: #9fabbd;
  display: flex;
  justify-content: center;
  border-top: 3px solid var(--blue);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 500;
}
nav button {
  flex: 1;
  max-width: 120px;
  border: 0;
  background: none;
  color: inherit;
  min-height: 68px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 9px 2px;
}
nav button span {
  display: block;
  font-size: 21px;
  margin-bottom: 3px;
}
nav button[aria-current="page"] {
  color: var(--gold);
  background: #14213a;
}
dialog {
  width: min(94vw, 540px);
  max-height: 90dvh;
  border: 2px solid var(--ink);
  padding: 24px;
  background: var(--paper);
  border-radius: 6px;
}
dialog::backdrop {
  background: #071426bb;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 16px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  border: 1px solid white;
  box-shadow: 0 5px 20px #0003;
  border-radius: 4px;
  z-index: 2000;
  font-size: 13px;
}
.error {
  color: #a01932;
  background: #fbe9ec;
  padding: 12px;
  border: 1px solid #dcb0b8;
  font-size: 13px;
}
.map {
  height: 420px;
  border: 1px solid var(--ink);
  background: #e3e5de;
  border-radius: 3px;
  z-index: 0;
}
.map-label {
  white-space: nowrap;
  background: var(--ink);
  color: white;
  padding: 4px 8px;
  border: 1px solid white;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  width: max-content;
}
.map-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--blue);
  background: var(--blue);
  margin: 3px auto;
}
.team-members {
  margin-top: 12px;
}
.person {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.person .badge {
  margin-left: auto;
  font-size: 10px;
  color: var(--red);
  font-weight: 800;
}
.admin-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin: 20px 0;
}
.admin-tabs button {
  white-space: nowrap;
}
.admin-tabs button.selected {
  background: var(--ink);
  color: white;
}
.help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.upload-preview {
  display: flex;
  gap: 6px;
}
.upload-preview img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.tinsel {
  height: 8px;
  background: repeating-linear-gradient(
    110deg,
    var(--red) 0 12px,
    var(--paper) 12px 20px,
    var(--green) 20px 32px,
    var(--paper) 32px 40px
  );
}
[hidden] {
  display: none !important;
}
@media (min-width: 700px) {
  main {
    padding-top: 32px;
  }
  .grid.cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    padding: 38px 40px;
  }
  .hero h1 {
    max-width: 620px;
  }
  .auth .hero {
    padding: 28px;
  }
  .statgrid {
    gap: 18px;
  }
  .stat {
    padding: 20px;
  }
  .map {
    height: 520px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s;
  }
  .btn:active {
    transform: translateY(2px);
  }
}

/* Compact matchday layout: useful information first, fewer competing boxes. */
:root {
  --paper: #f5f6f8;
  --line: #e1e5eb;
}
.top {
  height: 66px;
  padding: 10px max(18px, calc((100vw - 930px) / 2));
  border-bottom: 0;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand {
  font-size: 12px;
  letter-spacing: 0.6px;
}
.top .quiet {
  font-size: 12px;
  min-height: 38px;
  padding: 7px 10px;
}
.tinsel {
  height: 4px;
}
main {
  max-width: 930px;
  padding: 18px 16px 100px;
}
.section-title {
  margin: 8px 0 18px;
}
.section-title h2 {
  font-size: 36px;
  letter-spacing: -0.4px;
}
.section-title .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 7px;
}
.card {
  padding: 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
}
.card h3 {
  font-size: 25px;
  margin: 4px 0 8px;
}
.grid {
  gap: 12px;
}
.stack {
  gap: 12px;
}
.space {
  margin-top: 14px;
}
.muted {
  line-height: 1.5;
}
.btn,
.quiet {
  border-radius: 8px;
}
.btn {
  min-height: 44px;
  font-size: 13px;
}
.quiet {
  min-height: 44px;
  font-size: 12px;
  border-color: #d7dde6;
}
button:disabled {
  cursor: default;
}
.switches {
  display: flex;
  background: #e9edf3;
  border-radius: 10px;
  padding: 4px;
  gap: 3px;
  margin-bottom: 14px;
}
.switches button {
  flex: 1;
  border: 0;
  min-height: 40px;
  font-size: 13px;
}
.switches button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #07142616;
}
.statgrid {
  gap: 8px;
  margin-bottom: 14px;
}
.stat {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat strong {
  font-size: 32px;
  margin-bottom: 5px;
}
.stat small {
  font-size: 8px;
  letter-spacing: 0.7px;
}
.dashboard-hero {
  padding: 18px;
  margin: 0 0 16px;
  border: 0;
  box-shadow: none;
  border-radius: 14px;
}
.dashboard-hero:after {
  right: -20px;
  top: -15px;
  font-size: 180px;
}
.dashboard-hero .tag {
  background: #ffffff20;
  color: white;
  border: 0;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 5px 7px;
}
.dashboard-hero h1 {
  font-size: 44px;
  letter-spacing: -0.5px;
  line-height: 0.94;
  margin: 14px 108px 8px 0;
  max-width: 300px;
}
.dashboard-hero > p {
  font-size: 11px;
  margin: 0;
  max-width: 65%;
}
.dashboard-hero .hero-bottom {
  position: absolute;
  right: 18px;
  top: 54px;
  margin: 0;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 1px solid #ffffff50;
}
.dashboard-hero .hero-bottom > .eyebrow {
  display: none;
}
.dashboard-hero .hero-bottom .eyebrow {
  font-size: 7px;
  letter-spacing: 1px;
}
.dashboard-hero .timer {
  font-size: 33px;
  margin-top: 7px;
}
.challenge {
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  border-radius: 10px;
}
.challenge .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.challenge h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 6px 0;
}
.challenge p {
  font-size: 12px;
  margin-bottom: 9px;
}
.challenge .points {
  font-size: 25px;
}
.challenge small {
  font-size: 10px;
  color: var(--muted);
}
.challenge .quiet {
  min-height: 38px;
  padding: 6px 10px;
}
.pub-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pub-stop {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 84px;
  padding: 10px 12px;
  background: white;
}
.pub-stop:last-child {
  border-bottom: 0;
}
.pub-index {
  font:
    600 11px "DM Sans",
    Arial,
    sans-serif;
  color: #8993a1;
}
.pub-name {
  text-align: left;
  background: none;
  border: 0;
  min-width: 0;
  padding: 4px 0;
  color: var(--ink);
  line-height: 1.35;
}
.pub-name strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.25px;
}
.pub-name strong span {
  font-size: 12px;
  color: #8491a4;
  margin-left: 3px;
}
.pub-name small {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--muted);
  margin-top: 2px;
}
.pub-meta {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
}
.pub-meta .status {
  font-size: 8px;
  padding: 2px 5px;
}
.stamp-label {
  color: var(--green);
}
.pub-checkin {
  min-height: 42px;
  min-width: 70px;
  padding: 8px 10px;
  background: #edf3ff;
  color: #004bd5;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}
.directions-links {
  display: grid;
  gap: 10px;
}
.directions-links .btn {
  min-height: 50px;
}
.map-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--muted);
}
.map-toolbar > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.map-toolbar .quiet {
  margin-left: auto;
}
.map-toolbar i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-pub {
  background: var(--ink);
}
.legend-player {
  background: var(--blue);
}
.legend-stamp {
  background: var(--gold);
  border: 1px solid var(--red);
}
.map {
  height: 59dvh;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.map-credit {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.map-help {
  margin-top: 16px;
  font-size: 12px;
}
.map-help summary {
  font-weight: 700;
  cursor: pointer;
}
.pub-map-icon {
  background: transparent;
  border: 0;
}
.pub-map-icon > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: white;
  background: var(--ink);
  border: 2px solid white;
  border-radius: 50% 50% 50% 2px;
  box-shadow: 0 2px 7px #0004;
  transform: rotate(-45deg);
  font: 700 10px Arial;
}
.pub-map-icon > span {
  transform: none;
  border-radius: 50%;
}
.pub-popup {
  min-width: 185px;
  max-width: 235px;
  font-family: "DM Sans", Arial, sans-serif;
}
.pub-popup strong {
  font-size: 14px;
}
.pub-popup p {
  font-size: 11px !important;
  margin: 6px 0 12px !important;
  line-height: 1.5;
}
.pub-popup a {
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 0;
}
nav {
  background: white;
  color: #788293;
  border-top: 1px solid var(--line);
  box-shadow: 0 -3px 20px #07142606;
}
nav button {
  min-height: 62px;
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}
nav button span {
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
nav button svg {
  width: 21px;
  height: 21px;
}
nav button[aria-current="page"] {
  color: var(--blue);
  background: #edf3ff;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 22px;
  background: white;
  box-shadow: 0 20px 100px #07142633;
}
dialog h2 {
  font-size: 33px;
}
.empty {
  border-color: var(--line);
  border-radius: 10px;
  font-size: 12px;
  padding: 22px 16px;
}
.auth .hero {
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}
.auth .error {
  font-size: 12px;
}
@media (min-width: 700px) {
  main {
    padding-top: 26px;
  }
  .pub-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pub-stop:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .pub-stop:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .dashboard-hero {
    padding: 22px 26px;
  }
  .dashboard-hero h1 {
    font-size: 50px;
    max-width: none;
    margin-right: 150px;
  }
  .dashboard-hero .hero-bottom {
    right: 30px;
    top: 50px;
  }
  .dashboard-hero .timer {
    font-size: 44px;
  }
  .map {
    height: 520px;
  }
  .directions-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 350px) {
  .pub-stop {
    gap: 6px;
    padding: 10px 9px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
  }
  .pub-name strong {
    font-size: 12px;
  }
  .pub-checkin {
    min-width: 60px;
    font-size: 10px;
  }
  .dashboard-hero h1 {
    font-size: 37px;
    margin-right: 100px;
  }
  .brand small {
    font-size: 7px;
  }
  .top {
    padding: 10px 12px;
  }
}

/* Direct camera capture stays inside the claim sheet. */
.capture-box {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fc;
}
.capture-box > .row b {
  font-size: 13px;
}
.capture-box .status {
  font-size: 8px;
}
.capture-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
#camera-preview {
  width: 100%;
  max-height: 42dvh;
  object-fit: contain;
  background: #071426;
  border-radius: 10px;
  margin-top: 12px;
  display: block;
}
#camera-status {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
}
#camera-panel .row {
  flex-wrap: wrap;
}
.capture-previews {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.capture-item {
  padding: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
}
.capture-item img,
.capture-item video {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 6px;
  background: #071426;
}
.capture-item .row {
  margin-top: 5px;
}
.capture-item small {
  font-size: 11px;
  color: var(--muted);
}
.capture-item .quiet {
  min-height: 36px;
  padding: 5px 9px;
}
.photo-grid video {
  width: 100%;
  max-height: 300px;
  grid-column: 1/-1;
  background: #071426;
  border-radius: 8px;
}
.proof-kind {
  display: inline-block;
  color: var(--blue) !important;
  font-weight: 700;
  margin-bottom: 4px;
}
.test-ribbon {font-size:11px;font-weight:800;color:#775600;background:#fff2c5;border:1px solid #ead68c;border-radius:8px;padding:10px 12px;margin-bottom:16px;}
.permission-welcome h2 {font-size:40px;}
.permission-welcome>p {font-size:14px;}
.permission-features {display:grid;gap:14px;padding:15px;background:#f4f7fb;border-radius:10px;}
.permission-features b {font-size:13px;}
.permission-features p {font-size:12px;color:var(--muted);margin-top:4px;}
.permission-row {display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:9px 0;border-bottom:1px solid var(--line);}
.permission-row b {color:var(--blue);}

.gallery-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}

.recovery-code{font-size:1.5rem;letter-spacing:.12em;overflow-wrap:anywhere;text-align:center}
