/* FuruFuru Tech header and footer for /app/ and /game/. Exported from the top site by scripts/export_chrome.py.
   Everything is scoped to .site-header, .site-footer and .skip so it does not touch the app styles.
   The colour variables are set on these elements only, because the app uses the same variable names. */
.site-header, .site-footer, .skip { color-scheme: light; --bg: #faf9f7; --surface: #f2f1ee; --panel: #ffffff; --ink: #172032; --muted: #5f6a7e; --line: #e0e3e9; --field: #7b8493; --accent: #c54c08; --accent-hover: #a83d04; --accent-soft: #fff0e5; --button-ink: #ffffff; --app-bg: #fcf0e7; --app-ink: #c54c08; --game-bg: #eeedf8; --game-ink: #55429a; --convert-bg: #eaf3eb; --convert-ink: #267346; --blue-bg: #e9f2ff; --blue-ink: #316cb0; --red-bg: #fff0ed; --red-ink: #c24132; --radius: 10px; --max: 1240px; }
.site-header, .site-footer { font-family: "Yu Gothic", YuGothic, Meiryo, "Segoe UI", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.85; letter-spacing: normal; text-align: left; color: var(--ink); -webkit-font-smoothing: antialiased; }
.site-header *, .site-footer * { box-sizing: border-box; }
.site-header a, .site-footer a, .skip { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-header a:hover, .site-footer a:hover { color: var(--accent); }
.site-header a:focus-visible, .site-footer a:focus-visible, .skip:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.site-header img, .site-footer img { display: block; max-width: 100%; height: auto; }
.site-footer p { margin: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header a, .site-footer a { transition: color .16s; }
}
.site-header .wrap, .site-footer .wrap { width: min(var(--max), calc(100% - 72px)); margin-inline: auto; }
.site-header .sr-only, .site-footer .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 { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--panel); z-index: 20; }
.skip:focus { top: 12px; }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.site-header .header-inner { min-height: 74px; display: flex; align-items: center; gap: 32px; }
.site-header .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.site-header .brand img { width: 43px; height: 43px; border-radius: 50%; }
.site-header .brand-name { font-family: "Segoe UI", sans-serif; font-size: 23px; font-weight: 750; letter-spacing: -.5px; }
.site-header .nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.site-header .nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.site-header .nav a[aria-current=page] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-header .header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-header .header-guide { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-footer { padding-block: 24px; border-top: 1px solid var(--line); background: var(--panel); }
.site-footer .footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.site-footer .footer-brand-block { display: flex; align-items: center; gap: 18px; }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: "Segoe UI", sans-serif; font-size: 17px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-footer .footer-brand img { width: 31px; height: 31px; border-radius: 50%; }
.site-footer .footer-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 11px; font-weight: 600; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.site-footer .footer-links a:hover { text-decoration: underline; }
.site-footer .copyright { flex-basis: 100%; margin: 0; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 10px; text-align: right; }
@media (max-width: 1199px) {
  .site-header .header-inner { gap: 24px; }
  .site-header .nav { gap: 21px; }
  .site-header .header-actions { gap: 5px; }
  .site-header .header-guide { font-size: 11px; }
  .site-footer .footer-brand-block { gap: 14px; }
  .site-footer .footer-note { max-width: 210px; }
}
@media (max-width: 1023px) {
  .site-header .wrap, .site-footer .wrap { width: calc(100% - 48px); }
  .site-header .header-inner { flex-wrap: wrap; gap: 0 22px; padding-top: 13px; }
  .site-header .brand { order: 0; }
  .site-header .header-actions { order: 1; }
  .site-header .nav { order: 2; width: 100%; justify-content: center; gap: 40px; padding-top: 5px; }
  .site-header .header-guide { font-size: 12px; }
  .site-footer .footer-main { justify-content: flex-start; }
  .site-footer .footer-brand-block { gap: 20px; }
  .site-footer .footer-note { max-width: none; }
  .site-footer .footer-links { justify-content: flex-start; }
  .site-footer .copyright { text-align: left; }
}
@media (max-width: 767px) {
  .site-header .wrap, .site-footer .wrap { width: calc(100% - 36px); }
  .site-header .header-inner { padding-top: 11px; }
  .site-header .brand img { width: 36px; height: 36px; }
  .site-header .brand-name { font-size: 20px; }
  .site-header .brand { gap: 9px; }
  .site-header .header-guide { display: none; }
  .site-header .header-actions { gap: 2px; }
  .site-header .nav { gap: 0; justify-content: space-between; font-size: 12px; padding-top: 5px; }
  .site-header .nav a { min-height: 45px; }
  .site-footer { padding-block: 24px; }
  .site-footer .footer-main { gap: 13px; }
  .site-footer .footer-brand-block { display: block; }
  .site-footer .footer-note { margin-top: 8px; }
  .site-footer .footer-links { gap: 4px 19px; font-size: 11px; }
  .site-footer .copyright { font-size: 10px; }
}
@media (max-width: 359px) {
  .site-header .brand-name { font-size: 18px; }
  .site-header .header-actions { gap: 0; }
  .site-header .nav { font-size: 11px; }
}
