:root {
  color-scheme: light dark;
  --bg: #f3f7f6;
  --panel: #ffffff;
  --panel-2: #f7faf9;
  --panel-3: #eef5f2;
  --line: #d9e5e1;
  --text: #17211e;
  --muted: #5b6b66;
  --green: #2d8d71;
  --green-soft: rgba(47, 141, 112, 0.16);
  --green-line: rgba(116, 196, 165, 0.38);
  --verify-bg: #ffffff;
  --verify-card: #ffffff;
  --verify-section: #f7faf9;
  --verify-border: #d9e5e1;
  --verify-heading: #17211e;
  --verify-label: #6a7c75;
  --verify-value: #17211e;
  --verify-kicker: #334640;
  --verify-copy: #53645e;
  --verify-banner: #eaf7f1;
  --verify-banner-border: #a9d8c2;
  --verify-banner-title: #205d47;
  --verify-icon: #247b5b;
  --verify-hero: #050505;
  --verify-hero-text: #ffffff;
  --field-bg: #ffffff;
  --field-border: #cbdad5;
  --button-text: #f4fffb;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1b;
    --panel: #050505;
    --panel-2: #202020;
    --panel-3: rgba(255,255,255,0.03);
    --line: #4c4c4c;
    --text: #f5f5f5;
    --muted: #b8b8b8;
    --verify-bg: #1b1b1b;
    --verify-card: #050505;
    --verify-section: #202020;
    --verify-border: #4c4c4c;
    --verify-heading: #ffffff;
    --verify-label: #b8b8b8;
    --verify-value: #f7f7f7;
    --verify-kicker: #777777;
    --verify-copy: #b9f5df;
    --verify-banner: #10261d;
    --verify-banner-border: #168151;
    --verify-banner-title: #a7f4d9;
    --verify-icon: #86e8c3;
    --verify-hero: #000000;
    --verify-hero-text: #ffffff;
    --field-bg: #202020;
    --field-border: #4c4c4c;
    --button-text: #ffffff;
  }
}

* { box-sizing: border-box; }

.app-shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 40px 0 64px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(38, 74, 61, 0.1);
}

.form-panel {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #78d2b2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-panel h1,
.result h2 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(120,210,178,0.45);
  border-color: #78d2b2;
}

.full-width {
  grid-column: 1 / -1;
}

.actions-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.button {
  border: 0;
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 800;
}

.button-primary {
  background: var(--green);
  color: var(--button-text);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.result {
  margin-top: 24px;
  padding: 28px 32px;
}

.result h2 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.result-card {
  color: var(--muted);
}

.result-card p {
  margin-top: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.result-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.result-grid dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.result-grid dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 800;
}

.result-grid a {
  color: #8de0c1;
}

.hidden {
  display: none;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
}

body {
  min-height: 100vh;
}

button { font: inherit; }

.verify-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--verify-bg);
  padding: 0;
}

.verify-screen {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  background: var(--verify-card);
  border: 1px solid var(--verify-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(38, 74, 61, 0.1);
}

.phone-shell {
  width: 100%;
  min-height: 100vh;
  background: var(--verify-card);
}

.official-card {
  background: var(--verify-card);
  padding: 42px 22px 28px;
  border-top: 1px solid var(--verify-border);
  border-bottom: 1px solid var(--verify-border);
}

.official-hero {
  margin: -42px -22px 22px;
  padding: 24px 22px 28px;
  background: var(--verify-hero);
  color: var(--verify-hero-text);
}

.official-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.official-header-left {
  flex: 1;
}

.official-kicker {
  font-family: var(--font-ui);
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.2;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 13px 7px 10px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.18);
}

.official-badge.is-authentic {
  background: var(--verify-banner);
  border-color: var(--verify-banner-border);
  color: var(--verify-banner-title);
}

.official-badge.is-warning {
  background: #fff0ef;
  border-color: #e7b5b1;
  color: #9b3934;
}

.badge-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--verify-card);
  border: 1px solid var(--verify-border);
  font-size: 0.74rem;
  font-weight: 900;
}

.official-card h1 {
  margin: 0 0 14px;
  color: var(--verify-hero-text);
  font-size: clamp(1.75rem, 6vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.official-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 16px 20px;
  border-radius: 9px;
  background: var(--verify-banner);
  border: 1px solid var(--verify-banner-border);
  margin-bottom: 18px;
}

.official-banner-error {
  background: #fff1f0;
  border-color: #e7b5b1;
}

.official-banner-icon {
  width: 2.25em;
  height: 2.25em;
  flex: 0 0 2.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #b9d7ca;
  color: var(--verify-icon);
  font-size: 0.9rem;
  font-weight: 900;
}

.official-banner-icon img {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
}

.official-banner-title {
  margin: 0 0 6px;
  color: var(--verify-banner-title);
  font-size: 1.18rem;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.2;
}

.official-banner-error .official-banner-title {
  color: #963d38;
}

.official-banner p {
  margin: 0;
  color: var(--verify-copy);
  font-size: 1.02rem;
  line-height: 1.5;
}

.official-section {
  background: var(--verify-section);
  border: 1px solid var(--verify-border);
  border-radius: 9px;
  padding: 18px 18px 14px;
  margin: 0 0 16px;
}

.official-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.official-section-icon {
  width: 2.1em;
  height: 2.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--verify-icon);
  font-size: 1rem;
}

.official-section-icon img {
  width: 1.55em;
  height: 1.55em;
  object-fit: contain;
  opacity: 0.9;
}

.official-section-head h2 {
  margin: 0;
  color: var(--verify-heading);
  font-family: var(--font-ui);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.2;
}

.official-row {
  padding: 0 0 18px;
}

.official-label {
  color: var(--verify-label);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3px;
}

.official-value {
  color: var(--verify-value);
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 600;
  word-break: break-word;
}

.official-value.is-highlight,
.official-value.is-strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.official-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--verify-border);
  border-radius: 16px;
  background: var(--verify-section);
  padding: 16px 18px;
  margin: 0 0 18px;
}

.official-note-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--verify-icon);
  font-weight: 900;
  font-size: 1.15rem;
  flex: 0 0 22px;
}

.official-note p {
  margin: 0;
  color: var(--verify-copy);
  font-size: 1rem;
  line-height: 1.58;
}

@media (max-width: 430px) {
  .verify-screen {
    border-radius: 0;
  }

  .official-card {
    padding: 30px 14px 20px;
  }

  .official-hero {
    margin: -30px -14px 20px;
    padding: 22px 14px 24px;
  }

  .official-header {
    gap: 8px;
  }

  .official-badge {
    font-size: 0.95rem;
    padding: 9px 12px;
  }
}

