/*
 * Fonts, served from this site (no request to Google): variable woff2 files from Google Fonts,
 * SIL Open Font License 1.1 (assets/fonts/*-OFL.txt). latin covers English and ı / Ö / Ü / Ç;
 * latin-ext adds ğ, ş and İ. A new version gets a new file name, since fonts are cached for a year.
 */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-v17-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-v17-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-v23-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-v23-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * Design tokens, copied from ../../../mobile/src/theme/theme.ts (same values as the admin
 * panel's src/styles/theme.css). Pages use these variables only; a new colour gets a token here.
 */
:root {
  --font-display: "Manrope", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --ink: #242139;
  --muted: #797589;
  --subtle: #918c9f;
  --background: #f7f7fb;
  --canvas: #ecebf3;
  --surface: #ffffff;
  --divider: #f1eff6;
  --border: #e7e5ee;
  --border-soft: #efedf5;

  --purple: #6f5bd5;
  --purple-deep: #503bb4;
  --purple-soft: #eeeafe;
  --purple-border: #dcd5ff;
  --lime: #d9f266;
  --lime-border: #bbdb3a;
  --lime-ink: #4b5a0d;
  --lime-text: #e9f9a3;

  --night: #24203d;
  --night-deep: #1c1930;
  --night-border: #625b7c;

  --danger: #c4363e;
  --danger-soft: #ffe4e6;
  --danger-ink: #a8222a;
  --info-bg: #e4edff;
  --info-ink: #3d67ac;
  --hint-bg: #fff4dc;
  --hint-border: #ecc169;
  --hint-ink: #91640b;

  --state-idle: #ffffff;
  --state-idle-fg: #67637a;
  --state-idle-border: #ddd9e8;
  --state-correct: #dff5e3;
  --state-correct-fg: #17693a;
  --state-correct-border: #3fae62;
  --state-wrong: #ffe0e3;
  --state-wrong-fg: #a8222a;
  --state-wrong-border: #e5484d;
  --state-passed: #ffe8d1;
  --state-passed-fg: #a65210;
  --state-passed-border: #f08a43;
  --state-current: #6f5bd5;
  --state-current-border: #ded8ff;

  --level-a1: #dcf5d0;
  --level-a1-fg: #256b1e;
  --level-a2: #eaf4b8;
  --level-a2-fg: #4d5c0a;
  --level-b1: #fdeca6;
  --level-b1-fg: #6b5000;
  --level-b2: #ffd3a8;
  --level-b2-fg: #7d3a06;
  --level-c1: #fcd0c8;
  --level-c1-fg: #8a2116;
  --level-c2: #f6b1ad;
  --level-c2-fg: #6e1111;

  --radius-sm: 11px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-3xl: 20px;
  --radius-5xl: 28px;

  --shadow-soft: 0 2px 8px rgb(48 38 89 / 0.06);
  --shadow-card: 0 14px 20px rgb(48 38 89 / 0.12);
  --shadow-primary: 0 8px 9px rgb(111 91 213 / 0.25);

  --page: 1040px;
  --prose: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--purple-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple);
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--purple-deep);
}

/* Link to the same page in the other language (TR ↔ EN) */
.site-nav a.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.site-nav a.lang-switch:hover {
  border-color: var(--purple-border);
  background: var(--purple-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.btn-lime {
  background: var(--lime);
  color: var(--night);
  border: 1px solid var(--lime-border);
}

.btn-lime:hover {
  color: var(--night);
  filter: brightness(1.04);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid var(--night-border);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgb(255 255 255 / 0.06);
}

/* Official store badges: Apple's artwork, unaltered; 48px tall to match .btn (Apple's minimum is 40px) */
.store-badge {
  display: inline-flex;
  border-radius: var(--radius-lg);
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

/* Hero (dark, like the app's splash / auth hero) */
.hero {
  background: radial-gradient(120% 90% at 85% 0%, #4b3f86 0%, var(--night) 55%, var(--night-deep) 100%);
  color: #ffffff;
  padding: 64px 0 72px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero p {
  color: #d9d5ea;
  font-size: 17.5px;
  margin: 18px 0 28px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: #b7b1cf;
}

/* Game preview card */
.preview {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-5xl);
  box-shadow: 0 30px 50px rgb(0 0 0 / 0.35);
  padding: 22px;
  max-width: 400px;
  justify-self: center;
  width: 100%;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.letters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 18px;
}

.letter {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--state-idle-border);
  background: var(--state-idle);
  color: var(--state-idle-fg);
}

.letter.correct {
  background: var(--state-correct);
  color: var(--state-correct-fg);
  border-color: var(--state-correct-border);
}

.letter.wrong {
  background: var(--state-wrong);
  color: var(--state-wrong-fg);
  border-color: var(--state-wrong-border);
}

.letter.passed {
  background: var(--state-passed);
  color: var(--state-passed-fg);
  border: 2px dashed var(--state-passed-border);
}

.letter.current {
  background: var(--state-current);
  color: #ffffff;
  border-color: var(--state-current-border);
  box-shadow: 0 0 0 4px var(--purple-soft);
}

.clue {
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  font-size: 15px;
}

.clue small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: 4px;
}

.slots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.slot {
  width: 40px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--background);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.slot.filled {
  border-color: var(--purple);
  background: var(--surface);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 34px);
}

.section-head p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.section-alt .card {
  background: var(--background);
  box-shadow: none;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--purple-soft);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.level {
  flex: 1 1 140px;
  border-radius: var(--radius-xl);
  padding: 16px 18px;
}

.level strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
}

.level span {
  font-size: 14px;
  font-weight: 600;
}

.level-a1 { background: var(--level-a1); color: var(--level-a1-fg); }
.level-a2 { background: var(--level-a2); color: var(--level-a2-fg); }
.level-b1 { background: var(--level-b1); color: var(--level-b1-fg); }
.level-b2 { background: var(--level-b2); color: var(--level-b2-fg); }
.level-c1 { background: var(--level-c1); color: var(--level-c1-fg); }
.level-c2 { background: var(--level-c2); color: var(--level-c2-fg); }

.plus {
  background: var(--night);
  color: #ffffff;
  border-radius: var(--radius-5xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.plus h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.plus h2 em {
  font-style: normal;
  color: var(--lime);
}

.plus p {
  color: #d9d5ea;
  margin: 10px 0 0;
}

.plus ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plus li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.plus li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
}

/* How to play: the app's onboarding steps, each with a small game visual */
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  color: var(--purple-deep);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.facts {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.facts li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--purple-deep);
}

.facts span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.howto-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.howto-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-5xl);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howto-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.howto-step:nth-child(even) .stage {
  order: 2;
}

.stage {
  min-height: 280px;
  border-radius: var(--radius-5xl);
  background: radial-gradient(90% 90% at 50% 40%, var(--surface) 0%, var(--purple-soft) 70%);
  display: grid;
  place-items: center;
  padding: 24px 16px;
  overflow: hidden;
}

.step-copy {
  padding-right: 12px;
}

.howto-step:nth-child(even) .step-copy {
  padding: 0 0 0 12px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--lime);
  border: 1px solid var(--lime-border);
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.step-copy h3 {
  font-size: clamp(22px, 2.6vw, 27px);
}

.step-copy p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 10px 0 16px;
}

.tip {
  display: inline-block;
  background: var(--hint-bg);
  border: 1px solid var(--hint-border);
  color: var(--hint-ink);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

/* Step 1: ring */
.ring {
  position: relative;
  width: 232px;
  height: 232px;
}

.ring .letter {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  font-size: 14px;
  margin: -17px 0 0 -17px;
  transform: rotate(calc(var(--i) * 30deg)) translateY(-96px) rotate(calc(var(--i) * -30deg));
}

.ring .letter.current {
  animation: pulse 1.8s ease-in-out infinite;
}

.ring-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgb(111 91 213 / 0.18); }
}

/* Step 2: answer */
.answer {
  width: 100%;
  max-width: 320px;
  display: grid;
  gap: 18px;
  justify-items: center;
  position: relative;
}

.clue-card {
  justify-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.4;
}

.clue-chip {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}

.answer .slots {
  margin: 0;
}

.slot.correct {
  background: var(--state-correct);
  color: var(--state-correct-fg);
  border: 2px solid var(--state-correct-border);
  animation: pop 0.5s ease both;
}

.slot.correct:nth-child(2) { animation-delay: 0.08s; }
.slot.correct:nth-child(3) { animation-delay: 0.16s; }
.slot.correct:nth-child(4) { animation-delay: 0.24s; }
.slot.correct:nth-child(5) { animation-delay: 0.32s; }

@keyframes pop {
  from { transform: scale(0.6); }
  70% { transform: scale(1.08); }
}

.toast {
  background: var(--state-correct-fg);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

/* Step 3: stuck */
.stuck {
  display: grid;
  gap: 26px;
  justify-items: center;
}

.bubble-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bubble-row .letter {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.bubble-row .letter.big {
  width: 54px;
  height: 54px;
  font-size: 20px;
}

.key-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.key {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
}

.key-hint {
  background: var(--hint-bg);
  color: var(--hint-ink);
}

/* Step 4: category deck */
.category {
  width: 100%;
  max-width: 300px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.strip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.strip-chip {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  background: var(--state-idle);
  color: var(--state-idle-fg);
  border: 1.5px solid var(--state-idle-border);
}

.strip-chip.correct {
  background: var(--state-correct);
  color: var(--state-correct-fg);
  border: 2px solid var(--state-correct-border);
}

.strip-chip.wrong {
  background: var(--state-wrong);
  color: var(--state-wrong-fg);
  border: 2px solid var(--state-wrong-border);
}

.strip-chip.current {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 16px;
  background: var(--state-current);
  color: #ffffff;
  border: 3px solid var(--state-current-border);
}

.deck {
  position: relative;
  width: 100%;
  height: 160px;
}

.deck-card {
  position: absolute;
  inset: 0 0 12px;
  border-radius: var(--radius-3xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.deck-card.ghost-2 {
  transform: translateY(12px) scaleX(0.9);
  opacity: 0.6;
}

.deck-card.ghost-1 {
  transform: translateY(6px) scaleX(0.95);
}

.deck-card.front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 34px 14px 14px;
  box-shadow: var(--shadow-card);
  transform: translateX(-18px) rotate(-4deg);
  animation: swipe 3.2s ease-in-out infinite;
}

@keyframes swipe {
  0%, 100% { transform: translateX(-18px) rotate(-4deg); }
  50% { transform: translateX(-30px) rotate(-7deg); }
}

.deck-topic {
  position: absolute;
  top: 10px;
  left: 12px;
  font-weight: 700;
  font-size: 11.5px;
}

.deck-cue {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 2px 9px;
  border-radius: 12px;
  background: var(--state-passed);
  border: 1.5px dashed var(--state-passed-border);
  color: var(--state-passed-fg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
}

.deck-clue {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
}

/* Step 5: timer and levels */
.finish {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 22px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.level-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 330px;
}

.level-chip {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
}

/* Letter colour legend */
.legend {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}

.legend h3 {
  font-size: 16px;
}

.legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}

.legend .letter {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.legend .letter.current {
  box-shadow: none;
}

/* More features */
.more {
  margin-top: 72px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid .card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-grid .card:hover {
  transform: translateY(-3px);
  border-color: var(--purple-border);
}

.feature-grid .card h3 {
  font-size: 17px;
}

.feature-grid .card p {
  font-size: 14.5px;
}

.howto-cta {
  margin-top: 56px;
  border-radius: var(--radius-5xl);
  padding: 32px 36px;
  background: radial-gradient(120% 140% at 90% 0%, #4b3f86 0%, var(--night) 60%, var(--night-deep) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.howto-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.howto-cta h2 em {
  font-style: normal;
  color: var(--lime);
}

.howto-cta p {
  margin: 8px 0 0;
  color: #d9d5ea;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .howto-step {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 16px;
  }

  .howto-step:nth-child(even) .stage {
    order: 0;
  }

  .step-copy,
  .howto-step:nth-child(even) .step-copy {
    padding: 0 6px 6px;
  }

  .stage {
    min-height: 250px;
  }

  .howto-cta {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring .letter.current,
  .slot.correct,
  .deck-card.front {
    animation: none;
  }

  .howto-step,
  .feature-grid .card {
    transition: none;
  }
}

/* Legal / content pages */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 32px;
}

.page-head h1 {
  font-size: clamp(28px, 4vw, 38px);
}

.page-head p {
  color: var(--muted);
  margin: 8px 0 0;
}

.prose {
  max-width: var(--prose);
  padding-top: 40px;
  padding-bottom: 72px;
}

.prose h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.prose h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.prose p,
.prose li {
  color: #3a3651;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 16px 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
}

.prose th {
  background: var(--canvas);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  font-size: 15px;
}

.toc ol {
  margin: 6px 0 0;
}

.note {
  border-radius: var(--radius-xl);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
}

.note p {
  margin: 0;
  color: inherit;
}

.note-info {
  background: var(--info-bg);
  color: var(--info-ink);
}

.note-hint {
  background: var(--hint-bg);
  color: var(--hint-ink);
  border: 1px solid var(--hint-border);
}

.note-danger {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  margin: 0 !important;
}

.steps li::before {
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.mail-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-3xl);
  padding: 20px 22px;
  margin: 20px 0;
}

.mail-card strong {
  font-family: var(--font-display);
  font-size: 19px;
  word-break: break-all;
}

.mail-card small {
  display: block;
  color: var(--muted);
}

.btn-primary {
  background: var(--purple);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--purple-deep);
  color: #ffffff;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 10px 0 0;
}

/* Footer */
.site-footer {
  background: var(--night-deep);
  color: #b7b1cf;
  padding: 36px 0;
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #e6e2f5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime);
}

@media (max-width: 820px) {
  .hero .container,
  .plus {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 52px;
  }

  .section {
    padding: 52px 0;
  }

  .plus {
    padding: 26px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .slot {
    width: 34px;
    height: 42px;
    font-size: 18px;
  }

  .letter {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

/* Shared round result (/games/<id>, games/game.js) */
.share-hero .container {
  grid-template-columns: 1fr 1fr;
}

.share-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-5xl);
  box-shadow: 0 30px 50px rgb(0 0 0 / 0.35);
  padding: 26px;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  min-height: 300px;
  display: grid;
  align-content: center;
}

.share-state {
  text-align: center;
}

.share-state h1 {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}

.share-missing-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.share-spinner {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--purple-soft);
  border-top-color: var(--purple);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.share-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.share-player {
  font-weight: 700;
  color: var(--purple-deep);
  overflow-wrap: anywhere;
}

.share-title {
  font-size: clamp(26px, 4vw, 32px);
}

.share-card .share-sub,
.share-card .share-state p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 15px;
}

.share-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.share-score strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: var(--purple-deep);
}

.share-score span {
  color: var(--muted);
  font-weight: 600;
}

.share-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-chips li {
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 15px;
}

.share-chips .correct { background: var(--state-correct); color: var(--state-correct-fg); }
.share-chips .wrong { background: var(--state-wrong); color: var(--state-wrong-fg); }
.share-chips .passed { background: var(--state-passed); color: var(--state-passed-fg); }

.share-pitch h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.share-pitch h2 em {
  font-style: normal;
  color: var(--lime);
}

.share-pitch p {
  color: #d9d5ea;
  font-size: 17px;
  margin: 14px 0 24px;
}

.share-answers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.share-answer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 10px 14px;
}

.share-answer .letter {
  flex: none;
}

.share-answer .chip {
  flex: none;
}

.share-word {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.share-word.hidden-word {
  color: var(--subtle);
  letter-spacing: 2px;
}

.share-mark {
  flex: none;
  font-weight: 800;
  font-size: 18px;
}

.share-answer.correct .share-mark { color: var(--state-correct-fg); }
.share-answer.wrong .share-mark { color: var(--state-wrong-fg); }
.share-answer.passed .share-mark { color: var(--state-passed-fg); }

.share-expiry {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-alt .howto-cta {
  margin-top: 40px;
}

@media (max-width: 820px) {
  .share-hero .container {
    grid-template-columns: 1fr;
  }

  .share-answers {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-spinner {
    animation-duration: 3s;
  }
}

/* Hero link to the "what's new" section */
.new-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--night-border);
  background: rgb(255 255 255 / 0.06);
  color: #d9d5ea;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  max-width: 100%;
  line-height: 1.35;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.new-badge span {
  flex-shrink: 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.new-badge::after {
  content: "→";
  color: var(--lime);
}

.new-badge:hover {
  color: #ffffff;
  background: rgb(255 255 255 / 0.1);
  border-color: var(--lime-border);
}

/* What's new: one wide card for the daily ring, then a 2×2 grid */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.bento-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-5xl);
  padding: 18px 18px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.bento-card > h3,
.bento-card > p,
.bento-card > .bento-tag,
.bento-card > .interval {
  margin-left: 6px;
  margin-right: 6px;
}

.bento-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.bento-tag {
  display: inline-block;
  margin: 20px 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--purple-deep);
}

.bento-stage {
  min-height: 220px;
  border-radius: var(--radius-3xl);
  background: radial-gradient(90% 90% at 50% 40%, var(--surface) 0%, var(--purple-soft) 75%);
  display: grid;
  place-items: center;
  padding: 22px 16px;
  overflow: hidden;
}

/* Daily ring: dark, wide */
.bento-daily {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(120% 140% at 90% 0%, #4b3f86 0%, var(--night) 60%, var(--night-deep) 100%);
}

.bento-daily .bento-tag {
  margin-top: 0;
  color: var(--lime-text);
}

.bento-daily h3 {
  font-size: clamp(24px, 3vw, 30px);
}

.bento-daily p {
  color: #d9d5ea;
  font-size: 16px;
}

/* Word search: light, wide (copy left, a phone-like result right) */
.bento-search {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  background: radial-gradient(120% 140% at 10% 100%, var(--purple-soft) 0%, var(--surface) 70%);
}

.bento-search .bento-tag {
  margin-top: 0;
}

.bento-search h3 {
  font-size: clamp(24px, 3vw, 30px);
}

.bento-search p + p {
  margin-top: 10px;
}

.bento-search .rule-list li {
  background: var(--surface);
  border-color: var(--purple-border);
}

.bento-search .rule-list strong {
  color: var(--purple);
}

.bento-search .rule-list span {
  color: var(--muted);
}

.search-mock {
  min-width: 0;
  max-width: 400px;
  width: 100%;
  justify-self: center;
  display: grid;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1.5px solid var(--purple);
  box-shadow: var(--shadow-soft);
}

.search-icon {
  font-size: 20px;
  color: var(--purple);
}

.search-text {
  flex: 1;
  font-weight: 500;
}

.search-go {
  padding: 9px 16px;
  border-radius: var(--radius-lg);
  background: var(--purple);
  color: var(--surface);
  font-weight: 700;
  font-size: 14px;
}

.search-result {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-3xl);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  animation: search-in 0.6s ease both 0.2s;
}

.search-word {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-word strong {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.6px;
}

.search-speak {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple-soft);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-level,
.search-cat {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.search-cat {
  background: var(--purple-soft);
  color: var(--purple);
}

.search-meaning {
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--purple-soft);
}

.search-meaning small,
.search-clue small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.search-meaning strong {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--purple-deep);
}

.search-clue span {
  font-size: 14px;
}

.search-save {
  justify-self: stretch;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-lg);
  background: var(--purple);
  color: var(--surface);
  font-weight: 700;
  font-size: 14px;
}

@keyframes search-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.rule-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rule-list li {
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid var(--night-border);
}

.rule-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--lime);
}

.rule-list span {
  font-size: 13px;
  color: #d9d5ea;
}

.daily-mock {
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-5xl);
  padding: 20px;
  box-shadow: 0 30px 50px rgb(0 0 0 / 0.35);
  display: grid;
  gap: 16px;
  max-width: 400px;
  width: 100%;
  justify-self: center;
}

.daily-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.daily-open {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.daily-left {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.mixed-letters {
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.mixed {
  flex: 1;
  max-width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  animation: pop 0.5s ease both;
}

.mixed:nth-child(2) { animation-delay: 0.06s; }
.mixed:nth-child(3) { animation-delay: 0.12s; }
.mixed:nth-child(4) { animation-delay: 0.18s; }
.mixed:nth-child(5) { animation-delay: 0.24s; }
.mixed:nth-child(6) { animation-delay: 0.3s; }
.mixed:nth-child(7) { animation-delay: 0.36s; }
.mixed:nth-child(8) { animation-delay: 0.42s; }

.daily-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.daily-tiles div {
  background: var(--background);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 10px 14px;
}

.daily-tiles strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--purple-deep);
}

.daily-tiles span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.perfect-chip {
  justify-self: start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hint-bg);
  border: 1px solid var(--hint-border);
  color: var(--hint-ink);
  font-size: 13.5px;
  font-weight: 700;
}

/* Answer by voice: the mic key between Pass and Submit */
.voice {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.listening {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-deep);
}

.listening i {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--purple);
  animation: wave 1s ease-in-out infinite;
}

.listening i:nth-child(2) { animation-delay: 0.15s; }
.listening i:nth-child(3) { animation-delay: 0.3s; margin-right: 6px; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.slot.heard {
  background: var(--purple-soft);
  border-color: var(--purple-border);
  color: var(--purple-deep);
  animation: pop 0.45s ease both;
}

.slot.heard:nth-child(2) { animation-delay: 0.1s; }
.slot.heard:nth-child(3) { animation-delay: 0.2s; }
.slot.heard:nth-child(4) { animation-delay: 0.3s; }
.slot.heard:nth-child(5) { animation-delay: 0.4s; }

.mic-key {
  position: relative;
  padding: 12px 34px;
  border-radius: var(--radius-lg);
  background: var(--purple);
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.mic-ring {
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-lg) + 6px);
  border: 2px solid var(--purple-border);
  animation: ripple 1.6s ease-out infinite;
}

@keyframes ripple {
  from { transform: scale(0.95); opacity: 1; }
  to { transform: scale(1.18); opacity: 0; }
}

.mic-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* Review flash cards */
.flash {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
}

.flash-deck {
  position: relative;
  width: min(230px, 100%);
  height: 128px;
}

.flash-card {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-soft);
}

.flash-card.ghost-2 {
  transform: translateY(14px) scale(0.9);
  opacity: 0.6;
}

.flash-card.ghost-1 {
  transform: translateY(7px) scale(0.95);
}

.flash-card.front {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  border: 2px solid var(--state-correct-border);
  box-shadow: var(--shadow-card);
  animation: known 3.2s ease-in-out infinite;
}

@keyframes known {
  0%, 55% { transform: none; opacity: 1; }
  75% { transform: translateX(46px) rotate(8deg); opacity: 0; }
  76% { transform: translateY(7px) scale(0.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.flash-card strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.flash-meaning {
  font-weight: 600;
  color: var(--purple);
}

.flash-level {
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.flash-actions {
  display: flex;
  gap: 10px;
}

.flash-btn {
  padding: 9px 18px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid;
}

.flash-btn.no {
  background: var(--state-wrong);
  border-color: var(--state-wrong-border);
  color: var(--state-wrong-fg);
}

.flash-btn.yes {
  background: var(--state-correct);
  border-color: var(--state-correct-border);
  color: var(--state-correct-fg);
}

.interval {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.interval li {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--state-correct);
  color: var(--state-correct-fg);
  font-size: 12.5px;
  font-weight: 700;
}

.interval li + li::before {
  content: "→ ";
  color: var(--subtle);
}

/* Turkish-meaning hint */
.meaning {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.meaning-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 220px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
}

.meaning-card small {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--purple);
}

.meaning-card strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.key-tr {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

/* Share */
.share-mock {
  display: grid;
  gap: 8px;
  width: min(280px, 100%);
}

.share-bubble {
  justify-self: end;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  background: var(--purple);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.share-link {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.share-link img {
  border-radius: var(--radius-sm);
}

.share-link strong {
  display: block;
  font-size: 14px;
}

.share-link span {
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-daily,
  .bento-search {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mixed,
  .listening i,
  .slot.heard,
  .hold-ring,
  .flash-card.front,
  .search-result {
    animation: none;
  }

  .bento-card,
  .new-badge {
    transition: none;
  }
}
