.club-page *, .club-nav *, .club-footer * { box-sizing: border-box; }
[hidden] { display: none !important; }
.club-body { margin: 0; background: var(--bg-0); color: var(--text-1); }
.club-nav, .club-page, .club-footer { width: min(1120px, 100% - 48px); margin-inline: auto; }
.club-nav { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--border); }
.club-brand { margin-right: auto; font: 700 26px 'Outfit', sans-serif; color: var(--text-1); text-decoration: none; }
.club-nav a, .club-nav summary, .club-nav button { min-height: 44px; display: inline-flex; align-items: center; }
.club-nav details { position: relative; }
.club-nav summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.club-menu { position: absolute; top: 100%; right: 0; z-index: 3; width: 280px; padding: 16px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 30px #0002; }
.club-menu a { display: flex; padding: 4px 8px; }
.club-nav button { font: inherit; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; color: var(--text-1); cursor: pointer; }
.club-page { padding-block: 42px; min-height: 70vh; }
.club-page section { padding: 0; }
.club-hero { max-width: 780px; margin-bottom: 30px; }
.club-kicker { margin: 0 0 12px; color: var(--accent-text); font-weight: 650; }
.club-hero h1 { font: 700 clamp(34px, 5vw, 58px)/1.06 'Outfit', sans-serif; letter-spacing: -0.025em; margin: 0 0 20px; }
.club-hero .club-lede { font-size: 19px; line-height: 1.6; max-width: 720px; }
.club-page p { margin-block: 0 14px; }
.club-page h2, .club-page h3 { font-family: 'Outfit', sans-serif; }
.club-page h2 { font-size: 26px; line-height: 1.25; }
.club-fine { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.club-setup-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.club-how { border-top: 2px solid var(--accent); padding-top: 22px !important; }
.club-how h2 { margin: 0 0 18px; }
.club-how ol { padding-left: 22px; margin: 0 0 20px; }
.club-how li { padding-left: 6px; margin-bottom: 14px; line-height: 1.6; }
.club-how li::marker { font-weight: 700; color: var(--accent-text); }
.club-setup-controls { padding: 24px !important; align-self: start; border: 1px solid var(--border); background: var(--bg-2); border-radius: 16px; }
.club-setup-controls label { display: block; margin-bottom: 10px; font-weight: 650; }
.club-setup-controls select { width: 100%; max-width: 100%; padding: 12px; min-height: 48px; font: inherit; color: var(--text-1); background: var(--bg-0); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; }
.club-setup-controls .btn { display: flex; width: 100%; margin-block: 10px; white-space: normal; }
.club-page .btn { min-height: 46px; text-align: center; cursor: pointer; white-space: normal; }
.club-page .btn:hover, .club-page .btn:active { transform: none; }
.club-page button:disabled { opacity: .55; cursor: default; }
.club-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.club-toolbar p { margin: 0; }
.club-link-button { background: transparent; border: 1px solid var(--border); padding: 10px 14px; border-radius: 8px; font: inherit; color: var(--text-1); min-height: 44px; cursor: pointer; }
.club-session { display: grid; grid-template-columns: minmax(0, 1fr) 216px; gap: 28px; align-items: start; }
.club-session:has(#setup:not([hidden])), .club-session:has(#break:not([hidden])) { display: block; }
.club-session #setup { grid-column: 1 / -1; }
.club-timer { grid-column: 2; grid-row: 1; border-top: 3px solid var(--accent); padding-top: 16px !important; }
.club-timer #timer { display: block; font: 600 clamp(56px, 6vw, 80px)/1.2 'Outfit', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.03em; margin: 8px 0 14px; }
.club-timer button { width: 100%; margin-bottom: 10px; }
.club-timer #timer-status { font-size: 14px; line-height: 1.6; }
.club-round { grid-column: 1; grid-row: 1; }
.club-round h2 { font-size: clamp(26px, 3.2vw, 39px); margin: 12px 0 16px; letter-spacing: -.02em; scroll-margin-top: 24px; }
.club-round #scene { font-size: 19px; line-height: 1.6; max-width: 740px; }
.club-rounds { display: flex; gap: 8px; margin-bottom: 18px; }
.round-mark { flex: 1; height: 5px; border-radius: 2px; background: var(--border); }
.round-mark.complete { background: var(--text-2); }
.round-mark.current { background: var(--accent-text); }
.club-round h3 { font-size: 17px; margin: 20px 0 14px; }
.club-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.club-way { border-top: 1px solid var(--border); padding: 15px 0 !important; min-width: 0; }
.club-way h4 { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
.club-disc { display: inline-flex; width: 30px; height: 30px; flex: 0 0 30px; justify-content: center; align-items: center; border-radius: 8px; font: 700 18px 'Outfit', sans-serif; border: 1px solid currentColor; }
.club-way p { font-size: 17px; line-height: 1.6; margin: 0; }
.club-plan { margin-top: 14px; padding: 18px 22px !important; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; }
.club-plan h3 { margin: 0 0 8px; }
.club-plan #question { font-size: 18px; line-height: 1.5; }
.club-plan p:last-child { margin: 0; }
.club-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.club-actions > * { flex: 1 1 170px; }
.club-break { max-width: 880px; margin-inline: auto; padding: 28px !important; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; }
.club-break h2, .club-done h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 12px 0 20px; scroll-margin-top: 24px; }
.club-break-grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 30px; align-items: center; }
.club-break p, .club-done p { line-height: 1.65; }
.club-qr { display: block; width: 190px; height: 190px; max-width: 100%; margin-inline: auto; border: 8px solid white; border-radius: 8px; background: white; }
.club-url { display: block; font-size: 14px; overflow-wrap: anywhere; margin: 12px 0; text-underline-offset: 3px; }
.club-done { grid-column: 1; grid-row: 1; }
.club-footer { padding-block: 24px 40px; border-top: 1px solid var(--border); }
.club-footer p { font: 600 20px 'Outfit', sans-serif; }
.club-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.club-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.club-skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); padding: 12px; background: var(--bg-0); z-index: 9; }
.club-skip:focus { transform: none; }
.club-body :focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
.is-host .club-nav, .is-host .club-footer { display: none; }
.is-host .club-page { width: min(1500px, 100% - 64px); padding-top: 24px; }
.is-host .club-way p { font-size: clamp(18px, 2.1vw, 28px); }
.is-host .club-round #scene { font-size: clamp(20px, 2.3vw, 30px); max-width: none; }
@media (max-width: 700px) {
  .club-nav, .club-page, .club-footer, .is-host .club-page { width: calc(100% - 32px); }
  .club-nav { gap: 8px 16px; }
  .club-nav .club-character-link { order: 1; }
  .club-nav #theme { order: 2; }
  .club-page { padding-top: 28px; }
  .club-setup-grid, .club-session { grid-template-columns: 1fr; gap: 24px; }
  .club-setup-controls { order: -1; }
  .club-timer { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .club-timer #timer { grid-row: 2 / 4; align-self: center; margin: 0; font-size: 64px; }
  .club-timer .club-fine { grid-column: 1 / -1; }
  .club-timer #pause, .club-timer #reset { grid-column: 2; }
  .club-timer #timer-status { grid-column: 1 / -1; margin: 4px 0 0; }
  .club-round, .club-done { grid-row: 2; }
  .club-ways { grid-template-columns: 1fr; }
  .club-break { padding: 20px !important; }
  .club-break-grid { grid-template-columns: 1fr; gap: 10px; }
  .club-break-grid figure { margin: 0; text-align: center; }
  .club-menu { right: -10px; width: min(280px, calc(100vw - 40px)); }
}
