:root{color-scheme:light;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#26453d;background:#b5cb9f;--ink:#26453d;--soft:#596d5b;--paper:#fffaf0;--edge:#788d7355;--green:#2a5044;--yellow:#efc25d;--mono:'Consolas','Courier New',monospace;--shadow:0 3px 0 #38514417,0 5px 22px #2e51432b}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button,a,input,textarea,canvas{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #377c67;outline-offset:2px}a{color:#2d6656;text-underline-offset:3px}[hidden]{display:none!important}.sprite{width:0;height:0;position:absolute;overflow:hidden}svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;vertical-align:middle}
.experience{height:100vh;height:100svh;position:relative;isolation:isolate;overflow:hidden;background:#b1c9aa}.experience canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#map{cursor:grab;touch-action:none}#map:active{cursor:grabbing}#map.is-pointing{cursor:pointer}#map:focus-visible{outline-offset:-4px}#actors{pointer-events:none}.surface{border:1px solid var(--edge);background:var(--paper);box-shadow:var(--shadow);border-radius:12px}
.hud{position:absolute;z-index:5;top:15px;left:17px;right:17px;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:13px;padding:8px 10px;background:#fffaf0f7}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);white-space:nowrap}.brand img{display:block}.brand strong{display:block;font:700 25px/.99 Georgia,'Times New Roman',serif;letter-spacing:-.048em}.brand small,.kicker{display:block;color:#557260;font:800 9px/1.35 var(--mono);letter-spacing:.14em}.brand small{margin-bottom:3px}.stats,.top-actions{display:flex;align-items:center;gap:9px}.stats{gap:13px}.population{border:1px solid #d6dfc4;background:#edf0dd;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:750;white-space:nowrap}.population:hover,.subtle:hover{background:#e8efdb}.population i,.profile-now i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#589577;box-shadow:0 0 0 3px #6b9f722d;margin:0 5px 1px 0}.clock{display:grid;gap:2px;border-left:1px solid #e0dfcd;padding-left:13px;white-space:nowrap}.clock small{font:700 8px/1 var(--mono);letter-spacing:.075em;color:#607364}.clock strong{font:750 15px/1 var(--mono);color:#315345}.button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:7px;padding:8px 10px;font-weight:750;font-size:12px;white-space:nowrap;min-height:35px}.button svg{width:16px;height:16px}.button.primary{color:#fffaf0;background:var(--green);border-color:#22473d}.button.primary:hover{background:#386757}.button.subtle{background:#f6f4e5;border-color:#e0e2cd}.button.subtle[aria-expanded=true]{background:#e4ecd3;border-color:#9fb79d}
.district{position:absolute;top:91px;left:17px;display:flex;align-items:center;gap:9px;padding:8px 10px;z-index:2;background:#fffaf0ec}.district svg{width:17px;height:17px}.district b,.district small{display:block;line-height:1.3}.district b{font-size:11px}.district small{font-size:10px;color:var(--soft);margin-top:1px}.filter-chip{position:absolute;top:146px;left:17px;z-index:3;display:flex;align-items:center;gap:6px;padding:4px 8px;font-size:11px;font-weight:750}.filter-chip button{border:0;background:transparent;border-radius:5px;padding:2px}.filter-chip button:hover{background:#e7ebd6}.filter-chip svg{width:14px;height:14px}.loading{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%);z-index:6;padding:14px 18px;font-weight:700;font-size:13px;max-width:90%;text-align:center}
.controls{position:absolute;z-index:2;right:17px;bottom:30px;display:grid;gap:7px;justify-items:end}.control-stack{overflow:hidden;border-radius:8px;display:grid}.controls button{display:flex;align-items:center;justify-content:center;gap:5px;font-weight:750;background:#fffaf1;color:var(--ink)}.control-stack button{width:39px;height:35px;border:0;padding:0}.control-stack button+button{border-top:1px solid #e1e1cd}.controls button:hover{background:#e8efd9}.control-stack button:focus-visible{outline-offset:-3px}.fit{height:37px;border-radius:8px;padding:5px 9px;font-size:10px}.fit svg{width:16px;height:16px}
.search{position:absolute;left:50%;transform:translateX(-50%);bottom:26px;z-index:4;width:min(480px,calc(100% - 330px));display:flex;align-items:center;gap:8px;padding:5px 5px 5px 11px;background:#fffaf1f7}.search>svg{color:#587667;width:17px;height:17px}.search input{border:0;background:transparent;min-width:0;flex:1;font-size:13px;padding:6px 2px}.search input:focus-visible{outline-offset:-1px}.search .button{min-height:33px;padding:5px 11px}.search p{position:absolute;bottom:calc(100% + 7px);left:0;right:0;margin:0;padding:8px 10px;background:#fffaf0;border-radius:8px;border:1px solid var(--edge);font-size:12px}.credits{position:absolute;left:17px;bottom:7px;z-index:2}.credits button{background:#fff8e9c9;border:0;border-radius:4px;padding:3px 6px;font-size:9px;color:#385c51}.credits button:hover{text-decoration:underline}
.profile,.teams{position:absolute;right:17px;top:91px;width:min(311px,calc(100% - 34px));padding:12px;z-index:4;background:#fffaf1f7}.profile-head{display:grid;grid-template-columns:46px 1fr 27px;align-items:start;gap:8px}.kit-tile{width:46px;height:46px;border:1px solid #e1e2cb;border-radius:9px;display:grid;place-items:center;background:#e8edd8}.kit-tile svg{width:34px;height:34px;stroke:none}.profile h1{font-size:16px;overflow-wrap:anywhere;line-height:1.17;margin:3px 0 2px}.club{font-size:12px;font-weight:750;color:#45695b}.icon-button{display:grid;place-items:center;border:1px solid #e0e1ce;background:#f6f5e6;border-radius:6px;width:29px;height:29px;padding:0}.icon-button svg{width:15px;height:15px}.icon-button:hover{background:#e4ecd6}.profile-now{margin:11px 0 7px;border-radius:8px;background:#eef1df;display:flex;gap:6px;align-items:flex-start;padding:8px 9px}.profile-now i{margin:4px 4px 0 0;flex:none}.profile-now small{font:750 8px var(--mono);letter-spacing:.10em;display:block;color:#577263}.profile-now strong{font-size:12px;display:block;margin-top:3px}.profile-now span{font-size:11px;color:#587266;display:block;margin-top:2px}.facts{margin:7px 0 10px;display:grid;gap:5px}.facts div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px}.facts dt{color:#5d7465}.facts dd{margin:0;font-weight:750;text-align:right}.profile-actions{display:flex;gap:6px}.profile-actions>*{flex:1}.profile-actions .button{min-height:31px;padding:5px}
.teams{z-index:5;max-height:calc(100% - 178px);overflow:auto;scrollbar-width:thin}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.panel-head h2{font:700 24px/1.1 Georgia,serif;margin:3px 0 0}.teams p,.dialog p{font-size:12px;line-height:1.5;color:#536c5d;margin:8px 0 10px}.team-list,.roster-list{display:grid;gap:5px}.team-row,.roster-row{display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:7px;align-items:center;width:100%;padding:4px 6px;border:1px solid #e1e0cd;border-radius:6px;background:#fcf9ed;text-align:left;font-size:11px;font-weight:700}.team-row:hover,.roster-row:hover{background:#edf1df;border-color:#b1c2a3}.team-row[aria-pressed=true]{background:#dce9cf;border-color:#a5bc99}.team-row svg,.roster-row svg{width:23px;height:23px;stroke:none}.team-row small,.roster-row small{color:#5c7466;font-size:10px}.roster-list{overflow:auto;max-height:48vh;scrollbar-width:thin}.roster-row strong{overflow-wrap:anywhere}
.dialog{width:min(460px,calc(100% - 24px));padding:15px;color:var(--ink);max-height:85svh;overflow:auto}.dialog::backdrop{background:#25443b78}.dialog label{display:block;font-size:12px;font-weight:750;margin:8px 0 4px}.dialog input,.dialog textarea{width:100%;background:#fffdf6;border:1px solid #d1d8c2;border-radius:7px;padding:7px 8px;font-size:13px}.dialog textarea{resize:vertical}.dialog .form-feedback{color:#7c4030;background:#f8e9d9;border-radius:6px;padding:6px 8px}.dialog-footer{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:8px}.dialog-footer small{font-size:10px;color:#64786a}
@media(max-width:720px){.hud{top:8px;left:8px;right:8px;min-height:54px;gap:5px;padding:5px 6px}.brand{gap:5px}.brand img{width:32px;height:32px}.brand strong{font-size:20px}.brand small{font-size:6.4px;letter-spacing:.08em}.stats,.top-actions{gap:4px}.stats .clock{display:none}.population{padding:5px 6px;font-size:10px}.population i{width:5px;height:5px;margin-right:3px}.population span{display:none}.top-actions .button{padding:5px 6px;font-size:10px;min-height:32px}.top-actions .button svg{width:14px;height:14px}.district{top:70px;left:8px;padding:6px 7px;gap:5px}.district small{font-size:9px}.district b{font-size:10px}.district svg{width:14px;height:14px}.filter-chip{left:8px;top:117px}.controls{right:8px;bottom:83px;gap:5px}.control-stack button{width:33px;height:33px}.fit{width:35px;height:35px;padding:0}.fit span{display:none}.search{width:calc(100% - 16px);bottom:26px}.credits{left:8px;bottom:5px}.teams{right:8px;top:70px;max-height:calc(100% - 150px)}.profile{right:auto;left:8px;top:auto;bottom:78px;width:min(294px,calc(100% - 62px));padding:9px}.profile-now{margin-top:7px}.profile .facts{margin-bottom:6px}.profile-actions .button{font-size:11px}}
@media(max-width:460px){.top-actions #open-comment span{display:none}.top-actions #open-comment{width:32px}.top-actions #open-comment svg{width:17px;height:17px}.top-actions #open-teams span{font-size:10px}.brand strong{font-size:19px}}
@media(max-height:520px){.district{display:none}.profile{max-height:calc(100% - 153px);overflow:auto}.filter-chip{top:76px}}
.area-links{position:absolute;top:146px;left:17px;z-index:3;display:flex;gap:4px;padding:4px;background:#fffaf0f2}.area-links button{border:0;border-radius:6px;background:#edf0df;padding:5px 8px;font-size:11px;font-weight:750}.area-links button:hover{background:#dce9cf}.filter-chip{top:188px}.team-group{display:grid;gap:4px}.team-group h3{font:750 9px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#557260;margin:7px 0 0}.team-flag{font-size:14px;vertical-align:middle;margin-right:3px}
@media(max-width:720px){.area-links{top:117px;left:8px}.filter-chip{top:158px}}
@media(max-height:520px){.area-links{top:76px}.filter-chip{top:116px}}
@media(min-height:521px){.district:has(#map-sample:not([hidden]))~.area-links,.district:has(#map-sample:not([hidden]))~.filter-chip{translate:0 12px}}
@media(max-width:355px){.area-links button{font-size:10px;padding-inline:6px}}
@media(max-width:330px){.area-links{gap:2px}.area-links button{padding-inline:4px}}
@media(max-width:520px){.area-links [data-area=campo] span{display:none}}
