:root { --help-blue: #176bd0; --help-cyan: #55dfd0; --help-panel: #0b1c2d; --help-border: #263f59; }
html { scroll-behavior: smooth; }
body { background: #03101f; font-family: system-ui, sans-serif; }
a, a:hover, a:focus, a:active { text-decoration: none; }
a { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
a:focus-visible { outline: 3px solid var(--help-cyan); outline-offset: 5px; }
.help-header, .help-footer { max-width: 1100px; margin-inline: auto; padding: 24px 32px; }
.help-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.help-header .brand { margin: 0; }
.help-header .brand img { width: 170px; }
.help-header nav, .breadcrumbs, .contents, .help-footer nav { border: 0; padding: 0; margin: 0; }
.help-header nav { gap: 8px; padding: 5px; background: #0d2035; border: 1px solid var(--help-border); border-radius: 18px; }
.help-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border-radius: 13px; font-weight: 700; color: #bad6f5; }
.help-header nav a:hover { background: #173552; }
.help-header nav a[aria-current="page"] { background: var(--help-blue); color: #fff; box-shadow: 0 3px 14px #0003; }
main { max-width: 960px; padding: 20px 32px 32px; overflow-wrap: break-word; }
.help-hero { padding: 22px 8px 8px; }
.breadcrumbs { align-items: center; gap: 12px; font-size: 1rem; margin-bottom: 28px; color: #93acc6; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 12px; background: #10263d; color: #bcdcff; }
.breadcrumbs a:hover { background: #193a57; }
h1 { max-width: 660px; font-size: clamp(2.15rem, 5.7vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.help-intro { max-width: 680px; font-size: 1.2rem; line-height: 1.65; color: #dce8f5; margin-block: 24px 16px; }
.updated { max-width: 680px; color: #94acc6; font-size: 1rem; line-height: 1.6; }
.contents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-block: 24px 36px; }
.contents a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 18px; border: 1px solid #315477; border-radius: 16px; background: #112b46; color: #e5f0ff; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.contents a::after { content: "↓"; color: #8cbbf0; font-size: 1.3rem; }
.contents a:hover { background: #1b4166; border-color: #5a94cd; }
main > section { margin-top: 24px; padding: 32px; border: 1px solid var(--help-border); border-radius: 24px; background: var(--help-panel); scroll-margin-top: 24px; }
main > section:first-of-type { border-color: #287b79; background: linear-gradient(130deg, #0b292f, #0b1c2d 70%); }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.95rem); line-height: 1.25; letter-spacing: -.025em; margin: 0 0 22px; }
h3 { font-size: 1.14rem; line-height: 1.4; margin: 28px 0 12px; color: #e5f0ff; }
p { max-width: 70ch; }
section > :last-child { margin-bottom: 0; }
ol { padding-left: 26px; }
ol li { margin-bottom: 18px; padding-left: 8px; }
ol li::marker { color: var(--help-cyan); font-weight: 700; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.terms div { padding: 18px; border-radius: 16px; background: #10263c; }
dt { font-size: 1.03rem; font-weight: 700; color: #a8cfff; margin-bottom: 7px; }
dd { margin: 0; font-size: 1rem; line-height: 1.6; color: #c6d5e6; }
section p a { display: inline-block; padding: 1px 9px; border-radius: 8px; background: #173c60; color: #cce5ff; font-weight: 600; }
section p a:hover { background: #235780; color: #fff; }
.contact { background: linear-gradient(130deg, #0d2c4e, #0b1c2d); }
.contact p:last-child a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 14px; background: var(--help-blue); color: #fff; }
.contact p:last-child a:hover { background: #1d74db; }
.help-footer { padding-bottom: 40px; }
.help-footer nav { gap: 8px; }
.help-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border-radius: 12px; background: #0c2035; color: #b5c9df; font-size: 1rem; }
.help-footer nav a:hover { background: #183953; color: #fff; }
.skip-link { position: absolute; top: 8px; left: 12px; transform: translateY(-200%); padding: 12px 20px; border-radius: 12px; background: var(--help-blue); color: #fff; z-index: 2; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 600px) {
  .help-header, .help-footer { padding: 18px; }
  .help-header { gap: 14px; }
  .help-header .brand img { width: 126px; }
  .help-header nav a { padding-inline: 15px; }
  main { padding: 12px 16px 24px; }
  .help-hero { padding: 12px 4px 4px; }
  .contents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .contents a { padding: 12px; min-height: 64px; font-size: 1rem; }
  main > section { padding: 24px 20px; border-radius: 20px; }
  .terms { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { .help-header { align-items: flex-start; } .contents { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a { transition: none; } }
/* Search enhances the complete, readable HTML page. */
[hidden] { display: none !important; }
.help-search { margin: 24px 0 12px; }
.help-search label { display: block; font-size: 1.14rem; font-weight: 700; margin-bottom: 10px; }
.search-controls { display: flex; gap: 10px; }
.help-search input { width: 100%; min-width: 0; min-height: 56px; padding: 14px 18px; border: 1px solid #416285; border-radius: 16px; background: #0b1c2d; color: #fff; font: inherit; }
.help-search input::placeholder { color: #9bb1c9; opacity: 1; }
.help-search button { border: 1px solid #315477; border-radius: 14px; padding: 12px 18px; background: #173c60; color: #fff; font: inherit; cursor: pointer; }
.help-search input:focus-visible, .help-search button:focus-visible { outline: 3px solid var(--help-cyan); outline-offset: 3px; }
#search-status { color: #aebed0; font-size: 1rem; }
.search-results { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0 28px; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: 18px; border: 1px solid #315477; border-radius: 16px; background: #112b46; }
.search-results a:hover { background: #1b4166; }
.search-results strong { display: block; color: #cce5ff; margin-bottom: 6px; }
.search-results span { display: block; color: #c6d5e6; font-size: 1rem; line-height: 1.6; }
h2[id], h3[id] { scroll-margin-top: 24px; }
h2:target, h3:target { color: var(--help-cyan); }
.help-screen { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: center; gap: 28px; margin: 28px 0 0; padding: 24px; background: #10263c; border-radius: 18px; }
.help-screen > a { display: block; border-radius: 16px; overflow: hidden; }
.help-screen img { display: block; width: 100%; height: auto; }
.help-screen figcaption { color: #c6d5e6; line-height: 1.6; }
.help-screen figcaption a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding: 8px 16px; border-radius: 12px; background: #173c60; color: #cce5ff; font-weight: 600; }
.help-screen figcaption a:hover { background: #235780; }
@media (max-width: 600px) {
  .help-screen { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .help-screen > a { width: min(100%, 230px); margin-inline: auto; }
  .help-screen figcaption { text-align: center; }
}
