/* Broad blue-gray fields with compact, game-specific invitation cards. */
.bg-page.ws-page{--bg-muted:#ced6dc;--bg-rule:#ccd9e23b;background:#303d4b;color:#fbf7ed;padding:28px 0 36px}
.bg-page>.ws-wrap{width:min(1120px,calc(100% - 80px))}
.bg-page .bg-page-intro{display:flex;align-items:center;gap:20px;margin-bottom:18px}
.bg-page .bg-page-intro .ws-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.12em;color:#dccda9}
.bg-page-intro .ws-eyebrow img{object-fit:contain}
.bg-page .bg-page-intro .ws-heading{font-family:inherit;font-size:30px;line-height:1.3;margin:5px 0 6px;letter-spacing:.01em}
.bg-page .bg-page-intro .ws-lead{font-size:13px;line-height:1.5;color:var(--bg-muted);margin:0}
.bg-page .bg-create-button{width:auto;min-height:44px;padding:9px 13px;font-size:13px;gap:8px;border-radius:2px;background:#dfc798;color:#283746;flex:none}
.bg-page .bg-invitation{min-height:82px;border-radius:0;padding:15px 20px;gap:20px;background:#23313e;border-top:2px solid #baa77c;border-bottom:1px solid var(--bg-rule);overflow:hidden}
.bg-page .bg-invitation-line{display:none}
.bg-page .bg-invitation p{font-family:inherit;font-size:13px;line-height:1.5;min-width:0}
.bg-page .bg-invitation strong{font-family:inherit;font-size:20px;line-height:1.4;font-weight:500}
.bg-page .bg-invitation-note{display:block;font-size:9px;line-height:1.6;color:#c4d1d7;align-self:center}
.bg-page .bg-art-stack{width:150px;min-height:58px}
.bg-page .bg-art-card{width:42px;height:58px;font-size:23px;border-radius:2px;box-shadow:none;top:-5px}
.bg-page .bg-art-card-back{left:32px;transform:rotate(-12deg);background:#364957}
.bg-page .bg-art-card-front{left:65px;transform:rotate(12deg);background:#dfc798;color:#304334}
.bg-page .bg-art-card:before{inset:5px}
.bg-page .bg-list-heading{margin:22px 0 12px!important;align-items:flex-end;gap:12px}
.bg-page .bg-list-heading .ws-eyebrow{font-size:9px;letter-spacing:.12em;color:#cfdae0;margin:0 0 4px}
.bg-page .bg-list-heading h2{display:flex;align-items:center;gap:7px;font-family:inherit;font-size:20px;line-height:1.4;margin:0}
.bg-page .bg-list-heading>p{font-size:12px;line-height:1.5;color:var(--bg-muted);margin:0}
.bg-page .bg-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bg-page .bg-game-card{display:flex;flex-direction:column;border:1px solid #c6cfcf;border-radius:2px;background:#f6f5ee;color:#26332f;box-shadow:none;transition:border-color .2s,transform .2s}
.bg-page .bg-game-card:hover{transform:translateY(-2px);border-color:#d9c495;box-shadow:none}
.bg-page .bg-game-card .bg-cover{height:56px;min-height:56px;padding:8px 12px;align-items:flex-start;justify-content:center}
.bg-page .bg-cover strong{writing-mode:horizontal-tb;font-family:inherit;font-size:22px;font-weight:500;letter-spacing:.04em;margin-top:0;line-height:1.3}
.bg-page .bg-cover-kicker{display:none;font-size:8px;top:8px;left:14px;line-height:1.4}
.bg-page .bg-cover-sub{display:none;font-size:10px;margin-top:3px;line-height:1.5}
.bg-page .bg-cover-catan:before{content:"";position:absolute;inset:0;background:#0006;z-index:1;pointer-events:none}
.bg-page .bg-cover-number{font-family:inherit;font-size:28px;right:12px;bottom:0}
.bg-page .bg-game-content{display:flex;flex:1;flex-direction:column;padding:10px}
.bg-page .bg-card-tags{flex-direction:row;align-items:center;gap:5px 8px}
.bg-page .bg-card-tags .ws-badge{font-size:10px;line-height:1.5;padding:3px 5px;background:#e3e9dd;color:#4a6047}
.bg-page .bg-venue-state{font-size:10px;line-height:1.5;color:#4e6655}
.bg-page .bg-venue-pending{color:#7b6038}
.bg-page .bg-game-content h3{font-size:16px;font-weight:600;line-height:1.45;margin:6px 0 7px;overflow-wrap:anywhere}
.bg-page .bg-facts{gap:3px;margin:0 0 8px}
.bg-page .bg-facts>div{grid-template-columns:27px minmax(0,1fr);gap:7px;font-size:12px;line-height:1.5}
.bg-page .bg-facts dt{color:#5e6a5d}
.bg-page .bg-facts dd{color:#394b3e}
.bg-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d7ddce;padding-top:6px;margin-top:auto}
.bg-page .bg-game-capacity{flex:1;min-width:0;margin:0}
.bg-page .bg-capacity-track{max-width:126px;height:3px;margin-bottom:5px;background:#dce2d5}
.bg-page .bg-capacity-track span{background:#647f59}
.bg-page .bg-game-capacity>span{font-size:11px;line-height:1.5;color:#56654f;gap:2px}
.bg-page .bg-game-capacity b{font-family:inherit;font-size:18px;font-weight:600;line-height:1.2;color:#31533a}
.bg-page .bg-game-capacity em{font-size:10px;line-height:1.5;margin-left:8px;white-space:nowrap}
.bg-page .bg-detail-button{width:auto;flex:none;font-size:12px;min-height:44px;padding:8px 10px;gap:8px;border-radius:2px;justify-content:center}
.bg-page .bg-how-to{grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:24px;margin-top:22px;padding:20px;background:#dce2e3;color:#2f3e47;border-top:0}
.bg-page .bg-how-intro .ws-eyebrow{font-size:9px;letter-spacing:.12em;color:#53646b}
.bg-page .bg-how-intro h2{font-family:inherit;font-size:20px;line-height:1.4;font-weight:600;margin:6px 0 8px}
.bg-page .bg-how-intro>p:last-child{font-size:12px;line-height:1.6;color:#52656d}
.bg-page .bg-how-steps{gap:16px}
.bg-page .bg-how-steps li{gap:10px;min-width:0}
.bg-page .bg-how-steps li>span{font-family:inherit;font-size:15px;font-weight:500;color:#6c653d;padding-top:1px;line-height:1.5}
.bg-page .bg-how-steps h3{font-size:13px;line-height:1.5;font-weight:600;margin:0 0 4px}
.bg-page .bg-how-steps p{font-size:12px;line-height:1.6;color:#52656d}
.bg-page .bg-bottom-note{background:#23313e;border-radius:0;padding:14px 20px;gap:16px;border-top:1px solid var(--bg-rule)}
.bg-page .bg-bottom-note p{font-size:12px;line-height:1.7;color:#e6e9e7}
.bg-page .bg-bottom-note strong{font-size:13px;font-weight:500}
.bg-page .bg-bottom-note .ws-muted{font-size:12px;color:#c8d4d9}
.bg-page .bg-bottom-note .ws-button{font-size:12px;min-height:44px;padding:8px 12px;border-radius:2px;background:transparent;color:#f0e6cb;border-color:#b7c1be7d}
.ws-dialog:has([data-create-form],[data-game-join]) .ws-dialog-body{padding:20px 24px}
.ws-dialog:has([data-create-form],[data-game-join]) h2{font-family:inherit;font-size:23px;line-height:1.4;margin-bottom:10px}
.ws-dialog:has([data-create-form],[data-game-join]) .ws-eyebrow{font-size:10px;margin:0 0 5px}
.ws-dialog:has([data-create-form],[data-game-join]) p{font-size:13px;line-height:1.6;margin-bottom:12px;color:#596752}
.ws-dialog:has([data-create-form]) .ws-stepper{margin:12px 0 16px}
.ws-dialog [data-create-form]{gap:12px}
.ws-dialog [data-create-form] .ws-field,.ws-dialog:has([data-game-join]) .ws-field{font-size:13px;gap:6px}
.ws-dialog [data-create-form] input,.ws-dialog [data-create-form] select,.ws-dialog:has([data-game-join]) select{font-size:16px;min-height:44px;padding:9px 11px}
.ws-dialog [data-create-form] textarea{font-size:16px;min-height:76px;padding:9px 11px}
.ws-dialog [data-create-form] .ws-grid2{gap:12px}
.ws-dialog [data-create-form] .ws-note{font-size:12px;margin:0;line-height:1.6}
.ws-dialog [data-create-form] .ws-panel{padding:14px}
.ws-dialog [data-create-form] .ws-panel h3{font-size:16px;line-height:1.5}
.ws-dialog [data-create-form] .ws-panel p{overflow-wrap:anywhere}
.ws-dialog [data-create-form] .ws-modal-note{font-size:11px;line-height:1.5}
.ws-dialog [data-create-form] .ws-dialog-actions{position:sticky;bottom:0;z-index:1;background:var(--ws-paper);margin:0 -24px -20px;padding:12px 24px;border-top:1px solid #d7d7c9}
.ws-dialog [data-create-form] .ws-dialog-actions .ws-button,.ws-dialog:has([data-game-join]) .ws-dialog-actions .ws-button{min-height:44px;font-size:13px;padding:8px 14px;white-space:nowrap}
.bg-description-presets{display:flex;flex-wrap:wrap;gap:6px}
.bg-description-presets button{font-size:12px;line-height:1.5;min-height:44px;padding:7px 10px;border:1px solid #adbaa6;border-radius:3px;background:#eef0e6;color:#3b5741;transition:background .2s,border-color .2s}
.bg-description-presets button:hover{background:#dce6d4;border-color:#839978}
.ws-dialog [data-create-form] .bg-description-hint{font-size:11px;line-height:1.5;color:#596752;margin:-6px 0 0}
.ws-dialog:has([data-create-form]){width:min(720px,calc(100% - 24px))}
.ws-dialog [data-create-form] .bg-create-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ws-dialog [data-create-form] .ws-field{min-width:0}
.ws-dialog [data-create-form] input,.ws-dialog [data-create-form] select{max-width:100%;min-width:0;width:100%}
.bg-fish-control{display:grid;grid-template-columns:max-content 46px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-block:1px solid var(--ws-line);font-size:14px}
.ws-dialog [data-create-form] .bg-fish-control input{appearance:none;width:46px;min-height:26px;height:26px;border:0;border-radius:20px;padding:3px;background:#c9cec6;cursor:pointer}
.bg-fish-control input:before{content:"";display:block;width:20px;height:20px;border-radius:50%;background:var(--ws-white);transition:transform .18s}
.ws-dialog [data-create-form] .bg-fish-control input:checked{background:var(--ws-green)}
.bg-fish-control input:checked:before{transform:translateX(20px)}
.bg-fish-control small{font-size:12px;line-height:1.5;color:var(--ws-muted)}
.bg-fish-track{display:none}
.bg-create-tags{margin:0;padding:0;border:0;min-width:0}
.bg-create-tags legend{padding:0;margin-bottom:7px;font-size:13px;font-weight:600}
.bg-create-tags>div{display:flex;flex-wrap:wrap;gap:7px}
.bg-create-tags label{position:relative;cursor:pointer}
.ws-dialog [data-create-form] .bg-create-tags input{position:absolute;opacity:0;width:1px;min-height:1px;height:1px}
.bg-create-tags span{display:flex;align-items:center;min-height:44px;padding:6px 11px;border:1px solid #adbaa6;border-radius:3px;font-size:13px;color:#3b5741}
.bg-create-tags input:checked+span{background:var(--ws-green);color:var(--ws-white);border-color:var(--ws-green)}
.bg-create-tags input:focus-visible+span{outline:2px solid var(--ws-gold);outline-offset:3px}
@media(max-width:1000px){.bg-page .bg-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bg-page .bg-how-to{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:20px}}
@media(max-width:900px){.bg-page>.ws-wrap{width:calc(100% - 48px)}.bg-page .bg-card-tags{flex-wrap:wrap}.bg-page .bg-invitation-note{display:none}}
@media(max-width:650px){
 .bg-page.ws-page{padding:22px 0 30px}
 .bg-page>.ws-wrap{width:calc(100% - 32px)}
 .bg-page .bg-page-intro{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:16px}
 .bg-page .bg-page-intro .ws-heading{font-size:26px}
 .bg-page .bg-page-intro .ws-lead{font-size:13px;line-height:1.6}
 .bg-page .bg-create-button{width:auto;align-self:flex-start;font-size:12px;padding:8px 12px}
 .bg-page .bg-invitation{min-height:76px;padding:12px 14px;gap:14px}
 .bg-page .bg-invitation p{font-size:12px;line-height:1.5}
 .bg-page .bg-invitation strong{font-size:18px;line-height:1.5}
 .bg-page .bg-art-stack{width:90px;min-height:52px}
 .bg-page .bg-art-card{width:35px;height:49px;font-size:20px;top:0}
 .bg-page .bg-art-card-back{left:10px;top:0}
 .bg-page .bg-art-card-front{left:37px;top:0}
 .bg-page .bg-list-heading{margin:18px 0 10px!important}
 .bg-page .bg-list-heading h2{font-size:19px}
 .bg-page .bg-list-heading>p{font-size:11px}
 .bg-page .bg-game-grid{grid-template-columns:1fr;gap:10px}
 .bg-page .bg-game-card{display:grid;grid-template-columns:52px minmax(0,1fr);}
 .bg-page .bg-game-card .bg-cover{height:100%;min-height:0;padding:10px 6px;align-items:center;justify-content:center}
 .bg-page .bg-game-card .bg-cover strong{writing-mode:vertical-rl;font-size:21px;line-height:1.3;letter-spacing:.1em;margin:0}
 .bg-page .bg-game-card .bg-cover-kicker,.bg-page .bg-game-card .bg-cover-sub{display:none}
 .bg-page .bg-game-card .bg-cover-number{font-size:26px;right:6px}
 .bg-page .bg-game-card .bg-cover-shape{opacity:.4}
 .bg-page .bg-game-card .bg-game-content{padding:8px}
 .bg-page .bg-game-card .bg-card-tags{gap:4px 6px;align-items:center;flex-direction:row}
 .bg-page .bg-game-card .bg-card-tags .ws-badge,.bg-page .bg-game-card .bg-venue-state{font-size:10px;line-height:1.4}
 .bg-page .bg-game-card .bg-game-content h3{font-size:15px;line-height:1.45;margin:6px 0}
 .bg-page .bg-game-card .bg-facts{gap:3px;margin-bottom:7px}
 .bg-page .bg-game-card .bg-facts>div{font-size:12px;line-height:1.5;grid-template-columns:25px minmax(0,1fr);gap:5px}
 .bg-page .bg-card-footer{gap:8px;padding-top:5px}
 .bg-page .bg-game-capacity>span{flex-wrap:wrap;line-height:1.4;font-size:10px}
 .bg-page .bg-game-capacity b{font-size:17px}
 .bg-page .bg-game-capacity em{margin-left:4px;flex-basis:auto;font-size:10px}
 .bg-page .bg-detail-button{font-size:12px;padding:7px 9px;gap:6px}
 .bg-page .bg-how-to{grid-template-columns:1fr;gap:16px;margin-top:18px;padding:16px 14px}
 .bg-page .bg-how-intro h2{font-size:18px;line-height:1.4;margin:5px 0 6px}
 .bg-page .bg-how-intro h2 br{display:none}
 .bg-page .bg-how-intro>p:last-child br{display:none}
 .bg-page .bg-how-steps{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .bg-page .bg-how-steps li{gap:8px}
 .bg-page .bg-how-steps h3{font-size:12px}
 .bg-page .bg-how-steps p{font-size:11px;line-height:1.6}
 .bg-page .bg-bottom-note{align-items:stretch;flex-direction:column;gap:10px;padding:14px}
 .bg-page .bg-bottom-note .ws-button{align-self:flex-start}
 .ws-dialog:has([data-create-form],[data-game-join]) .ws-dialog-body{padding:16px 18px calc(16px + env(safe-area-inset-bottom))}
 .ws-dialog [data-create-form] .ws-grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ws-dialog [data-create-form] .ws-dialog-actions{margin:0 -18px calc(-16px - env(safe-area-inset-bottom));padding:10px 18px calc(10px + env(safe-area-inset-bottom))}
 .bg-description-presets button{font-size:12px;padding:7px 9px}
}
@media(max-width:380px){.bg-page .bg-game-card{grid-template-columns:48px minmax(0,1fr)}.bg-page .bg-game-card .bg-cover strong{font-size:19px}.bg-page .bg-how-steps{grid-template-columns:1fr;gap:12px}.ws-dialog [data-create-form] .ws-grid2:has(input[type=date]){grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.bg-page .bg-game-card,.bg-description-presets button{transition:none;transform:none}}
.bg-live-cover{background:var(--ws-paper);min-height:180px;display:grid;place-items:center;padding:20px}.bg-live-image{width:100%;height:200px;object-fit:contain}.bg-letter-cover{display:grid;place-items:center;width:100%;min-height:160px;padding:20px;background:#e5ebe4;color:var(--ws-green);font-family:"Songti SC",serif;font-size:26px}.bg-live-image-small{width:56px;height:64px;min-height:0;padding:4px;font-size:12px;object-fit:contain;flex-shrink:0}.bg-catalog{padding:18px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-white)}.bg-catalog-result{display:flex;width:100%;align-items:center;gap:14px;text-align:left;border-bottom:1px solid var(--ws-line);padding:12px 0;min-height:80px}.bg-catalog-result>span:nth-child(2){flex:1}.bg-catalog-result small,.bg-detail-games a{display:block;font-size:12px;color:var(--ws-muted)}.bg-selected-games,.bg-detail-games{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.bg-selected-games>div,.bg-detail-games>div{display:flex;align-items:center;gap:10px;min-width:0;padding:8px;border:1px solid var(--ws-line);border-radius:4px}.bg-applicants>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ws-line);padding:14px 0}.bg-applicants>div>span:last-child{display:flex;gap:8px;flex-wrap:wrap}.bg-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.bg-mine{margin-top:40px}.bg-mine h2{font-size:26px;margin-bottom:10px}.bg-mine-list article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--ws-line)}.bg-mine-list p{color:var(--ws-muted);font-size:14px}.bg-catalog-result:focus-visible{outline:3px solid #b1823e}.bg-game-content h3,.bg-selected-games span{overflow-wrap:anywhere}@media(max-width:600px){.bg-applicants>div{align-items:flex-start;flex-direction:column}.bg-selected-games>div{width:100%}.bg-mine-list article{align-items:flex-start}.bg-mine-list article>div{min-width:0;overflow-wrap:anywhere}.bg-detail-games>div{width:100%}}

@media(max-width:600px){.bg-page .bg-game-card.bg-live-card{grid-template-columns:84px minmax(0,1fr)}.bg-live-cover{min-height:100px;padding:8px}.bg-live-cover .bg-live-image{height:100px}.bg-live-cover .bg-letter-cover{min-height:100px;padding:4px;font-size:18px}}
.bg-home-game{text-align:left;width:100%}.bg-home-game .hm-game-art{display:grid;place-items:center;background:var(--ws-paper);padding:16px}.bg-home-game .bg-live-image{position:static;width:100%;height:150px;object-fit:contain}
.bg-game-chooser{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.ws-dialog [data-create-form] .bg-create-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bg-date-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:11px 13px;border:1px solid #bfc6b9;border-radius:4px;background:var(--ws-white);font-size:16px;text-align:left;width:100%}.bg-calendar{grid-column:1/-1;width:min(100%,400px);padding:16px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-white)}.bg-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.bg-calendar-head .ws-button{min-width:44px;min-height:44px;padding:6px;font-size:24px}.bg-calendar-week,.bg-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.bg-calendar-week span{text-align:center;font-size:13px;color:var(--ws-muted);padding:6px 0}.bg-calendar-grid button{min-width:0;min-height:44px;border-radius:4px;font-size:16px}.bg-calendar-grid button[aria-pressed=true]{background:var(--ws-green);color:var(--ws-white)}.bg-calendar-grid button:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--ws-green)}.bg-calendar-grid button:disabled{opacity:.3}.bg-calendar>[data-calendar-close]{margin-top:12px}.ws-account-loading{display:flex;gap:12px;align-items:center;width:78px}.ws-account-loading i{width:38px;height:38px;border-radius:50%;background:#dcc09240}.pf-loading{display:grid;gap:18px;padding:20px 0}.pf-loading span{display:block;height:22px;width:min(100%,520px);background:#dddcd2;border-radius:4px}.pf-loading span:first-child{height:44px;width:180px}.pf-loading span:last-child{width:min(70%,360px)}@media(max-width:480px){.bg-calendar{padding:8px}.bg-calendar-grid{gap:2px}.bg-calendar-grid button{min-height:44px}.bg-date-choice{padding:10px 8px;font-size:15px}.ws-dialog [data-create-form] .bg-create-dates{gap:12px}}
