/* Official portal styles are isolated from the existing game pages. */
:root {
  color-scheme: light;
  --site-ink: #263238;
  --site-copy: #546e7a;
  --site-muted: #78909c;
  --site-blue: #0288d1;
  --site-blue-dark: #0277bd;
  --site-green: #00b900;
  --site-green-dark: #009e00;
  --site-border: rgb(255 255 255 / 80%);
  --site-radius: 20px;
  --site-shadow: 0 8px 24px rgb(2 136 209 / 10%);
}
.site-body { position: relative; min-height: 100vh; margin: 0; overflow-x: clip; color: var(--site-ink); background: linear-gradient(180deg, #e1f5fe, #b3e5fc 60%, #81d4fa); font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 15px; line-height: 1.75; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
.site-body *, .site-body *::before, .site-body *::after { box-sizing: border-box; }
.site-body h1, .site-body h2, .site-body h3, .site-body p { margin: 0; }
.site-body h1, .site-body h2, .site-body h3 { line-height: 1.5; text-wrap: pretty; }
.site-body a { color: inherit; text-decoration: none; }
.site-body button, .site-body input { font: inherit; }
.site-body button { cursor: pointer; }
.site-body img { display: block; max-width: 100%; height: auto; }
.site-body code { font-family: inherit; }
.site-body :focus-visible { outline: 3px solid #00649e; outline-offset: 5px; }
.site-body ::selection { color: #01446f; background: #fff; }
.site-body [id] { scroll-margin-top: 100px; }
.site-body main { position: relative; z-index: 1; }
.shell { width: 100%; max-width: 1024px; margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 18px; border-radius: 12px; background: #fff; box-shadow: var(--site-shadow); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Translucent leaves keep the existing palette and never intercept a tap. */
.site-leaves { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.floating-leaf { position: absolute; bottom: -64px; left: var(--left, 50%); width: var(--size, 24px); aspect-ratio: 1; background: url('/static/site/floating-leaf.svg') center / contain no-repeat; opacity: 0; animation: leaf-rise var(--duration, 18s) var(--delay, 0s) linear infinite; }
@keyframes leaf-rise { 0% { transform: translate(0, 0) rotate(-25deg) scale(.9); opacity: 0; } 10% { opacity: .6; } 35% { transform: translate(18px, -38vh) rotate(5deg); } 65% { transform: translate(-12px, -72vh) rotate(-15deg); } 90% { opacity: .4; } 100% { transform: translate(14px, -115vh) rotate(20deg) scale(1.1); opacity: 0; } }

.site-header { position: sticky; top: 12px; z-index: 50; width: calc(100% - 24px); max-width: 1024px; margin: 12px auto 0; padding: 10px 20px; border-radius: 999px; background: rgb(255 255 255 / 80%); box-shadow: 0 6px 22px rgb(2 136 209 / 18%); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 15px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.site-brand > img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 2px 6px rgb(2 136 209 / 20%); }
.site-brand > span { display: block; line-height: 1.4; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 0; padding: 6px 14px; border: 1px solid transparent; border-radius: 999px; color: var(--site-blue-dark); background: rgb(255 255 255 / 60%); font-size: 13px; font-weight: 700; line-height: 1.75; white-space: nowrap; transition: background .18s, transform .18s, box-shadow .18s; }
.site-nav .nav-friend { color: #fff; background: var(--site-green); box-shadow: 0 4px 10px rgb(0 185 0 / 28%); }
.site-nav .nav-openchat { border-color: rgb(2 136 209 / 35%); background: #fff; }
.site-nav a:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgb(2 136 209 / 25%); }
.site-nav a[aria-current="page"] { background: #e1f5fe; }
.site-nav .nav-friend:hover { background: var(--site-green-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 54px; padding: 14px 26px; border: 2px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.button-green { color: #fff !important; background: var(--site-green); box-shadow: 0 6px 18px rgb(0 185 0 / 35%); }
.button-outline { color: #37474f !important; border-color: #b3e5fc; background: #fff; box-shadow: 0 6px 18px rgb(38 50 56 / 10%); }
.button-light { color: var(--site-blue-dark) !important; background: #fff; box-shadow: 0 6px 18px rgb(2 136 209 / 10%); }
.button:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(2 136 209 / 30%); }
.button-green:hover { background: var(--site-green-dark); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.arrow { flex-shrink: 0; color: inherit; font-size: 18px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--site-blue-dark) !important; font-size: 13px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }
.eyebrow { display: inline-block; margin-bottom: 12px !important; padding: 4px 12px; border-radius: 999px; color: var(--site-blue); background: rgb(255 255 255 / 60%); font-size: 11px; font-weight: 700; line-height: 1.75 !important; letter-spacing: .3em; }

.hero { max-width: 720px; padding: 72px 24px 48px; text-align: center; }
.mascot-wrap { display: inline-block; padding: 12px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 90%), rgb(255 255 255 / 40%)); box-shadow: 0 12px 40px rgb(2 136 209 / 25%); animation: mascot-bob 3.2s ease-in-out infinite; }
.hero-mascot { width: 200px; height: 200px !important; border-radius: 50%; object-fit: cover; background: #fff; }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero .hero-title { margin: 28px 0 10px; color: var(--site-ink); font-size: 44px; font-weight: 800; letter-spacing: .02em; text-shadow: 0 2px 0 rgb(255 255 255 / 60%); }
.hero-description { margin-bottom: 32px !important; color: #37474f; font-size: 15px; font-weight: 500; line-height: 1.9 !important; }
.hero-actions { justify-content: center; }
.hero-note { margin-top: 16px !important; color: var(--site-copy); font-size: 12px; line-height: 1.8; }
.section { position: relative; padding: 48px 24px; }
.section-heading { margin-bottom: 32px; text-align: center; }
.section-heading h2 { margin-bottom: 8px; font-size: 28px; font-weight: 800; }
.section-description { color: var(--site-copy); font-size: 13px; font-weight: 500; text-align: center; }
.section-heading + .section-description { margin-top: -24px; margin-bottom: 32px; }
.section-heading .text-link { margin-top: 10px; }
.guide-section { padding-top: 8px; padding-bottom: 8px; }
.guide-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 26px; border: 2px solid #fff; border-radius: 24px; background: linear-gradient(135deg, #fff, #e1f5fe); box-shadow: 0 10px 26px rgb(2 136 209 / 16%); transition: transform .2s, box-shadow .2s; }
.guide-banner:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgb(2 136 209 / 26%); }
.guide-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; padding: 14px 16px; border-radius: 16px; color: #fff; background: #039be5; box-shadow: 0 8px 18px rgb(2 136 209 / 30%); font-size: 24px; font-weight: 800; letter-spacing: .14em; }
.guide-icon .icon { width: 38px; height: 38px; }
.guide-badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; color: #fff; background: #ff7043; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.guide-copy h2 { margin-bottom: 6px; font-size: 20px; font-weight: 800; }
.guide-copy p { color: var(--site-copy); font-size: 13px; line-height: 1.8; }
.guide-cta { display: inline-block; padding: 12px 22px; border-radius: 999px; color: #fff; background: var(--site-blue); box-shadow: 0 6px 16px rgb(2 136 209 / 30%); font-size: 14px; font-weight: 800; white-space: nowrap; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.feature-card { min-width: 0; padding: 24px 20px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); text-align: center; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgb(2 136 209 / 20%); }
.feature-illustration { width: 88px; height: 88px !important; margin: 0 auto 12px; object-fit: contain; }
.feature-card h3 { margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.feature-card p { color: var(--site-copy); font-size: 13px; font-weight: 500; line-height: 1.7; }
.feature-card code { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 999px; color: var(--site-blue-dark); background: rgb(2 136 209 / 8%); font-size: 12px; font-weight: 700; }

.news-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-inline: auto; }
.news-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px 20px; border: 1px solid var(--site-border); border-radius: 16px; background: rgb(255 255 255 / 90%); box-shadow: 0 6px 18px rgb(2 136 209 / 8%); transition: transform .2s, box-shadow .2s; }
.news-row:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgb(2 136 209 / 18%); }
.news-row time { padding: 6px 8px; border-radius: 8px; color: var(--site-blue); background: #e1f5fe; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.news-content { min-width: 0; }
.news-row .news-title { margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.news-excerpt { color: var(--site-copy); font-size: 13px; line-height: 1.7; }
.news-more { display: inline-block; margin-top: 10px; color: var(--site-blue-dark); font-size: 12px; font-weight: 700; }
.news-panel .section-more { display: table; margin: 18px auto 0; padding: 8px 18px; border-radius: 999px; color: var(--site-blue-dark) !important; background: rgb(255 255 255 / 70%); font-size: 13px; font-weight: 700; transition: background .15s; }
.section-more:hover { background: rgb(255 255 255 / 95%); }
.news-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 3px 10px; border-radius: 999px; color: var(--site-blue-dark); background: #e1f5fe; font-size: 11px; font-weight: 700; white-space: nowrap; }
.news-tag.tag-restore, .news-tag[data-category="復旧"] { color: #00796b; background: #e0f2f1; }
.news-tag.tag-notice, .news-tag[data-category="お知らせ"] { color: #a35b14; background: #fff3e0; }

/* Existing destinations remain accessible from the main page. */
.portal-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.portal-link { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 92px; padding: 16px 14px; border: 1px solid var(--site-border); border-radius: 18px; background: rgb(255 255 255 / 90%); box-shadow: var(--site-shadow); transition: transform .2s, box-shadow .2s; }
.portal-link:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgb(2 136 209 / 18%); }
.portal-link > div { min-width: 0; }
.portal-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; color: var(--site-blue); background: #e1f5fe; }
.portal-link strong, .portal-link small { display: block; }
.portal-link strong { font-size: 13px; font-weight: 800; line-height: 1.6; }
.portal-link small { margin-top: 3px; color: var(--site-copy); font-size: 10px; line-height: 1.6; }
.portal-link .arrow { margin-left: auto; color: var(--site-blue); font-size: 17px; }
.community-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.recruitment-panel, .community-card { min-width: 0; padding: 24px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: rgb(255 255 255 / 92%); box-shadow: var(--site-shadow); }
.recruitment-panel h3, .community-card h3 { font-size: 19px; font-weight: 800; }
.recruitment-list { margin-top: 12px; }
.recruitment-row { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px 24px 12px 0; border-bottom: 1px solid #e1f5fe; }
.recruitment-row:last-child { border-bottom: 0; }
.recruitment-row small { color: var(--site-blue); font-size: 11px; }
.recruitment-row strong { font-size: 13px; font-weight: 700; }
.recruitment-row .arrow { position: absolute; top: 28px; right: 0; color: var(--site-blue); }
.recruitment-row:hover strong { color: var(--site-blue-dark); }
.recruitment-panel .button-row { gap: 10px 14px; margin-top: 16px; }
.recruitment-panel .button, .community-card .button { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.empty-state { padding-block: 24px; color: var(--site-copy); font-size: 13px; }
.community-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(135deg, #fff, #e1f5fe); }
.community-card h3 { margin-bottom: 10px; }
.community-card p:not(.eyebrow) { color: var(--site-copy); font-size: 13px; line-height: 1.8; }
.community-card .button { margin-top: 18px; }
.community-card p > .text-link { margin-top: 12px; }
.ranking-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ranking-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid #b3e5fc; border-radius: 999px; color: var(--site-blue-dark); background: #fff; font-size: 12px; font-weight: 700; }
.ranking-links a:hover { background: #e1f5fe; }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.game-link { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 24px 20px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); transition: transform .2s, box-shadow .2s; }
.game-link:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgb(2 136 209 / 20%); }
.game-link > span:first-child { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; color: var(--site-blue); background: #e1f5fe; font-size: 26px; }
.game-link > div { min-width: 0; }
.game-link h3 { margin-bottom: 5px; font-size: 16px; font-weight: 800; }
.game-link p { color: var(--site-copy); font-size: 12px; line-height: 1.7; }
.join-section { padding-bottom: 96px; }
.join-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px; border: 2px solid #fff; border-radius: 24px; background: linear-gradient(135deg, #fff, #e1f5fe); box-shadow: 0 12px 32px rgb(2 136 209 / 18%); }
.join-mascot { width: 96px; height: 96px !important; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 4px 12px rgb(2 136 209 / 15%); }
.join-banner h2 { margin-bottom: 6px; font-size: 22px; font-weight: 800; }
.join-banner p { color: var(--site-copy); font-size: 13px; line-height: 1.6; }
.join-banner .button-row { flex-direction: column; align-items: stretch; gap: 8px; }
.join-banner .button { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.footer-wave { position: relative; z-index: 1; display: block; width: 100%; height: 100px; margin-top: -1px; margin-bottom: -1px; color: #01579b; }
.site-footer { position: relative; z-index: 1; padding: 32px 24px 24px; color: #e1f5fe; background: #01579b; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .site-brand { color: #fff; font-size: 16px; }
.footer-note { margin-top: 4px !important; color: #b3e5fc; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.site-footer nav a { color: #b3e5fc; font-size: 13px; font-weight: 600; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-inner > small { width: 100%; color: #81d4fa; font-size: 11px; text-align: center; }

/* News and help retain a comfortable reading width. */
.subpage { max-width: 960px; padding: 36px 24px 72px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--site-copy); font-size: 12px; }
.breadcrumb a { color: var(--site-blue-dark); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.page-heading p:not(.eyebrow) { max-width: 680px; margin-top: 12px; color: var(--site-copy); font-size: 14px; line-height: 1.9; }
.page-heading .button-row { margin-top: 20px; }
.subpage .section { padding: 32px 0; }
.subpage .section > p { margin-bottom: 20px; color: var(--site-copy); font-size: 14px; }
.news-archive { display: grid; gap: 20px; }
.news-article { min-width: 0; padding: 30px 34px; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: rgb(255 255 255 / 95%); box-shadow: var(--site-shadow); }
.news-article time { display: inline-block; color: var(--site-blue); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.news-article h2 { margin-top: 17px; margin-bottom: 14px; font-size: 24px; font-weight: 800; }
.news-article p { margin-top: 10px; color: var(--site-copy); font-size: 14px; line-height: 1.95; white-space: pre-line; }
.news-article .button, .news-article > .text-link { margin-top: 20px; }
.news-article .command-note { width: fit-content; max-width: 100%; padding: 8px 13px; border-radius: 9px; color: var(--site-blue-dark); background: #e1f5fe; font-size: 12px; }
.command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.command-row { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 22px; border: 1px solid var(--site-border); border-radius: 17px; background: #fff; box-shadow: 0 6px 18px rgb(2 136 209 / 8%); }
.command-row > div { flex: 1; min-width: 0; }
.command-row code { color: var(--site-blue-dark); font-size: 17px; font-weight: 800; }
.command-row p { margin-top: 8px; color: var(--site-copy); font-size: 12px; }
.copy-command { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; border: 1px solid #b3e5fc; border-radius: 999px; color: var(--site-blue-dark); background: #e1f5fe; font-size: 12px !important; font-weight: 700; transition: background .15s; }
.copy-command:hover { background: #b3e5fc; }
#copy-status { min-height: 24px; margin-top: 14px; color: var(--site-blue-dark); font-size: 13px; }
.faq-list { overflow: hidden; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: #fff; box-shadow: var(--site-shadow); }
.faq-list details { padding: 0 26px; border-bottom: 1px solid #e1f5fe; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { position: relative; padding: 20px 25px 20px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 15px; right: 0; color: var(--site-blue); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 22px; color: var(--site-copy); font-size: 13px; line-height: 1.95; }
.faq-list details a { color: var(--site-blue-dark); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .portal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid { grid-template-columns: 1fr; gap: 12px; }
  .game-link { padding: 20px; }
  .join-banner { gap: 20px; padding: 24px; }
}
@media (max-width: 720px) {
  .guide-banner { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding: 22px 18px; text-align: center; }
  .community-grid { grid-template-columns: 1fr; }
  .join-banner { grid-template-columns: auto minmax(0, 1fr); }
  .join-banner .button-row { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
}
@media (max-width: 640px) {
  .site-header { width: calc(100% - 20px); margin: 10px 10px 0; padding: 10px 12px; border-radius: 20px; }
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .site-brand { font-size: 13px; }
  .site-nav { width: 100%; justify-content: center; gap: 6px; margin: 0; }
  .site-nav a { padding: 5px 10px; font-size: 11px; }
  .site-body [id] { scroll-margin-top: 130px; }
  .hero { padding: 48px 20px 32px; }
  .hero-mascot { width: 160px; height: 160px !important; }
  .hero .hero-title { font-size: 32px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .section { padding: 32px 20px; }
  .section-heading h2 { font-size: 22px; }
  .feature-grid { gap: 20px; }
  .news-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news-row time { justify-self: start; }
  .portal-link { flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; text-align: center; }
  .portal-link .arrow { display: none; }
  .portal-link strong { font-size: 13px; }
  .portal-link small { font-size: 11px; }
  .recruitment-panel, .community-card { padding: 22px; }
  .community-card p:not(.eyebrow) { font-size: 14px; }
  .community-card p br { display: none; }
  .join-banner { grid-template-columns: 1fr; justify-items: center; padding: 28px; text-align: center; }
  .join-mascot { width: 80px; height: 80px !important; }
  .join-banner .button-row { grid-column: auto; flex-direction: column; }
  .footer-inner { justify-content: center; text-align: center; }
  .site-footer nav { justify-content: center; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .subpage { padding: 24px 20px 48px; }
  .breadcrumb { gap: 8px; margin-bottom: 20px; font-size: 13px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p:not(.eyebrow) { font-size: 15px; }
  .news-archive { gap: 14px; }
  .news-article { padding: 22px 20px; }
  .news-article h2 { font-size: 22px; line-height: 1.6; }
  .news-article p { font-size: 15px; line-height: 1.9; }
  .command-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .command-row { gap: 10px; padding: 18px 16px; }
  .command-row p { font-size: 14px; line-height: 1.75; }
  .copy-command { min-width: 64px; padding-inline: 10px; }
  .faq-list details { padding-inline: 20px; }
  .faq-list summary, .faq-list details p { font-size: 15px; }
}
@media (max-width: 359px) {
  .site-nav a { padding-inline: 8px; font-size: 10px; }
  .hero .hero-title { font-size: 30px; }
  .hero-description { font-size: 14px; }
  .hero-actions .button { width: 100%; padding-inline: 18px; }
  .portal-links { grid-template-columns: 1fr; }
  .portal-link { flex-direction: row; align-items: center; text-align: left; }
  .join-banner { padding-inline: 18px; }
  .join-banner h2 { font-size: 20px; }
  .game-link { gap: 12px; padding-inline: 16px; }
  .command-row { padding-inline: 12px; }
  .command-row code { font-size: 16px; }
  .copy-command { min-width: 60px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-body *, .site-body *::before, .site-body *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .site-body a:hover { transform: none; }
  .floating-leaf { display: none; }
}
