:root {
  --bg: #050607;
  --panel: rgba(18, 20, 20, .82);
  --panel-2: rgba(12, 14, 14, .94);
  --line: rgba(219, 171, 52, .32);
  --line-soft: rgba(246, 225, 158, .14);
  --text: #f6edd8;
  --soft: #cfc2a9;
  --muted: #8f8778;
  --gold: #d5a62d;
  --gold-2: #ffe889;
  --green: #50d58a;
  --radius: 8px;
  --shadow: 0 22px 62px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1380px;
  direction: rtl;
  color: var(--text);
  font-family: "David Libre", Heebo, system-ui, sans-serif;
  user-select: none;
  background:
    radial-gradient(circle at 78% 2%, rgba(212,166,45,.18), transparent 24%),
    radial-gradient(circle at 13% 26%, rgba(212,166,45,.08), transparent 22%),
    linear-gradient(180deg, rgba(8,11,11,.92), #050607 280px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.016) 0 1px, transparent 1px 84px),
    var(--bg);
}
button, input, select { font: inherit; }
button { cursor: pointer; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #030404;
  transition: opacity .35s ease, visibility .35s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: var(--shadow), 0 0 30px rgba(212,166,45,.12);
}
.loader-card img { width: 54px; height: 54px; animation: pulse 1.6s ease-in-out infinite; }
.loader-card strong { font-size: 18px; }
.loader-card span { color: var(--muted); font-size: 12px; }

.profirm-page {
  width: min(1660px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.hero-layout {
  display: grid;
  direction: ltr;
  grid-template-columns: 285px minmax(0, 1fr) 350px;
  gap: 18px;
  align-items: stretch;
}
.hero-layout > * {
  direction: rtl;
}
.info-card, .winner-card, .filter-card, .results-panel, .side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.008)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.055);
  animation: softRise .42s ease-out both;
}
.info-card {
  min-height: 128px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 12px 16px;
  color: var(--soft);
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(212,166,45,.24), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.008)),
    var(--panel);
}
.info-card:hover { box-shadow: var(--shadow), 0 0 28px rgba(212,166,45,.16); transform: translateY(-1px); }
.info-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246,225,158,.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,232,137,.18), transparent 58%),
    rgba(0,0,0,.24);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 28px rgba(212,166,45,.18);
}
.info-symbol img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212,166,45,.32));
}
.info-card strong { color: var(--gold-2); font-size: 14px; }
.info-card span:not(.info-symbol) { max-width: 235px; font-size: 12px; line-height: 1.38; }

.hero-title {
  min-height: 128px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.match-badge {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(18,20,20,.72);
  box-shadow: 0 0 24px rgba(212,166,45,.14);
  font: 800 13px Heebo, system-ui, sans-serif;
}
.hero-title h1 {
  max-width: 610px;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}
.hero-title h1 span { color: var(--gold); }
.hero-title p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.winner-card {
  position: relative;
  padding: 9px 12px 10px;
  min-height: 128px;
  height: 100%;
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, rgba(212,166,45,.32), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.008)),
    var(--panel);
  box-shadow: var(--shadow), 0 0 34px rgba(212,166,45,.18);
  animation-delay: .08s;
}
.winner-ribbon {
  position: absolute;
  top: -9px;
  right: 50%;
  transform: translateX(50%);
  min-width: 168px;
  padding: 4px 12px;
  color: #080704;
  background: linear-gradient(135deg, #fff2a6, var(--gold));
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  font: 900 12px Heebo, system-ui, sans-serif;
}
.winner-box {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 82px;
  padding: 14px 10px 6px;
  border: 1px solid rgba(246,225,158,.35);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.winner-logo, .logo-fallback {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  color: var(--gold-2);
  background: linear-gradient(145deg, rgba(212,166,45,.2), rgba(0,0,0,.7));
  font: 900 13px Heebo, system-ui, sans-serif;
}
.winner-box strong { font-size: 14px; line-height: 1.05; }
.winner-box p { margin: 0; color: var(--soft); font-size: 10px; }
.winner-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.winner-stats span {
  display: grid;
  gap: 2px;
  padding: 4px 3px;
  color: var(--muted);
  font-size: 9px;
}
.winner-stats span + span { border-inline-start: 1px solid var(--line-soft); }
.winner-stats b { color: var(--gold-2); font-size: 12px; }

.gold-btn, .ghost-btn, .profile-link, .open-link, .coupon-copy-inline, .coupon-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 14px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gold-btn, .coupon-copy-inline {
  color: #090704;
  background: linear-gradient(135deg, #fff2a6, #d6a531);
  border-color: transparent;
}
.ghost-btn, .profile-link, .open-link {
  color: var(--soft);
  background: rgba(255,255,255,.035);
}
.gold-btn:hover, .ghost-btn:hover, .profile-link:hover, .open-link:hover, .coupon-copy-inline:hover, .coupon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(212,166,45,.18);
}
.winner-card .gold-btn { width: 100%; min-height: 26px; margin-top: 5px; padding-block: 2px; font-size: 11px; }

.market-tape {
  height: 36px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(212,166,45,.12), rgba(255,255,255,.025), rgba(212,166,45,.08)),
    rgba(6,7,7,.92);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.055);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline: 24px;
  animation: tickerLoop 26s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: var(--soft);
  font: 900 13px Heebo, system-ui, sans-serif;
}
.ticker-track b { color: var(--gold-2); }
.ticker-track em {
  color: var(--text);
  font-style: normal;
  opacity: .82;
}
.ticker-track i {
  min-width: 58px;
  font-style: normal;
  text-align: left;
}
.ticker-track .up { color: var(--green); }
.ticker-track .down { color: #ff6b6b; }
.market-tape:hover .ticker-track {
  animation-play-state: paused;
}
.decision-market {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 10px;
  align-items: stretch;
}
.filter-card {
  padding: 12px 14px;
  animation-delay: .12s;
}
.decision-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--line-soft);
}
.decision-head span {
  color: var(--gold-2);
  font: 900 12px Heebo, system-ui, sans-serif;
}
.decision-head strong {
  max-width: 980px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.35;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  align-items: start;
}
.choice-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.choice-panel summary {
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  list-style: none;
  color: var(--gold-2);
  font-weight: 900;
}
.choice-panel summary::-webkit-details-marker { display: none; }
.choice-panel summary span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #080704;
  background: linear-gradient(135deg, #fff2a6, var(--gold));
  font: 900 12px Heebo, system-ui, sans-serif;
}
.choice-panel summary em {
  max-width: 180px;
  color: var(--muted);
  font-style: normal;
  font: 900 12px Heebo, system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-picker, .goal-picker, .stage-picker {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}
.account-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.goal-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-picker button, .goal-picker button, .stage-picker button, .advanced-filter summary {
  min-height: 38px;
  border: 1px solid rgba(246,225,158,.22);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255,255,255,.035);
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.account-picker button:hover, .goal-picker button:hover, .stage-picker button:hover, .advanced-filter summary:hover {
  transform: translateY(-1px);
  border-color: rgba(255,232,137,.36);
  box-shadow: 0 0 18px rgba(212,166,45,.11);
}
.account-picker button.active, .goal-picker button.active, .stage-picker button.active {
  color: #080704;
  border-color: transparent;
  background: linear-gradient(135deg, #fff2a6, var(--gold));
  box-shadow: 0 0 24px rgba(212,166,45,.22);
}
.advanced-filter { margin-top: 8px; }
.advanced-filter summary {
  width: 180px;
  display: grid;
  place-items: center;
  margin: 8px auto 0;
  list-style: none;
}
.advanced-filter summary::-webkit-details-marker { display: none; }
.select-group {
  display: grid;
  grid-template-columns: 1.6fr 140px 140px 210px 92px;
  gap: 8px;
  margin-top: 12px;
}
.select-group label { display: grid; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 900; }
input, select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0 10px;
  color: var(--text);
  background: #070909;
  outline: 0;
}
.price-control input { accent-color: var(--gold); }

.content-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: start;
}
.side-stack { display: grid; gap: 14px; }
.side-card { padding: 18px; }
.side-card:nth-child(1) { animation-delay: .16s; }
.side-card:nth-child(2) { animation-delay: .2s; }
.side-card:nth-child(3) { animation-delay: .24s; }
.side-card.glow {
  background:
    radial-gradient(circle at 50% 100%, rgba(212,166,45,.2), transparent 34%),
    var(--panel);
}
.side-card span { color: var(--muted); font-size: 12px; }
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.card-kicker b, .title-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(246,225,158,.28);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(212,166,45,.07);
  font: 900 13px Heebo, system-ui, sans-serif;
}
.title-icon {
  margin-inline-start: 7px;
}
.side-card strong { display: block; color: var(--gold-2); font-size: 17px; }
.side-card p { margin: 10px 0 0; color: var(--soft); font-size: 14px; line-height: 1.65; }
.side-card ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.side-card li {
  position: relative;
  padding: 9px 30px 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255,255,255,.025);
  font-size: 13px;
  line-height: 1.45;
}
.side-card li::before {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212,166,45,.35);
}
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.matrix strong { grid-column: 1 / -1; }
.matrix span {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  color: var(--soft);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  font-weight: 900;
}

.results-panel { overflow: hidden; }
.panel-head {
  height: 62px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head strong { color: var(--gold-2); font-size: 18px; }
.panel-head span { color: var(--muted); font-size: 12px; }
.table-head, .firm-row summary {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) 72px 104px 108px 82px 88px 62px 124px 240px;
  gap: 10px;
  align-items: center;
}
.table-head {
  min-height: 44px;
  padding: 0 14px;
  color: var(--soft);
  background: rgba(255,255,255,.025);
  font-size: 13px;
  font-weight: 900;
}
.firm-row {
  border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,.012);
  transition: background .2s ease, box-shadow .2s ease;
}
.firm-row:hover {
  background: rgba(212,166,45,.055);
  box-shadow: inset 3px 0 rgba(212,166,45,.5);
}
.firm-row summary {
  min-height: 82px;
  padding: 10px 14px;
  list-style: none;
}
.firm-row summary::-webkit-details-marker { display: none; }
.firm-name {
  display: grid;
  grid-template-columns: 20px 52px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}
.pick {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.pick.active { background: radial-gradient(circle, var(--gold) 0 45%, transparent 48%); border-color: var(--gold); }
.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,.28);
  overflow: hidden;
}
.logo-mark img { width: 40px; height: 40px; object-fit: contain; }
.name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.1;
}
.subtitle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.account, .stage, .master, .payout { color: var(--soft); font-weight: 900; }
.stage {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(246,225,158,.18);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(212,166,45,.055);
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}
.price-cell { display: grid; gap: 2px; }
.price-cell b { color: var(--green); font-size: 18px; }
.price-cell small { color: var(--muted); font-size: 12px; text-decoration: line-through; }
.score {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212,166,45,.55);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}
.coupon-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 5px;
  align-items: center;
  color: #0a0701;
  background: linear-gradient(135deg, #fff2a6, var(--gold));
  user-select: text;
}
.coupon-btn.no-code {
  color: var(--muted);
  background: rgba(255,255,255,.035);
}
.copy-mark {
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(0,0,0,.13);
  font-size: 12px;
}
.coupon-code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-actions {
  display: grid;
  grid-template-columns: 76px 52px 52px 34px;
  gap: 6px;
  align-items: center;
}
.row-actions > * {
  min-width: 0;
  min-height: 34px;
  padding-inline: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}
.chevron {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(212,166,45,.08);
  transition: transform .2s ease;
}
.firm-row[open] .chevron { transform: rotate(180deg); }
.drawer { padding: 0 14px 14px; animation: shutter .2s ease-out both; }
.drawer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
}
.drawer-grid section {
  min-height: 135px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.drawer-grid h3 { margin: 0 0 8px; color: var(--gold-2); font-size: 14px; }
.kv { display: grid; grid-template-columns: 82px 1fr; gap: 7px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; }
.kv:last-child { border-bottom: 0; }
.kv b { color: var(--muted); }
.kv span { color: var(--soft); }
.pill-line { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
}
.pill.good { color: var(--green); border-color: rgba(80,213,138,.28); }
.pill.warn { color: var(--gold-2); }
.data-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.hidden-admin, .hidden-calcs { display: none; }

dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080a0a;
  color: var(--text);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(0,0,0,.78); }
.close {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255,255,255,.05);
  font-size: 22px;
}
.funding-dialog { width: min(1160px, calc(100% - 52px)); padding: 18px; }
.funding-dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.funding-media {
  min-height: 510px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #030404;
}
.funding-media img { width: 100%; height: 100%; object-fit: cover; }
.funding-copy { display: grid; align-content: start; gap: 12px; padding: 10px; }
.funding-copy > span { color: var(--gold-2); font-weight: 900; }
.funding-copy h2 { margin: 0; color: var(--gold-2); font-size: 25px; }
.funding-copy p { margin: 0; color: var(--soft); line-height: 1.65; font-size: 15px; }
.funding-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.funding-blocks section {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.funding-blocks strong { display: block; color: var(--gold-2); margin-bottom: 6px; }

.profile-dialog, .tools-dialog {
  width: min(1060px, calc(100% - 52px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 18px;
}
.login-prompt {
  width: min(520px, calc(100% - 44px));
  padding: 18px;
  text-align: center;
}
.login-copy {
  display: grid;
  gap: 12px;
  padding: 8px;
}
.login-copy > span {
  color: var(--gold-2);
  font: 900 12px Heebo, system-ui, sans-serif;
}
.login-copy h2 {
  margin: 0;
  color: var(--gold-2);
  font-size: 24px;
}
.login-copy p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}
.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.login-actions #continuePublic {
  grid-column: 1 / -1;
}
.profile-content, .tools-content { display: grid; gap: 12px; }
.profile-hero {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.profile-hero img, .profile-initials {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
}
.profile-initials { display: grid; place-items: center; color: var(--gold-2); padding: 0; }
.profile-hero strong { font-size: 22px; }
.profile-hero span { color: var(--muted); }
.profile-actions { display: flex; gap: 8px; }
.profile-statline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.profile-statline span, .profile-block {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.profile-statline b { display: block; color: var(--gold-2); margin-top: 5px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profile-block h3 { margin: 0 0 8px; color: var(--gold-2); font-size: 15px; }
.profile-block p { margin: 0; color: var(--soft); line-height: 1.55; font-size: 13px; }
.tools-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.unlock, .tools-content section {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.company-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.settings-card { display: grid; grid-template-columns: 1fr 110px 90px 120px; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.settings-card label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
.update-log { color: var(--muted); }

@keyframes pulse {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 rgba(212,166,45,0)); }
  50% { transform: translateY(-2px); filter: drop-shadow(0 0 18px rgba(212,166,45,.35)); }
}
@keyframes softRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shutter {
  from { opacity: 0; transform: scaleY(.9) translateY(-5px); transform-origin: top; }
  to { opacity: 1; transform: scaleY(1) translateY(0); transform-origin: top; }
}
@keyframes tickerLoop {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
