:root {
  --ink:#171926;
  --muted:#525768;
  --paper:#f5f3ee;
  --surface:#fffdf9;
  --mast:#181929;
  --accent:#355d34;
  --lime:#d6fa69;
  --line:#deded9;
  --poll:#eef2e4;
  --result:#d6e8a9;
  --violet:#5f4a91;
  --violet-soft:#ece6f8;
  --surface-soft:#f0eee7;
  --card-shadow:0 2px 4px #28243908,0 15px 36px -20px #25203335;
  --raised-shadow:0 14px 44px -22px #27243865;
  --ring:#784bc3;
  --radius:18px;
}

:root[data-theme="dark"] {
  --ink:#f6f3f7;
  --muted:#bcb8ca;
  --paper:#171721;
  --surface:#232330;
  --mast:#11111c;
  --accent:#d3ed9b;
  --line:#3d3b4e;
  --poll:#30392d;
  --result:#475d36;
  --violet:#d9c1ff;
  --violet-soft:#392f4d;
  --surface-soft:#2b2a39;
  --card-shadow:0 2px 8px #05040a2c,0 18px 38px -18px #05040a82;
  --raised-shadow:0 18px 44px -20px #05040aaa;
  --ring:#c9a1ff;
}

body {
  background:radial-gradient(ellipse at 6% 0%,color-mix(in srgb,var(--violet-soft) 76%,transparent),transparent 42rem),
    radial-gradient(ellipse at 90% 12%,color-mix(in srgb,var(--poll) 70%,transparent),transparent 33rem),var(--paper);
}
.wrap { width:min(1320px,calc(100% - 64px)) }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid var(--ring);outline-offset:3px }
main { padding-top:clamp(24px,3.5vw,48px) }
p { text-wrap:pretty }
:is(h1,h2,h3) { text-wrap:balance }

.masthead {
  border-top:0;
  background:radial-gradient(ellipse at 81% -90%,#4c385b 0%,transparent 69%),var(--mast);
  box-shadow:inset 0 3px var(--lime),0 4px 0 #0c0d181a;
}
.mast-shell .mast-row { min-height:86px }
.masthead .wordmark { color:#fff;font-size:clamp(2.7rem,4.3vw,3.9rem) }
.masthead .wordmark span { color:var(--lime) }
.mast-actions > * { border-radius:10px;border-color:#585569;background:#f4eff908 }
.mast-actions .mast-contribute { border-color:var(--lime);background:var(--lime);color:#202619 }
.mast-search-field { border-radius:12px;border-color:#68647a;background:#ffffff13 }
.mast-search-field button { border-inline-start-color:#68647a }
.mast-search-field button:hover { background:#ffffff16 }
.mast-search-field:focus-within { outline:2px solid var(--lime);outline-offset:2px }
#quick-results { border-radius:12px;box-shadow:var(--raised-shadow) }
#quick-results li + li { border-top:1px solid var(--line) }

.nav-bar {
  background:color-mix(in srgb,var(--surface) 94%,transparent);
  box-shadow:0 6px 15px -12px #16121c70;
  backdrop-filter:blur(12px);
}
.nav { gap:clamp(5px,1.45vw,20px);padding-block:6px }
.nav a { align-items:center;min-height:38px;padding:5px 11px;border:0;border-radius:8px;font-size:.9rem }
.nav a[aria-current="page"] { color:var(--accent);background:var(--poll);box-shadow:inset 0 -2px var(--accent) }
.nav a:hover { background:var(--surface-soft);color:var(--accent) }
.nav a[aria-current="page"]:hover { background:var(--poll) }
.category-scroll { background:transparent }
.category-scroll span { border-color:var(--line);background:var(--surface-soft) }

.home-heading { align-items:flex-end;gap:14px;margin-bottom:22px }
.home-heading h1 {
  max-width:14ch;
  color:var(--ink);
  font-size:clamp(2.8rem,6vw,5.5rem);
  line-height:.94;
  letter-spacing:-.083em;
}
.home-heading h1::before,.collection > h1::before,.quiz-directory > h1::before,
.contribute-page > h1::before,.site-info h1::before,.poll-page > h1::before {
  content:"";display:block;width:48px;height:6px;margin-bottom:13px;border-radius:8px;background:var(--lime);
}
.topic-links { justify-content:flex-end;gap:7px;padding-bottom:3px }
.topic-links a { padding:8px 13px;background:var(--surface);box-shadow:0 2px 3px #2420260b }
.topic-links a:hover { background:var(--poll);border-color:var(--accent) }

.editorial-lead { gap:14px;margin-bottom:22px }
.editorial-lead .lead-story {
  min-height:clamp(415px,38vw,502px);
  border-radius:22px;
  box-shadow:var(--raised-shadow);
}
.lead-story::after { background:linear-gradient(8deg,#151522fc 1%,#171525b8 35%,#181a2e38 70%,#1715250a 92%) }
.lead-copy { max-width:790px;padding:clamp(25px,4vw,48px) }
.lead-copy h2 { color:#fff;font-size:clamp(2.65rem,4.95vw,4.65rem);line-height:.99;letter-spacing:-.065em;margin-block:11px }
.lead-copy p { color:#eeeaf3;font-size:clamp(.92rem,1.18vw,1.1rem) }
.lead-copy .read-time { color:#f0edf1 }
.hero-tag { border-radius:6px;padding:5px 8px }
.daily-stack { gap:14px }
.daily-card { position:relative;isolation:isolate;display:flex;align-items:flex-end;border:0;border-radius:19px;min-height:0;background:#26233a;color:#fff;box-shadow:var(--card-shadow) }
.daily-card > img { position:absolute;inset:0;z-index:-2;width:100%;height:100%;min-height:0;object-fit:cover;transition:transform .3s ease }
.daily-card::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(10deg,#211930f5 5%,#2d1e3e9e 50%,#2515341a 86%) }
.daily-card:nth-child(2)::after { background:linear-gradient(10deg,#18271cf5 5%,#192e2294 52%,#14271e1a 88%) }
.daily-card:focus-within img,.daily-card:hover img { transform:scale(1.04) }
.daily-card-copy { position:relative;gap:6px;padding:clamp(13px,2.15vw,25px) }
.daily-card-copy .eyebrow { color:#eed3ff;font-size:.77rem }
.daily-card:nth-child(2) .eyebrow { color:#e0faab }
.daily-card-copy h2 { color:#fff;font-size:clamp(1.18rem,2.1vw,1.85rem);letter-spacing:-.03em }
.daily-card-copy h2 a:hover { color:#f5ffc8 }
.daily-card-copy p { color:#f0eaf5;font-size:.83rem }
.daily-action { min-height:36px;margin-top:4px;padding:5px 10px;border-radius:6px;background:var(--lime);color:#1c2317;text-decoration:none;font-size:.84rem }
.daily-action:hover { background:#ebffac;color:#1c2317 }

.section-heading { border-top:1px solid var(--line);padding-top:14px;padding-bottom:13px;gap:8px }
.section-heading h2 { position:relative;letter-spacing:-.049em }
.section-heading h2::before { content:"";position:absolute;top:-16px;left:0;width:38px;height:3px;border-radius:3px;background:var(--accent) }
.section-heading > a { align-self:center;padding:5px 9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--accent);font-size:.84rem;text-decoration:none }
.section-heading > a:hover { border-color:var(--accent);background:var(--poll) }
.home-games { margin-bottom:23px }
.home-game-cards { gap:12px }
.word-home-card { margin:0;min-height:110px;border-radius:var(--radius);border:1px solid #63765d;background:linear-gradient(113deg,#1b3329,#253928);box-shadow:var(--card-shadow) }
.letter-home-card { border-color:#755986;background:linear-gradient(113deg,#352444,#442c58) }
.word-home-card img { height:100%;min-height:106px }
.word-home-card strong { border-color:#a6b698;background:#f5ffe114 }
.letter-home-card strong { border-color:#bd9ec7 }
.home-shortcuts > a,.popular-section ol,.poll-sponsor,.sponsor-placement { border-radius:var(--radius);box-shadow:var(--card-shadow) }
.home-shortcuts > a:hover { border-color:var(--accent);background:var(--poll) }
.sponsor-placement { overflow:hidden;margin-bottom:18px;border-inline-start-width:3px }
.sponsor-label { color:var(--muted);font-variant-caps:all-small-caps;letter-spacing:.06em }
.sponsor-media { min-height:94px }
.poll-sponsor-image { border-radius:11px }

.collection > h1,.quiz-directory > h1,.poll-page > h1,.site-info h1,.contribute-page > h1 {
  font-size:clamp(2.8rem,6.3vw,5.5rem);
  letter-spacing:-.078em;
  margin-bottom:clamp(18px,3vw,30px);
}
.article h1 { font-size:clamp(2.45rem,5.1vw,4.75rem);line-height:.99;letter-spacing:-.07em }
.article-intro { font-size:clamp(1.02rem,1.7vw,1.34rem);line-height:1.5 }
.byline { border-top:1px solid var(--line);margin-top:17px }
.article figure img { border-radius:var(--radius);box-shadow:var(--card-shadow) }
.article-body { padding:clamp(16px,3vw,30px) 0 22px;font-size:clamp(1rem,1.35vw,1.12rem);line-height:1.67 }
.article-body h2 { font-size:clamp(1.35rem,2.7vw,2rem) }
.article-body ol > li::marker { color:var(--accent) }
.back,.game-back a,.poll-back { color:var(--accent);font-weight:750;text-decoration:underline;text-underline-offset:4px }
.story-card,.recipe-card,.quiz-editorial-row,.quiz-suggestions,.discussion-panel,.empty-state,.site-map-grid section {
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--card-shadow);
}
.story-card,.recipe-card,.quiz-editorial-row { transition:border-color .18s ease,box-shadow .2s ease,transform .2s ease }
.story-card > a,.recipe-card > a { border-radius:inherit }
.story-card:hover,.recipe-card:hover,.quiz-editorial-row:hover { border-color:color-mix(in srgb,var(--accent) 43%,var(--line));box-shadow:var(--raised-shadow) }
.card-image,.recipe-card-photo { border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0 }
.card-image { height:clamp(156px,17vw,238px) }
.related .card-image { height:clamp(138px,16vw,190px) }
.card-copy { padding:clamp(12px,1.65vw,21px) }
.card-copy h3 { font-size:clamp(1.15rem,1.95vw,1.67rem);line-height:1.13 }
.card-copy p { line-height:1.48 }
.game-library-card .game-card-action { min-width:58px;min-height:36px;margin-top:10px;padding:4px 9px;border-radius:7px;background:var(--poll) }
.recipe-card-copy { padding-top:15px }
.recipe-ingredients,.recipe-directions .recipe-steps { padding:clamp(14px,2.4vw,23px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-shadow) }
.save-button { border-radius:9px }
.story-card > .save-button,.recipe-card > .save-button { background:var(--surface);color:var(--ink) }
.save-button:hover,.save-button[aria-pressed="true"] { border-color:var(--accent);background:var(--poll);color:var(--accent) }

.button { min-height:44px;border-radius:9px;padding-inline:15px;box-shadow:0 3px 0 #1b1f0a18 }
.button:hover { background:#e7ffa0 }
.poll-panel,.quiz-page {
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:var(--card-shadow);
}
.poll-panel { background:linear-gradient(150deg,var(--poll),var(--surface) 60%);padding:clamp(15px,2.8vw,25px) }
.poll-panel h2 { font-size:clamp(1.55rem,2.9vw,2.35rem);letter-spacing:-.047em }
.poll-options button,.poll-result,.quiz-options button { min-height:45px;border-radius:10px }
.poll-options button:not(:disabled):hover,.quiz-options button:not(:disabled):hover { background:var(--poll);border-color:var(--accent) }
.quiz-page { padding:clamp(17px,4.7vw,45px);border-top:4px solid var(--violet) }
.quiz-page h1 { font-size:clamp(2.1rem,4.6vw,3.7rem);line-height:1.05 }
.quiz-page h2 { font-size:clamp(1.2rem,2.4vw,1.65rem);line-height:1.3 }
.quiz-page progress { height:9px;accent-color:var(--violet) }
.quiz-page .eyebrow,.quiz-row-copy .eyebrow { color:var(--violet) }
.quiz-options .chosen { border-color:var(--violet);background:var(--violet-soft) }
.feedback { border-radius:0 9px 9px 0;background:var(--poll) }
.quiz-feature { border-radius:22px;background:#252036;box-shadow:var(--raised-shadow) }
.quiz-feature-copy .eyebrow { color:#e2cafa }
.quiz-feature-controls { border-top-color:#ffffff32 }
.quiz-editorial-layout { gap:19px }
.quiz-editorial-row .quiz-row-copy { padding:12px 16px }
.quiz-suggestions { padding:16px }
.quiz-art,.horoscope-hero,.zodiac-lookup,.zodiac-selection,.zodiac-grid a { border-radius:var(--radius) }
.horoscope-hero { background:#252036;box-shadow:var(--raised-shadow) }
.zodiac-grid a { box-shadow:var(--card-shadow) }
.zodiac-grid a[aria-current="page"],.zodiac-grid a:hover { border-color:var(--violet) }

.word-game,.letter-game,.game-back { max-width:980px }
.word-game,.letter-game { box-shadow:var(--raised-shadow);border-radius:22px }
.word-game-heading,.letter-hero { border-radius:22px 22px 0 0 }
.word-game-heading { background:linear-gradient(113deg,#172d26,#284537) }
.letter-hero { background:linear-gradient(113deg,#2d2144,#543567) }
.word-game-heading h1,.letter-hero h1 { line-height:1;letter-spacing:-.064em }
.word-play,.letter-body { border-radius:0 0 22px 22px }
.word-board-heading,.letter-topline { padding-bottom:6px;border-bottom:1px solid var(--line) }
.word-rules { border-radius:14px;background:var(--surface-soft) }
.word-tile:not(.exact):not(.elsewhere):not(.absent) { background:var(--surface-soft) }
.letter-chip:not(.correct):not(.wrong) { background:var(--violet-soft) }
.letter-chip.active { border-color:var(--violet);box-shadow:0 0 0 2px color-mix(in srgb,var(--violet) 20%,transparent) }
.letter-topline time { border:1px solid var(--line);background:var(--violet-soft);color:var(--ink) }
.word-entry input,.letter-input-row input,.zodiac-lookup input,.discussion-panel textarea,
.member-form input,.contribute-panel :is(input,select,textarea) {
  border-radius:9px;border-color:var(--line);background:var(--surface-soft);color:var(--ink);
}

.discussion-panel { padding:clamp(15px,3vw,28px) }
.discussion-panel h2 { font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.05em }
.discussion-comment {
  border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:var(--surface-soft);
}
.discussion-secondary { border-radius:8px }
.site-info-copy { padding:clamp(15px,3.5vw,28px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--card-shadow) }
.site-footer {
  border-top:0;background:radial-gradient(ellipse at 96% -60%,#4b3558,transparent 72%),var(--mast);
  color:#d4cfe3;padding:clamp(28px,4.6vw,57px) 0 21px;
}
.site-footer .wordmark { color:#fff }
.site-footer .wordmark span { color:var(--lime) }
.site-footer-grid h2 { color:#fbf7ff;letter-spacing:.01em }
.site-footer-grid li a { color:#e7e1ef }
.site-footer-grid li a:hover { color:var(--lime) }
.site-footer-bottom { border-color:#eee6fa31;color:#cbc5d7 }

.access-layout { gap:17px }
.access-photo,.access-panel,.profile-hero,.profile-content,.contribute-panel {
  border-radius:var(--radius);box-shadow:var(--card-shadow);
}
.access-photo { position:relative;isolation:isolate }
.access-photo::after { content:"";position:absolute;inset:0;background:linear-gradient(0deg,#201c3588,transparent 54%);pointer-events:none }
.profile-hero { background:radial-gradient(ellipse at right top,var(--violet-soft),transparent 64%),var(--surface) }
.profile-initial { background:var(--violet-soft);color:var(--violet) }
.profile-tabs button,.profile-secondary,.mast-profile-admin,.contribute-secondary { border-radius:8px }

@media (max-width:900px) {
  .wrap { width:calc(100% - 40px) }
  .home-heading h1 { max-width:16ch }
  .lead-copy { padding:25px }
  .lead-copy h2 { font-size:clamp(2.5rem,6.1vw,4.2rem) }
  .daily-card-copy { padding:13px }
}
@media (max-width:650px) {
  .wrap { width:calc(100% - 28px) }
  main { padding-top:20px }
  .mast-shell .mast-row { min-height:0 }
  .masthead .wordmark { font-size:clamp(2.15rem,8.3vw,3rem) }
  .mast-actions { gap:4px }
  .mast-actions > * { min-width:37px }
  .nav a { padding:5px 8px }
  .home-heading { align-items:flex-start;margin-bottom:15px }
  .home-heading h1 { font-size:clamp(2.38rem,9.2vw,3.5rem) }
  .home-heading h1::before,.collection > h1::before,.quiz-directory > h1::before { width:34px;height:5px;margin-bottom:8px }
  .topic-links { justify-content:flex-start }
  .topic-links a { padding:6px 9px;font-size:.81rem }
  .editorial-lead { gap:9px }
  .editorial-lead .lead-story { min-height:clamp(264px,72vw,396px);border-radius:17px }
  .lead-copy { padding:16px }
  .lead-copy h2 { font-size:clamp(2.02rem,7.7vw,3.18rem);margin-block:7px }
  .daily-stack { gap:7px }
  .daily-card { min-height:168px;border-radius:13px }
  .daily-card-copy { padding:9px;gap:4px }
  .daily-card-copy h2 { font-size:clamp(.98rem,3.9vw,1.18rem) }
  .daily-card-copy .eyebrow { font-size:.68rem }
  .daily-card-copy p { font-size:.75rem }
  .daily-action { min-height:30px;padding-inline:6px;font-size:.76rem }
  .home-games { margin-bottom:17px }
  .home-game-cards { gap:7px }
  .word-home-card { min-height:94px;border-radius:13px }
  .word-home-card img { min-height:94px }
  .story-card,.recipe-card,.quiz-editorial-row,.quiz-suggestions { border-radius:13px }
  .card-image,.recipe-card-photo { border-radius:12px 12px 0 0 }
  .card-image { height:clamp(118px,35vw,182px) }
  .game-library-card .card-image { height:clamp(140px,45vw,195px) }
  .card-copy h3 { font-size:1.18rem }
  .card-copy p { font-size:.91rem }
  .word-game,.letter-game,.word-play,.letter-body { border-radius:0 0 15px 15px }
  .word-game-heading,.letter-hero { border-radius:15px 15px 0 0 }
  .site-footer { padding-top:30px }
}
@media (max-width:359px) {
  .masthead .wordmark { font-size:2.03rem }
  .mast-actions > * { padding-inline:5px;min-width:34px }
  .mast-actions .mast-contribute { padding-inline:6px }
  .topic-links { gap:4px }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .story-card:hover,.recipe-card:hover,.quiz-editorial-row:hover { transform:translateY(-2px) }
}


/* Front page */
.home-edition { min-width:0 }
.edition-date {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:var(--accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.edition-date::before { content:"";width:30px;height:4px;border-radius:6px;background:var(--lime) }
.home-heading h1::before { display:none }
.home-heading { margin-bottom:clamp(16px,2.6vw,30px) }
.topic-links { padding:5px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 80%,transparent) }
.topic-links a { border-color:transparent;box-shadow:none }
.topic-links a:hover { border-color:var(--line) }
.home-games .section-heading > a { font-weight:750 }
.home-editorial { gap:31px }
.brief-stories { grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:10px }
.brief-stories .story-card:first-child:not(:only-child) { grid-row:span 2 }
.brief-stories .story-card:first-child .card-image { height:clamp(160px,17vw,240px) }
.brief-stories .story-card:not(:first-child) > a { display:grid;grid-template-columns:37% minmax(0,1fr) }
.brief-stories .story-card:not(:first-child) .card-image { height:100%;min-height:112px;border-radius:calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px) }
.brief-stories .story-card:not(:first-child) .card-copy { align-self:center;padding:10px 36px 10px 10px }
.brief-stories .story-card:not(:first-child) .card-copy h3 { font-size:clamp(1.04rem,1.65vw,1.45rem) }
.brief-stories .story-card:not(:first-child) .card-copy p { display:none }
.brief-stories .story-card:not(:first-child) .save-button { min-width:32px;min-height:32px;padding:4px;top:6px;right:5px }
.kitchen-stories { grid-template-columns:repeat(3,minmax(0,1fr));gap:9px }
.kitchen-stories .recipe-card-photo { aspect-ratio:1.42 }
.kitchen-stories .recipe-card-copy { padding:11px 11px 45px }
.kitchen-stories .recipe-card h3 { line-height:1.08 }
.kitchen-stories .recipe-card p { display:none }

/* Reading and recipes */
.edition-article,.edition-article + .related { width:min(100%,1050px) }
.edition-article > .back {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  margin-bottom:12px;
  padding:4px 10px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface);
  text-decoration:none;
  font-size:.86rem;
}
.edition-article > .back:hover { border-color:var(--accent);background:var(--poll) }
.article-heading {
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 4px);
  box-shadow:var(--card-shadow);
}
.article-heading.with-cover { display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr) }
.article-heading-copy { align-self:center;min-width:0;padding:clamp(18px,4vw,45px) }
.article-heading-copy .eyebrow {
  display:inline-flex;
  border-radius:6px;
  padding:4px 8px;
  color:var(--accent);
  background:var(--poll);
}
.edition-article .article-heading h1 { margin-top:9px;font-size:clamp(2.2rem,4.3vw,4.4rem);overflow-wrap:break-word }
.article-heading figure { position:relative;min-width:0;min-height:255px }
.edition-article .article-heading figure img { position:absolute;inset:0;width:100%;height:100%;max-height:none;border-radius:0;object-fit:cover }
.article-heading figcaption {
  position:absolute;
  right:8px;
  bottom:8px;
  margin:0;
  padding:4px 7px;
  border-radius:5px;
  background:#1a182ad1;
  color:#fff;
  font-size:.73rem;
}
.edition-article .byline { align-items:center;margin:0 0 18px;padding:12px 0 }
.article-author { display:flex;align-items:center;gap:9px }
.article-author-mark { display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:var(--mast);color:var(--lime);font:800 .92rem var(--heading) }
.article-author .read-time { display:block;font-weight:600 }
.article-actions .save-button { min-height:38px }
.article-comment-link { color:var(--accent) }
.edition-article .article-body { width:min(100%,69ch);margin-inline:auto;padding-top:12px }
.edition-article .article-body > section:first-child > p::first-letter { font-size:1.2em;font-weight:800;color:var(--accent) }
.edition-article .source { padding:9px 11px;border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:.85rem }
.edition-article .source a { color:var(--accent);text-decoration:underline;text-underline-offset:3px }
.edition-article + .related .stories { grid-template-columns:repeat(3,minmax(0,1fr)) }
.recipe-facts { display:flex;flex-wrap:wrap;gap:6px;margin:0 }
.recipe-facts > div { display:grid;gap:2px;min-width:70px;padding:5px 10px;border:1px solid var(--line);border-radius:8px;background:var(--poll) }
.recipe-facts dt { color:var(--muted);font-size:.71rem }
.recipe-facts dd { margin:0;color:var(--ink);font-size:.88rem;font-weight:800 }

/* Quiz and poll */
.quiz-play-header,.quiz-result-header {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(96px,26%);
  gap:clamp(11px,3vw,25px);
  align-items:center;
}
.quiz-play-cover,.quiz-result-cover { overflow:hidden;aspect-ratio:1.4;border-radius:12px;background:var(--violet-soft) }
.quiz-play-cover img,.quiz-result-cover img { display:block;width:100%;height:100%;object-fit:cover }
.quiz-back { color:var(--violet);font-size:.82rem;font-weight:800;text-decoration:underline;text-underline-offset:3px }
.quiz-progress { position:relative;display:grid;gap:6px;margin-top:14px }
.quiz-progress progress.visually-hidden { width:1px;height:1px }
.quiz-steps { display:flex;gap:4px }
.quiz-steps span { flex:1;height:6px;border-radius:10px;background:var(--surface-soft) }
.quiz-steps .done { background:var(--violet) }
.quiz-steps .current { background:var(--lime);box-shadow:inset 0 0 0 1px #27302534 }
.quiz-answer-text { display:flex;align-items:center;gap:8px }
.quiz-answer-key { display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);font-size:.78rem }
.quiz-result-header .score { line-height:1.02;margin:3px 0 6px }
.poll-page { max-width:730px }
.poll-collection { max-width:unset;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start }
.poll-collection > h1 { grid-column:1/-1;margin:0 0 3px }
.poll-collection .poll-panel + .poll-panel { margin:0 }
.poll-detail .poll-cover { margin:calc(-1 * clamp(15px,2.8vw,25px)) calc(-1 * clamp(15px,2.8vw,25px)) 16px;overflow:hidden;border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;aspect-ratio:2.85 }
.poll-cover img { object-fit:cover }
.poll-kicker { display:flex;align-items:center;justify-content:space-between;gap:6px }
.poll-state { border:1px solid var(--line);border-radius:20px;padding:3px 8px;font-size:.75rem;color:var(--muted);font-weight:750 }
.poll-state.open { color:var(--accent);background:var(--poll) }
.poll-detail h1 { font-size:clamp(1.95rem,4.7vw,3.6rem);letter-spacing:-.05em;margin-block:7px 10px }
.poll-result.poll-selected { border-color:var(--accent);box-shadow:inset 3px 0 var(--accent) }

/* Daily games */
.games-library .card-copy { position:relative }
.games-library .game-card-action { color:var(--ink);background:var(--lime);padding-inline:12px;text-decoration:none }
.games-library .game-library-card:nth-child(2) .game-card-action { color:var(--violet);background:var(--violet-soft) }
.word-board-area { min-width:0 }
.word-attempt.current .word-tile { border-width:2px }
.word-board-heading,.letter-topline { letter-spacing:.01em }
.letter-track { max-width:none }
.letter-chip { min-height:49px }
.letter-chip.active { border-width:2px }
.letter-start p { max-width:46ch }
.letter-results ol { padding:0;list-style:none }
.letter-results li { padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft) }

@media(max-width:800px) {
  .article-heading.with-cover { grid-template-columns:minmax(0,1fr) }
  .article-heading figure { min-height:0;aspect-ratio:2 }
  .edition-article .article-heading h1 { font-size:clamp(2.12rem,6.3vw,3.8rem) }
}
@media(max-width:680px) {
  .home-editorial { gap:24px }
  .topic-links { padding:3px }
  .edition-date { margin-bottom:8px;font-size:.71rem }
  .brief-stories { grid-template-columns:minmax(0,1fr) }
  .brief-stories .story-card:first-child:not(:only-child) { grid-row:auto }
  .brief-stories .story-card:not(:first-child) .card-image { min-height:100px;border-radius:12px 0 0 12px }
  .brief-stories .story-card:not(:first-child) .card-copy h3 { font-size:1.15rem }
  .kitchen-stories { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .kitchen-stories .recipe-card:nth-child(3):last-child { grid-column:1/-1 }
  .kitchen-stories .recipe-card:nth-child(3):last-child > a { display:grid;grid-template-columns:36% minmax(0,1fr) }
  .kitchen-stories .recipe-card:nth-child(3):last-child .recipe-card-photo { height:100%;border-radius:12px 0 0 12px }
  .edition-article + .related .stories,.poll-collection { grid-template-columns:minmax(0,1fr) }
  .article-heading figure { aspect-ratio:1.8 }
  .edition-article .byline { gap:9px }
  .quiz-play-header,.quiz-result-header { grid-template-columns:minmax(0,1fr) 27%;gap:8px }
  .quiz-play-cover,.quiz-result-cover { aspect-ratio:1 }
  .quiz-page .quiz-play-header h1,.quiz-page .quiz-result-header h1 { font-size:clamp(1.58rem,6vw,2.28rem);overflow-wrap:break-word }
  .quiz-answer-key { width:25px;height:25px }
  .letter-chip { min-height:42px }
}


/* Category covers */
.section-cover {
  --cover-ink:#27213d;
  --cover-accent:#e4d0ff;
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);
  align-items:stretch;
  min-height:clamp(208px,23vw,310px);
  margin:0 0 21px;
  overflow:hidden;
  border:1px solid #1616295c;
  border-radius:22px;
  color:#fffaf6;
  background:var(--cover-ink);
  box-shadow:var(--raised-shadow);
}
.section-cover.cover-gundem,.section-cover.cover-tema { --cover-ink:#252940;--cover-accent:#dce8a7 }
.section-cover.cover-argetim,.section-cover.cover-lojera { --cover-ink:#3b2449;--cover-accent:#f1c7f2 }
.section-cover.cover-jete { --cover-ink:#263627;--cover-accent:#d8efaa }
.section-cover.cover-kuriozitete,.section-cover.cover-horoskopi { --cover-ink:#202b45;--cover-accent:#c8dfff }
.section-cover.cover-receta { --cover-ink:#4a2c26;--cover-accent:#ffd6ab }
.section-cover.cover-anketa { --cover-ink:#422c46;--cover-accent:#f2d2eb }
.section-cover.cover-kuize { --cover-ink:#36274c;--cover-accent:#e3d0ff }
.section-cover.cover-saved,.section-cover.cover-all { --cover-ink:#303445;--cover-accent:#e4e9bd }
.section-cover-copy {
  position:relative;
  z-index:1;
  align-self:center;
  padding:clamp(20px,4vw,50px);
}
.section-cover-copy h1 {
  margin:0;
  font-size:clamp(2.75rem,7.5vw,6.35rem);
  letter-spacing:-.08em;
  line-height:.98;
  overflow-wrap:break-word;
}
.section-cover-copy h1::before {
  content:"";
  display:block;
  width:42px;
  height:5px;
  margin-bottom:12px;
  border-radius:20px;
  background:var(--cover-accent);
}
.section-cover-copy p { max-width:53ch;color:#f2e9f4;font-size:clamp(.91rem,1.4vw,1.09rem);margin-top:10px }
.section-cover-count {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-top:12px;
  padding:3px 9px;
  color:var(--cover-accent);
  background:#ffffff14;
  border:1px solid #ffffff30;
  border-radius:6px;
  font-size:.83rem;
  font-weight:800;
}
.section-cover-media { position:relative;min-width:0;z-index:-1 }
.section-cover-media img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover }
.section-cover-media::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,var(--cover-ink) 0%,color-mix(in srgb,var(--cover-ink) 48%,transparent) 20%,transparent 58%);
}
.poll-collection > .section-cover { grid-column:1/-1;margin-bottom:6px }
.poll-collection > .section-cover h1 { margin:0;font-size:clamp(2.75rem,7.5vw,6.35rem) }

/* Collection controls and feedback */
.recipe-tabs,.quiz-topic-links {
  gap:6px;
  padding:7px;
  margin:0 0 17px;
  border:1px solid var(--line);
  border-radius:13px;
  background:color-mix(in srgb,var(--surface) 90%,transparent);
  box-shadow:0 6px 18px -13px #29233532;
}
.recipe-tabs a,.quiz-topic-links a { min-height:36px;border-radius:7px;display:inline-flex;align-items:center;padding:6px 11px;border-color:transparent }
.recipe-tabs a[aria-current="page"],.quiz-topic-links a[aria-current="page"] { box-shadow:inset 0 -2px var(--accent) }
.quiz-topic-links a[aria-current="page"] { background:var(--violet-soft);color:var(--violet);border-color:var(--violet);box-shadow:inset 0 -2px var(--violet) }
.game-library-card .card-copy { padding-bottom:17px }
.game-library-card .card-image img,.recipe-card-photo img { transition:transform .26s ease }
.games-library .game-card-action { border-radius:7px;box-shadow:0 2px 0 #221d0b14 }
.poll-rating-scale button:not(:disabled):hover,.letter-actions button:hover,.restart-quiz:hover { background:var(--surface-soft) }
.button:active,.daily-action:active,.letter-actions button:active,.save-button:active { box-shadow:none }
.word-result,.letter-results {
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--poll);
}
.letter-results { background:var(--violet-soft) }
.letter-results li { background:var(--surface) }
main > [role="status"] {
  width:fit-content;
  min-height:43px;
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  color:var(--muted);
}
@media(max-width:650px) {
  .section-cover { display:block;min-height:156px;border-radius:16px;margin-bottom:14px }
  .section-cover-copy { padding:16px;max-width:min(100%,390px) }
  .section-cover-copy h1,.poll-collection > .section-cover h1 { font-size:clamp(2.25rem,8.6vw,3.7rem) }
  .section-cover-copy h1::before { width:30px;height:4px;margin-bottom:9px }
  .section-cover-copy p { font-size:.85rem;line-height:1.44 }
  .section-cover-media { position:absolute;inset:0 0 0 32% }
  .section-cover-media::after { background:linear-gradient(90deg,var(--cover-ink),color-mix(in srgb,var(--cover-ink) 64%,transparent) 36%,#211b3047 82%) }
  .section-cover-count { margin-top:9px }
  .recipe-tabs,.quiz-topic-links { padding:5px;gap:3px }
  .recipe-tabs a,.quiz-topic-links a { min-height:36px;padding-inline:8px;font-size:.82rem }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .recipe-card:hover .recipe-card-photo img,.game-library-card:hover .card-image img { transform:scale(1.045) }
}
@media(prefers-reduced-motion:no-preference) {
  @keyframes feedback-reveal {
    from { opacity:.55; transform:translateY(4px) }
    to { opacity:1; transform:translateY(0) }
  }
  .quiz-page .feedback,.poll-selected,.word-result:not([hidden]),.letter-results:not([hidden]) { animation:feedback-reveal .21s ease-out both }
}

.arcade {
  --arcade-dark:#382768;
  --arcade-light:#e7dafa;
  max-width:980px;
  margin:0 auto 38px;
  overflow:hidden;
  color:var(--ink);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--card-shadow);
}
.arcade[data-tone="amber"] { --arcade-dark:#542d16;--arcade-light:#ffdfab }
.arcade[data-tone="teal"] { --arcade-dark:#104646;--arcade-light:#bdece4 }
.arcade[data-tone="coral"] { --arcade-dark:#65293e;--arcade-light:#ffdfdf }
.arcade[data-tone="blue"] { --arcade-dark:#23345e;--arcade-light:#cfdeff }
.arcade[data-tone="mint"] { --arcade-dark:#234735;--arcade-light:#ceefbf }
.arcade-hero {
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
  min-height:232px;
  background:var(--arcade-dark);
  color:white;
}
.arcade-hero > div { align-self:center;padding:clamp(22px,4vw,44px) }
.arcade-hero span,.arcade-kicker {
  display:inline-block;
  padding:4px 10px;
  border-radius:20px;
  color:var(--arcade-dark);
  background:var(--arcade-light);
  font-size:.875rem;
  font-weight:800;
}
.arcade-hero h1 { margin:12px 0 8px;font-size:clamp(2rem,5vw,3.6rem);line-height:1.04 }
.arcade-hero p { margin:0;max-width:35ch;line-height:1.55;color:#fff }
.arcade-hero img { display:block;width:100%;height:100%;max-height:280px;object-fit:cover }
.arcade-body { padding:clamp(18px,4vw,38px);max-width:810px;margin:auto }
.arcade-body h2 { margin:10px 0;font-size:clamp(1.35rem,3vw,2.1rem);line-height:1.2;overflow-wrap:anywhere }
.arcade-body h2:focus,.arcade-feedback:focus { outline:none }
.arcade-body p { line-height:1.55 }
.arcade-body button {
  min-height:46px;
  padding:9px 16px;
  border:1px solid transparent;
  border-radius:10px;
  color:var(--arcade-light);
  background:var(--arcade-dark);
  font:inherit;
  font-weight:750;
  cursor:pointer;
}
.arcade-body :is(button,a,input):focus-visible { outline:2px solid var(--accent);outline-offset:3px }
.arcade-body button:hover { filter:brightness(1.18) }
.arcade-meta,.arcade-actions,.arcade-audio,.arcade-estimate > div {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.arcade-progress { display:flex;flex:1;align-items:center;gap:12px;color:var(--muted);font-size:.875rem;font-weight:800 }
.arcade-progress progress { flex:1;min-width:45px;max-width:220px;height:12px;accent-color:var(--accent) }
.arcade-clock { border-radius:20px;padding:5px 12px;background:var(--arcade-light);color:var(--arcade-dark);font-weight:800;font-variant-numeric:tabular-nums }
.arcade-options,.arcade-duel { display:grid;gap:10px;margin:18px 0 }
.arcade-duel { grid-template-columns:repeat(2,minmax(0,1fr)) }
.arcade-options > :is(button,span),.arcade-audio button,.arcade-ranking button,.arcade-duel button {
  color:var(--ink);
  border:1px solid var(--line);
  background:var(--surface-soft);
}
.arcade-options > :is(button,span) { display:flex;align-items:center;justify-content:space-between;gap:6px;padding:11px 14px;border-radius:10px;text-align:left }
.arcade-options > .is-correct { background:#d5f0dc;border-color:#7cb089;color:#164625 }
.arcade-options > .is-wrong { background:#f9dce3;border-color:#cb92a4;color:#672335 }
.arcade-options small { text-align:right }
.arcade-duel button { overflow:hidden;padding:0 }
.arcade-duel img,.arcade-winner { display:block;width:100%;aspect-ratio:4/3;object-fit:cover }
.arcade-duel span { display:block;padding:12px 8px }
.arcade-ranking { display:grid;gap:8px;padding-inline-start:32px }
.arcade-ranking li { padding:6px 10px;border-radius:8px;background:var(--surface-soft);font-weight:700 }
.arcade-ranking button { width:100%;text-align:left }
.arcade-feedback { padding:9px 12px;border-inline-start:3px solid var(--accent);background:var(--surface-soft);border-radius:5px }
.arcade-intro p,.arcade-audio-status { color:var(--muted) }
.arcade-audio { margin-top:16px }
.arcade-audio-status:empty { display:none }
.arcade-estimate label { display:block;margin:14px 0 6px;font-weight:750 }
.arcade-estimate input {
  width:min(200px,100%);
  min-height:46px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--surface-soft);
  color:var(--ink);
  font:inherit;
}
.arcade-score { margin:0;font-size:2.8rem;font-weight:850;font-variant-numeric:tabular-nums }
.arcade-score small { font-size:1.25rem;color:var(--muted) }
.arcade-winner { max-width:360px;border-radius:14px }
.arcade-actions { margin-top:16px }
.arcade-actions a { padding:9px;color:var(--accent);font-weight:750 }
@media(max-width:620px) {
  .arcade-hero { grid-template-columns:1fr }
  .arcade-hero img { max-height:148px;object-position:center 45% }
}

.advertising-invitation { grid-template-columns:minmax(120px,35%) minmax(0,1fr);align-items:center;gap:clamp(12px,2.6vw,24px) }
.advertising-invitation > img { display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:9px }
.advertising-invitation-copy { display:grid;justify-items:start;gap:8px }
.advertising-invitation-copy h2 { margin:0;line-height:1.15;font-size:clamp(1.2rem,2.6vw,1.65rem) }
.contact-form-section { display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--line);scroll-margin-top:20px }
.contact-form-section h2 { margin:0 }
.contact-form,.contact-identity { display:grid;gap:13px;min-width:0 }
.contact-identity { grid-template-columns:repeat(2,minmax(0,1fr)) }
.contact-form label { display:grid;gap:4px;min-width:0;font-weight:700 }
.contact-form label[hidden] { display:none }
.contact-form :is(input,select,textarea) { width:100%;min-height:44px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);font:inherit;font-weight:500 }
.contact-form textarea { resize:vertical }
.contact-form .button { justify-self:start;cursor:pointer }
.contact-form .button:disabled { cursor:wait;opacity:.6 }
.contact-form .contact-note,#contact-response { margin:0;color:var(--muted);font-size:.88rem }
#contact-response:empty { display:none }
@media(max-width:510px) {
  .advertising-invitation { grid-template-columns:1fr }
  .advertising-invitation > img { max-height:158px }
  .contact-identity { grid-template-columns:1fr }
}
