/*
 * 日刊ゲーミング — SWELL child theme shared components
 * Approved design: final pattern 1 / forest green.
 * Component rules stay inside .ng-home-root on body.ng-site.
 * SWELL post content is intentionally outside these component scopes.
 * Fonts inherit the existing SWELL settings. No comparison controls are included.
 */
body.ng-site {
  --brand: #3F725C;
  --dark: #2B5342;
  --pale: #EDF4EF;
  --paler: #F7F9F7;
  --accent: #EDC394;
  --line: #DCE6DE;
  --muted: #607066;
  --hero-overlay: #2B5342B8;
  --light-ink: #FFFFFF;
  --nav-ink: #FFFFFF;
  --hero-label: #FFFFFF;
  --brand-ink: #FFFFFF;
  --dark-ink: #FFFFFF;
  --hero-ink: #FFFFFF;
}
/* Keep reset exclusions inside :where() so component spacing always wins. */
body.ng-site .ng-home-root {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #FFFFFF;
  color: #343D38;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}
body.ng-site .ng-home-root *,
body.ng-site .ng-home-root *::before,
body.ng-site .ng-home-root *::after { box-sizing: border-box; }
body.ng-site .ng-home-root :where(header,main,footer,section,aside,nav,div,form,figure,h1,h2,h3,p):where(:not(.ng-sidebar-root):not(.ng-sidebar-root *)) {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
body.ng-site .ng-home-root :where(h1,h2,h3) {
  background: none;
  color: inherit;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-style: normal;
}
body.ng-site .ng-home-root :where(h1,h2,h3)::before,
body.ng-site .ng-home-root :where(h1,h2,h3)::after { content: none; display: none; }
body.ng-site .ng-home-root :where(button,input) { font-family: inherit; box-shadow: none; }
body.ng-site .ng-home-root input[type="search"] { appearance: none; -webkit-appearance: none; border-radius: 0; height: auto; }
body.ng-site .ng-home-root input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
body.ng-site .ng-home-root svg.icon { display: inline-block; max-width: none; }
body.ng-site .ng-home-root [hidden] { display: none !important; }
body.ng-site .ng-home-root * { box-sizing: border-box; }
body.ng-home { margin: 0; color: #404640; background: #fff; font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.ng-site .ng-home-root a { color: inherit; text-decoration: none; }
body.ng-site .ng-home-root button,
body.ng-site .ng-home-root input { font: inherit; }
body.ng-site .ng-home-root button,
body.ng-site .ng-home-root a,
body.ng-site .ng-home-root input { -webkit-tap-highlight-color: transparent; }
body.ng-site .ng-home-root button,
body.ng-site .ng-home-root a { touch-action: manipulation; }
body.ng-site .ng-home-root button { cursor: pointer; }
body.ng-site .ng-home-root button[aria-disabled="true"] { cursor: default; }
body.ng-site .ng-home-root img:where(:not(.ng-sidebar-root *)) { display: block; max-width: 100%; height: auto; }
body.ng-site .ng-sidebar-root .game-tile img { display: block; max-width: 100%; height: auto; }
body.ng-site .ng-home-root h1,
body.ng-site .ng-home-root h2,
body.ng-site .ng-home-root h3,
body.ng-site .ng-home-root p:where(:not(.ng-sidebar-root *)) { margin: 0; }
body.ng-site .ng-home-root h1,
body.ng-site .ng-home-root h2,
body.ng-site .ng-home-root h3 { line-height: 1.6; }
body.ng-site .ng-home-root button { border: 0; }
body.ng-site .ng-home-root a:focus-visible,
body.ng-site .ng-home-root button:focus-visible,
body.ng-site .ng-home-root input:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
body.ng-site .ng-home-root a:hover { color: var(--brand); }
body.ng-site .ng-home-root .icon { width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
body.ng-site .ng-home-root .wrap { width: min(1120px,calc(100% - 56px)); margin-inline: auto; }
body.ng-site .ng-home-root .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.ng-site .ng-home-root [hidden] { display: none !important; }
body.ng-site .ng-home-root .site-header { background: #fff; border-bottom: 1px solid var(--line); }
body.ng-site .ng-home-root .masthead { min-height: 100px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
body.ng-site .ng-home-root .brand { display: flex; gap: 11px; align-items: center; color: var(--brand); font-size: 28px; line-height: 1.3; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
body.ng-site .ng-home-root .brand-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--brand); color: white; font-size: 30px; line-height: 1; }
body.ng-site .ng-home-root .brand small { display: block; margin-top: 6px; font-size: 10px; font-weight: 400; letter-spacing: .12em; }
body.ng-site .ng-home-root .masthead nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
body.ng-site .ng-home-root .masthead nav a { display: flex; align-items: center; gap: 7px; padding: 14px 0; }
body.ng-site .ng-home-root .masthead nav .icon { width: 17px; height: 17px; color: var(--brand); }
body.ng-site .ng-home-root .masthead nav a:hover { opacity: .7; }
body.ng-site .ng-home-root .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin-bottom: 15px; }
body.ng-site .ng-home-root h1 { font-size: 34px; font-weight: 700; letter-spacing: .045em; line-height: 1.65; }
body.ng-site .ng-home-root .search-form { max-width: 510px; }
body.ng-site .ng-home-root .search-field { min-height: 52px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 5px 6px 5px 18px; box-shadow: 0 3px 10px #00000004; }
body.ng-site .ng-home-root .search-field>.icon { color: var(--brand); width: 18px; height: 18px; }
body.ng-site .ng-home-root .search-field input { width: 0; min-width: 0; flex: 1; border: 0; background: transparent; outline-offset: 0; padding: 8px 0; font-size: 13px; color: #414a44; }
body.ng-site .ng-home-root .search-field button { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: white; border-radius: 24px; font-size: 12px; font-weight: 700; padding: 10px 18px; min-width: 88px; }
body.ng-site .ng-home-root .search-field button .icon { width: 15px; height: 15px; }
body.ng-site .ng-home-root .quick-text { display: flex; gap: 13px; flex-wrap: wrap; font-size: 11px; margin-top: 13px; align-items: center; color: var(--brand); }
body.ng-site .ng-home-root .quick-text>span { color: var(--muted); }
body.ng-site .ng-home-root .quick-text a { border-bottom: 1px solid var(--line); }
body.ng-site .ng-home-root .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
body.ng-site .ng-home-root .section-head h2 { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 700; }
body.ng-site .ng-home-root .section-head h2 small { display: block; font-size: 10px; font-weight: 400; line-height: 1.7; letter-spacing: .035em; color: var(--muted); margin-top: 2px; }
body.ng-site .ng-home-root .heading-icon { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; background: var(--brand); border-radius: 50%; color: white; flex: none; }
body.ng-site .ng-home-root .heading-icon .icon { width: 19px; height: 19px; }
body.ng-site .ng-home-root .game-tile:hover img { opacity: .85; }
body.ng-site .ng-home-root .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 12px; font-weight: 700; }
body.ng-site .ng-home-root .outline-button { min-height: 43px; padding: 9px 29px; border: 1px solid var(--brand); border-radius: 25px; color: var(--brand); background: white; }
body.ng-site .ng-home-root .outline-button:hover { background: var(--pale); }
body.ng-site .ng-home-root .sidebar { display: flex; flex-direction: column; gap: 28px; }
body.ng-site .ng-home-root .side-box h2 { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; background: var(--brand); color: white; min-height: 44px; padding: 10px; border-radius: 4px; }
body.ng-site .ng-home-root .side-box h2 .icon { width: 17px; height: 17px; }
body.ng-site .ng-home-root .game-directory { padding: 55px 0 60px; background: var(--paler); }
body.ng-site .ng-home-root .game-directory .section-head { justify-content: center; margin-bottom: 32px; }
body.ng-site .ng-home-root .game-directory .section-head h2 { gap: 13px; }
body.ng-site .ng-home-root .directory-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
body.ng-site .ng-home-root .directory-group { scroll-margin-top: 90px; }
body.ng-site .ng-home-root .group-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); }
body.ng-site .ng-home-root .group-heading>span { color: var(--brand); display: grid; place-items: center; width: 35px; height: 35px; background: white; border-radius: 50%; }
body.ng-site .ng-home-root .group-heading h3 { font-size: 14px; }
body.ng-site .ng-home-root .game-links { padding: 5px 0; }
body.ng-site .ng-home-root .game-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
body.ng-site .ng-home-root .game-links .icon { width: 13px; height: 13px; color: var(--brand); }
body.ng-site .ng-home-root .site-footer { padding: 38px 0 22px; background: var(--brand); color: white; }
body.ng-site .ng-home-root .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
body.ng-site .ng-home-root .site-footer .brand { color: white; font-size: 23px; }
body.ng-site .ng-home-root .site-footer .brand-symbol { background: white; color: var(--brand); width: 36px; height: 36px; font-size: 25px; }
body.ng-site .ng-home-root .site-footer .brand small { opacity: .8; font-size: 9px; }
body.ng-site .ng-home-root .footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 10px; }
body.ng-site .ng-home-root .site-footer a:hover { color: white; opacity: .7; }
body.ng-site .ng-home-root .footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid #ffffff30; display: flex; justify-content: space-between; font-size: 11px; opacity: .75; }
body.ng-site .ng-home-root .search-status { font-size: 12px; color: var(--brand); margin: -6px 0 20px; }
body.ng-site .ng-home-root .empty-state { grid-column: 1/-1; text-align: center; font-size: 14px; padding: 35px 10px; color: var(--muted); }
body.ng-site .ng-home-root .empty-state button { display: block; margin: 24px auto 0; }
body.ng-site .ng-home-root .latest { scroll-margin-top: 88px; }
body.ng-site .ng-home-root .game-tile { display: block; min-width: 0; }
body.ng-site .ng-home-root .game-tile img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; transition: opacity .2s; }
body.ng-site .ng-home-root .game-tile>span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; padding: 9px 1px 0; line-height: 1.6; }
body.ng-site .ng-home-root .game-tile .icon { width: 13px; height: 13px; color: var(--brand); }
body.ng-site .ng-home-root .site-header { background: var(--brand); border: 0; color: white; }
body.ng-site .ng-home-root .brand { color: white; }
body.ng-site .ng-home-root .brand-symbol { background: #ffffff21; border-radius: 50%; }
body.ng-site .ng-home-root .masthead { min-height: 88px; }
body.ng-site .ng-home-root .masthead nav .icon { color: var(--brand-ink); }
body.ng-site .ng-home-root .masthead a:hover { color: white; }
body.ng-site .ng-home-root .teal-ribbon { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; background: var(--accent); color: var(--dark); font-size: 11px; font-weight: 700; }
body.ng-site .ng-home-root .teal-ribbon .icon { width: 15px; height: 15px; }
body.ng-site .ng-home-root .teal-hero { position: relative; overflow: hidden; background: var(--brand); }
body.ng-site .ng-home-root .mosaic { display: grid; grid-template-columns: repeat(8,1fr); gap: 8px; position: absolute; inset: -8px; transform: scale(1.035); opacity: .35; }
body.ng-site .ng-home-root .mosaic img { height: 100%; width: 100%; object-fit: cover; min-height: 0; filter: saturate(.65); }
body.ng-site .ng-home-root .teal-hero:after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
body.ng-site .ng-home-root .teal-hero-content { position: relative; z-index: 1; max-width: 550px; margin: auto; padding: 39px 25px 36px; text-align: center; color: white; }
body.ng-site .ng-home-root .teal-hero .eyebrow { color: var(--hero-ink); justify-content: center; font-size: 11px; letter-spacing: .2em; margin-bottom: 10px; }
body.ng-site .ng-home-root .teal-hero h1 { font-size: 34px; line-height: 1.65; letter-spacing: .07em; }
body.ng-site .ng-home-root .teal-hero p { font-size: 12px; opacity: .85; margin: 12px 0 21px; }
body.ng-site .ng-home-root .teal-hero .search-form { max-width: 440px; margin: auto; }
body.ng-site .ng-home-root .teal-hero .search-field { border: 0; min-height: 51px; }
body.ng-site .ng-home-root .teal-hero .search-field button { background: var(--accent); color: var(--dark); }
body.ng-site .ng-home-root .teal-hero .quick-text { justify-content: center; color: white; margin-top: 14px; }
body.ng-site .ng-home-root .teal-hero .quick-text>span { color: var(--hero-ink); }
body.ng-site .ng-home-root .teal-hero .quick-text a { border-color: #ffffff55; }
body.ng-site .ng-home-root .teal-hero a:hover { color: white; }
body.ng-site .ng-home-root .sidebar-game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 13px; padding-top: 20px; }
body.ng-site .ng-home-root .sidebar-game-grid .game-tile>span { font-size: 10px; }
body.ng-site .ng-home-root .sidebar-game-grid .icon { display: none; }
@media (min-width:1440px) {
  body.ng-site .ng-home-root .wrap { width: min(1140px,calc(100% - 80px)); }
}
@media (max-width:1100px) {
  body.ng-site .ng-home-root .masthead nav { gap: 19px; font-size: 11px; }
  body.ng-site .ng-home-root .brand { font-size: 25px; }
  body.ng-site .ng-home-root .directory-groups { gap: 25px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 12px; }
}
@media (max-width:840px) {
  body.ng-site .ng-home-root .wrap { width: calc(100% - 36px); }
  body.ng-site .ng-home-root .masthead { flex-direction: column; gap: 8px; padding: 20px 0 0; min-height: auto; }
  body.ng-site .ng-home-root .masthead nav { gap: 30px; font-size: 11px; }
  body.ng-site .ng-home-root .masthead nav a { padding: 10px 0 13px; }
  body.ng-site .ng-home-root .brand { font-size: 26px; }
  body.ng-site .ng-home-root .brand small { font-size: 9px; }
  body.ng-site .ng-home-root .eyebrow { font-size: 11px; }
  body.ng-site .ng-home-root .search-field { gap: 7px; padding-left: 12px; }
  body.ng-site .ng-home-root .search-field input { font-size: 11px; }
  body.ng-site .ng-home-root .search-field button { padding: 10px 12px; min-width: 65px; font-size: 11px; }
  body.ng-site .ng-home-root .search-field button .icon { display: none; }
  body.ng-site .ng-home-root .quick-text { gap: 9px; font-size: 10px; }
  body.ng-site .ng-home-root .section-head h2 { font-size: 21px; }
  body.ng-site .ng-home-root .side-box h2 { font-size: 12px; }
  body.ng-site .ng-home-root .directory-groups { gap: 20px; }
  body.ng-site .ng-home-root .group-heading { gap: 6px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 11px; }
  body.ng-site .ng-home-root .group-heading>span { width: 28px; height: 28px; }
  body.ng-site .ng-home-root .game-links a { font-size: 11px; }
  body.ng-site .ng-home-root .footer-inner { gap: 22px; }
  body.ng-site .ng-home-root .footer-links { gap: 15px; font-size: 9px; }
  body.ng-site .ng-home-root .site-footer .brand { font-size: 21px; }
}
@media (max-width:650px) {
  body.ng-site .ng-home-root .wrap { width: calc(100% - 32px); }
  body.ng-site .ng-home-root .brand { font-size: 25px; gap: 10px; }
  body.ng-site .ng-home-root .brand-symbol { width: 37px; height: 37px; font-size: 26px; }
  body.ng-site .ng-home-root .masthead { padding-top: 19px; gap: 12px; }
  body.ng-site .ng-home-root .brand small { font-size: 8px; }
  body.ng-site .ng-home-root .masthead nav { width: 100%; justify-content: center; gap: 24px; font-size: 10px; }
  body.ng-site .ng-home-root .masthead nav a { gap: 5px; padding: 4px 0 13px; }
  body.ng-site .ng-home-root .masthead nav .icon { width: 14px; height: 14px; }
  body.ng-site .ng-home-root .masthead nav a:last-child { font-size: 9px; }
  body.ng-site .ng-home-root .search-form { max-width: 410px; margin-inline: auto; }
  body.ng-site .ng-home-root .search-field { min-height: 47px; }
  body.ng-site .ng-home-root .search-field input { font-size: 12px; }
  body.ng-site .ng-home-root .search-field button { padding: 8px 17px; min-width: 66px; }
  body.ng-site .ng-home-root .quick-text { justify-content: center; font-size: 10px; margin-top: 11px; }
  body.ng-site .ng-home-root .section-head { margin-bottom: 19px; }
  body.ng-site .ng-home-root .section-head h2 { font-size: 21px; gap: 9px; }
  body.ng-site .ng-home-root .section-head h2 small { font-size: 9px; }
  body.ng-site .ng-home-root .heading-icon { width: 32px; height: 32px; }
  body.ng-site .ng-home-root .heading-icon .icon { width: 17px; height: 17px; }
  body.ng-site .ng-home-root .outline-button { min-height: 41px; font-size: 11px; padding: 9px 23px; }
  body.ng-site .ng-home-root .sidebar { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 17px; align-items: start; }
  body.ng-site .ng-home-root .sidebar .side-box h2 { font-size: 11px; }
  body.ng-site .ng-home-root .sidebar .side-box:nth-child(2) { grid-row: span 2; }
  body.ng-site .ng-home-root .game-directory { padding: 35px 0 39px; }
  body.ng-site .ng-home-root .game-directory .section-head { margin-bottom: 27px; justify-content: flex-start; }
  body.ng-site .ng-home-root .game-directory .section-head h2 { font-size: 21px; }
  body.ng-site .ng-home-root .directory-groups { grid-template-columns: 1fr; gap: 29px; }
  body.ng-site .ng-home-root .group-heading { gap: 10px; padding-bottom: 9px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 14px; }
  body.ng-site .ng-home-root .group-heading>span { width: 31px; height: 31px; }
  body.ng-site .ng-home-root .game-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  body.ng-site .ng-home-root .game-links a { font-size: 10px; line-height: 1.7; padding-block: 10px; }
  body.ng-site .ng-home-root .game-links .icon { width: 11px; height: 11px; }
  body.ng-site .ng-home-root .site-footer { padding: 28px 0 20px; }
  body.ng-site .ng-home-root .footer-inner { flex-direction: column; gap: 22px; }
  body.ng-site .ng-home-root .site-footer .brand { font-size: 23px; }
  body.ng-site .ng-home-root .site-footer .brand small { font-size: 8px; }
  body.ng-site .ng-home-root .footer-links { gap: 20px; font-size: 9px; justify-content: center; }
  body.ng-site .ng-home-root .footer-bottom { margin-top: 22px; flex-direction: column; gap: 9px; text-align: center; font-size: 10px; padding-top: 19px; }
  body.ng-site .ng-home-root .empty-state { font-size: 12px; }
  body.ng-site .ng-home-root .search-status { font-size: 11px; }
  body.ng-site .ng-home-root .game-tile>span { font-size: 11px; }
  body.ng-site .ng-home-root .game-tile .icon { width: 11px; height: 11px; }
  body.ng-site .ng-home-root .masthead { min-height: auto; }
  body.ng-site .ng-home-root .teal-ribbon { min-height: 32px; font-size: 9px; }
  body.ng-site .ng-home-root .teal-ribbon .icon { width: 13px; height: 13px; }
  body.ng-site .ng-home-root .teal-hero-content { padding: 28px 16px 27px; }
  body.ng-site .ng-home-root .teal-hero .eyebrow { font-size: 10px; margin-bottom: 11px; }
  body.ng-site .ng-home-root .teal-hero h1 { font-size: 29px; letter-spacing: .03em; }
  body.ng-site .ng-home-root .teal-hero p { font-size: 10px; margin: 13px 0 18px; }
  body.ng-site .ng-home-root .teal-hero .search-form { max-width: 390px; }
  body.ng-site .ng-home-root .teal-hero .search-field { min-height: 47px; }
  body.ng-site .ng-home-root .teal-hero .quick-text { font-size: 9px; }
  body.ng-site .ng-home-root .mosaic { grid-template-columns: repeat(4,1fr); gap: 6px; opacity: .4; }
  body.ng-site .ng-home-root .sidebar-game-grid { grid-template-columns: repeat(2,1fr); gap: 21px 15px; }
  body.ng-site .ng-home-root .sidebar-game-grid .game-tile>span { font-size: 11px; }
}
@media (prefers-reduced-motion:reduce) {
  body.ng-site .ng-home-root * { transition: none !important; }
}
@media (max-width:650px) {
  body.ng-site .ng-home-root .search-field input { font-size: 13px; }
  body.ng-site .ng-home-root .sidebar { display: flex; gap: 25px; }
  body.ng-site .ng-home-root .sidebar .side-box h2 { font-size: 14px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 15px; }
  body.ng-site .ng-home-root .game-links a { font-size: 12px; padding-block: 12px; }
  body.ng-site .ng-home-root .teal-hero p { font-size: 12px; }
  body.ng-site .ng-home-root .footer-links { font-size: 11px; }
  body.ng-site .ng-home-root .footer-bottom { font-size: 11px; }
}
body.ng-site .ng-home-root .eyebrow,
body.ng-site .ng-home-root .search-status,
body.ng-site .ng-home-root .outline-button { color: var(--dark); }
body.ng-site .ng-home-root .search-field button,
body.ng-site .ng-home-root .side-box h2 { background: var(--dark); }
body.ng-site .ng-home-root .site-footer { background: var(--dark); }
body.ng-site .ng-home-root .game-links>a:hover { color: var(--dark); }
body.ng-site .ng-home-root .quick-text { color: var(--dark); }

body.ng-home { font-size: 16px; color: #343D38; }
body.ng-site .ng-home-root .wrap { width: min(1160px,calc(100% - 64px)); }
body.ng-site .ng-home-root .masthead { min-height: 96px; }
body.ng-site .ng-home-root .brand { font-size: 29px; }
body.ng-site .ng-home-root .brand small { font-size: 12px; letter-spacing: .06em; }
body.ng-site .ng-home-root .masthead nav { font-size: 14px; gap: 29px; }
body.ng-site .ng-home-root .teal-ribbon { font-size: 13px; min-height: 37px; }
body.ng-site.ng-home .ng-home-root .teal-hero:after { background: var(--hero-overlay); }
body.ng-site .ng-home-root .masthead nav .icon { color: var(--nav-ink); }
body.ng-site .ng-home-root .teal-hero .eyebrow,
body.ng-site .ng-home-root .teal-hero .quick-text>span { color: white; }
body.ng-site .ng-home-root .teal-hero-content { padding: 32px 24px 31px; max-width: 570px; }
body.ng-site .ng-home-root .teal-hero h1 { font-size: 34px; }
body.ng-site .ng-home-root .teal-hero p { font-size: 14px; margin: 12px 0 20px; opacity: 1; }
body.ng-site .ng-home-root .teal-hero .quick-text { font-size: 13px; }
body.ng-site .ng-home-root .teal-hero .eyebrow { font-size: 12px; }
body.ng-site .ng-home-root .search-field input { font-size: 14px; }
body.ng-site .ng-home-root .search-field button { font-size: 14px; }
body.ng-site .ng-home-root .search-field button .icon { display: none; }
body.ng-site .ng-home-root .wide-guide { margin: 36px 0 0; }
body.ng-site .ng-home-root .section-head { margin-bottom: 22px; }
body.ng-site .ng-home-root .section-head h2 { font-size: 24px; }
body.ng-site .ng-home-root .heading-icon { width: 36px; height: 36px; }
body.ng-site .ng-home-root .guide-all { font-size: 14px; color: var(--dark); border-bottom: 1px solid var(--line); }
body.ng-site .ng-home-root .wide-guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 23px 24px; }
body.ng-site .ng-home-root .wide-guide-grid .game-tile>span { font-size: 15px; padding: 9px 1px 0; }
body.ng-site .ng-home-root .game-tile img { border-radius: 4px; }
body.ng-site .ng-home-root .game-tile .icon { display: none; }
body.ng-site .ng-home-root .round4-columns { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 42px; align-items: stretch; margin: 38px 0 48px; padding-top: 35px; border-top: 1px solid var(--line); }
body.ng-site .ng-home-root .round4-latest { min-width: 0; display: flex; flex-direction: column; scroll-margin-top: 160px; }
body.ng-site .ng-home-root .round4-latest .section-head { min-height: 46px; margin-bottom: 12px; }
body.ng-site .ng-home-root .round4-latest .section-head h2 { font-size: 24px; }
body.ng-site .ng-home-root .news-feed { flex: 1; display: grid; gap: 20px; min-height: 0; }
body.ng-site .ng-home-root .news-item { min-width: 0; display: block; }
body.ng-site .ng-home-root .news-item>img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
body.ng-site .ng-home-root .news-item:hover>img { opacity: .84; }
body.ng-site .ng-home-root .news-copy { min-width: 0; }
body.ng-site .ng-home-root .news-item h3 { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
body.ng-site .ng-home-root .article-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
body.ng-site .ng-home-root .page-buttons { display: flex; align-items: center; gap: 5px; }
body.ng-site .ng-home-root .page-buttons .page-numbers { background: white; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; min-width: 31px; height: 33px; color: var(--dark); padding: 0 7px; }
body.ng-site .ng-home-root .page-buttons .page-numbers[aria-current=page] { background: var(--brand); color: white; border-color: var(--brand); }
body.ng-site .ng-home-root .page-buttons .page-numbers[aria-disabled="true"] { color: #A6AEA8; background: #F6F7F6; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) { margin: 0; gap: 28px; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .side-box h2 { font-size: 16px; min-height: 46px; background: var(--brand); border-radius: 4px; line-height: 1.5; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-form { margin-top: 16px; max-width: none; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field { min-height: 49px; padding-left: 13px; gap: 8px; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field input { font-size: 14px; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field button { font-size: 13px; min-width: 57px; padding: 8px 13px; background: var(--brand); }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .side-guide { flex: 1; display: flex; flex-direction: column; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; align-content: start; gap: 23px 16px; padding-top: 20px; }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid .game-tile>span { font-size: 14px; line-height: 1.65; padding-top: 8px; }
body.ng-site .ng-home-root .search-status { font-size: 14px; margin: 0 0 16px; }
body.ng-site .ng-home-root .empty-state { grid-column: 1/-1; align-self: center; font-size: 16px; padding: 35px 20px; }
body.ng-site .ng-home-root .game-directory { background: var(--pale); padding: 43px 0 47px; }
body.ng-site .ng-home-root .game-directory .section-head h2 small { font-size: 13px; }
body.ng-site .ng-home-root .group-heading h3 { font-size: 15px; }
body.ng-site .ng-home-root .game-links a { font-size: 14px; padding-block: 10px; }
body.ng-site .ng-home-root .site-footer { background: var(--dark); }
body.ng-site .ng-home-root .footer-links { font-size: 13px; }
body.ng-site .ng-home-root .footer-bottom { font-size: 13px; }
body.ng-site .ng-home-root .footer-bottom small { font-size: 12px; }
body.ng-site .ng-home-root .site-footer .brand small { font-size: 12px; }
@media (max-width:1150px) {
  body.ng-site .ng-home-root .round4-columns { grid-template-columns: minmax(0,1fr) 275px; gap: 30px; }
  body.ng-site .ng-home-root .news-item h3 { font-size: 15px; }
}
@media (max-width:900px) {
  body.ng-site .ng-home-root .wrap { width: calc(100% - 40px); }
  body.ng-site .ng-home-root .masthead nav { font-size: 13px; gap: 16px; }
  body.ng-site .ng-home-root .brand { font-size: 26px; }
  body.ng-site .ng-home-root .round4-columns { grid-template-columns: minmax(0,1fr) 250px; gap: 25px; }
  body.ng-site .ng-home-root .wide-guide-grid { gap: 22px 17px; }
  body.ng-site .ng-home-root .wide-guide-grid .game-tile>span { font-size: 14px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid { gap: 23px 12px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid .game-tile>span { font-size: 13px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field input { font-size: 13px; }
  body.ng-site .ng-home-root .article-pagination { justify-content: center; }
  body.ng-site .ng-home-root .article-pagination>span { width: 100%; text-align: center; }
  body.ng-site .ng-home-root .directory-groups { gap: 22px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 14px; }
  body.ng-site .ng-home-root .footer-inner { gap: 20px; }
  body.ng-site .ng-home-root .footer-links { gap: 13px; }
}
@media (max-width:760px) {
  body.ng-site .ng-home-root .wrap { width: calc(100% - 32px); }
  body.ng-site .ng-home-root .masthead { flex-direction: column; gap: 12px; padding: 18px 0 0; min-height: 0 !important; }
  body.ng-site .ng-home-root .masthead nav { font-size: 12px; width: 100%; justify-content: center; gap: 21px; }
  body.ng-site .ng-home-root .masthead nav a { padding: 3px 0 14px; }
  body.ng-site .ng-home-root .masthead nav a:last-child { font-size: 12px; }
  body.ng-site .ng-home-root .brand { font-size: 26px; }
  body.ng-site .ng-home-root .brand small { font-size: 11px; }
  body.ng-site .ng-home-root .brand-symbol { width: 38px; height: 38px; font-size: 26px; }
  body.ng-site .ng-home-root .teal-ribbon { font-size: 12px; min-height: 35px; }
  body.ng-site .ng-home-root .teal-hero-content { padding: 29px 16px 27px; }
  body.ng-site .ng-home-root .teal-hero h1 { font-size: 29px; }
  body.ng-site .ng-home-root .teal-hero p { font-size: 13px; }
  body.ng-site .ng-home-root .teal-hero .eyebrow { font-size: 12px; }
  body.ng-site .ng-home-root .teal-hero .quick-text { font-size: 12px; gap: 11px; }
  body.ng-site .ng-home-root .search-field input { font-size: 16px; }
  body.ng-site .ng-home-root .search-field button { font-size: 14px; }
  body.ng-site .ng-home-root .mosaic { grid-template-columns: repeat(4,1fr); }
  body.ng-site .ng-home-root .wide-guide { margin-top: 28px; }
  body.ng-site .ng-home-root .section-head h2 { font-size: 22px; }
  body.ng-site .ng-home-root .guide-all { font-size: 12px; }
  body.ng-site .ng-home-root .wide-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; }
  body.ng-site .ng-home-root .wide-guide-grid .game-tile>span { font-size: 14px; line-height: 1.7; }
  body.ng-site .ng-home-root .round4-columns { display: block; margin: 30px 0 35px; padding-top: 28px; }
  body.ng-site .ng-home-root .round4-latest .section-head h2 { font-size: 22px; }
  body.ng-site .ng-home-root .news-item h3 { font-size: 15px; }
  body.ng-site .ng-home-root .news-feed { min-height: 0; }
  body.ng-site .ng-home-root .article-pagination { margin-top: 22px; padding-top: 18px; }
  body.ng-site .ng-home-root .page-buttons .page-numbers { min-width: 35px; height: 36px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) { margin: 36px 0 0; display: flex; gap: 28px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar)>.side-box { margin: 0 !important; padding: 0; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .side-box h2 { font-size: 16px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field input { font-size: 16px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; gap: 21px 14px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid .game-tile>span { font-size: 13px; }
  body.ng-site .ng-home-root .game-directory { padding: 32px 0; }
  body.ng-site .ng-home-root .directory-groups { grid-template-columns: 1fr; gap: 26px; }
  body.ng-site .ng-home-root .game-directory .section-head { justify-content: flex-start; }
  body.ng-site .ng-home-root .game-directory .section-head h2 small { font-size: 12px; }
  body.ng-site .ng-home-root .group-heading h3 { font-size: 16px; }
  body.ng-site .ng-home-root .game-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
  body.ng-site .ng-home-root .game-links a { font-size: 13px; line-height: 1.8; padding-block: 11px; }
  body.ng-site .ng-home-root .footer-inner { flex-direction: column; gap: 24px; }
  body.ng-site .ng-home-root .footer-links { font-size: 12px; gap: 20px; }
  body.ng-site .ng-home-root .footer-bottom { flex-direction: column; gap: 9px; text-align: center; }
  body.ng-site .ng-home-root .site-footer .brand { font-size: 25px; }
  body.ng-site .ng-home-root .site-footer .brand small { font-size: 11px; }
}
@media (max-width:390px) {
  body.ng-site .ng-home-root .masthead nav { gap: 15px; }
  body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .sidebar-game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ng-site .ng-home-root .guide-all { font-size: 11px; }
  body.ng-site .ng-home-root .teal-hero h1 { font-size: 27px; }
}

body.ng-site .ng-home-root .harmony-latest .section-head { margin-bottom: 19px; }
body.ng-site .ng-home-root .harmony-latest .news-feed { gap: 0; align-content: start; align-items: start; min-width: 0; }
body.ng-site .ng-home-root .harmony-latest .news-item { color: #414B45; min-width: 0; text-decoration: none; background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; }
body.ng-site .ng-home-root .harmony-latest .news-item>img { border-radius: 4px; aspect-ratio: 16/9; object-fit: cover; transition: opacity .2s ease; }
body.ng-site .ng-home-root .harmony-latest .news-item h3 { font-size: 16px; line-height: 1.9; letter-spacing: .01em; font-weight: 700; overflow-wrap: anywhere; margin: 0; }
body.ng-site .ng-home-root .harmony-latest .news-item:hover { color: var(--dark); }
body.ng-site .ng-home-root .harmony-latest .news-date { display: block; font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--muted); margin-top: 10px; letter-spacing: .025em; }
body.ng-site .ng-home-root .harmony-latest .news-copy { padding: 0; min-width: 0; align-self: center; }
body.ng-site .ng-home-root .harmony-latest .news-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
body.ng-site .ng-home-root .harmony-latest .article-pagination { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; margin: 23px 0 0; padding: 0; text-align: center; width: 100%; }
body.ng-site .ng-home-root .harmony-latest .page-count { font-size: 12px; line-height: 1.8; order: 2; width: 100%; color: var(--muted); }
body.ng-site .ng-home-root .harmony-latest .page-buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; width: 100%; }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers { min-width: 34px; height: 35px; padding: 0 9px; border: 0; border-radius: 50%; background: transparent; color: var(--dark); font-size: 13px; line-height: 1; }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers:first-child,
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers:last-child { border-radius: 20px; padding: 0 12px; }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers[aria-current=page] { background: var(--brand); color: white; font-weight: 700; }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers:not([aria-disabled="true"]):not([aria-current=page]):hover { background: var(--pale); }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers[aria-disabled="true"] { color: #ACB2AE; background: transparent; }
body.ng-site.ng-home .ng-home-root .harmony-feed { grid-template-columns: 1fr; grid-template-rows: repeat(4,minmax(0,1fr)); align-content: stretch; }
body.ng-site.ng-home .ng-home-root .news-item { display: grid; grid-template-columns: 172px minmax(0,1fr); gap: 24px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); align-self: stretch; }
body.ng-site.ng-home .ng-home-root .news-item:first-child { padding-top: 0; }
body.ng-site.ng-home .ng-home-root .news-item:last-child { border: 0; padding-bottom: 0; }
body.ng-site .ng-home-root .harmony-latest .news-feed.is-short { flex: 0; grid-template-rows: none !important; align-content: start; }
body.ng-site .ng-home-root .harmony-latest .news-feed.is-short .news-item { align-self: start; }
body.ng-site .ng-home-root .harmony-latest .news-feed.is-short+.article-pagination { margin-top: auto; padding-top: 23px; }
@media (max-width:1150px) {
  body.ng-site.ng-home .ng-home-root .news-item { grid-template-columns: 155px minmax(0,1fr); gap: 21px; }
}
@media (max-width:950px) {
  body.ng-site .ng-home-root .harmony-latest .news-item h3 { font-size: 15px; }
  body.ng-site.ng-home .ng-home-root .news-item { grid-template-columns: 130px minmax(0,1fr); gap: 18px; }
}
@media (max-width:760px) {
  body.ng-site .ng-home-root .harmony-latest .section-head { margin-bottom: 19px; }
  body.ng-site .ng-home-root .harmony-latest .news-feed { flex: 0; grid-template-rows: auto !important; }
  body.ng-site .ng-home-root .harmony-latest .news-item h3 { font-size: 15px; line-height: 1.9; }
  body.ng-site .ng-home-root .harmony-latest .news-date { margin-top: 7px; font-size: 12px; }
  body.ng-site .ng-home-root .harmony-latest .article-pagination { margin-top: 28px; padding: 0; gap: 10px; }
  body.ng-site .ng-home-root .harmony-latest .news-feed.is-short+.article-pagination { margin-top: 28px; padding: 0; }
  body.ng-site .ng-home-root .harmony-latest .page-buttons { gap: 6px; }
  body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers { min-width: 35px; height: 36px; font-size: 13px; }
  body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers:first-child,
  body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers:last-child { padding: 0 10px; }
  body.ng-site.ng-home .ng-home-root .news-item { grid-template-columns: 113px minmax(0,1fr); gap: 16px; padding: 19px 0; align-items: start; }
}
@media (max-width:390px) {
  body.ng-site.ng-home .ng-home-root .news-item { grid-template-columns: 100px minmax(0,1fr); gap: 14px; }
  body.ng-site .ng-home-root .harmony-latest .page-buttons { gap: 4px; }
  body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers { min-width: 32px; }
}
/* Native WordPress pagination: real links work without JavaScript. */
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  vertical-align: middle;
  text-decoration: none;
  box-shadow: none;
}
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers.current {
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
}
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers.disabled,
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers[aria-disabled="true"] {
  color: #ACB2AE;
  background: transparent;
  cursor: default;
}
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers.dots {
  min-width: 18px;
  padding: 0 2px;
  color: var(--muted);
  background: transparent;
}
/* The prototype toolbar is absent; anchors clear only the native admin bar. */
body.ng-site .ng-home-root .ng-skip-link { position:absolute; top:-100px; left:16px; z-index:1000; background:#FFFFFF; color:var(--dark); padding:12px 18px; border:2px solid var(--brand); }
body.ng-site .ng-home-root .ng-skip-link:focus { top:12px; }
body.ng-site .ng-home-root .ng-no-image { display:grid; place-items:center; width:100%; aspect-ratio:16/9; background:var(--pale); color:var(--brand); border-radius:4px; }
body.ng-site .ng-home-root .page-buttons { flex-wrap:wrap; justify-content:center; }
body.ng-site .ng-home-root :where(#top,#guide,#latest,#games,[id^="group-"]) { scroll-margin-top: 24px; }
body.ng-site.admin-bar .ng-home-root :where(#top,#guide,#latest,#games,[id^="group-"]) { scroll-margin-top: 56px; }
@media (max-width: 782px) {
  body.ng-site.admin-bar .ng-home-root :where(#top,#guide,#latest,#games,[id^="group-"]) { scroll-margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ng-site .ng-home-root *,
  body.ng-site .ng-home-root *::before,
  body.ng-site .ng-home-root *::after { transition: none !important; animation: none !important; }
}

/* Shared masthead / footer: inherit the palette derived from SWELL's main color. */
body.ng-site .ng-home-root .site-header,
body.ng-site .ng-home-root .site-header .brand,
body.ng-site .ng-home-root .masthead a:hover,
body.ng-site .ng-home-root .masthead nav .icon {
  color: var(--brand-ink);
}
body.ng-site .ng-home-root .site-footer,
body.ng-site .ng-home-root .site-footer .brand,
body.ng-site .ng-home-root .site-footer a:hover {
  color: var(--dark-ink);
}
body.ng-site .ng-home-root .heading-icon,
body.ng-site .ng-home-root .side-box h2,
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field button,
body.ng-site .ng-home-root .page-buttons .page-numbers[aria-current="page"],
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers.current {
  color: var(--brand-ink);
}
body.ng-site .ng-home-root .search-field button { color: var(--dark-ink); }
body.ng-site :is(.ng-home-root .approved-sidebar, .ng-home-root.approved-sidebar) .search-field button { color: var(--brand-ink); }
body.ng-site .ng-home-root .teal-ribbon,
body.ng-site .ng-home-root .teal-hero .search-field button {
  color: var(--accent-ink, var(--dark));
}
body.ng-site .ng-home-root .teal-hero-content,
body.ng-site .ng-home-root .teal-hero .eyebrow,
body.ng-site .ng-home-root .teal-hero .quick-text,
body.ng-site .ng-home-root .teal-hero .quick-text > span,
body.ng-site .ng-home-root .teal-hero a:hover { color: var(--hero-ink); }
body.ng-site .ng-home-root .teal-hero .quick-text a {
  border-color: currentColor;
  border-color: color-mix(in srgb, var(--hero-ink) 34%, transparent);
}
body.ng-site .ng-home-root .footer-bottom {
  border-top-color: currentColor;
  border-top-color: color-mix(in srgb, var(--dark-ink) 19%, transparent);
}
body.ng-site .ng-home-root .brand {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.ng-site .ng-home-root .brand small {
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.ng-site .ng-home-root .brand.ng-brand-image {
  display: inline-flex;
  flex: 0 1 auto;
  width: auto;
  max-width: min(480px, 50%);
  line-height: 1;
}
body.ng-site .ng-home-root .ng-brand-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 49px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
body.ng-site .ng-home-root .site-footer .ng-brand-image { max-width: min(400px, 48%); }
body.ng-site .ng-home-root .site-footer .ng-brand-image img { max-height: 44px; }

/* Use the sizes emitted by SWELL's header logo controls, including its 960px
 * PC/SP breakpoint. The footer retains its established compact dimensions. */
body.ng-site .ng-home-root .site-header .brand.ng-brand-image { max-width: 100%; }
body.ng-site .ng-home-root .site-header .ng-brand-image img {
  height: var(--logo_size_sp, 48px);
  max-height: none;
  width: auto;
  max-width: 100%;
}
body.ng-site .ng-home-root .ng-masthead-logo {
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
body.ng-site .ng-home-root .ng-masthead-logo nav { flex: 0 0 auto; }
@media (min-width: 960px) {
  body.ng-site .ng-home-root .site-header .ng-brand-image img { height: var(--logo_size_pc, 40px); }
}

/* All common-sidebar widgets share one quiet heading treatment.
 * Native SWELL post lists, profile, TOC and SNS internals retain their layouts. */
body.ng-site .ng-sidebar-root { min-width: 0; }
body.ng-site :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
}
body.ng-site :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .c-widget,
body.ng-site :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .ng-widget,
body.ng-site :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .widget {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.8;
}
body.ng-site .ng-sidebar-root :is(.c-widget__title, .ng-widget-title, .widget-title, .widgettitle),
body.ng-site .ng-sidebar-root .widget_block > :is(h2, .wp-block-heading) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  width: 100%;
  margin: 0 0 20px;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  box-shadow: none;
}
body.ng-site .ng-sidebar-root :is(.c-widget__title, .ng-widget-title, .widget-title, .widgettitle)::before,
body.ng-site .ng-sidebar-root :is(.c-widget__title, .ng-widget-title, .widget-title, .widgettitle)::after,
body.ng-site .ng-sidebar-root .widget_block > :is(h2, .wp-block-heading)::before,
body.ng-site .ng-sidebar-root .widget_block > :is(h2, .wp-block-heading)::after {
  display: none;
  content: none;
}
body.ng-site .ng-sidebar-root :is(.ng-widget-search, .ng-widget-guide) :is(.c-widget__title, .ng-widget-title) {
  margin-bottom: 0;
}
body.ng-site .ng-sidebar-root :is(.c-widget__title, .ng-widget-title) .icon {
  width: 17px;
  height: 17px;
}
body.ng-site .ng-sidebar-root .search-form { max-width: none; }
body.ng-site .ng-sidebar-root .sidebar-game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  align-content: start;
}
body.ng-site .ng-sidebar-root .p-postList__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}
body.ng-site .ng-sidebar-root .p-postList__meta {
  color: var(--muted);
  font-size: 11px;
}
body.ng-site .ng-sidebar-root .c-postThumb,
body.ng-site .ng-sidebar-root .c-postThumb__img { border-radius: 4px; }
body.ng-site .ng-sidebar-root .c-listMenu a {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: var(--line);
  line-height: 1.7;
}
body.ng-site .ng-sidebar-root .c-listMenu a:hover { background-color: var(--paler); }
body.ng-site .ng-sidebar-root :is(.p-profileBox, .p-profileBox__body) { border-color: var(--line); }
body.ng-site .ng-sidebar-root :is(.p-toc, .p-toc__list) { border-color: var(--line); }
body.ng-site .ng-sidebar-root :is(.p-toc, .p-toc__list) a:hover { color: var(--brand); }

/* Homepage widget areas use the same components as the original fixed sections. */
body.ng-site .ng-home-root .ng-widget-area { min-width: 0; }
body.ng-site .ng-home-root .ng-widget-area > .ng-widget { margin: 0; }
body.ng-site .ng-home-root .ng-widget-area > .ng-widget + .ng-widget { margin-top: 28px; }
body.ng-site .ng-home-root .ng-widget-area .wide-guide { margin-top: 36px; }
body.ng-site .ng-home-root .directory-groups > .ng-widget { min-width: 0; }

@media (max-width: 840px) {
  body.ng-site .ng-home-root .brand.ng-brand-image,
  body.ng-site .ng-home-root .site-footer .ng-brand-image { max-width: min(440px, 100%); }
}
@media (max-width: 760px) {
  body.ng-site .ng-home-root .ng-brand-image img { max-height: 44px; object-position: center; }
  body.ng-site .ng-home-root .site-footer .ng-brand-image img { max-height: 42px; }
  body.ng-site .ng-home-root .round4-columns > .ng-sidebar-root { margin-top: 36px; }
  body.ng-site :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) { margin-top: 0; }
  body.ng-site .ng-sidebar-root .sidebar-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ng-site .ng-home-root .ng-widget-area .wide-guide { margin-top: 28px; }
}
@media (max-width: 390px) {
  body.ng-site .ng-sidebar-root .sidebar-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Parent SWELL document wrappers stay in place; the custom homepage is full width. */
body.ng-home #content.l-content.l-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.ng-site #fix_header { display: none !important; }

/* Adding optional sidebar widgets must not stretch the four latest articles. */
body.ng-site .ng-home-root .round4-columns { align-items: start; }
body.ng-site .ng-home-root .harmony-latest .page-buttons .page-numbers[aria-current="page"] {
  color: var(--brand-ink);
}

/* SWELL's optional framed-sidebar setting uses #sidebar selectors. Keep our
 * common widgets identical on the homepage and articles without changing posts. */
body.ng-site #sidebar :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .c-widget,
body.ng-site #sidebar :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .ng-widget,
body.ng-site #sidebar :is(.ng-sidebar-root .approved-sidebar, .ng-sidebar-root.approved-sidebar) > .widget {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.ng-home #content.l-content.l-container { display: block; }

/* Tracking widgets remain direct children of SWELL's sticky container. The
 * component root must not override native sticky positioning or scroll limits. */
body.ng-site #fix_sidebar.ng-sidebar-root.approved-sidebar { margin-top: 28px; }
@media (min-width: 960px) {
  body.ng-site #fix_sidebar.ng-sidebar-root.approved-sidebar { position: sticky; }
}
@media not all and (min-width: 960px) {
  body.ng-site #fix_sidebar.ng-sidebar-root.approved-sidebar { position: static; }
}
