body #tournaments.view:not(.hidden){position:fixed;inset:0;z-index:20;height:100dvh!important;min-height:0!important;max-height:none!important;margin:0!important;padding:4px!important;box-sizing:border-box;display:grid!important;grid-template-columns:200px minmax(0,1fr)!important;grid-template-rows:72px minmax(0,1fr);gap:8px!important;background:radial-gradient(at top,#143622,#020905);font-family:Georgia,serif;color:#efdcba;overflow:visible!important}
body #tournamentBrand{grid-column:1/-1;display:flex;justify-content:center;align-items:center;min-height:0}
body #tournamentBrand img{height:70px;width:auto}
body:has(#tournaments:not(.hidden)) .mobile-dock{display:none!important}
body #tournaments>.workspace-section-rail{display:flex!important;flex-direction:column!important;gap:5px!important;min-height:0;padding:10px!important;border:1px solid #675126;border-radius:15px;background:#06180f}
body #tournaments>.workspace-section-rail button{height:auto!important;min-height:44px!important;flex:1;margin:0;padding:8px!important;display:flex!important;align-items:center;gap:10px;background:none;border:1px solid transparent;color:#dcc697;font:17px/1.2 Georgia,serif!important;white-space:normal}
body #tournaments>.workspace-section-rail button.hidden{display:none!important}
body #tournaments>.workspace-section-rail button.selected{background:linear-gradient(#225b28,#07210e);border-color:#a18332}
body #tournaments>.workspace-section-rail button>span{font-size:22px!important;min-width:25px!important;width:auto!important}
body #tournaments>.workspace-section-rail button>strong{font:inherit!important}
body #tournaments .tournament-hub{min-height:0!important;height:100%;margin:0!important;padding:12px!important;box-sizing:border-box;display:grid!important;grid-template-rows:38px 42px 32px 24px minmax(0,1fr) 36px;gap:8px;border:1px solid #80612c;border-radius:15px;background:linear-gradient(120deg,#10231a,#020a07);overflow:visible!important}
body #tournaments button{min-width:0;min-height:36px;margin:0;padding:5px 10px;font:14px/1.2 Georgia,serif!important;white-space:normal;color:#efdcae;background:linear-gradient(#193c20,#06130b);border:1px solid #8d6e35;box-shadow:none}
body #tournaments button::after,body #tournamentActionDialog button::after{content:none!important}
body #tournaments button[aria-pressed=true]{background:linear-gradient(#29632b,#0c3011);border-color:#c19d48;color:#ffdf8e}
body #tournaments button:disabled{opacity:.5}
body #tournaments h2{font:700 24px/1.15 Georgia,serif;color:#e7ba61;margin:0}
body #tournaments h3{font:700 20px/1.2 Georgia,serif;color:#e7c985;margin:0;overflow-wrap:anywhere}
body #tournaments h4{font:700 17px/1.2 Georgia,serif;color:#e4bc6b;margin:0}
body #tournaments p{font:14px/1.25 Georgia,serif;margin:0;color:#c7c8ae}
body #tournaments small{font:12px/1.2 Georgia,serif;color:#b9c59f}
body #tournaments strong{font-weight:700}
body #tournaments .tour-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
body #tournamentFilters{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px;margin:0;padding:0;border:0}
body #tournamentToolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
body #tournamentToolbar label{display:flex;align-items:center;gap:6px;font-size:13px}
body #tournamentMineFilter{width:auto;margin:0;min-height:30px;padding:2px 6px;font:13px Georgia,serif;background:#061d11;color:#efdbb1;border:1px solid #8f703b}
body #tournamentSummary{display:block!important;font:13px/1.2 Georgia,serif;color:#e0c899;min-height:0}
body #tournamentContent{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.38fr);gap:10px;min-height:0}
body #tournamentsBox{display:grid!important;grid-auto-rows:minmax(0,1fr);min-height:0!important;overflow:visible!important;gap:8px}
body #tournaments .tour-row{display:grid;grid-template-columns:minmax(90px,.3fr) minmax(0,1fr) 120px;gap:10px;min-height:0;min-width:0;padding:8px;border:1px solid #74552c;border-radius:12px;background:#06170f}
body #tournaments .tour-economy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:6px;border:1px solid #816a35;border-radius:8px;background:linear-gradient(#283518,#121609);text-align:center;font-size:14px}
body #tournaments .tour-economy svg{height:36px;width:36px}
body #tournaments .tour-copy{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0}
body #tournaments .tour-row-end{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:17px}
body #tournamentPreview{display:flex;flex-direction:column;justify-content:center;gap:14px;min-height:0;padding:12px;border:1px solid #82652d;border-radius:12px;background:linear-gradient(#142619,#061109)}
body #tournaments .tour-preview-art{display:flex;justify-content:center;min-height:0;height:100px}
body #tournaments .tour-preview-art svg,body #tournaments .tour-preview-art img{width:100%;height:100%;object-fit:contain}
body #tournamentPaging,body #tournaments .tour-detail-footer>div{display:flex;justify-content:center;align-items:center;gap:8px;font-size:13px}
body #tournamentDetail{display:none!important}
body #tournaments[data-tournament-screen=detail] #tournamentsBox,body #tournaments[data-tournament-screen=detail] #tournamentPreview{display:none!important}
body #tournaments[data-tournament-screen=detail] #tournamentContent{grid-template-columns:1fr}
body #tournaments[data-tournament-screen=detail] #tournamentDetail{display:grid!important;grid-template-rows:minmax(90px,.7fr) 38px minmax(90px,1fr) 42px;min-width:0;min-height:0;height:100%;padding:8px;margin:0;gap:8px;overflow:visible!important;border:1px solid #7d5a2d;border-radius:12px;background:#071910}
body #tournaments .tour-detail-hero{display:grid;grid-template-columns:100px minmax(0,1fr) 190px;gap:15px;align-items:center;min-height:0}
body #tournaments .tour-art{height:100%;min-height:0;max-height:130px;display:flex;align-items:center;justify-content:center}
body #tournaments .tour-art img,body #tournaments .tour-art svg{width:100%;height:100%;object-fit:contain}
body #tournaments .tour-detail-hero p{margin-top:6px}
body #tournaments .tour-detail-fee{display:flex;flex-direction:column;gap:7px;font-size:18px}
body #tournaments .tour-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body #tournaments .tour-detail-content{display:grid;grid-auto-rows:minmax(0,1fr);gap:6px;min-height:0}
body #tournaments .tour-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:0}
body #tournaments .tour-facts article{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:8px;border:1px solid #5a492d;border-radius:9px;min-width:0;font-size:15px}
body #tournaments .tour-detail-buttons{display:flex;align-items:center;gap:8px}
body #tournaments .tour-person{display:grid;grid-template-columns:minmax(0,1fr) 160px 150px;align-items:center;gap:8px;min-width:0;padding:6px 10px;border:1px solid #5e4c2a;border-radius:8px;font-size:15px}
body #tournaments .tour-person strong{overflow-wrap:anywhere}
body #tournaments .tour-detail-footer{display:flex;justify-content:space-between;align-items:center;gap:6px}
body #tournamentActionDialog{box-sizing:border-box;width:min(720px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px;background:#0a2115;color:#eadbb7;border:1px solid #a9803d;border-radius:13px;overflow:auto}
body #tournamentActionDialog::backdrop{background:#000b}
body #tournamentActionDialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}
body #tournamentActionDialog h2{font:700 23px Georgia,serif;margin:0}
body #tournamentActionDialog button{min-height:44px}
body #tournamentActionBody{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.45 Georgia,serif;margin:16px 0}
body #tournaments .tour-heading{grid-row:1}body #tournamentFilters{grid-row:2}body #tournamentToolbar{grid-row:3}body #tournamentSummary{grid-row:4}body #tournamentContent{grid-row:5}body #tournamentPaging{grid-row:6}
body #tournaments[data-tournament-screen=detail] #tournamentFilters{display:none!important}
body #tournaments[data-tournament-screen=detail] .tournament-hub{grid-template-rows:38px 0px 32px 24px minmax(0,1fr) 0px!important}
@media(max-width:480px){body #tournaments[data-tournament-screen=detail] .tournament-hub{grid-template-rows:38px 0px 32px 40px minmax(0,1fr) 0px!important}}
@media(max-height:420px){body #tournaments[data-tournament-screen=detail] .tournament-hub{grid-template-rows:25px 0px 24px 18px minmax(0,1fr) 0px!important}}
body #tournamentFilters button{overflow-wrap:anywhere}
body #tournaments>.workspace-section-rail button>strong{min-width:0;overflow-wrap:anywhere}
@media(min-width:1101px){body #tournaments>.workspace-section-rail button{font-size:15px!important}}
@media(max-height:420px){body #tournaments .tour-detail-buttons button{min-height:22px!important}body #tournaments .tour-facts article{padding:2px!important;gap:1px!important;font-size:9px!important}}
@media(max-width:1100px){body #tournaments.view:not(.hidden){grid-template-columns:1fr!important;grid-template-rows:40px minmax(0,1fr);gap:5px!important;padding:5px!important}body #tournamentBrand{display:none}body #tournaments>.workspace-section-rail{flex-direction:row!important;gap:4px!important;padding:0!important;border:0}body #tournaments>.workspace-section-rail button{justify-content:center;min-height:30px!important;padding:4px!important;font-size:13px!important}body #tournaments>.workspace-section-rail button>span{display:none}body #tournamentContent{grid-template-columns:1fr}body #tournamentPreview{display:none}body #tournaments .tournament-hub{padding:8px!important}body #tournaments .tour-detail-hero{grid-template-columns:60px minmax(0,1fr) 160px}}
@media(max-width:480px){body #tournaments .tournament-hub{grid-template-rows:38px 52px 32px 40px minmax(0,1fr) 36px;gap:6px}body #tournamentFilters button{font-size:11px!important;padding:3px}body #tournaments .tour-row{grid-template-columns:78px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 42px;padding:6px;gap:6px}body #tournaments .tour-row-end{grid-column:1/-1;flex-direction:row;justify-content:space-between;gap:5px;font-size:14px}body #tournaments h3{font-size:18px}body #tournaments .tour-economy{font-size:13px;padding:4px}body #tournaments .tour-detail-hero{grid-template-columns:42px minmax(0,1fr);gap:6px}body #tournaments .tour-detail-fee{grid-column:1/-1;flex-direction:row;justify-content:space-between;font-size:13px;gap:5px}body #tournaments .tour-detail-fee small{font-size:11px}body #tournaments .tour-facts{grid-template-columns:1fr 1fr}body #tournaments .tour-facts article{padding:5px;font-size:13px;gap:3px}body #tournaments .tour-person{grid-template-columns:minmax(0,1fr) 80px;gap:5px;font-size:13px}body #tournaments .tour-person small{grid-column:1/-1}body #tournaments[data-tournament-screen=detail] #tournamentDetail{grid-template-rows:130px 38px minmax(120px,1fr) 70px;padding:6px;gap:6px}body #tournaments .tour-detail-footer{flex-wrap:wrap;justify-content:center}body #tournaments .tour-detail-footer button{font-size:12px!important;padding:5px}}
@media(max-height:420px){body #tournaments.view:not(.hidden){grid-template-rows:28px minmax(0,1fr)}body #tournaments>.workspace-section-rail button{min-height:25px!important;font-size:11px!important}body #tournaments .tournament-hub{padding:5px!important;grid-template-rows:25px 28px 24px 18px minmax(0,1fr) 25px;gap:3px}body #tournaments h2{font-size:17px}body #tournaments h3{font-size:13px}body #tournaments button{min-height:24px;font-size:10px!important;padding:2px 5px}body #tournamentSummary,body #tournamentToolbar,body #tournamentToolbar label{font-size:10px}body #tournamentMineFilter{min-height:22px;font-size:10px}body #tournamentsBox{gap:4px}body #tournaments .tour-row{grid-template-columns:80px minmax(0,1fr) 95px;gap:6px;padding:4px}body #tournaments .tour-economy{font-size:11px;gap:2px;padding:2px}body #tournaments .tour-economy svg{display:none}body #tournaments .tour-copy,body #tournaments .tour-row-end{gap:2px}body #tournaments .tour-row-end{font-size:12px}body #tournaments p,body #tournaments small{font-size:10px}body #tournaments .tour-copy>small:last-child{display:none}body #tournaments[data-tournament-screen=detail] .tournament-hub{grid-template-rows:25px 28px 24px 18px minmax(0,1fr) 0px}body #tournaments[data-tournament-screen=detail] #tournamentDetail{grid-template-rows:42px 25px minmax(30px,1fr) 25px;padding:3px;gap:3px}body #tournaments .tour-detail-hero{grid-template-columns:30px minmax(0,1fr) 150px;gap:6px}body #tournaments .tour-detail-hero p{margin:0;font-size:9px}body #tournaments .tour-detail-fee{font-size:11px;gap:2px}body #tournaments .tour-facts{gap:3px}body #tournaments .tour-facts article{padding:3px;font-size:10px;gap:2px}body #tournaments .tour-detail-content{gap:3px}body #tournaments .tour-detail-content:has(.tour-facts){grid-template-columns:minmax(0,1fr) 90px}body #tournaments .tour-detail-buttons{flex-direction:column;gap:2px;justify-content:center}body #tournaments .tour-person{grid-template-columns:minmax(0,1fr) 115px 100px;padding:2px 5px;font-size:11px}body #tournaments .tour-detail-footer>div{gap:4px;font-size:10px}}
