/* Member/scoring-device landing page; administrator dashboard stays independent. */
#setupScreen.player-home{width:100%;max-width:1180px;margin:auto}
#setupScreen.player-home .dashboard-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 16px;padding:0 0 14px}
#setupScreen.player-home .dashboard-brand{flex:1 1 210px;min-width:0}
#setupScreen.player-home .dashboard-brand .dartiq-wordmark{width:230px;max-width:100%;max-height:64px}
#setupScreen.player-home .dashboard-heading a,#setupScreen.player-home .dashboard-heading button{width:auto;min-height:40px;padding:8px 12px;font-size:12px;margin:0;border:1px solid #5d7c8a;border-radius:10px;background:#1a242c;color:#cceef9;text-decoration:none}
#setupScreen.player-home>.home-board-setting{display:flex;flex-wrap:wrap;gap:7px 16px;align-items:center;padding:13px 16px;margin:0 0 18px;background:linear-gradient(110deg,#124053,#18252e);border:1px solid #4896b0;border-left:5px solid #59d4fa;border-radius:15px}
#setupScreen.player-home>.home-board-setting label{display:flex;flex:1 1 100%;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4}
#setupScreen.player-home>.home-board-setting select{width:55%;max-width:450px;min-width:0;min-height:44px;padding:9px 12px;font-size:14px;background:#131d24;border-color:#6195a6}
#setupScreen.player-home>.home-board-setting small{flex:1 1 100%;font-size:11px;line-height:1.5;color:#b7d7e2}
.player-home-content{display:grid;gap:16px}
#setupScreen.player-home .player-home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;margin:0;padding:0;float:none}
#setupScreen.player-home .player-home-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:10px;min-width:0;min-height:240px;padding:28px;text-align:left;border:1px solid #3687a0;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#00aeef2b,transparent 80%),#152a35;color:#f4faff;box-shadow:0 9px 24px #0002;white-space:normal;cursor:pointer}
#setupScreen.player-home .player-overview-tile{background:radial-gradient(ellipse at 100% 0,#45c7ed20,transparent 80%),#1b2731;border-color:#416c80}
.player-tile-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:auto;color:#54d4ff}
.player-tile-top svg{width:44px;height:44px}
.player-tile-arrow{font:400 28px/1 system-ui}
.player-tile-title{font:750 clamp(23px,2.6vw,32px)/1.15 system-ui,sans-serif;letter-spacing:-.6px}
#setupScreen.player-home .player-home-tile small{display:block;font:400 13px/1.5 system-ui;color:#a9c4d2}
#setupScreen.player-home .player-home-tile:hover{border-color:#76ddff;background-color:#1b3947}
#setupScreen.player-home .player-home-tile[aria-expanded=true]{border-color:#5bd7ff;box-shadow:0 0 0 2px #00aeef35}
#setupScreen.player-home .player-home-tile:focus-visible{outline:3px solid #79ddff;outline-offset:4px}
#setupScreen.player-home .player-home-panel{padding:20px;border:1px solid #3b6173;border-radius:18px;background:#171f27;min-width:0}
#setupScreen.player-home .player-home-panel[hidden]{display:none!important}
.player-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
#setupScreen.player-home .player-panel-heading h3{font-size:20px;margin:0;line-height:1.3}
.player-panel-heading button{flex:none;min-height:40px;font-size:12px;color:#bee8f6}
#setupScreen.player-home .dashboard-match{border:0;background:transparent;padding:0;margin:14px 0 0;box-shadow:none}
#setupScreen.player-home .dashboard-match>.dashboard-section-title,#setupScreen.player-home .dashboard-match>h3{display:none}
#setupScreen.player-home .home-game-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
#setupScreen.player-home .home-game-modes a,#setupScreen.player-home .home-game-modes button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border:1px solid #416d81;border-radius:11px;background:#1c2c36;color:#d9f2fb;text-decoration:none;font-size:14px;font-weight:650}
#setupScreen.player-home .home-game-modes .selected{background:#075777;border-color:#00aeef;color:white}
#setupScreen.player-home .player-overview-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;float:none}
#setupScreen.player-home .player-overview-links .dashboard-tile{display:flex;min-height:88px;margin:0;padding:14px;border-radius:12px;font-size:14px;min-width:0}
#setupScreen.player-home .player-overview-links .dashboard-tile[hidden]{display:none!important}
#setupScreen.player-home .player-overview-links .dashboard-tile small{font-size:11px;line-height:1.45}
#setupScreen.player-home .player-home-panel .app-utilities{margin-top:18px;flex-wrap:wrap;gap:8px;justify-content:flex-start}
#setupScreen.player-home .player-home-panel .share-all-boards{margin-top:16px;min-height:44px}
#setupScreen.player-home .setup{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#setupScreen.player-home .setup .field{font-size:12px;gap:6px}
#setupScreen.player-home .setup .field input,#setupScreen.player-home .setup .field select{min-height:46px;padding:10px;font-size:16px}
#setupScreen.player-home .setup .player-select button{min-height:46px;font-size:12px}
#setupScreen.player-home .setup .start-game{min-height:50px;font-size:16px}
#setupScreen.player-home #resumeGame{min-height:44px;font-size:13px;margin-bottom:12px}
@media(max-width:640px){
 #setupScreen.player-home .dashboard-brand{flex-basis:100%;display:flex;justify-content:center}
 #setupScreen.player-home .dashboard-brand .dartiq-wordmark{width:210px;max-height:58px}
 #setupScreen.player-home .dashboard-heading{justify-content:center;gap:7px;margin-bottom:12px;padding-bottom:12px}
 #setupScreen.player-home .dashboard-heading a,#setupScreen.player-home .dashboard-heading button{min-height:36px;padding:7px 9px;font-size:11px}
 #setupScreen.player-home>.home-board-setting{padding:11px 12px;margin-bottom:14px;gap:7px}
 #setupScreen.player-home>.home-board-setting label{flex-direction:column;align-items:stretch;gap:7px;font-size:12px}
 #setupScreen.player-home>.home-board-setting select{width:100%;max-width:none;min-height:44px;font-size:14px}
 #setupScreen.player-home>.home-board-setting small{font-size:10px}
 #setupScreen.player-home .player-home-tiles{grid-template-columns:1fr;gap:12px}
 #setupScreen.player-home .player-home-tile{min-height:174px;padding:20px;gap:7px;border-radius:18px}
 .player-tile-top svg{width:32px;height:32px}.player-tile-arrow{font-size:24px}.player-tile-title{font-size:24px;letter-spacing:-.4px}
 #setupScreen.player-home .player-home-tile small{font-size:12px}
 #setupScreen.player-home .player-overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 #setupScreen.player-home .player-overview-links .dashboard-tile{padding:11px;font-size:12px;min-height:84px;gap:7px}
 #setupScreen.player-home .player-home-panel{padding:14px}
 #setupScreen.player-home .player-panel-heading h3{font-size:17px}
 #setupScreen.player-home .setup .member-player-field{grid-column:1/-1}
 #setupScreen.player-home .home-game-modes a,#setupScreen.player-home .home-game-modes button{font-size:12px}
}
@media(min-width:641px) and (max-height:700px){
 #setupScreen.player-home .player-home-tile{min-height:190px;padding:22px}
 #setupScreen.player-home .dashboard-brand .dartiq-wordmark{width:200px;max-height:52px}
 #setupScreen.player-home>.home-board-setting{margin-bottom:12px;padding:9px 14px}
 #setupScreen.player-home>.home-board-setting label{flex:1 1 65%}
 #setupScreen.player-home>.home-board-setting small{flex:1 1 25%;font-size:10px}
}

/* Three equal main destinations, one row on wide tablets. */
#setupScreen.player-home a.player-home-tile{text-decoration:none;box-sizing:border-box}
#setupScreen.player-home .player-challenges-tile{background:radial-gradient(ellipse at 100% 0,#00aeef35,transparent 80%),#142d38;border-color:#39849d}
@media(min-width:960px){#setupScreen.player-home .player-home-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#setupScreen.player-home .player-home-tile{padding:24px;min-height:240px}.player-tile-title{font-size:clamp(23px,2.3vw,30px)}}
@media(min-width:641px) and (max-width:959px){#setupScreen.player-home .player-challenges-tile{grid-column:1/-1;min-height:180px}}

/* Open a destination in place: never place it below the three tall landing tiles. */
body.player-home-expanded #setupScreen.player-home .player-home-tiles{display:none!important}
body.player-home-expanded #setupScreen.player-home>.home-board-setting{display:none!important}
body.player-home-expanded #setupScreen.player-home .player-home-content{display:block;min-height:0}
body.player-home-expanded #setupScreen.player-home .player-home-panel:not([hidden]){display:block!important;margin:0}
body.player-home-expanded{height:auto!important;min-height:100dvh;overflow:auto!important}
body.player-home-expanded main.app{height:auto!important;max-height:none!important;min-height:100dvh!important;overflow:visible!important}
