/* Trade-Check v2 — beginner flow, chart with drawn trade, JANUS AI review */

#tradeCheckRoot { max-width: 980px; margin: 0 auto; }
.tc2-muted { color: var(--text-dim); font-size: var(--fs-sm); }
.is-pos { color: var(--pos); }
.is-neg { color: var(--neg); }

/* hero */
.tc2-hero { text-align: center; padding: var(--space-5) var(--space-3) var(--space-4); }
.tc2-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--accent-line); background: var(--accent-bg); color: var(--accent-strong);
  font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase;
}
.tc2-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 rgba(90,173,122,.6); animation: tc2-pulse 2s infinite; }
@keyframes tc2-pulse { 0% { box-shadow: 0 0 0 0 rgba(90,173,122,.55); } 70% { box-shadow: 0 0 0 8px rgba(90,173,122,0); } 100% { box-shadow: 0 0 0 0 rgba(90,173,122,0); } }
.tc2-hero__title {
  margin: 14px 0 8px; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 0%, #e8cf8a 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tc2-hero__lead { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: var(--fs-lg); line-height: 1.55; }

/* form steps */
.tc2-form { display: flex; flex-direction: column; gap: var(--space-3); }
.tc2-step {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5) var(--space-5);
}
.tc2-step__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.tc2-step__head h2 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
.tc2-step__num {
  width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--gold-gradient); color: #1a1408; font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--gold-shadow);
}
.tc2-optional { margin-left: auto; font-size: var(--fs-xs); color: var(--text-dim); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.tc2-step--details > summary { list-style: none; cursor: pointer; margin-bottom: 0; }
.tc2-step--details > summary::-webkit-details-marker { display: none; }
.tc2-step--details > summary::after { content: '▾'; color: var(--text-dim); margin-left: 8px; transition: transform .2s; }
.tc2-step--details[open] > summary::after { transform: rotate(180deg); }
.tc2-step--details[open] > summary { margin-bottom: var(--space-3); }
.tc2-step--details > summary .tc2-optional { margin-left: auto; }

/* coins */
.tc2-coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.tc2-coin-btn {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-inset);
  color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.tc2-coin-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tc2-coin-btn.is-active { border-color: var(--accent-line); background: var(--accent-bg); box-shadow: 0 0 0 1px var(--accent-line) inset; }
.tc2-coin-btn .tc2-coin { grid-row: span 2; }
.tc2-coin-btn__sym { font-weight: 700; font-size: var(--fs-md); }
.tc2-coin-btn__name { font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-coin {
  --coin: #888; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--coin) 75%, #fff) 0%, var(--coin) 55%, color-mix(in srgb, var(--coin) 60%, #000) 100%);
  color: #fff; font-weight: 800; font-size: 15px; text-shadow: 0 1px 1px rgba(0,0,0,.35); box-shadow: 0 2px 8px color-mix(in srgb, var(--coin) 35%, transparent);
}
.tc2-coin--sm { width: 24px; height: 24px; font-size: 12px; }
.tc2-coin--xs { width: 16px; height: 16px; font-size: 9px; box-shadow: none; }
.tc2-live {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--space-3); padding: 10px 12px;
  border-radius: var(--radius); background: var(--surface-inset); border: 1px dashed var(--line); font-size: var(--fs-sm); color: var(--text-muted); min-height: 46px;
}
.tc2-live__name { color: var(--text-dim); }
.tc2-live__price { font-size: var(--fs-lg); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.tc2-live__chg { font-weight: 600; font-variant-numeric: tabular-nums; }
.tc2-live__chg.is-pos { color: var(--pos); }
.tc2-live__chg.is-neg { color: var(--neg); }
.tc2-live__atr { margin-left: auto; color: var(--text-dim); font-size: var(--fs-xs); }
.tc2-shimmer { background: linear-gradient(90deg, var(--text-dim) 0%, var(--text) 50%, var(--text-dim) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tc2-shine 1.6s linear infinite; }
@keyframes tc2-shine { to { background-position: -200% 0; } }

/* side + horizon */
.tc2-sides { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.tc2-side {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface-inset); color: var(--text); cursor: pointer;
  transition: all .15s;
}
.tc2-side__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; font-weight: 700; background: rgba(255,255,255,.04); }
.tc2-side__title { font-size: var(--fs-lg); font-weight: 700; }
.tc2-side__sub { font-size: var(--fs-sm); color: var(--text-dim); }
.tc2-side--long.is-active { border-color: rgba(90,173,122,.55); background: rgba(90,173,122,.1); box-shadow: 0 0 24px -8px rgba(90,173,122,.5); }
.tc2-side--long.is-active .tc2-side__icon { background: var(--pos); color: #06140b; }
.tc2-side--short.is-active { border-color: rgba(210,122,114,.55); background: rgba(210,122,114,.1); box-shadow: 0 0 24px -8px rgba(210,122,114,.5); }
.tc2-side--short.is-active .tc2-side__icon { background: var(--neg); color: #1a0806; }
.tc2-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-4); }
.tc2-chips__label { font-size: var(--fs-sm); color: var(--text-dim); margin-right: 4px; }
.tc2-chip {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-inset); color: var(--text-muted); cursor: pointer; font-size: var(--fs-sm); transition: all .15s;
}
.tc2-chip:hover { border-color: var(--line-strong); color: var(--text); }
.tc2-chip.is-active { border-color: var(--accent-line); background: var(--accent-bg); color: var(--accent-strong); }
.tc2-chip__sub { font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-chip--sm { padding: 5px 11px; font-size: var(--fs-xs); }

/* levels */
.tc2-suggest {
  margin-left: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-bg);
  color: var(--accent-strong); font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
}
.tc2-suggest:hover { background: rgba(201,162,78,.22); }
.tc2-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.tc2-level { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: var(--radius); background: var(--surface-inset); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.tc2-level--stop { border-top-color: var(--neg); }
.tc2-level--tp { border-top-color: var(--pos); }
.tc2-level__label { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: var(--fs-sm); font-weight: 600; }
.tc2-link { background: none; border: 0; padding: 0; color: var(--accent-strong); font-size: var(--fs-xs); cursor: pointer; text-decoration: underline dotted; white-space: nowrap; }
.tc2-level__input, .tc2-field .tc2-level__input {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-strong);
}
.tc2-level__input:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(201,162,78,.12); }
.tc2-level__input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: var(--fs-lg); font-weight: 600; font-variant-numeric: tabular-nums; height: 100%; padding: 0; }
.tc2-level__cur { color: var(--text-dim); font-size: var(--fs-sm); }
.tc2-level__hint { font-size: var(--fs-xs); color: var(--text-dim); min-height: 2.6em; line-height: 1.35; }
.tc2-level__hint[data-tone="neg"] { color: var(--neg); }
.tc2-level__hint[data-tone="pos"] { color: var(--pos); }
.tc2-level__hint[data-tone="bad"] { color: #ff8a80; font-weight: 600; }
.tc2-level__hint[data-tone="warn"] { color: var(--warn); }

/* live preview */
.tc2-preview { margin-top: var(--space-3); }
.tc2-preview__empty { font-size: var(--fs-sm); color: var(--text-dim); padding: 10px 12px; border-radius: var(--radius); border: 1px dashed var(--line); }
.tc2-preview__bar { display: flex; height: 30px; border-radius: 8px; overflow: hidden; font-size: var(--fs-xs); font-weight: 700; }
.tc2-preview__loss, .tc2-preview__win { display: grid; place-items: center; transition: width .3s ease; white-space: nowrap; }
.tc2-preview__loss { background: linear-gradient(90deg, rgba(210,122,114,.55), rgba(210,122,114,.3)); color: #ffd9d4; }
.tc2-preview__win { background: linear-gradient(90deg, rgba(90,173,122,.3), rgba(90,173,122,.6)); color: #d8f5e2; }
.tc2-preview__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 8px; align-items: baseline; }
.tc2-preview__rr { font-weight: 700; font-size: var(--fs-md); }
.tc2-tone--good { color: var(--pos); }
.tc2-tone--ok { color: var(--warn); }
.tc2-tone--bad { color: var(--neg); }

/* account + notes */
.tc2-account { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.tc2-field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
.tc2-field select { height: 44px; border-radius: var(--radius-sm); background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); color: var(--text); padding: 0 10px; }
.tc2-field .tc2-level__input input { font-size: var(--fs-md); }
.tc2-notes { position: relative; }
.tc2-notes textarea {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px; padding: 12px 14px 26px; border-radius: var(--radius);
  background: var(--surface-inset); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: var(--fs-md); line-height: 1.5;
}
.tc2-notes textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(201,162,78,.12); }
.tc2-notes__count { position: absolute; right: 12px; bottom: 8px; font-size: var(--fs-xs); color: var(--text-dim); }

/* submit */
.tc2-form-error { margin: 0; padding: 10px 14px; border-radius: var(--radius); background: rgba(210,122,114,.12); border: 1px solid rgba(210,122,114,.4); color: #ffb4ab; font-size: var(--fs-sm); }
.tc2-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border: 0; border-radius: var(--radius-lg);
  background: var(--gold-gradient); color: #1a1408; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: var(--gold-shadow), 0 10px 30px -12px rgba(201,162,78,.6);
  transition: transform .15s, filter .15s;
}
.tc2-submit:hover { transform: translateY(-1px); filter: brightness(1.05); }
.tc2-submit:disabled { cursor: progress; filter: saturate(.6) brightness(.9); }
.tc2-submit__glyph { font-size: 20px; }
.tc2-submit.is-loading .tc2-submit__glyph { animation: tc2-spin 1s linear infinite; }
@keyframes tc2-spin { to { transform: rotate(360deg); } }
.tc2-fineprint { text-align: center; font-size: var(--fs-xs); color: var(--text-dim); margin: 4px 0 0; }

/* result cards */
.tc2-result { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); scroll-margin-top: calc(var(--header-h) + 12px); }
.tc2-result:empty { display: none; }
.tc2-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.tc2-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: var(--space-3); }
.tc2-card__head h3 { margin: 0; font-size: var(--fs-lg); font-weight: 600; }
.tc2-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.tc2-two > .tc2-card { min-width: 0; }

.tc2-loading { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); }
.tc2-loading p { margin: 4px 0 0; }
.tc2-loading__orb { width: 44px; height: 44px; border-radius: 50%; flex: none; background: conic-gradient(from 0deg, var(--accent), transparent 70%); animation: tc2-spin 1s linear infinite; -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%); mask: radial-gradient(circle, transparent 55%, #000 57%); }

/* verdict */
.tc2-verdict { display: flex; align-items: center; gap: var(--space-5); padding: var(--space-5); position: relative; overflow: hidden; }
.tc2-verdict::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(600px 200px at 0% 0%, var(--tc2-glow, rgba(201,162,78,.16)), transparent 70%); }
.tc2-verdict--strong { --tc2-glow: rgba(90,173,122,.22); border-color: rgba(90,173,122,.35); }
.tc2-verdict--solid { --tc2-glow: rgba(143,199,159,.18); }
.tc2-verdict--mixed { --tc2-glow: rgba(217,180,90,.2); border-color: rgba(217,180,90,.3); }
.tc2-verdict--weak { --tc2-glow: rgba(210,122,114,.22); border-color: rgba(210,122,114,.35); }
.tc2-ring { position: relative; width: 120px; height: 120px; flex: none; }
.tc2-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tc2-ring__track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 10; }
.tc2-ring__value { fill: none; stroke: var(--ring); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 6px var(--ring)); }
.tc2-ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tc2-ring__label strong { font-size: 34px; line-height: 1; font-weight: 800; }
.tc2-ring__label span { font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-verdict__body { position: relative; min-width: 0; }
.tc2-verdict__eyebrow { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); }
.tc2-verdict__title { margin: 4px 0 4px; font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.tc2-verdict__sub { margin: 0 0 var(--space-3); color: var(--text-muted); }
.tc2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tc2-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: var(--fs-xs); color: var(--text-muted); }
.tc2-tag--long { color: var(--pos); border-color: rgba(90,173,122,.4); }
.tc2-tag--short { color: var(--neg); border-color: rgba(210,122,114,.4); }
.tc2-tag--gold { color: var(--accent-strong); border-color: var(--accent-line); background: var(--accent-bg); }

/* chart */
.tc2-chart { position: relative; height: 380px; margin: 0 calc(var(--space-5) * -1 + 8px); }
.tc2-chart__zones { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tc2-zone { position: absolute; border-radius: 3px; }
.tc2-zone--win { background: linear-gradient(90deg, rgba(90,173,122,.22), rgba(90,173,122,.1)); border: 1px solid rgba(90,173,122,.35); }
.tc2-zone--loss { background: linear-gradient(90deg, rgba(210,122,114,.24), rgba(210,122,114,.1)); border: 1px solid rgba(210,122,114,.35); }
.tc2-chart__empty { height: 100%; display: grid; place-items: center; color: var(--text-dim); }
.tc2-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.tc2-legend__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-inset); border-left: 3px solid var(--accent); }
.tc2-legend__item span { font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-legend__item strong { font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.tc2-legend__item em { font-style: normal; font-size: var(--fs-xs); color: var(--text-muted); }
.tc2-legend__item--tp { border-left-color: var(--pos); }
.tc2-legend__item--tp em { color: var(--pos); }
.tc2-legend__item--stop { border-left-color: var(--neg); }
.tc2-legend__item--stop em { color: var(--neg); }

/* numbers */
.tc2-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.tc2-num { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius); background: var(--surface-inset); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-num strong { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; }
.tc2-num__label { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.tc2-num--loss { background: rgba(210,122,114,.07); border-color: rgba(210,122,114,.25); }
.tc2-num--loss strong { color: var(--neg); }
.tc2-num--win { background: rgba(90,173,122,.07); border-color: rgba(90,173,122,.25); }
.tc2-num--win strong { color: var(--pos); }
.tc2-rrbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 4px 0; }
.tc2-rrbar__loss { background: var(--neg); }
.tc2-rrbar__win { background: var(--pos); }
.tc2-dots { display: flex; gap: 4px; margin: 4px 0; }
.tc2-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.08); }
.tc2-dot.is-on { background: var(--accent); box-shadow: 0 0 6px rgba(201,162,78,.5); }
.tc2-explain { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }

/* market */
.tc2-market { display: flex; flex-direction: column; gap: var(--space-3); }
.tc2-regime { padding: 12px 14px; border-radius: var(--radius); background: var(--surface-inset); border: 1px solid var(--line); border-left: 3px solid var(--info); }
.tc2-regime.is-pos { border-left-color: var(--pos); color: inherit; }
.tc2-regime.is-neg { border-left-color: var(--neg); color: inherit; }
.tc2-regime strong { display: block; font-size: var(--fs-lg); margin: 2px 0; }
.tc2-regime p { margin: 0 0 8px; font-size: var(--fs-sm); color: var(--text-muted); }
.tc2-meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 4px; }
.tc2-meter span { display: block; height: 100%; background: var(--gold-gradient); }
.tc2-market__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.tc2-stat { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius-sm); background: var(--surface-inset); border: 1px solid var(--line); min-width: 0; }
.tc2-stat > span { font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-stat strong { font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.tc2-stat em { font-style: normal; font-size: 11px; color: var(--text-dim); }
.tc2-stat__levels { display: flex; flex-direction: column; font-size: var(--fs-sm) !important; }
.tc2-stat__levels b { font-weight: 600; }
.tc2-fg { position: relative; height: 5px; border-radius: 3px; margin-top: 6px; background: linear-gradient(90deg, #d27a72, #d9b45a 50%, #5aad7a); }
.tc2-fg span { position: absolute; top: -3px; width: 3px; height: 11px; border-radius: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 4px rgba(0,0,0,.6); }

/* checklist */
.tc2-checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.tc2-checks h4 { margin: 0 0 8px; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .05em; }
.tc2-checks ul, .tc2-checks__neutral { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tc2-checks__neutral { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.tc2-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-muted); }
.tc2-check__icon { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.tc2-check--pro .tc2-check__icon { background: rgba(90,173,122,.18); color: var(--pos); }
.tc2-check--con .tc2-check__icon { background: rgba(210,122,114,.18); color: var(--neg); }
.tc2-check--neutral .tc2-check__icon { background: rgba(110,184,212,.15); color: var(--info); font-style: italic; }

/* AI */
.tc2-ai { border-color: var(--accent-line); background: radial-gradient(800px 260px at 0% 0%, rgba(201,162,78,.1), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.tc2-ai__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.tc2-ai__head h3 { margin: 0; font-size: var(--fs-lg); }
.tc2-ai__avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: var(--gold-gradient); color: #1a1408; box-shadow: var(--gold-shadow), 0 0 18px -4px rgba(201,162,78,.6);
}
.tc2-ai__avatar--sm { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.tc2-typing { display: flex; align-items: center; gap: 5px; padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: rgba(255,255,255,.04); width: fit-content; }
.tc2-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: tc2-dot 1.2s infinite ease-in-out; }
.tc2-typing span:nth-child(2) { animation-delay: .15s; }
.tc2-typing span:nth-child(3) { animation-delay: .3s; }
.tc2-typing em { font-style: normal; margin-left: 8px; font-size: var(--fs-sm); color: var(--text-dim); }
@keyframes tc2-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.tc2-bubble { padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: rgba(255,255,255,.045); border: 1px solid var(--line); line-height: 1.6; animation: tc2-in .35s ease; }
.tc2-bubble p { margin: 0; }
.tc2-ai__headline { font-weight: 700; font-size: var(--fs-lg); color: var(--accent-strong); margin-bottom: 6px !important; }
@keyframes tc2-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tc2-ai__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-3); animation: tc2-in .45s ease; }
.tc2-ai__cols h4, .tc2-ai__block h4 { margin: 0 0 6px; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .05em; }
.tc2-ai__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-muted); }
.tc2-ai__list li { display: flex; gap: 8px; }
.tc2-ai__list li > span { flex: none; font-weight: 700; }
.tc2-ai__list.is-pos li > span { color: var(--pos); }
.tc2-ai__list.is-neg li > span { color: var(--neg); }
.tc2-ai__block { margin-top: var(--space-3); padding: 12px 14px; border-radius: var(--radius); background: var(--surface-inset); border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.55; animation: tc2-in .55s ease; }
.tc2-ai__block p { margin: 0; color: var(--text-muted); }
.tc2-ai__block--gold { border-color: var(--accent-line); background: var(--accent-bg); }
.tc2-ai__block--gold h4 { color: var(--accent-strong); }
.tc2-ai__block--gold li > span { color: var(--accent-strong); }
.tc2-ai__risk { margin: var(--space-3) 0 0; font-size: var(--fs-sm); color: var(--warn); }
.tc2-ai__error { color: var(--text-muted); font-size: var(--fs-sm); padding: 12px 14px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }

/* chat */
.tc2-chat { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.tc2-chat__log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.tc2-chat__log:empty { display: none; }
.tc2-msg { display: flex; gap: 8px; align-items: flex-start; animation: tc2-in .25s ease; }
.tc2-msg p { margin: 0; padding: 10px 14px; font-size: var(--fs-sm); line-height: 1.55; white-space: pre-wrap; max-width: 85%; }
.tc2-msg--user { justify-content: flex-end; }
.tc2-msg--user p { background: var(--accent-bg); border: 1px solid var(--accent-line); border-radius: 14px 4px 14px 14px; }
.tc2-msg--assistant p { background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; color: var(--text-muted); }
.tc2-msg.is-pending p { animation: tc2-blink 1s infinite; }
@keyframes tc2-blink { 50% { opacity: .4; } }
.tc2-chat__suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); }
.tc2-chat__form { display: flex; gap: 8px; margin-top: var(--space-3); }
.tc2-chat__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface-inset); border: 1px solid var(--line-strong); color: var(--text); font-size: var(--fs-md); }
.tc2-chat__form input:focus { outline: none; border-color: var(--accent-line); }
.tc2-chat__send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-gradient); color: #1a1408; font-size: 16px; cursor: pointer; flex: none; }
.tc2-chat__send:disabled, .tc2-chat__form input:disabled { opacity: .5; }

/* share */
.tc2-share-btn {
  position: absolute; top: var(--space-4); right: var(--space-4); z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--accent-line); background: rgba(0,0,0,.35); color: var(--accent-strong);
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background .15s;
}
.tc2-share-btn:hover { background: var(--accent-bg); }
.tc2-share-btn:disabled { opacity: .6; cursor: progress; }
.tc2-shared-banner { margin: 0 0 var(--space-3); padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--accent-line); background: var(--accent-bg); color: var(--accent-strong); font-size: var(--fs-sm); text-align: center; }
.tc2-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 9999;
  padding: 10px 18px; border-radius: 999px; background: #15130e; border: 1px solid var(--accent-line); color: var(--accent-strong);
  font-size: var(--fs-sm); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: opacity .2s, transform .2s;
}
.tc2-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* action / BloFin */
.tc2-act__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-4); align-items: start; }
.tc2-ticket { border-radius: var(--radius); background: var(--surface-inset); border: 1px solid var(--line); overflow: hidden; }
.tc2-ticket__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.tc2-ticket__row:last-child { border-bottom: 0; }
.tc2-ticket__row > span { color: var(--text-dim); }
.tc2-ticket__row strong { text-align: right; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; }
.tc2-ticket__row strong em { font-style: normal; font-weight: 400; font-size: var(--fs-xs); color: var(--text-dim); }
.tc2-ticket__row.is-pos strong { color: var(--pos); }
.tc2-ticket__row.is-neg strong { color: var(--neg); }
.tc2-act__cta { display: flex; flex-direction: column; gap: var(--space-2); }
.tc2-blofin {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: var(--radius-lg); text-decoration: none;
  background: var(--gold-gradient); color: #1a1408; font-size: var(--fs-lg); font-weight: 700; box-shadow: var(--gold-shadow), 0 8px 24px -12px rgba(201,162,78,.6);
  transition: transform .15s, filter .15s;
}
.tc2-blofin:hover { transform: translateY(-1px); filter: brightness(1.05); }
.tc2-blofin--quiet { background: transparent; color: var(--accent-strong); border: 1px solid var(--accent-line); box-shadow: none; font-size: var(--fs-md); height: 44px; }
.tc2-copy-btn { height: 40px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface-inset); color: var(--text-muted); font-size: var(--fs-sm); cursor: pointer; }
.tc2-copy-btn:hover { color: var(--text); border-color: var(--accent-line); }
.tc2-act__copytrade { padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(110,184,212,.35); background: rgba(110,184,212,.07); font-size: var(--fs-sm); }
.tc2-act__copytrade strong { display: block; margin-bottom: 4px; }
.tc2-act__copytrade p { margin: 0 0 10px; color: var(--text-muted); line-height: 1.5; }
.tc2-act__disclosure { margin: 2px 0 0; font-size: 11px; line-height: 1.45; color: var(--text-dim); }

@media (max-width: 860px) {
  .tc2-act__grid { grid-template-columns: 1fr; }
  .tc2-two, .tc2-checks, .tc2-ai__cols { grid-template-columns: 1fr; }
  .tc2-account { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tc2-step, .tc2-card { padding: var(--space-3) var(--space-4) var(--space-4); }
  .tc2-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc2-levels, .tc2-legend { grid-template-columns: 1fr; }
  .tc2-level__hint { min-height: 0; }
  .tc2-verdict { flex-direction: column; text-align: center; padding: var(--space-4) var(--space-4) var(--space-5); }
  .tc2-share-btn { top: var(--space-3); right: var(--space-3); padding: 6px 11px; }
  .tc2-tags { justify-content: center; }
  .tc2-chart { height: 320px; margin: 0 calc(var(--space-4) * -1 + 4px); }
  .tc2-market__grid { grid-template-columns: 1fr 1fr; }
  .tc2-live__atr { margin-left: 0; width: 100%; }
  .tc2-sides { gap: var(--space-2); }
  .tc2-side { padding: 12px; column-gap: 10px; }
  .tc2-side__icon { width: 34px; height: 34px; font-size: 18px; }
}
