/* Страница игрока: тот же пиксельный стиль, что у оверлея стрима. Сначала — под телефон. */
:root {
  --bg: #0e1a24; --bg2: #16303a; --ink: #e8f0f2; --dim: #8fa9b3;
  --green: #7cff4f; --gold: #ffc83d; --red: #e8413c; --purple: #a35bff; --cyan: #4fd8ff;
  --panel: rgba(8, 16, 22, 0.86); --edge: #2b5160; --edge2: #3d7184;
  --twitch: #9146ff; --vk: #0077ff;
  --c-str: #e8413c; --c-agi: #a35bff; --c-prov: #ffc83d; --c-vit: #7cff4f;
  --px: 'Press Start 2P', monospace; --tx: 'Tiny5', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 20px/1.35 var(--tx); letter-spacing: .5px;
  background: radial-gradient(120% 70% at 50% 0%, #1d3d4a 0%, var(--bg) 60%) fixed, var(--bg);
  -webkit-font-smoothing: none;
}
body::before { /* редкие «звёзды» — как ночное небо арены */
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 9%, #cfe 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 42%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 12%, #ffd 50%, transparent 51%), radial-gradient(1px 1px at 6% 70%, #fff 50%, transparent 51%);
}
#app { position: relative; max-width: 760px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px 40px; }
[hidden] { display: none !important; }
a { color: var(--cyan); }
code { font-family: var(--tx); background: #0a141b; border: 2px solid var(--edge); padding: 0 6px; color: var(--green); white-space: nowrap; }

.logo { text-align: center; margin: 10px 0 22px; }
.logo-top { font: 11px var(--px); color: var(--cyan); letter-spacing: 8px; }
.logo-main { font: 22px/1.3 var(--px); color: var(--gold); margin-top: 8px; letter-spacing: 2px; text-shadow: 3px 3px 0 #6b3a00, 0 0 18px rgba(255, 200, 61, .25); }

.card {
  background: var(--panel); border: 4px solid var(--edge); box-shadow: 0 0 0 2px #050b0f, inset 0 0 0 2px #0b1820, 6px 6px 0 rgba(0,0,0,.35);
  padding: 18px 16px; margin: 0 0 16px;
}
h1, h2, h3 { font-family: var(--px); color: var(--gold); letter-spacing: 1px; margin: 2px 0 14px; line-height: 1.4; }
h1 { font-size: 15px; } h2 { font-size: 12px; } h3 { font-size: 10px; color: var(--cyan); }
.lead { margin: 0 0 14px; }
.note { color: var(--dim); font-size: 17px; margin: 8px 0; }
.note.warn { color: var(--gold); }
.dim { color: var(--dim); }
.gold-t { color: var(--gold); }
.small { font-size: 17px; }

.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.providers { display: grid; gap: 10px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 16px;
  font: 12px/1.4 var(--px); letter-spacing: 1px; color: #fff; text-decoration: none; cursor: pointer;
  border: 0; background: var(--bg2); box-shadow: inset -4px -4px 0 rgba(0,0,0,.35), inset 4px 4px 0 rgba(255,255,255,.12), 0 0 0 3px #050b0f;
  transition: transform .06s, filter .15s; -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(2px); box-shadow: inset 4px 4px 0 rgba(0,0,0,.35), 0 0 0 3px #050b0f; }
.btn:focus-visible, input:focus-visible, .link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn[disabled], .btn.off { opacity: .45; pointer-events: none; }
.btn .ico { font-size: 14px; }
.btn.twitch { background: var(--twitch); }
.btn.vk { background: var(--vk); }
.btn.gold { background: var(--gold); color: #2a1600; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 3px var(--edge2); }
.btn.danger { background: var(--red); }
.btn.small { min-height: 42px; font-size: 10px; padding: 8px 12px; }
.link { background: none; border: 0; color: var(--cyan); font: 18px var(--tx); cursor: pointer; padding: 8px 2px; text-decoration: underline; text-underline-offset: 4px; }
.link.danger { color: #ff7a74; }

.or { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 16px; margin: 18px 0 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 0; border-top: 2px dashed var(--edge); }

.field { display: grid; gap: 6px; }
.field > span { font-size: 16px; color: var(--dim); }
input:not([type=checkbox]) {
  width: 100%; min-height: 50px; padding: 10px 12px; font: 20px var(--tx); letter-spacing: 1px; color: var(--ink);
  background: #071016; border: 3px solid var(--edge2); border-radius: 0;
}
input::placeholder { color: #4d6a75; }
input.code { font: 24px var(--px); letter-spacing: 10px; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; color: var(--dim); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }

/* персонаж */
.hero { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center;
  background: linear-gradient(180deg, rgba(79,216,255,.08), transparent 50%), var(--panel); }
#sprite { width: 200px; height: 214px; image-rendering: pixelated; image-rendering: crisp-edges;
  background: radial-gradient(60% 18% at 44% 96%, rgba(0,0,0,.5), transparent 70%); }
.hero-info { width: 100%; }
.name { font: 16px/1.4 var(--px); color: var(--ink); word-break: break-word; }
.name #pBadge { margin-right: 6px; }
.lvl { display: flex; justify-content: space-between; margin: 12px 0 6px; }
.lvl b { color: var(--gold); }
.bar { height: 14px; background: #071016; border: 3px solid var(--edge2); }
.bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--green) 0 10px, #5fe03a 10px 12px); transition: width .6s; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.kv > div { display: grid; gap: 2px; background: #0a141b; border: 2px solid var(--edge); padding: 6px 8px; }
.kv > div > span { font-size: 15px; }
.kv b { font-size: 22px; font-weight: normal; }
.kv.small { grid-template-columns: repeat(2, 1fr); }
.kv.small b { font-size: 19px; }
.pill { display: inline-block; margin-top: 10px; padding: 3px 10px; border: 2px solid var(--red); color: #ff9d97; font-size: 16px; }

.grid2 { display: grid; gap: 0 16px; }
.stats { display: grid; gap: 8px; }
.stat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.stat .sbar { grid-column: 1 / -1; height: 8px; background: #071016; }
.stat .sbar i { display: block; height: 100%; }
.stat b { font-size: 22px; font-weight: normal; }
.gear { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.gear li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px dotted var(--edge); padding-bottom: 4px; }
.gear li span:first-child { color: var(--dim); font-size: 16px; flex: none; }
.gear li.rare b { color: var(--cyan); } .gear li.legendary b { color: var(--gold); } .gear li b { font-weight: normal; text-align: right; }
.gear li.empty { color: var(--dim); border: 0; }
.ways { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.ways li::before { content: '✓ '; color: var(--green); }
.sep { border-top: 2px dashed var(--edge); margin: 16px 0 14px; }
.foot { padding: 0 4px; }

dialog { max-width: min(520px, calc(100vw - 32px)); width: 100%; color: var(--ink); background: var(--panel); border: 4px solid var(--edge2); padding: 18px 16px; font: 19px/1.35 var(--tx); }
dialog::backdrop { background: rgba(2, 6, 9, .78); }
dialog p { margin: 0 0 12px; }
.bigcode { display: grid; gap: 10px; margin: 6px 0 12px; }
.bigcode code { font: 16px/1.6 var(--px); text-align: center; padding: 12px 6px; letter-spacing: 2px; word-break: break-all; }

#toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); width: max-content; padding: 10px 14px; background: #0a141b; border: 3px solid var(--green); box-shadow: 4px 4px 0 rgba(0,0,0,.4); transition: .25s; z-index: 10; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-color: var(--red); }

@media (min-width: 640px) {
  #app { padding-top: 34px; }
  .logo-main { font-size: 34px; }
  .logo-top { font-size: 13px; }
  h1 { font-size: 18px; } h2 { font-size: 13px; }
  .card { padding: 24px; }
  .hero { grid-template-columns: 220px 1fr; text-align: left; justify-items: stretch; align-items: center; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .providers { grid-template-columns: 1fr 1fr; }
  #vLogin, #vCode, #vNew { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- арена (шаг 2) ---------- */
.arena h2 { margin-bottom: 8px; }
.conn { width: 12px; height: 12px; background: var(--dim); box-shadow: 0 0 0 2px #050b0f; }
.conn.on { background: var(--green); } .conn.off { background: var(--red); }
.btnrow { display: grid; gap: 10px; }
.searching { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; color: var(--gold); }
.searching i { width: 14px; height: 14px; background: var(--gold); animation: sdaBlink 0.9s steps(2) infinite; flex: none; }
@keyframes sdaBlink { 50% { opacity: .2; } }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 10px; }
.vs .vsx { font: 12px var(--px); color: var(--red); padding-bottom: 8px; }
.fighter .fn { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fighter.foe { text-align: right; }
.fighter .hp { height: 12px; background: #071016; border: 2px solid var(--edge2); margin-top: 4px; }
.fighter .hp i { display: block; height: 100%; background: var(--green); transition: width .4s; }
.fighter.foe .hp i { background: var(--red); margin-left: auto; }
.fighter .hpn { font-size: 15px; color: var(--dim); }
.fighter .ok { color: var(--green); font-size: 15px; }
.roundbar { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; color: var(--dim); }
.timer { font: 14px var(--px); color: var(--gold); }
.timer.low { color: var(--red); }
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.zl { display: block; font-size: 16px; color: var(--dim); margin-bottom: 6px; }
.zbtns, .targets, .healrow { display: grid; gap: 6px; }
.targets { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-bottom: 12px; }
.healrow { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); margin: 10px 0; }
.zb, .tb, .hb { min-height: 44px; padding: 6px 8px; font: 17px var(--tx); color: var(--ink); background: #0a141b; border: 0; box-shadow: inset 0 0 0 3px var(--edge); cursor: pointer; text-align: left; }
.zb[aria-pressed=true], .tb[aria-pressed=true] { box-shadow: inset 0 0 0 3px var(--gold); color: var(--gold); background: #1d1708; }
.tb small, .hb small { display: block; color: var(--dim); font-size: 14px; }
.tb[disabled] { opacity: .35; }
.hb { box-shadow: inset 0 0 0 3px #2c6b3a; }
.cmdrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.cmdrow input { min-height: 46px; font-size: 18px; }
.feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.feed li { font-size: 16px; line-height: 1.35; padding: 6px 8px; background: #0a141b; border-left: 3px solid var(--edge2); white-space: pre-wrap; word-break: break-word; }
.feed li.me { border-left-color: var(--gold); }
.feed li.sent { border-left-color: var(--cyan); color: var(--dim); }
@media (min-width: 640px) { .btnrow { grid-template-columns: 1fr 1fr; } }
#aGo { width: 100%; }

/* ---------- шаг 3: шапка, вкладки, экран арены, лобби, лавка, вещи ---------- */
.mebar { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; margin-bottom: 10px; }
#miniSprite { width: 48px; height: 48px; image-rendering: pixelated; background: #0a141b; box-shadow: inset 0 0 0 2px var(--edge); }
.mb-info { display: grid; min-width: 0; }
.mb-info b { font: 12px/1.5 var(--px); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-info span { font-size: 16px; }
.mb-gold { display: grid; text-align: right; }
.mb-gold .gold-t { font: 13px var(--px); }
.mb-gold .dim { font-size: 14px; }
.tabs { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 -16px 14px; padding: 6px 16px; background: rgba(9, 18, 24, .94); backdrop-filter: blur(4px); border-bottom: 3px solid var(--edge); }
.tabs button { min-height: 46px; padding: 4px 2px; font: 15px/1.15 var(--tx); color: var(--dim); background: transparent; border: 0; cursor: pointer; }
.tabs button[aria-selected=true] { color: var(--gold); box-shadow: inset 0 -3px 0 var(--gold); }
.screen { padding: 8px; }
.screen-box { position: relative; width: 100%; overflow: hidden; background: radial-gradient(80% 90% at 50% 60%, #1c3440, #070e13); box-shadow: inset 0 0 0 3px var(--edge); }
.screen-box iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; }
.screen-box:fullscreen { display: flex; align-items: center; background: #000; }
.screen-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 16px; }
.screen-ctl { margin-top: 8px; gap: 8px; }
.screen-ctl .row { gap: 6px; }
.btnrow4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.btnrow4 .btn { font-size: 10px; min-height: 48px; }
.lblist, .toplist { margin: 0; padding: 0 0 0 4px; display: grid; gap: 8px; list-style: none; }
.toplist { list-style: decimal inside; }
.lblist li.now { color: var(--gold); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 8px; }
.seg button { min-height: 44px; font: 16px var(--tx); color: var(--dim); background: #0a141b; border: 0; box-shadow: inset 0 0 0 3px var(--edge); cursor: pointer; }
.seg button[aria-selected=true] { color: var(--gold); box-shadow: inset 0 0 0 3px var(--gold); }
.items { display: grid; gap: 10px; }
.items h3 { margin: 10px 0 0; }
.item { display: grid; gap: 8px; padding: 10px; background: #0a141b; box-shadow: inset 0 0 0 2px var(--edge); }
.item.rare { box-shadow: inset 0 0 0 2px #2f7fa6; } .item.leg { box-shadow: inset 0 0 0 2px var(--gold), 0 0 12px rgba(255, 200, 61, .18); } .item.good { box-shadow: inset 0 0 0 2px #3f7a4a; }
.it-head { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.it-head b { font-weight: normal; font-size: 19px; }
.item.leg .it-head b { color: var(--gold); } .item.rare .it-head b { color: var(--cyan); }
.it-head .dim { font-size: 15px; }
.it-ico { font-size: 24px; text-align: center; }
.it-body { font-size: 16px; display: grid; gap: 4px; }
.it-fx { color: #c9a8ff; }
.it-st { color: var(--ink); }
.it-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.it-act .btn { min-height: 40px; }
.statup { display: grid; gap: 8px; }
.su { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.su b { font-size: 22px; font-weight: normal; min-width: 32px; text-align: right; }
@media (min-width: 640px) {
  .tabs button { font-size: 18px; }
  .btnrow4 { grid-template-columns: repeat(3, 1fr); }
  .items { grid-template-columns: 1fr 1fr; }
  .items h3 { grid-column: 1 / -1; }
}
.zbtns { grid-template-columns: 1fr 1fr; } .zb { padding: 6px; font-size: 16px; }

/* ---------- v102: широкая арена на ПК и «во весь экран» с панелью боя ---------- */
.screen-box iframe { transition: none; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  body.wide #app { max-width: 1680px; }
  body.wide #arenaTab:not([hidden]):not(.fs) { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 26vw, 420px); gap: 16px; align-items: start; }
  body.wide #arenaTab:not(.fs) .screen { position: sticky; top: 70px; margin: 0; }
  body.wide #arenaTab:not(.fs) #arenaCard { margin: 0; }
  body.wide #arenaTab:not(.fs) #arenaCard .feed { max-height: calc(100vh - 470px); min-height: 160px; }
}
body.fsOn { overflow: hidden; }
#arenaTab.fs { position: fixed; inset: 0; z-index: 50; margin: 0; padding: 0; background: #000; display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 400px); grid-template-rows: minmax(0, 1fr); gap: 0; align-items: stretch; }
#arenaTab.fs .screen { position: static; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background: #000; }
#arenaTab.fs .screen-box { flex: 1; min-height: 0; box-shadow: none; background: #000; }
#arenaTab.fs .screen-ctl { margin: 0; padding: 6px 10px; background: #070e13; }
#arenaTab.fs .screen-ctl .note { font-size: 14px; }
#arenaTab.fs #arenaCard { margin: 0; padding: 12px; border-width: 0 0 0 4px; box-shadow: none; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; }
#arenaTab.fs #arenaCard h2 { font-size: 13px; margin-bottom: 8px; }
#arenaTab.fs #arenaCard .lead { font-size: 16px; margin: 0 0 8px; }
#arenaTab.fs .btnrow { grid-template-columns: 1fr 1fr; }
#arenaTab.fs .zb { min-height: 38px; }
#arenaTab.fs .cmdrow { margin-top: 10px; }
#arenaTab.fs .cmdrow input { min-height: 40px; }
#arenaTab.fs .feed { flex: 1 1 auto; max-height: none; min-height: 140px; }
#arenaTab.fs.nopanel { grid-template-columns: minmax(0, 1fr); }
#arenaTab.fs.nopanel #arenaCard { display: none; }
#btnPanel[aria-pressed=true] { color: var(--gold); }
@media (orientation: portrait) { /* телефон вертикально: картинка сверху, бой и лог под ней */
  #arenaTab.fs { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  #arenaTab.fs .screen-box { flex: none; }
  #arenaTab.fs #arenaCard { border-width: 4px 0 0; }
}

/* ---------- v102 (шаг 4): вызовы, отряд, голосования, итог боя ---------- */
.notices { display: grid; gap: 8px; margin: 0 0 10px; }
.notices:empty { display: none; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #0a141b; box-shadow: inset 0 0 0 2px var(--edge); font-size: 17px; }
.notice.hot { box-shadow: inset 0 0 0 2px var(--gold); background: #1a1508; animation: sdaHot 1.6s ease-in-out 2; }
.notice .row { gap: 6px; }
@keyframes sdaHot { 50% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 14px rgba(255, 200, 61, .35); } }
.result { margin: 0 0 12px; padding: 10px 12px; background: #0a141b; box-shadow: inset 0 0 0 3px var(--edge2); }
.result.win { box-shadow: inset 0 0 0 3px var(--gold), 0 0 16px rgba(255, 200, 61, .2); }
.result.loss { box-shadow: inset 0 0 0 3px #7a2a2a; }
.rs-head { display: flex; align-items: baseline; gap: 10px; }
.rs-head b { font: 13px/1.5 var(--px); color: var(--gold); }
.result.loss .rs-head b { color: var(--red); }
.rs-head .dim { flex: 1; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.chip { font-size: 16px; padding: 3px 8px; background: #101c24; box-shadow: inset 0 0 0 2px var(--edge); }
.chip.gold { color: var(--gold); } .chip.good { color: var(--green); box-shadow: inset 0 0 0 2px #2c6b3a; } .chip.bad { color: var(--red); box-shadow: inset 0 0 0 2px #6b2c2c; }
.mini { min-width: 30px; min-height: 30px; margin-left: 6px; padding: 0 6px; font: 15px var(--tx); color: var(--gold); background: #0a141b; border: 0; box-shadow: inset 0 0 0 2px var(--edge); cursor: pointer; vertical-align: middle; }
.mini:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.vote { margin: 0 0 12px; padding: 10px; background: #0d1a10; box-shadow: inset 0 0 0 3px #2c6b3a; }
.vote b { color: var(--green); font-size: 17px; font-weight: normal; }
.vote .vt { margin: 8px 0 0; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
#aFight.voting .zones, #aFight.voting #aGo, #aFight.voting #aTargets, #aFight.voting #aHeals, #aFight.voting #aCollars, #aFight.voting #aMoved { display: none; }
.hb.col { box-shadow: inset 0 0 0 3px #6b4a9a; }
#cWho .cmdrow { margin-top: 0; }
#cWho .cmdrow .row { gap: 6px; }
#sqBox h3 { margin: 14px 0 8px; }
#sqBox .lblist { margin-bottom: 10px; }
.btnrow4.sq { margin-top: 6px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { #cWho .cmdrow { grid-template-columns: 1fr; } #cWho .cmdrow .row { display: grid; grid-template-columns: 1fr 1fr; } }

/* v102: с рук, ссылка и чат отряда */
.seg.seg3 { grid-template-columns: 1fr 1fr 1fr; }
.price { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.price input { width: 110px; min-height: 40px; font-size: 18px; }
.sq-link { display: grid; gap: 6px; margin: 12px 0 4px; padding: 10px; background: #0a141b; box-shadow: inset 0 0 0 2px var(--edge); }
.sq-link code { white-space: normal; word-break: break-all; font-size: 16px; }
.sq-link .row { gap: 6px; }
.sqfeed { max-height: 240px; margin: 0 0 8px; }
.sqfeed li b { color: var(--cyan); font-weight: normal; }
.sqfeed li.me b { color: var(--gold); }
.feed li.sq { border-left-color: var(--purple); }
.hb.rise { box-shadow: inset 0 0 0 3px var(--gold); color: var(--gold); }
