/* Portal visitors get a desktop leaderboard; phone and booth routes stay independent. */
@media(min-width:768px){
 body.portal-leaderboard-active{background:#f2f6f8}
 .portal-leaderboard-active .page{width:100%;max-width:none;min-height:100vh;min-height:100svh;margin:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(125deg,#fff 65%,#edf6f6)}
 .portal-leaderboard-active .content{position:relative;max-width:1600px;margin:0 auto;padding:30px 4vw 38px}
 .portal-leaderboard-active .brand{font-size:24px;gap:13px}
 .portal-leaderboard-active .brand img{width:48px;height:48px}
 .portal-leaderboard-active .brand small{font-size:10px;letter-spacing:2px}
 .portal-leaderboard-active #leaderboard-view>#player-board-back{position:absolute;top:32px;right:4vw;margin:0;min-height:44px;padding:10px 16px;border:1px solid #ccdde5;border-radius:10px;background:#fff;font-size:14px;text-decoration:none}
 .portal-leaderboard-active .question-header{padding-top:32px}
 .portal-leaderboard-active #board-title{font-size:46px;letter-spacing:-1.5px;max-width:none}
 .portal-leaderboard-active .board-date-context{display:flex}
 .portal-leaderboard-active #booth-event-date{display:inline-flex!important;font-size:20px;font-weight:700;padding:9px 13px;border-radius:10px}
 .portal-leaderboard-active #booth-event-date:empty{display:none!important}
 .portal-leaderboard-active .welcome{font-size:16px;line-height:1.5;margin:12px 0 24px}
 .portal-leaderboard-active .board-period-bar{margin-bottom:24px}
 .portal-leaderboard-active .board-periods button{min-height:44px;font-size:15px}
 .portal-leaderboard-active .board-header{justify-content:space-between;margin-bottom:12px}
 .portal-leaderboard-active #board-game-title{display:block!important;font-size:22px}
 .portal-leaderboard-active .board-header span{font-size:13px}
 .portal-leaderboard-active .board-table-wrap{overflow-x:auto}
 .portal-leaderboard-active .board-table{font-size:20px;table-layout:fixed}
 .portal-leaderboard-active .board-table.has-tiers th{padding:14px 12px;font-size:11px;letter-spacing:1px}
 .portal-leaderboard-active .board-table.has-tiers th:nth-child(1){width:7%}
 .portal-leaderboard-active .board-table.has-tiers th:nth-child(2){width:38%}
 .portal-leaderboard-active .board-table.has-tiers th:nth-child(3){width:17%}
 .portal-leaderboard-active .board-table.has-tiers th:nth-child(4){width:15%}
 .portal-leaderboard-active .board-table.has-tiers th:nth-child(5){width:23%}
 .portal-leaderboard-active .board-table.has-tiers td{padding:16px 12px;font-size:20px;line-height:1.35}
 .portal-leaderboard-active .board-table.has-tiers td:nth-child(2){font-weight:700}
 .portal-leaderboard-active .board-table.has-tiers td:nth-child(4){font-size:20px;font-weight:750}
 .portal-leaderboard-active .board-table.has-tiers td:last-child{font-size:20px}
 .portal-leaderboard-active .tier-badge{height:34px;padding:0 9px;gap:6px;border:1px solid}
 .portal-leaderboard-active .tier-gold{background:#fff6d4;border-color:#edd37d}
 .portal-leaderboard-active .tier-silver{background:#f0f3f7;border-color:#cfd9e4}
 .portal-leaderboard-active .tier-bronze{background:#fbecdf;border-color:#e6c5a7}
 .portal-leaderboard-active .tier-badge>span:first-child{display:flex;align-items:center;justify-content:center;flex:none;width:19px;height:23px;line-height:0;font-size:0}
 .portal-leaderboard-active .tier-badge img{display:block;width:19px;height:23px;object-fit:contain}
 .portal-leaderboard-active .tier-name{display:inline;font-size:12px}
 .portal-leaderboard-active .board-table tbody tr:first-child td:first-child{font-weight:800;color:var(--green)}
 .portal-leaderboard-active .your-placement{font-size:16px;padding:14px 16px}
 .portal-leaderboard-active .board-status{font-size:16px;padding:30px}
 .portal-leaderboard-active .board-limit{font-size:12px}
}
@media(min-width:768px) and (max-width:1000px){.portal-leaderboard-active .board-table.has-tiers td,.portal-leaderboard-active .board-table.has-tiers td:last-child,.portal-leaderboard-active .board-table.has-tiers td:nth-child(4){font-size:18px}.portal-leaderboard-active #board-title{font-size:40px}}
