/* Tante Emma Laden – Festival App
   Bildsprache nach dem Instagram-Auftritt @tanteemmaladenpangea:
   tiefes Violett, Sonnengelb, Rosa, Pinselstriche, schmale Plakatschrift, Marker-Lettering. */

@font-face { font-family: 'Anton'; src: url(fonts/anton-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Permanent Marker'; src: url(fonts/permanent-marker-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --violet: #3B2C91;        /* Grundfläche wie auf den Plakaten */
  --violet-deep: #261A6B;
  --violet-ink: #22185A;    /* Text auf hellen Flächen */
  --yellow: #F4E35C;        /* Sonnengelb */
  --pink: #F3AECB;          /* Rosa Pinselstrich */
  --hot: #E3335F;           /* Promo-Rot, nur für Warnungen */
  --card: #FFF9EC;          /* helle Karten */
  --card-line: #E3DCF3;
  --on-violet: #FFF9EC;
  --on-violet-muted: #CEC6F4;
  --muted-card: #5F5690;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  --body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-s: 6px;
  --radius-m: 14px;
  --tabbar-h: 64px;
  /* Kontextabhängig: auf Violett hell, in Karten dunkel */
  --fg: var(--on-violet);
  --muted: var(--on-violet-muted);
  --line: rgba(255, 249, 236, .18);
  --link: var(--yellow);
  color-scheme: dark;
}

/* Helle Flächen setzen ihren eigenen Textkontext */
.panel, .list, details.fold, .receipt, .facts, .door, .tbl-wrap, .stat, .empty, .notice, .checks, .toast.light {
  --fg: var(--violet-ink);
  --muted: var(--muted-card);
  --line: var(--card-line);
  --link: var(--violet);
  color: var(--fg);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--violet); }
body {
  margin: 0;
  background: var(--violet);
  color: var(--fg);
  font: 400 17px/1.5 var(--body);
  font-variant-numeric: tabular-nums;
  min-height: 100dvh;
}
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1 {
  font: 400 2.3rem/1 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
  color: var(--yellow);
  margin-bottom: .45em;
}
h2 { font: 400 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--yellow); }
.panel h2, .list h2 { color: var(--violet); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.panel :focus-visible, .list :focus-visible { outline-color: var(--hot); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pinselstrich ---------- */
.brush {
  position: relative; display: inline-block; isolation: isolate;
  padding: .18em .6em .14em; color: var(--violet-ink);
}
.brush::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--brush, var(--yellow));
  -webkit-mask: url(brush.svg) center / 100% 100% no-repeat;
          mask: url(brush.svg) center / 100% 100% no-repeat;
}
.brush.pink { --brush: var(--pink); }
.brush.tilt { transform: rotate(-2deg); }

/* ---------- Grundlayout ---------- */
.shell { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 8px;
  max-width: 720px; width: 100%; margin: 0 auto;
}
.topbar .brand { font: 400 1.15rem/1 var(--marker); color: var(--pink); text-decoration: none; white-space: nowrap; transform: rotate(-2deg); }
.topbar .area { color: var(--muted); font-size: .9rem; }
.topbar .spacer { flex: 1; }
.topbar a, .topbar button { white-space: nowrap; }
@media (max-width: 520px) { .topbar .who, .shell.is-admin .topbar .area { display: none; } }
main {
  flex: 1;
  width: 100%; max-width: 720px; margin: 0 auto;
  padding: 10px 16px calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom));
}
.shell.no-tabs main { padding-bottom: 40px; }
.edge {
  height: 10px; background: var(--pink);
  -webkit-mask: url(brush.svg) center / 140% 100% no-repeat; mask: url(brush.svg) center / 140% 100% no-repeat;
}

/* Untere Tab-Leiste */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--violet-deep);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -1px 0 rgba(255,255,255,.08);
}
.tabbar ul { list-style: none; margin: 0 auto; padding: 0; display: flex; max-width: 720px; }
.tabbar li { flex: 1 1 auto; }
.tabbar a { padding: 0 4px; }
.tabbar a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: var(--tabbar-h);
  color: var(--on-violet-muted);
  text-decoration: none; font-size: .78rem; font-weight: 700;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--yellow); }
.tabbar a[aria-current="page"]::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 5px; background: var(--pink);
  -webkit-mask: url(brush.svg) center / 100% 100% no-repeat; mask: url(brush.svg) center / 100% 100% no-repeat;
}
.tabbar .count {
  position: absolute; top: 8px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--hot); color: #fff; font-size: .72rem; line-height: 18px; text-align: center;
}

/* ---------- Bausteine ---------- */
.panel { background: var(--card); border-radius: var(--radius-m); padding: 16px; margin-bottom: 14px; }
.list { list-style: none; margin: 0 0 14px; padding: 0; background: var(--card); border-radius: var(--radius-m); overflow: hidden; }
.list > li { border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: inherit; text-decoration: none; }
a.row:active, button.row:active { background: color-mix(in srgb, var(--pink) 30%, transparent); }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 700; }
.row .sub { color: var(--muted); font-size: .92rem; }
.row .side { text-align: right; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.stack > * + * { margin-top: 10px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.section-title h2 { margin: 0; }
.pre { white-space: pre-wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--yellow);
  background: var(--yellow); color: var(--violet-ink);
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--yellow); }
.panel .btn, .list .btn, .receipt .btn { background: var(--violet); border-color: var(--violet); color: var(--on-violet); }
.panel .btn.secondary, .list .btn.secondary, .receipt .btn.secondary { background: transparent; color: var(--violet); }
.btn.danger, .panel .btn.danger { background: transparent; border-color: var(--hot); color: var(--hot); }
.btn.block { width: 100%; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.linkish { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px; margin: 0 -16px 6px; scrollbar-width: none; }
.chip {
  flex: none; min-height: 38px; padding: 0 16px; border-radius: 19px;
  border: 1.5px solid var(--on-violet-muted); background: transparent; color: var(--on-violet);
  font: 700 .92rem var(--body); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--violet-ink); }
.panel .chips { margin: 0; padding: 0; }

/* Sticker-Etikett (wie „ARTIST RELEASE“) */
.tag {
  display: inline-block; position: relative; isolation: isolate;
  padding: 3px 10px; color: var(--violet-ink);
  font: 400 .9rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em;
  transform: rotate(-1.5deg);
}
.tag::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--yellow);
  -webkit-mask: url(brush.svg) center / 100% 100% no-repeat; mask: url(brush.svg) center / 100% 100% no-repeat;
}
.tag.red { color: #fff; }
.tag.red::before { background: var(--hot); }
.tag.green::before { background: var(--pink); }

.notice { background: var(--card); padding: 12px 14px 12px 18px; border-radius: var(--radius-s); margin-bottom: 14px; position: relative; overflow: hidden; }
.notice::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--yellow); }
.notice.red::before { background: var(--hot); }
a.notice { display: block; text-decoration: none; }

details.fold { background: var(--card); border-radius: var(--radius-m); margin-bottom: 10px; }
details.fold > summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(45deg); transition: transform .15s;
}
details.fold[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.fold .fold-body { padding: 0 16px 16px; }
details.fold summary .sub { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---------- Formulare ---------- */
.field { margin-bottom: 14px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number],
input[type=search], input[type=datetime-local], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--card-line); border-radius: var(--radius-s);
  background: #fff; color: var(--violet-ink); font: 400 1rem var(--body); color-scheme: light;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: 3px solid color-mix(in srgb, var(--pink) 70%, transparent); outline-offset: 0; }
main > .field input[type=search] { border-color: transparent; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 700; }
.check input { width: 22px; height: 22px; accent-color: var(--violet); }
.checks { display: grid; gap: 2px; max-height: 240px; overflow: auto; padding: 6px 10px; border: 1.5px solid var(--card-line); border-radius: var(--radius-s); background: #fff; }
.checks .check { font-weight: 400; min-height: 38px; }
.form-error { color: var(--hot); font-weight: 700; margin-bottom: 12px; }
.form-error:empty { display: none; }
.grid-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Startseite ---------- */
.storefront { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
.hero { position: relative; padding: 34px 20px 4px; max-width: 560px; margin: 0 auto; width: 100%; }
.hero .sun {
  position: absolute; right: -70px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: var(--yellow);
}
.hero .eyebrow { position: relative; font: 400 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hero h1.wordmark { position: relative; margin: 16px 0 6px; font: 400 clamp(3.4rem, 19vw, 5rem)/.88 var(--display); color: var(--yellow); }
.hero .place { position: relative; font: 400 1.25rem/1.2 var(--marker); color: var(--pink); transform: rotate(-2deg); display: inline-block; margin: 8px 0 0; }
.shop-art { display: block; width: 100%; max-width: 440px; height: auto; margin: 10px auto 0; position: relative; }
.doors { display: grid; gap: 12px; padding: 10px 20px 26px; max-width: 560px; margin: 0 auto; width: 100%; }
.door {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center;
  background: var(--card); border-radius: var(--radius-m);
  padding: 16px; text-decoration: none;
}
.door .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--violet-ink); }
.door:nth-child(2) .ico { background: var(--pink); }
.door:nth-child(3) .ico { background: var(--violet); color: var(--yellow); }
.door .ico svg { width: 26px; height: 26px; }
.door strong { display: block; font: 400 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--violet); }
.door span { color: var(--muted); font-size: .92rem; }
.foot-links { text-align: center; padding: 0 20px 34px; color: var(--muted); font-size: .92rem; }

/* ---------- Timetable ---------- */
.slot { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 16px; }
.slot .t { font: 400 1.35rem/1 var(--display); color: var(--violet); }
.slot .t small { display: block; font: 400 .85rem/1.4 var(--body); color: var(--muted); margin-top: 4px; }
.slot .name { font: 400 1.25rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.slot.live { background: color-mix(in srgb, var(--yellow) 45%, var(--card)); }
.slot.past { opacity: .5; }

/* ---------- Kassenbon: Auftrittszettel ---------- */
.receipt {
  --tooth: 10px;
  position: relative;
  background: var(--card);
  padding: 22px 20px calc(22px + var(--tooth));
  margin: 4px 0 26px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) var(--tooth) repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) + 1px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) var(--tooth) repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) + 1px) no-repeat;
}
.receipt .head { text-align: center; border-bottom: 2px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.receipt .head .act { font: 400 2rem/1 var(--display); text-transform: uppercase; display: block; color: var(--violet); }
.receipt .head .date { display: block; margin-top: 8px; font-weight: 700; }
.receipt .big-time { text-align: center; font: 400 3.1rem/1 var(--display); margin: 6px 0 4px; color: var(--violet-ink); }
.receipt .big-time .to { color: var(--muted); font: 400 1.3rem var(--body); vertical-align: middle; }
.receipt .stage { text-align: center; margin-bottom: 14px; }
.receipt .stage span { font: 400 1.15rem/1 var(--marker); color: var(--violet); }
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; font-weight: 700; }
.receipt .rule { border: 0; border-top: 2px dashed var(--line); margin: 14px 0; }
.receipt .countdown { position: relative; isolation: isolate; text-align: center; padding: 14px 12px; color: var(--violet-ink); }
.receipt .countdown::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pink);
  -webkit-mask: url(brush.svg) center / 100% 100% no-repeat; mask: url(brush.svg) center / 100% 100% no-repeat;
}
.receipt .countdown.now::before { background: var(--yellow); }
.receipt .countdown strong { display: block; font: 400 1.9rem/1.05 var(--display); letter-spacing: .02em; }
.receipt .notes { white-space: pre-wrap; }

/* Detail-Infos zum Auftritt */
.facts { display: grid; gap: 0; margin: 0 0 14px; background: var(--card); border-radius: var(--radius-m); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; white-space: pre-wrap; }
@media (max-width: 380px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Kontaktkarten */
.contact { padding: 16px; }
.contact .fn { font: 400 .95rem/1 var(--marker); color: var(--hot); margin-bottom: 4px; }
.contact .nm { font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }

/* Benachrichtigungen */
.note-item { padding: 14px 16px; }
.note-item.unread { box-shadow: inset 6px 0 0 var(--yellow); }
.note-item .when { color: var(--muted); font-size: .85rem; }

/* Schicht */
.clock { text-align: center; padding: 26px 16px; }
.clock .elapsed { font: 400 3.6rem/1 var(--display); margin: 12px 0 20px; color: var(--violet); letter-spacing: .02em; }
.qty-big { font: 400 3rem/1 var(--display); color: var(--violet); }
.qty-big .small { font: 400 1.1rem var(--body); }

/* ---------- Admin ---------- */
.admin-layout { display: block; }
.admin-nav { margin-bottom: 14px; }
.admin-nav h3 { color: var(--pink); font: 400 .95rem/1 var(--marker); margin: 18px 0 6px; }
.admin-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--on-violet); text-decoration: none; }
.admin-nav a:hover { background: rgba(255,255,255,.08); }
.admin-nav a[aria-current="page"] { background: var(--yellow); color: var(--violet-ink); font-weight: 700; }
.admin-nav .desktop { display: none; }
@media (min-width: 980px) {
  body.wide main, body.wide .topbar { max-width: 1240px; }
  .admin-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
  .admin-nav { position: sticky; top: 12px; }
  .admin-nav .desktop { display: block; }
  .admin-nav .mobile { display: none; }
}
.tbl-wrap { background: var(--card); border-radius: var(--radius-m); overflow: hidden; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:first-child td { border-top: 0; }
.tbl tr[data-href] { cursor: pointer; }
.tbl tr[data-href]:hover td { background: color-mix(in srgb, var(--pink) 25%, transparent); }
@media (max-width: 700px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { padding: 10px 14px; border-top: 1px solid var(--line); }
  .tbl tbody tr:first-child { border-top: 0; }
  .tbl td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; }
  .tbl td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
  .tbl td:first-child { font-weight: 700; }
}
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--card); border-radius: var(--radius-m); padding: 14px; }
a.stat { text-decoration: none; }
a.stat:hover { box-shadow: inset 0 0 0 2px var(--pink); }
.stat b { display: block; font: 400 2.4rem/1.05 var(--display); color: var(--violet); }
.stat span { color: var(--muted); font-size: .9rem; }
.linkbox { display: flex; gap: 8px; margin-top: 8px; }
.linkbox input { font-size: .85rem; }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }

/* Toasts */
#toasts { position: fixed; left: 0; right: 0; top: calc(10px + env(safe-area-inset-top)); z-index: 50; display: grid; gap: 8px; justify-items: center; pointer-events: none; padding: 0 12px; }
.toast {
  pointer-events: auto; max-width: 520px; width: 100%;
  background: var(--violet-deep); color: var(--on-violet);
  padding: 12px 16px; border-radius: var(--radius-s); font-weight: 700;
  box-shadow: 0 10px 30px rgba(10,5,40,.45);
  animation: drop .25s ease-out;
}
.toast.alert { background: var(--yellow); color: var(--violet-ink); }
.toast.error { background: var(--hot); color: #fff; }
.toast small { display: block; font-weight: 400; }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.loading { padding: 40px 0; text-align: center; color: var(--muted); }
.empty { padding: 26px 16px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--radius-m); }
.center-card { max-width: 440px; margin: 0 auto; }

/* ---------- Hinweis-Glocke im Kopf ---------- */
.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--on-violet); }
.bell svg { width: 24px; height: 24px; }
.bell.on { background: var(--yellow); color: var(--violet-ink); }
.bell .count {
  position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--hot); color: #fff; font-size: .72rem; line-height: 18px; text-align: center; font-weight: 700;
}

/* ---------- Akkreditierung ---------- */
.secure-note { display: flex; gap: 10px; align-items: flex-start; color: var(--on-violet-muted); font-size: .92rem; }
.secure-note svg { flex: none; width: 20px; height: 20px; color: var(--yellow); margin-top: 1px; }
.step {
  display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; margin-right: .25em;
  border-radius: 50%; background: var(--yellow); color: var(--violet-ink); font-size: .9em;
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px;
  border: 2px solid var(--card-line); border-radius: var(--radius-m); background: #fff; color: var(--violet);
}
.choice span svg { width: 30px; height: 30px; }
.choice b { font: 400 1.4rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.choice input:checked + span { border-color: var(--violet); background: var(--yellow); color: var(--violet-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--hot); outline-offset: 2px; }
.choice input:disabled + span { opacity: .7; cursor: default; }
.consent { align-items: flex-start; font-weight: 400; font-size: .92rem; margin-bottom: 14px; }
.consent input { margin-top: 2px; flex: none; }
.people { list-style: none; margin: 0; padding: 0; }
.people li { padding: 12px 0; border-top: 1px solid var(--line); }
.people li:first-child { border-top: 0; padding-top: 0; }
.people .who-name { font-weight: 700; font-size: 1.05rem; }
.people .tag { margin-left: 6px; font-size: .8rem; }

/* ---------- Fotos ---------- */
.photos { padding: 6px 0 26px; max-width: 720px; margin: 0 auto; width: 100%; }
.photos-title { margin: 0 20px 14px; font-size: 1.5rem; }
.photo-row { display: flex; gap: 14px; overflow-x: auto; padding: 8px 20px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-row::-webkit-scrollbar { display: none; }
.photo { flex: none; width: 72%; max-width: 340px; margin: 0; scroll-snap-align: center; background: var(--card); padding: 8px 8px 26px; border-radius: 4px; box-shadow: 0 10px 24px rgba(10,4,40,.35); }
.photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.photo.p0 { transform: rotate(-2deg); } .photo.p1 { transform: rotate(1.5deg); } .photo.p2 { transform: rotate(-1deg); } .photo.p3 { transform: rotate(2deg); }
main .photos { margin: 18px -16px 0; width: auto; }
.hero-photo { margin: 0 0 16px; border-radius: var(--radius-m); overflow: hidden; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
