/* WopaDeal "Didysis sandoris" — sandėlio / kurjerių tema */
.wg{--ink:#14263a;--muted:#667689;--green:#137b56;--lime:#cfee98;--gold:#f2c96a;--red:#e4705f;--deep:#0c2423;--panel:#12332f;max-width:1280px;margin:8px auto 70px;padding:0 20px;color:var(--ink);font-family:system-ui,sans-serif}
.wg *{box-sizing:border-box}
.wg [hidden]{display:none!important}
.wg button{font:inherit;cursor:pointer}
.wg button:disabled{opacity:.55;cursor:default}
.wg button:focus-visible{outline:3px solid #338ecc;outline-offset:3px}

/* viršus */
.wg-top{display:flex;justify-content:space-between;gap:12px 16px;font-size:14px;font-weight:700;margin-bottom:14px;align-items:center;flex-wrap:wrap}
.wg-top a{color:var(--green);text-decoration:none}
.wg-top span{color:var(--muted)}
.wg-tools{display:flex;align-items:center;gap:14px}
.wg-tools>span{letter-spacing:2px;font-size:10px}
.wg #wg-sound{background:#e8f3ec;border:1px solid #b5d4c2;border-radius:30px;padding:9px 14px;color:#175e42;font-size:12px;font-weight:750;min-width:140px}
.wg #wg-sound[aria-pressed=true]{background:#174e3b;color:#ddffb1}

/* hero */
.wg-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px 42px 50px;border-radius:24px;color:#fff;border:1px solid #31654c;background:radial-gradient(ellipse at 88% 10%,#4a7f3a 0,transparent 55%),linear-gradient(115deg,#0f2b2f,#163f32);box-shadow:0 14px 40px #12362b20}
.wg-eyebrow{font-size:13px;font-weight:800;letter-spacing:2px;color:#36b584}
.wg h1{font-size:50px;letter-spacing:-2px;line-height:1.05;margin:14px 0 0}
.wg h1>span{display:block;color:#fff}
.wg h1>small{display:block;font-size:24px;letter-spacing:-.5px;color:#c1eb9f;margin-top:12px;font-weight:700}
.wg-hero p{color:#c5d5d4;max-width:520px;line-height:1.7;margin:14px 0 0}
.wg-stamp{position:relative;z-index:1;flex:none;font-size:84px;font-weight:900;color:#b8e780;transform:rotate(-8deg);border:2px solid #6a9270;border-radius:25px;padding:10px 25px;line-height:1;background:#174330;box-shadow:9px 9px 0 #0a211d50}
.wg-stamp span{display:block;font-size:11px;letter-spacing:3px;line-height:1.5;text-align:center;margin-top:10px}
.wg-belt{position:absolute;left:0;right:0;bottom:0;height:22px;background:repeating-linear-gradient(90deg,#0a1f20 0 18px,#0f2a2b 18px 20px);border-top:2px solid #234c3f;overflow:hidden}
.wg-belt i{position:absolute;bottom:4px;width:18px;height:13px;border-radius:3px;background:linear-gradient(#e9c18a,#c9955a);box-shadow:inset 0 -3px 0 #a9743a;animation:wg-belt 14s linear infinite}
.wg-belt i:nth-child(1){left:-30px}.wg-belt i:nth-child(2){left:-30px;animation-delay:-3s;width:24px}.wg-belt i:nth-child(3){left:-30px;animation-delay:-6s}.wg-belt i:nth-child(4){left:-30px;animation-delay:-9s;width:22px}.wg-belt i:nth-child(5){left:-30px;animation-delay:-11.5s}
@keyframes wg-belt{to{transform:translateX(1400px)}}

/* skirtukai */
.wg-tabs{display:flex;gap:8px;margin:0;flex-wrap:wrap}
.wg-tabs button{font-size:16px;padding:10px 18px;border-radius:30px;border:1px solid #dce4df;background:#fff;color:var(--ink);font-weight:650;transition:background .2s,transform .2s}
.wg-tabs button:hover{transform:translateY(-2px)}
.wg-tabs button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.wg-notice{background:#f1f5ed;border:1px solid #e0e9d8;border-radius:12px;padding:12px 18px;font-size:15px;margin-bottom:22px}

/* scena: kairė lentelė | arena | dešinė lentelė */
.wg-top{scroll-margin-top:8px}.wg-stage{display:grid;grid-template-columns:178px minmax(0,1fr) 178px;gap:18px;align-items:start}
.wg-ladder{position:sticky;top:16px;background:#0f2c2a;border:1px solid #2a5548;border-radius:18px;padding:14px 12px;color:#eaffe5}
.wg-ladder h3{margin:0 0 8px;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#9fd18b;text-align:center}
.wg-amounts{display:grid;gap:3px}
.wg-amounts span{display:block;display:flex;align-items:center;justify-content:center;height:31px;padding:0 6px;line-height:1;border-radius:6px;text-align:center;font-size:17px;font-weight:750;font-variant-numeric:tabular-nums;background:#1d4a3f;border-left:3px solid #6fcf9f;color:#eaffe5;transition:opacity .3s}
.wg-ladder-high .wg-amounts span{background:#4a3c1c;border-left-color:var(--gold);color:#ffeab3}
.wg-amounts .out{opacity:.28;text-decoration:line-through;filter:grayscale(.8)}
.wg-amounts .out.hit{opacity:.55;background:#5a2a24;border-left-color:var(--red);color:#ffc8be;filter:none}
.wg-ladder .wg-small{margin:12px 0 0;color:#a9c7bb;font-size:12px;line-height:1.5;text-align:center}
.wg-small{font-size:13px;color:var(--muted);line-height:1.7}

/* arena */
.wg-arena{position:relative;border-radius:22px;padding:26px;background:radial-gradient(ellipse at 50% 20%,#21483e,#0f2b2a 85%);box-shadow:0 18px 35px #102c2b1a;border:1px solid #31564a;color:#f4fff7;overflow:hidden}
.wg-arena:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#c6eab10c 1px,transparent 1px);background-size:18px 18px;pointer-events:none}
.wg-arena>*{position:relative}
.wg-status{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wg-status small{font-size:12px;letter-spacing:2px;color:#b1d39e;font-weight:800}
.wg h2{font-size:30px;margin:8px 0 14px;letter-spacing:-.7px;color:#fff;text-wrap:balance}
.wg-status-r>span{background:#ffffff10;color:#daf5bb;border:1px solid #8bbd7940;padding:8px 12px;border-radius:9px;font-variant-numeric:tabular-nums}
.wg-progress{height:5px;border-radius:10px;background:#ffffff12;margin:4px 0 8px;overflow:hidden}
.wg-progress>div{height:100%;width:0;background:linear-gradient(90deg,#55ca99,#dcf49e);transition:width .5s;border-radius:10px}
#wg-message{padding:15px 20px;background:#ffffff09;border:1px solid #bce2b320;color:#dcebdc;font-size:17px;line-height:1.6;border-radius:12px;min-height:56px}
.wg.has-offer #wg-message{display:none}
.wg-own-display{display:inline-flex;align-items:center;padding:10px 15px;background:#f2c96a18;border:1px solid #f2c96a80;border-radius:8px;margin-top:0;font-size:14px;letter-spacing:1px;color:#ffe2a0;font-weight:800}
#wg-error{color:#ffbaab;margin-top:12px}

/* pirkėjo skambutis (modalinis langas) */
.wg-bank{color:#fff6dc;border:1px solid #f2c96a;border-radius:26px;background:radial-gradient(ellipse at 50% 0,#4d4015,#151e18 80%);padding:0;width:min(780px,calc(100vw - 28px));max-height:94dvh;overflow:auto;box-shadow:0 30px 120px #000a,0 0 60px #f2c96a25}
.wg-bank::backdrop{background:#061b1ad9;backdrop-filter:blur(6px)}
.wg-bank-content{padding:30px 34px 30px}
.wg-offer-call{display:none;flex-direction:column;align-items:center;gap:20px;padding:40px 0;text-align:center;font-size:28px;font-weight:800;color:#ffe2a0;letter-spacing:-.4px}
.wg-phone{display:inline-flex;width:96px;height:96px;align-items:center;justify-content:center;border-radius:50%;background:#f2c96a;color:#3b2f0a;font-size:48px;animation:wg-ring .5s ease-in-out infinite,wg-pulse 1.2s ease-out infinite}
.wg-bank.is-calling .wg-offer-call{display:flex}
.wg-bank.is-calling .wg-offer-body,.wg-bank.is-calling .wg-bank-actions{display:none}
.wg-offer-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:26px;align-items:end}
.wg-offer-main small,.wg-offer-hist small{font-size:13px;letter-spacing:2px;text-transform:uppercase;font-weight:800;color:#e9cf8a}
.wg-offer-num{display:flex;align-items:baseline;gap:12px;margin:8px 0 6px;flex-wrap:wrap}
.wg-offer-num strong{font-size:80px;line-height:1;letter-spacing:-3px;color:#ffe08a;font-variant-numeric:tabular-nums;text-shadow:0 0 30px #f2c96a50}
.wg-offer-num em{font-style:normal;font-size:15px;letter-spacing:2px;text-transform:uppercase;color:#d8c27c;font-weight:800}
.wg-offer-main p{margin:8px 0 0;font-size:17px;line-height:1.5;color:#efe5c3}
.wg-hist{display:flex;align-items:flex-end;gap:10px;height:110px;margin-top:10px}
.wg-hbar{flex:1;min-width:0;max-width:56px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;color:#d9c98f;font-variant-numeric:tabular-nums}
.wg-hbar i{display:block;width:100%;border-radius:5px 5px 0 0;background:linear-gradient(#f2c96a,#b48a2a);min-height:6px}
.wg-hbar span{white-space:nowrap;font-size:12px;font-weight:700}
.wg-hbar b{font-size:12px;opacity:.7}
.wg-bank-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@keyframes wg-ring{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(14deg)}}
@keyframes wg-pulse{0%{box-shadow:0 0 0 0 #f2c96a90}100%{box-shadow:0 0 0 34px #f2c96a00}}

/* siuntos */
.wg-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px;margin:12px 0 6px}
.wg-box{position:relative;isolation:isolate;overflow:hidden;height:66px;padding:0;border:0;border-radius:9px;color:#3a2815;background:linear-gradient(160deg,#ebc590,#cf9b5c);box-shadow:inset 0 0 0 1px #f6d9aa90,inset 0 -8px 0 #b27a3f,0 8px 0 #06201d,0 12px 16px #0005;transition:transform .18s,filter .18s,box-shadow .18s}
.wg-box:before{content:'';position:absolute;top:0;bottom:0;left:calc(50% - 9px);width:18px;z-index:-1;background:linear-gradient(90deg,#efd8a8,#f9ead0,#e6cc98)}
.wg-box:after{content:'';position:absolute;left:0;right:0;top:11px;height:1px;background:#7a4f2330;z-index:-1}
.wg-box-label{position:relative;display:inline-flex;min-width:44px;justify-content:center;padding:5px 9px;border-radius:6px;background:#fffaf0;font-size:24px;font-weight:850;box-shadow:0 2px 0 #6a461a30;transform:rotate(-2deg);font-variant-numeric:tabular-nums}
.wg-box:nth-child(3n) .wg-box-label{transform:rotate(2deg)}
.wg-box:hover:not(:disabled){transform:translateY(-6px);filter:brightness(1.07);box-shadow:inset 0 0 0 1px #f6d9aa90,inset 0 -8px 0 #b27a3f,0 14px 0 #06201d,0 20px 24px #0005}
.wg-box:disabled{cursor:default}
.wg-box.own{background:linear-gradient(160deg,#f8de90,#e0b04a);box-shadow:inset 0 0 0 1px #fff3b8,inset 0 -8px 0 #b48520,0 8px 0 #06201d,0 0 28px #f2c96a55}
.wg-box.own:before{background:linear-gradient(90deg,#f5d36e,#ffeaa8,#e8c25a)}
.wg-box.own em{position:absolute;left:0;right:0;bottom:5px;font-style:normal;font-size:9px;font-weight:900;letter-spacing:1px;color:#4a3607}
.wg-box.own .wg-box-label{transform:translateY(-9px)}
.wg-box.dim{background:#0b2322;box-shadow:inset 0 0 0 1px #4d7a6a55;color:#a1b9ae;transform:none;filter:none}
.wg-box.dim:before,.wg-box.dim:after{display:none}
.wg-box.dim .wg-box-label{font-size:19px;background:none;box-shadow:none;transform:none;padding:0;color:inherit}
.wg-box.dim.lo{color:#9fe0b6}
.wg-box.dim.hi{color:#ffb4a6;box-shadow:inset 0 0 0 1px #e4705f60}

/* veiksmai */
.wg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.wg-actions:empty{display:none}
:is(.wg-actions,.wg-bank-actions) button{font-size:17px;padding:14px 22px;border:1px solid #628a69;border-radius:10px;background:#254b40;color:#ecffe6;font-weight:700;box-shadow:0 3px 0 #071f1b60;transition:transform .15s}
:is(.wg-actions,.wg-bank-actions) button:hover:not(:disabled){transform:translateY(-2px)}
:is(.wg-actions,.wg-bank-actions) button.primary{background:linear-gradient(130deg,#d8ee9d,#a2d877);color:#213d25;border-color:#d1ec9c}
:is(.wg-actions,.wg-bank-actions) button.deal{background:linear-gradient(130deg,#ffe08a,#f2b84a);color:#3b2a05;border-color:#ffe9aa;font-size:17px;padding:15px 28px}
:is(.wg-actions,.wg-bank-actions) button.nodeal{background:#3a2420;border-color:#a8665a;color:#ffd9d2}
:is(.wg-actions,.wg-bank-actions) button.haggle{background:#17352f;border-style:dashed}

/* pabaigos suvestinė */
.wg-summary{margin-top:22px;padding:20px 22px;border-radius:16px;background:#ffffff0c;border:1px solid #a9e37a50}
.wg-sum-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wg-sum-grid div{background:#0b2322;border-radius:12px;padding:12px 14px;border:1px solid #2f594b}
.wg-sum-grid small{display:block;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:#9fc7ae;font-weight:800}
.wg-sum-grid strong{display:block;margin-top:6px;font-size:30px;letter-spacing:-.8px;font-variant-numeric:tabular-nums;color:#fff}
.wg-sum-grid .res strong{color:var(--lime)}
.wg-summary p{margin:14px 0 0;font-size:17px;line-height:1.6;color:#e1efe0}
.wg-summary.up{border-color:#a9e37a90}.wg-summary.down{border-color:#e4705f80}

/* kortelės (sezonai, taisyklės) */
.wg-card{border:1px solid #e1e7e6;border-radius:20px;padding:30px;background:#fff}
.wg-card p,.wg-card li{line-height:1.8;color:#607083}.wg-card li{margin:10px 0}
.wg-season-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.wg-season-grid article{background:#f4f7f5;border-radius:14px;padding:20px}
.wg-season-grid b{font-size:10px;letter-spacing:1px;color:var(--green)}
.wg-empty{padding:28px;margin-top:22px;text-align:center;border:1px dashed #cdd9d2;border-radius:12px;color:#64746e;line-height:1.8}

/* atidarymo langas */
.wg-reveal{color:#ecffe7;border:1px solid #91b98470;border-radius:28px;background:radial-gradient(ellipse at 50% 35%,#326448,#0c2828 80%);padding:0;width:min(520px,calc(100vw - 28px));max-height:92dvh;overflow:auto;box-shadow:0 30px 120px #0008}
.wg-reveal::backdrop{background:#061b1ac9;backdrop-filter:blur(7px)}
.wg-reveal-content{padding:36px 24px 28px;text-align:center;position:relative;overflow:hidden}
.wg-reveal .wg-eyebrow{color:#cbefa1;font-size:15px;letter-spacing:2px}
.wg-reveal p{color:#c5dbc6;font-size:16px;min-height:1.4em}
.wg-reveal #wg-reveal-caption{font-weight:750;font-size:19px}
.wg-reveal.is-bad{background:radial-gradient(ellipse at 50% 35%,#6b2e27,#240f10 82%);border-color:#e4705f90}
.wg-reveal.is-bad #wg-reveal-caption{color:#ffb4a6}
.wg-reveal.is-bad .wg-prize strong{background:#ffd9d1;color:#4a1710}
.wg-reveal.is-good #wg-reveal-caption{color:#d6f5a5}
.wg-close{position:absolute;right:12px;top:10px;font-size:26px;background:transparent;color:#c6d6c4;border:0;width:38px;height:38px;border-radius:50%}
.wg-big-parcel{position:relative;margin:70px auto 32px;width:220px;height:160px;border-radius:8px;background:linear-gradient(135deg,#f0c58f,#bd813c);border:2px solid #f2cd9a;box-shadow:0 15px 0 #061d1c60,0 0 80px #e5df7820;isolation:isolate}
.wg-big-parcel:before{content:'';position:absolute;top:0;bottom:0;left:43%;width:14%;background:#f5dca8a0}
.wg-lid{position:absolute;top:-14px;left:-9px;right:-9px;height:37px;background:linear-gradient(#f3d2a5,#c69458);border:2px solid #f9d6a4;border-radius:5px;z-index:2;transform-origin:10% 100%;transition:transform .65s,opacity .65s}
.wg-big-parcel>span{position:absolute;left:50%;top:65px;transform:translateX(-50%);font-size:32px;font-weight:900;color:#583b20;background:#fff1d5;padding:5px 16px;border-radius:5px;transition:opacity .3s}
.wg-prize{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transform:translateY(25px) scale(.7);transition:transform .6s,opacity .5s;color:#183521;z-index:3}
.wg-prize strong{font-size:44px;line-height:1.1;background:#eaffc0;padding:9px 16px;border-radius:9px;box-shadow:0 4px 30px #18351b30;font-variant-numeric:tabular-nums}
.wg-prize small{margin-top:10px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:2px}
.is-open .wg-lid{transform:translateY(-48px) rotate(-12deg);opacity:.65}
.is-open>span{opacity:0}
.is-open .wg-prize{opacity:1;transform:translateY(-4px) scale(1)}
.wg-reveal.is-final{width:min(680px,calc(100vw - 28px));border-color:#d8e58a}
.wg-reveal.is-final .wg-big-parcel{width:300px;height:210px;margin-top:85px;box-shadow:0 15px 0 #061d1c60,0 0 100px #e5df7850}
.wg-reveal.is-final .wg-prize strong{font-size:62px}
.wg-reveal.is-final .wg-big-parcel>span{font-size:44px;top:80px}
.wg-reveal #wg-next{border:1px solid #d7eea1;padding:13px 40px;background:#cce991;color:#25452d;border-radius:12px;font-weight:800}
.wg-reveal #wg-next:focus-visible{outline:3px solid #fff;outline-offset:4px}

/* kompaktinis režimas žaidimo metu: viskas telpa į ekraną be slinkimo */
.wg-status-r{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.wg.is-playing .wg-top{margin-bottom:10px}
.wg.is-playing .wg-hero{padding:14px 26px 34px;border-radius:18px}
.wg.is-playing .wg-hero .wg-eyebrow,.wg.is-playing .wg-hero p,.wg.is-playing .wg-stamp{display:none}
.wg.is-playing h1{font-size:30px;margin:0;letter-spacing:-1px;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.wg.is-playing h1>small{font-size:19px;margin:0}
.wg.is-playing .wg-notice,.wg.is-playing .wg-ladder .wg-small{display:none}
.wg.is-playing:not(.has-result) #wg-message{display:none}
.wg.is-playing .wg-arena{padding:16px 22px}
.wg.is-playing h2{margin:4px 0 8px}

/* planšetė */
@media(max-width:1020px){
 .wg-stage{grid-template-columns:minmax(0,1fr)}
 .wg-arena{order:1}.wg-ladder-low{order:2}.wg-ladder-high{order:3}
 .wg-ladder{position:static}
 .wg-amounts{grid-template-columns:repeat(5,minmax(0,1fr))}
 .wg-amounts span{padding:8px 2px;font-size:12px}
 .wg-hero{padding:28px 28px 46px}.wg-stamp{display:none}
 .wg h1{font-size:40px}.wg-season-grid{grid-template-columns:1fr}
 .wg-offer-body{grid-template-columns:1fr}
}
/* telefonas */
@media(max-width:480px){
 .wg{padding:0 12px}
 .wg-top{font-size:10px}.wg-tools{gap:8px}.wg-tools>span{display:none}
 .wg #wg-sound{min-width:0;font-size:11px;padding:8px 12px}
 .wg-hero{padding:24px 20px 44px}.wg h1{font-size:32px}.wg h1>small{font-size:20px}
 .wg-tabs{gap:5px}.wg-tabs button{font-size:12px;padding:10px 12px}
 .wg-arena{padding:17px 12px}.wg h2{font-size:21px}
 .wg-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 8px}
 .wg-box{height:62px}.wg-box-label{font-size:19px;padding:3px 6px;min-width:34px}.wg-box.dim .wg-box-label{font-size:15px}
 .wg-box.own em{font-size:7px;bottom:6px}
 .wg-amounts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .wg-bank-content{padding:22px 18px}.wg-offer-num strong{font-size:56px}.wg-offer-call{font-size:22px}
 :is(.wg-actions,.wg-bank-actions) button{flex:1 1 130px;font-size:13px}:is(.wg-actions,.wg-bank-actions) button.deal{font-size:15px;flex-basis:100%}
 .wg-sum-grid{grid-template-columns:1fr}
 .wg-card{padding:20px}
 .wg-reveal.is-final .wg-big-parcel{width:240px;height:180px}.wg-reveal.is-final .wg-prize strong{font-size:48px}
 .wg-reveal-content{padding:40px 16px 25px}
}
@media(prefers-reduced-motion:reduce){.wg *{animation:none!important;transition:none!important}.wg-box:hover:not(:disabled){transform:none}}

/* V8: compact mobile arena; preserve buyer call and offer dialogs. */
@media(max-width:1020px){
 .wg-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .wg-stage>.wg-arena{grid-column:1/-1;order:0}
 .wg-stage>.wg-ladder-low{grid-column:1;order:1}
 .wg-stage>.wg-ladder-high{grid-column:2;order:2}
 .wg-ladder{min-width:0;padding:10px 8px;border-radius:12px}
 .wg-ladder h3{font-size:10px;letter-spacing:1px;margin-bottom:7px}
 .wg-ladder .wg-amounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 .wg-ladder .wg-amounts span{height:26px;padding:0 2px;font-size:12px;border-left-width:2px}
 .wg-ladder .wg-small{display:none}
}
@media(max-width:600px){
 .wg{padding:0 9px;margin:5px auto 18px}
 .wg-top,.wg.is-playing .wg-top{display:grid;grid-template-columns:auto 1fr;gap:7px;margin-bottom:8px;align-items:center}
 .wg-top>a{font-size:10px}.wg-tools{justify-self:end;grid-column:2;grid-row:1}
 .wg-tools>span{display:none}
 .wg #wg-sound{min-width:0;padding:6px 10px;font-size:10px}
 .wg-tabs{grid-column:1/-1;grid-row:2;display:flex;gap:5px;flex-wrap:nowrap}
 .wg-tabs button{padding:8px 7px;font-size:11px;flex:1;min-width:0}
 .wg-hero,.wg.is-playing .wg-hero{padding:11px 15px 24px;border-radius:13px;gap:0}
 .wg h1,.wg.is-playing h1{font-size:25px;letter-spacing:-.8px;margin:0;display:block}
 .wg h1>small,.wg.is-playing h1>small{font-size:14px;margin:5px 0 0}
 .wg-hero .wg-eyebrow,.wg-hero p,.wg-stamp{display:none}
 .wg-belt{height:13px}.wg-belt i{height:8px;bottom:2px;width:13px}
 .wg-notice{padding:7px 10px;font-size:10px;line-height:1.4;margin-bottom:8px}
 .wg-arena,.wg.is-playing .wg-arena{padding:11px 10px;border-radius:14px}
 .wg-status{gap:7px;align-items:flex-start}
 .wg-status>div:first-child{flex:1;min-width:0}
 .wg-status small{font-size:9px;letter-spacing:.7px;line-height:1.3;display:block}
 .wg h2,.wg.is-playing h2{font-size:18px;line-height:1.2;margin:4px 0 7px;letter-spacing:-.4px;text-wrap:initial}
 .wg-status-r{flex-direction:column;align-items:flex-end;gap:5px;flex-wrap:nowrap;max-width:44%}
 .wg-own-display{padding:5px 7px;font-size:9px;line-height:1.2;letter-spacing:.3px;white-space:nowrap}
 .wg-status-r>span{font-size:11px;padding:3px 7px;border-radius:6px}
 .wg-progress{height:4px;margin:3px 0 8px}
 .wg #wg-message{padding:8px 10px;font-size:12px;line-height:1.4;min-height:0;border-radius:8px}
 .wg-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 6px;margin:10px 0 5px}
 .wg-box{height:46px;border-radius:6px;box-shadow:inset 0 0 0 1px #f6d9aa90,inset 0 -5px 0 #b27a3f,0 4px 0 #06201d}
 .wg-box-label{font-size:17px;padding:2px 5px;min-width:27px;border-radius:4px}
 .wg-box.dim .wg-box-label{font-size:14px}
 .wg-box.own{box-shadow:inset 0 0 0 1px #fff3b8,inset 0 -5px 0 #b48520,0 4px 0 #06201d,0 0 15px #f2c96a35}
 .wg-box.own em{font-size:5px;letter-spacing:.2px;bottom:4px}
 .wg-box.own .wg-box-label{transform:translateY(-5px)}
 .wg-actions{gap:7px;margin-top:12px}
 .wg-actions button{font-size:12px;padding:10px 12px;min-height:40px}
 .wg-summary{margin-top:12px;padding:9px;border-radius:10px}
 .wg-sum-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .wg-sum-grid div{padding:7px 5px;border-radius:7px;min-width:0}
 .wg-sum-grid small{font-size:8px;line-height:1.35;letter-spacing:.3px;overflow-wrap:anywhere}
 .wg-sum-grid strong{font-size:23px;margin-top:5px;letter-spacing:-.4px}
 .wg-summary p{font-size:12px;line-height:1.4;margin-top:8px}
 .wg-card{padding:16px}.wg-card h2{color:var(--ink)}
}
@media(hover:none){.wg-box:hover:not(:disabled){transform:none;filter:none}}
/* V9: focused game header and compact mobile board. */
.wg .wg-top{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;margin-bottom:7px}
.wg .wg-tools{display:flex;gap:6px}.wg .wg-tools>span{display:none}
.wg #wg-info-open{border:1px solid #b5d4c2;background:#e8f3ec;color:#175e42;border-radius:20px;font-size:11px;font-weight:750;padding:8px 12px;min-height:36px}
.wg .wg-hero,.wg.is-playing .wg-hero{justify-content:center;text-align:center;padding:16px 16px 30px}
.wg .wg-hero-text{width:100%}.wg .wg-stamp{display:none}
.wg .wg-hero h1,.wg.is-playing .wg-hero h1{display:block;text-align:center}
.wg .wg-hero h1>span{letter-spacing:-1px;font-weight:850}
.wg .wg-hero h1>small{display:block;margin:7px 0 0;font-weight:550}
.wg .wg-hero p{margin-left:auto;margin-right:auto}
.wg-info{position:fixed;width:min(680px,calc(100vw - 24px));max-height:88dvh;padding:44px 16px 16px;border:1px solid #547868;border-radius:20px;background:#f4f7f2;color:#14263a;overflow:auto;box-shadow:0 25px 100px #0006}
.wg-info::backdrop{background:#061b1ac9;backdrop-filter:blur(6px)}
.wg-info>.wg-close{color:#234c3c}.wg-info>.wg-tabs{justify-content:center;margin-bottom:15px;display:flex}
.wg-info>.wg-tabs button{font-size:13px;padding:9px 16px}
.wg-info .wg-card{padding:18px;border:0;border-radius:12px}.wg-info .wg-card h2{color:#14263a;font-size:24px}
.wg-info .wg-card p,.wg-info .wg-card li{font-size:14px;line-height:1.6}
.wg-amounts-toggle{display:none}
@media(max-width:600px){
 .wg .wg-top>a{font-size:10px}.wg #wg-sound{min-height:36px;font-size:10px;padding:7px 10px}
 .wg .wg-hero,.wg.is-playing .wg-hero{padding:12px 12px 22px;margin-bottom:8px}
 .wg .wg-hero h1,.wg.is-playing .wg-hero h1{font-size:27px;line-height:1.1}
 .wg .wg-hero h1>small,.wg.is-playing .wg-hero h1>small{font-size:13px;margin-top:5px}
 .wg .wg-notice{display:none}.wg .wg-arena,.wg.is-playing .wg-arena{padding:10px}
 .wg .wg-board{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 5px;margin:9px 0 4px}
 .wg .wg-box{height:44px}.wg .wg-box-label{font-size:16px;min-width:24px;padding:2px 4px}
 .wg .wg-box.dim .wg-box-label{font-size:12px}.wg .wg-box.own em{font-size:4px;letter-spacing:0}
 .wg .wg-status h2{font-size:17px}.wg .wg-status small{font-size:8px}
 .wg:not(.has-result) #wg-message{display:none}
 .wg .wg-actions{margin-top:10px}.wg .wg-actions button{font-size:12px;padding:10px 12px}
 .wg-amounts-toggle{display:block;grid-column:1/-1;order:1;text-align:center;border:1px solid #b7cabd;background:#e8eee7;color:#28543e;padding:10px;font-size:12px;font-weight:700;border-radius:10px}
 .wg-amounts-toggle:after{content:' ＋'}.wg-amounts-toggle[aria-expanded=true]:after{content:' −'}
 .wg:not(.show-amounts) .wg-ladder{display:none}
 .wg-stage>.wg-ladder-low{order:2}.wg-stage>.wg-ladder-high{order:3}
 .wg-info .wg-card h2{font-size:21px}.wg-info .wg-tabs button{font-size:12px;padding:8px 12px}
 .wg.has-result .wg-board{display:none}
}
/* V10: game information dialog */
.wg-info{width:min(720px,calc(100vw - 28px));padding:49px 22px 22px;color:#e9f5e9;border:1px solid #67845d;border-radius:23px;background:radial-gradient(ellipse at 0 0,#30563b 0,transparent 60%),linear-gradient(145deg,#153b32,#0c2526);box-shadow:0 30px 110px #0008,0 0 45px #b6d98712}
.wg-info::backdrop{background:#061a1bd9;backdrop-filter:blur(9px)}
.wg-info>.wg-close{top:10px;right:12px;width:32px;height:32px;color:#e3efda;background:#ffffff0b;border:1px solid #b8d29d33;font-size:23px}
.wg-info>.wg-close:hover{background:#ffffff18}
.wg-info>.wg-tabs{gap:6px;padding:5px;background:#071f2066;border:1px solid #a6c89825;border-radius:13px;margin:0 0 16px}
.wg-info>.wg-tabs button{flex:1;border:0;background:transparent;color:#aec6b4;font-weight:700;font-size:14px;border-radius:9px;padding:10px 16px;transform:none}
.wg-info>.wg-tabs button[aria-pressed=true]{background:linear-gradient(120deg,#d4e9a1,#a7d77c);color:#213d2a;box-shadow:0 3px 10px #0002}
.wg-info .wg-card{border:0;background:transparent;padding:0 5px;color:#eff7e8}
.wg-info .wg-card h2{font-size:26px;line-height:1.2;margin:7px 0 17px;color:#eff9e7;letter-spacing:-.6px}
.wg-info .wg-card p,.wg-info .wg-card li{color:#c3d5c6;font-size:14px;line-height:1.6}
.wg-info .wg-card ol{counter-reset:wg-rule;list-style:none;padding:0;margin:0;display:grid;gap:7px}
.wg-info .wg-card li{counter-increment:wg-rule;position:relative;padding:11px 13px 11px 47px;margin:0;background:#ffffff05;border:1px solid #b5cc9d20;border-radius:10px;min-height:42px}
.wg-info .wg-card li:before{content:counter(wg-rule,decimal-leading-zero);position:absolute;left:12px;top:12px;color:#c6e49c;font-size:12px;font-weight:800;letter-spacing:1px}
.wg-info .wg-card ol+p{font-size:12px;line-height:1.55;margin:14px 0 0;padding:10px 12px;border-left:2px solid #9fc780;background:#ffffff05;border-radius:0 6px 6px 0;color:#a8c0ae}
.wg-info .wg-eyebrow{color:#b9dd92;font-size:10px}
.wg-info .wg-season-grid{gap:9px;margin-top:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.wg-info .wg-season-grid article{background:#ffffff06;border:1px solid #a5c98d30;border-radius:12px;padding:13px}
.wg-info .wg-season-grid b{font-size:20px;letter-spacing:-1px;color:#bbdb8f}
.wg-info .wg-season-grid h3{font-size:15px;line-height:1.3;color:#e5f2de;margin:8px 0}
.wg-info .wg-season-grid p{font-size:12px;margin:0;color:#b4cdbb}
.wg-info .wg-empty{padding:12px;margin-top:12px;font-size:12px;line-height:1.5;color:#acc8b5;border-color:#7b9b6a60;background:#081f2040}
/* Desktop and laptop: compact header and board */
@media(min-width:1021px){
 .wg{max-width:1200px;margin:6px auto 20px;padding:0 16px}
 .wg .wg-top,.wg.is-playing .wg-top{margin-bottom:6px;font-size:12px}
 .wg .wg-hero,.wg.is-playing .wg-hero{padding:10px 20px 24px;border-radius:14px;margin-bottom:8px}
 .wg .wg-hero .wg-eyebrow,.wg .wg-hero p{display:none}
 .wg .wg-hero h1,.wg.is-playing .wg-hero h1{font-size:29px;line-height:1.1;margin:0}
 .wg .wg-hero h1>small,.wg.is-playing .wg-hero h1>small{font-size:14px;margin-top:5px}
 .wg .wg-belt{height:13px}.wg .wg-belt i{height:8px;bottom:2px}
 .wg .wg-notice{padding:6px 12px;margin-bottom:8px;font-size:11px}
 .wg-stage{grid-template-columns:142px minmax(0,1fr) 142px;gap:12px}
 .wg-ladder{padding:10px 8px;border-radius:12px;top:8px}
 .wg-ladder h3{font-size:10px;letter-spacing:1px;margin-bottom:7px}
 .wg-ladder .wg-amounts{gap:3px}.wg-ladder .wg-amounts span{height:24px;font-size:13px;padding:0 3px}
 .wg-ladder .wg-small{display:none}
 .wg .wg-arena,.wg.is-playing .wg-arena{padding:13px 16px;border-radius:15px}
 .wg-status small{font-size:10px;letter-spacing:1px}
 .wg h2,.wg.is-playing h2{font-size:23px;margin:3px 0 8px}
 .wg-own-display{font-size:11px;padding:6px 10px}.wg-status-r>span{font-size:12px;padding:5px 8px}
 .wg #wg-message{font-size:13px;padding:8px 12px;min-height:0;line-height:1.4}
 .wg-board{gap:8px 9px;margin:10px 0 4px}
 .wg-box{height:49px;box-shadow:inset 0 0 0 1px #f6d9aa90,inset 0 -5px 0 #b27a3f,0 4px 0 #06201d}
 .wg-box-label{font-size:20px;padding:3px 7px;min-width:34px}.wg-box.dim .wg-box-label{font-size:16px}
 .wg-box.own .wg-box-label{transform:translateY(-6px)}.wg-box.own em{font-size:7px;bottom:4px}
 .wg-actions{margin-top:12px;gap:8px}.wg-actions button{font-size:13px;padding:10px 16px}
 .wg-summary{margin-top:12px;padding:11px 13px;border-radius:11px}
 .wg-sum-grid{gap:7px}.wg-sum-grid div{padding:8px 10px}.wg-sum-grid small{font-size:9px;letter-spacing:1px}.wg-sum-grid strong{font-size:23px;margin-top:3px}
 .wg-summary p{font-size:13px;margin-top:8px;line-height:1.4}
 .wg.has-result .wg-board{display:none}
}
@media(min-width:1021px) and (max-height:760px){
 .wg .wg-hero,.wg.is-playing .wg-hero{padding:7px 16px 17px}
 .wg .wg-hero h1,.wg.is-playing .wg-hero h1{font-size:25px}
 .wg .wg-hero h1>small,.wg.is-playing .wg-hero h1>small{font-size:12px;margin-top:3px}
 .wg-box{height:44px}.wg-board{gap:7px 8px}.wg-ladder .wg-amounts span{height:21px}
 .wg .wg-notice{display:none}
}
@media(max-width:600px){.wg-info{padding:48px 14px 16px;border-radius:17px}.wg-info .wg-card h2{font-size:22px}.wg-info .wg-season-grid{grid-template-columns:1fr}.wg-info .wg-card li{font-size:13px;padding-top:9px;padding-bottom:9px}.wg-info .wg-card li:before{top:10px}}
/* V11: desktop arena scales to available screen space. */
@media(min-width:1021px){
 .wg{width:96%;max-width:1500px;padding:0 18px;margin:8px auto 24px}
 .wg-stage{grid-template-columns:clamp(155px,12vw,190px) minmax(0,1fr) clamp(155px,12vw,190px);gap:18px}
 .wg .wg-arena,.wg.is-playing .wg-arena{padding:18px 22px}
 .wg .wg-hero,.wg.is-playing .wg-hero{padding:12px 22px 26px}
 .wg .wg-hero h1,.wg.is-playing .wg-hero h1{font-size:34px}
 .wg .wg-hero h1>small,.wg.is-playing .wg-hero h1>small{font-size:16px;margin-top:5px}
 .wg .wg-status h2,.wg.is-playing .wg-status h2{font-size:28px;line-height:1.2}
 .wg .wg-status small{font-size:11px}
 .wg .wg-own-display{font-size:12px;padding:8px 11px}
 .wg .wg-status-r>span{font-size:14px;padding:6px 10px}
 .wg .wg-board{gap:12px;margin:15px 0 7px}
 .wg .wg-box{height:clamp(58px,7.8vh,82px)}
 .wg .wg-box-label{font-size:27px;min-width:40px;padding:5px 10px}
 .wg .wg-box.dim .wg-box-label{font-size:21px}
 .wg .wg-box.own em{font-size:8px;bottom:5px;letter-spacing:.7px}
 .wg .wg-box.own .wg-box-label{transform:translateY(-8px)}
 .wg .wg-ladder{padding:12px 10px}
 .wg .wg-ladder h3{font-size:11px;letter-spacing:1px;margin-bottom:9px}
 .wg .wg-ladder .wg-amounts span{height:clamp(25px,3.45vh,35px);font-size:16px}
 .wg .wg-actions{margin-top:15px}
 .wg .wg-actions button{font-size:16px;padding:12px 20px}
 .wg #wg-message{font-size:15px;padding:10px 14px}
}
@media(min-width:1021px) and (max-height:760px){
 .wg .wg-hero,.wg.is-playing .wg-hero{padding:8px 18px 20px}
 .wg .wg-hero h1,.wg.is-playing .wg-hero h1{font-size:29px}
 .wg .wg-hero h1>small,.wg.is-playing .wg-hero h1>small{font-size:13px}
 .wg .wg-arena,.wg.is-playing .wg-arena{padding:13px 18px}
 .wg .wg-board{gap:9px 12px;margin-top:10px}
 .wg .wg-box{height:clamp(50px,7.4vh,57px)}
 .wg .wg-box-label{font-size:24px}
 .wg .wg-ladder .wg-amounts span{height:clamp(22px,3.4vh,26px)}
 .wg .wg-status h2,.wg.is-playing .wg-status h2{font-size:24px}
}
/* V12: localized game wordmark with a glowing parcel emblem. */
.wg .wg-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 30%,#ffdf6b12,transparent 65%);pointer-events:none}
.wg .wg-brand{display:flex;justify-content:center;align-items:center;gap:17px;position:relative;margin:0 auto;max-width:100%}
.wg .wg-brand-mark{display:block;flex:none;width:88px;height:76px;overflow:visible;filter:drop-shadow(0 4px 7px #0005)}
.wg .wg-brand h1,.wg.is-playing .wg-brand h1{display:block;text-align:left;margin:0;line-height:1.12}
.wg .wg-brand h1>span{font-weight:900;letter-spacing:-.9px;color:#fff5d6;background:linear-gradient(180deg,#fffdf1 10%,#fff0bb 55%,#dfb75c 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 0 #785820) drop-shadow(0 3px 7px #0005);padding-bottom:3px}
.wg .wg-brand h1>small,.wg.is-playing .wg-brand h1>small{color:#c9dfb9;font-weight:550;letter-spacing:.3px;margin-top:4px;text-shadow:0 1px 4px #0005}
.wg .wg-brand-spark{animation:wg-brand-shine 4s ease-in-out infinite;transform-origin:60px 30px}
.wg .wg-brand-rays{animation:wg-brand-rays 4s ease-in-out infinite}
@keyframes wg-brand-shine{0%,100%{opacity:.6}50%{opacity:1;filter:drop-shadow(0 0 4px #fff6b5)}}
@keyframes wg-brand-rays{0%,100%{opacity:.35}50%{opacity:.9}}
@media(min-width:1021px){.wg .wg-hero,.wg.is-playing .wg-hero{padding-top:5px;padding-bottom:20px}.wg .wg-brand h1,.wg.is-playing .wg-brand h1{font-size:37px}.wg .wg-brand-mark{width:85px;height:72px}.wg .wg-brand h1>small,.wg.is-playing .wg-brand h1>small{font-size:14px}}
@media(min-width:1021px) and (max-height:760px){.wg .wg-brand-mark{width:70px;height:59px}.wg .wg-brand h1,.wg.is-playing .wg-brand h1{font-size:31px}.wg .wg-brand h1>small,.wg.is-playing .wg-brand h1>small{font-size:12px}}
@media(max-width:1020px){.wg .wg-brand-mark{width:76px;height:66px}.wg .wg-brand h1,.wg.is-playing .wg-brand h1{font-size:32px}}
@media(max-width:600px){.wg .wg-brand{gap:10px}.wg .wg-brand-mark{width:57px;height:52px}.wg .wg-brand h1,.wg.is-playing .wg-brand h1{font-size:clamp(20px,5.7vw,28px);letter-spacing:-.5px}.wg .wg-brand h1>small,.wg.is-playing .wg-brand h1>small{font-size:11px;line-height:1.3;letter-spacing:0}.wg .wg-hero,.wg.is-playing .wg-hero{padding:8px 9px 20px}}
@media(prefers-reduced-motion:reduce){.wg .wg-brand-spark,.wg .wg-brand-rays{animation:none}}
@media(forced-colors:active){.wg .wg-brand h1>span{background:none;-webkit-text-fill-color:CanvasText;filter:none}}
/* V13: small WopaDeal signature beside the game title. */
.wg .wg-brand-site{position:absolute;right:20px;bottom:21px;display:flex;align-items:center;justify-content:center;width:142px;height:43px;padding:4px 8px;background:#fffdf3;border:1px solid #eadcaf;border-radius:9px;box-shadow:0 3px 12px #0003;z-index:2;text-decoration:none;transition:transform .2s}
.wg .wg-brand-site img{display:block;width:126px;height:auto;max-width:100%;object-fit:contain}
.wg .wg-brand-site:hover{transform:translateY(-2px)}
.wg .wg-brand-site:focus-visible{outline:3px solid #f3d47c;outline-offset:3px}
@media(max-width:1100px){.wg .wg-brand-site{right:12px;width:108px;height:33px;padding:3px 6px;bottom:20px}.wg .wg-brand-site img{width:96px}}
@media(max-width:800px){.wg .wg-hero,.wg.is-playing .wg-hero{display:block}.wg .wg-brand-site{position:relative;right:auto;bottom:auto;margin:5px 0 0 auto;width:95px;height:28px;padding:2px 5px;border-radius:6px}.wg .wg-brand-site img{width:85px}}
/* V14: arena signature and restrained header illustrations. */
.wg .wg-arena-signature{display:flex;align-items:center;justify-content:center;margin:13px 0 0;padding:10px 0 1px;border-top:1px solid #accb9c16}
.wg .wg-arena-signature .wg-brand-site{position:static;right:auto;bottom:auto;margin:0;width:135px;height:37px;padding:3px 7px;background:#fffdf3e8;border-color:#e3d3a970;border-radius:7px;box-shadow:0 2px 8px #0002}
.wg .wg-arena-signature .wg-brand-site img{width:121px;height:auto}
.wg .wg-hero-decor{position:absolute;left:4%;top:50%;width:190px;height:82px;transform:translateY(-50%);pointer-events:none;opacity:.6;z-index:0;animation:wg-decor-float 7s ease-in-out infinite}
.wg .wg-hero-decor svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 8px #d8e59c15)}
.wg .wg-hero-decor-right{left:auto;right:4%;transform:translateY(-50%) scaleX(-1);animation-name:wg-decor-float-right;animation-delay:-3s}
.wg .wg-hero-text{position:relative;z-index:1}
@keyframes wg-decor-float{0%,100%{transform:translateY(-50%) rotate(-2deg)}50%{transform:translateY(-54%) rotate(1deg)}}
@keyframes wg-decor-float-right{0%,100%{transform:translateY(-50%) scaleX(-1) rotate(2deg)}50%{transform:translateY(-54%) scaleX(-1) rotate(-1deg)}}
@media(max-width:1200px){.wg .wg-hero-decor{left:1%;width:140px;opacity:.4}.wg .wg-hero-decor-right{left:auto;right:1%}}
@media(max-width:900px){.wg .wg-hero-decor{width:100px;left:-20px;opacity:.17}.wg .wg-hero-decor-right{left:auto;right:-20px}}
@media(max-width:600px){.wg .wg-arena-signature{margin-top:10px;padding-top:9px}.wg .wg-arena-signature .wg-brand-site{width:105px;height:29px;padding:2px 6px}.wg .wg-arena-signature .wg-brand-site img{width:93px}.wg .wg-hero-decor{width:80px;left:-28px;opacity:.13}.wg .wg-hero-decor-right{left:auto;right:-28px}}
@media(prefers-reduced-motion:reduce){.wg .wg-hero-decor{animation:none}}
/* Season controls */
.wg-season-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0;color:#295d42;font-size:12px}.wg-season-controls select,.wg-season-controls button,.wg-season-controls a{border:1px solid #b5cbb9;background:#eff5e9;color:#254d37;border-radius:8px;padding:8px 11px;font:inherit;text-decoration:none}.wg-season-controls span{margin-left:auto;font-size:11px}.wg-season-picker{display:block;color:#c4dda9;font-size:13px}.wg-season-picker select{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #7e9e72;background:#163c32;color:#f2f8dd;border-radius:9px}.wg-rank-scroll{overflow:auto;margin:12px 0}.wg-rank-scroll table{width:100%;border-collapse:collapse;font-size:12px;color:#e3f1d9}.wg-rank-scroll th,.wg-rank-scroll td{padding:8px 10px;border-bottom:1px solid #b5dca125;text-align:left;white-space:nowrap}.wg-rank-scroll tbody tr:nth-child(-n+16){background:#c7e39508}#wg-season-live h3{color:#d0e9aa;margin-top:22px}#wg-season-live form{display:flex;align-items:end;gap:8px}#wg-season-live label{color:#bcd8b4;font-size:12px;flex:1}#wg-season-live input{display:block;width:100%;margin-top:6px;padding:9px;background:#0d2d28;color:white;border:1px solid #587a58;border-radius:8px}#wg-season-live button{padding:10px;background:#c7e395;color:#244626;border-radius:8px;border:0}#wg-season-error{color:#ffc0a8;margin-top:10px}@media(max-width:600px){.wg-season-controls{gap:5px;font-size:10px}.wg-season-controls select,.wg-season-controls button,.wg-season-controls a{padding:7px 8px}.wg-season-controls span{flex-basis:100%;margin-left:0}.wg-rank-scroll th,.wg-rank-scroll td{padding:7px}.wg-info .wg-season-grid{display:none}}
/* V16: a single progress entry point, with all related navigation inside. */
.wg-info .wg-progress-heading{color:#eef6df;font-size:23px;letter-spacing:-.5px;margin:0 40px 17px 5px;line-height:1.2}
.wg-info .wg-access-row{display:flex;justify-content:flex-end;margin:0 0 13px}
.wg-info .wg-access-row a{display:inline-block;padding:8px 12px;color:#d4eaa9;background:#ffffff08;border:1px solid #9dbd7f50;border-radius:8px;font-size:12px;text-decoration:none}
.wg-info .wg-access-row a:hover{background:#b9d59318}
.wg-info .wg-access-row a:focus-visible{outline:3px solid #cfe49a;outline-offset:3px}
.wg-info .wg-tabs{grid-column:auto;grid-row:auto}
@media(max-width:600px){.wg-info .wg-progress-heading{font-size:21px;margin-bottom:13px}.wg-info .wg-access-row a{font-size:11px}.wg .wg-season-controls span{margin-left:auto;flex-basis:auto}.wg .wg-season-controls select{max-width:100%}}
/* V17: identified players see automatic saving; only guests see email access. */
.wg #wg-player-summary[hidden],.wg #wg-save-progress[hidden]{display:none!important}
.wg .wg-player-summary{padding:19px 20px;margin:2px 0 18px;border-radius:15px;background:linear-gradient(125deg,#c3e29a12,#ffffff03);border:1px solid #b9d59350}
.wg .wg-player-summary>small{display:block;font-size:10px;font-weight:800;letter-spacing:.8px;color:#c6e79b;text-transform:uppercase}
.wg .wg-player-summary>strong{display:block;font-size:25px;line-height:1.2;margin-top:8px;color:#f1f8e7;overflow-wrap:anywhere}
.wg .wg-player-summary>p{font-size:12px;line-height:1.6;color:#b6cfb8;margin:8px 0 0}
.wg .wg-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}
.wg .wg-profile-stats>div{padding:11px 12px;border:1px solid #aacd8d20;border-radius:9px;background:#0b29263d;min-width:0}
.wg .wg-profile-stats span{display:block;font-size:10px;color:#a9c1ad;line-height:1.4}
.wg .wg-profile-stats b{display:block;font-size:22px;color:#d1eaa7;margin-top:3px}
.wg .wg-guest-summary{color:#bad0b7;font-size:13px;margin:2px 0 10px;line-height:1.5}
.wg .wg-access-row:has(a[hidden]){display:none}
.wg .wg-access-row:has(a:not([hidden])){justify-content:stretch;margin-bottom:19px}
.wg .wg-access-row a:not([hidden]){width:100%;text-align:center;padding:12px 16px;background:linear-gradient(115deg,#d6eaa4,#acd87e);border-color:#c6df92;color:#23472a;font-size:13px;font-weight:800}
.wg-info #wg-season .wg-season-grid,.wg-info #wg-season .wg-eyebrow,.wg-info #wg-season h2[data-i18n="seasonTitle"],.wg-info #wg-season p[data-i18n="seasonMessage"]{display:none}
.wg .wg-season-picker{margin-top:3px}
@media(max-width:600px){.wg .wg-player-summary{padding:14px;margin-bottom:15px}.wg .wg-player-summary>strong{font-size:22px}.wg .wg-profile-stats{gap:5px}.wg .wg-profile-stats>div{padding:8px}.wg .wg-profile-stats b{font-size:19px}.wg .wg-profile-stats span{font-size:9px}}
/* v15: profile buttons and a compact profile panel within the progress dialog. */
.wg-info .wg-profile-actions{display:flex;gap:8px;margin-top:13px}.wg-info .wg-profile-actions a{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #b7d48a;border-radius:10px;background:linear-gradient(120deg,#d4e9a1,#a7d77c);color:#213d2a;font-size:13px;font-weight:750;text-decoration:none;box-shadow:0 3px 10px #0002}.wg-info .wg-rank-scroll a{color:#d4e9a1;text-decoration:none;border-bottom:1px dotted #9cbd77}.wg-info .wg-rank-scroll a:hover{color:white}.wg-info-players{overflow:hidden!important}.wg-info-players #wg-players{min-height:0}.wg-info #wg-profile-frame{display:block;width:100%;height:min(650px,calc(88dvh - 170px));min-height:240px;border:0;border-radius:15px;background:#edf2eb}.wg-info-players .wg-tabs{margin-bottom:10px}@media(max-width:600px){.wg-info #wg-profile-frame{height:calc(90dvh - 145px)}.wg-info .wg-profile-actions a{min-height:42px}.wg-info>.wg-tabs button{padding:9px 6px;font-size:11px}}
