:root { color-scheme: light; font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; color: #17363d; background: #f3f8f8; font-size: 18px; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; z-index: 3; background: white; padding: .5rem; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem max(1.2rem, calc((100vw - 1120px) / 2)); background: #dceef1; font-weight: 700; }
a { color: #204d59; }
main { max-width: 1120px; margin: 0 auto; padding: 2rem 1.2rem 4rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 1.35rem; line-height: 1.4; }
h3 { font-size: 1.08rem; margin: 1.2rem 0 .6rem; }
.overline, .label { color: #315d66; font-size: .9rem; font-weight: 700; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: 65vh; }
.lead { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; line-height: 1.5; }
.intro-art { text-align: center; color: #315d66; font-weight: 700; }
.intro-art svg { width: 100%; max-width: 480px; display: block; margin: auto; }
fieldset { margin: 1.6rem 0; border: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: .5rem; }
label { display: block; min-height: 44px; padding: .4rem 0; }
input { width: 1.2rem; height: 1.2rem; accent-color: #245961; vertical-align: middle; }
button { font: inherit; color: #17363d; background: #fff; border: 2px solid #6d8b90; border-radius: .6rem; min-height: 48px; padding: .55rem 1rem; cursor: pointer; text-align: left; }
button:hover:not(:disabled) { background: #e7f2f3; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex='-1']:focus-visible { outline: 3px solid #a64e18; outline-offset: 3px; }
button:disabled { cursor: default; color: #38575d; background: #edf3f2; border-color: #9eb3b5; }
button[aria-pressed='true'] { border-color: #1c626b; background: #d8eceb; font-weight: 700; }
button.primary { background: #245961; border-color: #245961; color: white; font-weight: 700; }
button.primary:hover { background: #173e44; }
.heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.request { border-left: 6px solid #508e96; background: #e4f1f2; padding: 1.1rem 1.4rem; margin-bottom: 1rem; }
.request p:last-child, .panel p:last-child { margin-bottom: 0; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel { background: white; border: 1px solid #b8ced0; border-radius: .8rem; padding: 1.4rem; margin-bottom: 1rem; }
.received { background: #f9fcfb; }
.choices { display: flex; flex-wrap: wrap; gap: .65rem; }
.choices button { flex: 1 1 12rem; }
ul { padding-left: 1.4rem; }
.location { border-top: 1px solid #bbd0d0; padding-top: .8rem; font-weight: 700; }
.arrival { background: #dceee9; border-radius: .8rem; padding: 1.1rem; margin-bottom: 1rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
#status { min-height: 1.8em; padding: .5rem 0; font-weight: 700; }
.result { max-width: 680px; margin-top: 3rem; }
footer { padding: 1.5rem; text-align: center; font-size: .9rem; color: #315d66; }
dialog { border: 1px solid #72979b; border-radius: .8rem; padding: 2rem; max-width: min(90vw, 480px); color: #17363d; }
dialog::backdrop { background: rgb(18 42 46 / 65%); }
@media (max-width: 700px) { .intro, .columns { grid-template-columns: 1fr; gap: 1rem; } .intro-art { grid-row: 1; } .intro-art svg { max-height: 200px; } .heading { align-items: start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 판 선택 화면 목록 링크 */
#hub-link, #hub { color: #174f74; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; }
#hub-link[hidden], #hub[hidden] { display: none; }
