:root { --bg: #071c39; --panel: rgba(9, 28, 46, .94); --line: rgba(77, 163, 255, .42); --text: #eef8ff; --muted: #b8dcff; --accent: #4da3ff; --highlight: #dff3ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); font-family: Tahoma, 'Leelawadee UI', sans-serif; background: linear-gradient(180deg, rgba(7, 28, 57, .82), rgba(3, 9, 17, .96)), url('bg-mobile-fast.webp') center top / cover fixed, var(--bg); }
main { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--highlight); font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--highlight); text-decoration: none; }
.site-nav a[aria-current="page"] { background: rgba(77, 163, 255, .18); border-color: var(--accent); font-weight: 700; }
.card { margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 12px 28px rgba(0, 0, 0, .36); }
h1, h2 { color: var(--highlight); line-height: 1.35; }
h1 { margin: 14px 0; font-size: clamp(27px, 7vw, 40px); }
h2 { margin-top: 30px; font-size: 22px; }
p, li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.card { overflow-wrap: anywhere; }
.updated { margin-top: 0; font-size: 13px; }
.promo-reference { margin: 24px 0; }
.promo-reference img { display: block; width: min(100%, 400px); height: auto; margin: 0 auto; border-radius: 12px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.65; }
li + li { margin-top: 8px; }
a { color: var(--accent); }
.notice { padding: 14px; border-left: 3px solid var(--accent); background: rgba(77, 163, 255, .09); border-radius: 8px; }
.back { display: inline-block; margin-top: 24px; font-weight: 700; }
@media (min-width: 768px) { body { background-image: linear-gradient(180deg, rgba(7, 28, 57, .82), rgba(3, 9, 17, .96)), url('bg-desktop.webp'); } }

a:focus-visible { outline: 3px solid var(--highlight); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 2; padding: 12px; color: #fff; background: var(--bg); }
.skip-link:focus { top: 12px; }
.credit-hub :is(h2, h3) { scroll-margin-top: 24px; }
.credit-hub h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.5; color: var(--highlight); }
.contents { margin: 24px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.contents h2 { margin: 0 0 8px; font-size: 18px; }
.contents ul { margin: 0; padding-left: 22px; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; }
.term-list dt { margin-top: 18px; font-weight: 700; line-height: 1.65; }
.term-list dd { margin: 6px 0 0; color: var(--muted); line-height: 1.75; }
.notice > p:first-child { margin-top: 0; }
.notice > p:last-child { margin-bottom: 0; }
.related-guides { list-style: none; padding: 0; }
.related-guides li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.related-guides a { display: inline-block; font-weight: 700; line-height: 1.75; }
.related-guides p { margin: 8px 0 0; }
@media (max-width: 480px) {
  main { width: calc(100% - 24px); padding-top: 20px; }
  .card { padding: 18px 16px; }
  .site-nav a { flex: 1 1 auto; padding-inline: 12px; }
  h2 { font-size: 20px; }
  ul { padding-left: 22px; }
}
.register-link { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: #031629; font-weight: 700; text-decoration: none; }

