:root {
  --ink: #25383e;
  --ink-soft: #60777f;
  --accent: #147f91;
  --accent-soft: #e7f5f7;
  --line: #dce8eb;
  --bg: #f9fcfd;
  --radius: 8px;
}
html { scroll-padding-top: 140px; }
body { letter-spacing: 0; }
h1, h2, h3 { letter-spacing: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 99; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.nav { background: rgba(255,255,255,.97); }
.site-contact { background: #eaf7f9; border-bottom: 1px solid var(--line); }
.contact-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; min-height: 36px; padding: 3px 0; font-size: 13px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 30px; color: #17697b; white-space: nowrap; }
.contact-links .contact-bili { color: #b24170; }
.contact-links strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.nav-in { height: 76px; gap: 24px; }
.brand { flex-shrink: 0; font-size: 17px; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand > span { display: grid; line-height: 1.5; }
.brand small { font-size: 11px; color: var(--accent); }
.nav-links { margin: 0 0 0 auto; gap: 20px; align-self: stretch; align-items: center; }
.nav-links a { display: flex; align-items: center; height: 100%; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 3px 0 0; background: transparent; }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom-color: #ef7c9e; }
.nav .admin-entry { position: static; transform: none; flex: 0 0 auto; font-size: 12px; background: none; border: 0; padding: 8px 0 8px 4px; }
.page-main { min-height: 60vh; padding-top: 28px; padding-bottom: 40px; }
.page-main > .block:first-child { margin-top: 0; padding-top: 6px; }
.page-title, .page-main > .block > h1 { font-size: 30px; line-height: 1.4; margin-bottom: 8px; }
.page-main .block { border-radius: 0; box-shadow: none; background: none; }
.page-main .foot-block { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.page-main .foot-h { font-size: 22px; }
.page-main .claim-fold { border: 0; padding: 0; }
.page-main .claim-fold summary { display: none; }
.page-main .claim-list { padding-left: 24px; }
.btn { border-radius: 8px; }
.home-main { padding: 0; }
.home-notice:has(.seal-notice[hidden]) { display: none; }
.home-notice .seal-notice { margin: 16px 0; border-radius: 8px; }
.home-hero {
  position: relative; min-height: 500px; overflow: hidden; isolation: isolate;
  background: #68b9fa;
  text-align: left; border-bottom: 1px solid var(--line);
}
.home-cover { position: absolute; top: 0; bottom: 0; right: 4%; aspect-ratio: 1448 / 1086; z-index: 0; mask-image: linear-gradient(to right,transparent,#000 10%,#000 94%,transparent); display: block; border: 0; padding: 0; border-radius: 0; background: none; cursor: pointer; }
.home-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .9s ease; }
.home-cover img.is-active { opacity: 1; }
.home-cover-controls { display: flex; align-items: center; gap: 8px; margin-top: 16px; text-shadow: none; }
.home-cover-tabs { display: flex; border-bottom: 1px solid #16485e40; background: #ffffffd9; }
.home-cover-tabs button, .cover-pause { min-height: 38px; border: 0; border-radius: 0; background: transparent; padding: 5px 9px; color: #315563; font: inherit; font-size: 12px; cursor: pointer; }
.home-cover-tabs button { border-bottom: 3px solid transparent; }
.home-cover-tabs button[aria-selected="true"] { border-bottom-color: #186c88; color: #16485e; font-weight: 700; }
.cover-pause { background: #ffffffd9; min-width: 36px; font-weight: 700; }
.home-cover-controls button:focus-visible { outline: 2px solid #176c88; outline-offset: 2px; }
.home-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 24px 0; border-bottom: 1px solid var(--line); text-align: center; }
.home-stat { min-width: 0; padding: 0 12px; }
.home-stat + .home-stat { border-left: 1px solid var(--line); }
.home-stat > span { font-size: 14px; color: var(--ink-soft); }
.home-stat p { margin: 5px 0; display: flex; align-items: baseline; justify-content: center; gap: 5px; }
.home-stat b { font-size: 28px; line-height: 1.3; color: #176882; font-variant-numeric: tabular-nums; }
.home-stat p span, .home-stat small { font-size: 12px; color: var(--ink-soft); }
.home-stat small { display: block; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .home-cover img { transition: none; } }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; z-index: 1; pointer-events: none; background: linear-gradient(transparent,rgba(255,255,255,.96)); }
.home-hero-inner { position: relative; z-index: 2; pointer-events: none; min-height: inherit; padding: 32px 0 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.home-title, .home-hero .hero-actions { pointer-events: auto; }
.home-cover:focus-visible { outline: 3px solid #176c88; outline-offset: -4px; }
.home-title { max-width: 340px; text-shadow: 0 2px 0 white, 0 0 18px white; }
.home-title .eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #22677d; }
.home-title h1 { font-size: 48px; color: #16485e; margin: 0; }
.home-title .tagline { font-size: 16px; color: #254f60; margin: 12px 0 0; font-weight: 600; }
.hero-bottom { width: 100%; text-align: center; }
.home-hero .hero-actions { justify-content: center; margin: 0; }
.home-hero .btn { min-width: 170px; box-shadow: 0 4px 16px #31556420; }
.home-hero .play-total { margin: 0 0 12px; padding: 5px 14px; border-radius: 6px; background: #fffffff0; }
.home-hero .play-total b { font-size: 24px; }
.home-hero .play-total { flex-wrap: wrap; justify-content: center; max-width: 100%; row-gap: 2px; }
.play-total-note { flex-basis: 100%; font-size: 12px; color: var(--ink-soft); }
.home-hint { padding: 0 20px; }
.home-hint .play-hint { justify-content: center; margin: 12px auto 0; font-size: 12px; }
.home-routes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 28px 0; border-bottom: 1px solid var(--line); }
.home-routes a { display: flex; align-items: center; gap: 14px; padding: 4px 24px; border-right: 1px solid var(--line); color: var(--ink); }
.home-routes a:first-child { padding-left: 0; }
.home-routes a:last-child { border-right: 0; }
.home-routes img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.home-routes strong { display: block; font-size: 18px; }
.home-routes small { color: var(--ink-soft); font-size: 13px; }
.home-routes .route-arrow { margin-left: auto; color: var(--accent); font-size: 23px; }
.home-section { padding: 30px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 23px; }
.section-heading > a { font-size: 14px; white-space: nowrap; }
.home-bottom { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 48px; }
.home-news-list { margin: 0; padding: 0; list-style: none; }
.home-news-list li { border-bottom: 1px solid var(--line); padding: 15px 0; }
.home-news-list a { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; color: var(--ink); }
.home-news-list strong { color: var(--accent); font-size: 15px; }
.home-news-list time { color: var(--ink-soft); font-size: 12px; }
.home-news-list p { grid-column: 1/-1; margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.achievement-preview .achievement-summary { gap: 14px; grid-template-columns: 1fr 1fr; padding: 0 0 14px; margin-bottom: 0; }
.achievement-preview .achievement-summary dd { font-size: 27px; }
.achievement-preview .achievement-summary div:last-child { display: none; }
.achievement-preview .achievement-row { grid-template-columns: minmax(0,1fr) 70px; gap: 10px; padding: 12px 0; }
.achievement-preview .achievement-identity p { display: none; }
.achievement-preview .achievement-rate progress, .achievement-preview .achievement-rate span, .achievement-preview .achievement-category { display: none; }
.achievement-preview .achievement-identity strong { font-size: 14px; }
.achievement-preview .achievement-identity img, .achievement-preview .achievement-star { width: 34px; height: 34px; flex-basis: 34px; }
.site-footer { background: #f0f7f8; padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: var(--ink); font-weight: 700; font-size: 15px; }
.footer-inner p { font-size: 12px; margin-top: 6px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1000px) {
  .nav-in { gap: 14px; }
  .nav-links { gap: 14px; }
  .brand { font-size: 15px; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 164px; }
  .nav-in { height: auto; flex-wrap: wrap; padding: 10px 0 0; row-gap: 6px; }
  .nav .brand { order: 0; }
  .nav .admin-entry { order: 1; margin-left: auto; }
  .nav-links { order: 2; flex: 0 0 100%; max-width: 100%; margin: 0; overflow-x: auto; gap: 22px; white-space: nowrap; scrollbar-width: thin; }
  .nav-links a { height: 44px; flex-shrink: 0; font-size: 14px; }
  .home-hero { min-height: 500px; }
  .home-title h1 { font-size: 42px; }
  .home-routes a { padding: 4px 12px; gap: 8px; }
  .home-routes img { width: 48px; height: 48px; }
  .home-routes strong { font-size: 16px; }
  .home-bottom { gap: 28px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 186px; }
  .wrap { width: calc(100% - 32px); }
  .contact-links { font-size: 12px; gap: 0 10px; }
  .contact-name { display: none; }
  .nav-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 8px; overflow: visible; padding-bottom: 0; }
  .nav-links a { height: 36px; justify-content: center; font-size: 13px; }
  .home-hero { min-height: 460px; text-align: center; }
  .home-cover { top: auto; bottom: 0; right: auto; left: 50%; height: 380px; transform: translateX(-50%); mask-image: none; }
  .home-hero-inner { padding: 20px 0 18px; align-items: center; }
  .home-title h1 { font-size: 36px; }
  .home-title .tagline { font-size: 14px; max-width: 300px; margin: 10px auto 0; }
  .home-cover-controls { justify-content: center; margin-top: 12px; }
  .home-cover-tabs button { padding: 5px 7px; }
  .home-stat { padding: 0 5px; }
  .home-stat > span { font-size: 13px; }
  .home-stat b { font-size: 23px; }
  .home-stat small { font-size: 11px; }
  .home-hero .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 15px; }
  .home-hero .hero-actions { gap: 10px; }
  .home-routes { padding: 18px 0; }
  .home-routes a { padding: 0 8px; gap: 3px; flex-direction: column; text-align: center; }
  .home-routes a:first-child { padding-left: 8px; }
  .home-routes strong { font-size: 15px; }
  .home-routes small { font-size: 11px; }
  .home-routes img { width: 48px; height: 48px; }
  .home-routes .route-arrow { display: none; }
  .home-bottom { grid-template-columns: 1fr; gap: 0; }
  .home-section { padding: 25px 0; }
  .home-news { border-top: 1px solid var(--line); }
  .page-main { padding-top: 22px; }
  .page-title, .page-main > .block > h1 { font-size: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 12px; }
}
