/* Championship portal: emerald panels, gold trim and compact, readable rows. */
html body #tournamentsDialog{--tour-gold:#efd38b;width:min(1240px,calc(100vw - 20px))!important;max-width:1240px!important;height:calc(var(--app-height,100dvh) - 20px);max-height:calc(var(--app-height,100dvh) - 20px)!important;border:1px solid #9a8256!important;border-radius:16px!important;background:radial-gradient(ellipse at 20% 0,#12513888,transparent 60%),#031c15!important;box-shadow:0 0 0 3px #563d2522,0 20px 80px #000b;scrollbar-width:thin;scrollbar-color:#437660 #061d17}
#tournamentsDialog .tour-top{gap:14px;padding:10px 16px;background:linear-gradient(100deg,#082f21,#031b13);border-bottom:1px solid #446f4d;box-shadow:0 3px 16px #0006;z-index:5}
#tournamentsDialog .tour-top>div{flex:0 0 auto}
#tournamentsDialog .tour-top small{color:#88d292;font-size:10px;font-weight:800;letter-spacing:1.5px}
#tournamentsDialog .tour-top h2{font-family:'Truco Display','Truco Outfit',sans-serif;font-size:25px!important;color:#ffebad;line-height:1.1;margin:2px 0 0!important}
#tournamentsDialog .tour-main-nav{display:flex;justify-content:center;gap:8px;margin:auto;min-width:0}
#tournamentsDialog .tour-main-nav button{border:0;border-bottom:2px solid transparent;border-radius:8px 8px 0 0;background:none;color:#dae9df;padding:8px 14px;min-height:44px;font-size:13px;white-space:nowrap}
#tournamentsDialog .tour-main-nav button[aria-current=page]{background:linear-gradient(#0d6030,#073a24);border-bottom-color:#efcd6e;color:#fff4d2}
#tournamentsDialog .tour-close{flex-shrink:0;border-radius:50%;min-height:36px;width:36px;background:#0b392b;border-color:#4d7762}
#tournamentsDialog .tour-content{padding:12px 16px 16px}
#tournamentsDialog .tour-test{padding:0;margin:0 0 9px;background:none;border:0;color:#a4bfae;font-size:10px;line-height:1.4}
#tournamentsDialog .tour-message{color:#ffdfa2;margin:10px 0;font-size:12px}
#tournamentsDialog .tour-message:empty{display:none}
#tournamentsDialog .tour-portal{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.4fr);gap:18px;align-items:stretch}
#tournamentsDialog .tour-showcase{position:relative;min-height:350px;overflow:hidden;border:1px solid #526e4080;border-radius:12px;background:#082c20;isolation:isolate}
#tournamentsDialog .tour-showcase>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
#tournamentsDialog .tour-showcase::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 45%,#00190dbb 78%,#021a12);z-index:-1}
#tournamentsDialog .tour-showcase-copy{position:absolute;left:8px;right:8px;bottom:16px;text-align:center;color:#fff0b8;text-shadow:0 2px 5px #000}
#tournamentsDialog .tour-showcase-copy small{font-size:10px;letter-spacing:2px;color:#f1d58c}
#tournamentsDialog .tour-showcase-copy h3{font:900 clamp(28px,4vw,48px)/1.1 'Truco Display','Truco Outfit',sans-serif;margin:6px 0;color:#fff0ad;letter-spacing:1px}
#tournamentsDialog .tour-showcase-copy p{display:inline-block;font-size:13px;font-weight:800;letter-spacing:2px;background:linear-gradient(#702820,#381514);border-block:1px solid #c89851;padding:6px 18px;margin:5px 0 8px;color:#ffe8a2}
#tournamentsDialog .tour-showcase-copy span{display:block;font-size:16px;color:#f7cc61;letter-spacing:5px}
#tournamentsDialog .tour-listing{min-width:0}
#tournamentsDialog .tour-section-head{gap:8px;margin:0 0 8px}
#tournamentsDialog .tour-section-head h3{font:800 19px/1.2 'Truco Display','Truco Outfit',sans-serif;color:#ffeab1;margin:0}
#tournamentsDialog .tour-section-head button{flex-shrink:0;background:#05261d;color:#ccefe7;border:1px solid #476a56;font-size:11px;min-height:36px}
#tournamentsDialog .tour-tabs{padding:0 0 8px;gap:5px}
#tournamentsDialog button[aria-pressed=true]{background:linear-gradient(#18a844,#00662c);border-color:#5eb66a;color:#fff7da;box-shadow:inset 0 1px #d6ffc544}
#tournamentsDialog .tour-grid{display:flex;flex-direction:column;gap:8px}
#tournamentsDialog .tour-card{display:grid;grid-template-columns:50px minmax(0,1fr) 86px 100px;grid-template-rows:auto auto;column-gap:10px;row-gap:4px;align-items:center;border:1px solid #4d6c54;border-radius:10px;padding:10px;background:linear-gradient(110deg,#101f19,#0b2820 80%,#12271e);box-shadow:inset 0 1px #a8b9950c}
#tournamentsDialog .tour-card-emblem{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:48px;height:65px;background:linear-gradient(145deg,#564824,#191f13);border:1px solid #aa8650;border-radius:9px 9px 17px 17px}
#tournamentsDialog .tour-card-emblem img{width:38px;height:47px;object-fit:contain}
#tournamentsDialog .tour-card-identity{grid-column:2;grid-row:1/3;min-width:0;align-self:center}
#tournamentsDialog .tour-card h3{font-size:16px;line-height:1.2;color:#fff4d5;margin:0 0 5px;overflow-wrap:anywhere;text-transform:uppercase}
#tournamentsDialog .tour-card .tour-seats,#tournamentsDialog .tour-date{display:block;font-size:11px;color:#d1dfcf;margin:0 0 4px}
#tournamentsDialog .tour-card .tour-badge{font-size:8px;line-height:1.2;padding:3px 5px;border-radius:4px;letter-spacing:0;text-transform:none;background:#13452b;color:#c5e9af}
#tournamentsDialog .tour-card-entry{grid-column:3;grid-row:1;align-self:end}
#tournamentsDialog .tour-card-prize{grid-column:4;grid-row:1;align-self:end}
#tournamentsDialog .tour-card-entry small,#tournamentsDialog .tour-card-prize small{display:block;color:#bbd6c9;font-size:10px;margin:0 0 3px}
#tournamentsDialog .tour-card-entry strong,#tournamentsDialog .tour-card-prize strong{color:#f8d579;font-size:15px;white-space:nowrap}
#tournamentsDialog .tour-card .tour-primary{grid-column:3/5;grid-row:2;width:100%;margin:4px 0 0;min-height:36px;padding:6px 8px;font-size:12px}
#tournamentsDialog .tour-primary{background:linear-gradient(#35c84b,#008128 70%,#006824);color:#fffde3;border:1px solid #82d76c;border-radius:7px;box-shadow:inset 0 1px #c8ffb766,0 2px 4px #001e0d;text-shadow:0 1px #064a15;font-weight:800;letter-spacing:.4px;min-height:44px}
#tournamentsDialog .tour-empty{margin:10px 0;border:1px dashed #436f53;border-radius:10px;padding:24px 12px;color:#c0d6c4;font-size:13px}
#tournamentsDialog .tour-back{background:#0c3627;min-height:36px;border-radius:20px;padding:5px 12px;color:#e7f4dd}
#tournamentsDialog .tour-cup-header{justify-content:center;min-height:100px;margin:0 0 10px;padding:10px;text-align:center;background:radial-gradient(ellipse at 50% 0,#73612344,transparent 75%);border-bottom:1px solid #48724b66}
#tournamentsDialog .tour-cup-header .tour-cup-image{width:75px;height:85px}
#tournamentsDialog .tour-cup-header h3{font:800 28px/1.2 'Truco Display','Truco Outfit',sans-serif;color:#ffeeb2;margin:5px 0 8px}
#tournamentsDialog .tour-content>.tour-facts{max-width:850px;margin:0 auto 10px;background:#06291e;border:1px solid #466b50;border-radius:9px;padding:10px 14px;gap:15px;text-align:center}
#tournamentsDialog .tour-facts small{font-size:11px;color:#bddecb}
#tournamentsDialog .tour-facts strong{font-size:17px;color:#f5db90}
#tournamentsDialog .tour-detail-tabs{display:flex;max-width:850px;margin:0 auto 12px;gap:5px}
#tournamentsDialog .tour-detail-tabs button{flex:1;min-width:0;min-height:40px;font-size:13px;text-transform:uppercase;background:#073829;border:1px solid #47775a;border-radius:7px}
#tournamentsDialog .tour-participants{max-width:850px;margin:0 auto 12px;padding:10px 0;background:none;border:0;border-radius:0}
#tournamentsDialog .tour-participants .tour-section-head{padding:0 8px 8px}
#tournamentsDialog .tour-roster{display:flex;flex-direction:column;gap:0;border:1px solid #365b45;border-radius:9px;overflow:hidden;background:#031d16}
#tournamentsDialog .tour-roster li{display:grid;grid-template-columns:24px 30px minmax(0,1fr) 24px;align-items:center;gap:10px;white-space:normal;border:0;border-bottom:1px solid #31524088;border-radius:0;padding:6px 12px;margin:0;background:transparent;min-height:44px;font-size:13px}
#tournamentsDialog .tour-roster li:last-child{border-bottom:0}
#tournamentsDialog .tour-roster-number{font-size:13px;color:#d4e1c9;text-align:center}
#tournamentsDialog .tour-player-initial{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #c8b774;background:linear-gradient(135deg,#3b7059,#132c23);font-size:13px;color:#ffeac1;font-weight:800}
#tournamentsDialog .tour-roster-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tournamentsDialog .tour-roster-check{display:grid;place-items:center;border:1px solid #59bb6a;border-radius:50%;background:#0d8640;color:#fff;width:22px;height:22px;font-size:16px}
#tournamentsDialog .tour-roster-check::after{content:none}
#tournamentsDialog .tour-group-tabs{display:flex;gap:4px;overflow:auto;margin:0 0 10px;padding-bottom:4px}
#tournamentsDialog .tour-group-tabs button{flex:1 0 auto;border-radius:6px;min-height:38px;padding:8px 14px;font-size:12px}
#tournamentsDialog .tour-groups-grid{display:block}
#tournamentsDialog .tour-group-card{border-radius:9px;background:#04291b}
#tournamentsDialog .tour-group-title{background:#0e3c25}
#tournamentsDialog .tour-group-card table{font-size:13px;width:100%}
#tournamentsDialog .tour-group-card th{font-size:11px;color:#9dd1bf}
#tournamentsDialog .tour-group-card td,#tournamentsDialog .tour-group-card th{padding:10px 8px}
#tournamentsDialog .tour-group-card .tour-top-two{background:linear-gradient(90deg,#075c24,#0e4427)}
#tournamentsDialog .tour-rounds button,#tournamentsDialog .tour-path button{min-height:38px}
#tournamentsDialog .tour-tree{border:1px solid #325c45;border-radius:10px;padding:12px;gap:24px;background:#03241a}
#tournamentsDialog .tour-tree-round{flex-basis:170px}
#tournamentsDialog .tour-tree-round h4{font-size:12px;color:#efd896}
#tournamentsDialog .tour-match{padding:6px;border:1px solid #60816a;background:#07291f;border-radius:8px}
#tournamentsDialog .tour-match>div{background:#123a2b;font-size:12px;padding:7px}
#tournamentsDialog .tour-match .tour-qualified{background:#087b30;color:#f5fadd}
#tournamentsDialog .tour-tree-round:not(:last-child) .tour-match::after{right:-25px;width:24px;background:#79b79d}
#tournamentsDialog .tour-tree-cup img{width:50px;height:58px}
#tournamentsDialog .tour-closed{background:linear-gradient(#52615d,#293e35);color:#e1ebe2;border:1px solid #76877b;border-radius:8px;padding:12px;text-align:center;font-size:13px;font-weight:800;margin:12px auto;max-width:850px}
#tournamentsDialog .tour-prizes,#tournamentsDialog .tour-rules,#tournamentsDialog .tour-check,#tournamentsDialog .tour-receipt,#tournamentsDialog .tour-wait{max-width:850px;margin:10px auto}
#tournamentsDialog .tour-prizes>div{font-size:14px;padding:12px 0}
#tournamentsDialog .tour-prizes>div strong{color:#f6d67b}
#tournamentsDialog .tour-celebration{background:radial-gradient(ellipse at top,#645120,#073322 75%);border-color:#cfad5a}
@media (max-width:720px){
 #tournamentsDialog .tour-portal{grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:10px}
 #tournamentsDialog .tour-card{grid-template-columns:34px minmax(0,1fr) 65px;gap:6px;padding:8px}
 #tournamentsDialog .tour-card-emblem{width:32px;height:48px}
 #tournamentsDialog .tour-card-emblem img{width:26px;height:34px}
 #tournamentsDialog .tour-card h3{font-size:13px}
 #tournamentsDialog .tour-card-entry{grid-column:3}
 #tournamentsDialog .tour-card-prize{grid-column:2;grid-row:3}
 #tournamentsDialog .tour-card .tour-primary{grid-column:2/4;grid-row:4}
 #tournamentsDialog .tour-main-nav{gap:2px}
 #tournamentsDialog .tour-main-nav button{padding:7px;font-size:11px}
}
@media (orientation:landscape) and (max-height:500px){
 #tournamentsDialog .tour-top{padding:6px 12px}
 #tournamentsDialog .tour-top h2{font-size:20px!important}
 #tournamentsDialog .tour-main-nav button{min-height:36px;padding:6px 12px}
 #tournamentsDialog .tour-content{padding:9px 12px 12px}
 #tournamentsDialog .tour-showcase{min-height:290px}
 #tournamentsDialog .tour-cup-header{min-height:72px;padding:5px}
 #tournamentsDialog .tour-cup-header .tour-cup-image{width:52px;height:60px}
 #tournamentsDialog .tour-cup-header h3{font-size:22px}
 #tournamentsDialog .tour-card{padding:8px;column-gap:8px}
 #tournamentsDialog .tour-card h3{font-size:14px}
}
@media (orientation:portrait) and (max-width:620px){
 html body #tournamentsDialog{width:calc(100vw - 10px)!important;height:calc(var(--app-height,100dvh) - 10px);max-height:calc(var(--app-height,100dvh) - 10px)!important;border-radius:12px!important}
 #tournamentsDialog .tour-top{padding:8px 10px;flex-wrap:wrap;gap:6px}
 #tournamentsDialog .tour-top>div{flex:1}
 #tournamentsDialog .tour-close{order:1}
 #tournamentsDialog .tour-main-nav{order:2;flex-basis:100%;justify-content:space-between}
 #tournamentsDialog .tour-main-nav button{flex:1;min-height:36px}
 #tournamentsDialog .tour-content{padding:10px}
 #tournamentsDialog .tour-portal{display:flex;flex-direction:column}
 #tournamentsDialog .tour-showcase{min-height:190px;height:190px}
 #tournamentsDialog .tour-showcase>img{object-position:50% 42%}
 #tournamentsDialog .tour-showcase-copy{bottom:8px}
 #tournamentsDialog .tour-showcase-copy small{display:none}
 #tournamentsDialog .tour-showcase-copy h3{font-size:27px;margin:0}
 #tournamentsDialog .tour-showcase-copy p{font-size:10px;padding:3px 12px;margin:3px}
 #tournamentsDialog .tour-showcase-copy span{font-size:10px}
 #tournamentsDialog .tour-section-head h3{font-size:17px}
 #tournamentsDialog .tour-card{grid-template-columns:42px minmax(0,1fr) 78px 83px;gap:6px}
 #tournamentsDialog .tour-card-emblem{width:40px;height:55px}
 #tournamentsDialog .tour-card-identity{grid-column:2;grid-row:1/3}
 #tournamentsDialog .tour-card-entry{grid-column:3;grid-row:1}
 #tournamentsDialog .tour-card-prize{grid-column:4;grid-row:1}
 #tournamentsDialog .tour-card .tour-primary{grid-column:3/5;grid-row:2;font-size:10px}
 #tournamentsDialog .tour-card h3{font-size:12px}
 #tournamentsDialog .tour-card .tour-seats,#tournamentsDialog .tour-date{font-size:9px}
 #tournamentsDialog .tour-card-entry strong,#tournamentsDialog .tour-card-prize strong{font-size:12px}
 #tournamentsDialog .tour-cup-header h3{font-size:22px}
 #tournamentsDialog .tour-facts strong{font-size:13px}
}
@media (max-width:380px){
 #tournamentsDialog .tour-card{grid-template-columns:32px minmax(0,1fr) 65px 70px;gap:5px;padding:7px}
 #tournamentsDialog .tour-card-emblem{width:30px;height:44px}
 #tournamentsDialog .tour-card .tour-badge{font-size:7px}
}
#tournamentsDialog .tour-final-poster{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b39555;border-radius:12px;min-height:330px;max-width:650px;margin:10px auto 16px;background:#1c2917;display:flex;align-items:flex-end;justify-content:center}
#tournamentsDialog .tour-final-poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;z-index:-2}
#tournamentsDialog .tour-final-poster::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 18%,#031c1588 48%,#031c15 100%);z-index:-1}
#tournamentsDialog .tour-final-copy{text-align:center;padding:90px 15px 20px;width:100%;color:#f5dda0}
#tournamentsDialog .tour-final-copy h3{font:900 33px/1.1 'Truco Display','Truco Outfit',sans-serif;color:#fff0b8;margin:7px 0;text-shadow:0 3px #65381d}
#tournamentsDialog .tour-final-copy>p{color:#f9e7b5;font-size:13px;font-weight:800;margin:5px}
#tournamentsDialog .tour-final-copy>small{color:#d5e7ca;font-size:11px}
#tournamentsDialog .tour-final-versus{display:flex;justify-content:center;align-items:center;gap:22px;margin:16px 0}
#tournamentsDialog .tour-final-versus>div{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;flex:1;max-width:180px}
#tournamentsDialog .tour-final-versus .tour-player-initial{width:48px;height:48px;font-size:24px;background:#194733;border:2px solid #ddc477}
#tournamentsDialog .tour-final-versus strong{font-size:15px;color:#eef4dd;overflow-wrap:anywhere;max-width:100%}
/* Reference layout: a single list and a separate cup/roster screen. */
#tournamentsDialog[data-screen=list] .tour-showcase{display:none}
#tournamentsDialog[data-screen=list] .tour-portal{display:block;max-width:1000px;margin:auto}
#tournamentsDialog[data-screen=list] .tour-listing{width:100%}
#tournamentsDialog[data-screen=list] .tour-tabs{display:none}
#tournamentsDialog[data-screen=list] .tour-content{background:linear-gradient(110deg,#05261ef0,#031d17f8),url('assets/tournament-cup-stadium.webp') left center/cover no-repeat;padding:16px 20px 22px}
#tournamentsDialog .tour-section-head{margin:0 0 14px;align-items:center}
#tournamentsDialog .tour-section-head h3{font-size:clamp(18px,2.4vw,26px);font-weight:900}
#tournamentsDialog .tour-section-head button{min-height:40px;text-transform:uppercase;font-weight:700}
#tournamentsDialog .tour-grid{gap:10px}
#tournamentsDialog .tour-card{grid-template-columns:78px minmax(140px,1fr) minmax(95px,.6fr) minmax(125px,.75fr);grid-template-rows:auto auto;gap:4px 14px;padding:12px 15px;min-height:120px;border-color:#315349;background:linear-gradient(105deg,#131f1be8,#04251ef5);border-radius:12px}
#tournamentsDialog .tour-card-emblem{width:76px;height:92px;background:none;border:0;border-radius:0}
#tournamentsDialog .tour-card-emblem img{display:block;width:76px;height:92px;object-fit:contain;filter:drop-shadow(0 3px 3px #0009)}
#tournamentsDialog .tour-card-identity{grid-column:2;grid-row:1/3}
#tournamentsDialog .tour-card h3{font-size:clamp(15px,2.1vw,22px);margin:0 0 8px;font-family:'Truco Display','Truco Outfit',sans-serif}
#tournamentsDialog .tour-card .tour-seats{font-size:clamp(11px,1.7vw,16px);margin:0 0 10px;color:#e6e9de}
#tournamentsDialog .tour-card .tour-date{font-size:clamp(12px,1.8vw,17px);margin:0;font-weight:700;color:#f0f2e9}
#tournamentsDialog .tour-card .tour-badge{display:none}
#tournamentsDialog .tour-card-entry{grid-column:3;grid-row:1;align-self:start}
#tournamentsDialog .tour-card-prize{grid-column:4;grid-row:1;align-self:start}
#tournamentsDialog .tour-card-entry small,#tournamentsDialog .tour-card-prize small{font-size:clamp(11px,1.6vw,15px);color:#a5dbd9;margin:0 0 3px}
#tournamentsDialog .tour-card-entry strong,#tournamentsDialog .tour-card-prize strong{font-size:clamp(16px,2.2vw,23px);color:#ffe99b;text-shadow:0 2px #06130b}
#tournamentsDialog .tour-card .tour-primary{grid-column:4;grid-row:2;width:100%;min-height:38px;margin:5px 0 0;font-size:clamp(11px,1.5vw,15px);padding:7px 8px}
#tournamentsDialog[data-screen=detail]{max-width:760px!important;background:radial-gradient(ellipse at 50% 0,#154a2b,#031e16 65%)!important;border:2px solid #9b7047!important;box-shadow:0 0 0 3px #362a20,0 20px 80px #000b}
#tournamentsDialog[data-screen=detail] .tour-top{position:absolute;top:8px;right:8px;padding:0;background:none;border:0;box-shadow:none}
#tournamentsDialog[data-screen=detail] .tour-top>div,#tournamentsDialog[data-screen=detail] .tour-main-nav{display:none}
#tournamentsDialog[data-screen=detail] .tour-content{padding:12px 18px 18px}
#tournamentsDialog[data-screen=detail] .tour-test{margin:0 42px 0;text-align:center;font-size:9px;color:#a8bdaa}
#tournamentsDialog .tour-back{position:absolute;top:10px;left:10px;z-index:6;width:36px;height:36px;min-height:36px!important;border-radius:50%;overflow:hidden;font-size:0;padding:0!important;margin:0!important}
#tournamentsDialog .tour-back::before{content:'←';font-size:23px;line-height:1}
#tournamentsDialog .tour-cup-header{display:flex;flex-direction:column;gap:0;border:0;margin:0;padding:0;background:radial-gradient(ellipse at 50% 30%,#156c3866,transparent 70%)}
#tournamentsDialog .tour-header-art{display:block;width:min(100%,420px);height:140px;object-fit:contain;flex:none;margin:0 auto -5px;filter:drop-shadow(0 5px 12px #d5b54433)}
#tournamentsDialog .tour-cup-header>div{width:100%;padding:10px 8px;border-radius:40% 40% 0 0/22px 22px 0 0;background:linear-gradient(#104529,#04251b);border-top:1px solid #57885b}
#tournamentsDialog .tour-cup-header small,#tournamentsDialog .tour-cup-header .tour-badge{display:none}
#tournamentsDialog .tour-cup-header h3{font-size:clamp(24px,4vw,34px);text-transform:uppercase;margin:3px 0 6px!important;color:#ffebaa;text-shadow:0 2px #081a10}
#tournamentsDialog .tour-content>.tour-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:12px 4px;margin:0 auto 0;border:1px solid #35583c;border-bottom:0;border-radius:16px 16px 0 0;background:linear-gradient(105deg,#042b20,#011a16);text-align:center}
#tournamentsDialog .tour-facts>div{display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid #32574466;padding:6px 4px}
#tournamentsDialog .tour-facts>div:last-child{border:0}
#tournamentsDialog .tour-facts strong{color:#f8f4d6;font-size:clamp(14px,2.4vw,24px);white-space:nowrap}
#tournamentsDialog .tour-facts small{color:#91d4cc;font-size:clamp(10px,1.8vw,17px);margin:0}
#tournamentsDialog .tour-detail-tabs{gap:4px;margin:0 auto 16px;padding:0 4px 4px;border-bottom:1px solid #2e5f44;border-radius:0 0 10px 10px;background:#041e16}
#tournamentsDialog .tour-detail-tabs button{min-height:44px;font-size:clamp(12px,1.9vw,19px);font-weight:800;border-radius:9px;background:linear-gradient(#0d4932,#062a1f);border-color:#527b5a}
#tournamentsDialog .tour-detail-tabs button[aria-pressed=true]{background:linear-gradient(#1bb447,#00882a);border-color:#a1c45e;box-shadow:inset 0 1px #b9ffc388,0 2px 0 #b89649;color:#ffffe7}
#tournamentsDialog .tour-participants .tour-section-head{justify-content:flex-start;padding:0 8px 4px;margin:0 0 8px}
#tournamentsDialog .tour-participants .tour-section-head h3:empty{display:none}
#tournamentsDialog .tour-participants .tour-section-head small{font-size:clamp(14px,2.2vw,20px);font-weight:700;color:#d6ede5}
#tournamentsDialog .tour-roster li{min-height:48px;grid-template-columns:25px 34px minmax(0,1fr) 28px;font-size:clamp(14px,2vw,19px);padding:7px 12px}
#tournamentsDialog .tour-player-initial{width:32px;height:32px;border-color:#c0c5ae;background:linear-gradient(135deg,#32694f,#0e2d22)}
#tournamentsDialog .tour-roster-check{width:25px;height:25px;background:linear-gradient(#24b950,#007733);font-size:19px}
#tournamentsDialog .tour-closed{font-size:16px;min-height:48px;border-color:#9aa9a1;box-shadow:inset 0 1px #d8e1d488;background:linear-gradient(#66746e,#304a41);color:#e8eee8;text-shadow:0 2px #182820}
@media (orientation:landscape) and (max-height:500px){
 #tournamentsDialog[data-screen=list] .tour-content{padding:12px 16px}
 #tournamentsDialog .tour-card{min-height:98px;padding:8px 12px;grid-template-columns:62px minmax(135px,1fr) minmax(85px,.6fr) minmax(120px,.75fr)}
 #tournamentsDialog .tour-card-emblem,#tournamentsDialog .tour-card-emblem img{width:58px;height:76px}
 #tournamentsDialog .tour-card h3{font-size:17px;margin-bottom:6px}
 #tournamentsDialog .tour-card .tour-seats{margin-bottom:6px}
 #tournamentsDialog .tour-header-art{height:95px}
}
@media (max-width:620px) and (orientation:portrait){
 #tournamentsDialog[data-screen=list] .tour-content{padding:12px 8px}
 #tournamentsDialog .tour-section-head{gap:5px;margin-bottom:10px}
 #tournamentsDialog .tour-section-head h3{font-size:16px}
 #tournamentsDialog .tour-section-head button{font-size:9px;padding:7px}
 #tournamentsDialog .tour-card{grid-template-columns:44px minmax(104px,1fr) 65px 78px;gap:3px 6px;padding:9px 7px;min-height:103px}
 #tournamentsDialog .tour-card-emblem,#tournamentsDialog .tour-card-emblem img{width:43px;height:62px}
 #tournamentsDialog .tour-card h3{font-size:13px;margin-bottom:6px}
 #tournamentsDialog .tour-card .tour-seats{font-size:10px;margin-bottom:7px}
 #tournamentsDialog .tour-card .tour-date{font-size:11px}
 #tournamentsDialog .tour-card-entry small,#tournamentsDialog .tour-card-prize small{font-size:10px}
 #tournamentsDialog .tour-card-entry strong,#tournamentsDialog .tour-card-prize strong{font-size:14px}
 #tournamentsDialog .tour-card .tour-primary{grid-column:3/5;font-size:10px;min-height:34px;margin-top:5px}
 #tournamentsDialog[data-screen=detail] .tour-content{padding:12px 8px}
 #tournamentsDialog .tour-header-art{height:110px}
 #tournamentsDialog .tour-cup-header h3{font-size:24px}
 #tournamentsDialog .tour-facts strong{font-size:16px}
 #tournamentsDialog .tour-facts small{font-size:11px}
}
@media (max-width:360px){
 #tournamentsDialog .tour-card{grid-template-columns:36px minmax(88px,1fr) 59px 66px;column-gap:5px}
 #tournamentsDialog .tour-card-emblem,#tournamentsDialog .tour-card-emblem img{width:34px;height:54px}
 #tournamentsDialog .tour-card h3{font-size:11px}
 #tournamentsDialog .tour-card-entry strong,#tournamentsDialog .tour-card-prize strong{font-size:12px}
}
