
/* v2 по референсу клиента (Новая презентация.pdf, 16.11.2026): стекло как в iOS, оранжевый #FF9C2E */
.app[data-theme="dark"] {
  --bg: #000;
  --text: #fff;
  --hint: rgba(235,235,245,.55);
  --dim: rgba(235,235,245,.32);
  --glass: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  --glass-solid: rgba(28,28,30,.72);
  --edge: rgba(255,255,255,.16);
  --edge-top: rgba(255,255,255,.28);
  --shadow: 0 10px 30px rgba(0,0,0,.55);
  --plain: #0f0f10;
  --row-sep: rgba(255,255,255,.07);
  --long: #2fd27c; --long-bg: rgba(47,210,124,.12);
  --short: #ff5a5f; --short-bg: rgba(255,90,95,.10);
  --glow: rgba(255,138,30,.55);
  --logo: #fff;
  --grid: rgba(255,255,255,.05);
  color-scheme: dark;
}
.app[data-theme="light"] {
  --bg: #f2f2f6;
  --text: #0b0b0d;
  --hint: rgba(60,60,67,.62);
  --dim: rgba(60,60,67,.38);
  --glass: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.66));
  --glass-solid: rgba(255,255,255,.82);
  --edge: rgba(0,0,0,.07);
  --edge-top: rgba(255,255,255,.95);
  --shadow: 0 8px 24px rgba(20,20,40,.08);
  --plain: #fff;
  --row-sep: rgba(0,0,0,.06);
  --long: #16a85c; --long-bg: rgba(22,168,92,.10);
  --short: #e5383f; --short-bg: rgba(229,56,63,.08);
  --glow: rgba(255,150,50,.38);
  --logo: #0b0b0d;
  --grid: rgba(0,0,0,.05);
  color-scheme: light;
}
.app { --orange: #FF9C2E; --orange-hi: #FFB65A; --orange-lo: #F5871C; --ink: #1b0f00;
  position: relative; width: 390px; min-height: 844px; overflow: hidden; background: var(--bg); color: var(--text);
  font-family: "Inter", -apple-system, "SF Pro Display", "Segoe UI", sans-serif; font-size: 15px; letter-spacing: -.01em;
  display: flex; flex-direction: column; }
.app * { box-sizing: border-box; }
.num { font-variant-numeric: tabular-nums; }

/* стекло */
.glass { background: var(--glass); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--edge-top), var(--shadow);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }

/* статус-бар и шапки */
.statusbar { height: 50px; padding: 16px 30px 0 34px; display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; position: relative; z-index: 2; }
.statusbar .icons { display: flex; gap: 6px; font-size: 17px; }
.tghead { margin: 0 14px; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; position: relative; z-index: 2; }
.tghead .round { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; border: 1px solid var(--edge); background: rgba(127,127,127,.12); }
.tghead .ttl { text-align: center; line-height: 1.15; }
.tghead .ttl b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.tghead .ttl span { font-size: 11px; color: var(--hint); }
.topnav { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 0; height: 52px; position: relative; z-index: 2; }
.topnav .back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.topnav h2 { margin: 0; font-size: 18px; font-weight: 700; }
.topnav .sp { width: 40px; }

/* тёплая подсветка по бокам */
.glows::before, .glows::after { content: ""; position: absolute; top: 40px; width: 160px; height: 330px; border-radius: 50%; filter: blur(46px); background: var(--glow); z-index: 0; pointer-events: none; }
.glows::before { left: -120px; }
.glows::after { right: -120px; }

.body { flex: 1; padding: 0 20px; position: relative; z-index: 1; display: flex; flex-direction: column; }
.label { font-size: 13px; color: var(--hint); margin: 0 0 8px 6px; }

/* кнопки */
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border: 0; border-radius: 28px;
  background: linear-gradient(180deg, var(--orange-hi) 0%, var(--orange) 45%, var(--orange-lo) 100%); color: var(--ink);
  font: 700 17px "Inter", sans-serif; letter-spacing: -.01em; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 26px rgba(255,140,30,.30); }
.cta.sm { height: 48px; font-size: 16px; border-radius: 24px; }

/* нижняя навигация: компактная, по центру */
.tabbar { margin: 18px auto 0; width: 236px; height: 62px; border-radius: 31px; display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; }
.tabbar i.sep { height: 30px; background: var(--edge); }
.tabbar button { all: unset; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--hint); cursor: pointer; }
.tabbar button .ti { font-size: 22px; }
.tabbar button.on { color: var(--text); }
.tabbar button.on.or { color: var(--orange); }
.homebar { height: 34px; display: grid; place-items: center; }
.homebar i { width: 134px; height: 5px; border-radius: 3px; background: var(--text); opacity: .9; }

/* лого */
.logo { width: 150px; height: 150px; margin: 4px auto -10px; display: block; }
.coinimg { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.coinimg.mono { display: grid; place-items: center; background: rgba(127,127,127,.22); font-size: 10px; font-weight: 700; }

/* ===== главный ===== */
.hero { text-align: center; font-size: 21px; font-weight: 700; margin: 22px 0 20px; letter-spacing: -.02em; }
.coinrow { height: 54px; border-radius: 27px; display: flex; align-items: center; padding: 0 18px; gap: 12px; font-weight: 600; }
.coinrow .ti-search { font-size: 20px; color: var(--hint); }
.coinrow .bar { width: 1px; height: 22px; background: var(--edge); }
.coinrow .grow { flex: 1; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type { height: 64px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.type b { font-size: 14px; font-weight: 600; }
.type span { font-size: 12px; color: var(--hint); }
.type.on { border-color: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 var(--edge-top), 0 0 0 1px rgba(255,255,255,.25), var(--shadow); }
.app[data-theme="light"] .type.on { border-color: rgba(0,0,0,.45); box-shadow: inset 0 1px 0 var(--edge-top), 0 0 0 1px rgba(0,0,0,.18), var(--shadow); }
.free { text-align: center; font-size: 14px; color: var(--hint); margin-top: 14px; }
.free b { color: var(--text); }

/* ===== выбор монеты: сплошной фон, единый блок без разделителей ===== */
.search { height: 46px; border-radius: 14px; background: var(--plain); border: 1px solid var(--edge); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--hint); }
.coinlist { margin-top: 14px; border-radius: 18px; background: var(--plain); border: 1px solid var(--edge); padding: 6px 0; }
.coinlist .r { display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.coinlist .r .nm { flex: 1; } .coinlist .r .nm b { display: block; font-size: 15px; font-weight: 600; } .coinlist .r .nm span { font-size: 12px; color: var(--hint); }
.coinlist .r .px { text-align: right; } .coinlist .r .px b { display: block; font-size: 15px; font-weight: 600; } .coinlist .r .px span { font-size: 12px; }
.coinlist .r.on { background: rgba(255,156,46,.10); }
.up { color: var(--long); } .dn { color: var(--short); }
.sheethead { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 14px; }
.sheethead h2 { margin: 0; font-size: 20px; font-weight: 700; }
.sheethead .x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(127,127,127,.16); }
.solid { background: var(--plain) !important; }

/* ===== сигнал ===== */
.chartbox { position: relative; height: 270px; margin: 4px 0 0; }
.chartbox .tag { position: absolute; left: 18px; top: 8px; z-index: 3; display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; }
.chartbox .tag span { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: rgba(127,127,127,.18); color: var(--hint); }
#chart { position: absolute; inset: 0; }
.sighead { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; }
.sighead .coinimg { width: 42px; height: 42px; }
.sighead .nm { flex: 1; } .sighead .nm b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; } .sighead .nm span { font-size: 13px; color: var(--hint); }
.dir { height: 56px; padding: 0 22px; border-radius: 18px; display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: var(--long);
  background: linear-gradient(180deg, rgba(47,210,124,.22), rgba(47,210,124,.08)); border: 1px solid rgba(47,210,124,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.dir.short { color: var(--short); background: linear-gradient(180deg, rgba(255,90,95,.22), rgba(255,90,95,.08)); border-color: rgba(255,90,95,.35); }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv { border-radius: 16px; overflow: hidden; }
.lv .c { display: flex; justify-content: space-between; align-items: center; padding: 0 14px; height: 50px; }
.lv .c + .c { border-top: 1px solid var(--row-sep); }
.lv .c span { font-size: 13px; color: var(--hint); }
.lv .c b { font-size: 19px; font-weight: 700; }
.lv .c.stop { background: var(--short-bg); } .lv .c.stop span { color: var(--short); }
.lv.tp .c { height: 33.3px; } .lv.tp .c span { color: var(--long); }
.lv.tp .c b { font-size: 17px; }
.meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--hint); margin: 16px 2px 0; }
.meta b { color: var(--text); font-weight: 600; }
.meta i.v { width: 1px; background: var(--row-sep); }
.hr { height: 1px; background: var(--row-sep); margin: 14px 0; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--hint); line-height: 1.4; }
.note .ti { font-size: 19px; }
.more { all: unset; display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--orange); cursor: pointer; }
.analysis { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }
.analysis p { margin: 0 0 8px; }

/* ===== профиль ===== */
.prof-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 0; height: 52px; }
.prof-top h2 { margin: 0; font-size: 18px; font-weight: 700; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; }
.pro { position: relative; margin-top: 34px; border-radius: 28px; padding: 46px 20px 20px; text-align: center; }
.crown { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #ffcf8a;
  background: radial-gradient(circle at 50% 30%, rgba(255,190,110,.35), rgba(120,70,20,.35)); border: 1px solid rgba(255,200,140,.45); box-shadow: 0 0 26px rgba(255,150,50,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.app[data-theme="light"] .crown { color: #c56a00; background: radial-gradient(circle at 50% 30%, #fff1dc, #ffd9a8); }
.pro h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.unl { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 0 18px; font-size: 14.5px; color: var(--hint); white-space: nowrap; }
.unl .ti { font-size: 22px; color: var(--orange); }
.menu { display: grid; gap: 10px; margin-top: 16px; }
.mi { height: 64px; border-radius: 18px; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 12px; }
.mi .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: rgba(127,127,127,.16); border: 1px solid var(--edge); }
.mi .ic.tg { color: #2aabee; }
.mi .tx { flex: 1; } .mi .tx b { display: block; font-size: 15.5px; font-weight: 600; } .mi .tx span { font-size: 12.5px; color: var(--hint); }
.mi .ti-chevron-right { color: var(--hint); font-size: 18px; }
.sw { width: 51px; height: 31px; border-radius: 16px; background: var(--orange); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.seg { display: flex; padding: 3px; border-radius: 12px; background: rgba(127,127,127,.18); font-size: 13px; font-weight: 600; }
.seg span { padding: 6px 12px; border-radius: 9px; color: var(--hint); }
.seg span.on { background: var(--glass-solid); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.risk { all: unset; display: block; text-align: center; margin: 18px auto 0; font-size: 12px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ===== история ===== */
.hist { border-radius: 20px; padding: 4px 0; margin-top: 8px; }
.hrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.hrow + .hrow { border-top: 1px solid var(--row-sep); }
.hrow .nm { flex: 1; } .hrow .nm b { display: block; font-weight: 600; } .hrow .nm span { font-size: 12.5px; color: var(--hint); }
.pill { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 9px; display: inline-flex; gap: 4px; align-items: center; }
.pill.long { color: var(--long); background: var(--long-bg); }
.pill.short { color: var(--short); background: var(--short-bg); }
.daylbl { font-size: 13px; color: var(--hint); margin: 18px 0 2px 6px; }

/* ===== PRO-доступ ===== */
.proh { text-align: center; margin-top: 8px; }
.proh .crown { position: static; transform: none; margin: 0 auto 12px; }
.proh h1 { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.proh p { margin: 10px 18px 0; font-size: 14px; color: var(--hint); line-height: 1.4; }
.ex { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.exb { height: 76px; border-radius: 18px; display: flex; align-items: center; gap: 9px; padding: 0 44px 0 12px; color: #fff; position: relative; border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), var(--shadow); }
.exb.bingx { background: linear-gradient(160deg, #1d3fb8, #0b2a8a); }
.exb.bybit { background: linear-gradient(160deg, #7a4614, #4c2a0d); }
.exb .lg { font-weight: 900; font-size: 12.5px; letter-spacing: .01em; }
.exb .tx b { display: block; font-size: 15px; } .exb .tx span { font-size: 11.5px; opacity: .8; }
.exb .go { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 15px; }
.confirm { margin-top: 14px; border-radius: 24px; padding: 18px 16px 16px; text-align: center; border-color: rgba(255,255,255,.45); }
.app[data-theme="light"] .confirm { border-color: rgba(0,0,0,.18); }
.confirm h3 { margin: 0; font-size: 17px; font-weight: 700; }
.confirm .small { font-size: 12.5px; color: var(--hint); margin: 6px 8px 14px; line-height: 1.4; }
.exsw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exsw span { height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; background: rgba(127,127,127,.14); border: 1px solid var(--edge); }
.exsw span.on { border-color: rgba(255,255,255,.6); box-shadow: inset 0 1px 0 var(--edge-top); }
.app[data-theme="light"] .exsw span.on { border-color: rgba(0,0,0,.4); }
.exsw .mk { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 900; color: #fff; }
.uid { height: 46px; margin-top: 10px; border-radius: 14px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--hint); font-size: 14px; background: rgba(127,127,127,.12); border: 1px solid var(--edge); }
.tiny { display: flex; justify-content: center; gap: 6px; align-items: center; font-size: 12px; color: var(--hint); margin: 10px 0 12px; }
.already { text-align: center; margin-top: 20px; }
.already h3 { margin: 0; font-size: 17px; font-weight: 700; }
.already p { margin: 6px 16px 12px; font-size: 13px; color: var(--hint); line-height: 1.4; }
.tgbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 23px; font-weight: 600; font-size: 14.5px; }
.tgbtn .ti-brand-telegram { color: #2aabee; font-size: 20px; }

/* ===== пригласи друга ===== */
.gift { width: 170px; height: 160px; margin: 6px auto 0; display: block; }
.invh { text-align: center; font-size: 27px; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin: 14px 0 20px; }
.invh em { font-style: normal; color: var(--orange); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.st { height: 70px; border-radius: 18px; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.st .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; }
.st.ok { background: linear-gradient(180deg, rgba(47,210,124,.13), rgba(47,210,124,.04)); }
.st.ok .ic { background: rgba(47,210,124,.18); color: var(--long); }
.st.wait { background: linear-gradient(180deg, rgba(255,156,46,.13), rgba(255,156,46,.04)); }
.st.wait .ic { background: rgba(255,156,46,.18); color: var(--orange); }
.st b { display: block; font-size: 22px; font-weight: 800; color: var(--text); } .st span { font-size: 13px; color: var(--hint); }
.info { margin-top: 12px; border-radius: 16px; padding: 14px; display: flex; gap: 10px; font-size: 13px; color: var(--hint); line-height: 1.4; }
.info .ti { font-size: 19px; }
.spacer { flex: 1; }

/* просмотрщик */
body { margin: 0; background: #2a2a2e; font-family: "Inter", sans-serif; }
body.bare { background: transparent; }
#toolbar { position: sticky; top: 0; z-index: 9; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; background: #1b1b1e; }
#toolbar button { font: 600 12px "Inter", sans-serif; padding: 6px 10px; border-radius: 8px; border: 1px solid #444; background: #26262a; color: #ddd; cursor: pointer; }
#toolbar button.on { background: #FF9C2E; color: #1b0f00; border-color: #FF9C2E; }
#stage { display: flex; flex-wrap: wrap; gap: 26px; padding: 22px; justify-content: center; }
.frame-label { color: #bbb; font-size: 13px; margin-bottom: 8px; }
.frame { border-radius: 46px; overflow: hidden; box-shadow: 0 0 0 10px #111, 0 0 0 11px #333; }
body.bare #stage { padding: 0; gap: 0; }
body.bare .frame { border-radius: 0; box-shadow: none; }
