/* ============ Geosha — Premium в 1 клик (окно тарифов в чате и страница «Подписка») ============ */
.oc { display: flex; flex-direction: column; align-items: stretch; }
.oc-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; padding: 10px 18px; border: 0; border-radius: 16px; cursor: pointer;
  color: var(--on-brand); background: var(--brand); box-shadow: 0 14px 28px -14px var(--glow);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.oc-btn:hover:not([disabled]) { filter: brightness(1.05); box-shadow: 0 18px 34px -14px var(--glow); }
.oc-btn:active:not([disabled]) { transform: scale(.985); }
.oc-btn[disabled] { cursor: progress; }
.oc-btn.is-busy .oc-main::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ocSpin .7s linear infinite;
}
@keyframes ocSpin { to { transform: rotate(360deg); } }
.oc-main { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.oc-sub { font-size: 12.5px; font-weight: 500; opacity: .85; }
.oc-msg { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--danger); text-align: center; }
.oc-msg a { color: inherit; font-weight: 700; }
.oc-more {
  align-self: center; display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 10px; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-faint); background: none; border: 0; cursor: pointer;
}
.oc-more:hover { color: var(--ink-soft); background: var(--inset-fill); }
.oc-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.oc-more[aria-expanded="true"] svg { transform: rotate(90deg); }
.oc-terms {
  margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; text-align: left; font-size: 13px; line-height: 1.55; color: var(--ink-soft);
  background: var(--inset-fill); border: 1px solid var(--glass-edge); animation: ocOpen .22s ease both;
}
.oc-terms[hidden] { display: none; }
.oc-terms a { color: inherit; font-weight: 600; }
@keyframes ocOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.oc-card { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.oc-card svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oc-other {
  display: block; width: 100%; margin-top: 14px; padding: 8px; font-size: 13.5px; font-weight: 600; text-align: center;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.oc-other:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .oc-terms { animation: none; } .oc-btn.is-busy .oc-main::after { animation-duration: 2s; } }
