/* Jungle Hopper - UI styles. rem based (the root font size is set by game.js from the window size); safe-area insets + 100dvh keep phones tidy.
   Sections: base, top bar + HUD, banner, touch controls, stars, menu extras, world map, cards (win / fail / help / settings / finale), responsive */
:root { --sat: 0px; --sar: 0px; --sab: 0px; --sal: 0px; --gold: #FFD23F; --heart: #FF4A6E; }
html, body { margin: 0; height: 100%; height: 100dvh; overflow: hidden; background: #0f2a1e; overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font-b); color: var(--paper); }
button { font-family: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#app, .jh { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; background: #0f2a1e; }
.btn { gap: .5em; white-space: nowrap; min-height: 2.6em; font-size: 1rem; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--ghost { --bg: rgba(255, 255, 255, .1); --sh: rgba(0, 0, 0, .35); }
.btn--big { font-size: 1.35rem; }
.btn:disabled { opacity: .45; filter: grayscale(.5); pointer-events: none; }
.btn.warn { --bg: var(--orange); --sh: #A02A08; }
.top-l { display: flex; gap: .5rem; }
.ar__tools { margin-left: auto; }
.ar__top { padding-top: calc(.8rem + var(--sat)); }
.ar__tool.is-hidden { display: none; }
.ar__tool { text-decoration: none; color: #fff; }
.ar__tool svg { width: 20px; height: 20px; }

/* ---------- HUD ---------- */
.jh-hud { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
.jh-hud[hidden] { display: none; }
.hud-l { position: absolute; left: calc(1rem + var(--sal)); top: calc(.8rem + var(--sat)); display: flex; align-items: center; gap: .55rem; }
.hud-hearts { display: flex; gap: .15rem; padding: .35rem .6rem; border-radius: 1rem; background: rgba(15, 12, 34, .55); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-hearts i { width: 1.7rem; height: 1.7rem; display: block; transition: transform .2s; }
.hud-hearts svg { width: 100%; height: 100%; stroke: rgba(15, 12, 34, .9); stroke-width: 1.8; }
.hud-hearts i.on svg { fill: var(--heart); filter: drop-shadow(0 0 4px rgba(255, 74, 110, .6)); }
.hud-hearts i.off svg { fill: rgba(255, 255, 255, .12); }
.hud-hearts.hit { animation: hudhit .5s; }
@keyframes hudhit { 20% { transform: translateX(-5px) scale(1.1); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 100% { transform: none; } }
.hud-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem .35rem .5rem; border-radius: 1rem; background: rgba(15, 12, 34, .55); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); line-height: 1; }
.hud-chip[hidden] { display: none; }
.hud-chip b { font-family: var(--font-d); font-weight: 400; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.hud-chip small { font-size: .75rem; font-weight: 800; color: var(--mute); }
.hud-chip .ic { width: 1.5rem; height: 1.5rem; display: block; }
.hud-chip .ic svg { width: 100%; height: 100%; }
.hud-chip .ic.coin svg circle:first-child { fill: var(--gold); stroke: #B8820A; stroke-width: 1.6; } .hud-chip .ic.coin svg .in { fill: none; stroke: #B8820A; stroke-width: 1.4; }
.hud-chip.key .ic svg { stroke: var(--gold); }
.pulse { animation: hudpulse .35s; }
@keyframes hudpulse { 40% { transform: scale(1.18); } }
.hud-gems { display: flex; gap: .3rem; padding: .4rem .6rem; border-radius: 1rem; background: rgba(15, 12, 34, .55); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-gems i { width: 1.4rem; height: 1.4rem; display: block; color: rgba(255, 255, 255, .25); }
.hud-gems i svg { width: 100%; height: 100%; stroke-width: 2; }
.hud-gems i.on.g0 { color: #FF5BA8; filter: drop-shadow(0 0 5px #FF5BA8); } .hud-gems i.on.g1 { color: #2FD6FF; filter: drop-shadow(0 0 5px #2FD6FF); } .hud-gems i.on.g2 { color: #C6FF3D; filter: drop-shadow(0 0 5px #C6FF3D); }
.hud-gems i.on svg { fill: currentColor; fill-opacity: .35; }
.hud-c { position: absolute; left: 50%; top: calc(.8rem + var(--sat)); transform: translateX(-50%); text-align: center; line-height: 1.1; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); display: none; }
.hud-lv { font-weight: 800; font-size: .9rem; opacity: .85; }
.hud-time { font-family: var(--font-d); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.hud-boss { position: absolute; left: 50%; bottom: calc(1.2rem + var(--sab)); transform: translateX(-50%); width: min(60vw, 34rem); text-align: center; }
.hud-boss[hidden] { display: none; }
.hud-boss span { display: block; font-family: var(--font-d); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .5); margin-bottom: .25rem; }
.hud-boss .bar { height: .9rem; border-radius: 99px; background: rgba(15, 12, 34, .75); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25) inset; overflow: hidden; }
.hud-boss .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #FF5B2E, #FFD23F); border-radius: 99px; transition: width .35s; box-shadow: 0 0 12px rgba(255, 91, 46, .8); }
.hud-boss.vul .bar { box-shadow: 0 0 0 2px #FFE35A inset, 0 0 18px rgba(255, 226, 90, .8); animation: vulbar .5s infinite alternate; }
@keyframes vulbar { to { filter: brightness(1.4); } }
body.playing .hud-c { display: block; }
body.playing .ar__top .top-l { display: none; }

/* ---------- banner ---------- */
.jh-ban { position: absolute; z-index: 20; left: 50%; top: 15%; transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; }
.jh-ban small { display: block; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: .95rem; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.jh-ban b { display: block; font-family: var(--font-d); font-weight: 400; font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1; color: var(--bc); text-shadow: 0 5px 0 rgba(0, 0, 0, .45), 0 0 30px rgba(0, 0, 0, .35); white-space: nowrap; }
.jh-ban.show { animation: jhban 2.2s var(--ease) forwards; }
@keyframes jhban { 0% { opacity: 0; transform: translate(-50%, 24px) scale(.85); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.06); } 22% { transform: translate(-50%, 0) scale(1); } 78% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -20px); } }

/* ---------- touch controls (touch devices only) ---------- */
.tc { display: none; position: absolute; inset: 0; z-index: 15; pointer-events: none; }
body.is-touch.playing .tc { display: block; }
.tc-zone { position: absolute; left: 0; bottom: 0; width: 50%; height: 70%; pointer-events: auto; touch-action: none; }
.tc-pad { position: absolute; left: calc(1.4rem + var(--sal)); bottom: calc(1.1rem + var(--sab)); width: 11rem; height: 7rem; margin: 0; border-radius: 99px; background: rgba(15, 12, 34, .35); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22) inset, 0 8px 24px rgba(0, 0, 0, .3); transform: none; transition: opacity .15s; opacity: .85; }
.tc-pad.on { opacity: 1; margin-left: -5.5rem; margin-top: -3.5rem; background: rgba(15, 12, 34, .5); }
.tc-a { position: absolute; width: 0; height: 0; border: .55rem solid transparent; opacity: .45; }
.tc-al { left: .8rem; top: 50%; margin-top: -.55rem; border-right-color: #fff; border-left-width: 0; } .tc-ar { right: .8rem; top: 50%; margin-top: -.55rem; border-left-color: #fff; border-right-width: 0; }
.tc-au { top: .3rem; left: 50%; margin-left: -.55rem; border-bottom-color: #fff; border-top-width: 0; } .tc-ad { bottom: .3rem; left: 50%; margin-left: -.55rem; border-top-color: #fff; border-bottom-width: 0; }
.tc-pad.l .tc-al, .tc-pad.r .tc-ar, .tc-pad.u .tc-au, .tc-pad.d .tc-ad { opacity: 1; filter: drop-shadow(0 0 6px var(--accent)); }
.tc-knob { position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #D8D2FF 50%, #8F86D8); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); pointer-events: none; }
.tc-btn { position: absolute; pointer-events: auto; touch-action: none; border: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: .1rem; color: #fff; font-family: var(--font-d); text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .45), rgba(255, 255, 255, .08) 55%), rgba(15, 12, 34, .5); box-shadow: 0 0 0 3px rgba(255, 255, 255, .3) inset, 0 8px 22px rgba(0, 0, 0, .35); transition: transform .08s, background .1s; }
.tc-btn svg { width: 2rem; height: 2rem; stroke-width: 2.8; } .tc-btn svg .fill { fill: currentColor; }
.tc-btn.on { transform: scale(.92); background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .7), rgba(255, 255, 255, .2) 55%), var(--accent); }
.tc-jump { right: calc(1.8rem + var(--sar)); bottom: calc(1.1rem + var(--sab)); width: 8rem; height: 8rem; }
.tc-dash { right: calc(10.6rem + var(--sar)); bottom: calc(4.2rem + var(--sab)); width: 6.2rem; height: 6.2rem; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: .15rem; }
.star { display: block; width: 1.5rem; height: 1.5rem; }
.star svg { width: 100%; height: 100%; fill: rgba(255, 255, 255, .14); stroke: rgba(15, 12, 34, .75); stroke-width: 1.6; }
.star.on svg { fill: var(--gold); filter: drop-shadow(0 0 5px rgba(255, 210, 63, .65)); }
.stars.mini .star { width: .95rem; height: .95rem; } .stars.mini .star svg { stroke-width: 1.2; }
.bigstars { display: flex; justify-content: center; gap: .5rem; margin: .5rem 0 .4rem; }
.bigstars .star { width: 4.4rem; height: 4.4rem; opacity: 0; animation: starin .55s var(--ease) forwards; animation-delay: var(--d, .3s); }
.bigstars .star:nth-child(2) { margin-top: -.9rem; }
.bigstars .star.on svg { filter: drop-shadow(0 0 12px rgba(255, 210, 63, .85)); }
@keyframes starin { 0% { opacity: 0; transform: scale(2.4) rotate(-40deg); } 60% { opacity: 1; transform: scale(.9) rotate(6deg); } 100% { opacity: 1; transform: none; } }

/* ---------- menu extras ---------- */
.ar__ov--menu { background: linear-gradient(90deg, rgba(10, 24, 18, .86) 0%, rgba(10, 24, 18, .5) 42%, rgba(10, 24, 18, 0) 70%); }
.menu h1 { font-size: clamp(2.8rem, 8.6vw, 6.4rem); }
.mrow2 { margin-top: .8rem; }

/* ---------- world map ---------- */
.ar__ov--map { background: linear-gradient(180deg, rgba(8, 18, 14, .72) 0%, rgba(8, 18, 14, .25) 40%, rgba(8, 18, 14, .82) 100%); padding: calc(.7rem + var(--sat)) calc(1rem + var(--sar)) calc(.8rem + var(--sab)) calc(1rem + var(--sal)); overflow: hidden; touch-action: none; }
.map { display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; height: 100%; max-width: 78rem; width: 100%; margin: 0 auto; animation: arpop .35s var(--ease); }
.map-top { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.map-title small { display: block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wc); }
.map-title h2 { margin: 0; font-family: var(--font-d); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.map-tot { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 1rem; background: rgba(15, 12, 34, .6); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset; }
.map-tot svg { width: 1.4rem; height: 1.4rem; fill: var(--gold); stroke: #8a6400; stroke-width: 1.4; }
.map-tot b { font-family: var(--font-d); font-weight: 400; font-size: 1.35rem; } .map-tot small { color: var(--mute); font-weight: 800; }
.map-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.wtab { border: 0; padding: .45rem .3rem; border-radius: .9rem; color: #fff; background: rgba(15, 12, 34, .55); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .45rem; text-align: left; line-height: 1.05; }
.wtab b { grid-row: 1 / 3; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--wc); color: #0F0C22; font-family: var(--font-d); font-weight: 400; margin-left: .3rem; }
.wtab span { font-weight: 800; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtab small { font-weight: 800; font-size: .7rem; color: var(--mute); } .wtab small svg { width: .8rem; height: .8rem; display: inline-block; vertical-align: -1px; }
.wtab.on { background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 2px var(--wc) inset, 0 0 18px -4px var(--wc); }
.wtab.lk { opacity: .6; }
.map-path { position: relative; min-height: 8rem; }
.map-path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-path .p0 { stroke: rgba(0, 0, 0, .4); stroke-width: 16; fill: none; vector-effect: non-scaling-stroke; }
.map-path .p1 { stroke: var(--wc); stroke-width: 6; stroke-dasharray: 2 14; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; opacity: .9; }
.node { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; background: none; color: #fff; display: grid; justify-items: center; gap: .15rem; }
.node .nb { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-size: 1.5rem; background: radial-gradient(circle at 35% 28%, #fff 0%, var(--wc) 40%, color-mix(in srgb, var(--wc) 55%, #000) 100%); color: #0F0C22; box-shadow: 0 5px 0 rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .85) inset; transition: transform .15s var(--ease); }
.node .nb svg { width: 1.7rem; height: 1.7rem; stroke-width: 2.4; }
.node.lock .nb { background: #3a3560; color: #9A94C7; box-shadow: 0 5px 0 rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .18) inset; }
.node.open .nb { animation: nodebob 1.6s ease-in-out infinite; }
@keyframes nodebob { 50% { transform: translateY(-4px); } }
.node.boss .nb { width: 4.6rem; height: 4.6rem; background: radial-gradient(circle at 35% 28%, #fff 0%, #FF7A3E 40%, #A02A08 100%); }
.node.boss.lock .nb { background: #3a3560; }
.node.sel .nb { transform: scale(1.18); box-shadow: 0 5px 0 rgba(0, 0, 0, .35), 0 0 0 4px var(--gold) inset, 0 0 22px var(--gold); animation: none; }
.node .stars { margin-top: .1rem; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)); }
.map-info { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 1.2rem; background: linear-gradient(180deg, rgba(42, 34, 96, .92), rgba(27, 21, 64, .94)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12) inset, 0 12px 36px rgba(0, 0, 0, .4); }
.mi-l small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mi-l h3 { margin: .1rem 0 .3rem; font-family: var(--font-d); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.lockmsg { font-size: .85rem; font-weight: 700; color: #cfc9f5; }
.mi-goals { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; color: #cfc9f5; }
.mi-goals li { display: flex; align-items: center; gap: .45rem; }
.mi-goals li svg { width: 1.1rem; height: 1.1rem; flex: none; fill: rgba(255, 255, 255, .12); stroke: rgba(15, 12, 34, .7); stroke-width: 1.6; }
.mi-goals li.ok { color: #fff; } .mi-goals li.ok svg { fill: var(--gold); }
.mi-goals em { font-style: normal; color: var(--mute); margin-left: auto; font-size: .8rem; padding-left: .5rem; }
.mi-r { display: grid; justify-items: center; gap: .3rem; } .mi-r .best { color: var(--mute); font-weight: 800; font-size: .72rem; }

/* ---------- cards ---------- */
.card--wide { width: min(780px, 100%); }
.card--win { width: min(600px, 100%); }
.card--fin { width: min(640px, 100%); background: linear-gradient(180deg, #3A2A78, #1B1540); }
.fin-k { font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--lime); }
.win-goals { margin: .2rem auto 1.1rem; max-width: 22rem; text-align: left; }
.help { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; text-align: left; margin: 0 0 1.2rem; }
.help h4 { margin: 0 0 .5rem; font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; color: var(--lime); letter-spacing: .04em; }
.hl { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; font-size: .92rem; font-weight: 600; color: #DCD7FF; line-height: 1.35; }
.hl kbd { margin: 0 .15rem; } .hl b { color: #fff; }
.set { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: center; margin: .8rem 0; text-align: left; font-weight: 800; }
.set label { color: #DCD7FF; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.6rem; background: transparent; touch-action: none; }
input[type=range]::-webkit-slider-runnable-track { height: .6rem; border-radius: 9px; background: rgba(255, 255, 255, .18); }
input[type=range]::-moz-range-track { height: .6rem; border-radius: 9px; background: rgba(255, 255, 255, .18); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6rem; height: 1.6rem; margin-top: -.5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 3px 0 #6F9A00; border: 0; }
input[type=range]::-moz-range-thumb { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lime); box-shadow: 0 3px 0 #6F9A00; border: 0; }
.segs { display: flex; gap: .4rem; flex-wrap: wrap; }
.seg { border: 0; padding: .5em 1em; border-radius: .8rem; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .12); min-height: 2.4rem; }
.seg.on { background: var(--lime); color: var(--ink); }
.dng { margin-top: .4rem; justify-self: center; }

/* ---------- responsive ---------- */
body.portrait .hud-c { display: none; }
@media (max-width: 900px) { .hud-chip b { font-size: 1.15rem; } .hud-hearts i { width: 1.5rem; height: 1.5rem; } .hud-boss { width: min(56vw, 24rem); } }
@media (max-height: 520px) {
  .menu h1 { font-size: clamp(2.3rem, 7vw, 3.2rem); margin: .1em 0 .12em; } .menu p.tag { font-size: .95rem; margin-bottom: 10px; } .menu__kicker { font-size: .7rem; } .mrow2 { margin-top: .5rem; } .menu .btn--big { font-size: 1.15rem; } .ar__ov--menu { padding-top: calc(52px + var(--sat)); }
  .hud-l { left: calc(.6rem + var(--sal)); top: calc(.45rem + var(--sat)); gap: .35rem; }
  .hud-hearts { padding: .25rem .45rem; } .hud-hearts i { width: 1.35rem; height: 1.35rem; }
  .hud-chip { padding: .22rem .6rem .22rem .4rem; } .hud-chip b { font-size: 1.05rem; } .hud-chip .ic { width: 1.2rem; height: 1.2rem; }
  .hud-gems { padding: .28rem .45rem; } .hud-gems i { width: 1.1rem; height: 1.1rem; }
  .hud-c { top: calc(.4rem + var(--sat)); } .hud-lv { font-size: .75rem; } .hud-time { font-size: .9rem; }
  .jh-ban { top: 14%; } .jh-ban b { font-size: 2.2rem; } .jh-ban small { font-size: .75rem; }
  .map { gap: .4rem; } .map-title h2 { font-size: 1.4rem; } .map-title small { font-size: .65rem; }
  .map-tot { padding: .25rem .6rem; } .wtab { padding: .3rem .2rem; } .wtab b { width: 1.5rem; height: 1.5rem; font-size: .85rem; } .wtab span { font-size: .75rem; }
  .node .nb { width: 2.9rem; height: 2.9rem; font-size: 1.2rem; } .node.boss .nb { width: 3.6rem; height: 3.6rem; } .node .nb svg { width: 1.3rem; height: 1.3rem; } .stars.mini .star { width: .75rem; height: .75rem; }
  .map-info { padding: .5rem .8rem; gap: .7rem; } .mi-l h3 { font-size: 1.15rem; margin-bottom: .15rem; } .mi-goals { font-size: .75rem; gap: .15rem; } .mi-goals li svg { width: .9rem; height: .9rem; } .mi-r .btn--big { font-size: 1.1rem; padding: .6em 1.2em; }
  .help { gap: .8rem; } .hl { font-size: .78rem; gap: .35rem; } .bigstars .star { width: 3rem; height: 3rem; } .set { margin: .4rem 0; }
  .tc-pad { width: 10rem; height: 6.4rem; } .tc-jump { width: 7.4rem; height: 7.4rem; } .tc-dash { right: calc(9.8rem + var(--sar)); width: 5.8rem; height: 5.8rem; bottom: calc(3.8rem + var(--sab)); }
}
@media (max-width: 760px) and (orientation: portrait) { .help { grid-template-columns: 1fr; } .map-info { grid-template-columns: 1fr; } .map-tabs { grid-template-columns: repeat(5, 1fr); } .wtab span { display: none; } .wtab { grid-template-columns: 1fr; justify-items: center; } .wtab b { grid-row: auto; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .node.open .nb { animation: none; } .jh-ban.show { animation-duration: .01s; opacity: 1; } .bigstars .star { animation-duration: .01s; } }

.ar__toast { top: 36%; }

.ar__ov--fin { background: rgba(15, 12, 34, .28); backdrop-filter: none; -webkit-backdrop-filter: none; }

.ov-map .top-l { display: none; }
.map-top { padding-right: 10.5rem; }
.set .seg { justify-self: start; min-width: 5rem; }
@media (max-height: 520px) {
  .map-top { padding-right: 9.5rem; }
  .win-goals { display: none; } .card--win .sub { margin-bottom: 2px; } .card--win .stats { margin: .4rem 0 .6rem; } .card--win .rec { margin-top: 0; font-size: .75rem; }
  .bigstars { margin: 0; } .card h2 { margin-bottom: 2px; }
}
@media (max-width: 760px) { .ar__ov--menu { background: rgba(8, 20, 14, .66); } }
