:root {
  --bg: #07090f;
  --bg2: #0c1019;
  --panel: rgba(19, 25, 38, .72);
  --panel-solid: #121826;
  --panel2: rgba(30, 38, 56, .7);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #eef1f7;
  --muted: #8b95a9;
  --dim: #5b6579;
  --a1: #2de2c4;
  --a2: #8b7bff;
  --grad: linear-gradient(135deg, var(--a1), var(--a2));
  --ally: #4aa8ff;
  --enemy: #ff5c7a;
  --good: #36e08f;
  --bad: #ff5c6c;
  --r: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
kbd {
  font: 600 11px/1 Inter, sans-serif; padding: 3px 6px; border-radius: 6px;
  background: var(--panel2); border: 1px solid var(--line2); color: var(--muted);
}

/* ---------- animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.o1 { width: 620px; height: 620px; background: #1bb7a0; top: -260px; left: -120px; animation: drift1 26s ease-in-out infinite alternate; }
.o2 { width: 560px; height: 560px; background: #5b45e0; top: -200px; right: -160px; animation: drift2 30s ease-in-out infinite alternate; }
.o3 { width: 520px; height: 520px; background: #b2335a; bottom: -300px; left: 35%; opacity: .16; animation: drift3 34s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-200px, 160px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-160px, -120px) scale(1.2); } }
.grid-lines {
  position: absolute; inset: -50%;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(60deg) translateY(-10%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 60%);
  animation: gridmove 18s linear infinite;
}
@keyframes gridmove { to { background-position: 0 56px, 0 0; } }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 14px 28px;
  background: rgba(7, 9, 15, .6); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(45, 226, 196, .35); position: relative; overflow: hidden;
}
.logo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 5s var(--ease) infinite 1s; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.logo svg { width: 24px; height: 24px; fill: none; stroke: #07090f; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.word { font: 700 21px/1 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-select {
  display: flex; align-items: center; gap: 2px; padding: 0 4px 0 12px; height: 34px;
  border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); transition: border-color .2s;
}
.pill-select:hover { border-color: var(--line2); }
.pill-select span { font-size: 12px; color: var(--muted); }
.pill-select select { appearance: none; border: 0; background: transparent; padding: 6px 22px 6px 6px; font-weight: 600; outline: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%238b95a9' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center; background-size: 12px; }
.pill-select select option { background: var(--panel-solid); }

.status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.status b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 700; }
.live { width: 10px; height: 10px; position: relative; }
.live i { position: absolute; inset: 1px; border-radius: 50%; background: var(--dim); }
.status.on .live i { background: var(--good); }
.status.on .live::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--good); animation: ping 1.8s var(--ease) infinite; }
.status.err .live i { background: var(--bad); }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.mini { border: 1px solid var(--line2); background: transparent; border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.mini:hover { border-color: var(--a1); color: var(--a1); }

.banner {
  max-width: 1440px; margin: 16px auto 0; padding: 12px 18px; border-radius: 12px; width: calc(100% - 56px);
  background: rgba(45, 226, 196, .07); border: 1px solid rgba(45, 226, 196, .25); color: #bff5ea; font-size: 13px;
  animation: rise .5s var(--ease);
}
.banner.err { background: rgba(255, 92, 108, .08); border-color: rgba(255, 92, 108, .3); color: #ffc7cd; }

/* ---------- board ---------- */
.board {
  display: grid; grid-template-columns: 250px minmax(0, 1fr) 250px; gap: 24px;
  padding: 24px 28px 32px; max-width: 1440px; margin: 0 auto;
}
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(12px); }
h2 { font: 600 12px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0; }
.team-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.team-head h2 { display: flex; align-items: center; gap: 8px; }
.team-head h2 i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }
.ally .team-head h2 { color: var(--ally); } .ally .team-head h2 i { background: var(--ally); box-shadow: 0 0 10px var(--ally); }
.enemy .team-head h2 { color: var(--enemy); } .enemy .team-head h2 i { background: var(--enemy); box-shadow: 0 0 10px var(--enemy); }
.link { background: none; border: 0; color: var(--dim); font-size: 12px; padding: 2px 4px; }
.link:hover { color: var(--text); }
.slots { display: flex; flex-direction: column; gap: 10px; }

/* ---------- slots ---------- */
.slot {
  --c: var(--ally);
  position: relative; height: 74px; border-radius: 14px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s, opacity .3s, box-shadow .3s;
  isolation: isolate;
}
.enemy .slot { --c: var(--enemy); }
.slot:hover { transform: translateX(var(--nudge, 3px)); border-color: var(--line2); }
.enemy .slot:hover { --nudge: -3px; }
.slot .splash {
  position: absolute; inset: 0; z-index: -1; background: center 18% / cover no-repeat; opacity: 0; transform: scale(1.12);
  transition: opacity .5s, transform .8s var(--ease);
}
.slot.filled .splash { opacity: .55; transform: scale(1); }
.slot.filled::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,9,15,.95) 0%, rgba(7,9,15,.7) 45%, rgba(7,9,15,.15) 100%);
}
.enemy .slot.filled::before { background: linear-gradient(270deg, rgba(7,9,15,.95) 0%, rgba(7,9,15,.7) 45%, rgba(7,9,15,.15) 100%); }
.slot.filled { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.slot .pick { all: unset; position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 12px; cursor: pointer; }
.enemy .slot .pick { flex-direction: row-reverse; text-align: right; }
.slot .pick:focus-visible { outline: 2px solid var(--a1); outline-offset: -2px; border-radius: 14px; }
.portrait {
  width: 50px; height: 50px; border-radius: 12px; flex: none; background: var(--panel2) center/cover;
  display: grid; place-items: center; border: 1px solid var(--line2); color: var(--dim); transition: border-color .2s, color .2s;
}
.portrait svg { width: 22px; height: 22px; }
.slot:hover .portrait { color: var(--text); border-color: var(--c); }
.slot.filled .portrait { border-color: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 40%, transparent); }
.slot .meta { min-width: 0; flex: 1; }
.slot .role { display: flex; align-items: center; gap: 5px; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.enemy .slot .role { justify-content: flex-end; }
.slot .role svg { width: 12px; height: 12px; }
.slot .name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .name.empty { color: var(--dim); font-weight: 500; font-size: 14px; }
.slot .actions {
  position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: flex; gap: 6px;
  opacity: 0; transition: opacity .2s;
}
.enemy .slot .actions { right: auto; left: 10px; }
.slot:hover .actions, .slot.focused .actions, .slot:focus-within .actions { opacity: 1; }
.slot.dim { opacity: .4; }
.slot.focused { box-shadow: 0 0 0 2px var(--a1), 0 0 24px rgba(45, 226, 196, .25); }
.slot.locked { animation: lockin .7s var(--spring); }
.slot.locked::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: radial-gradient(circle at 30px 50%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%);
  animation: flash .9s var(--ease) forwards;
}
.enemy .slot.locked::after { background: radial-gradient(circle at calc(100% - 30px) 50%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%); }
@keyframes lockin { 0% { transform: scale(.94); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

.slot.you { border: 1px dashed rgba(45, 226, 196, .5); background: rgba(45, 226, 196, .05); }
.slot.you .portrait { border-color: var(--a1); color: var(--a1); animation: breathe 2.6s ease-in-out infinite; }
.slot.you .name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slot.you.suggest .splash { opacity: .28; transform: scale(1); filter: saturate(.6); }
.slot.you .pick { cursor: default; }
@keyframes breathe { 50% { box-shadow: 0 0 22px rgba(45, 226, 196, .45); } }

.icon-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(7, 9, 15, .75);
  display: grid; place-items: center; font-size: 13px; color: var(--muted); padding: 0; backdrop-filter: blur(6px);
  transition: all .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--a1); }
.icon-btn.on { color: #07090f; background: var(--a1); border-color: var(--a1); }
.icon-btn svg { width: 15px; height: 15px; }

/* ---------- controls ---------- */
.center { min-width: 0; display: flex; flex-direction: column; }
.controls { padding: 16px 18px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 12px; }
.role-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.role-row .label { width: 86px; color: var(--muted); font-size: 13px; }
.seg {
  position: relative; display: inline-flex; padding: 4px; border-radius: 12px;
  background: rgba(7, 9, 15, .6); border: 1px solid var(--line); flex-wrap: wrap;
}
.seg .ind {
  position: absolute; top: 0; left: 0; height: 0; width: 0; border-radius: 9px; background: var(--grad);
  box-shadow: 0 4px 20px rgba(45, 226, 196, .3); transition: transform .45s var(--spring), width .45s var(--spring), height .3s; z-index: 0;
}
.seg button {
  position: relative; z-index: 1; border: 0; background: transparent; padding: 8px 14px; border-radius: 9px;
  color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; transition: color .25s;
}
.seg button svg { width: 16px; height: 16px; }
.seg button:hover { color: var(--text); }
.seg button.active { color: #07090f; }
.hint { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.hint b { color: var(--text); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 260px; margin-bottom: 22px;
  border: 1px solid var(--line2); background: var(--panel-solid); isolation: isolate;
  transform-style: preserve-3d; transition: transform .3s var(--ease);
}
.hero::before {               /* animated gradient border */
  content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, var(--a1) 60deg, var(--a2) 120deg, transparent 180deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.hero .art {
  position: absolute; inset: -20px; z-index: -2; background: center 20% / cover no-repeat;
  transform: translate(var(--px, 0), var(--py, 0)) scale(1.08); transition: transform .4s var(--ease);
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns { from { background-position: center 15%; } to { background-position: center 30%; } }
.hero .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,15,.97) 0%, rgba(7,9,15,.85) 40%, rgba(7,9,15,.25) 100%), linear-gradient(0deg, rgba(7,9,15,.8), transparent 50%); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 26px 28px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a1); }
.eyebrow .crown { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; color: #07090f; font-size: 11px; }
.hero h3 { font: 700 44px/1.05 'Space Grotesk', sans-serif; margin: 8px 0 4px; letter-spacing: -.02em; }
.hero .title { color: var(--muted); font-size: 13px; text-transform: capitalize; margin-bottom: 14px; }
.stats { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.stat .v { font: 700 18px/1.2 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.factors { display: flex; flex-direction: column; gap: 7px; max-width: 460px; }
.factor { display: grid; grid-template-columns: 22px 92px minmax(0, 1fr) 58px; align-items: center; gap: 10px; font-size: 12px; }
.factor img { width: 22px; height: 22px; border-radius: 6px; }
.factor .fn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.factor .fn b { color: var(--text); font-weight: 600; }
.dbar { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); }
.dbar::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: rgba(255,255,255,.25); }
.dbar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; width: 0; transition: width .8s var(--ease) .15s; }
.dbar i.pos { left: 50%; background: linear-gradient(90deg, rgba(54,224,143,.5), var(--good)); }
.dbar i.neg { right: 50%; background: linear-gradient(270deg, rgba(255,92,108,.5), var(--bad)); }
.factor .fv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.factor .fv small { display: block; font-weight: 500; color: var(--dim); font-size: 10px; }
.pos { color: var(--good); } .neg { color: var(--bad); }

.ring { position: relative; width: 150px; height: 150px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(255,255,255,.08); }
.ring .val { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 8px rgba(45,226,196,.5)); }
.ring .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .num { font: 700 34px/1 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.ring .num small { font-size: 18px; }
.ring .cap { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-top: 10px; justify-self: center; }
.conf i { display: inline-flex; gap: 2px; }
.conf i b { width: 4px; height: 10px; border-radius: 1px; background: rgba(255,255,255,.15); }
.conf i b.on { background: var(--a1); }
.hero-side { display: flex; flex-direction: column; align-items: center; }

.hero.skeleton, .res.skeleton { background: linear-gradient(100deg, var(--panel-solid) 30%, #1a2133 50%, var(--panel-solid) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.hero.skeleton::before { display: none; }
@keyframes shimmer { to { background-position: -150% 0; } }
.hero.empty { display: grid; place-items: center; text-align: center; padding: 32px; }
.hero.empty h3 { font-size: 22px; }
.steps { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.steps div { padding: 10px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); max-width: 180px; }
.steps b { display: block; color: var(--text); margin-bottom: 2px; }

/* ---------- results ---------- */
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.results { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.res {
  display: grid; grid-template-columns: 26px 46px minmax(0, 1fr) 150px; gap: 14px; align-items: center;
  padding: 10px 16px 10px 12px; border-radius: 14px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.res:hover { border-color: var(--line2); background: rgba(30, 38, 56, .8); transform: translateX(4px); }
.res.sel { border-color: rgba(45, 226, 196, .55); background: rgba(45, 226, 196, .06); }
.res.skeleton { height: 68px; border: 0; }
.res .rank { color: var(--dim); font: 700 14px 'Space Grotesk', sans-serif; text-align: center; }
.res img.icon { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line2); transition: transform .3s var(--spring); }
.res:hover img.icon { transform: scale(1.08) rotate(-2deg); }
.res .nm { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.res .sub { color: var(--muted); font-size: 12px; }
.tags { display: inline-flex; gap: 4px; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 1px 6px 1px 1px; border-radius: 999px; background: rgba(255,255,255,.05); font-variant-numeric: tabular-nums; }
.tag img { width: 16px; height: 16px; border-radius: 50%; }
.wrcol { display: flex; flex-direction: column; gap: 6px; }
.wrcol .wtop { display: flex; justify-content: space-between; align-items: baseline; }
.wrcol .big { font: 700 20px/1 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.wrcol .cf { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad); transition: width .9s var(--ease); }
.empty-state { padding: 26px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r); }

.advanced { padding: 0; }
.advanced summary { cursor: pointer; padding: 14px 18px; color: var(--muted); font-size: 13px; list-style: none; display: flex; align-items: center; gap: 8px; }
.advanced summary::before { content: '›'; font-size: 18px; transition: transform .25s var(--ease); }
.advanced[open] summary::before { transform: rotate(90deg); }
.adv-body { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.num { display: flex; align-items: center; gap: 10px; }
.num input { width: 80px; background: rgba(7,9,15,.6); border: 1px solid var(--line2); border-radius: 8px; padding: 6px 10px; outline: none; }
.num input:focus { border-color: var(--a1); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { display: none; }
.switch span { width: 36px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .25s; flex: none; }
.switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--spring); }
.switch input:checked + span { background: var(--a1); }
.switch input:checked + span::after { transform: translateX(16px); }

.foot { max-width: 900px; margin: 0 auto; padding: 8px 28px 40px; text-align: center; color: var(--dim); font-size: 11px; }

/* ---------- picker ---------- */
dialog#picker {
  width: min(820px, calc(100vw - 32px)); height: min(680px, calc(100vh - 64px)); padding: 0;
  background: rgba(14, 18, 28, .92); backdrop-filter: blur(20px); color: var(--text);
  border: 1px solid var(--line2); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  flex-direction: column; overflow: hidden;
}
dialog#picker[open] { display: flex; animation: pop .35s var(--spring); }
dialog::backdrop { background: rgba(3, 5, 9, .6); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.picker-title { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.picker-title b { font: 700 20px 'Space Grotesk', sans-serif; color: var(--text); }
.picker-title .ally { color: var(--ally); } .picker-title .enemy { color: var(--enemy); }
.search-wrap { margin: 14px 20px 12px; display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 48px; border-radius: 14px; background: rgba(7,9,15,.7); border: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.search-wrap:focus-within { border-color: var(--a1); box-shadow: 0 0 0 4px rgba(45, 226, 196, .12); }
.search-wrap svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search-wrap input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; }
.search-wrap input::-webkit-search-cancel-button { display: none; }
.seg-small { margin: 0 20px 12px; align-self: flex-start; }
.seg-small button { padding: 6px 10px; font-size: 12px; }
.grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; padding: 4px 20px 20px; align-content: start; }
.champ { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 2px; border-radius: 12px; animation: rise .35s var(--ease) backwards; transition: background .2s; }
.champ img { width: 58px; height: 58px; border-radius: 14px; border: 2px solid transparent; transition: transform .25s var(--spring), border-color .2s, box-shadow .2s; }
.champ span { font-size: 11px; color: var(--muted); max-width: 76px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.champ:hover, .champ:focus-visible { background: rgba(255,255,255,.04); }
.champ:hover img, .champ:focus-visible img, .champ.first img { transform: scale(1.1); border-color: var(--a1); box-shadow: 0 6px 20px rgba(45, 226, 196, .3); }
.champ:hover span, .champ.first span { color: var(--text); }
.champ.taken { opacity: .18; pointer-events: none; }
.champ.off img { filter: grayscale(.7); opacity: .55; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 12px; background: rgba(20, 26, 40, .95); border: 1px solid var(--line2); font-size: 13px;
  transition: all .35s var(--spring); z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .board { grid-template-columns: 1fr 1fr; }
  .center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
  .top { padding: 12px 16px; gap: 10px; }
  .status { margin-left: 0; width: 100%; }
  .status .lbl { display: none; }
  .board { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .banner { width: calc(100% - 32px); }
  .role-row .label { width: 100%; }
  .seg-roles button span { display: none; }
  .seg-mode button { padding: 7px 9px; font-size: 12.5px; }
  .seg-roles button { padding: 9px 13px; }
  .hero-body { grid-template-columns: 1fr; padding: 20px; }
  .hero-side { flex-direction: row; gap: 16px; justify-content: flex-start; }
  .ring { width: 110px; height: 110px; }
  .ring .num { font-size: 26px; }
  .hero h3 { font-size: 34px; }
  .factor { grid-template-columns: 22px 70px minmax(0, 1fr) 52px; }
  .res { grid-template-columns: 40px minmax(0, 1fr) 84px; gap: 10px; }
  .res .rank { display: none; }
  .res img.icon { width: 40px; height: 40px; }
  dialog#picker { width: 100vw; max-width: 100vw; height: 86vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  dialog#picker[open] { animation: sheet .4s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); padding: 4px 16px 16px; }
  .champ img { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- live picks ---------- */
.live-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--panel2); font-size: 13px; font-weight: 600; transition: all .25s var(--ease);
}
.live-btn:hover { border-color: var(--a1); }
.live-btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); position: relative; }
.live-btn[data-state=off] i { background: var(--grad); }
.live-btn[data-state=offline] { color: #ffd38a; border-color: rgba(255, 196, 92, .35); } .live-btn[data-state=offline] i { background: #ffc45c; }
.live-btn[data-state=waiting] { color: var(--muted); }
.live-btn[data-state=ready] i { background: var(--good); }
.live-btn[data-state=paused] i { background: var(--muted); }
.live-btn[data-state=champselect] { color: #07090f; background: var(--grad); border-color: transparent; box-shadow: 0 0 24px rgba(45, 226, 196, .45); }
.live-btn[data-state=champselect] i { background: #07090f; }
.live-btn[data-state=champselect] i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #07090f; animation: ping 1.4s var(--ease) infinite; }

dialog.sheet {
  width: min(560px, calc(100vw - 32px)); padding: 0; color: var(--text);
  background: rgba(14, 18, 28, .95); backdrop-filter: blur(20px); border: 1px solid var(--line2); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
dialog.sheet[open] { animation: pop .35s var(--spring); }
.live-body { padding: 8px 22px 22px; }
.lead { color: var(--muted); margin: 6px 0 14px; }
.live-status { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13px; margin-bottom: 16px; }
.live-status i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.live-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.live-steps li { counter-increment: s; position: relative; padding-left: 38px; display: flex; flex-direction: column; gap: 3px; }
.live-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font: 700 13px 'Space Grotesk', sans-serif; background: var(--grad); color: #07090f;
}
.live-steps span { color: var(--muted); font-size: 13px; }
.live-steps a { color: var(--a1); }
.live-steps .btn { align-self: flex-start; margin-top: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line2); background: var(--panel2); font-weight: 600; font-size: 13px; text-decoration: none; color: var(--text) !important;
  transition: all .2s var(--ease);
}
.btn:hover { border-color: var(--a1); transform: translateY(-1px); }
.btn.primary { background: var(--grad); color: #07090f !important; border-color: transparent; box-shadow: 0 6px 20px rgba(45, 226, 196, .3); }
.live-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.bans { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bans img { width: 24px; height: 24px; border-radius: 6px; filter: grayscale(1) brightness(.7); position: relative; }
.bans .ban { position: relative; }
.bans .ban::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--bad); transform: rotate(-45deg); }

.slot.hovering .splash { opacity: .25 !important; }
.slot.hovering .portrait { opacity: .6; border-style: dashed; }
.slot.hovering .name::after { content: ' · hovering'; font-weight: 500; font-size: 11px; color: var(--muted); }
.slot.livefill { animation: lockin .7s var(--spring); }

/* ---------- ads (kept calm: labelled, fixed space, never in dialogs) ---------- */
.ad-slot {
  position: relative; margin: 0 0 22px; padding: 22px 12px 12px; border-radius: var(--r);
  background: rgba(255,255,255,.02); border: 1px solid var(--line); min-height: 130px; overflow: hidden;
}
.ad-slot::before { content: 'Sponsored'; position: absolute; top: 6px; left: 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ad-col { margin-top: 16px; min-height: 280px; }
@media (max-width: 1100px) { .ad-col { display: none !important; } }

.foot nav { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 12px; }
.foot nav a:hover { color: var(--text); }
@media (max-width: 640px) { .live-btn span { font-size: 12px; } }

.small-tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; color: #ffcf7a; background: rgba(255, 196, 92, .1); border: 1px solid rgba(255, 196, 92, .3); }
.hero-side .small-tag { margin-top: 10px; }
.ring .cap { max-width: 110px; line-height: 1.25; }
.ring .cap2 { font-size: 10px; color: var(--dim); margin-top: 2px; }

/* ---------- runes & spells ---------- */
.build { padding: 16px 18px 18px; margin: -6px 0 22px; animation: rise .4s var(--ease); }
.build-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.build-head h2 { color: var(--a1); }
.page-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.page-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(7,9,15,.5); font-weight: 600; font-size: 13px; transition: all .2s;
}
.page-tabs button small { font-weight: 500; font-size: 11px; color: var(--muted); }
.page-tabs button:hover { border-color: var(--line2); }
.page-tabs button.active { border-color: var(--a1); background: rgba(45, 226, 196, .08); }
.runepage { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.tree-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.tree-head img { width: 22px; height: 22px; }
.keystone { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.keystone img.ks { width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.4); box-shadow: 0 0 0 2px var(--a1), 0 0 20px rgba(45,226,196,.35); }
.keystone b { display: block; font-size: 14px; }
.keystone small { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; max-width: 260px; }
.minors { display: flex; gap: 10px; flex-wrap: wrap; }
.minors span { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 70px; text-align: center; }
.minors img { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.35); border: 1px solid var(--line2); }
.minors em { font-style: normal; font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.shards { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.shards span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); }
.spells .sp-row { display: flex; gap: 6px; margin-bottom: 6px; }
.spells img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); }
.spells small { font-size: 11px; }
.build .small-tag { margin-top: 12px; }
.seg-sort button { font-size: 13px; }
@media (max-width: 640px) {
  .runepage { grid-template-columns: 1fr; }
  .seg-sort button { padding: 7px 9px; font-size: 12px; }
}

/* ---------- items ---------- */
.items-head { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.iblock small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.irow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.irow img, .ipop img { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(0,0,0,.35); }
.irow.core i { font-style: normal; color: var(--a1); font-weight: 700; font-size: 18px; }
.irow.one { gap: 10px; margin-bottom: 8px; flex-wrap: nowrap; }
.irow.one b { font-size: 13px; }
.irow.one small { margin-top: 1px; }
.ipop { display: flex; gap: 10px; flex-wrap: wrap; }
.ipop span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ipop em { font-style: normal; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ipop em.pos { color: var(--good); } .ipop em.neg { color: var(--bad); }
@media (max-width: 640px) { .items-grid { grid-template-columns: 1fr; } }

/* rune/spell options: top pick, alternative, hidden gem */
.page-tabs button.gem { border-style: dashed; border-color: rgba(139, 123, 255, .55); }
.page-tabs button.gem.active { border-style: solid; border-color: var(--a2); background: rgba(139, 123, 255, .1); }
.sp-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sp-opt .sp-row { margin-bottom: 0; flex: none; }
.sp-opt .sp-row img { width: 32px; height: 32px; border-radius: 8px; }
.sp-opt small { display: block; }
.opt-label { font-size: 11px; font-weight: 700; color: var(--text); }
.sp-opt.gem .opt-label { color: var(--a2); }

/* ---------- house promos (our own apps) ---------- */
.ad-slot.house { padding: 22px 0 0; background: transparent; border-color: transparent; min-height: 0; }
.ad-slot.house::before { content: 'From the maker of autofill.gg'; }
.promo {
  display: flex; align-items: center; gap: 16px; border-radius: 14px; overflow: hidden; position: relative;
  text-decoration: none; color: inherit; min-height: 120px; padding: 14px 18px;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.promo:hover { transform: translateY(-3px); }
.promo-text { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; min-width: 0; }
.promo-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.promo-name img { width: 26px; height: 26px; border-radius: 7px; }
.promo-line { font-size: 13px; line-height: 1.35; }
.promo-cta { font-weight: 700; font-size: 13px; margin-top: 4px; }
.ad-col .promo { flex-direction: column; align-items: stretch; text-align: left; }

/* Stick Figure Storytime: coral card, stick figure jumping in a burst */
.promo.sfs { background: #ff5a4e; color: #1d1b2e; box-shadow: 0 6px 0 #1d1b2e; border: 2px solid #1d1b2e; }
.promo.sfs:hover { box-shadow: 0 9px 0 #1d1b2e; }
.promo.sfs::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(29,27,46,.12) 1.2px, transparent 1.3px); background-size: 14px 14px; pointer-events: none; }
.promo.sfs .promo-cta { display: inline-block; align-self: flex-start; background: #1d1b2e; color: #fff; padding: 5px 12px; border-radius: 999px; }
.sfs-stage { position: relative; width: 92px; height: 92px; flex: none; border-radius: 16px; background: #fbf6ea; border: 2px solid #1d1b2e; box-shadow: 3px 3px 0 #1d1b2e; transform: rotate(-4deg); z-index: 1; }
.ad-col .sfs-stage { align-self: center; width: 110px; height: 110px; }
.sfs-stage .burst { position: absolute; inset: 14%; fill: #f6a821; stroke: #1d1b2e; stroke-width: 3; animation: burst 1.1s ease-in-out infinite; }
.sfs-stage .stick { position: absolute; left: 22%; top: 8%; width: 56%; height: 84%; stroke: #1d1b2e; stroke-width: 4; animation: hop 1.1s cubic-bezier(.34,1.56,.64,1) infinite; }
.sfs-stage .stick circle:first-child { fill: #fbf6ea; }
.sfs-stage .stick .eye { fill: #1d1b2e; stroke: none; }
.sfs-stage .arm { transform-origin: 30px 34px; animation: wave 1.1s ease-in-out infinite; }
.sfs-stage .arm.r { animation-delay: .15s; }
.sfs-stage .spark { position: absolute; width: 8px; height: 3px; background: #3aa0ff; border-radius: 2px; animation: spark 1.1s ease-in-out infinite; }
.sfs-stage .s1 { top: 14%; left: 12%; transform: rotate(-35deg); }
.sfs-stage .s2 { top: 12%; right: 12%; transform: rotate(35deg); animation-delay: .2s; }
.sfs-stage .s3 { top: 40%; right: 6%; transform: rotate(80deg); animation-delay: .4s; }
@keyframes hop { 0%, 100% { transform: translateY(4px); } 45% { transform: translateY(-6px); } }
@keyframes wave { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-12deg); } }
@keyframes burst { 0%, 100% { transform: scale(.9) rotate(0deg); } 50% { transform: scale(1.08) rotate(12deg); } }
@keyframes spark { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }


/* footer strip */
.more-apps { max-width: 900px; margin: 10px auto 18px; padding: 0 28px; }
.more-apps h2 { text-align: center; margin-bottom: 12px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-app { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); transition: transform .25s var(--spring), border-color .2s; }
.mini-app:hover { transform: translateY(-2px); }
.mini-app.sfs:hover { border-color: #ff5a4e; }
.mini-app.blob:hover { border-color: #3fd6c8; }
.mini-app.party:hover { border-color: #f7b733; }
.mini-app img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.mini-app span { display: flex; flex-direction: column; min-width: 0; }
.mini-app b { font-size: 14px; }
.mini-app small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.mini-app em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 18px; }
@media (max-width: 640px) {
  .more-grid { grid-template-columns: 1fr; }
  .more-apps { padding: 0 16px; }
  .promo { padding: 12px 14px; }
  .sfs-stage { width: 76px; height: 76px; }
}

/* sidebar: all three apps stacked */
.promo-stack { display: flex; flex-direction: column; gap: 14px; }
.ad-col .promo { min-height: 0; padding: 14px; gap: 10px; }
.ad-col .promo-line { font-size: 12px; }
.ad-col .promo-name { font-size: 14px; }

/* Cozy Blob Breeder: night nursery, glowing wobbling blob, rising bubbles */
.promo.blob { background: radial-gradient(ellipse at 30% 30%, #173a52 0%, #0b1530 55%, #070b1d 100%); color: #e6f6ff; border: 1px solid rgba(63, 214, 200, .35); }
.promo.blob:hover { box-shadow: 0 0 30px rgba(63, 214, 200, .3); }
.blob-tank { position: relative; width: 92px; height: 92px; flex: none; }
.ad-col .blob-tank { align-self: center; width: 110px; height: 96px; }
.blob-body {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 56px; margin: -28px 0 0 -31px;
  background: radial-gradient(circle at 35% 30%, #b8fff4 0%, #3fd6c8 38%, #12867f 100%);
  box-shadow: 0 0 22px rgba(63, 214, 200, .75), inset -6px -8px 14px rgba(0, 60, 70, .45);
  border-radius: 52% 48% 46% 54% / 56% 50% 50% 44%;
  animation: blobmorph 3.2s ease-in-out infinite, blobbob 2.4s ease-in-out infinite;
}
.blob-body .eye { position: absolute; top: 38%; width: 9px; height: 10px; border-radius: 50%; background: #0b2a35; box-shadow: inset 2px 2px 0 rgba(255,255,255,.85); animation: blink 4s infinite; }
.blob-body .eye.l { left: 30%; } .blob-body .eye.r { right: 30%; }
.blob-body .smile { position: absolute; left: 50%; top: 62%; width: 14px; height: 7px; margin-left: -7px; border: 2px solid #0b2a35; border-top: 0; border-radius: 0 0 10px 10px; }
.bub { position: absolute; bottom: 4px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(160, 240, 255, .7); animation: bubble 3s ease-in infinite; opacity: 0; }
.bub.b1 { left: 14%; } .bub.b2 { left: 78%; width: 6px; height: 6px; animation-delay: .8s; } .bub.b3 { left: 30%; width: 5px; height: 5px; animation-delay: 1.6s; } .bub.b4 { left: 64%; animation-delay: 2.2s; }
@keyframes blobmorph { 0%, 100% { border-radius: 52% 48% 46% 54% / 56% 50% 50% 44%; } 33% { border-radius: 44% 56% 54% 46% / 48% 58% 42% 52%; } 66% { border-radius: 56% 44% 50% 50% / 52% 44% 56% 48%; } }
@keyframes blobbob { 0%, 100% { transform: translateY(3px) scale(1, .97); } 50% { transform: translateY(-4px) scale(.97, 1.03); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-80px); opacity: 0; } }
.store-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.store { font-size: 11.5px; font-weight: 700; color: #07101f; background: #3fd6c8; padding: 5px 10px; border-radius: 8px; text-decoration: none; transition: transform .2s var(--spring), background .2s; }
.store:hover { transform: translateY(-1px); background: #7ff0e4; }

/* Party AI: sunny yellow, wiggling robot, popping speech bubbles */
.promo.party { background: #f7b733; color: #23170a; border: 2px solid #23170a; box-shadow: 0 6px 0 #23170a; }
.promo.party:hover { box-shadow: 0 9px 0 #23170a; }
.promo.party .promo-name { font-size: 17px; }
.promo.party .promo-cta { display: inline-block; align-self: flex-start; background: #23170a; color: #fff; padding: 5px 12px; border-radius: 999px; }
.party-stage { position: relative; width: 92px; height: 92px; flex: none; }
.ad-col .party-stage { align-self: center; width: 130px; height: 92px; }
.party-stage .bot { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -28px 0 0 -32px; border-radius: 16px; border: 2px solid #23170a; animation: wiggle 1.6s ease-in-out infinite; }
.bubble { position: absolute; font-size: 10.5px; font-weight: 800; background: #fff; color: #23170a; padding: 2px 7px; border-radius: 10px; border: 2px solid #23170a; white-space: nowrap; animation: pop 3.2s ease-in-out infinite; opacity: 0; }
.bubble.q1 { top: 0; left: -6px; } .bubble.q2 { top: 4px; right: -8px; animation-delay: 1.6s; }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-3px); } }
@keyframes pop { 0%, 8% { opacity: 0; transform: scale(.4) translateY(6px); } 14%, 42% { opacity: 1; transform: scale(1) translateY(0); } 50%, 100% { opacity: 0; transform: scale(.8) translateY(-4px); } }
.promo.party .store { background: #23170a; color: #fff; }
.promo.party .store:hover { background: #4a3417; }
