/* Arena field guide — inspired by arenaofchampions.net, with our own branding. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #18201f;
}
.theme-field-guide {
  --ground: #18201f;
  --panel: #222e29;
  --ink: #eee5d2;
  --body: #c6cbbb;
  --muted: #abb5a5;
  --accent: #d6bb75;
  --line: #455044;
  --action: #93483b;
  --action-hover: #a35343;
  --action-line: #ba7960;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
.theme-field-guide ::selection { color: #18201f; background: #d6bb75; }
.theme-field-guide :is(h1, h2, h3) {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
.theme-field-guide [class~="bg-[#08121D]"] { background-color: var(--ground); }
.theme-field-guide [class~="bg-[#101E2D]"],
.theme-field-guide [class~="bg-[#0B1724]"] { background-color: var(--panel); }
.theme-field-guide [class~="text-[#F3F4F6]"] { color: var(--ink); }
.theme-field-guide [class~="text-[#CBD5E1]"] { color: var(--body); }
.theme-field-guide [class~="text-[#94A3B8]"] { color: var(--muted); }
.theme-field-guide [class~="text-[#F5B942]"] { color: var(--accent); }
.theme-field-guide [class~="bg-[#F5B942]"] { background-color: var(--accent); }
.theme-field-guide [class~="bg-[#F5B942]/10"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.theme-field-guide [class~="bg-[#F5B942]/60"] { background: var(--accent); opacity: .65; }
.theme-field-guide [class~="bg-[#08121D]/60"] { background: transparent; }
.theme-field-guide [class~="bg-[#08121D]/70"],
.theme-field-guide [class~="bg-[#08121D]/75"] { background: #18201fd9; }
.theme-field-guide [class~="text-[#F3F4F6]/85"] { color: var(--body); }
.theme-field-guide [class~="border-white/10"],
.theme-field-guide [class~="border-white/15"],
.theme-field-guide [class~="border-white/20"] { border-color: var(--line); }
.theme-field-guide [class~="border-[#F5B942]/60"],
.theme-field-guide [class~="border-[#F5B942]/70"] { border-color: color-mix(in srgb, var(--accent) 65%, transparent); }
.theme-field-guide [class*="hover:text-[#F5B942]"]:hover { color: var(--accent); }
.theme-field-guide [class*="hover:border-[#F5B942]"]:hover { border-color: var(--accent); }
.theme-field-guide :is(a, button, input, summary) {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.theme-field-guide :is(a, button)[class~="bg-[#F5B942]"] {
  color: #fff1d8;
  background: var(--action);
  border: 1px solid var(--action-line);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px #ffffff04;
}
.theme-field-guide :is(a, button)[class~="bg-[#F5B942]"]:hover {
  background: var(--action-hover);
  filter: none;
}
.theme-field-guide :is(a, button, input, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.theme-field-guide .skip-link { background: #d6bb75; color: #18201f; }

/* Dark masthead, restrained brass rules, and an illustrated arena plate. */
.theme-field-guide .site-header {
  background: #18201ff5;
  border-top: 3px solid #bda467;
  border-bottom-color: #3c483c;
}
.site-header > div:first-child { height: 77px; }
.site-header a[href="/"], .site-footer a[href="/"] {
  font-family: "Fraunces", Georgia, serif;
  color: #eee5d2;
}
.site-header a[href="/"] > span, .site-footer a[href="/"] > span { font-size: 19px; font-weight: 600; }
.site-header img[src="/icon.svg"], .site-footer img[src="/icon.svg"] { width: 38px; height: 38px; }
.site-header input[type="search"] {
  background: #111a17;
  border-color: #4b5547;
  border-radius: 2px;
  height: 38px;
}
.site-header input::placeholder { color: #aab3a4; }
.site-header [role="listbox"] { border-radius: 2px; background: #222e29; }
.site-header .search-active { color: #e6cb8a; background: #344237; }
.site-header #wow-mobile-menu { background: #18201f; }
.theme-field-guide .arena-layout { background-image: none; }
.arena-hero {
  background-color: #18201f;
  background-image: linear-gradient(#d6bb7504 1px, transparent 1px), linear-gradient(90deg, #d6bb7504 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0 54px;
  max-width: 1280px;
  padding: 72px 24px 64px;
  text-align: left;
}
.hero-heading { grid-column: 1; grid-row: 1; }
.hero-heading > p { justify-content: flex-start; font-size: 11px; letter-spacing: .19em; margin-bottom: 22px; }
.hero-heading h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.08; text-wrap: auto; }
.hero-heading h1 > span { display: block; color: #d6bb75; margin-top: 8px; }
.hero-info { grid-column: 1; grid-row: 2; }
.hero-info > p:first-child { margin-top: 24px; font-size: 17px; line-height: 1.6; }
.hero-info > ul { justify-content: flex-start; column-gap: 18px; row-gap: 7px; margin-top: 20px; font-size: 13px; }
.hero-info > div { justify-content: flex-start; gap: 12px; margin-top: 26px; }
.hero-info > div > a { font-size: 14px; padding: 13px 18px; border-radius: 2px; }
.hero-info > p:last-child { margin-top: 20px; font-size: 11px; letter-spacing: .035em; }
.hero-art { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-width: 0; margin: 0; }
.hero-art-frame { position: relative; border: 1px solid #687057; padding: 5px; background: #222e29; }
.hero-art-frame::after {
  position: absolute; content: ""; inset: 12px;
  border: 1px solid #d6bb7538; pointer-events: none;
}
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #b9beaa; font-size: 9px; letter-spacing: .13em; }
.hero-art figcaption > span:first-child { color: #d6bb75; }

/* Parchment directory: a deliberate light section makes the game covers stand out. */
.theme-field-guide .games-section,
.theme-field-guide .article-section,
.theme-field-guide .faq-section {
  --ground: #eee5d2;
  --panel: #f5eddd;
  --ink: #202a27;
  --body: #504f42;
  --muted: #696452;
  --accent: #765924;
  --line: #cbc1aa;
  width: 100%;
  max-width: none;
  background: var(--ground);
}
.games-section, .faq-section { padding: 64px 24px; }
.games-section > *, .faq-section > * { max-width: 1232px; margin-left: auto; margin-right: auto; }
.games-section > div:first-child, .guides-section > div > div:first-child, .faq-section > div:first-child { text-align: left; }
.games-section > div:first-child > div, .guides-section > div > div:first-child > div, .faq-section > div:first-child > div { justify-content: flex-start; }
.games-section h2, .guides-section h2, .faq-section h2 { font-size: 38px; line-height: 1.18; }
.theme-field-guide .game-card {
  border-radius: 2px;
  border-color: #c5b99c;
  box-shadow: none;
  background: #f5eddd;
}
.theme-field-guide .game-card:hover { border-color: #8c7440; box-shadow: 0 8px 24px #202a2714; }
.theme-field-guide .game-card:first-child { border-top: 3px solid #93483b; }
.game-card > div:first-child { --ink: #eee5d2; --body: #d3d5c4; --accent: #d6bb75; }
.game-card > div:first-child > div { background: linear-gradient(0deg, #18201fbb, transparent 75%); }
.game-card > div:first-child > span { border-radius: 2px; }
.theme-field-guide .game-card > div:first-child > span[class~="bg-[#F5B942]"] { background: #d6bb75; color: #18201f; }
.game-card > div:nth-child(2) { padding: 24px; }
.game-card h3 { font-size: 26px; }
.game-card li { border-radius: 2px; }
.game-card a { border-radius: 2px; }
.games-section > ul { border-top: 1px solid var(--line); padding-top: 30px; }
.games-section > ul svg { width: 28px; height: 28px; }

.play-section { padding-top: 54px; padding-bottom: 60px; }
.theme-field-guide [role="tablist"] { background: transparent; border-radius: 2px; border-color: #59604b; }
.theme-field-guide [role="tab"] { border-radius: 1px; color: #b9c0ad; }
.theme-field-guide [role="tab"][aria-selected="true"] { color: #fff1d8; background: #93483b; border-color: #ba7960; }
.theme-field-guide [role="tab"][aria-selected="false"]:hover { color: #eee5d2; background: #2c3b30; }
.game-stage { border-radius: 2px; border-color: #697257; }
.game-stage > div > div[aria-hidden="true"] { background: linear-gradient(0deg, #101a16f5, #101a1680); }
.game-stage > div > span:first-of-type { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: #eee5d2; }
#play-now-panel > div:nth-child(2) :is(a, button) { border-radius: 2px; }
/* Keep third-party advertising in a reserved frame outside the game controls. */
.ad-slot {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 28px 16px 32px;
  border-top: 1px solid var(--line);
  background: var(--ground);
}
.ad-slot__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.ad-slot__frame {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 320px;
  margin: 0 auto;
  border: 0;
  background: var(--ground);
}
@media (max-width: 767px) {
  .ad-slot { padding: 22px 16px 26px; }
  .ad-slot__frame { height: min(320px, calc(100vw - 32px)); }
}
.theme-field-guide .about-section { background: #26332c; border-color: #48513f; }
.about-section img { filter: saturate(.7) sepia(.1); }
.about-section > div > div:first-child { border-radius: 2px; border-color: #697257; }
.about-section h2 { font-size: 38px; }
.theme-field-guide .prose { color: var(--body); }
.theme-field-guide .prose :is(h2, h3, h4, strong) { color: var(--ink); }
.theme-field-guide .prose :is(p, li) { color: var(--body); }
.theme-field-guide .prose a { color: var(--accent); text-decoration-color: var(--accent); }
.theme-field-guide .prose a[class~="bg-[#F5B942]"] { color: #fff1d8; }
.theme-field-guide .prose li::marker { color: var(--accent); }
.article-section { padding: 64px 24px 72px; }
.article-section > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.article-section .wow-home-article > div + div { border-top: 1px solid #cbc1aa; padding-top: 32px; }
.article-section h2 { font-size: 32px; }
.theme-field-guide .guides-section { background: #243129; border-color: #47523e; }
.guides-section li > a { border-radius: 2px; background: #1c2822; border-color: #506047; }
.guides-section li > a:hover { background: #2c3a2f; border-color: #d6bb75; }
.guides-section li > a > span:first-child { border-radius: 0; background: transparent; color: #d6bb75; }
.guides-section li > a > span:nth-child(2) { font: 600 22px/1.25 "Fraunces", Georgia, serif; letter-spacing: -.02em; }
.guides-section li > a:hover > span:nth-child(2) { color: #d6bb75; }
.theme-field-guide .wow-faq-item { border-radius: 0; background: transparent; border: 0; border-top: 1px solid #bdb299; box-shadow: none; }
.theme-field-guide .wow-faq-item[open] { background: #f5eddd; border-color: #9d8652; }
.theme-field-guide .wow-faq-item summary { padding: 22px 18px; color: #202a27; }
.theme-field-guide .wow-faq-item summary h3 { color: #202a27; font: 600 18px/1.4 "Source Sans 3", sans-serif; letter-spacing: 0; }
.theme-field-guide .wow-faq-icon { color: #765924; border-color: #bcb08d; border-radius: 0; background: transparent; }
.theme-field-guide .wow-faq-answer { padding: 0 18px 22px; color: #504f42; }
.theme-field-guide .wow-faq-answer a { color: #765924; }
.theme-field-guide .site-footer { background: #101a16; color: #aeb9a5; border-color: #45513e; }
.site-footer nav p { color: #d6bb75; letter-spacing: .15em; }

@media (min-width: 768px) and (max-width: 1100px) {
  .hero-inner { gap: 0 30px; padding-top: 54px; padding-bottom: 54px; }
  .hero-heading h1 { font-size: 42px; }
  .hero-art img { height: auto; }
  .hero-info > div { flex-direction: column; align-items: stretch; }
  .hero-info > div > a { width: 100%; }
  .hero-art figcaption { flex-direction: column; gap: 3px; }
  .game-card > div:nth-child(2) { padding: 18px; }
  .game-card h3 { font-size: 23px; }
}
@media (max-width: 767px) {
  .site-header > div:first-child { height: 65px; }
  .site-header a[href="/"] > span { font-size: 18px; }
  .site-header img[src="/icon.svg"] { width: 34px; height: 34px; }
  .hero-inner { display: contents; }
  .hero-art { display: none; }
  .hero-heading { padding-top: 26px; }
  .hero-heading > p { justify-content: center; font-size: 9px; letter-spacing: .12em; margin-bottom: 14px; }
  .hero-heading h1 { font-size: 32px; line-height: 1.12; }
  .hero-heading h1 > span { margin-top: 5px; }
  .hero-heading h1 > span br { display: none; }
  .hero-info { padding-top: 24px; padding-bottom: 30px; }
  .hero-info > p:first-child { margin-top: 0; font-size: 15px; }
  .hero-info > ul { justify-content: center; font-size: 12px; margin-top: 14px; gap: 8px 16px; }
  .hero-info > div { margin-top: 20px; }
  .hero-info > div > a { padding: 11px 16px; }
  .hero-info > p:last-child { margin-top: 16px; }
  .games-section, .faq-section, .article-section { padding: 42px 16px; }
  .games-section h2, .guides-section h2, .faq-section h2, .about-section h2 { font-size: 30px; }
  .article-section h2 { font-size: 27px; }
  .play-section { padding-top: 18px; padding-bottom: 0; }
  .theme-field-guide #play-now-heading { color: #d6bb75; font: 600 11px "Source Sans 3", sans-serif; letter-spacing: .15em; }
  .theme-field-guide [role="tab"] { border-radius: 2px; }
  .theme-field-guide .wow-faq-item summary { padding: 19px 12px; }
  .theme-field-guide .wow-faq-answer { padding: 0 12px 20px; }
  .about-section > div, .guides-section > div { padding-top: 44px; padding-bottom: 44px; }
}

.hero-heading > .hero-answer { margin: 22px 0 0; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; line-height: 1.6; color: #c6cbbb; }
@media (max-width: 767px) { .hero-heading > .hero-answer { margin: 16px auto 20px; max-width: 520px; font-size: 14px; text-align: center; } }
