/* Larger choices with the same blue background as the home menu. */
html body dialog#onlineDialog#onlineDialog.mobile-panel{max-width:540px!important;background:linear-gradient(180deg,#071342 0%,#1233a6 55%,#071342 100%)!important;color:#f4f6ff!important;border-color:#789aff!important}
html body dialog#onlineDialog#onlineDialog.mobile-panel>.panel-toolbar{background:#0b194e!important;border-color:#789aff!important}
html body #onlineDialog#onlineDialog #onlineTitle{font-size:28px!important;color:#fff4bf!important}
html body #onlineDialog#onlineDialog .online-intro{font-size:15px!important;margin:5px 0 12px!important}
html body #onlineDialog#onlineDialog #onlineTables{gap:12px!important}
html body #onlineDialog#onlineDialog .online-table-scene{height:80px!important;min-height:80px!important}
html body #onlineDialog#onlineDialog .table-theme-tag{font-size:13px!important;padding:4px 5px!important}
html body #onlineDialog#onlineDialog .online-table-scene img{width:27px!important;height:42px!important}
html body #onlineDialog#onlineDialog .online-table-info{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:10px!important}
html body #onlineDialog#onlineDialog .table-entry-label{font-size:11px!important;line-height:1.3!important;text-align:left!important}
html body #onlineDialog#onlineDialog .online-table-info>strong{font-size:30px!important;line-height:1.2!important;text-align:left!important}
html body #onlineDialog#onlineDialog .online-table-select{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;box-sizing:border-box!important;padding:8px 4px!important;font-size:14px!important;line-height:1.25!important}
html body #onlineDialog#onlineDialog :is(.online-app-fee,.online-currency-note){font-size:13px!important;line-height:1.45!important;margin:7px 0!important}
@media(max-width:350px){html body #onlineDialog#onlineDialog #onlineTables{grid-template-columns:1fr!important}html body #onlineDialog#onlineDialog .online-table-choice{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important}html body #onlineDialog#onlineDialog .online-table-scene{height:100%!important;min-height:132px!important}html body #onlineDialog#onlineDialog .online-table-info>strong{font-size:28px!important}}
/* Level badges share one definition across the home screen, profile and table. */
html body .rank-insignia{display:inline-block!important;width:24px!important;height:28px!important;min-width:24px!important;object-fit:contain!important;vertical-align:middle!important;flex:0 0 24px;border:0!important;box-shadow:none!important;filter:drop-shadow(0 1px 2px #0005)}
html body .rank-label{display:inline-flex!important;align-items:center!important;gap:6px!important;line-height:1.3!important;white-space:normal!important}
html body #lobby#lobby #profileLevel{max-width:100%;padding:3px 6px!important;font-size:11px!important;letter-spacing:0!important}
html body #lobby#lobby #profileLevel .rank-insignia{width:19px!important;height:23px!important;min-width:19px!important;flex-basis:19px}
html body .table-player-stats .table-rank{font:700 11px/1.3 'Truco Outfit',sans-serif;color:#ffe894;max-width:150px}
html body .table-player-stats .table-rank .rank-insignia{width:17px!important;height:20px!important;min-width:17px!important;flex-basis:17px}
html body #profileDialog#profileDialog .rank-guide{margin:10px 0 14px;padding:10px 12px;background:#0b194e;border:1px solid #789aff;border-radius:10px;color:#fff;font:14px/1.4 'Truco Outfit',sans-serif}
html body #profileDialog#profileDialog .rank-guide>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#ffe96b!important;font-weight:700;list-style:none}
html body #profileDialog#profileDialog .rank-guide>summary::after{content:'⌄';margin-left:auto}
html body #profileDialog#profileDialog .rank-guide>div{display:grid;grid-template-columns:24px 1fr;align-items:center;column-gap:10px;row-gap:3px;padding:9px 0;border-top:1px solid #789aff44}
html body #profileDialog#profileDialog .rank-guide>div img{grid-row:span 2}
html body #profileDialog#profileDialog .rank-guide small{grid-column:2;color:#d9e4ff!important;font-size:12px}
/* Road direction sign: white lettering, double border, explicit winner and points. */
html body #envidoResult#envidoResult.compact-result{box-sizing:border-box!important;position:fixed!important;inset:calc(8px + env(safe-area-inset-top)) 8px auto!important;margin:0 auto!important;width:min(400px,calc(100vw - 16px))!important;max-width:400px!important;padding:12px!important;background:#075436!important;color:#fff!important;border:3px solid #fff!important;border-radius:10px!important;box-shadow:0 0 0 3px #075436,0 5px 18px #0007!important;text-align:center!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}
html body #envidoResult#envidoResult.compact-result[data-winner=rival]{background:#075436!important;border-color:#fff!important}
html body #envidoResult#envidoResult.compact-result>small{display:block!important;margin:0 0 5px!important;color:#fff!important;font:700 11px/1.3 'Truco Outfit',sans-serif!important;letter-spacing:1px!important}
html body #envidoResult#envidoResult.compact-result #resultWinner{font:800 25px/1.15 'Truco Outfit',sans-serif!important;color:#fff!important;margin:0 0 10px!important;text-transform:uppercase!important;text-shadow:none!important;overflow-wrap:anywhere}
html body #envidoResult#envidoResult.compact-result .result-scores{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:stretch!important;gap:8px!important;margin:0 0 9px!important}
html body #envidoResult#envidoResult.compact-result .result-scores[hidden]{display:none!important}
html body #envidoResult#envidoResult.compact-result .result-scores>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:8px 5px!important;border:1px solid #ffffff99!important;border-radius:6px!important;background:#03432b!important;min-width:0}
html body #envidoResult#envidoResult.compact-result .result-scores span{color:#fff!important;font:700 13px/1.25 'Truco Outfit',sans-serif!important;letter-spacing:0!important;overflow-wrap:anywhere;max-width:100%!important}
html body #envidoResult#envidoResult.compact-result .result-scores>span{align-self:center!important}
html body #envidoResult#envidoResult.compact-result .result-scores strong{font:800 38px/1 'Truco Outfit',sans-serif!important;color:#fff!important;text-shadow:none!important}
html body #envidoResult#envidoResult.compact-result .result-scores strong.winner-number{color:#fff09a!important}
html body #envidoResult#envidoResult.compact-result #resultAward{display:block!important;color:#fff09a!important;font:800 17px/1.3 'Truco Outfit',sans-serif!important;margin:0 0 6px!important}
html body #envidoResult#envidoResult.compact-result #resultDetail{display:block!important;color:#fff!important;font:500 12px/1.35 'Truco Outfit',sans-serif!important;margin:0 0 9px!important}
html body #envidoResult#envidoResult.compact-result #resultContinue{display:block!important;width:100%!important;min-height:44px!important;margin:0!important;padding:8px!important;background:#fff!important;color:#07472e!important;border:0!important;border-radius:5px!important;font:800 15px/1.3 'Truco Outfit',sans-serif!important;box-shadow:none!important}
