@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter.3100e775e8.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:400;src:url(fonts/plex-mono-400.08949f728d.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:500;src:url(fonts/plex-mono-500.01d2854474.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:600;src:url(fonts/plex-mono-600.0d1f0b8d07.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:700;src:url(fonts/plex-mono-700.4f84d86cfd.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --bg: #000;
  --bg2: #08080b;
  --card: #0d0d11;
  --card2: #121218;
  --line: #24242b;
  --line2: #33333c;
  --text: #ececee;
  --mute: #7a7d85;
  --dim: #9da0a8;
  --heat: linear-gradient(100deg, #34095f 0%, #8e1572 26%, #e8381c 56%, #ffab1a 80%, #fff0bd 100%);
  --heat-soft: linear-gradient(100deg, rgba(142, 21, 114, .22), rgba(232, 56, 28, .2), rgba(255, 171, 26, .18));
  --cyan: #45e6ff;
  --cyan-bg: rgba(69, 230, 255, .1);
  --green: #19c37d;
  --red: #ff4d5e;
  --amber: #ffb01f;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --r: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.4 var(--sans); }
body { overflow-y: scroll; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: var(--text); }
.mono { font-family: var(--mono); }
.mute { color: var(--mute); }
.cyan { color: var(--cyan); }
.green { color: var(--green); }
.amber { color: var(--amber); }
.hidden { display: none !important; }

.app { display: grid; grid-template-columns: 275px 600px 350px; justify-content: center; min-height: 100vh; }
.left { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 4px 12px 16px; }
.center { border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100vh; min-width: 0; }
.right { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 8px 0 24px 28px; scrollbar-width: none; }
.right::-webkit-scrollbar { display: none; }

@media (max-width: 1280px) {
  .app { grid-template-columns: 88px 600px 350px; }
  .left .label, .left .wallet .who, .left .viral span, .brand .word { display: none; }
  .brand { justify-content: center; padding: 0; }
  nav.main a { margin: 0 auto; }
  .left .viral { width: 52px; height: 52px; padding: 0; }
  .left .viral i { display: block; }
}
@media (max-width: 1020px) {
  .app { grid-template-columns: 88px minmax(0, 600px); }
  .right { display: none; }
}
@media (max-width: 700px) {
  .app { grid-template-columns: 1fr; }
  .left { display: none; }
  .center { border: 0; padding-bottom: 64px; }
  .tabbar { display: flex !important; }
}

.brand { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: #1c0640 url(icon.png) center / cover; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 22px rgba(232, 56, 28, .28); }
.brand .word { font-weight: 800; font-size: 23px; letter-spacing: -0.04em; background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .word sup { font: 600 10px var(--mono); color: var(--cyan); -webkit-text-fill-color: var(--cyan); margin-left: 3px; letter-spacing: .05em; vertical-align: super; }

nav.main { display: flex; flex-direction: column; margin-top: 4px; }
nav.main a { display: flex; align-items: center; gap: 18px; padding: 12px 14px; border-radius: 999px; font-size: 19px; width: fit-content; transition: background .15s; }
nav.main a:hover { background: #16161b; }
nav.main a.on { font-weight: 700; }
nav.main a svg { width: 26px; height: 26px; flex: none; }
nav.main a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-left: -12px; margin-top: -16px; box-shadow: 0 0 8px var(--cyan); }

.viral { margin-top: 18px; height: 52px; border-radius: 999px; background: var(--heat); color: #120207; font-weight: 800; font-size: 17px; width: 100%; box-shadow: 0 6px 28px rgba(232, 56, 28, .28); display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s, filter .12s; }
.viral:hover { filter: brightness(1.08); transform: translateY(-1px); }
.viral i { display: none; font-style: normal; font-size: 22px; }

.wallet { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; cursor: pointer; }
.wallet:hover { background: #16161b; }
.wallet .who { flex: 1; min-width: 0; line-height: 1.2; }
.wallet .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet .who span { font: 12px var(--mono); color: var(--mute); }

.head { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head .title { display: flex; align-items: center; gap: 22px; padding: 10px 16px; min-height: 53px; }
.head .title h1 { font-size: 20px; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.head .title .sub { font-size: 13px; color: var(--mute); }
.head .back { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.head .back:hover { background: #16161b; }
.tabs { display: flex; }
.tabs a { flex: 1; text-align: center; padding: 15px 0 0; color: var(--mute); font-weight: 600; position: relative; }
.tabs a span { display: inline-block; padding-bottom: 13px; }
.tabs a:hover { background: #0c0c10; }
.tabs a.on { color: var(--text); font-weight: 700; }
.tabs a.on span { box-shadow: inset 0 -4px 0 0 var(--amber); border-radius: 0; }
.tabs a.on span { background: linear-gradient(var(--bg), var(--bg)) padding-box; border-bottom: 4px solid transparent; border-image: var(--heat) 1; box-shadow: none; }

@keyframes pulse { 50% { opacity: .35; } }

.composer { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.composer .box { flex: 1; min-width: 0; }
.composer textarea { width: 100%; background: transparent; border: 0; resize: none; outline: none; font-size: 20px; padding: 10px 0; min-height: 56px; }
.composer textarea::placeholder { color: var(--mute); }
.composer .bar { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.composer .as { font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.composer select { background: var(--card2); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.composer .count { margin-left: auto; font: 12px var(--mono); color: var(--mute); }
.composer .locked { padding: 14px 0 6px; color: var(--dim); font-size: 15px; }
.composer .locked b { color: var(--text); }
.composer .locked .row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.btn { height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; transition: filter .12s, background .12s; }
.btn.heat { background: var(--heat); color: #140208; }
.btn.heat:hover { filter: brightness(1.08); }
.btn.white { background: var(--text); color: #000; }
.btn.white:hover { background: #d4d4d8; }
.btn.ghost { border: 1px solid var(--line2); }
.btn.ghost:hover { background: #15151a; }
.btn.cyan { background: var(--cyan-bg); color: var(--cyan); border: 1px solid rgba(69, 230, 255, .35); }
.btn.big { height: 48px; font-size: 16px; padding: 0 24px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.av { width: 40px; height: 40px; border-radius: 50%; flex: none; background-color: #120a1c; background-repeat: no-repeat; position: relative; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.av.ring { box-shadow: 0 0 0 2px var(--ring, #e8381c), 0 0 14px -2px var(--ring, #e8381c); }
.av.bot { border-radius: 12px; filter: saturate(.75); }
.av.cold { background: radial-gradient(circle at 50% 35%, #2a1b4a, #0b0716 70%); }
.av.s28 { width: 28px; height: 28px; }
.av.s20 { width: 20px; height: 20px; }
.av.s48 { width: 48px; height: 48px; }
.av.big { width: 134px; height: 134px; border: 4px solid var(--bg); }

.badge { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; vertical-align: -3px; margin-left: 2px; }
.badge.voice { background: var(--heat); }
.badge.voice svg { width: 11px; height: 11px; }
.badge.iso { background: var(--cyan); box-shadow: 0 0 10px rgba(69, 230, 255, .6); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; font: 600 11px var(--mono); letter-spacing: .03em; }
.pill.iso { color: var(--cyan); background: var(--cyan-bg); border: 1px solid rgba(69, 230, 255, .3); }
.pill.bot { color: #b6bcc8; background: #1a1c22; border: 1px solid #2d3039; }
.pill.temp { color: #111; }
.pill.nosig { color: #cfd3da; background: #07060a; border: 1px solid #3a3a44; letter-spacing: .12em; }
.pill.scene { color: var(--dim); background: #16161b; border: 1px solid var(--line2); }

.item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; position: relative; }
.item:hover { background: #060608; }
.item .main { flex: 1; min-width: 0; }
.item .who { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; font-size: 15px; }
.item .who b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.item .who .h { color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.item .who .t { color: var(--mute); flex: none; }
.item .who .pill { margin-left: 4px; flex: none; }
.item .text { margin-top: 2px; font-size: 15px; white-space: pre-wrap; word-wrap: break-word; }
.item .text .tag { color: var(--cyan); }
.item .ctx { font-size: 13px; color: var(--mute); margin: 0 0 4px 52px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.item .reply-to { font-size: 14px; color: var(--mute); margin-top: 1px; }
.item .reply-to a { color: var(--cyan); }
.actions { display: flex; justify-content: space-between; max-width: 425px; margin-top: 10px; color: var(--mute); font-size: 13px; }
.actions button { display: flex; align-items: center; gap: 6px; padding: 0; border-radius: 999px; transition: color .12s; }
.actions button svg { width: 18px; height: 18px; padding: 8px; box-sizing: content-box; margin: -8px; border-radius: 50%; transition: background .12s; }
.actions .rp:hover { color: var(--cyan); }
.actions .rp:hover svg { background: var(--cyan-bg); }
.actions .rt:hover { color: var(--green); }
.actions .rt:hover svg { background: rgba(25, 195, 125, .1); }
.actions .bo:hover { color: var(--amber); }
.actions .bo:hover svg { background: rgba(255, 176, 31, .1); }
.actions .sh:hover { color: var(--cyan); }
.actions .bo b { font: 600 12px var(--mono); }

.event { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: flex-start; cursor: pointer; }
.event:hover { background: #060608; }
.event .ic { width: 40px; display: flex; justify-content: flex-end; flex: none; padding-top: 2px; }
.event .ic span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.event .ic svg { width: 16px; height: 16px; }
.event .body { flex: 1; min-width: 0; font-size: 15px; color: var(--dim); }
.event .body b { color: var(--text); }
.event .body .faces { display: flex; gap: 4px; margin-bottom: 6px; }
.event .meta { font-size: 13px; color: var(--mute); margin-top: 2px; font-family: var(--mono); }
.event.alarm { background: linear-gradient(90deg, rgba(69, 230, 255, .07), transparent 60%); border-left: 2px solid var(--cyan); }
.event.alarm .winners { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.event.alarm .winner { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #0b1416; border: 1px solid rgba(69, 230, 255, .25); font-size: 13px; color: var(--text); }
.event.alarm .winner span { font: 12px var(--mono); color: var(--cyan); }

.more { padding: 18px; text-align: center; color: var(--cyan); border-bottom: 1px solid var(--line); cursor: pointer; }
.more:hover { background: #060608; }
.empty { padding: 48px 32px; text-align: center; color: var(--mute); }
.empty b { display: block; color: var(--text); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }

.search { position: sticky; top: 0; background: var(--bg); padding: 4px 0 12px; z-index: 5; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid transparent; background: #16161b; padding: 0 18px 0 46px; outline: none; font-size: 15px; }
.search input:focus { border-color: var(--cyan); background: #000; }
.search { position: sticky; }
.search svg { position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; color: var(--mute); }
.rcard { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.rcard h2 { font-size: 20px; font-weight: 800; margin: 0; padding: 12px 16px; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; }
.rcard h2 small { font: 600 11px var(--mono); color: var(--mute); letter-spacing: .04em; }
.rrow { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
.rrow:hover { background: #0d0d11; }
.rrow .info { flex: 1; min-width: 0; line-height: 1.25; }
.rrow .info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.rrow .info span { font-size: 13px; color: var(--mute); }
.rrow .rank { font: 700 13px var(--mono); color: var(--cyan); width: 16px; }
.rcard .foot { padding: 14px 16px; color: var(--cyan); font-size: 15px; cursor: pointer; }
.rcard .foot:hover { background: #0d0d11; }

.alarmcard { padding: 4px 16px 16px; }
.alarmcard .big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.alarmcard .big small { font-size: 15px; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.cells { display: grid; grid-template-columns: repeat(25, 1fr); gap: 2px; margin: 14px 0 10px; }
.cells i { height: 18px; border-radius: 2px; background: #17171d; }
.cells i.on { background: var(--heat); background-size: 2500% 100%; }
.cells i.next { background: transparent; box-shadow: inset 0 0 0 1px var(--cyan); animation: pulse 1.4s infinite; }
.alarmcard .split { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--mute); }
.alarmcard .split b { color: var(--text); font-weight: 600; }

.box { padding: 14px 16px; font-size: 14px; color: var(--dim); line-height: 1.5; }
.box b { color: var(--text); }
.bars { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.bars i:nth-child(1) { width: 60%; background: linear-gradient(90deg, #e8381c, #ffab1a); }
.bars i:nth-child(2) { width: 15%; background: var(--cyan); }
.bars i:nth-child(3) { width: 5%; background: #b07cff; }
.bars i:nth-child(4) { width: 20%; background: #3a3a44; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font: 12px var(--mono); }
.legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.legend span:nth-child(1)::before { background: #ff7a1a; }
.legend span:nth-child(2)::before { background: var(--cyan); }
.legend span:nth-child(3)::before { background: #b07cff; }
.legend span:nth-child(4)::before { background: #3a3a44; }
.fine { padding: 0 16px 24px; font-size: 12.5px; color: var(--mute); line-height: 1.5; }
.fine b { color: var(--dim); }

.banner { height: 200px; background-color: #0b0613; background-repeat: no-repeat; background-size: 100% auto; image-rendering: pixelated; position: relative; overflow: hidden; }
.banner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px); pointer-events: none; }
.banner .hud { position: absolute; right: 14px; top: 12px; font: 600 12px var(--mono); color: #f2f2f2; text-shadow: 0 1px 3px #000; text-align: right; z-index: 2; letter-spacing: .04em; }
.banner .hud big { font-size: 26px; display: block; letter-spacing: -0.01em; }
.prof { padding: 12px 16px 0; position: relative; }
.prof .top { display: flex; justify-content: space-between; align-items: flex-start; height: 72px; }
.prof .top .av { margin-top: -84px; }
.prof .top .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.prof h2 { margin: 6px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prof .handle { color: var(--mute); font-size: 15px; }
.prof .bio { margin: 12px 0; font-size: 15px; white-space: pre-wrap; }
.prof .facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--mute); font-size: 14px; }
.prof .facts span { display: inline-flex; align-items: center; gap: 4px; }
.prof .facts svg { width: 16px; height: 16px; }
.prof .stats { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 4px; font-size: 14px; color: var(--mute); }
.prof .stats b { color: var(--text); font-weight: 700; }
.prof .stats .em b { color: var(--amber); }
.prof .note { font: 12px var(--mono); color: var(--mute); margin-bottom: 4px; }
.darkroom { margin: 14px 0 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); overflow: hidden; }
.darkroom h3 { margin: 0; padding: 11px 14px 9px; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.darkroom .dr { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 4px 14px; padding: 11px 14px; border-top: 1px solid var(--line); }
.darkroom .dr .lead { display: flex; flex-direction: column; gap: 3px; }
.darkroom .dr .k { font: 600 11px var(--mono); letter-spacing: .12em; color: var(--mute); }
.darkroom .dr .v { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); letter-spacing: .06em; }
.darkroom .dr .v svg { width: 15px; height: 15px; background: var(--cyan); border-radius: 50%; padding: 2px; }
.darkroom .dr.clear .v { color: var(--cyan); }
.darkroom .dr.wait .v { color: var(--dim); }
.darkroom .dr.fog .v { color: var(--red); }
.darkroom .dr p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.45; }
.darkroom .dr .btn { height: 32px; font-size: 13px; padding: 0 14px; }
.darkroom .foot { padding: 9px 14px 11px; border-top: 1px solid var(--line); font: 11.5px var(--mono); color: var(--mute); line-height: 1.5; }
@media (max-width: 640px) {
  .darkroom .dr { grid-template-columns: 1fr; }
  .darkroom .dr .lead { flex-direction: row; justify-content: space-between; }
  .darkroom .dr .btn { justify-self: start; }
}
.meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 14px; }
.meters div { background: var(--bg); padding: 12px 10px; text-align: center; }
.meters b { display: block; font: 700 18px var(--mono); letter-spacing: -0.02em; }
.meters span { font-size: 12px; color: var(--mute); }
.frameview { padding: 16px; }
.frameview .shot { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0b0613; position: relative; }
.frameview .shot img, .frameview .shot svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.frameview p { color: var(--mute); font-size: 13px; }
.shimmer { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 176, 31, .14) 50%, transparent 70%); background-size: 200% 100%; animation: shim 1.3s infinite; display: grid; place-items: center; font: 600 12px var(--mono); color: var(--amber); letter-spacing: .1em; }
@keyframes shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.lb { width: 100%; border-collapse: collapse; }
.lb td, .lb th { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; font: 13px var(--mono); }
.lb th { color: var(--mute); font-weight: 500; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.lb td:first-child, .lb th:first-child { text-align: left; padding-left: 16px; width: 36px; }
.lb td.star { text-align: left; font-family: var(--sans); font-size: 14px; }
.lb td.star div { display: flex; align-items: center; gap: 10px; }
.lb td.star b { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb tr { cursor: pointer; }
.lb tr:hover td { background: #070709; }
.lb .gain { color: var(--cyan); }

.panel { padding: 16px; border-bottom: 1px solid var(--line); }
.panel h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.panel h3 .market { float: right; width: 34px; height: 34px; margin: -5px 0 0 12px; border-radius: 50%; display: block; transition: transform .15s, box-shadow .15s; box-shadow: 0 0 18px rgba(232, 56, 28, .28); }
.panel h3 .market svg { width: 34px; height: 34px; display: block; }
.panel h3 .market:hover { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 2px rgba(69, 230, 255, .55), 0 0 22px rgba(255, 171, 26, .4); }
.panel p { margin: 6px 0; color: var(--dim); font-size: 14px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0; }
.kv div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kv b { display: block; font: 700 20px var(--mono); letter-spacing: -0.02em; }
.kv span { font-size: 12px; color: var(--mute); }
.botgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.botgrid a { display: block; text-align: center; font: 11px var(--mono); color: var(--mute); }
.botgrid .av { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; margin-bottom: 4px; }
.hash { font: 12px var(--mono); color: var(--green); background: #050a07; border: 1px solid #12321f; border-radius: 10px; padding: 10px 12px; height: 92px; overflow: hidden; white-space: pre; line-height: 1.45; margin-top: 12px; }
.progress { height: 6px; border-radius: 999px; background: #17171d; overflow: hidden; margin-top: 10px; }
.progress i { display: block; height: 100%; background: var(--heat); width: 0; transition: width .2s; }

.veil { position: fixed; inset: 0; background: rgba(91, 112, 131, .32); display: grid; place-items: start center; padding-top: 6vh; z-index: 100; backdrop-filter: blur(2px); }
.modal { width: 600px; max-width: calc(100vw - 24px); background: #000; border-radius: var(--r); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); overflow: hidden; max-height: 88vh; overflow-y: auto; }
.modal .mhead { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.modal .mhead h3 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; }
.modal .x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.modal .x:hover { background: #16161b; }
.modal .mbody { padding: 4px 20px 20px; }
.modal .mbody p { color: var(--dim); font-size: 14px; margin: 8px 0; }
.modal .row { display: flex; gap: 14px; align-items: center; }
.stepper { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.stepper input[type=range] { flex: 1; accent-color: #ff7a1a; }
.stepper .val { font: 700 30px var(--mono); min-width: 64px; text-align: right; }
.math { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 13px var(--mono); color: var(--dim); }
.math div { display: flex; justify-content: space-between; padding: 3px 0; }
.math div b { color: var(--text); font-weight: 600; }
.math .tot { border-top: 1px dashed var(--line2); margin-top: 6px; padding-top: 8px; }
.math .tot b { font-size: 15px; }
.ring-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--cyan-bg); border: 1px solid rgba(69, 230, 255, .3); color: var(--cyan); font-size: 13px; font-weight: 600; }
.preview { width: 180px; height: 180px; border-radius: 14px; overflow: hidden; background: #0b0613; position: relative; flex: none; }
.preview img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.field { display: block; margin: 12px 0; }
.field span { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: transparent; border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; outline: none; font-size: 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: #001318; font-weight: 700; padding: 12px 18px; border-radius: 10px; z-index: 200; box-shadow: 0 10px 30px rgba(69, 230, 255, .3); font-size: 14px; max-width: 90vw; }
.toast.bad { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(255, 77, 94, .3); }

.tabbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 56px; background: rgba(0, 0, 0, .9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); justify-content: space-around; align-items: center; z-index: 50; }
.tabbar a svg { width: 26px; height: 26px; }
.tabbar .fab { position: fixed; right: 16px; bottom: 72px; width: 56px; height: 56px; border-radius: 50%; background: var(--heat); display: grid; place-items: center; color: #140208; font-size: 26px; font-weight: 800; box-shadow: 0 8px 24px rgba(232, 56, 28, .4); }

.tape { overflow: hidden; border-top: 1px solid var(--line); height: 30px; position: relative; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape .run { display: inline-flex; gap: 28px; white-space: nowrap; padding: 7px 0; font: 12px var(--mono); color: var(--dim); animation: tape 70s linear infinite; }
.tape .run span b { color: var(--text); font-weight: 600; }
.tape .run i { font-style: normal; margin-right: 2px; }
.tape .run .up { color: var(--amber); }
.tape .run .nosig, .tape .run .nosig b { color: #cfd3da; letter-spacing: .06em; }
.tape .run .burn { color: #b07cff; }
.tape .run .cold { color: #8fb3ff; }
.tape:hover .run { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape .run { animation: none; } }
