:root {
  --bg: #060a13;
  --panel: rgba(17, 24, 41, 0.72);
  --card: #111a2e;
  --card-2: #0c1426;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eaf0fb;
  --muted: #8b97b1;
  --lime: #c8ff4d;
  --amber: #ffb547;
  --coral: #ff5c7a;
  --blue: #3d7bff;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b { font-weight: 700; }

/* ---------- animated background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.b1 { width: 520px; height: 520px; background: #1d4dff; left: -120px; top: -140px; animation: drift 18s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #5a2bff; right: -80px; top: 30%; opacity: 0.3; animation: drift 22s ease-in-out infinite alternate-reverse; }
.b3 { width: 360px; height: 360px; background: #9cff2e; left: 40%; bottom: -220px; opacity: 0.16; animation: drift 26s ease-in-out infinite alternate; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.5;
}
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }

/* ---------- layout ---------- */
.stage {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(260px, 340px) auto minmax(240px, 300px);
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.side { display: flex; flex-direction: column; gap: 14px; }
.center { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.brand .logo { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--lime); box-shadow: 0 0 18px var(--lime); transform: rotate(45deg); animation: pulse 2.4s ease-in-out infinite; }
.brand .tag { color: var(--muted); font-size: 13px; margin-top: 4px; }
@keyframes pulse { 50% { box-shadow: 0 0 4px var(--lime); opacity: 0.7; } }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(14px);
}
.panel h3 { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.facts { list-style: none; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #c9d3e8; }
.facts li { padding-left: 14px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.facts.small { font-size: 12.5px; color: var(--muted); }
.facts.small li::before { background: var(--muted); }

.rule-line { font-size: 13.5px; line-height: 1.4; color: #c9d3e8; display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.chip { flex: none; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; }
.chip.lime { background: rgba(200, 255, 77, 0.14); color: var(--lime); }
.chip.amber { background: rgba(255, 181, 71, 0.14); color: var(--amber); }
.chip.coral { background: rgba(255, 92, 122, 0.14); color: var(--coral); }

.live { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); letter-spacing: 0.08em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.health { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hcell { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.hcell .v { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.hcell .l { font-size: 11.5px; color: var(--muted); }
.hcell.flash { animation: flash 0.9s var(--ease); }
@keyframes flash { 0% { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,77,.18); } 100% { border-color: var(--line); box-shadow: none; } }
.hcell.lime .v { color: var(--lime); }
.hcell.amber .v { color: var(--amber); }
.hcell.coral .v { color: var(--coral); }
.hcell.wide { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; }

.steps { list-style: none; display: grid; gap: 6px; counter-reset: s; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); padding: 8px 10px; border-radius: 10px; transition: background 0.3s, color 0.3s; }
.steps li .n { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; transition: all 0.4s var(--spring); }
.steps li.done { color: var(--text); }
.steps li.done .n { background: var(--lime); border-color: var(--lime); color: #0b1200; transform: scale(1.08); }
.steps li.now { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.steps li.now .n { border-color: var(--lime); color: var(--lime); }

.reset { border: 1px solid var(--line-2); border-radius: 12px; padding: 11px; font-size: 13px; color: var(--muted); transition: all 0.2s; }
.reset:hover { color: var(--text); border-color: var(--text); }

/* ---------- role toggle ---------- */
.role { position: relative; display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; backdrop-filter: blur(12px); }
.role button { position: relative; z-index: 1; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.role button.on { color: #0b1200; }
.role-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--lime); transition: all 0.45s var(--spring); }

/* ---------- phone ---------- */
.phone {
  position: relative;
  width: 390px; height: 800px;
  border-radius: 54px;
  background: #05080f;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 10px #0d1220, 0 0 0 11px var(--line-2), 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 120px rgba(61, 123, 255, 0.18);
  overflow: hidden;
}
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #000; border-radius: 20px; z-index: 30; }
.screen {
  position: absolute; inset: 0;
  padding: 54px 18px 96px;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }
.screen.noTabs { padding-bottom: 28px; }

.tabs {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: flex; justify-content: space-around;
  background: rgba(14, 20, 36, 0.86); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 26px;
  padding: 8px;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.tabs.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
.tabs a { position: relative; flex: 1; text-align: center; padding: 9px 4px; border-radius: 18px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: all 0.25s; }
.tabs a.on { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.tabs .badge { position: absolute; top: 2px; right: 18%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: #1b1000; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.tabs .badge.coral { background: var(--coral); color: #fff; }

.toast {
  position: absolute; left: 18px; right: 18px; bottom: 92px; z-index: 40;
  background: #f3f7ff; color: #0a0f1c;
  border-radius: 16px; padding: 13px 16px;
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(30px) scale(0.96); opacity: 0; pointer-events: none;
  transition: all 0.45s var(--spring);
}
.toast.show { transform: none; opacity: 1; }

/* ---------- app chrome ---------- */
.appbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.crest { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--blue), #1640c9); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; box-shadow: 0 6px 20px rgba(61, 123, 255, 0.4); }
.appbar .t { font-family: var(--display); font-weight: 700; font-size: 16px; }
.appbar .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.appbar .right { margin-left: auto; }

.kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); }
.h1 { font-family: var(--display); font-size: 30px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 4px; }
.sub { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-bottom: 12px; }
.card.glow { background: radial-gradient(120% 120% at 0% 0%, rgba(61, 123, 255, 0.22), transparent 60%), var(--card); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.splitbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--card-2); margin: 16px 0 10px; gap: 3px; }
.seg { height: 100%; border-radius: 99px; transition: width 0.6s var(--ease); }
.seg.auto { background: linear-gradient(90deg, #8dd61a, var(--lime)); }
.seg.held { background: linear-gradient(90deg, #ff9a1f, var(--amber)); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend b { color: var(--text); font-family: var(--display); font-size: 15px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.lime { background: var(--lime); }
.dot.amber { background: var(--amber); }

.th-val { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--amber); letter-spacing: -0.02em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 14px 0 8px; outline: none; background: linear-gradient(90deg, var(--lime) 0%, var(--amber) var(--p, 70%), var(--card-2) var(--p, 70%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--amber); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); cursor: grab; transition: transform 0.2s var(--spring); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--amber); }
input[type="range"]:disabled { opacity: 0.4; }
.scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 10px; }
.hint b { color: var(--text); }

.deadline { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #c9d3e8; border-color: rgba(255, 92, 122, 0.25); background: linear-gradient(180deg, rgba(255, 92, 122, 0.08), transparent), var(--card); }
.deadline .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 92, 122, 0.14); display: grid; place-items: center; font-size: 16px; }

.cta {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lime); color: #0b1200; font-weight: 700; font-size: 15px;
  border-radius: 18px; padding: 16px; margin-top: 6px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(200, 255, 77, 0.25);
  transition: transform 0.2s var(--spring), box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.cta::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 3.2s ease-in-out infinite 1s; }
@keyframes sheen { 40%, 100% { transform: translateX(120%); } }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: scale(0.97); }
.cta.secondary { background: rgba(255, 255, 255, 0.07); color: var(--text); box-shadow: none; border: 1px solid var(--line-2); }
.cta.secondary::after { display: none; }
.cta[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- processing ---------- */
.proc { display: flex; flex-direction: column; height: 100%; }
.proc .frame-wrap { position: relative; border-radius: 22px; overflow: hidden; margin: 18px 0; border: 1px solid var(--line-2); }
.scanline { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(200, 255, 77, 0.35), transparent); animation: scan 1.6s linear infinite; }
@keyframes scan { to { top: 100%; } }
.proc-steps { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.proc-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); transition: color 0.3s; }
.proc-steps li .st { color: transparent; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 11px; transition: all 0.35s var(--spring); }
.proc-steps li.on { color: var(--text); }
.proc-steps li.on .st { border-color: var(--lime); border-top-color: transparent; animation: spin 0.7s linear infinite; }
.proc-steps li.ok { color: var(--text); }
.proc-steps li.ok .st { background: var(--lime); border-color: var(--lime); color: #0b1200; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 6px; background: var(--card-2); border-radius: 99px; overflow: hidden; margin-top: 20px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--lime)); border-radius: 99px; }
.skip { margin-top: auto; align-self: center; font-size: 12.5px; color: var(--muted); padding: 10px; }
.det-ticker { font-family: var(--display); font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 18px; }
.det-ticker b { color: var(--lime); }

/* ---------- frame svg ---------- */
.frame svg { display: block; width: 100%; height: auto; }

/* ---------- review queue ---------- */
.qhead { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.qcount { font-family: var(--display); font-size: 13px; color: var(--muted); }
.qcount b { color: var(--amber); font-size: 22px; }
.qprog { display: flex; gap: 4px; margin-bottom: 16px; }
.qprog i { flex: 1; height: 4px; border-radius: 4px; background: var(--card); transition: background 0.4s; }
.qprog i.done { background: var(--lime); }
.qprog i.cur { background: var(--amber); }

.stack { position: relative; }
.stack .ghostcard { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.stack .g1 { transform: translateY(10px) scale(0.95); opacity: 0.6; }
.stack .g2 { transform: translateY(20px) scale(0.9); opacity: 0.3; }
.qcard { position: relative; z-index: 2; background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.qcard .frame { border-radius: 16px; overflow: hidden; }
.qmeta { display: flex; justify-content: space-between; align-items: center; margin: 12px 4px 8px; }
.pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.conf { font-size: 12.5px; color: var(--muted); }
.conf b { color: var(--amber); font-family: var(--display); font-size: 15px; }
.reason { margin: 0 4px 12px; font-size: 13px; color: var(--amber); background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.2); padding: 9px 11px; border-radius: 12px; line-height: 1.35; }
.reported { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--coral), #ff7a5c); padding: 9px 12px; border-radius: 12px; }
.q { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 4px 4px 10px; }
.cands { display: grid; gap: 8px; }
.cand { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); text-align: left; transition: all 0.2s var(--ease); }
.cand:hover { border-color: var(--lime); background: rgba(200, 255, 77, 0.06); transform: translateX(3px); }
.cand:active { transform: scale(0.98); }
.cand .num { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #1640c9); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; }
.cand .nm { font-weight: 600; font-size: 14.5px; }
.cand .why { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cand .arrow { margin-left: auto; color: var(--muted); }
.cand .flag { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: 0.06em; }
.leave { width: 100%; margin-top: 10px; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; font-weight: 600; transition: all 0.2s; }
.leave:hover { border-color: var(--coral); color: var(--coral); }

.clear { text-align: center; padding: 30px 6px; }
.clear .big-ic { width: 92px; height: 92px; margin: 10px auto 18px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 255, 77, 0.3), transparent 70%); display: grid; place-items: center; font-size: 42px; }
.confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; z-index: 50; pointer-events: none; }

/* ---------- send ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.stat { flex: 1; min-width: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.stat .v { font-family: var(--display); font-size: 22px; font-weight: 700; display: block; }
.stat .l { font-size: 11px; color: var(--muted); }
.stat.coral .v { color: var(--coral); }
.stat.lime .v { color: var(--lime); }
.warn { font-size: 13px; line-height: 1.45; color: var(--amber); background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.25); border-radius: 14px; padding: 11px 13px; margin-bottom: 12px; }
.warn a { color: var(--text); font-weight: 700; }
.sec-t { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 18px 4px 10px; }
.reel { display: flex; align-items: center; gap: 12px; padding: 9px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.reel .thumb { width: 74px; flex: none; border-radius: 10px; overflow: hidden; }
.reel .nm { font-weight: 600; font-size: 14px; }
.reel .cv { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.reel .cv .ok { color: var(--lime); }
.reel .ct { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 18px; padding-right: 6px; }
.reel.me { border-color: rgba(200, 255, 77, 0.35); }
.out { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(255, 92, 122, 0.35); margin-bottom: 8px; font-size: 13px; color: #c9d3e8; }
.out .x { color: var(--coral); font-weight: 800; }
.out small { color: var(--muted); display: block; font-size: 11.5px; }
.sent-banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(200, 255, 77, 0.18), rgba(200, 255, 77, 0.04)); border: 1px solid rgba(200, 255, 77, 0.35); margin-bottom: 12px; }
.sent-banner .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: #0b1200; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.sent-banner .t { font-weight: 700; }
.sent-banner .s { font-size: 12px; color: var(--muted); }
.plane { position: absolute; z-index: 60; font-size: 30px; pointer-events: none; }

/* ---------- parent ---------- */
.notif { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; margin-bottom: 16px; font-size: 12.5px; }
.notif .app { width: 30px; height: 30px; border-radius: 9px; background: var(--lime); display: grid; place-items: center; color: #0b1200; font-weight: 800; font-size: 14px; }
.notif .w { color: var(--muted); font-size: 11.5px; }
.hero { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); margin: 14px 0 12px; cursor: pointer; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 15, 0.92)); }
.hero .play { position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #0a0f1c; display: grid; place-items: center; font-size: 20px; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--spring); }
.hero:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.hero .cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; }
.hero .cap .t { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.hero .cap .s { font-size: 12px; color: #c9d3e8; }
.hero .bar { position: absolute; z-index: 3; left: 0; bottom: 0; height: 4px; width: 0; background: var(--lime); }
.actions { display: flex; gap: 8px; margin-bottom: 16px; }
.actions .cta { margin: 0; padding: 13px; font-size: 14px; }
.ptile { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.ptile .thumb { width: 96px; flex: none; border-radius: 10px; overflow: hidden; }
.ptile .nm { font-weight: 600; font-size: 14px; }
.ptile .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.nmk { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 700; color: var(--coral); border: 1px solid rgba(255, 92, 122, 0.4); padding: 7px 10px; border-radius: 10px; transition: all 0.2s; }
.nmk:hover { background: var(--coral); color: #fff; }
.wait { text-align: center; padding: 40px 10px; }
.wait .big-ic { font-size: 44px; margin-bottom: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .center { order: -1; }
  .side { width: 100%; max-width: 420px; }
}
@media (max-width: 460px) {
  .stage { padding: 0 0 24px; }
  .center { gap: 8px; padding-top: 8px; }
  .phone { width: 100vw; height: calc(100svh - 56px); border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--line); }
  .notch { display: none; }
  .screen { padding-top: 18px; }
  .side { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
