* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cyan: #6fe7ff; --gold: #ffd27a; --red: #ff5470; --ink: #eaf6ff; --panel: rgba(8, 14, 34, 0.92);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
}
html, body { height: 100%; background: #05060f; color: var(--ink); overflow: hidden; -webkit-tap-highlight-color: transparent; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
#game { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* zoomed far out: names only, smaller, so the labels of a small globe do not pile up */
#labels.far .wlabel { padding: 1px 6px; font-size: 10px; }
#labels.far .wlabel b { font-size: 10px; letter-spacing: 0.04em; }
#labels.far .wlabel small { display: none; }
#labels.far .wlabel::after { height: 6px; }
#ui { position: absolute; inset: 0; pointer-events: none; }
#ui .layer { position: absolute; inset: 0; pointer-events: none; }
#ui button { pointer-events: auto; font: inherit; color: inherit; cursor: pointer; }
.hidden { display: none !important; }
#flash { position: absolute; inset: 0; background: #fffbe8; opacity: 0; pointer-events: none; }
.noscript { position: absolute; inset: 0; display: grid; place-items: center; }

/* loading */
#loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #05060f; transition: opacity 0.6s; z-index: 5; }
#loading.gone { opacity: 0; pointer-events: none; }
#loading .sub { color: #8aa3c7; letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; }
.logo { font-weight: 900; letter-spacing: 0.18em; font-size: clamp(30px, 9vw, 64px); background: linear-gradient(180deg, #ffffff, #9fe9ff 55%, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(111, 231, 255, 0.35)); }
.logo.small { font-size: clamp(16px, 4.6vw, 24px); }

/* joystick */
.joy { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.12s; }
.joy.base { width: 120px; height: 120px; border: 2px solid rgba(111, 231, 255, 0.45); background: radial-gradient(circle, rgba(111, 231, 255, 0.12), rgba(111, 231, 255, 0.02) 70%); }
.joy.knob { width: 52px; height: 52px; background: radial-gradient(circle at 40% 35%, #ffffff, #8cecff 45%, #2a8fb8); box-shadow: 0 0 18px rgba(111, 231, 255, 0.7); }

/* buttons */
.btn { pointer-events: auto; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: var(--ink); padding: 12px 18px; border-radius: 12px; font-weight: 700; letter-spacing: 0.04em; font-size: 15px; transition: transform 0.08s, background 0.15s; }
.btn:active { transform: scale(0.96); }
.btn.primary { background: linear-gradient(180deg, #8ff0ff, #2bb5e0); color: #04121f; border: 0; box-shadow: 0 6px 24px rgba(111, 231, 255, 0.35); }
.btn.ghost { background: transparent; }
.btn.big { font-size: 18px; padding: 14px 30px; letter-spacing: 0.12em; }
.btn:disabled { opacity: 0.45; cursor: default; }
.icon-btn { pointer-events: auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(5, 10, 26, 0.55); color: var(--ink); font-size: 13px; display: grid; place-items: center; flex: none; }

/* HUD */
.hud-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--safe-t) + 10px) calc(var(--safe-r) + 12px) 0 calc(var(--safe-l) + 12px); display: flex; flex-direction: column; gap: 7px; max-width: 760px; margin: 0 auto; }
.hud-row { display: flex; align-items: center; gap: 8px; }
.bar { position: relative; height: 12px; flex: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; overflow: hidden; }
.bar > i { position: absolute; inset: 0; transform-origin: left center; transition: transform 0.15s; }
.bar > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-shadow: 0 1px 2px #000; }
.bar.xp > i { background: linear-gradient(90deg, #ffe08a, #ffb84d); box-shadow: 0 0 10px rgba(255, 210, 122, 0.8); }
.bar.hp { height: 16px; }
.bar.hp > i { background: linear-gradient(90deg, #ff4d6d, #ff8a7a); }
.bar.wide { flex: none; height: 14px; }
.bar.boss > i { background: linear-gradient(90deg, #6dff7a, #2fbf5a); }
.bar.beacon > i { background: linear-gradient(90deg, #8ff0ff, #3fb7e6); }
.lvl { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: radial-gradient(circle at 40% 35%, #fff3c4, #ffb84d); color: #3a2400; box-shadow: 0 0 14px rgba(255, 196, 90, 0.6); flex: none; }
.cry { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; padding: 3px 10px; border-radius: 20px; background: rgba(5, 10, 26, 0.55); border: 1px solid rgba(88, 230, 255, 0.35); }
.cry b { color: #58e6ff; text-shadow: 0 0 8px #58e6ff; }
.obj { text-align: center; font-weight: 900; letter-spacing: 0.16em; font-size: 13px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 12px rgba(111, 231, 255, 0.5); }
.kit { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.kit span { min-width: 28px; height: 24px; padding: 0 5px; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 1px; font-size: 14px; color: var(--c); background: rgba(5, 10, 26, 0.6); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); text-shadow: 0 0 8px var(--c); }
.kit span.pas { border-style: dashed; }
.kit sub { font-size: 9px; color: #fff; font-weight: 800; }
.ult { position: absolute; right: calc(var(--safe-r) + 18px); bottom: calc(var(--safe-b) + 22px); width: 86px; height: 86px; border-radius: 50%; border: 0; padding: 0; background: conic-gradient(var(--c, var(--cyan)) var(--p, 0%), rgba(255, 255, 255, 0.1) 0); display: grid; place-items: center; }
.ult span { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #1a2a52, #070d22); display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 11px; letter-spacing: 0.08em; line-height: 1.15; color: #b9c7e6; }
.ult.ready span { color: #fff; background: radial-gradient(circle at 40% 35%, #fff6d0, var(--c, var(--cyan)) 70%); color: #04121f; }
.ult.ready { animation: ultpulse 0.9s ease-in-out infinite; box-shadow: 0 0 30px var(--c, var(--cyan)); }
@keyframes ultpulse { 50% { transform: scale(1.08); } }
.hurt { position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 90px 30px rgba(255, 40, 70, 0.7); }
.hurt.on { animation: hurt 0.45s ease-out; }
@keyframes hurt { 0% { opacity: 1; } 100% { opacity: 0; } }

/* banner */
.banner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; opacity: 0; transform: translateY(-28%); }
.banner h1 { font-size: clamp(22px, 6.4vw, 46px); font-weight: 900; letter-spacing: 0.14em; background: linear-gradient(180deg, #fff, #9fe9ff 60%, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(111, 231, 255, 0.55)); }
.banner p { margin-top: 8px; font-size: clamp(12px, 3.4vw, 16px); color: #d4e6ff; text-shadow: 0 2px 8px #000; letter-spacing: 0.04em; }
.banner.on { animation: banner 0.35s ease-out forwards; }
@keyframes banner { from { opacity: 0; transform: translateY(-24%) scale(1.15); } to { opacity: 1; transform: translateY(-28%) scale(1); } }

/* modals */
.modal { pointer-events: auto !important; display: grid; place-items: center; background: rgba(2, 4, 12, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: calc(var(--safe-t) + 16px) 16px calc(var(--safe-b) + 16px); }
.panel { width: min(560px, 100%); max-height: 100%; overflow: auto; background: var(--panel); border: 1px solid rgba(111, 231, 255, 0.25); border-radius: 20px; padding: 22px 18px; text-align: center; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(111, 231, 255, 0.12); animation: pop 0.22s ease-out; }
@keyframes pop { from { transform: scale(0.92); opacity: 0; } }
.panel h2 { font-weight: 900; letter-spacing: 0.16em; font-size: 22px; }
.panel h2.win { color: #ffe08a; text-shadow: 0 0 20px rgba(255, 210, 122, 0.6); }
.panel h2.lose { color: #ff8a9a; }
.muted { color: #8fa6c8; font-size: 13px; margin-top: 4px; }
.cards { display: grid; gap: 10px; margin-top: 16px; }
@media (min-aspect-ratio: 1/1) and (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card { flex-direction: column; text-align: center; }
  .card .cmeta { justify-content: center; }
  .card .cstats { align-items: center; }
  .card .evochip { align-self: center; }
}
/* compact cards on phones / short screens: everything fits without scrolling */
@media (max-height: 820px) and (max-aspect-ratio: 1/1), (max-height: 560px) {
  .panel { padding: 14px 12px; }
  .panel h2 { font-size: 18px; }
  #lvlHint { display: none; }
  .loadout { margin-top: 6px; }
  .loadout .slot { width: 24px; height: 24px; font-size: 12px; }
  .cards { gap: 9px; margin-top: 12px; }
  .card { padding: 9px 10px; gap: 10px; }
  .cicon { width: 42px; height: 42px; font-size: 22px; }
  .ctext b { font-size: 15px; }
  .ctext small { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cstats { flex-direction: row; flex-wrap: wrap; column-gap: 10px; font-size: 11px; margin-top: 3px; }
  .evochip { margin-top: 3px; }
  .evochip span { width: 17px; height: 17px; font-size: 10px; }
  .lvl-tools { margin-top: 10px; }
  .btn.small { padding: 7px 10px; font-size: 12px; }
  .chest-box { transform: scale(0.75); margin: -8px auto 0; }
  .citem { padding: 6px 8px; }
  .citem .cicon { width: 36px; height: 36px; font-size: 20px; }
  .citem .ctext small { -webkit-line-clamp: 1; }
}
.guide .btns { position: sticky; bottom: -14px; margin: 10px -12px -14px; padding: 10px; background: var(--panel); }
/* world title card (cinematic reveal) */
.owtitle { position: absolute; left: calc(var(--safe-l) + 28px); bottom: calc(var(--safe-b) + 34px); max-width: min(520px, 60%); pointer-events: none; opacity: 0; }
.owtitle small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase; color: #9fd8ff; }
.owtitle h1 { font-size: clamp(40px, 8vw, 86px); font-weight: 900; letter-spacing: 0.12em; line-height: 1; margin: 4px 0 6px; background: linear-gradient(180deg, #ffffff 20%, #9fe9ff 70%, #4fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(111, 231, 255, 0.35)); }
.owtitle p { font-size: 14px; color: #d4e6ff; text-shadow: 0 2px 8px #000; max-width: 420px; }
.owtitle.next h1 { background-image: linear-gradient(180deg, #fff 20%, #ffd2a0 70%, #ff8a3a); }
.owtitle.next small { color: #ffc48a; }
.owtitle.sealed h1 { background-image: linear-gradient(180deg, #fff 20%, #d9cbff 70%, #9a7bff); }
.owtitle.sealed small { color: #c9b6ff; }
.owtitle.on { opacity: 1; }
.owtitle.on small { animation: tReveal 0.7s ease-out both; }
.owtitle.on h1 { animation: tName 0.9s cubic-bezier(.2, .8, .2, 1) 0.1s both; }
.owtitle.on p { animation: tReveal 0.8s ease-out 0.45s both; }
@keyframes tName { from { opacity: 0; letter-spacing: 0.6em; filter: blur(8px); transform: translateY(8px); } }
@keyframes tReveal { from { opacity: 0; transform: translateY(10px); } }
@media (max-aspect-ratio: 1/1) {
  .owtitle { left: 0; right: 0; max-width: none; text-align: center; bottom: auto; top: calc(var(--safe-t) + 60px); }
  .owtitle p { margin: 0 auto; padding: 0 20px; font-size: 13px; }
  .owtitle h1 { font-size: clamp(34px, 11vw, 60px); }
}

/* sealed world panel */
.seal { margin-top: 12px; padding: 18px 14px; border-radius: 16px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(154, 123, 255, 0.22), rgba(10, 16, 40, 0.4) 70%); border: 1px solid rgba(154, 123, 255, 0.35); }
.seal.next { background: radial-gradient(circle at 50% 0%, rgba(255, 184, 107, 0.22), rgba(10, 16, 40, 0.4) 70%); border-color: rgba(255, 184, 107, 0.4); }
.sealicon { font-size: 40px; line-height: 1; color: #c9b6ff; text-shadow: 0 0 20px #9a7bff; animation: sealpulse 2.4s ease-in-out infinite; }
.seal.next .sealicon { color: #ffd2a0; text-shadow: 0 0 20px #ff8a3a; }
@keyframes sealpulse { 50% { transform: scale(1.12) rotate(60deg); } }
.seal > b { display: block; margin-top: 6px; letter-spacing: 0.3em; font-size: 13px; }
/* who holds a world */
.rpip { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); margin-right: 6px; vertical-align: 1px; }
.ruler { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 12px; text-align: left; background: rgba(10, 16, 40, 0.45); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.ruler .rpip { margin: 5px 0 0; flex: none; }
.ruler small { display: block; font-size: 10px; letter-spacing: 0.22em; color: #9fb3d4; }
.ruler b { font-size: 14px; color: var(--c); }
.ruler em { margin-left: 8px; font-style: normal; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #cfe0ff; }
.ruler.enemy em { background: rgba(255, 80, 80, 0.2); color: #ffb0a0; }
.ruler.ally em, .ruler.freed em { background: rgba(120, 255, 160, 0.16); color: #b8ffcc; }
.ruler p { margin: 4px 0 0; font-size: 12px; color: #d4e6ff; line-height: 1.35; }
.req { margin-top: 14px; text-align: left; }
.req span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #9fb3d4; }
.req .rbar { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); margin: 6px 0 4px; overflow: hidden; }
.req .rbar i { display: block; height: 100%; background: linear-gradient(90deg, #ffd27a, #ff8a3a); border-radius: 5px; }
.req span { display: block; margin-bottom: 4px; }
.req small { display: block; font-size: 12px; color: #d4e6ff; }
.teaser { margin-top: 14px; text-align: left; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.15); }
.teaser small { display: block; font-size: 10px; letter-spacing: 0.25em; color: #9fb3d4; }
.teaser span { font-size: 13px; color: #fff; }

/* stargate warp */
.warp { position: absolute; inset: -20%; pointer-events: none; opacity: 0; background: repeating-conic-gradient(from 0deg, rgba(160, 220, 255, 0.55) 0deg 1.2deg, transparent 1.2deg 9deg), radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(120, 200, 255, 0.35) 30%, transparent 65%); -webkit-mask: radial-gradient(circle, transparent 8%, #000 40%); mask: radial-gradient(circle, transparent 8%, #000 40%); }
.warp.on { animation: warp 0.75s ease-in-out forwards; }
/* letterbox bars for camera moments (boss reveal, end of mission) */
.cinebars { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.cinebars i { position: absolute; left: 0; right: 0; height: 9vh; background: #000; transition: transform 0.45s ease; }
.cinebars i:first-child { top: 0; transform: translateY(-100%); }
.cinebars i:last-child { bottom: 0; transform: translateY(100%); }
.cinebars.on i { transform: translateY(0); }
@keyframes warp { 0% { opacity: 0; transform: scale(0.4) rotate(0deg); } 40% { opacity: 1; transform: scale(1.2) rotate(25deg); } 100% { opacity: 0; transform: scale(2.2) rotate(60deg); } }

/* kill-streak callout */
.streak { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: calc(var(--safe-t) + 150px); opacity: 0; }
.streak b { font-size: clamp(26px, 7vw, 44px); font-weight: 900; font-style: italic; letter-spacing: 0.08em; background: linear-gradient(180deg, #fff6d0, #ffb84d 60%, #ff5a3a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(255, 150, 50, 0.7)); }
.streak small { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: #ffe7b0; text-shadow: 0 2px 4px #000; }
.streak.on { animation: streak 1.5s ease-out forwards; }
@keyframes streak { 0% { opacity: 0; transform: scale(2) rotate(-4deg); } 12% { opacity: 1; transform: scale(1) rotate(-4deg); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(0.95) rotate(-4deg) translateY(-10px); } }

/* results */
.results { position: relative; }
.remblem { width: 64px; height: 64px; margin: -6px auto 6px; border-radius: 50%; display: grid; place-items: center; }
.remblem i { font-style: normal; font-size: 30px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 40% 35%, #fff, var(--c) 55%, #0a1430); box-shadow: 0 0 30px var(--c); animation: emb 0.6s cubic-bezier(.3, 1.6, .5, 1); }
.remblem.lose i { filter: grayscale(0.7) brightness(0.7); box-shadow: 0 0 20px rgba(255, 84, 112, 0.5); }
@keyframes emb { from { transform: scale(0.2) rotate(-90deg); } }
.stars span { display: inline-block; color: rgba(255, 255, 255, 0.15); text-shadow: none; animation: starpop 0.45s cubic-bezier(.3, 1.8, .5, 1) backwards; }
.stars span.on { color: #ffd27a; text-shadow: 0 0 16px rgba(255, 210, 122, 0.8); }
@keyframes starpop { from { transform: scale(2.6); opacity: 0; } }
.rprog { margin: 10px auto 0; max-width: 360px; }
.rprog .rbar { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.rprog .rbar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8a9a, #ffd27a); transform-origin: left; transition: transform 0.9s ease-out; }
.rprog small { display: block; margin-top: 4px; font-size: 12px; color: #c3d3ec; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.badges span { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; padding: 4px 9px; border-radius: 8px; color: #2a1a00; background: linear-gradient(180deg, #ffe7a0, #ffb84d); box-shadow: 0 0 14px rgba(255, 184, 77, 0.5); animation: starpop 0.4s ease-out backwards; }
.rtip { font-size: 12px; color: #9fd8ff; margin: 2px 0 4px; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%); }
.card { pointer-events: auto; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #0a1430), #0a1028); transition: transform 0.1s; }
.card:active { transform: scale(0.97); }
.card:hover { box-shadow: 0 0 24px color-mix(in srgb, var(--c) 40%, transparent); }
.cicon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 28px; color: var(--c); background: rgba(0, 0, 0, 0.35); text-shadow: 0 0 14px var(--c); margin: 0 auto; }
.ctext { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ctext b { font-size: 16px; }
.ctext em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; color: var(--c); }
.ctext small { font-size: 13px; color: #c3d3ec; }
.stars { font-size: 34px; letter-spacing: 0.15em; color: #ffd27a; text-shadow: 0 0 16px rgba(255, 210, 122, 0.7); margin-top: 6px; }
.rstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.rstats div { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; gap: 2px; }
.rstats b { font-size: 18px; }
.rstats small { font-size: 10px; color: #8fa6c8; text-transform: uppercase; letter-spacing: 0.1em; }
.rstats .c b { color: #58e6ff; }
.btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.btns.col { flex-direction: column; margin-top: 16px; }

/* overworld */
.ow-top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--safe-t) + 12px) calc(var(--safe-r) + 14px) 0 calc(var(--safe-l) + 14px); }
.ow-right { display: flex; gap: 8px; align-items: center; }
/* enter / leave the dome: hidden while a world panel is open */
.dome-btn { position: absolute; left: 16px; bottom: calc(var(--safe-b) + 56px); pointer-events: auto; padding: 10px 16px; font-size: 13px; letter-spacing: 0.08em; }
#owSheet:not(.hidden) ~ .dome-btn { display: none; }
.wlabel.inner { font-size: 13px; padding: 4px 12px; }
.wlabel.inner b { font-size: 15px; }
.wlabel.inner.small b { font-size: 11px; }
.wlabel.inner.small small { display: none; }
.ow-hint { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-b) + 28px); text-align: center; letter-spacing: 0.2em; font-size: 12px; color: #a9c4e8; text-transform: uppercase; animation: hint 2s ease-in-out infinite; }
@keyframes hint { 50% { opacity: 0.4; } }
.wlabel::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0)); }
.wlabel { position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; padding: 3px 9px; border-radius: 10px; background: rgba(5, 10, 26, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); color: #9aa7c2; font-size: 11px; }
.wlabel b { display: block; font-size: 12px; letter-spacing: 0.08em; }
.wlabel small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.8; }
.wlabel.open { color: #fff; border-color: rgba(111, 231, 255, 0.6); box-shadow: 0 0 14px rgba(111, 231, 255, 0.35); }
.wlabel.open small { color: #ffd27a; }
.wlabel.next { color: #ffd6b0; border-color: rgba(255, 184, 107, 0.5); }
.wlabel.sel { transform-origin: center bottom; background: rgba(20, 40, 80, 0.8); }
.sheet { pointer-events: auto; position: absolute; left: 0; right: 0; bottom: 0; max-height: 64%; overflow: auto; background: var(--panel); border-top: 1px solid rgba(111, 231, 255, 0.3); border-radius: 22px 22px 0 0; padding: 16px calc(var(--safe-r) + 16px) calc(var(--safe-b) + 16px) calc(var(--safe-l) + 16px); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5); animation: sheet 0.3s ease-out; }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
@media (min-aspect-ratio: 1/1) { .sheet { left: auto; top: calc(var(--safe-t) + 64px); bottom: auto; right: calc(var(--safe-r) + 16px); width: 380px; max-height: calc(100% - var(--safe-t) - var(--safe-b) - 84px); border-radius: 22px; border: 1px solid rgba(111, 231, 255, 0.3); } }
.sheet-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sheet-head h3 { font-size: 22px; letter-spacing: 0.12em; font-weight: 900; }
.sheet-head p { color: #9fb3d4; font-size: 13px; margin-top: 2px; }
.sealed { margin: 18px 0 6px; padding: 16px; text-align: center; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.2); color: #b8c6e0; letter-spacing: 0.06em; }
.missions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.mrow { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); }
.mrow.sel { border-color: var(--cyan); background: rgba(111, 231, 255, 0.1); box-shadow: 0 0 18px rgba(111, 231, 255, 0.2); }
.mrow.locked { opacity: 0.5; }
.mnum { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(111, 231, 255, 0.15); color: var(--cyan); flex: none; }
.minfo { flex: 1; display: flex; flex-direction: column; }
.minfo b { font-size: 15px; }
.minfo small { font-size: 12px; color: #9fb3d4; }
.mstars { color: #ffd27a; letter-spacing: 0.1em; font-size: 15px; }
.label { margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #8fa6c8; }
.dpills { display: flex; gap: 6px; margin-top: 8px; }
.dpill { flex: 1; padding: 8px 6px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: #c3d3ec; }
.dpill small { color: #58e6ff; font-weight: 800; }
.dpill.sel { border-color: var(--c); color: #fff; background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 35%, transparent); }
.dpill.locked { opacity: 0.45; }
.heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.hcard { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 14px; text-align: left; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); position: relative; }
.hcard i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); margin-bottom: 4px; }
.hcard b { font-size: 15px; }
.hcard small { font-size: 11px; color: #9fb3d4; }
.hcard.sel { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.hcard.locked { opacity: 0.55; }
.sheet-btns { display: flex; gap: 10px; margin-top: 12px; position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(rgba(8, 14, 34, 0), rgba(8, 14, 34, 0.97) 35%); }
@media (max-height: 720px) and (max-aspect-ratio: 1/1) {
  .sheet { max-height: 70%; padding-top: 12px; }
  .sheet-head p { font-size: 12px; }
  .mrow { padding: 7px 10px; }
  .hcard { padding: 8px 10px; }
  .label { margin-top: 10px; }
}
.sheet-btns .primary { flex: 1; }
.arow { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 12px; margin-top: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.arow b { font-size: 15px; }
.arow small { display: block; font-size: 12px; color: #9fb3d4; }
.pips { display: flex; gap: 4px; margin-top: 6px; }
.pips i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); }
.pips i.on { background: #58e6ff; box-shadow: 0 0 8px #58e6ff; }
.arkcry { margin-top: 12px; font-weight: 900; font-size: 18px; color: #58e6ff; }

/* mouse move target */
.cursor-mark { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(111, 231, 255, 0.8); box-shadow: 0 0 12px rgba(111, 231, 255, 0.6); pointer-events: none; opacity: 0; transition: opacity 0.12s; }

/* damage numbers */
#floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fl { position: absolute; left: 0; top: 0; opacity: 0; font-weight: 900; font-size: 13px; color: #fff; text-shadow: 0 1px 0 #000, 0 0 6px rgba(0, 0, 0, 0.8); will-change: transform, opacity; }
.fl.crit { font-size: 19px; color: #ffd84d; text-shadow: 0 1px 0 #7a3a00, 0 0 10px rgba(255, 170, 40, 0.9); }

/* combo */
.combo { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; margin-top: -2px; }
.combo b { font-size: 26px; font-weight: 900; font-style: italic; color: hsl(calc(50 - var(--h, 0) * 50), 100%, 62%); text-shadow: 0 0 14px hsla(calc(50 - var(--h, 0) * 50), 100%, 55%, 0.8), 0 2px 0 #000; }
.combo small { font-size: 9px; letter-spacing: 0.3em; font-weight: 900; color: #ffe7b0; }
.combo.pop b { animation: cpop 0.18s ease-out; }
@keyframes cpop { from { transform: scale(1.4); } }
.kit span.evo { border-color: #ffc94d; box-shadow: 0 0 10px rgba(255, 201, 77, 0.6); }

/* card rarity */
.card { position: relative; border-color: var(--r, var(--c)); animation: cardin 0.32s ease-out backwards; }
@keyframes cardin { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
.card .rtag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 900; letter-spacing: 0.18em; padding: 2px 8px; border-radius: 8px; background: var(--r); color: #06101f; white-space: nowrap; }
.card.r-common .rtag { background: #2a3654; color: #9fb3d4; }
.card.r-rare { box-shadow: 0 0 16px rgba(79, 178, 255, 0.35); }
.card.r-epic { box-shadow: 0 0 22px rgba(194, 123, 255, 0.5); background: linear-gradient(160deg, rgba(194, 123, 255, 0.22), #0a1028); }
.card.r-legendary, .card.evo { box-shadow: 0 0 28px rgba(255, 201, 77, 0.6); background: linear-gradient(160deg, rgba(255, 201, 77, 0.25), #1a1408); }
.card.r-legendary::after, .card.evo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); background-size: 260% 100%; animation: shine 2.2s infinite; pointer-events: none; }
@keyframes shine { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.card .key { position: absolute; top: 6px; right: 8px; font-size: 10px; font-weight: 800; color: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; padding: 0 4px; }
@media (pointer: coarse) { .card .key { display: none; } }
.cmeta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.cmeta em { font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: 0.14em; }
.cmeta .newtag { color: #04121f; background: var(--c); padding: 1px 5px; border-radius: 4px; }
.cmeta .ctype { color: #7f93b5; }
.pips5 { display: flex; gap: 3px; }
.pips5 i { width: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.pips5 i.on { background: var(--c); }
.pips5 i.new { background: #fff; box-shadow: 0 0 6px var(--c); animation: pipnew 0.8s ease-in-out infinite; }
@keyframes pipnew { 50% { opacity: 0.45; } }
.cstats { display: flex; flex-direction: column; gap: 1px; margin-top: 5px; font-size: 12px; color: #c3d3ec; }
.cstats s { color: #7f93b5; text-decoration: none; }
.cstats b { color: #9dffcf; }
.evochip { display: inline-flex; align-items: center; gap: 3px; margin-top: 6px; font-size: 11px; color: #7f93b5; }
.evochip span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: rgba(0, 0, 0, 0.35); color: var(--c); font-size: 12px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.evochip span.dim { opacity: 0.35; }
.evochip span.evo { --c: #ffc94d; box-shadow: 0 0 8px rgba(255, 201, 77, 0.5); }
.loadout { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
.loadout > div { display: flex; gap: 4px; }
.loadout .slot { position: relative; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; color: var(--c); background: rgba(0, 0, 0, 0.35); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.loadout .slot.empty { border: 1px dashed rgba(255, 255, 255, 0.15); }
.loadout .slot.evo { box-shadow: 0 0 10px rgba(255, 201, 77, 0.6); }
.loadout .slot sub { position: absolute; right: -3px; bottom: -4px; font-size: 9px; font-weight: 900; color: #fff; background: #0a1230; border-radius: 4px; padding: 0 2px; }
.ctext .hint { font-size: 10px; color: #8fa6c8; margin-top: 4px; }
.ctext .hint.ok { color: #9dffcf; }
.ctext .bonus { font-size: 11px; font-weight: 800; color: var(--r); margin-top: 3px; }
.lvl-tools { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.btn.small { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn.small b { color: var(--gold); margin-left: 2px; }
.btn.small small { color: #9fb3d4; font-weight: 600; margin-left: 4px; }
.btn.on { background: rgba(255, 84, 112, 0.25); border-color: var(--red); }

/* chest */
.chest-panel { overflow: hidden; }
.chest-box { position: relative; width: 120px; height: 100px; margin: 4px auto 10px; }
.chest-box .body { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 52px; border-radius: 8px; background: linear-gradient(180deg, #d9a640, #8a5a14); border: 3px solid #ffd27a; box-shadow: 0 0 24px rgba(255, 201, 77, 0.6); }
.chest-box .lid { position: absolute; left: 6px; right: 6px; top: 16px; height: 34px; border-radius: 40px 40px 6px 6px; background: linear-gradient(180deg, #f0c060, #a8701c); border: 3px solid #ffd27a; transform-origin: 50% 100%; transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); z-index: 1; }
.chest-box .rays { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 220, 120, 0.45) 0 10deg, transparent 10deg 30deg); opacity: 0; transform: scale(0.3); transition: opacity 0.3s, transform 0.5s; }
.chest-box.shake { animation: cshake 0.12s linear infinite; }
@keyframes cshake { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.chest-box.open .lid { transform: translateY(-26px) rotate(-28deg); }
.chest-box.open .rays { opacity: 1; transform: scale(1); animation: spinr 6s linear infinite; }
@keyframes spinr { to { transform: scale(1) rotate(360deg); } }
.chest-items { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.citem { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.04); animation: cardin 0.25s ease-out; }
.citem.done { border-color: var(--r); box-shadow: 0 0 14px color-mix(in srgb, var(--r) 40%, transparent); }
.citem.evo.done { border-color: #ffc94d; background: linear-gradient(160deg, rgba(255, 201, 77, 0.25), #1a1408); }
.citem .cicon { width: 44px; height: 44px; font-size: 24px; margin: 0; }
.citem .cicon.spin { color: #fff; filter: blur(0.6px); }
.citem .ctext b { font-size: 14px; }
.citem .ctext small { font-size: 12px; }
.chest-cry { font-weight: 900; font-size: 20px; color: #58e6ff; text-shadow: 0 0 12px #58e6ff; animation: cardin 0.3s ease-out; }

/* ---- treasure chest 2.0 ---- */
.chestfx { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(circle at 50% 38%, rgba(60, 40, 10, 0.75), rgba(2, 4, 12, 0.92) 65%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); cursor: pointer; overflow: hidden; }
.chestfx.hidden { display: none !important; }
/* the rays and coins are decoration: they must never sit over the Collect button and eat its clicks */
.chestfx .godrays, .chestfx .coins { pointer-events: none; }
.chestfx .btns { position: relative; z-index: 3; }
.chestfx.silver { background: radial-gradient(circle at 50% 38%, rgba(30, 60, 110, 0.8), rgba(2, 4, 12, 0.92) 65%); }
.chestfx.gold { background: radial-gradient(circle at 50% 38%, rgba(110, 70, 10, 0.85), rgba(2, 4, 12, 0.92) 65%); }
.chest-stage { position: relative; width: 220px; height: 170px; display: grid; place-items: center; }
.godrays { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 214, 120, 0.22) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); opacity: 0; transform: scale(0.2); transition: opacity 0.4s, transform 0.6s; animation: spinr 14s linear infinite; }
.chestfx.silver .godrays { background: repeating-conic-gradient(rgba(150, 210, 255, 0.24) 0 6deg, transparent 6deg 18deg); }
.chestfx.gold .godrays { background: repeating-conic-gradient(rgba(255, 220, 120, 0.32) 0 5deg, rgba(255, 140, 200, 0.12) 5deg 8deg, transparent 8deg 16deg); }
.chest3d { position: relative; width: 150px; height: 120px; transform-origin: 50% 90%; }
.chest3d .body { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; border-radius: 10px 10px 14px 14px; background: linear-gradient(180deg, #8a5a22, #5a3410 70%, #3a200a); box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.6); border: 3px solid #e0b85c; }
.chest3d .lid { position: absolute; left: -4px; right: -4px; top: 6px; height: 50px; border-radius: 60px 60px 8px 8px; background: linear-gradient(180deg, #a36a2a, #6e4416); border: 3px solid #f0c860; transform-origin: 50% 100%; transition: transform 0.45s cubic-bezier(.3, 1.8, .4, 1); z-index: 2; box-shadow: inset 0 8px 14px rgba(255, 220, 150, 0.25); }
.chest3d .band { position: absolute; top: 0; bottom: 0; width: 14px; left: 26px; background: linear-gradient(90deg, #c9973c, #ffe08a, #c9973c); }
.chest3d .band.b2 { left: auto; right: 26px; }
.chest3d .lock { position: absolute; left: 50%; top: 8px; width: 26px; height: 30px; margin-left: -13px; border-radius: 6px; background: linear-gradient(180deg, #ffe7a0, #c9973c); box-shadow: 0 0 14px rgba(255, 220, 120, 0.8); }
.chest3d .inner-glow { position: absolute; left: 10%; right: 10%; top: 40px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, #fff8d0, rgba(255, 200, 80, 0.8) 40%, transparent 70%); opacity: 0; z-index: 1; filter: blur(2px); }
.chestfx.silver .chest3d .body, .chestfx.silver .chest3d .lid { border-color: #bfe4ff; }
.chestfx.silver .chest3d .band, .chestfx.silver .chest3d .lock { background: linear-gradient(90deg, #8fb6d6, #ffffff, #8fb6d6); }
.chestfx.gold .chest3d .body, .chestfx.gold .chest3d .lid { border-color: #fff0a0; box-shadow: 0 0 30px rgba(255, 210, 120, 0.6); }
.chest3d.shake { animation: cshake2 0.09s linear infinite, cgrow 1s ease-in forwards; }
.chest3d.shake .inner-glow { opacity: 0.6; animation: seam 1s ease-in forwards; }
@keyframes cshake2 { 25% { transform: rotate(-4deg) translateX(-2px); } 75% { transform: rotate(4deg) translateX(2px); } }
@keyframes cgrow { to { scale: 1.15; } }
@keyframes seam { to { opacity: 1; } }
.chest3d.open .lid { transform: translateY(-38px) rotate(-32deg) translateX(-10px); }
.chest3d.open .inner-glow { opacity: 1; top: 20px; height: 60px; transition: all 0.3s; }
.chestfx .chest3d.open ~ .coins, .chestfx .chest-stage:has(.open) .godrays { opacity: 1; transform: scale(1); }
.coins { position: absolute; left: 50%; top: 45%; width: 0; height: 0; }
.coins i { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c0, #ffc94d 50%, #b07a10); box-shadow: 0 0 8px rgba(255, 200, 80, 0.8); animation: coin 1.3s cubic-bezier(.2, .7, .4, 1) forwards; }
.coins i.gem { border-radius: 3px; transform: rotate(45deg); background: linear-gradient(135deg, #e0fbff, #58e6ff 50%, #1a7fb8); box-shadow: 0 0 10px rgba(88, 230, 255, 0.9); }
@keyframes coin { 0% { transform: translate(0, 0) scale(0.4); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 160px)) rotate(var(--rot)) scale(1); opacity: 0; } }
.chestfx h2 { font-size: clamp(22px, 5.5vw, 34px); font-weight: 900; letter-spacing: 0.16em; min-height: 1.2em; background: linear-gradient(180deg, #fff, #ffe08a 60%, #ffb84d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(255, 190, 80, 0.6)); animation: starpop 0.4s ease-out; }
.chest-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: min(760px, 96vw); padding: 0 10px; }
.rcard { position: relative; width: 132px; padding: 14px 10px 12px; border-radius: 16px; text-align: center; background: linear-gradient(170deg, color-mix(in srgb, var(--r) 22%, #0a1430), #070c22); border: 2px solid var(--r); box-shadow: 0 0 24px color-mix(in srgb, var(--r) 45%, transparent); opacity: 0; transform: translateY(-80px) scale(0.3) rotate(-12deg); transition: transform 0.45s cubic-bezier(.3, 1.6, .5, 1), opacity 0.25s; }
.rcard.in { opacity: 1; transform: none; }
.rcard .beam { position: absolute; left: 50%; bottom: 100%; width: 60px; height: 0; margin-left: -30px; background: linear-gradient(0deg, color-mix(in srgb, var(--r) 70%, transparent), transparent); filter: blur(6px); transition: height 0.5s; pointer-events: none; }
.rcard.done .beam { height: 140px; }
.rcard .cicon { width: 56px; height: 56px; margin: 0 auto 8px; font-size: 30px; color: var(--c); background: rgba(0, 0, 0, 0.4); border-radius: 14px; display: grid; place-items: center; text-shadow: 0 0 14px var(--c); }
.rcard:not(.done) .cicon { color: #fff; filter: blur(0.8px); }
.rcard b { display: block; font-size: 14px; }
.rcard em { display: block; font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: 0.16em; color: var(--r); margin: 3px 0; }
.rcard small { display: block; font-size: 11px; color: #c3d3ec; line-height: 1.3; }
.rcard.done { animation: rpop 0.35s ease-out; }
.rcard.evo { border-color: #ffc94d; box-shadow: 0 0 34px rgba(255, 201, 77, 0.8); }
@keyframes rpop { 50% { transform: scale(1.12); } }
.chestfx .chest-cry { font-weight: 900; font-size: 24px; color: #58e6ff; text-shadow: 0 0 14px #58e6ff; min-height: 1.3em; }
.chestfx .skip { color: rgba(255, 255, 255, 0.45); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-height: 640px) { .chest-stage { height: 120px; transform: scale(0.8); } .rcard { width: 112px; padding: 10px 8px; } .rcard small { display: none; } }

/* auto-pick popups */
.autogains { position: absolute; left: calc(var(--safe-l) + 12px); bottom: calc(var(--safe-b) + 120px); display: flex; flex-direction: column-reverse; gap: 6px; pointer-events: none; }
.autogain { padding: 7px 12px; border-radius: 10px; background: rgba(6, 12, 30, 0.85); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 30%, transparent); font-size: 13px; color: #fff; animation: agin 2.6s ease-out forwards; }
.autogain b { color: var(--c); margin-right: 4px; text-shadow: 0 0 8px var(--c); }
.autogain em { font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: 0.14em; color: var(--c); margin-left: 6px; }
@keyframes agin { 0% { opacity: 0; transform: translateX(-30px); } 10% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

/* guide */
/* save & account */
.acct, .council { text-align: left; }
.acct h2, .council h2 { text-align: center; }
.acct .btns, .council > .btns { position: sticky; bottom: -14px; margin: 10px -12px -14px; padding: 10px; background: var(--panel); justify-content: center; }
.asec { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.asec h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #9fb3d4; }
.asec p { margin: 4px 0; font-size: 13px; }
.asec .btns { justify-content: flex-start; margin-top: 8px; position: static; padding: 0; background: none; }
.asec textarea { width: 100%; box-sizing: border-box; resize: none; font: 11px/1.4 ui-monospace, Consolas, monospace; color: #d4e6ff; background: rgba(5, 10, 26, 0.7); border: 1px solid rgba(111, 231, 255, 0.25); border-radius: 10px; padding: 8px; word-break: break-all; }
.small { font-size: 12px; }
.bad { color: #ff9a8a; }
/* the Galactic Council */
.chamber { display: block; width: 100%; max-width: 420px; margin: 6px auto 0; }
.chamber .ctxt { font: 700 9px system-ui, sans-serif; letter-spacing: 0.3em; fill: #9fb3d4; }
.cbar { display: flex; height: 8px; border-radius: 6px; overflow: hidden; margin: 8px 0 4px; }
.ccount { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.08em; color: #c9d4ea; }
.cbenches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.cbench h4 { margin: 0 0 6px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.cchip { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 6px; align-items: center; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 12px; }
.cchip .rpip { margin: 0; }
.cchip span { color: #9fb3d4; font-size: 11px; }
.cchip small { grid-column: 1 / -1; font-size: 10.5px; color: #9aa7c2; line-height: 1.3; }
@media (max-width: 620px) { .cbenches { grid-template-columns: 1fr; } }
.guide { text-align: left; }
.guide h2 { text-align: center; }
.gsec { margin-top: 14px; }
.gsec h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.gsec p { font-size: 13px; color: #c3d3ec; margin: 4px 0; line-height: 1.45; }
.grow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; padding: 6px 8px; margin-top: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.grow i { font-style: normal; color: #8fa6c8; font-size: 11px; }
.grow b { color: #ffc94d; }
.rchip { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--r); color: var(--r); }
.t-gold { color: #ffd27a; }
.rstats { grid-template-columns: repeat(3, 1fr); }

/* toast */
.toast { position: absolute; left: 50%; top: calc(var(--safe-t) + 70px); transform: translate(-50%, -20px); max-width: 92%; padding: 12px 18px; border-radius: 14px; background: rgba(8, 18, 44, 0.95); border: 1px solid rgba(255, 210, 122, 0.5); color: #fff; font-size: 14px; text-align: center; opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: #ffd27a; }

/* active power-ups under the weapon kit */
.hpowers { display: flex; gap: 6px; margin-top: 6px; }
.hpowers span { display: grid; place-items: center; width: 40px; padding: 4px 0 5px; border-radius: 10px; background: rgba(5, 10, 26, 0.6); border: 1px solid var(--c); box-shadow: 0 0 12px var(--c); }
.hpowers b { color: var(--c); font-size: 16px; line-height: 1; }
.hpowers i { display: block; width: 30px; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--c); transform-origin: left; }

/* inside a world: the 2D / 3D toggle sits above the Leave button */
.dome-btn.map2d { bottom: calc(var(--safe-b) + 104px); }
.dome-btn.hidden { display: none; }
.wlabel.region b { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #eaf6ff; }
.wlabel.site { border-color: rgba(111, 231, 255, 0.6); color: #fff; box-shadow: 0 0 14px rgba(111, 231, 255, 0.35); }

/* the worlds of other domes: named in their dome's colour */
.wlabel.outer { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: #fff; }
.wlabel.outer small { color: var(--c); }

/* sound & music */
.sound { text-align: left; }
.sound h2 { text-align: center; }
.mstyles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mstyle { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(5, 10, 26, 0.5); color: #eaf6ff; cursor: pointer; font: inherit; }
.mstyle b { display: block; font-size: 14px; }
.mstyle small { display: block; font-size: 11px; color: #9fb3d4; margin-top: 2px; }
.mstyle.sel { border-color: #6fe7ff; box-shadow: 0 0 14px rgba(111, 231, 255, 0.35); background: rgba(20, 50, 80, 0.6); }
.vol { display: grid; grid-template-columns: 70px 1fr 36px; align-items: center; gap: 10px; margin: 8px 0; font-size: 13px; }
.vol input { width: 100%; accent-color: #6fe7ff; }
.vol em { font-style: normal; text-align: right; color: #9fb3d4; }

/* travel between domes: locked, scan vs landed */
.sheet-btns.stack { flex-direction: column; align-items: stretch; background: linear-gradient(rgba(8, 14, 34, 0), rgba(8, 14, 34, 0.98) 14px); }
.sheet-btns.stack .btn { width: 100%; }
.travel { display: flex; flex-direction: column; gap: 6px; }
.lockwhy { font-size: 11px; color: #9fb3d4; text-align: center; line-height: 1.35; }
.btn.locked { opacity: 0.55; filter: grayscale(0.6); }
.seal.scan { background: radial-gradient(circle at 50% 0%, rgba(120, 255, 230, 0.18), rgba(10, 16, 40, 0.4) 70%); border-color: rgba(120, 255, 230, 0.4); }
.seal.scan .sealicon { color: #8ff0e0; text-shadow: 0 0 20px #3ac8b0; }
.ruler.unknown b { color: #8ff0e0; font-style: italic; }
.gain { color: #9ff0ff; }
.wlabel.unknown b { color: #8ff0e0; font-style: italic; letter-spacing: 0.2em; }

/* the long-range scanner look */
body.scan #view { filter: saturate(0.35) sepia(0.4) hue-rotate(140deg) brightness(0.78) contrast(1.2); }
.scanfx { position: absolute; inset: 0; pointer-events: none; display: none; overflow: hidden; }
body.scan .scanfx { display: block; }
.scanfx::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(120, 255, 230, 0.07) 0 1px, transparent 1px 3px); }
.scanfx::after { content: ''; position: absolute; inset: -50%; opacity: 0.14; animation: grain 0.5s steps(4) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 3%); } 50% { transform: translate(4%, -5%); } 75% { transform: translate(-3%, -2%); } 100% { transform: translate(0, 0); } }
.scanfx .sweep { position: absolute; left: 0; right: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(120, 255, 230, 0.09), transparent); animation: sweep 4.5s linear infinite; }
@keyframes sweep { from { top: -25%; } to { top: 110%; } }
.scanfx .sf-c { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(143, 240, 224, 0.55); }
.sf-c.tl { top: calc(var(--safe-t) + 58px); left: calc(var(--safe-l) + 12px); border-right: 0; border-bottom: 0; }
.sf-c.tr { top: calc(var(--safe-t) + 58px); right: calc(var(--safe-r) + 12px); border-left: 0; border-bottom: 0; }
.sf-c.bl { bottom: calc(var(--safe-b) + 12px); left: calc(var(--safe-l) + 12px); border-right: 0; border-top: 0; }
.sf-c.br { bottom: calc(var(--safe-b) + 12px); right: calc(var(--safe-r) + 12px); border-left: 0; border-top: 0; }
.scanfx .sf-tag { position: absolute; top: calc(var(--safe-t) + 66px); left: 50%; transform: translateX(-50%); text-align: center; color: #8ff0e0; text-shadow: 0 0 8px rgba(120, 255, 230, 0.6); white-space: nowrap; }
.sf-tag small { display: block; font-size: 10px; letter-spacing: 0.4em; animation: blink 1.6s steps(2) infinite; }
.sf-tag b { display: block; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.sf-tag span { font-size: 10px; letter-spacing: 0.12em; opacity: 0.75; }
@keyframes blink { 50% { opacity: 0.35; } }

/* the Gate Warden crossing */
.gatehud { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.gh-top { position: absolute; top: calc(var(--safe-t) + 14px); left: 50%; transform: translateX(-50%); width: min(420px, 86vw); text-align: center; }
.gh-top small { font-size: 10px; letter-spacing: 0.4em; color: #ffb38a; }
.gh-top > b { display: block; font-size: 16px; letter-spacing: 0.12em; color: #fff; text-shadow: 0 0 12px rgba(255, 120, 60, 0.7); }
.gh-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); margin: 8px 0; overflow: hidden; }
.gh-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff7a3a, #ffd27a); }
.gh-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.gh-hull i { display: inline-block; width: 18px; height: 12px; margin-right: 5px; border-radius: 3px; background: #6fe7ff; box-shadow: 0 0 10px #6fe7ff; }
.gh-hull i.off { background: rgba(255, 255, 255, 0.15); box-shadow: none; }
.gh-cry { color: #9ff0ff; }
.gh-hint { position: absolute; bottom: calc(var(--safe-b) + 22px); left: 12px; right: 12px; text-align: center; font-size: 12px; color: #cfe0ff; opacity: 0.85; text-shadow: 0 2px 6px #000; }
.gatehud.hitfx::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 140px rgba(255, 40, 20, 0.7); animation: ghHit 0.55s ease-out forwards; }
@keyframes ghHit { from { opacity: 1; } to { opacity: 0; } }
.gatemsg { position: absolute; top: 30%; left: 0; right: 0; text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.4s; z-index: 7; padding: 0 16px; }
.gatemsg.on { opacity: 1; }
.gatemsg b { display: block; font-size: clamp(26px, 6vw, 52px); font-weight: 900; letter-spacing: 0.14em; color: #fff; text-shadow: 0 0 24px rgba(255, 120, 60, 0.85); }
.gatemsg span { font-size: 14px; color: #ffd9c0; text-shadow: 0 2px 8px #000; }
.gatemsg.ok b { text-shadow: 0 0 24px rgba(111, 231, 255, 0.95); }
.gatemsg.ok span { color: #d4f6ff; }

/* on wide screens the world title fills the bottom-left corner: the dome buttons go bottom-right */
@media (min-aspect-ratio: 1/1) {
  .dome-btn { left: auto; right: calc(var(--safe-r) + 16px); }
}

/* the world title stays readable over bright land: a soft dark backdrop behind it */
.owtitle { isolation: isolate; }
.owtitle::before { content: ''; position: absolute; inset: -46px -90px -40px -60px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 35% 60%, rgba(2, 6, 16, 0.78), rgba(2, 6, 16, 0.45) 45%, rgba(2, 6, 16, 0) 72%); }
.owtitle small, .owtitle p { text-shadow: 0 1px 2px #000, 0 2px 10px rgba(0, 0, 0, 0.9); }
.owtitle.small h1 { font-size: clamp(30px, 5vw, 58px); }
@media (max-aspect-ratio: 1/1) { .owtitle::before { inset: -20px 0 -24px 0; background: radial-gradient(ellipse at 50% 50%, rgba(2, 6, 16, 0.7), rgba(2, 6, 16, 0) 70%); } }

/* turn and tilt the view inside a world */
.camctl { position: absolute; left: calc(var(--safe-l) + 14px); top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: 38px 38px; gap: 6px; pointer-events: none; }
.camctl .icon-btn { pointer-events: auto; font-size: 16px; touch-action: none; user-select: none; -webkit-user-select: none; }
.camctl #camN { grid-column: 1 / span 2; width: auto; }
#camNeedle { display: inline-block; font-style: normal; font-weight: 900; color: #ff8a7a; transition: transform 0.1s linear; }
#owSheet:not(.hidden) ~ .camctl { display: none; }

/* a real fact about a world */
.fact { margin-top: 10px; padding: 9px 12px; border-radius: 12px; text-align: left; background: rgba(111, 231, 255, 0.07); border: 1px solid rgba(111, 231, 255, 0.25); }
.fact small { display: block; font-size: 10px; letter-spacing: 0.22em; color: #8fe8ff; }
.fact span { font-size: 12.5px; color: #d9ecff; line-height: 1.4; }

/* labels you can tap: places open a card, the Heart of Sol pulls you in */
.wlabel.tappable { pointer-events: auto; cursor: pointer; }
.wlabel.tappable:hover b { color: #fff; text-shadow: 0 0 10px rgba(111, 231, 255, 0.8); }
.wlabel.heart b { color: #ffd27a; font-size: 13px; letter-spacing: 0.14em; animation: heartLbl 1.1s ease-in-out infinite; }
@keyframes heartLbl { 0%, 100% { text-shadow: 0 0 6px rgba(255, 160, 60, 0.5); } 10% { text-shadow: 0 0 18px rgba(255, 190, 90, 1); } 30% { text-shadow: 0 0 12px rgba(255, 180, 80, 0.8); } }
.seal.heartseal { background: radial-gradient(circle at 50% 0%, rgba(255, 190, 90, 0.22), rgba(10, 16, 40, 0.4) 70%); border-color: rgba(255, 190, 90, 0.45); }
.seal.heartseal .sealicon { color: #ffd27a; text-shadow: 0 0 20px #ff9a3a; }

/* a place card */
.placecard { position: relative; padding: 16px 16px 14px; border-radius: 18px; text-align: left;
  background: linear-gradient(160deg, rgba(111, 231, 255, 0.16), rgba(10, 16, 40, 0.55) 45%), radial-gradient(circle at 100% 0%, rgba(176, 138, 255, 0.25), transparent 55%);
  border: 1px solid rgba(111, 231, 255, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35); animation: pcIn 0.35s cubic-bezier(.2, .8, .2, 1); }
.placecard.hid { background: linear-gradient(160deg, rgba(120, 255, 230, 0.14), rgba(10, 16, 40, 0.55) 45%); border-color: rgba(120, 255, 230, 0.35); }
@keyframes pcIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.pc-top { display: flex; justify-content: space-between; align-items: center; }
.pc-top small { font-size: 10px; letter-spacing: 0.3em; color: #8fe8ff; }
.placecard h3 { margin: 6px 0 8px; font-size: 24px; letter-spacing: 0.06em; background: linear-gradient(180deg, #fff 30%, #9fe9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pc-chips span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #d9ecff; }
.placecard p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #e4f0ff; }
.pc-sec { margin-top: 12px; }
.pc-sec > small { display: block; font-size: 10px; letter-spacing: 0.22em; color: #9fb3d4; margin-bottom: 6px; }
.pc-sec .none { font-size: 12.5px; color: #b8c8e4; }
.pstage { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(111, 231, 255, 0.3); background: rgba(5, 12, 30, 0.6); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform 0.1s, border-color 0.15s; }
.pstage:hover { transform: translateY(-1px); border-color: rgba(111, 231, 255, 0.7); }
.pstage i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: rgba(111, 231, 255, 0.18); color: #9ff0ff; }
.pstage div { flex: 1; }
.pstage b { display: block; font-size: 14px; }
.pstage small { font-size: 12px; color: #ffd27a; }
.pstage em { font-style: normal; font-size: 12px; color: #9ff0ff; }
.pstage.locked { opacity: 0.6; cursor: default; }
.pstage.locked small { color: #9fb3d4; }

/* key facts on a place card */
.pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 4px 0 12px; border-radius: 12px; overflow: hidden; background: rgba(111, 231, 255, 0.18); border: 1px solid rgba(111, 231, 255, 0.22); }
.pc-stats > div { padding: 8px 10px; background: rgba(6, 12, 30, 0.82); }
.pc-stats small { display: block; font-size: 9.5px; letter-spacing: 0.24em; color: #8fa6c8; }
.pc-stats b { display: block; margin-top: 2px; font-size: 14px; color: #f2f8ff; letter-spacing: 0.02em; }

/* the Source panel in the Heart */
.seal.sourceseal { margin-top: 10px; background: radial-gradient(circle at 50% 0%, rgba(255, 246, 220, 0.14), rgba(10, 16, 40, 0.4) 70%); border-color: rgba(255, 240, 210, 0.3); }
.seal.sourceseal .sealicon { color: #fff4dc; text-shadow: 0 0 18px #ffe2b0; }
.seal.sourceseal.open { border-color: rgba(255, 240, 210, 0.8); box-shadow: 0 0 30px rgba(255, 230, 180, 0.3); }

/* the return to the Source */
.sourceui { position: absolute; inset: 0; pointer-events: none; z-index: 8; }
.src-white { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle, #fffdf6, #fff4dc 60%, #ffe8c0); }
.src-line { position: absolute; left: 0; right: 0; top: 40%; padding: 0 20px; text-align: center; opacity: 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: clamp(24px, 4.4vw, 46px); letter-spacing: 0.06em; color: #fffaf0; text-shadow: 0 0 30px rgba(255, 220, 160, 0.9), 0 2px 12px rgba(40, 20, 60, 0.6); }
.src-line.on { animation: srcLine 4.2s ease-in-out forwards; }
@keyframes srcLine { 0% { opacity: 0; transform: translateY(10px); letter-spacing: 0.03em; } 18% { opacity: 1; transform: none; } 78% { opacity: 1; } 100% { opacity: 0; letter-spacing: 0.14em; } }
.src-skip { position: absolute; right: calc(var(--safe-r) + 16px); bottom: calc(var(--safe-b) + 16px); pointer-events: auto; font-size: 13px; padding: 8px 14px; opacity: 0.75; }
.src-end { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(540px, 92vw); pointer-events: auto; text-align: center; padding: 30px 24px 24px; border-radius: 24px; color: #fffaf0;
  background: linear-gradient(170deg, rgba(255, 248, 230, 0.16), rgba(40, 24, 70, 0.55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 230, 180, 0.5); box-shadow: 0 0 90px rgba(255, 210, 140, 0.35); animation: pcIn 1.4s ease-out; }
.src-end small { letter-spacing: 0.42em; font-size: 11px; color: #ffe2b0; }
.src-end h2 { margin: 10px 0 8px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: clamp(32px, 6vw, 52px); text-shadow: 0 0 26px rgba(255, 220, 160, 0.8); }
.src-end p { margin: 0 auto; max-width: 440px; font-size: 14.5px; line-height: 1.55; color: #fff3dd; }
.src-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.src-stats div { padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 230, 180, 0.2); }
.src-stats b { display: block; font-size: 19px; }
.src-stats span { font-size: 9.5px; letter-spacing: 0.2em; color: #ffe2b0; }
.src-end .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* dome names in the universe view */
.wlabel.domename b { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); text-shadow: 0 0 12px var(--c), 0 2px 6px #000; }
.wlabel.domename small { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #cfe0ff; }

/* signals */
.wlabel.signal b { color: #8ff0ff; font-style: italic; letter-spacing: 0.1em; text-shadow: 0 0 10px rgba(111, 231, 255, 0.8), 0 2px 6px #000; }
.wlabel.signal.found b { color: #ffd27a; font-style: normal; text-shadow: 0 0 10px rgba(255, 210, 122, 0.8), 0 2px 6px #000; }
.teaser.sigline span { color: #9ff0ff; }
.teaser.sigline.found span { color: #ffd27a; }
.placecard.signal { border-color: rgba(255, 210, 122, 0.5); background: linear-gradient(160deg, rgba(255, 210, 122, 0.16), rgba(10, 16, 40, 0.6) 45%), radial-gradient(circle at 100% 0%, rgba(111, 231, 255, 0.2), transparent 55%); }
.placecard.signal h3 { background-image: linear-gradient(180deg, #fff 30%, #ffd27a); }
.sig-lore { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 15.5px !important; line-height: 1.5 !important; color: #fff3dd !important; }
