@font-face {
  font-family: "Pricedown";
  src: url("/assets/pricedown.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #140F2C;
  --ink: #080612;
  --pink: #f8a4a4;
  --hot: #f03ba4;
  --gold: #fce58d;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html, body {
  margin: 0;
  background: #140F2C;
  color: #fff;
}

*, *::before, *::after { box-sizing: border-box; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(14px, var(--safe-top)) max(18px, var(--safe-right)) 14px max(18px, var(--safe-left));
  background: transparent;
  pointer-events: none;
}

.site-nav .brand,
.site-nav .nav-btn { pointer-events: auto; }

.site-nav .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.site-nav .brand img {
  display: block;
  height: 34px;
  width: auto;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(8, 6, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  touch-action: manipulation;
}

.site-nav .nav-btn:hover {
  color: #fff;
  border-color: rgba(248, 164, 164, 0.45);
  background: rgba(240, 59, 164, 0.14);
}

.explore-panel {
  position: fixed;
  top: calc(62px + var(--safe-top));
  right: max(16px, var(--safe-right));
  z-index: 49;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 10px;
  background: rgba(10, 7, 18, 0.96);
  border: 1px solid rgba(248, 164, 164, 0.22);
  border-radius: 16px;
  min-width: min(320px, calc(100vw - 32px));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.explore-panel.open { display: grid; }

.explore-panel a {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 10px;
}

.explore-panel a:hover {
  background: rgba(240, 59, 164, 0.12);
  color: #fff;
}

.ask-kicker { display: none; }

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: system-ui, sans-serif;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  font-size: clamp(17px, 3.6vw, 20px);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(248, 164, 164, 0.85);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-toggle::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-q { color: #fff; }

.faq-a {
  padding: 0 36px 22px 0;
}

.faq-a .status-badge { margin-bottom: 10px; }

.faq-lead {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 10px;
}

.faq-a p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.faq-a a {
  font-size: 13px;
  color: var(--pink);
  text-decoration: none;
}

.faq-a a:hover { text-decoration: underline; }

.search-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2.5rem;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: system-ui, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.search-ghost:hover { color: #fff; }

.time-strip {
  display: grid;
  gap: 10px;
  margin: 0 0 3.5rem;
}

.time-strip a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
}

.time-strip a:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.time-strip a:hover strong { color: #f8a4a4; }

.time-strip span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.time-strip strong {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: right;
}

.giant {
  text-align: center;
  padding-top: 8vh;
}

.giant .yesno {
  font-family: system-ui, sans-serif;
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0 0 16px;
}

.giant .remain {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 650;
  color: #fff;
}

.waiting-btn {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
  border: 1px solid rgba(248, 164, 164, 0.35);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
}

.waiting-btn[disabled] { opacity: 0.55; cursor: default; }

.embed-box textarea {
  width: 100%;
  min-height: 88px;
  font-size: 13px;
  font-family: ui-monospace, monospace;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 6, 20, 0.4);
  color: #fff;
  resize: vertical;
}

.search-cta {
  display: inline-flex;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 650;
  color: #111;
  background: var(--pink);
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: max(14vh, 88px) 16px 16px;
  background: rgba(6, 4, 14, 0.78);
  backdrop-filter: blur(10px);
}

.search-overlay.open { display: flex; }

.search-box {
  width: min(640px, 100%);
  background: #10081c;
  border: 1px solid rgba(248, 164, 164, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.search-input {
  width: 100%;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: #fff;
  outline: none;
}

.search-input::placeholder { color: rgba(255, 255, 255, 0.38); }

.search-results {
  max-height: 50vh;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.search-result {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result:hover,
.search-result.is-active { background: rgba(240, 59, 164, 0.1); }

.search-hint {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.42);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

body.search-open { overflow: hidden; }

.search-result .q {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  color: #fff;
  margin: 6px 0 4px;
}

.search-result .a {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.page-wrap > .status-badge { margin-bottom: 14px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.status-CONFIRMED { background: rgba(76, 175, 80, 0.2); color: #b7e0b9; }
.status-SHOWN { background: rgba(33, 150, 243, 0.2); color: #9fd0ff; }
.status-REPORTED { background: rgba(255, 193, 7, 0.16); color: #ffe082; }
.status-RUMORED { background: rgba(255, 152, 0, 0.16); color: #ffcc80; }
.status-NOT_CONFIRMED,
.status-UNKNOWN { background: rgba(255, 255, 255, 0.08); color: #d5d5d5; }
.status-FALSE { background: rgba(244, 67, 54, 0.2); color: #ef9a9a; }

body.inner-page {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 80% 36% at 50% -8%, rgba(166, 77, 121, 0.22), transparent 55%),
    #140F2C;
}

.page-wrap {
  min-height: 100svh;
  padding:
    calc(88px + var(--safe-top))
    max(22px, var(--safe-right))
    max(48px, var(--safe-bottom))
    max(22px, var(--safe-left));
  font-family: system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
}

.page-wrap h1 {
  font-family: system-ui, sans-serif;
  font-size: clamp(28px, 5.4vw, 44px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 16px;
}

.page-wrap h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 36px 0 12px;
}

.lead {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.4;
}

.answer-block {
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}

.body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1rem;
}

.body-text a { color: var(--pink); text-decoration: none; }
.body-text a:hover { text-decoration: underline; }

.meta-row {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin: 20px 0 0;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
}

.page-links a { color: var(--pink); text-decoration: none; }
.page-links a:hover { text-decoration: underline; }

.status-list {
  display: flex;
  flex-direction: column;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.3fr);
  gap: 12px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-row-label {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

.status-row-value {
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}

.card-grid {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.card {
  background: rgba(16, 10, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.card h3 {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.02em;
}

.card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

.card a { color: var(--pink); text-decoration: none; font-weight: 600; }

.card-grid > a.card { color: inherit; }

.util-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.util-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.util-form input,
.util-form select,
.util-form textarea {
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 39, 0.55);
  color: #fff;
}

.util-form button,
.btn-primary {
  font-size: 14px;
  font-weight: 650;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: #111;
  cursor: pointer;
}

.util-output {
  margin: 20px 0;
  padding: 20px;
  background: rgba(16, 10, 26, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.util-output .big {
  font-family: "Pricedown", Impact, sans-serif;
  font-size: clamp(28px, 6vw, 40px);
  color: #fff;
  -webkit-text-stroke: 0.04em #000;
  line-height: 1.05;
  margin-bottom: 10px;
}

.share-preview {
  margin-top: 16px;
  max-width: 100%;
  border-radius: 14px;
}

.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.share-btns button {
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 164, 164, 0.3);
  background: transparent;
  color: var(--pink);
  cursor: pointer;
  min-height: 44px;
}

.site-foot {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  padding: 28px 16px max(28px, var(--safe-bottom));
  background: #140F2C;
}

.site-foot p { margin: 0 0 8px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.site-foot p:last-child { margin-bottom: 0; }
.site-foot a { color: rgba(248, 164, 164, 0.55); text-decoration: none; }

.site-foot .zed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-foot .zed img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-foot .zed:hover { color: #fff; }

.consent-bar {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(16px, var(--safe-bottom));
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 24px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20, 15, 44, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.consent-bar p { margin: 0; flex: 1 1 220px; }
.consent-bar a { color: #f8a4a4; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-bar button,
.consent-actions .btn-primary {
  appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  cursor: pointer;
}
.consent-bar button.is-primary { background: rgba(240, 59, 164, 0.28); border-color: rgba(248, 164, 164, 0.4); }

.legal-doc { max-width: 720px; }
.legal-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 12px;
}
.legal-doc h2 {
  font-size: 1.2rem;
  margin: 2.4rem 0 0.8rem;
}
.legal-doc p, .legal-doc li { color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.65; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc .warn {
  border-left: 3px solid #f8a4a4;
  padding: 4px 0 4px 14px;
  color: rgba(255, 255, 255, 0.82);
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 1.5rem 0 0.5rem;
  font-size: 13px;
}
.legal-toc a { color: #f8a4a4; text-decoration: none; }
.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.legal-check input { margin-top: 3px; }

.ad-slot {
  display: none;
  min-height: 90px;
  margin: 24px auto;
  max-width: 728px;
}

.ad-slot[data-enabled="true"] { display: block; }

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 22px;
}

.breadcrumb a { color: rgba(248, 164, 164, 0.75); text-decoration: none; }

@media (max-width: 640px) {
  .status-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label badge"
      "value value";
  }
  .status-row-label { grid-area: label; }
  .status-row-meta { grid-area: badge; }
  .status-row-value { grid-area: value; text-align: left; }
}

@media (max-width: 480px) {
  .site-nav .brand img { height: 28px; }
  .site-nav .nav-btn span { display: none; }
  .explore-panel { left: max(16px, var(--safe-left)); right: max(16px, var(--safe-right)); }
}
