/* Public editorial redesign. The admin uses its own template and styles. */
:root {
  --bg: #f6f8f7;
  --bg-1: #edf1ef;
  --surface: #ffffff;
  --surface-2: #e8eeeb;
  --border: #d3dcd7;
  --border-strong: #a7b9af;
  --text: #14231c;
  --text-2: #40554a;
  --text-3: #54695e;
  --brand: #175d43;
  --music: var(--brand);
  --game: var(--brand);
  --film: var(--brand);
  --tv: var(--brand);
  --anime: var(--brand);
  --r-sm: 7px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --sh-1: 0 4px 14px rgb(20 35 28 / 5%);
  --sh-2: 0 16px 35px rgb(20 35 28 / 9%);
  --sh-pop: 0 25px 70px rgb(20 35 28 / 16%);
  --f-display: "Aptos Display", "Segoe UI Variable Display", "Helvetica Neue", sans-serif;
  --f-body: "Aptos", "Segoe UI Variable Text", "Helvetica Neue", sans-serif;
  --f-mono: "Cascadia Mono", "SFMono-Regular", monospace;
}
.cat-music, .cat-game, .cat-film, .cat-tv, .cat-anime {
  --acc: var(--brand);
  --acc-deep: #d8e8df;
  --acc-fg: #ffffff;
}
html { scroll-behavior: smooth; }
body.rr { background: var(--bg); color: var(--text); }
.rr *:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  box-shadow: none;
}
.rr input::placeholder, .rr textarea::placeholder { color: #566c60; opacity: 1; }
.rr ::selection { background: #c7e2d1; color: var(--text); }
.rr-wrap, .rr-header-inner, .rr-footer-inner, .detail-inner { max-width: 1440px; }
.rr-main-pad { max-width: 1440px; padding: 44px 32px 100px; }
.rr-header {
  background: rgb(246 248 247 / 92%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.rr-header-inner { height: 72px; padding: 0 32px; gap: 28px; }
.rr-logo { gap: 10px; }
.rr-logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.12em;
  padding-right: 3px;
}
.rr-logo-symbol span { color: #fff; }
.rr-wordmark { font-size: 19px; letter-spacing: -.06em; font-weight: 800; }
.rr-wordmark .accent { color: var(--brand); }
.rr-nav { margin-left: auto; gap: 2px; white-space: nowrap; }
.rr-nav a {
  border-radius: 0;
  padding: 11px 12px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  transition: color .2s ease;
}
.rr-nav a:hover, .rr-nav a[aria-current] { background: transparent; color: var(--brand); }
.rr-nav a[aria-current] { box-shadow: inset 0 -2px var(--brand); }
.rr-search-link {
  color: var(--surface) !important;
  background: var(--brand);
  border-radius: var(--r-md);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.rr-search-link:hover { background: #104a35; transform: translateY(-2px); }
.rr-search-link span { margin-left: 18px; }
.rr-burger, .rr-mobile-menu { background: var(--surface); }
.rr-mobile-menu { border-radius: var(--r-lg); }
.rr-h1, .rr-h2, .rr-h3 { letter-spacing: -.045em; }
.rr-h1 { font-size: clamp(28px, 3vw, 43px); }
.rr-h1.big { font-size: clamp(48px, 7vw, 92px); line-height: .98; }
.rr-h2 { font-size: clamp(25px, 2.8vw, 37px); }
.rr-breadcrumb { font-family: var(--f-body); font-size: 13px; margin-bottom: 24px; }
.rr-breadcrumb a:hover { color: var(--brand); }
.rr-btn, .rr-icon-btn, .rr-pill, .rr-segment, .rr-segment a {
  border-radius: var(--r-md);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.rr-btn, .rr-icon-btn { background: var(--surface); color: var(--text); border-color: var(--border); }
.rr-btn:hover, .rr-icon-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.rr-btn:active, .rr-icon-btn:active, .rr-search-link:active { transform: translateY(0) scale(.98); }
.rr-pill { background: transparent; border-color: var(--border-strong); color: var(--text-2); }
.rr-pill:hover { border-color: var(--brand); color: var(--brand); }
.rr-pill.active, .rr-pill.neutral.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.rr-pill .dot { display: none; }
.rr-segment { background: var(--bg-1); border-color: transparent; }
.rr-segment a.active { background: var(--surface); box-shadow: var(--sh-1); }
.rr-divider-head { padding-bottom: 16px; margin-bottom: 22px; }
.rr-cover, .detail-cover { background: var(--surface-2); border: 0; box-shadow: none; }
.rr-cover img, .home-feature-image img, .home-highlight-image img, .detail-cover img {
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.rr-card:hover .rr-cover img, .home-feature:hover img, .home-highlight:hover img {
  transform: scale(1.045);
}
.rr-card:hover { transform: translateY(-3px); }
.rr-card .meta-title { font-size: 16px; line-height: 1.3; margin-top: 13px; }
.rr-card .meta-date { color: var(--text-3); font: 600 12px var(--f-body); }
.rr-cover .badge { display: none; }
.rr-cover .overlay { display: none; }
.rr-hrow { grid-auto-columns: minmax(180px, 1fr); gap: 22px; }
.rr-grid, .rr-grid.wide { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 36px 20px; }
.rr-footer { background: var(--bg-1); }
.rr-footer-inner { padding: 58px 32px; }
.rr-footer .cols { gap: 44px; }
.rr-footer .col-head { font-family: var(--f-body); font-size: 11px; font-weight: 800; color: var(--text-3); }
.rr-footer .col a { font-size: 14px; }

/* Discover: one strong cover, then a compact editorial shelf. */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(330px, .87fr);
  align-items: stretch;
  gap: clamp(40px, 6vw, 100px);
  min-height: min(620px, calc(100dvh - 155px));
  padding: 24px 0 72px;
}
.home-hero.no-feature { display: block; min-height: auto; padding-bottom: 85px; }
.home-hero.no-feature .home-hero-copy { max-width: 760px; }
.home-hero-copy { align-self: center; padding: 10px 0 32px; }
.home-eyebrow {
  color: var(--brand);
  font: 750 12px var(--f-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.home-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(54px, 5.7vw, 82px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.075em;
}
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-lead {
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  max-width: 42ch;
  margin: 28px 0 32px;
}
.home-search { width: min(100%, 560px); max-width: none; }
.home-search label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 9px; }
.home-search-field { display: flex; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: 6px; box-shadow: var(--sh-2); }
.rr-search.home-search input {
  background: transparent;
  border: 0;
  min-width: 0;
  box-shadow: none;
  padding: 12px 14px;
  min-height: 48px;
  font-size: 16px;
}
.home-search-field button {
  border: 0;
  border-radius: var(--r-md);
  background: var(--brand);
  color: #fff;
  font: 750 14px var(--f-body);
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
}
.home-search-field button:hover { background: #104a35; }
.home-search-field button span { margin-left: 14px; }
.rr-search .live { top: calc(100% + 8px); background: var(--surface); border-color: var(--border); }
.rr-search .live:not(.hidden) { animation: panel-in .22s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } }
.home-feature {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  color: var(--text);
  text-decoration: none;
}
.home-feature-image { min-height: 0; overflow: hidden; background: var(--surface-2); border-radius: var(--r-xl); }
.home-feature-image img { display: block; width: 100%; height: 100%; max-height: 430px; object-fit: cover; }
.home-feature-info { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding-top: 16px; }
.home-feature-info > span:first-child { grid-column: 1 / -1; font-size: 12px; font-weight: 750; color: var(--brand); }
.home-feature-info strong { font-size: clamp(21px, 2.3vw, 31px); line-height: 1.1; letter-spacing: -.04em; }
.home-feature-arrow { font-size: 26px; align-self: center; }
.home-highlights, .home-categories { padding-bottom: 76px; }
.home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-top: 1px solid var(--text); padding: 18px 0 24px; }
.home-section-head h2 { margin: 0; font: 750 clamp(27px, 3vw, 40px)/1.1 var(--f-display); letter-spacing: -.055em; }
.home-section-head span { color: var(--text-3); font-size: 13px; }
.home-highlight-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.home-highlight { display: flex; flex-direction: column; min-width: 0; color: var(--text); text-decoration: none; }
.home-highlight-image { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--surface-2); }
.home-highlight-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-highlight-meta { margin: 14px 0 6px; color: var(--text-3); font-size: 12px; font-weight: 650; }
.home-highlight strong { font-size: 16px; line-height: 1.25; letter-spacing: -.025em; }
.home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.home-category-link { display: grid; grid-template-columns: 1fr auto; gap: 26px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.home-category-link:not(:first-child) { padding-left: 20px; border-left: 1px solid var(--border); }
.home-category-number { grid-column: 1 / -1; color: var(--brand); font-size: 12px; font-weight: 750; }
.home-category-link strong { font-size: clamp(17px, 1.9vw, 26px); letter-spacing: -.04em; }
.home-category-link:hover strong { color: var(--brand); }
.home-views { margin-top: 2px; }
.home-views > div:first-child { gap: 12px !important; margin-bottom: 24px !important; }
.home-views .rr-h1 { flex: 1 0 100%; order: -1; font-size: clamp(30px, 3vw, 42px); padding-top: 20px; border-top: 1px solid var(--text); }
.home-views .rr-pills { margin-left: auto; }

/* Browsing, search and calendar retain clear information hierarchy. */
.cat-hero { padding: 22px 0 24px; }
.cat-hero .row { align-items: baseline; }
.cat-bar { display: none; }
.cat-count { margin-left: auto; font-family: var(--f-body); }
.cat-intro { max-width: 70ch; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.cat-rss { border-radius: var(--r-sm); color: var(--brand); }
.section-block { margin: 54px 0 70px; }
.cat-about { max-width: 82ch; color: var(--text-2); line-height: 1.7; }
.rr-search:not(.home-search) { max-width: 700px !important; }
.rr-search:not(.home-search) input { background: var(--surface); }
.empty-note { padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.cal-grid { gap: 8px; }
.cal-cell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.cal-cell:hover { border-color: var(--brand); box-shadow: var(--sh-1); }
.cal-cell.is-today { border-color: var(--brand); }
.cal-cell .num.today { background: var(--brand); color: #fff; }
.week-row { border-color: var(--border); }
.week-row.today { background: #e7f2eb; }
.week-item { border-color: var(--border); }
.week-item:hover { border-color: var(--brand); }

/* Detail pages: cover and essentials form the first editorial spread. */
.detail-herobg, .detail-herofade { display: none; }
.detail-inner { padding: 42px 32px 100px; }
.detail-grid { grid-template-columns: minmax(270px, 380px) minmax(0, 1fr); gap: 46px 70px; }
.detail-head { display: flex; flex-direction: column; }
.detail-head .detail-stats { order: 1; }
.detail-head .cal-add { order: 2; }
.detail-head .fields { order: 3; }
.detail-head .detail-jump { order: 4; }
.detail-title { font-size: clamp(43px, 5vw, 76px); line-height: 1; letter-spacing: -.065em; }
.detail-subtitle { font-size: 19px; }
.detail-tags { margin: 24px 0; }
.tag-cat { background: var(--brand); }
.tag, .tag-cat { border-radius: var(--r-md); }
.detail-cover { border-radius: var(--r-xl); }
.detail-stats { border-color: var(--border); }
.detail-jump a { border-radius: var(--r-md); }
.cal-add { padding: 18px 0; border-top: 1px solid var(--border); }
.cal-add-label { width: 100%; font-size: 13px; font-weight: 750; color: var(--text); }
.cal-add-hint { flex: 1 0 100%; color: var(--text-3); font-size: 12px; }
.cal-add .rr-btn:first-of-type { background: var(--brand); color: #fff; border-color: var(--brand); }
.cal-add .rr-btn:first-of-type:hover { background: #104a35; }
.detail-section { border-color: var(--border); }
.also-box { background: var(--surface); }
.ad-box { background: var(--bg-1); }

/* Magazine and supporting pages. */
.mag-list { gap: 0; }
.mag-card { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; padding: 28px 0; gap: 28px; }
.mag-card:first-child { border-top: 1px solid var(--border); }
.mag-thumb { flex-basis: 240px; border-radius: var(--r-lg); }
.mag-title { font-size: clamp(22px, 2.4vw, 31px); letter-spacing: -.04em; }
.mag-article { max-width: 82ch; }
.mag-head { margin: 34px 0 30px; }
.mag-lead { font-size: 21px; }
.mag-cover { border-radius: var(--r-lg); }
.mag-content { color: var(--text-2); font-size: 18px; }
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(42px, 6vw, 70px); letter-spacing: -.06em; line-height: 1; margin-bottom: 22px; }
.legal h2 { font-size: 25px; letter-spacing: -.04em; margin-top: 38px; }
.legal p, .legal li, .legal .raw { font-size: 16px; }
.legal .placeholder { background: #e8f2ec; border-color: #b8d4c2; color: var(--text-2); }
.contact-form { gap: 9px; max-width: 650px; }
.contact-form label { margin-top: 14px; font-size: 14px; }
.contact-form input, .contact-form textarea { border-color: var(--border-strong); border-radius: var(--r-md); padding: 13px 14px; }
.contact-submit { background: var(--brand); color: #fff; border-radius: var(--r-md); padding: 13px 20px; }
.contact-submit:hover { background: #104a35; }
.api-main { max-width: 1440px; padding: 55px 32px 100px; }
.api-h1 { font-size: clamp(45px, 6vw, 76px); letter-spacing: -.065em; }
.api-flag { color: var(--brand); }
.api-method { background: #d8e8df; color: var(--brand); }
.mono-warn { color: #7a4a00; }
.api-code-req, .api-code-res { background: #eaf0ec; }
.api-code-req code { color: var(--text); }
.api-code-res pre { color: var(--text-2); }
.error-page { padding-top: 80px; }
.err-code { background: none; color: var(--brand); }
.err-cat .dot { display: none; }
.search-intro { max-width: 850px; padding: 24px 0 22px; }
.search-intro .rr-h1.big { font-size: clamp(48px, 6vw, 74px); }
.search-intro .rr-h1 { margin-bottom: 12px; }
.search-intro > p:not(.home-eyebrow) { color: var(--text-2); font-size: 18px; }
.search-page-form { margin-top: 28px; width: 100% !important; }
.search-page-form label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 10px; }
.rr-search.search-page-form input { border: 0; background: transparent; box-shadow: none; font-size: 16px; padding: 12px 14px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both page-out; }
::view-transition-new(root) { animation: .28s ease both page-in; }
@keyframes page-out { to { opacity: .85; } }
@keyframes page-in { from { opacity: .85; transform: translateY(8px); } }
[data-reveal].will-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .rr-header-inner { gap: 16px; }
  .rr-nav a { padding: 10px 7px; }
  .rr-search-link { display: none; }
  .home-hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-hero h1 { font-size: clamp(52px, 6vw, 74px); }
}
@media (max-width: 860px) {
  .rr-burger { display: inline-flex; }
  .rr-nav { display: none; }
  .rr-mobile { margin-left: auto; }
  .home-hero { min-height: auto; }
  .home-highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category-link:nth-child(3) { padding-left: 0; border-left: 0; }
  .detail-grid { gap: 32px; }
}
@media (max-width: 640px) {
  .rr-main-pad, .detail-inner { padding: 25px 20px 70px; }
  .rr-header-inner { padding: 0 20px; height: 62px; }
  .rr-wordmark { font-size: 18px; }
  .home-hero { display: flex; flex-direction: column; padding: 12px 0 58px; gap: 34px; }
  .home-hero-copy { padding: 0; }
  .home-hero h1 { max-width: 11ch; font-size: clamp(49px, 12vw, 72px); }
  .home-lead { margin: 20px 0 26px; font-size: 17px; }
  .home-feature-image img { max-height: 420px; }
  .home-highlights, .home-categories { padding-bottom: 54px; }
  .home-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .home-highlight strong { font-size: 15px; }
  .home-category-link { padding-right: 10px; }
  .home-category-link:nth-child(even) { padding-left: 12px; }
  .home-category-link strong { font-size: 18px; }
  .home-views .rr-pills { margin-left: 0; width: 100%; }
  .rr-grid, .rr-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .detail-grid { grid-template-columns: 1fr; }
  .mag-card { flex-direction: column; }
  .mag-thumb { flex-basis: auto; }
  .rr-footer-inner { padding: 44px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
}
