.gathering-app,.gathering-app *{box-sizing:border-box}.gathering-app{--ink:#183e43;--teal:#17645e;--gold:#b98325;max-width:1120px;margin:auto;color:var(--ink);font:15px/1.45 system-ui,sans-serif}.gathering-app [hidden]{display:none!important}.gathering-app :is(button,input,select,textarea){font:inherit;color:inherit;border:1px solid #a9bcb5;border-radius:10px;background:#fffcf4;min-height:44px;min-width:44px;padding:9px 12px;max-width:100%}.gathering-app button{cursor:pointer;touch-action:manipulation}.gathering-app button:hover:not(:disabled){background:#e5eee8}.gathering-app button:disabled{opacity:.48;cursor:default}.gathering-app :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #197d80;outline-offset:2px}.gathering-app .gathering-primary{background:var(--teal);border-color:var(--teal);color:#fff9e9;font-weight:750}.gathering-app .gathering-primary:hover:not(:disabled){background:#124e4a}.gathering-heading{display:flex;align-items:center;gap:10px;padding-block:6px 12px}.gathering-heading h1{margin:0;font-size:clamp(24px,4vw,34px);letter-spacing:-.03em}.gathering-entry{max-width:620px;padding:clamp(16px,4vw,30px);border:1px solid #bdc8b8;background:#f5f0e2;border-radius:20px;margin:16px auto}.gathering-entry>p{margin-top:0;font-size:17px}.gathering-entry-form{display:grid;gap:13px}.gathering-entry-switch{display:flex;gap:7px;margin-bottom:14px}.gathering-entry-switch button{flex:1}.gathering-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin-bottom:8px}.gathering-field>span{font-size:13px;font-weight:650}.gathering-field :is(input,select,textarea){width:100%;min-width:0}.gathering-field textarea{resize:vertical;min-height:72px}.gathering-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.gathering-actions>button{flex:0 1 auto}.gathering-room{display:grid;gap:12px}.gathering-summary{padding:14px 17px;border:1px solid #9cb5a8;border-radius:15px;background:linear-gradient(120deg,#e4eee4,#f6efdd)}.gathering-summary h2{font-size:19px;margin:0 0 4px}.gathering-summary>strong{font-size:16px}.gathering-summary p{margin:5px 0 0;font-size:13px;max-width:75ch}.gathering-champion{font-size:22px;color:#875b18;margin:8px 0 0}.gathering-members h3{margin:0 0 6px;font-size:13px}.gathering-member-list{display:flex;flex-wrap:wrap;gap:6px}.gathering-member-list button{font-size:13px;padding:8px 11px;border-radius:24px;background:#eaf0e8;overflow-wrap:anywhere}.gathering-member-list button small{display:block;font-size:11px}.gathering-members>small{display:block;margin-top:5px;font-size:11px;color:#516e6a}.gathering-host-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gathering-host-controls:empty{display:none}.gathering-host-controls small{font-size:12px}.gathering-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;border-bottom:1px solid #becdc2;padding-bottom:8px}.gathering-tabs button{font-size:13px;padding-inline:7px;min-width:0}.gathering-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff8e7;font-weight:750}.gathering-panel{min-width:0}.gathering-help{font-size:12px;color:#526c66;margin:7px 0 11px}.gathering-round{margin-bottom:12px;border:1px solid #c8d1c3;border-radius:13px;background:#faf7ee;padding:10px}.gathering-round.is-current{border-color:#438b7d;box-shadow:inset 0 0 0 1px #438b7d}.gathering-round>h3{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 9px;font-size:16px}.gathering-round>h3 small{font-size:11px;font-weight:500;border:1px solid #a9c0ac;border-radius:20px;padding:3px 8px;background:#e1edde}.gathering-match{position:relative;background:#fffdf6;border-top:1px solid #d7ded1;padding:10px 3px}.gathering-match h4{font-size:15px;margin:0 0 4px;overflow-wrap:anywhere}.gathering-match>p{font-size:13px;margin:5px 0;overflow-wrap:anywhere}.gathering-match>small{font-size:11px}.gathering-match-status{display:inline-block;font-size:11px;border-radius:5px;background:#e9eee4;padding:3px 6px;margin-inline-end:8px}.gathering-match-score{font-size:22px;white-space:nowrap}.gathering-match .gathering-actions{margin-top:8px;gap:6px}.gathering-match .gathering-actions button{font-size:12px;padding-inline:9px}.gathering-app details{font-size:12px}.gathering-app summary{min-height:44px;padding:12px 5px;cursor:pointer}.gathering-app details>p{padding-inline:6px;overflow-wrap:anywhere}.gathering-editor:not(:empty){border:2px solid #4e8d7d;border-radius:13px;background:#eff4e8;padding:13px;margin-bottom:12px}.gathering-editor h3,.gathering-config h3{font-size:17px;margin:0 0 10px}.gathering-editor form>button,.gathering-editor>button,.gathering-confirm>button{margin-inline-end:7px;margin-top:6px}.gathering-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gathering-config{padding:13px;background:#f5f1e7;border:1px solid #c2ccba;border-radius:13px;margin-top:12px}.gathering-config>.gathering-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gathering-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gathering-config>small{display:block;font-size:12px;margin-bottom:12px}.gathering-team-editor>p{margin-bottom:9px}.gathering-team-row{border:1px solid #c7d0bf;background:#fffaf0;border-radius:11px;padding:10px;margin-bottom:8px}.gathering-team-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:7px}.gathering-member-choice{display:flex;align-items:center;gap:6px;min-height:44px;font-size:13px;cursor:pointer;min-width:0}.gathering-member-choice input{width:20px;height:20px;min-width:20px;min-height:20px;margin:5px;accent-color:var(--teal);flex:0 0 20px}.gathering-member-choice span{overflow-wrap:anywhere}.gathering-rule-preview{padding:10px 0 0;border-top:1px solid #d2d8c9;margin-top:12px}.gathering-rule-preview h3{font-size:14px}.gathering-rule-preview p,.gathering-panel[data-panel=settings]>div>p{font-size:13px;margin:5px 0}.gathering-panel[data-panel=settings] h3{margin-block:5px}.gathering-panel[data-panel=settings] ul{font-size:13px;padding-inline-start:22px}.gathering-standings{border-collapse:collapse;width:100%;font-size:14px;background:#fbf9ef;border:1px solid #c5d0c1;border-radius:12px}.gathering-standings th,.gathering-standings td{padding:11px 8px;text-align:start;border-bottom:1px solid #d6ddcf;overflow-wrap:anywhere}.gathering-standings thead{font-size:11px;background:#e6eddf}.gathering-standings td:nth-child(3){font-weight:800;font-size:19px;color:#12605a}.gathering-private-record{border:1px solid #c6c5b2;background:#fbf6e9;border-radius:13px;padding:12px;margin:10px 0}.gathering-private-record h3{font-size:15px;margin:0 0 5px}.gathering-private-record>strong{font-size:23px}.gathering-private-record>p{font-size:13px;margin:5px 0}.gathering-private-record .gathering-actions{margin-top:8px}.gathering-private-record .gathering-actions button{font-size:12px}.gathering-warning{font-size:12px;color:#8b4727}.gathering-warning:empty{display:none}.gathering-invite{border-top:1px solid #d1d6c9}.gathering-invite>input{display:block;width:100%;font-size:12px;margin-bottom:8px}.gathering-connection{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.gathering-connection>small{font-size:11px}.gathering-connection>button{font-size:12px;padding-inline:9px}.gathering-notice{min-height:1.4em;font-size:13px;color:#7b4725;margin:10px 0}.gathering-app [dir=auto]{unicode-bidi:plaintext}
@media(min-width:900px){.gathering-room{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);column-gap:18px}.gathering-room>:not(.gathering-panel){grid-column:1/-1}.gathering-panel[data-panel=schedule]{grid-column:1}.gathering-panel[data-panel=standings]{grid-column:2}.gathering-panel[data-panel=ledger],.gathering-panel[data-panel=settings]{grid-column:1/-1}.gathering-panel[data-panel=standings]{align-self:start;position:sticky;top:10px}}
@media(max-width:560px){.gathering-app{font-size:14px}.gathering-heading{padding-block:3px 9px}.gathering-heading h1{font-size:25px}.gathering-entry{margin:6px 0;padding:16px}.gathering-room{gap:9px}.gathering-summary{padding:10px 12px}.gathering-summary p{font-size:12px}.gathering-member-list{gap:5px}.gathering-member-list button{font-size:12px;padding:7px 10px}.gathering-tabs button{font-size:12px;padding-inline:4px}.gathering-form-grid,.gathering-config>.gathering-form-grid{grid-template-columns:1fr}.gathering-rules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-round{padding:8px}.gathering-match .gathering-actions button{flex:1 1 125px}.gathering-standings th,.gathering-standings td{padding:10px 6px}.gathering-team-choices{grid-template-columns:1fr}.gathering-entry .gathering-actions>button{flex:1}.gathering-editor:not(:empty){padding:10px}}
@media(prefers-reduced-motion:reduce){.gathering-app *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.gathering-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.gathering-panel[data-panel=plan]{grid-column:1/-1}.gathering-config>.gathering-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-plan-settings{padding:14px;background:#f5f1e7;border:1px solid #c0cdbb;border-radius:13px;margin-bottom:12px}.gathering-plan-settings>button{margin-inline-end:7px;margin-top:5px}.gathering-plan-settings h3{font-size:17px;margin:0 0 10px}.gathering-plan-current{background:#e9f1e2;border:2px solid #548f79;border-radius:15px;padding:16px;margin-bottom:12px}.gathering-plan-current h3{font-size:21px;line-height:1.25;margin:4px 0 8px}.gathering-plan-current>small{font-size:12px}.gathering-plan-current>p{margin:8px 0}.gathering-plan-script{border-inline-start:4px solid #b48c42;background:#fffbef;border-radius:6px;margin:12px 0;padding:11px 13px;white-space:pre-wrap;line-height:1.65}.gathering-plan-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.gathering-plan-actions>.gathering-primary{min-width:150px;font-size:17px;min-height:48px}.gathering-plan-game-links{display:flex;gap:7px;flex-wrap:wrap;margin-block:9px}.gathering-plan-game-links>a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #90afa0;border-radius:9px;padding:9px 12px;color:#135c57;background:#fffaf0;text-decoration:none;font-weight:650}.gathering-plan-document{background:#fffdf5;border:1px solid #cad1bf;border-radius:13px;padding:13px}.gathering-plan-document>h2{font-size:20px;margin:5px 0 9px}.gathering-plan-document h3{font-size:16px;margin:12px 0 6px}.gathering-plan-document p,.gathering-plan-document li{font-size:14px;line-height:1.65}.gathering-plan-document ul{padding-inline-start:22px}.gathering-plan-timeline{padding-inline-start:24px}.gathering-plan-timeline>li{padding:8px 0;border-bottom:1px solid #e0e4d5}.gathering-plan-timeline>li>strong{display:block}.gathering-plan-timeline>li>small{font-size:12px}.gathering-plan-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-block:9px}.gathering-online-result{border-inline-start:3px solid #4c8b79;padding:5px 9px;font-size:12px;background:#eef3e5}.gathering-online-controls{display:flex;gap:7px;flex-wrap:wrap;margin-block:8px}.gathering-plan-warning:empty{display:none}
@media(max-width:560px){.gathering-tabs{gap:3px}.gathering-tabs button{font-size:11px;padding-inline:3px;line-height:1.2;overflow-wrap:anywhere}.gathering-config>.gathering-form-grid{grid-template-columns:1fr}.gathering-plan-current{padding:12px}.gathering-plan-current h3{font-size:19px}.gathering-plan-settings{padding:11px}.gathering-plan-settings .gathering-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gathering-plan-actions>button{flex:1}.gathering-plan-game-links>a{font-size:13px}}
@media print{.gathering-app>.gathering-heading,.gathering-app>.gathering-entry,.gathering-room>.gathering-summary,.gathering-room>.gathering-members,.gathering-room>.gathering-host-controls,.gathering-room>.gathering-tabs,.gathering-room>.gathering-invite,.gathering-room>.gathering-connection,.gathering-notice,.gathering-plan-settings,.gathering-plan-toolbar,.gathering-plan-actions,.gathering-panel:not([data-panel=plan]){display:none!important}.gathering-app [data-panel=plan]{display:block!important}.gathering-room{display:block}.gathering-plan-document{border:0;padding:0}.gathering-plan-current{break-inside:avoid;border:1px solid #777}.gathering-plan-document details{display:block}.gathering-plan-document details>*{display:block!important}.gathering-plan-game-links>a{color:#000;text-decoration:underline}}
.gathering-plan-editor{margin-bottom:10px}.gathering-plan-editor>summary{font-size:13px;font-weight:650;background:#f2f0e5;border:1px solid #c4cdbb;border-radius:10px;padding:12px 13px}.gathering-plan-editor[open]>summary{margin-bottom:8px}
@media print{.gathering-plan-editor{display:none!important}}
.gathering-app .gathering-tabs button[aria-selected=true]:hover:not(:disabled){background:var(--ink);color:#fff8e7}
