/* =========================================================================
   Birthday Quiz Party — misafir sayfası
   Görsel dil: neo-brutalist / sticker.
   Sert ofset gölgeler, 2–2.5px ink kenarlıklar, noktalı kağıt zemin.
   Build adımı yok; tek harici kaynak Google Fonts (Bricolage Grotesque).
   ========================================================================= */

/* ---------- Jetonlar (açık) -------------------------------------------- */
:root {
  color-scheme: light dark;

  --paper:      hsl(45 100% 95%);
  --dot:        hsl(40 50% 86%);
  --card:       #FFFDF6;

  --ink:        hsl(22 60% 12%);   /* metin + TÜM kenarlıklar */
  --ink-2:      hsl(22 25% 35%);   /* ikincil metin — AA gövde için güvenli */
  --ink-3:      hsl(25 15% 52%);   /* yalnızca dekoratif / iri metin */

  --red:        hsl(9 85% 57%);
  --on-red:     #FFFDF6;
  --yellow:     hsl(45 96% 64%);
  --pink:       hsl(340 75% 66%);
  --green:      hsl(145 55% 42%);
  --blue:       hsl(215 80% 55%);
  --error:      hsl(0 75% 48%);
  --on-color:   hsl(22 60% 12%);   /* sarı/yeşil/pembe zemin üstündeki metin */

  --focus:      hsl(215 80% 40%);

  --bd:         2px;
  --bd-strong:  2.5px;
  --r:          16px;
  /* Yarıçaplar iOS'taki BQP.Metrics ile aynı olmalı: aynı marka iki
     platformda farklı yuvarlaklıkta görünmesin. */
  --r-sm:       11px;
  --r-lg:       16px;

  --sh-card:    0 3px 0 var(--ink);
  --sh-btn:     0 4px 0 var(--ink);
  --sh-sm:      0 2px 0 var(--ink);

  --font: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont,
          'Segoe UI', Roboto, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

/* ---------- Jetonlar (koyu) — aynı brutalist dil, ters kağıt ----------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper:    hsl(25 18% 10%);
    --dot:      hsl(25 14% 20%);
    --card:     hsl(24 16% 14%);

    --ink:      hsl(45 60% 94%);
    --ink-2:    hsl(40 22% 80%);
    --ink-3:    hsl(38 12% 64%);

    --red:      hsl(9 85% 62%);
    --on-red:   hsl(22 60% 10%);
    --yellow:   hsl(45 96% 64%);
    --pink:     hsl(340 75% 72%);
    --green:    hsl(145 50% 60%);
    --blue:     hsl(215 80% 70%);
    --error:    hsl(0 85% 72%);
    --on-color: hsl(22 60% 10%);

    --focus:    hsl(45 96% 64%);
  }
}

/* ---------- Temel ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  background-attachment: fixed;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
@supports not selector(:focus-visible) {
  :focus { outline: 3px solid var(--focus); outline-offset: 3px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 20;
  background: var(--yellow);
  color: var(--on-color);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--sh-sm);
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  font-weight: 800;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Konfeti (yalnızca açılmış sonuç ekranı) -------------------- */
#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* ---------- Üst bar ---------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 6px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.brand-emoji { font-size: 1.3rem; transform: rotate(-6deg); display: inline-block; }
.brand-text { font-size: .95rem; letter-spacing: -.01em; }

.chip-btn {
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  min-height: 44px;
  min-width: 56px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.chip-btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }

/* ---------- Yerleşim --------------------------------------------------- */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 16px 40px;
}
main:focus { outline: none; }

.footer { position: relative; z-index: 1; text-align: center; padding: 4px 16px 24px; }

.screen { display: none; }
.screen.is-active { display: block; animation: pop-in .22s ease both; }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.card {
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: 22px 18px;
}
.card-center { text-align: center; }

.title {
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.title:focus { outline: none; }
.title-xl { font-size: clamp(1.7rem, 7.5vw, 2.15rem); }
.question-title { font-size: 26px; line-height: 1.2; }

.lead { font-size: 1.02rem; font-weight: 600; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.note {
  margin-top: 12px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--on-color);
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  padding: 8px 12px;
}

.big-emoji { font-size: 3rem; line-height: 1.1; margin-bottom: 6px; }
.sticker { display: inline-block; transform: rotate(-4deg); }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-color);
  background: var(--pink);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  padding: 3px 12px;
  margin-bottom: 14px;
  transform: rotate(-1.5deg);
}

.badge {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  padding: 3px 14px;
  margin-bottom: 12px;
  color: var(--on-color);
  transform: rotate(2deg);
}
.badge-yellow { background: var(--yellow); }
.badge-green  { background: var(--green); }

/* Sarı işaretleyici efekti — metin JS'te textContent ile basılır. */
.hl {
  display: inline-block;
  background: var(--yellow);
  color: var(--on-color);
  padding: 0 8px 2px;
  border-radius: 5px;
  transform: rotate(-1.5deg);
}

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 6px; }
.fact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  padding: 4px 14px;
  font-size: .9rem;
}
.fact dt { color: var(--ink-2); font-weight: 600; }
.fact dd { font-weight: 800; }

.code {
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  padding: 12px;
  margin: 14px 0;
  font-size: .85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

/* ---------- Düğmeler --------------------------------------------------- */
.btn {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 1.2rem;          /* 800 ağırlıkta "iri metin": kontrast eşiği 3:1 */
  font-weight: 800;
  letter-spacing: -.01em;
  min-height: 52px;
  padding: 12px 22px;
  color: var(--ink);
  background: var(--card);
  border: var(--bd-strong) solid var(--ink);
  /* Tasarımda düğmeler 14px yarıçaplı yuvarlatılmış dikdörtgen; hap şekli
     iOS uygulamasındaki BQPButtonStyle ile tutarsız görünüyordu. */
  border-radius: 14px;
  box-shadow: var(--sh-btn);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--ink);
}
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: var(--sh-btn); }

.btn-primary { background: var(--red); color: var(--on-red); }
.btn-secondary { background: var(--yellow); color: var(--on-color); }
.btn-ghost { background: var(--card); color: var(--ink); }

.btn-link {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 4px;
  cursor: pointer;
}
.btn-link:active { transform: none; box-shadow: none; }

.btn-block { display: block; width: 100%; margin-top: 16px; }

.icon-btn {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.icon-btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }

.row-actions { display: flex; gap: 12px; margin-top: 22px; }
.row-actions .btn { flex: 1; }

/* ---------- Form ------------------------------------------------------- */
.label { display: block; font-weight: 800; font-size: .95rem; margin: 16px 0 6px; }
.fieldset { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; }

.input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  font: inherit;
  font-size: 17px;              /* iOS'ta otomatik zoom eşiğinin üstünde */
  font-weight: 700;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}
.input::placeholder { color: var(--ink-2); opacity: 1; font-weight: 600; }
.input[aria-invalid="true"] { border-color: var(--error); }

.token-input {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.error-text { color: var(--error); font-size: .95rem; font-weight: 800; margin-top: 10px; }

.warn-box {
  background: var(--yellow);
  color: var(--on-color);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  padding: 10px 14px;
  margin: 14px 0;
  font-size: .95rem;
  font-weight: 800;
}

/* ---------- Emoji ızgarası --------------------------------------------- */
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.emoji-option { position: relative; }
.emoji-option input {
  position: absolute; inset: 0;
  opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.emoji-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px; min-height: 56px;
  font-size: 1.7rem;
  line-height: 1;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}
.emoji-option input:checked + span {
  background: var(--yellow);
  transform: translateY(2px) rotate(-3deg);
  box-shadow: 0 1px 0 var(--ink);
}
.emoji-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Şıklar ----------------------------------------------------- */
.choice-list { display: grid; gap: 12px; margin-top: 4px; }
.choice { position: relative; display: block; }
.choice input {
  position: absolute; inset: 0;
  opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.choice-face {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  font-weight: 700;
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}
.choice-letter {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 800;
  color: var(--on-color);
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: 6px;
  transform: rotate(-3deg);
}
.choice input:checked + .choice-face {
  background: var(--yellow);
  color: var(--on-color);
}
.choice input:checked + .choice-face .choice-letter {
  background: var(--ink);
  color: var(--card);
  transform: rotate(3deg);
}
.choice input:focus-visible + .choice-face { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice input:active + .choice-face { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }

/* ---------- Metin / skala ---------------------------------------------- */
.scale {
  margin-top: 8px;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  padding: 16px 16px 12px;
}
.scale-value {
  display: block;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.scale-value.is-unset { font-size: 1.2rem; color: var(--ink-2); }

.scale-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  margin: 4px 0 0;
  cursor: pointer;
}
.scale-slider::-webkit-slider-runnable-track {
  height: 14px;
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  background: repeating-linear-gradient(45deg, var(--red) 0 7px, var(--yellow) 7px 14px);
}
.scale-slider::-moz-range-track {
  height: 14px;
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  background: repeating-linear-gradient(45deg, var(--red) 0 7px, var(--yellow) 7px 14px);
}
.scale-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px; height: 30px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--card);
  border: var(--bd-strong) solid var(--ink);
}
.scale-slider::-moz-range-thumb {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--card);
  border: var(--bd-strong) solid var(--ink);
}
.scale-ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-top: 2px;
}
.scale-ends span:last-child { text-align: right; }

.q-figure {
  margin: 0 0 14px;
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  background: var(--paper);
}
.q-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Quiz üst şeridi -------------------------------------------- */
.quiz-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.progress {
  flex: 1;
  height: 18px;
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px 0 0 999px;
  background: repeating-linear-gradient(45deg, var(--red) 0 7px, var(--yellow) 7px 14px);
  transition: width .25s ease;
}
.counter {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
  min-width: 42px;
  text-align: right;
}

/* ---------- Özet ------------------------------------------------------- */
.summary-list { margin-top: 14px; display: grid; gap: 10px; }
.summary-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  min-height: 56px;
  padding: 12px 14px;
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.summary-item:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.summary-item.is-empty { background: var(--yellow); color: var(--on-color); }
.summary-num {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: var(--bd) solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--on-color);
  font-size: .85rem;
  font-weight: 800;
  transform: rotate(-3deg);
}
.summary-text { flex: 1; min-width: 0; }
.summary-q { display: block; font-weight: 800; }
.summary-a { display: block; font-size: .93rem; font-weight: 600; }

/* ---------- Geri sayım ------------------------------------------------- */
.countdown {
  margin: 18px auto;
  padding: 14px 18px;
  max-width: 320px;
  background: var(--yellow);
  color: var(--on-color);
  border: var(--bd-strong) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-btn);
  transform: rotate(-1.5deg);
  text-align: center;
}
.countdown-number {
  display: block;
  font-size: clamp(3.4rem, 18vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.countdown-label { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.countdown-clock {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.countdown-lg { max-width: 360px; }

/* ---------- Liderlik tablosu ------------------------------------------- */
.board { display: grid; gap: 10px; margin-top: 18px; }
.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
}
.board-row.is-me {
  background: var(--yellow);
  color: var(--on-color);
  border-width: var(--bd-strong);
  box-shadow: var(--sh-btn);
}
.board-rank {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: .9rem;
  font-weight: 800;
  color: var(--on-color);
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: 6px;
  transform: rotate(-3deg);
}
.board-avatar {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  border: var(--bd) solid var(--ink);
  border-radius: 10px;
}
.board-main { flex: 1; min-width: 0; }
.board-name {
  display: block;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-meta { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.board-row.is-me .board-meta { color: var(--on-color); }
.board-score {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.board-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--on-color);
  background: var(--green);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  padding: 1px 10px;
  transform: rotate(-2deg);
}

/* ---------- Yükleniyor -------------------------------------------------- */
.loader { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.loader span {
  width: 16px; height: 16px;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  border-radius: 4px;
  animation: hop .8s ease-in-out infinite;
}
.loader span:nth-child(2) { background: var(--red); animation-delay: .12s; }
.loader span:nth-child(3) { background: var(--blue); animation-delay: .24s; }
@keyframes hop {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-9px) rotate(6deg); }
}

/* ---------- Hareket azaltma -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .screen.is-active { animation: none; }
  #confetti { display: none; }
}

/* ---------- Geniş ekran ------------------------------------------------- */
@media (min-width: 640px) {
  .card { padding: 30px 30px; }
  .question-title { font-size: 30px; }
}

/* ---------- İçerik bildirme ------------------------------------------- */
/* App Store Guideline 1.2: kullanıcı üretimi içerik barındıran uygulamada
   saldırgan içeriği bildirme yolu bulunmak zorunda. */

/* Bağlantı gibi görünen düğme: footer'daki diğer iki bağlantıyla aynı
   hizada dursun ama semantik olarak düğme kalsın (bir yere gitmiyor). */
.linkish {
  font: inherit;
  color: var(--ink-2);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#report-dialog {
  width: min(440px, calc(100vw - 32px));
  border: var(--bd-strong) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-btn);
  background: var(--card);
  color: var(--ink);
  padding: 20px 18px;
  font-family: var(--font);
}
#report-dialog::backdrop {
  background: hsl(22 60% 12% / .45);
}

.report-reasons {
  border: none;
  margin: 14px 0 0;
  padding: 0;
}

.report-reason {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: .96rem;
  font-weight: 600;
  cursor: pointer;
  /* Dokunma hedefi: satırın tamamı tıklanabilir. */
  min-height: 44px;
  align-content: center;
  flex-wrap: wrap;
}
.report-reason input { margin-top: .25em; flex: none; }

.report-note-label {
  display: block;
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-2);
}

#report-note {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: var(--r-sm);
  resize: vertical;
}

.report-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.report-actions .btn { flex: 1; margin-top: 0; }
