:root { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172340; background: #f0f4ff; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; padding: 28px 16px; }
.container { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 32px; box-shadow: 0 10px 40px #17305d12; }
header { padding-bottom: 12px; }
.eyebrow { color: #536586; font-size: .875rem; font-weight: 650; }
h1 { font-size: clamp(1.55rem, 5vw, 2rem); line-height: 1.2; margin: 10px 0 14px; letter-spacing: -.04em; }
h1 span { font-size: 1.5rem; }
h2 { margin: 0 0 8px; font-size: 1.2rem; overflow-wrap: anywhere; }
p { margin: 6px 0 14px; }
section { border-top: 1px solid #e2e8f3; margin-top: 24px; padding-top: 24px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input { width: 100%; border: 1px solid #b8c6df; border-radius: 9px; padding: 11px 12px; font: inherit; min-width: 0; background: #fff; color: inherit; }
input[readonly] { background: #f5f7fc; }
button { font: inherit; font-weight: 650; border: 0; border-radius: 9px; padding: 11px 16px; cursor: pointer; margin-top: 12px; }
button:hover:not(:disabled) { filter: brightness(.94); }
button:disabled { cursor: not-allowed; opacity: .48; }
:focus-visible { outline: 3px solid #527cf0; outline-offset: 3px; }
.primary, .start { background: #2554cf; color: #fff; width: 100%; }
.start { background: #18704c; }
.secondary { background: #eaf0ff; color: #21479e; }
.danger { background: #fff0ed; color: #a52f1b; }
.text-button { background: transparent; color: #2554cf; padding: 6px 0; }
.small-note, footer { font-size: .875rem; color: #59667c; }
.share-row { display: flex; align-items: stretch; gap: 8px; }
.share-row button { margin: 0; flex-shrink: 0; }
.group-heading { margin-top: 12px; }
.group-heading h2 { font-size: 1.6rem; margin-top: 4px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.badge { white-space: nowrap; padding: 4px 10px; border-radius: 20px; background: #eaf0ff; color: #21479e; font-size: .875rem; font-weight: 650; }
ul { list-style: none; padding: 0; margin: 12px 0; }
#playerList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
#playerList li { padding: 9px 12px; background: #f3f6fc; border-radius: 8px; overflow-wrap: anywhere; }
#playerList li.me { background: #eaf0ff; font-weight: 650; }
.membership { margin-top: 20px; font-weight: 650; }
.confirmation { background: #eef4ff; border: 1px solid #bdcfee; padding: 16px; margin-top: 20px; border-radius: 10px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.confirm-actions button { margin-top: 0; }
#targetBox { padding: 24px 16px; margin-top: 14px; border: 1px solid #bdcfee; border-radius: 12px; background: #eef4ff; text-align: center; font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
#error:not(:empty), #notice:not(:empty) { padding: 12px; border-radius: 9px; margin: 14px 0; }
#error { color: #a42424; background: #fff0f0; }
#notice { color: #175d40; background: #eaf7f0; }
.saved-list button { width: 100%; text-align: left; margin-top: 6px; overflow-wrap: anywhere; }
footer { border-top: 1px solid #e2e8f3; margin-top: 28px; padding-top: 18px; text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 460px) { body { padding: 12px; } .container { padding: 24px 18px; } .share-row { flex-direction: column; } #playerList { grid-template-columns: 1fr; } }
