/* Static top area above the game drawer. "משחק, לא סקר" always visible. */
html.gt-on body{padding-bottom:calc(var(--gd-peek,76px) + 12px)}
html.gt-on body>main#app{display:none}
.gd-b main#app{display:block!important;min-height:0!important;padding-top:0;background:transparent}
.gd-b main#app #foot{display:none}
#gtTop{direction:rtl;font-family:var(--f,system-ui,"Segoe UI",Arial,sans-serif);color:#fff;background:radial-gradient(120% 80% at 50% 0%,color-mix(in srgb,var(--org,#111) 70%,#000) 0%,#07080a 70%);min-height:100vh;min-height:100dvh;padding:max(12px,env(safe-area-inset-top)) 14px 16px;box-sizing:border-box}
#gtTop *{box-sizing:border-box}
.gt-wrap{max-width:1120px;margin:0 auto;display:grid;gap:12px}
.gt-bar{display:flex;align-items:center;gap:10px;min-height:44px}
.gt-bar .gt-name{font:800 17px/1.2 inherit;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gt-bar img{height:28px;width:auto}
.gt-chip{flex:none;font:700 12px/1 inherit;padding:7px 10px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.gt-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:12px 14px}
.gt-me{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center}
.gt-me div{display:grid;gap:2px;min-width:0}
.gt-me b{font:900 22px/1.05 inherit;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-me span{font:600 11px/1.2 inherit;opacity:.65}
.gt-me .gt-party b{font-size:15px;line-height:1.5;color:var(--pc,#fff)}
.gt-stats{display:grid;gap:8px}
.gt-stats .row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.gt-stats .big{font:900 34px/1 inherit;font-variant-numeric:tabular-nums}
.gt-stats .lbl{font:600 12px inherit;opacity:.65}
.gt-cd{font:800 15px inherit;font-variant-numeric:tabular-nums;text-align:left}
.gt-cd small{display:block;font:600 11px inherit;opacity:.6}
.gt-spark{width:100%;height:64px;display:block}
.gt-frz{font:700 12px/1.4 inherit;color:#ffd27a}
.gt-tick{overflow:hidden;white-space:nowrap;border-radius:12px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);height:36px;display:flex;align-items:center;position:relative}
.gt-tick i{flex:none;width:8px;height:8px;border-radius:50%;background:#ff3b3b;box-shadow:0 0 8px #ff3b3b;margin:0 10px}
.gt-tick .tr{display:inline-flex;gap:36px;font:600 13px inherit;animation:gtk 28s linear infinite;padding-inline-start:100%}
@keyframes gtk{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.gt-tick .tr{animation:none;padding:0}}
.gt-grp .hd{display:flex;justify-content:space-between;align-items:center;font:700 14px inherit;margin-bottom:8px}
.gt-grp .hd span{font:600 12px inherit;opacity:.65}
.gt-av{display:flex;flex-wrap:wrap;gap:6px;min-height:34px;align-items:center}
.gt-av i{width:32px;height:32px;border-radius:50%;background:hsl(var(--h) 65% 45%);border:2px solid rgba(255,255,255,.7);display:inline-block}
.gt-av i.np{opacity:.45}
.gt-av em{font:600 12px inherit;opacity:.65;font-style:normal}
.gt-wa{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;width:100%;border:0;border-radius:16px;background:#25d366;color:#06240f;font:900 18px inherit;text-decoration:none;box-shadow:0 8px 24px rgba(37,211,102,.25);cursor:pointer}
.gt-wa svg{width:26px;height:26px}
.gt-note{font:500 11.5px/1.5 inherit;opacity:.7;text-align:center;margin:0}
.gt-note b{font-weight:800}
@media (min-width:900px){
 #gtTop{padding:24px 28px 16px}
 .gt-wrap{grid-template-columns:1.25fr 1fr;grid-template-areas:"bar bar" "stats me" "stats grp" "stats wa" "tick tick" "note note";align-items:start}
 .gt-bar{grid-area:bar}.gt-me{grid-area:me}.gt-stats{grid-area:stats;align-self:stretch}.gt-grp{grid-area:grp}.gt-wa{grid-area:wa}.gt-tick{grid-area:tick}.gt-note{grid-area:note}
 .gt-spark{height:140px}
}
@media (min-width:1800px){.gt-wrap{max-width:1500px}.gt-spark{height:200px}.gt-me b{font-size:28px}}
@media (max-width:360px){.gt-me b{font-size:18px}.gt-stats .big{font-size:28px}}

/* Community feed is primary; pyramid details stay optional. */
html.gt-community-on,html.gt-community-on body{margin:0;overflow:hidden;padding:0;max-width:none;background:#f7f7fa}
html.gt-community-on #gtCommunity{height:100dvh;max-width:none;margin:0}
.gt-social-stats{flex:none;position:relative;background:#fff;border-bottom:1px solid #dedee6;z-index:5;color:#25252e}
.gt-social-stats>summary{list-style-position:inside;cursor:pointer;min-height:44px;padding:12px 16px;font-size:14px;font-weight:650}
.gt-social-stats #gtTop{position:absolute;top:44px;inset-inline:12px;min-height:0!important;max-height:calc(100dvh - 240px);overflow-y:auto;border-radius:18px;padding:16px;box-shadow:0 12px 38px #0004}
.gt-social-stats .gt-wrap{display:grid;grid-template-columns:1fr;grid-template-areas:none;max-width:680px;gap:10px}
.gt-social-stats .gt-wrap>*{grid-area:auto}.gt-social-stats .gt-spark{height:64px}.gt-social-stats .gt-note{opacity:1;color:#c8c8d0}
@media(prefers-reduced-motion:reduce){.gt-social-stats *{animation:none!important;transition:none!important}}

/* Focus inside a translated drawer must not scroll its viewport host. */
html.gt-community-on .gd-host{overflow:clip}
