@import url('../v16/style.css');
/* A calm opening: summary, records, one complete setup area, then play. */
#welcome{display:block;width:min(760px,calc(100vw - 28px));padding:22px 26px;text-align:left;border-radius:26px;background:#fffaf0;max-height:calc(100dvh - 28px)}
#welcome:not([open]){display:none}
#welcome .welcome-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px}
#welcome .eyebrow{font-size:9px;letter-spacing:2px;margin:0 0 5px;color:#6b7f66}
#welcome #welcome-title{font-size:28px;line-height:1.3;margin:0;text-align:left}
#welcome #welcome-mode-copy{font-size:14px;line-height:1.5;margin:7px 0 0;font-weight:600;color:#4b6958}
#welcome #welcome-art{height:70px;flex:none;gap:6px;grid-column:auto;grid-row:auto}
#welcome #welcome-art svg{width:54px}
#welcome .section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
#welcome .section-heading h3{font-size:14px;margin:0;font-weight:750}
#welcome .section-heading>span{font-size:11px;color:#5a705e}
#welcome .welcome-records{background:#edf1e5;border:1px solid #d3ddc9;border-radius:16px;padding:12px 14px;margin-bottom:14px}
#welcome #solo-records{margin:0}
#welcome .record-cards{gap:8px;margin:0}
#welcome .record-cards>div{background:#fffaf0b8;border-radius:10px;font-size:11px;padding:6px}
#welcome .record-cards strong{font-size:23px;margin-top:1px;line-height:1.2}
.record-caption{font-size:11px;line-height:1.4;color:#5a705e;margin:7px 0 0;text-align:center}
#welcome .welcome-settings{border:1px solid #d0dac7;border-radius:16px;padding:14px;background:#ffffff55}
#welcome label:not(.check){font-size:12px;gap:4px;line-height:1.4}
#welcome select,#welcome .team-setup input{min-height:42px;font-size:14px;border-radius:10px;padding:8px 10px;background:#f2f4e9;box-shadow:none}
#welcome .mode-choice{margin:0 0 10px;text-align:left}
#welcome .team-setup{gap:5px 12px;margin:0 0 10px}
#welcome #team-name-guide{font-size:10px!important;margin:0;line-height:1.4}
#welcome .setup{gap:10px 12px;margin:0}
#welcome label.solo-only{display:none}
body:is([data-play-mode=solo],[data-play-mode=sequence]) #welcome label.solo-only{display:grid}
body:is([data-play-mode=solo],[data-play-mode=sequence]) #welcome .team-setup{grid-template-columns:1fr}
#welcome #setup-details{margin:10px 0;color:#4e6756;font-size:12px;line-height:1.6}
#welcome #setup-details summary{cursor:pointer;padding:5px 2px;font-size:12px;min-height:30px}
#welcome #setup-details p{font-size:12px;margin:8px 0}
#welcome .welcome-launch{text-align:center}
#welcome #welcome-error:empty,#welcome #welcome-audio:empty{display:none}
#welcome #welcome-audio{font-size:11px;margin:5px 0;color:#5d735f}
#welcome #start{min-height:48px;font-size:17px;border-radius:13px}
#welcome .lobby-link{font-size:12px;margin:7px auto 0;min-height:26px;padding:3px}
#welcome #record-rule{display:block}
@media(max-width:650px){
 #welcome{padding:17px;width:calc(100vw - 22px);border-radius:22px;max-height:calc(100dvh - 22px)}
 #welcome .welcome-heading{gap:8px;padding-bottom:12px}
 #welcome #welcome-title{font-size:23px}
 #welcome #welcome-mode-copy{font-size:12px}
 #welcome #welcome-art{height:56px;gap:0}
 #welcome #welcome-art svg{width:42px}
 #welcome .section-heading>span{font-size:10px}
 #welcome .welcome-records{padding:10px;margin-bottom:10px}
 #welcome .welcome-settings{padding:12px}
 #welcome select,#welcome .team-setup input{font-size:13px;min-height:42px;padding:7px}
 #welcome .setup{gap:9px 10px}
 #welcome .section-heading{margin-bottom:9px}
 #welcome #start{font-size:16px}
}
@media(max-height:470px) and (orientation:landscape){#welcome{max-height:calc(100dvh - 20px);padding:16px 22px}#welcome .welcome-heading{padding-bottom:10px}#welcome #welcome-art{height:50px}#welcome #welcome-title{font-size:24px}}
#welcome .identity-settings{margin-bottom:10px}
#welcome .identity-settings .team-setup{margin-bottom:0}
@media(min-width:651px){body:is([data-play-mode=solo],[data-play-mode=sequence]) #welcome .identity-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}body:is([data-play-mode=solo],[data-play-mode=sequence]) #welcome .identity-settings .mode-choice{margin:0}}
@media(min-width:651px) and (max-height:800px){#welcome{padding:18px 24px}#welcome .welcome-heading{padding-bottom:10px}#welcome .welcome-records{margin-bottom:10px}}
#welcome select,#welcome .team-setup input{min-height:44px}

.answers button{touch-action:none}
