/* ═══════════════════════════════════════════════════════════════
   HalkaArz.net — Premium Design System
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --brand:      #155EEF;
  --brand-dark: #0F4FD9;
  --brand-50:   #EFF6FF;
  --brand-100:  #DBEAFE;
  --brand-200:  #BFDBFE;
  --brand-700:  #1D4ED8;
  --slate-50:   #F8FAFC;
  --slate-100:  #F1F5F9;
  --slate-200:  #E2E8F0;
  --slate-300:  #CBD5E1;
  --slate-400:  #94A3B8;
  --slate-500:  #64748B;
  --slate-600:  #475569;
  --slate-700:  #334155;
  --slate-800:  #1E293B;
  --slate-900:  #0F172A;
  --green:      #10B981;
  --green-bg:   #D1FAE5;
  --red:        #EF4444;
  --red-bg:     #FEE2E2;
  --amber:      #F59E0B;
  --amber-bg:   #FEF3C7;
  --text:       var(--slate-900);
  --text-soft:  var(--slate-600);
  --text-muted: var(--slate-400);
  --bg:         #FFFFFF;
  --bg-page:    var(--slate-50);
  --bg-subtle:  var(--slate-100);
  --border:     var(--slate-200);
  --border-md:  var(--slate-300);
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --sh-sm: 0 1px 3px 0 rgb(0 0 0/.07), 0 1px 2px -1px rgb(0 0 0/.07);
  --sh-md: 0 4px 6px -1px rgb(0 0 0/.07), 0 2px 4px -2px rgb(0 0 0/.07);
  --sh-lg: 0 10px 15px -3px rgb(0 0 0/.07), 0 4px 6px -4px rgb(0 0 0/.07);
  --sh-xl: 0 20px 25px -5px rgb(0 0 0/.08), 0 8px 10px -6px rgb(0 0 0/.06);
  --ring:  0 0 0 3px rgb(21 94 239/.15);
  --t: all .2s ease;
}

[data-theme="dark"] {
  --text:       #F1F5F9;
  --text-soft:  #94A3B8;
  --text-muted: #64748B;
  --bg:         #0F172A;
  --bg-page:    #080F1E;
  --bg-subtle:  #1E293B;
  --border:     #1E293B;
  --border-md:  #334155;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.text-display { font-size: clamp(2rem, 4.5vw, 3.375rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.text-heading { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.text-title   { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.text-label   { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.positive { color: var(--green); font-weight: 600; }
.negative { color: var(--red);   font-weight: 600; }
.neutral  { color: var(--text-muted); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 600;
  transition: var(--t); white-space: nowrap; user-select: none; line-height: 1.4;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 3px rgb(21 94 239/.3), inset 0 1px 0 rgb(255 255 255/.1);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgb(21 94 239/.35); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--border-md); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--text); }
.btn-sm { padding: 6px 14px; font-size: .8125rem; border-radius: var(--r-sm); }
.btn-lg { padding: 13px 28px; font-size: 1rem; border-radius: var(--r-lg); }

/* ─── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600; letter-spacing: .01em;
}
.badge-blue   { background: var(--brand-50);  color: var(--brand-700); }
.badge-green  { background: var(--green-bg);  color: #065F46; }
.badge-red    { background: var(--red-bg);    color: #991B1B; }
.badge-amber  { background: var(--amber-bg);  color: #92400E; }
.badge-gray   { background: var(--bg-subtle); color: var(--text-soft); }
.badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--bg); border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--sh-sm); overflow: hidden;
}
.card-hover { transition: var(--t); }
.card-hover:hover { border-color: var(--border-md); box-shadow: var(--sh-md); transform: translateY(-2px); }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-body   { padding: 20px 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg-subtle); }

/* ─── FEED TABS ──────────────────────────────────────────────── */
.feed-tab {
  padding: 0 22px;
  height: 54px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.feed-tab:hover { color: var(--text); }
.feed-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.feed-tab-count {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.feed-tab.active .feed-tab-count {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
}
.feed-info-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 500;
  padding: 1px 7px; border-radius: 20px;
  background: var(--bg-subtle); border: 1px solid var(--border);
  color: var(--text-muted); white-space: nowrap;
}
.feed-col-hd {
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section    { padding-block: 64px; }
.section-sm { padding-block: 40px; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-200); border-radius: 20px;
  padding: 4px 14px; font-size: .8rem; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100; height: 64px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  margin-top: 0;
}
[data-theme="dark"] .navbar { background: rgba(15,23,42,.92); }
.navbar-inner { display: flex; align-items: center; gap: 8px; width: 100%; }
/* Tema bazlı logo görünürlüğü */
.site-logo-dark                    { display: none; }
[data-theme="dark"] .site-logo-light { display: none; }
[data-theme="dark"] .site-logo-dark  { display: block; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em;
  color: var(--text); flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand) 0%, #60A5FA 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem; font-weight: 900; letter-spacing: -1px;
  box-shadow: 0 2px 8px rgb(21 94 239/.3);
}
.logo span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  padding: 6px 13px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-soft);
  transition: var(--t); white-space: nowrap;
}
.nav-link:hover  { color: var(--text); background: var(--bg-subtle); }
.nav-link.active { color: var(--brand); background: var(--brand-50); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }

.search-wrap {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-subtle); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: 6px 12px; width: 200px;
  transition: width .25s ease, border-color .15s, box-shadow .15s;
  position: relative;
}
.search-wrap:focus-within { border-color: var(--brand); box-shadow: var(--ring); background: var(--bg); width: 240px; }
.global-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.global-search-submit:hover,
.global-search-submit:focus-visible { color: var(--brand); outline: none; }
.search-wrap input { border: none; background: none; outline: none; font-size: .875rem; color: var(--text); width: 100%; }
.search-wrap input::placeholder { color: var(--text-muted); }
.nav-auth-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  transition: var(--t);
}
.nav-auth-btn:hover {
  border-color: var(--brand-200);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(21,94,239,.12);
}
.nav-auth-btn span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: .68rem;
  font-weight: 800;
}
.nav-auth-btn.is-user { padding-left: 7px; }
.global-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15,23,42,.16);
  padding: 6px;
  z-index: 150;
}
.global-search-results.open { display: block; }
.global-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.global-search-item:hover,
.global-search-item.active {
  background: var(--bg-subtle);
}
.global-search-logo,
.global-search-logo-ph {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.global-search-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.global-search-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
}
.global-search-copy {
  display: block;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.global-search-name {
  display: block;
  max-width: 100%;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-search-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: .7rem;
}
.global-search-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.global-search-empty {
  padding: 12px 10px;
  color: var(--text-muted);
  font-size: .78rem;
}

.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); transition: var(--t); position: relative;
}
.icon-btn:hover { background: var(--bg-subtle); color: var(--text); }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); border: 1.5px solid var(--bg);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; border-radius: var(--r-sm); }
.hamburger:hover { background: var(--bg-subtle); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 99; flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-backdrop { position: absolute; inset: 0; background: rgb(0 0 0/.4); backdrop-filter: blur(4px); }
.mobile-panel {
  position: relative; margin-top: 64px;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 12px; display: flex; flex-direction: column; gap: 2px;
  animation: slideDown .2s ease;
}
@keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
.mobile-nav-link {
  padding: 12px 16px; border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 500; color: var(--text-soft);
  transition: var(--t); display: flex; align-items: center; gap: 10px;
}
.mobile-nav-link:hover  { background: var(--bg-subtle); color: var(--text); }
.mobile-nav-link.active { background: var(--brand-50);  color: var(--brand); font-weight: 600; }

/* Auth pages */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 72px;
  background:
    radial-gradient(circle at 18% 12%, rgba(21,94,239,.08), transparent 30%),
    linear-gradient(180deg, #F8FBFF 0%, var(--bg-page) 100%);
}
.auth-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: center;
}
.auth-copy span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand);
  border: 1px solid var(--brand-200);
  font-size: .74rem;
  font-weight: 800;
}
.auth-copy h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--text);
}
.auth-copy p {
  margin-top: 16px;
  max-width: 540px;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}
.auth-form {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(203,213,225,.8);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 22px 60px rgba(15,23,42,.10);
}
.auth-form h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.auth-form label {
  display: block;
  margin-bottom: 13px;
}
.auth-form label span {
  display: block;
  margin-bottom: 7px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-soft);
}
.auth-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--text);
  padding: 0 13px;
  outline: none;
  font-size: .92rem;
}
.auth-form input:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.auth-form button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(21,94,239,.22);
}
.auth-form p {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: .86rem;
}
.auth-form a { color: var(--brand); font-weight: 800; }
.auth-alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: .84rem;
  font-weight: 700;
}

/* Profile */
.profile-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}
.profile-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #F8FBFF);
  border: 1px solid rgba(203,213,225,.78);
  box-shadow: 0 18px 46px rgba(15,23,42,.08);
}
.profile-avatar {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 850;
  border: 1px solid var(--brand-200);
}
.profile-head span {
  color: var(--brand);
  font-size: .75rem;
  font-weight: 850;
}
.profile-head h1 {
  margin-top: 5px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  color: var(--text);
}
.profile-head p {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: .92rem;
}
.profile-logout {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 800;
}
.profile-logout:hover {
  color: #DC2626;
  border-color: #FECACA;
  background: #FEF2F2;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.profile-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(203,213,225,.82);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}
.profile-panel h2 {
  font-size: 1.05rem;
  font-weight: 850;
  margin-bottom: 16px;
  color: var(--text);
}
.profile-panel label {
  display: block;
  margin-bottom: 13px;
}
.profile-panel label span,
.profile-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 750;
}
.profile-panel input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  padding: 0 12px;
  outline: none;
  color: var(--text);
}
.profile-panel input:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.profile-panel button {
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21,94,239,.18);
}
.profile-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.profile-meta div:last-child { border-bottom: 0; }
.profile-meta span { margin-bottom: 0; }
.profile-meta strong {
  color: var(--text);
  font-size: .88rem;
  text-align: right;
}
.profile-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 800;
}
.profile-alert.ok {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
}
.profile-alert.err {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

/* Portfolio */
.portfolio-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 76px;
  background:
    linear-gradient(115deg, rgba(21,94,239,.055), transparent 28%),
    linear-gradient(245deg, rgba(16,185,129,.05), transparent 30%);
}
.portfolio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,23,42,.97), rgba(30,64,175,.92) 54%, rgba(14,116,144,.88)),
    #0F172A;
  box-shadow: 0 22px 56px rgba(15,23,42,.16);
  border: 1px solid rgba(147,197,253,.26);
}
.portfolio-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8, #34D399, #FBBF24, #60A5FA);
}
.portfolio-hero span, .portfolio-section-title p { color: var(--text-soft); font-size: .76rem; font-weight: 560; }
.portfolio-hero > div:first-child span {
  color: #93C5FD;
  font-size: .72rem;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.portfolio-hero h1 { margin-top: 6px; color: #fff; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 720; line-height: 1.12; letter-spacing: 0; }
.portfolio-hero p { max-width: 620px; margin-top: 8px; color: rgba(226,232,240,.78); font-size: .9rem; line-height: 1.55; }
.portfolio-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.portfolio-stats div, .portfolio-form, .portfolio-list {
  border-radius: 18px; background: rgba(255,255,255,.94);
  border: 1px solid rgba(203,213,225,.66); box-shadow: 0 16px 38px rgba(15,23,42,.075);
}
.portfolio-stats div {
  position: relative;
  min-height: 78px;
  padding: 15px 16px;
  overflow: hidden;
}
.portfolio-stats div::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2563EB, #38BDF8);
}
.portfolio-stats div:nth-child(2)::before { background: linear-gradient(180deg, #0F766E, #34D399); }
.portfolio-stats div:nth-child(3)::before { background: linear-gradient(180deg, #F59E0B, #EF4444); }
.portfolio-stats div:nth-child(4)::before { background: linear-gradient(180deg, #7C3AED, #60A5FA); }
.portfolio-stats span { display: block; color: var(--text-soft); font-size: .72rem; font-weight: 560; margin-bottom: 8px; }
.portfolio-stats strong { color: var(--text); font-size: 1.12rem; font-weight: 680; font-variant-numeric: tabular-nums; }
.portfolio-stats .is-positive strong { color: #059669; }
.portfolio-stats .is-negative strong { color: #DC2626; }
.portfolio-layout { display: grid; grid-template-columns: minmax(290px, 360px) minmax(0, 1fr); gap: 18px; align-items: start; }
.portfolio-form, .portfolio-list { padding: 20px; }
.portfolio-form {
  background:
    linear-gradient(180deg, rgba(239,246,255,.72), rgba(255,255,255,.96) 42%),
    #fff;
}
.portfolio-list {
  background:
    linear-gradient(180deg, rgba(240,253,250,.52), rgba(255,255,255,.96) 38%),
    #fff;
}
.portfolio-section-title { margin-bottom: 16px; }
.portfolio-section-title h2 { color: var(--text); font-size: .98rem; font-weight: 700; margin-bottom: 5px; }
.portfolio-form label { display: block; margin-bottom: 13px; }
.portfolio-form label span { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: .74rem; font-weight: 560; }
.portfolio-form input, .portfolio-form select {
  width: 100%; height: 43px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); padding: 0 12px; outline: none; color: var(--text); font-size: .84rem; font-weight: 520;
}
.portfolio-form input:focus, .portfolio-form select:focus { border-color: var(--brand); box-shadow: var(--ring); }
.portfolio-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portfolio-form button {
  width: 100%; height: 43px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #155EEF, #0891B2);
  color: #fff;
  font-weight: 650; cursor: pointer; box-shadow: 0 14px 28px rgba(21,94,239,.22);
}
.portfolio-table-head, .portfolio-row {
  display: grid; grid-template-columns: minmax(210px, 1.7fr) .55fr .7fr .7fr .85fr 54px; gap: 12px; align-items: center;
}
.portfolio-table-head {
  padding: 0 0 10px; color: var(--text-soft); font-size: .68rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: .05em;
}
.portfolio-row {
  position: relative; min-height: 72px; padding: 12px 10px; border-top: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text); font-size: .8rem; font-weight: 560; font-variant-numeric: tabular-nums;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.portfolio-row:hover {
  background: rgba(248,250,252,.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,.055);
}
.portfolio-company { min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--text); }
.portfolio-company span { min-width: 0; display: grid; gap: 4px; }
.portfolio-company strong {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .84rem; font-weight: 680;
}
.portfolio-company em {
  width: fit-content; padding: 2px 7px; border-radius: 8px; background: #F1F5F9; color: #334155;
  border: 1px solid #E2E8F0; font-size: .66rem; font-style: normal; font-weight: 650; letter-spacing: .03em;
}
.portfolio-profit { display: grid; gap: 3px; }
.portfolio-profit strong { font-size: .8rem; font-weight: 650; }
.portfolio-profit span { font-size: .68rem; font-weight: 650; }
.portfolio-profit.is-positive { color: #059669; }
.portfolio-profit.is-negative { color: #DC2626; }
.portfolio-delete button {
  width: 46px; height: 32px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
  color: var(--text-soft); font-size: .72rem; font-weight: 620; cursor: pointer;
}
.portfolio-delete button:hover { color: #DC2626; border-color: #FECACA; background: #FEF2F2; }
.portfolio-note { grid-column: 1 / -1; margin-left: 36px; color: var(--text-muted); font-size: .78rem; font-weight: 600; }
.portfolio-empty {
  min-height: 180px; display: grid; place-content: center; gap: 8px; text-align: center;
  color: var(--text-muted); border: 1px dashed var(--border); border-radius: 14px; background: var(--bg-subtle);
}
.portfolio-empty strong { color: var(--text); font-size: 1rem; }


/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; padding: 88px 0 48px; background: var(--bg); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgb(21 94 239/.06) 0%, transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  align-items: center; gap: 48px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-200); border-radius: 20px;
  padding: 5px 14px; font-size: .8125rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.375rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #60A5FA 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.0625rem; color: var(--text-soft); line-height: 1.8; max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-stat-lbl { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.chart-box {
  position: relative; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--sh-xl); width: 100%; max-width: 490px;
}
.chart-box-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.chart-ticker { font-size: .75rem; font-weight: 700; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.chart-price  { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.chart-delta  { font-size: .875rem; font-weight: 600; color: var(--green); margin-top: 4px; }

.float-card {
  position: absolute; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px 14px; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.float-card-1 { top: -14px; left: -18px; animation: floatY 3s ease-in-out infinite; }
.float-card-2 { bottom: 24px; right: -22px; animation: floatY 3s ease-in-out infinite 1.5s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.fc-ic { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.fc-ic-g { background: var(--green-bg); }
.fc-ic-b { background: var(--brand-50); }
.fc-lbl  { font-size: .75rem; color: var(--text-muted); }
.fc-val  { font-size: .9375rem; font-weight: 700; color: var(--text); line-height: 1.3; }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.stats-bar-item {
  background: var(--bg); padding: 22px 28px;
  border-right: 1px solid var(--border);
}
.stats-bar-item:last-child { border-right: none; }
.stats-num { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--text); }
.stats-lbl { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── TABS ───────────────────────────────────────────────────── */
.tabs-nav { display: flex; gap: 3px; background: var(--bg-subtle); border-radius: var(--r-md); padding: 4px; width: fit-content; }
.tab-btn {
  padding: 7px 18px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--text-soft);
  transition: var(--t); white-space: nowrap;
}
.tab-btn.active { background: var(--bg); color: var(--text); font-weight: 600; box-shadow: var(--sh-sm); }
.tab-btn:not(.active):hover { color: var(--text); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ─── IPO ROWS ───────────────────────────────────────────────── */
.ipo-list { display: flex; flex-direction: column; }
.ipo-row {
  display: grid; grid-template-columns: 44px 1fr auto auto auto;
  align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); transition: var(--t);
}
.ipo-row:last-child { border-bottom: none; }
.ipo-row:hover { background: var(--bg-subtle); border-radius: var(--r-sm); margin-inline: -16px; padding-inline: 16px; }

.ipo-logo {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-subtle); flex-shrink: 0;
}
.ipo-logo img { width: 100%; height: 100%; object-fit: contain; }
.ipo-logo-ph {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand) 0%, #60A5FA 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .875rem; font-weight: 800; flex-shrink: 0;
}
.ipo-name   { font-size: .9375rem; font-weight: 600; color: var(--text); }
.ipo-sector { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.ipo-date   { font-size: .8125rem; color: var(--text-soft); white-space: nowrap; }
.ipo-ticker {
  font-size: .775rem; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-200);
  padding: 3px 8px; border-radius: var(--r-xs); letter-spacing: .04em;
}

/* ─── DATA TABLE ─────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
  padding: 11px 16px; text-align: left;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap;
  cursor: pointer; user-select: none; transition: var(--t);
}
.data-table thead th:hover { color: var(--text); }
.data-table tbody td {
  padding: 13px 16px; font-size: .875rem;
  border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg-subtle); }

/* Responsive table → card on mobile */
@media (max-width: 640px) {
  .r-table thead { display: none; }
  .r-table tbody tr {
    display: block; border: 1px solid var(--border);
    border-radius: var(--r-md); margin-bottom: 12px; padding: 14px;
    background: var(--bg); box-shadow: var(--sh-sm);
  }
  .r-table tbody td {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .875rem;
  }
  .r-table tbody td:last-child { border-bottom: none; }
  .r-table tbody td::before {
    content: attr(data-label);
    font-size: .75rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .04em; flex: 0 0 45%;
  }
  .r-table tbody tr:hover td { background: none; }
}

/* ─── ANNOUNCEMENT CARDS ─────────────────────────────────────── */
/* Previous IPOs page */
.past-ipo-page {
  padding-top: 40px;
  padding-bottom: 64px;
}
.past-ipo-hero {
  margin-bottom: 28px;
}
.past-filter-card {
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(15,23,42,.04),
    0 18px 42px rgba(15,23,42,.08);
}
.past-filter-body {
  padding: 18px 22px;
}
.past-filter-form {
  display: grid;
  grid-template-columns: 120px minmax(180px, 260px) auto minmax(80px, 1fr);
  align-items: end;
  gap: 12px;
}
.past-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.past-filter-field .form-label {
  margin: 0 !important;
  color: #172033;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.2;
}
.past-filter-control {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border-color: rgba(203,213,225,.72);
  background-color: #F8FAFC;
  color: #172033;
  font-size: .84rem;
  font-weight: 520;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.past-filter-control:focus {
  border-color: rgba(37,99,235,.45);
  box-shadow: var(--ring);
}
.past-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.past-filter-submit {
  min-height: 42px;
  border-radius: 12px;
  padding-inline: 20px;
  font-size: .84rem;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(21,94,239,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.past-filter-actions .btn-ghost {
  min-height: 42px;
  margin-left: 0 !important;
  border-radius: 12px;
  background: #F8FAFC;
}
.past-result-count {
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #5F6F86;
  background: #F8FAFC;
  box-shadow: inset 0 0 0 1px rgba(203,213,225,.6);
}
.past-result-count span {
  color: #5F6F86 !important;
  font-size: .78rem !important;
  font-weight: 600;
}
.past-table-card {
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    0 1px 2px rgba(15,23,42,.04),
    0 18px 40px rgba(15,23,42,.08);
}
.past-ipo-table {
  min-width: 1000px;
  table-layout: fixed;
}
.past-ipo-table thead th {
  padding: 13px 16px;
  color: #8797B0;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.96));
}
.past-ipo-table tbody td {
  padding: 14px 16px;
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}
.past-ipo-table tbody tr {
  transition: background .16s ease, box-shadow .16s ease;
}
.past-ipo-table tbody tr:hover td {
  background: #F8FAFC;
}
.past-ipo-table td:first-child,
.past-ipo-table th:first-child {
  width: 46%;
}
.past-company {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.past-company-copy {
  min-width: 0;
  flex: 1;
}
.past-company-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.past-company-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #172033;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.25;
}
.past-company-name:hover {
  color: var(--brand);
}
.past-ticker {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 7px;
  color: #155EEF;
  background: #EFF6FF;
  border: 1px solid rgba(37,99,235,.18);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.past-ipo-table .ipo-logo,
.past-ipo-table .ipo-logo-ph {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F8FAFC;
}
.past-ipo-table td[data-label*="Sekt"] {
  color: #5F6F86 !important;
  font-size: .76rem !important;
  font-weight: 480;
  line-height: 1.25;
}
.past-ipo-table td div[style*="font-size:.65rem"] {
  color: #8797B0 !important;
  font-size: .68rem !important;
  font-weight: 500;
  margin-top: 3px !important;
}

@media (max-width: 768px) {
  .past-ipo-page {
    padding-top: 26px;
    padding-bottom: 44px;
  }
  .past-ipo-hero {
    margin-bottom: 20px;
  }
  .past-ipo-hero .text-heading {
    font-size: 1.65rem !important;
  }
  .past-filter-body {
    padding: 14px;
  }
  .past-filter-form {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .past-filter-actions {
    grid-column: 1 / -1;
  }
  .past-filter-submit,
  .past-filter-actions .btn-ghost {
    flex: 1;
    justify-content: center;
  }
  .past-result-count {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }
  .past-ipo-table {
    min-width: 0;
  }
  .past-ipo-table tbody tr {
    border: 0;
    border-radius: 16px;
    padding: 13px 14px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.96),
      0 1px 2px rgba(15,23,42,.04),
      0 12px 26px rgba(15,23,42,.07);
  }
  .past-ipo-table tbody td {
    font-size: .78rem;
  }
  .past-ipo-table tbody td:first-child {
    display: block;
    width: 100%;
    padding-bottom: 11px;
  }
  .past-ipo-table tbody td:first-child::before {
    display: none;
  }
  .past-company {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    width: 100%;
    gap: 10px;
  }
  .past-company-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .past-company-copy {
    min-width: 0;
    width: 100%;
  }
  .past-company-name {
    font-size: .8rem;
    max-width: none;
  }
  .past-ticker {
    justify-self: end;
    min-height: 20px;
    padding-inline: 7px;
    font-size: .66rem;
  }
}

@media (max-width: 430px) {
  .past-filter-form {
    grid-template-columns: 1fr;
  }
  .past-company-name {
    width: 100%;
    max-width: none;
  }
}

.ann-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--t);
}
.ann-item:last-child { border-bottom: none; }
.ann-item:hover { opacity: .8; }
.ann-ic { width: 40px; height: 40px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.125rem; }
.ann-ic-b { background: var(--brand-50); }
.ann-ic-g { background: var(--green-bg); }
.ann-ic-a { background: var(--amber-bg); }
.ann-title { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.ann-desc  { font-size: .8125rem; color: var(--text-muted); line-height: 1.5; }
.ann-meta  { font-size: .75rem; color: var(--text-muted); margin-top: 5px; display: flex; align-items: center; gap: 8px; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feat-card { padding: 32px 24px; text-align: center; background: var(--bg); border-radius: var(--r-xl); border: 1px solid var(--border); transition: var(--t); }
.feat-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.feat-ic {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--brand-50); border: 1px solid var(--brand-200);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--brand); font-size: 1.5rem; transition: var(--t);
}
.feat-card:hover .feat-ic { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 24px rgb(21 94 239/.25); }
.feat-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feat-desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

/* ─── COUNTDOWN ──────────────────────────────────────────────── */
.countdown-wrap { display: flex; align-items: center; gap: 6px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--r-sm); padding: 6px 10px; min-width: 48px; }
.cd-unit b { font-size: 1.125rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand); line-height: 1; }
.cd-unit small { font-size: .65rem; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-control {
  display: block; width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .9375rem; color: var(--text); background: var(--bg);
  transition: var(--t); outline: none; -webkit-appearance: none;
}
.form-control:focus { border-color: var(--brand); box-shadow: var(--ring); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--r-md); font-size: .875rem; font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.alert-ok  { background: var(--green-bg); color: #065F46; border: 1px solid #A7F3D0; }
.alert-err { background: var(--red-bg);   color: #991B1B; border: 1px solid #FECACA; }
.alert-inf { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-200); }

/* ─── ADMIN ──────────────────────────────────────────────────── */
.admin-sidebar {
  width: 240px; background: var(--slate-900); flex-shrink: 0;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; overflow-y: auto;
  display: flex; flex-direction: column;
}
.admin-sidebar-hd { padding: 20px 16px; border-bottom: 1px solid var(--slate-800); }
.admin-nav { padding: 10px 8px; flex: 1; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-sm); font-size: .875rem; font-weight: 500;
  color: var(--slate-400); transition: var(--t); margin-bottom: 2px;
}
.admin-nav-item:hover  { background: var(--slate-800); color: #fff; }
.admin-nav-item.active { background: var(--brand); color: #fff; }
.admin-main { margin-left: 240px; width: calc(100% - 240px); box-sizing: border-box; background: var(--bg-page); padding: 28px; min-height: 100vh; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; }
.stat-num   { font-size: 1.875rem; font-weight: 800; letter-spacing: -.04em; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { font-size: .875rem; line-height: 1.75; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: .875rem; transition: var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--slate-800); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .8125rem; }

/* ─── PROGRESS ───────────────────────────────────────────────── */
.prog-wrap { height: 6px; background: var(--bg-subtle); border-radius: 99px; overflow: hidden; }
.prog-bar  { height: 100%; background: linear-gradient(90deg, var(--brand), #60A5FA); border-radius: 99px; transition: width .8s ease; }

/* ─── SCROLL FADE ────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.in { opacity: 1; transform: none; }

/* ─── IPO DETAIL PAGE ───────────────────────────────────────── */
.arz-hero {
  background:
    radial-gradient(circle at 16% 0%, rgba(37,99,235,.08), transparent 30%),
    linear-gradient(180deg, #F8FAFF 0%, #F5F8FC 100%);
  padding: 22px 0 10px;
  position: relative;
  overflow: hidden;
}
.arz-hero::before {
  display: none;
}
.arz-hero::after {
  display: none;
}

.arz-hero-inner {
  position: relative;
  padding-bottom: 0;
}

.arz-logo-xl {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.5px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.arz-logo-xl img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; padding: 8px; }

.arz-hero-text { min-width: 0; }
.arz-hero-bc {
  font-size: .68rem;
  color: #7B8798;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.arz-hero-bc a { color: #4268B0; text-decoration: none; }
.arz-hero-bc a:hover { color: #155EEF; }
.arz-hero-bc span { color: #1F2937; font-weight: 650; }

.arz-hero-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.arz-hero-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E5EAF3;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  color: #155EEF;
  font-size: 1.3rem;
  font-weight: 850;
  overflow: hidden;
}
.arz-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}
.arz-hero-copy { min-width: 0; }

.arz-hero h1 {
  font-size: clamp(1.46rem, 2.35vw, 1.95rem);
  font-weight: 780;
  color: #0F172A;
  letter-spacing: 0;
  line-height: 1.14;
  margin: 0 0 8px;
  max-width: 920px;
}

.arz-hero-ticker {
  display: inline-block;
  background: #EEF4FF;
  border: 1px solid #D7E5FF;
  color: #1D4ED8;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
  margin-left: 8px;
  vertical-align: middle;
}

.arz-hero-meta {
  font-size: .82rem;
  color: #64748B;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
}
.arz-hero-meta span { display: flex; align-items: center; gap: 5px; }
.arz-hero-status::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  margin-left: 2px;
}
.arz-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.arz-hero-follow,
.arz-hero-share {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #334155;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  cursor: pointer;
}
.arz-hero-follow {
  gap: 7px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 750;
}
.arz-hero-share {
  width: 34px;
  border-radius: 10px;
}
.arz-hero-share.copied {
  color: #10B981;
  background: #ECFDF5;
}

.arz-hero-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.arz-hero-live-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.arz-hero-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #DCE7F5;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(15,23,42,.055);
}
.arz-hero-price-pill span {
  color: #64748B;
  font-size: .72rem;
  font-weight: 520;
}
.arz-hero-price-pill strong {
  color: #0F172A;
  font-size: .86rem;
  font-weight: 680;
  letter-spacing: 0;
}
.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 750;
}

.badge-return {
  background: rgba(16,185,129,.18);
  border-color: rgba(110,231,183,.28);
  color: #A7F3D0;
}
.badge-return.neg {
  background: rgba(248,113,113,.2);
  border-color: rgba(248,113,113,.4);
  color: #FCA5A5;
}

/* Timeline */
.arz-timeline-wrap {
  display: none;
}
.arz-timeline-wrap::after {
  display: none;
}

.arz-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  min-height: 46px;
  position: relative;
  z-index: 1;
}
.arz-timeline::before {
  content: '';
  position: absolute;
  left: 11%;
  right: 11%;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(94,234,212,.18), rgba(94,234,212,.9) 50%, rgba(147,197,253,.78)),
    rgba(255,255,255,.12);
  box-shadow: 0 0 8px rgba(94,234,212,.12);
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  position: relative;
}
.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #7DF9DE 0 28%, rgba(125,249,222,.28) 30% 58%, rgba(255,255,255,.18) 60%);
  border: 1px solid rgba(255,255,255,.34);
  margin: 8px 0 7px;
  transition: var(--t);
  box-shadow: 0 0 0 3px rgba(94,234,212,.08), 0 0 8px rgba(94,234,212,.18);
  z-index: 2;
}
.tl-step.done .tl-dot  { background: radial-gradient(circle at 50% 50%, #6EF7D4 0 30%, rgba(110,247,212,.3) 32% 60%, rgba(255,255,255,.2) 62%); }
.tl-step.now  .tl-dot  { background: radial-gradient(circle at 50% 50%, #fff 0 28%, rgba(255,255,255,.34) 30% 60%, rgba(147,197,253,.3) 62%); }
.tl-lbl  {
  order: 2;
  display: inline-flex;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.64);
  text-transform: uppercase;
  letter-spacing: .045em;
  margin: 0 0 4px;
  text-align: center;
  font-size: .5rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.tl-date {
  order: 3;
  color: #fff;
  text-align: center;
  font-size: .7rem;
  font-weight: 650;
  line-height: 1.05;
  text-shadow: 0 1px 12px rgba(0,0,0,.2);
}
.tl-step.done .tl-lbl { color: #B8FFE9; background: rgba(94,234,212,.12); }
.tl-step.now  .tl-lbl { color: #93C5FD; }

.tl-line { display: none; }

/* Metrics strip */
.arz-metrics {
  background: #F8FAFC;
  border-bottom: 1px solid #E5EAF1;
  box-shadow: none;
  padding: 8px 0 10px;
}
.arz-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
}
.arz-metric-item {
  min-width: 120px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.9)),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 2px rgba(15,23,42,.035),
    0 12px 26px rgba(15,23,42,.075);
  position: relative;
  overflow: hidden;
}
.arz-metric-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.34), transparent 42%);
  pointer-events: none;
}
.arz-metric-item:last-child { border-right: 0; }
.arz-metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2563EB;
  background: linear-gradient(145deg, #F8FBFF, #EAF2FF);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 5px 12px rgba(37,99,235,.08);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.arz-metric-icon::before {
  content: '';
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
}
.arz-metric-item[data-metric="price"] .arz-metric-icon { color: #2563EB; background: linear-gradient(145deg, #F8FBFF, #EAF2FF); }
.arz-metric-item[data-metric="price"] .arz-metric-icon::before { content: '₺'; }
.arz-metric-item[data-metric="range"] .arz-metric-icon { color: #4F46E5; background: linear-gradient(145deg, #FAF7FF, #EEF2FF); }
.arz-metric-item[data-metric="range"] .arz-metric-icon::before { content: '↔'; }
.arz-metric-item[data-metric="market"] .arz-metric-icon { color: #7C3AED; background: linear-gradient(145deg, #FBF7FF, #F3E8FF); }
.arz-metric-item[data-metric="market"] .arz-metric-icon::before { content: '↗'; }
.arz-metric-item[data-metric="ratio"] .arz-metric-icon { color: #D97706; background: linear-gradient(145deg, #FFFDF5, #FEF3C7); }
.arz-metric-item[data-metric="ratio"] .arz-metric-icon::before { content: '%'; }
.arz-metric-item[data-metric="lot"] .arz-metric-icon { color: #10B981; background: linear-gradient(145deg, #F5FFFB, #DDFBF0); }
.arz-metric-item[data-metric="lot"] .arz-metric-icon::before { content: '▦'; }
.arz-metric-item[data-metric="demand"] .arz-metric-icon { color: #64748B; background: linear-gradient(145deg, #FFFFFF, #F1F5F9); }
.arz-metric-item[data-metric="demand"] .arz-metric-icon::before { content: '₺'; }
.arz-metric-copy { min-width: 0; position: relative; z-index: 1; }
.arz-metric-val { font-size: 1.08rem; font-weight: 760; letter-spacing: 0; color: #0F172A; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.arz-metric-lbl {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #526176;
  font-size: .68rem;
  line-height: 1.15;
  margin: 0 0 5px;
  font-weight: 500;
  white-space: nowrap;
}
.arz-metric-info {
  width: 12px;
  height: 12px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 50%;
  color: #94A3B8;
  font-size: .5rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.arz-detail-content {
  padding-top: 18px;
}

/* Result card */
.result-card {
  min-height: 96px;
  border-radius: 12px;
  padding: 16px 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 12px;
}
.result-card.pos { background: linear-gradient(135deg, #0F8E5A 0%, #18A76A 100%); box-shadow: 0 8px 22px rgba(5,150,105,.18); }
.result-card.neg { background: linear-gradient(135deg, #B42318 0%, #E5484D 100%); box-shadow: 0 8px 22px rgba(185,28,28,.18); }
.result-card.neutral { background: linear-gradient(135deg, #334155 0%, #475569 100%); box-shadow: 0 8px 22px rgba(15,23,42,.14); }
.result-card::before {
  display: none;
}
.result-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 58%);
  pointer-events: none;
}
.rc-eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .58rem;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .055em;
  margin-bottom: 10px;
  position: relative;
  z-index:1;
  font-weight: 750;
}
.rc-info {
  width: 12px;
  height: 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.42);
  color: rgba(255,255,255,.72);
  font-size: .48rem;
  line-height: 1;
}
.rc-pct {
  font-size: 2rem;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.rc-sub { font-size: .8125rem; color: rgba(255,255,255,.6); position: relative; z-index:1; }
.rc-spark {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.7);
  justify-self: end;
  width: 86px;
}
.rc-spark svg {
  display: block;
  width: 100%;
  height: auto;
}
.result-card.neg .rc-spark svg {
  transform: scaleY(-1);
}
.result-card-mobile,
.participant-card-mobile {
  display: none;
}

/* Price journey */
.price-journey {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pj-box { flex: 1; text-align: center; padding: 10px; background: var(--bg); border-radius: var(--r-md); border: 1px solid var(--border); }
.pj-val  { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.03em; }
.pj-lbl  { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.pj-arrow { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.pj-arrow.neg { color: var(--red); }

.quick-info-card {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    0 1px 2px rgba(15,23,42,.04),
    0 12px 28px rgba(15,23,42,.08);
}
.quick-info-card-mobile {
  display: none;
}
.quick-info-title {
  margin-bottom: 11px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: 0;
}
.quick-info-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--text);
}
.quick-info-row + .quick-info-row { margin-top: 6px; }
.quick-info-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: #2563EB;
  background: #EEF5FF;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
}
.quick-info-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.85;
}
.quick-info-label {
  min-width: 0;
  color: #5F6F86;
  font-size: .76rem;
  font-weight: 480;
  line-height: 1.25;
}
.quick-info-value {
  max-width: 190px;
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: right;
}
.quick-info-link {
  margin-top: 11px;
  min-height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #475569;
  background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
  font-size: .79rem;
  font-weight: 570;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.quick-info-link:hover {
  color: var(--brand);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(15,23,42,.08);
}

.active-countdown-card {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    0 1px 2px rgba(15,23,42,.04),
    0 14px 34px rgba(15,23,42,.08);
}
.active-countdown-mobile {
  display: none;
}
.active-countdown-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.active-countdown-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: #2563EB;
  background: #EEF5FF;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
  flex-shrink: 0;
}
.active-countdown-title {
  color: #0F172A;
  font-size: .92rem;
  font-weight: 680;
  line-height: 1.2;
}
.active-countdown-subtitle {
  margin-top: 3px;
  color: #64748B;
  font-size: .74rem;
  line-height: 1.3;
}
.active-countdown-timer .countdown-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.active-countdown-timer .cd-unit {
  min-width: 0;
  padding: 8px 4px;
  border-radius: 11px;
  background: #F7FAFF;
  border: 1px solid #D7E5FF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
.active-countdown-timer .cd-unit b {
  color: #155EEF;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}
.active-countdown-timer .cd-unit small {
  color: #708097;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .02em;
}

/* Detail rows */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.detail-row:last-child { border-bottom: none; }
.detail-key { font-size: .875rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.detail-key-ic { width: 28px; height: 28px; border-radius: 7px; background: var(--bg-subtle); display: flex; align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0; }
.detail-val { font-size: .9375rem; font-weight: 600; color: var(--text); text-align: right; }

.arz-details-card {
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(15,23,42,.04),
    0 14px 34px rgba(15,23,42,.08);
  overflow: hidden;
}
.arz-details-header {
  padding: 18px 20px 12px;
  border-bottom: 0;
}
.arz-details-title {
  display: block;
  color: #0F172A;
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.2;
}
.arz-details-subtitle {
  margin-top: 5px;
  color: #6B7A90;
  font-size: .78rem;
  font-weight: 500;
}
.arz-details-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 20px 20px;
}
.arz-details-row {
  min-width: 0;
  min-height: 62px;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: #F8FAFC;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.72);
  gap: 10px;
}
.arz-details-row:last-child {
  border-bottom: 0;
}
.arz-details-row .detail-key {
  min-width: 0;
  color: #5F6F86;
  font-size: .76rem;
  font-weight: 480;
  line-height: 1.2;
}
.arz-details-row .detail-key-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #2563EB;
  background: #EEF5FF;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.08);
}
.arz-details-row .detail-key-ic svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.85;
}
.arz-details-row .detail-val {
  max-width: 48%;
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.arz-details-row .detail-val small {
  display: block;
  margin-top: 3px;
  font-size: .7rem !important;
  line-height: 1.25;
}
.allocation-detail-row {
  grid-column: 1 / -1;
  align-items: flex-start;
  flex-direction: column;
}
.allocation-detail-row .detail-key {
  width: 100%;
}
.allocation-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.allocation-list div {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.8);
}

.ipo-bank-preview {
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow:
    inset 0 0 0 1px rgba(226,232,240,.88),
    0 14px 34px rgba(15,23,42,.06);
}
.ipo-bank-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.ipo-bank-preview-head h2 {
  margin: 0;
  color: #0F172A;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.22;
  letter-spacing: 0;
}
.ipo-bank-preview-head p {
  margin: 5px 0 0;
  color: #64748B;
  font-size: .78rem;
  line-height: 1.45;
}
.ipo-bank-preview-head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 11px;
  border: 1px solid #D7E3F6;
  border-radius: 12px;
  background: #F8FBFF;
  color: #155EEF;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 650;
}
.ipo-bank-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.ipo-bank-preview-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 13px;
  background: #F8FAFC;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.75);
}
.ipo-bank-preview-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,.08), inset 0 0 0 1px rgba(226,232,240,.8);
  overflow: hidden;
}
.ipo-bank-preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.ipo-bank-preview-logo b {
  color: #155EEF;
  font-size: .82rem;
  font-weight: 760;
}
.ipo-bank-preview-item strong {
  min-width: 0;
  color: #172033;
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lot-estimator-card {
  margin: 8px 0 12px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(15,23,42,.04),
    0 18px 44px rgba(15,23,42,.08);
}
.lot-estimator-container {
  padding-bottom: 12px;
}
.lot-estimator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.lot-estimator-head h2 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: 0;
}
.lot-estimator-head h2 span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border: 1px solid #94A3B8;
  border-radius: 50%;
  color: #64748B;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
.lot-estimator-head p,
.lot-estimator-panel p {
  margin: 8px 0 0;
  color: #64748B;
  font-size: .9rem;
  line-height: 1.55;
}
.lot-estimator-method {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid #DDE6F3;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: .86rem;
  font-weight: 650;
  cursor: default;
  white-space: nowrap;
}
.lot-estimator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lot-estimator-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.045);
}
.lot-estimator-panel h3 {
  margin: 0;
  color: #172033;
  font-size: .98rem;
  font-weight: 700;
}
.lot-estimator-current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 34px 0 28px;
}
.lot-estimator-current strong {
  color: #2563EB;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}
.lot-estimator-current span {
  color: #475569;
  font-size: .9rem;
}
.lot-estimator-input input[type="range"] {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  accent-color: #2563EB;
}
.lot-estimator-scale {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: #475569;
  font-size: .72rem;
}
.lot-estimator-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 34px;
  padding: 12px;
  border: 1px solid #D7E6FB;
  border-radius: 11px;
  background: #F5F9FF;
  color: #315C9D;
  font-size: .78rem;
  line-height: 1.45;
}
.lot-estimator-note span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lot-result-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.lot-result-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #E6EDF6;
  border-radius: 13px;
  background: #FBFDFF;
}
.lot-result-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.lot-result-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lot-result-icon.blue { color: #2563EB; background: #EEF5FF; }
.lot-result-icon.green { color: #059669; background: #ECFDF5; }
.lot-result-icon.purple { color: #6D28D9; background: #F5F3FF; }
.lot-result-icon.yellow { color: #B7791F; background: #FFFBEB; }
.lot-result-item small {
  display: block;
  color: #475569;
  font-size: .78rem;
  margin-bottom: 6px;
}
.lot-result-item strong {
  display: block;
  color: #172033;
  font-size: 1.12rem;
  font-weight: 720;
  line-height: 1.2;
}
.lot-result-item em {
  display: block;
  margin-top: 5px;
  color: #64748B;
  font-size: .74rem;
  font-style: normal;
}
.lot-scenario-table {
  margin-top: 24px;
  border: 1px solid #E2E8F0;
  border-radius: 13px;
  overflow: hidden;
}
.lot-scenario-row {
  width: 100%;
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 0;
  border-bottom: 1px solid #EEF2F7;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: .83rem;
  text-align: left;
}
.lot-scenario-row:last-child {
  border-bottom: 0;
}
.lot-scenario-row strong {
  color: #172033;
  font-size: .82rem;
  font-weight: 600;
}
.lot-scenario-row.is-active {
  background: #F0F6FF;
  color: #155EEF;
}
.lot-scenario-row.is-active strong {
  color: #155EEF;
}
.lot-scenario-head {
  min-height: 42px;
  background: #F8FAFC;
  color: #334155;
  font-weight: 650;
}
.lot-estimator-help {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FBFDFF;
}
.lot-estimator-help > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #EEF5FF;
  color: #2563EB;
}
.lot-estimator-help strong {
  display: block;
  color: #172033;
  font-size: .9rem;
  margin-bottom: 4px;
}
.lot-estimator-help p {
  margin: 0 0 8px;
  color: #475569;
  font-size: .82rem;
  line-height: 1.45;
}
.lot-estimator-help b {
  color: #155EEF;
  font-size: .82rem;
  font-weight: 650;
}
.lot-estimator-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: #64748B;
  font-size: .78rem;
}
.lot-estimator-foot em {
  font-style: normal;
  white-space: nowrap;
}

.ceiling-calculator-container {
  padding-bottom: 42px;
}
.ceiling-calculator-card {
  margin: 0 0 24px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(15,23,42,.04),
    0 18px 44px rgba(15,23,42,.08);
}
.ceiling-calculator-head {
  margin-bottom: 18px;
}
.ceiling-calculator-head h2 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 740;
  line-height: 1.14;
  letter-spacing: 0;
}
.ceiling-calculator-head h2 span {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border: 1px solid #94A3B8;
  border-radius: 50%;
  color: #64748B;
  font-size: .7rem;
  font-weight: 700;
  vertical-align: middle;
}
.ceiling-calculator-head p {
  margin: 7px 0 0;
  color: #64748B;
  font-size: .86rem;
  line-height: 1.5;
}
.ceiling-calculator-controls {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(150px, 1fr) minmax(130px, 1fr) 170px;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.ceiling-calculator-controls label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.ceiling-calculator-controls label > span {
  color: #526176;
  font-size: .74rem;
  font-weight: 650;
}
.ceiling-calculator-controls input,
.ceiling-calculator-controls select {
  width: 100%;
  height: 42px;
  border: 1px solid #DDE6F3;
  border-radius: 10px;
  background: #fff;
  color: #0F172A;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  outline: none;
  padding: 0 12px;
}
.ceiling-calculator-controls input:focus,
.ceiling-calculator-controls select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.ceiling-input-wrap {
  position: relative;
}
.ceiling-input-wrap input {
  padding-right: 48px;
}
.ceiling-input-wrap em {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: .76rem;
  font-style: normal;
  font-weight: 650;
  pointer-events: none;
}
.ceiling-calc-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  background: #2563EB;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 720;
  box-shadow: 0 10px 22px rgba(37,99,235,.22);
  cursor: pointer;
}
.ceiling-table-wrap {
  overflow-x: auto;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}
.ceiling-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: .82rem;
}
.ceiling-table th {
  padding: 12px 14px;
  background: #F8FAFC;
  color: #64748B;
  font-size: .72rem;
  font-weight: 760;
  text-align: left;
  white-space: nowrap;
}
.ceiling-table td {
  padding: 12px 14px;
  border-top: 1px solid #EEF2F7;
  color: #172033;
  font-weight: 600;
  white-space: nowrap;
}
.ceiling-value-cell {
  display: grid;
  grid-template-columns: minmax(80px, auto) 72px;
  align-items: center;
  gap: 12px;
}
.ceiling-bar {
  height: 6px;
  border-radius: 99px;
  background: #DCFCE7;
  overflow: hidden;
}
.ceiling-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10B981;
}
.ceiling-profit {
  color: #059669 !important;
  font-weight: 760 !important;
}
.ceiling-more-row td {
  color: #64748B;
  background: #FBFDFF;
  font-size: .76rem;
  font-weight: 600;
  text-align: center;
}
.ceiling-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #F8FAFC;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,.78);
}
.ceiling-summary-item {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 8px 10px;
}
.ceiling-summary-item span {
  color: #64748B;
  font-size: .72rem;
  font-weight: 650;
}
.ceiling-summary-item strong {
  color: #0F172A;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.15;
}
.ceiling-summary-item.is-profit strong {
  color: #059669;
}
.ceiling-note {
  margin-top: 12px;
  color: #64748B;
  font-size: .76rem;
  line-height: 1.45;
}

/* Result stats grid */
.rc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.rc-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 14px 16px;
  position: relative; z-index:1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rc-stat-val { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.rc-stat-lbl { font-size: .68rem; color: rgba(255,255,255,.5); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 768px) {
  .arz-hero { padding: 16px 0 6px; }
  .arz-hero-inner { padding-bottom: 0; }
  .arz-hero-main {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
  }
  .arz-hero-copy { display: contents; }
  .arz-hero h1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .arz-hero-logo { width: 40px; height: 40px; border-radius: 10px; margin-top: 2px; box-shadow: 0 6px 16px rgba(15,23,42,.055); }
  .arz-hero-logo img { padding: 6px; }
  .arz-hero h1 { font-size: 1.2rem; line-height: 1.16; margin-bottom: 4px; font-weight: 780; }
  .arz-hero-ticker {
    font-size: .7rem;
    padding: 3px 8px;
    margin-left: 6px;
    color: #1646A3;
    background: #EAF2FF;
    border-color: #C8DAFF;
    transform: translateY(-1px);
  }
  .arz-hero-meta {
    grid-column: 2 / 3;
    grid-row: 2;
    align-self: center;
    font-size: .72rem;
    gap: 5px 9px;
    margin-bottom: 0;
    line-height: 1.25;
  }
  .arz-hero-meta svg { width: 12px; height: 12px; }
  .arz-hero-actions {
    grid-column: 2 / 3;
    grid-row: 3;
    justify-content: flex-end;
    margin-top: -3px;
    gap: 7px;
  }
  .arz-hero-follow { height: 28px; font-size: .64rem; padding: 0 9px; border-radius: 9px; box-shadow: 0 5px 14px rgba(15,23,42,.045); }
  .arz-hero-share { width: 28px; height: 28px; border-radius: 9px; box-shadow: 0 5px 14px rgba(15,23,42,.045); }
  .badge-glass { font-size: .72rem; padding: 5px 10px; }
  .arz-hero-live-row {
    margin-top: 10px;
    padding-left: 0;
  }
  .arz-hero-price-pill {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    gap: 7px;
    box-shadow: 0 6px 16px rgba(15,23,42,.045);
  }
  .arz-hero-price-pill span {
    font-size: .65rem;
  }
  .arz-hero-price-pill strong {
    font-size: .78rem;
  }
  .arz-logo-xl { display: none; }
  /* Breadcrumb — mobilde gizle */
  .arz-hero .arz-hero-bc { display: none !important; }

  /* Timeline — kaydırmasız, tam sığdır */
  .arz-timeline-wrap { display: none; }
  .arz-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; min-width: 0; min-height: 44px; }
  .arz-timeline::before { left: 13%; right: 13%; top: 12px; height: 2px; }
  .tl-step { min-width: 0; padding: 0 3px; }
  .tl-dot  { width: 8px; height: 8px; margin: 8px 0 6px; box-shadow: 0 0 0 3px rgba(94,234,212,.08), 0 0 7px rgba(94,234,212,.16); }
  .tl-lbl  { font-size: .43rem; font-weight: 650; letter-spacing: .03em; padding: 2px 4px; white-space: normal; word-break: keep-all; }
  .tl-date { font-size: .58rem; font-weight: 650; }

  /* Metrics — iOS kart grid */
  .arz-metrics { background: var(--bg-page); border-bottom: none; box-shadow: none; padding: 10px 16px 8px; }
  .arz-metrics .container { padding: 0 !important; }
  .arz-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    overflow: visible;
    flex-wrap: unset;
  }
  .arz-metric-item {
    flex: unset;
    min-width: 0;
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg);
    border-radius: 12px;
    border: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(15,23,42,.07);
    box-sizing: border-box;
  }
  .arz-metric-item,
  .arz-metric-item:nth-child(odd),
  .arz-metric-item:nth-child(even),
  .arz-metric-item:last-child { border: 0; }
  .arz-metric-icon { width: 28px; height: 28px; }
  .arz-metric-icon::before { font-size: .74rem; }
  .arz-metric-val { font-size: .82rem; line-height: 1.08; white-space: normal; font-weight: 720; }
  .arz-metric-lbl { font-size: .55rem; margin: 0 0 4px; gap: 4px; font-weight: 520; }
  .arz-metric-info { width: 11px; height: 11px; font-size: .46rem; }
  .arz-detail-content { padding-top: 10px; }
  .result-card {
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) 72px;
    padding: 14px 15px;
    border-radius: 12px;
  }
  .result-card-mobile {
    display: grid;
  }
  .participant-card-mobile {
    display: block;
    margin-bottom: 14px;
  }
  .result-card-sidebar,
  .participant-card-sidebar {
    display: none;
  }
  .active-countdown-sidebar {
    display: none;
  }
  .active-countdown-mobile {
    display: block;
    margin-bottom: 14px;
    padding: 14px 15px;
    border-radius: 13px;
  }
  .active-countdown-head {
    margin-bottom: 12px;
  }
  .active-countdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .active-countdown-title {
    font-size: .88rem;
  }
  .active-countdown-subtitle {
    font-size: .7rem;
  }
  .active-countdown-timer .countdown-wrap {
    gap: 6px;
  }
  .active-countdown-timer .cd-unit {
    padding: 7px 3px;
    border-radius: 10px;
  }
  .active-countdown-timer .cd-unit b {
    font-size: .9rem;
  }
  .active-countdown-timer .cd-unit small {
    font-size: .5rem;
  }
  .lot-estimator-card {
    margin: 14px 0 18px;
    padding: 16px;
    border-radius: 15px;
  }
  .lot-estimator-container {
    padding-bottom: 22px;
  }
  .lot-estimator-head {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  .lot-estimator-head h2 {
    font-size: 1.18rem;
    line-height: 1.18;
  }
  .lot-estimator-head p,
  .lot-estimator-panel p {
    font-size: .8rem;
  }
  .lot-estimator-method {
    width: 100%;
    min-height: 40px;
    font-size: .8rem;
  }
  .lot-estimator-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lot-estimator-panel {
    padding: 15px;
    border-radius: 14px;
  }
  .lot-estimator-panel h3 {
    font-size: .9rem;
  }
  .lot-estimator-current {
    margin: 24px 0 22px;
  }
  .lot-estimator-current strong {
    font-size: 2rem;
  }
  .lot-estimator-scale {
    font-size: .66rem;
  }
  .lot-estimator-note {
    margin-top: 22px;
    font-size: .74rem;
  }
  .lot-result-list,
  .lot-scenario-table {
    margin-top: 16px;
  }
  .lot-result-item {
    min-height: 64px;
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .lot-result-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .lot-result-icon svg {
    width: 20px;
    height: 20px;
  }
  .lot-result-item strong {
    font-size: 1rem;
  }
  .lot-scenario-row {
    min-height: 42px;
    padding: 0 11px;
    font-size: .78rem;
  }
  .lot-estimator-help {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px;
  }
  .lot-estimator-help > span {
    width: 38px;
    height: 38px;
  }
  .lot-estimator-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: .72rem;
  }
  .lot-estimator-foot em {
    white-space: normal;
  }
  .ceiling-calculator-container {
    padding-bottom: 28px;
  }
  .ceiling-calculator-card {
    padding: 16px;
    border-radius: 15px;
  }
  .ceiling-calculator-head h2 {
    font-size: 1.12rem;
  }
  .ceiling-calculator-head p {
    font-size: .78rem;
  }
  .ceiling-calculator-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ceiling-calc-button {
    width: 100%;
  }
  .ceiling-table {
    min-width: 0;
    font-size: .76rem;
  }
  .ceiling-table th:nth-child(3),
  .ceiling-table td:nth-child(3),
  .ceiling-table th:nth-child(4),
  .ceiling-table td:nth-child(4) {
    display: none;
  }
  .ceiling-table th,
  .ceiling-table td {
    padding: 10px 11px;
  }
  .ceiling-value-cell {
    grid-template-columns: minmax(74px, auto);
  }
  .ceiling-bar {
    display: none;
  }
  .ceiling-summary {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
  }
  .ceiling-summary-item {
    padding: 7px;
  }
  .ceiling-summary-item strong {
    font-size: .92rem;
  }
  .rc-eyebrow { font-size: .54rem; margin-bottom: 8px; }
  .rc-pct { font-size: 1.65rem; }
  .rc-spark { width: 70px; }
  .rc-stats { grid-template-columns: 1fr 1fr; }
  .quick-info-card {
    padding: 14px 15px;
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .quick-info-card-mobile {
    display: block;
  }
  .quick-info-card-sidebar {
    display: none;
  }
  .quick-info-title {
    font-size: .88rem;
    margin-bottom: 10px;
  }
  .quick-info-row {
    grid-template-columns: 30px minmax(0, 1fr) minmax(82px, auto);
    gap: 8px;
    min-height: 34px;
  }
  .quick-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .quick-info-label {
    font-size: .72rem;
  }
  .quick-info-value {
    max-width: 128px;
    font-size: .73rem;
    overflow-wrap: anywhere;
  }
  .quick-info-link {
    min-height: 34px;
    font-size: .76rem;
  }
  .arz-details-card {
    border-radius: 13px;
  }
  .arz-details-header {
    padding: 16px 16px 10px;
  }
  .arz-details-title {
    font-size: 1rem;
  }
  .arz-details-subtitle {
    font-size: .74rem;
  }
  .arz-details-body {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 16px 16px;
  }
  .arz-details-row {
    min-height: 58px;
    padding: 10px 11px;
    border-radius: 11px;
  }
  .arz-details-row .detail-key {
    font-size: .76rem;
    font-weight: 480;
  }
  .arz-details-row .detail-key-ic {
    width: 30px;
    height: 30px;
  }
  .arz-details-row .detail-val {
    max-width: 46%;
    font-size: .78rem;
    font-weight: 600;
  }
  .allocation-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .allocation-list div {
    min-height: 32px;
    padding: 8px 9px;
    font-size: .73rem;
  }
  .ipo-bank-preview {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
  }
  .ipo-bank-preview-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .ipo-bank-preview-head h2 {
    font-size: .95rem;
  }
  .ipo-bank-preview-head a {
    justify-content: center;
    width: 100%;
  }
  .ipo-bank-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ipo-bank-preview-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .ipo-bank-preview-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .ipo-bank-preview-item strong {
    font-size: .7rem;
  }
  .card.mb-6[style*="background:transparent"] p {
    font-size: .92rem !important;
    line-height: 1.65 !important;
  }
  .feed-two-col-grid { grid-template-columns: 1fr !important; }
  .feed-col-separator { display: none; }
}

@media (max-width: 768px) { .hide-mobile { display: none !important; } }

@media (max-width: 360px) {
  .arz-details-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .arz-details-row .detail-val {
    max-width: 100%;
    text-align: left;
    padding-left: 38px;
  }
}

@media (max-width: 1024px) {
  .arz-hero .arz-hero-bc { display: none !important; }
}

/* Bedelsiz kartlar — masaüstü grid */
.bedelsiz-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .bedelsiz-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 4px;
  }
  .bedelsiz-grid::-webkit-scrollbar { display: none; }
  .bedelsiz-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-width: 0;
  }
}

/* ─── UTILS ──────────────────────────────────────────────────── */
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-6  { margin-bottom: 24px; }
.gap-3 { gap: 12px; }
.fw-7  { font-weight: 700; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section { padding-block: 48px; }
  .hero { padding: 52px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .float-card-1, .float-card-2 { display: none; }
  .hero-stats { gap: 20px; }
  .nav-links { display: none; }
  .nav-auth-btn { display: none; }
  .search-wrap {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--r-sm);
    justify-content: center;
    gap: 0;
  }
  .search-wrap:focus-within {
    width: min(220px, calc(100vw - 112px));
    padding: 6px 10px;
    justify-content: flex-start;
    gap: 7px;
  }
  .search-wrap input {
    width: 0;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
  }
  .search-wrap:focus-within input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }
  .global-search-submit {
    width: 36px;
    height: 36px;
  }
  .search-wrap:focus-within .global-search-submit {
    width: 18px;
    height: 18px;
  }
  .global-search-results {
    right: -44px;
    width: min(320px, calc(100vw - 24px));
  }
  .auth-shell {
    align-items: flex-start;
    padding: 34px 16px 56px;
  }
  .auth-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .auth-copy h1 {
    font-size: 2rem;
  }
  .auth-form {
    padding: 20px;
    border-radius: 16px;
  }
  .profile-shell {
    padding: 28px 16px 52px;
  }
  .profile-head {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 16px;
    border-radius: 16px;
  }
  .profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .profile-logout {
    grid-column: 1 / -1;
    width: 100%;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-panel {
    padding: 18px;
    border-radius: 16px;
  }
  .portfolio-shell {
    padding: 28px 14px 54px;
  }
  .portfolio-hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 18px;
  }
  .portfolio-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .portfolio-stats div {
    min-height: 78px;
    padding: 14px;
  }
  .portfolio-stats strong {
    font-size: 1.05rem;
  }
  .portfolio-layout,
  .portfolio-form-row {
    grid-template-columns: 1fr;
  }
  .portfolio-form,
  .portfolio-list {
    padding: 16px;
    border-radius: 16px;
  }
  .portfolio-table-head {
    display: none;
  }
  .portfolio-row {
    grid-template-columns: 1fr auto;
    gap: 9px 14px;
    align-items: start;
    padding: 14px 10px;
  }
  .portfolio-company {
    grid-column: 1 / -1;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
  .portfolio-row > div[data-label] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    grid-column: 1 / -1;
    color: var(--text);
  }
  .portfolio-row > div[data-label]::before {
    content: attr(data-label);
    color: var(--text-soft);
    font-size: .74rem;
    font-weight: 620;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .portfolio-profit {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .portfolio-profit span {
    margin-left: 8px;
  }
  .portfolio-delete {
    grid-column: 1 / -1;
  }
  .portfolio-delete button {
    width: 100%;
  }
  .portfolio-note {
    margin-left: 0;
  }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; width: 100%; padding: 16px; }
  .ipo-row { grid-template-columns: 44px 1fr auto; }
  .ipo-row .ipo-ticker { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── DARK HERO ──────────────────────────────────────────────── */
.hero.hero-dark {
  background: linear-gradient(135deg, #060D1C 0%, #0B1D3E 45%, #0E2A65 100%);
}
.hero.hero-dark::before {
  background: radial-gradient(circle, rgba(96,165,250,.12) 0%, transparent 65%);
  top: -200px; right: -100px;
  width: 700px; height: 700px;
}
.hero.hero-dark::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -50px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,94,239,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero.hero-dark h1       { color: #fff; }
.hero.hero-dark h1 .gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero.hero-dark .hero-sub    { color: rgba(255,255,255,.6); }
.hero.hero-dark .hero-eyebrow {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.14);
}
.hero.hero-dark .hero-stats     { border-top-color: rgba(255,255,255,.1); }
.hero.hero-dark .hero-stat-num  { color: #fff; }
.hero.hero-dark .hero-stat-lbl  { color: rgba(255,255,255,.4); }

.btn-hero-ghost {
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

/* ─── HERO BOARD ─────────────────────────────────────────────── */
.hero-board {
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  width: 100%;
  max-width: 400px;
}
.hb-header {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.2);
}
.hb-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.2);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.hb-group-label {
  padding: 10px 18px 3px;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}
.hb-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .15s;
  text-decoration: none; color: inherit;
}
.hb-row:hover { background: rgba(255,255,255,.05); }
.hb-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: rgba(255,255,255,.7);
  flex-shrink: 0; overflow: hidden;
}
.hb-logo img { width: 100%; height: 100%; object-fit: cover; }
.hb-name {
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.85);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hb-meta { font-size: .725rem; color: rgba(255,255,255,.38); margin-top: 1px; }
.hb-tag {
  margin-left: auto; flex-shrink: 0;
  font-size: .65rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .03em;
}
.hb-tag-aktif    { background:rgba(52,211,153,.15);  border:1px solid rgba(52,211,153,.3);   color:#34D399;  }
.hb-tag-yaklasan { background:rgba(251,191,36,.12);  border:1px solid rgba(251,191,36,.25);  color:#FCD34D;  }
.hb-tag-pos      { background:rgba(52,211,153,.15);  border:1px solid rgba(52,211,153,.25);  color:#6EE7B7;  }
.hb-tag-neg      { background:rgba(248,113,113,.15); border:1px solid rgba(248,113,113,.25); color:#FCA5A5;  }
.hb-empty {
  padding: 40px 18px; text-align: center;
  color: rgba(255,255,255,.3); font-size: .875rem;
}
.hb-footer {
  padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.22); text-align: center;
}
.hb-footer a { font-size: .8125rem; color: #93C5FD; font-weight: 600; }
.hb-footer a:hover { color: #fff; }

/* ─── ANN DOT ICON ───────────────────────────────────────────── */
.ann-ic-dot {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how-section { background: var(--bg-subtle); border-top: 1px solid var(--border); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 28px; transition: var(--t);
}
.how-step:hover { border-color: var(--brand-200); box-shadow: var(--sh-md); transform: translateY(-2px); }
.how-num {
  font-size: 2.5rem; font-weight: 900;
  letter-spacing: -.06em; color: var(--brand-100);
  line-height: 1; margin-bottom: 18px;
}
.how-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.how-desc  { font-size: .9375rem; color: var(--text-soft); line-height: 1.7; }

/* ─── HERO NEWS WIDGET ───────────────────────────────────────── */
.hs-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 28px 72px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
}
.hero-visual { align-self: stretch; }

/* ── Featured image area ── */
.hs-feat-wrap {
  position: relative;
  height: 480px;
  flex-shrink: 0;
  overflow: hidden;
}

.hs-arrows { display: flex; gap: 3px; }
.hs-arrow {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
  backdrop-filter: blur(8px);
}
.hs-arrow:hover { background: rgba(0,0,0,.7); color: #fff; }
.hs-feat-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: none; text-decoration: none;
  transition: transform .4s ease;
}
.hs-feat-slide.active { display: block; animation: hsFadeIn .4s ease; }
.hs-feat-slide:hover .hs-feat-overlay { background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.1) 100%); }

@keyframes hsFadeIn { from{opacity:0} to{opacity:1} }

.hs-feat-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 44px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 50%, transparent 100%);
  transition: background .2s;
}
.hs-feat-cat {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 3px; border: 1px solid;
  margin-bottom: 6px;
}
.hs-feat-title {
  font-size: .9375rem; font-weight: 800;
  color: #fff; line-height: 1.35;
  letter-spacing: -.02em; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Story list ── */
.hs-story-list { flex: 1; }

.hs-story-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer; transition: background .12s;
  position: relative;
}
.hs-story-item:last-child { border-bottom: none; }
.hs-story-item:hover { background: rgba(255,255,255,.04); }
.hs-story-item.active { background: rgba(96,165,250,.07); }
.hs-story-item.active::before {
  content: ''; position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px; border-radius: 0 2px 2px 0;
  background: #60A5FA;
}

.hs-story-num {
  font-size: .75rem; font-weight: 800;
  color: rgba(255,255,255,.18); width: 16px;
  flex-shrink: 0; text-align: center;
  font-variant-numeric: tabular-nums;
}
.hs-story-item.active .hs-story-num { color: #60A5FA; }

.hs-story-thumb {
  width: 48px; height: 40px; border-radius: 6px;
  overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
}
.hs-story-thumb img { width:100%; height:100%; object-fit:cover; }

.hs-story-body { flex: 1; min-width: 0; }
.hs-story-title {
  font-size: .8125rem; font-weight: 600;
  color: rgba(255,255,255,.75); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 3px;
}
.hs-story-item.active .hs-story-title { color: rgba(255,255,255,.92); }
.hs-story-meta {
  font-size: .685rem; color: rgba(255,255,255,.3);
  display: flex; align-items: center; gap: 4px;
}

/* ── Footer ── */
.hs-footer {
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.hs-progress {
  flex: 1; height: 2px;
  background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden;
}
.hs-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg,#3B82F6,#60A5FA);
  border-radius: 2px;
}
.hs-more {
  font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-decoration: none;
  white-space: nowrap; transition: color .15s;
  text-transform: uppercase; letter-spacing: .04em;
}
.hs-more:hover { color: rgba(255,255,255,.85); }

@media (max-width: 768px) {
  .hs-card      { max-width: 100%; }
  .hs-feat-wrap { height: 300px; }
}

/* ─── ARZ FEED (Ana sayfa tamamlanan listesi) ────────────────── */
.arz-feed-row {
  display: grid;
  grid-template-columns: 1fr 110px 100px 80px;
  align-items: center;
  gap: 16px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .1s;
}
.arz-feed-row:last-child { border-bottom: none; }
.arz-feed-row:hover { background: var(--bg-subtle); }

.arz-feed-logo {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6875rem; font-weight: 800; color: var(--text-muted);
  flex-shrink: 0; overflow: hidden;
}
.arz-feed-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.arz-feed-name {
  font-size: .9rem; font-weight: 700; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex-shrink: 1;
}
.arz-feed-kod {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem; font-weight: 700;
  color: var(--brand); background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: .05em; flex-shrink: 0;
}
.arz-feed-sektor {
  font-size: .72rem; color: var(--text-muted);
  margin-top: 2px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.arz-feed-date  { font-size: .8125rem; color: var(--text-muted); text-align: right; white-space: nowrap; }
.arz-feed-price { font-size: .875rem; font-weight: 600; color: var(--text-soft); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.arz-feed-return { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.ipo-dashboard-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items:stretch;
}
.ipo-panel {
  font-family: "Inter", system-ui, sans-serif;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.04);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  position:relative;
  overflow:hidden;
}
.ipo-panel-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.ipo-panel-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
.ipo-panel-kicker {
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  padding:3px 8px;
  border-radius:999px;
  font-size:.58rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--brand);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.ipo-panel-title {
  margin:0;
  font-size:.92rem;
  line-height:1.2;
  font-weight:600;
  letter-spacing:-.01em;
  color: var(--slate-800);
}
.ipo-panel-copy-text {
  margin:0;
  color: var(--slate-400);
  font-size:.77rem;
  line-height:1.5;
}
.ipo-panel-link {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 12px;
  border-radius:8px;
  text-decoration:none;
  color: var(--brand);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.01em;
  background: var(--brand-50);
  border:1px solid var(--brand-100);
  white-space:nowrap;
  flex-shrink:0;
  transition: background .15s, border-color .15s;
}
.ipo-panel-link:hover { background: var(--brand-100); border-color: var(--brand-200); }
.ipo-table-frame {
  display:flex;
  flex-direction:column;
  gap:0;
}
.ipo-table-head {
  display:grid;
  grid-template-columns: minmax(0,1fr) 80px 80px 60px;
  gap:8px;
  align-items:center;
  padding:4px 10px 6px;
  border-bottom:1px solid var(--slate-100);
}
.ipo-table-head > div {
  font-size:.58rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--slate-400);
}
.ipo-col-price, .ipo-col-date, .ipo-col-return, .ipo-col-status {
  text-align:right;
  font-variant-numeric: tabular-nums;
}
.ipo-panel-left .ipo-table-head,
.ipo-panel-left .ipo-table-row {
  grid-template-columns: minmax(0,1.12fr) 82px 82px 68px;
  column-gap: 14px;
}
.ipo-table-row {
  display:grid;
  grid-template-columns: minmax(0,1fr) 80px 80px 60px;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:inherit;
  padding:7px 10px;
  border-radius:0;
  border:none;
  border-bottom:1px solid var(--slate-100);
  transition: background .13s;
}
.ipo-table-row:last-child { border-bottom:none; }
.ipo-table-row:hover { background: var(--slate-50); }
.ipo-pipeline-row { grid-template-columns: minmax(0,1fr) auto; }
.ipo-panel-right .ipo-table-head { grid-template-columns: minmax(0,1fr) auto; }
.ipo-panel-right .ipo-table-head .ipo-col-status { text-align:right; justify-self:end; }
.ipo-entity-block {
  display:grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items:center;
  gap:10px;
  min-width:0;
}
.ipo-panel-left .ipo-entity-block {
  grid-template-columns: 34px minmax(0, 1fr) 54px;
  gap:8px;
}
.ipo-entity-copy { display:flex; flex-direction:column; gap:2px; min-width:0; }
.ipo-panel-left .ipo-entity-copy { display: contents; }
.ipo-entity-name {
  font-size:.78rem;
  font-weight:600;
  color:#172033;
  letter-spacing:0;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ipo-entity-name-with-code {
  display: contents;
}
.ipo-entity-name-text {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ipo-panel-left .ipo-entity-name-text {
  color: #005a9c;
  font-size: .71rem;
  font-weight: 560;
  letter-spacing: 0;
}
.ipo-home-code {
  justify-self: end;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 18px;
  padding: 1px 4px;
  border-radius: 5px;
  color: #475569;
  background: rgba(248,250,252,.9);
  border: 1px solid rgba(203,213,225,.72);
  font-size: .61rem;
  font-weight: 680;
  letter-spacing: .025em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.ipo-entity-meta {
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  font-size:.76rem;
  font-weight:480;
  color:#5F6F86;
  line-height:1.25;
  letter-spacing:0;
}
.ipo-entity-meta span + span::before {
  content: '·';
  margin-right:6px;
  color: var(--slate-300);
}
.ipo-col-price, .ipo-col-date {
  font-size:.78rem;
  font-weight:600;
  color:#172033;
  line-height:1.25;
  white-space:nowrap;
}
.ipo-panel-left .ipo-table-row .ipo-col-price {
  font-size: .78rem;
  font-weight: 600;
  color: #172033;
  line-height: 1.25;
  letter-spacing: 0;
}
.ipo-return-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:50px;
  padding:2px 6px;
  border-radius:6px;
  font-size:.66rem;
  font-weight:620;
  letter-spacing:0;
  background: rgba(248,250,252,.9);
  color: #64748B;
  border: 1px solid rgba(203,213,225,.56);
}
.ipo-return-pill.positive {
  color: #047857;
  background: rgba(236,253,245,.72);
  border-color: rgba(16,185,129,.18);
}
.ipo-return-pill.negative {
  color: #B42318;
  background: rgba(254,242,242,.72);
  border-color: rgba(239,68,68,.18);
}
.ipo-return-pill.neutral {
  color: #64748B;
  background: rgba(248,250,252,.9);
  border-color: rgba(203,213,225,.56);
}
.ipo-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 72px;
  min-height: 22px;
  padding: 2px 0 2px 10px;
  color: #64748B;
  background: transparent;
  border: 0;
  font-size: .68rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.ipo-status-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}
.ipo-status-draft { color: #64748B; }
.ipo-status-pending { color: #A16207; }
.ipo-status-active { color: #047857; }
.ipo-empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:6px;
  border-radius:14px;
  border:1px dashed rgba(148,163,184,.38);
  background: rgba(248,250,252,.6);
  padding:24px 18px;
}

/* ─── PERFORMANCE SECTION ────────────────────────────────────── */
.prf-section {
  background: var(--slate-50);
  padding: 68px 0 72px;
  position: relative;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

/* Header */
.prf-header {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:36px;
}
.prf-header-eyebrow {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--brand);
  margin-bottom:10px;
}
.prf-live-dot {
  width:6px;height:6px;
  background:var(--brand);
  border-radius:50%;
  flex-shrink:0;
  animation:prfDotPulse 2.4s ease-in-out infinite;
}
@keyframes prfDotPulse {
  0%,100%{box-shadow:0 0 0 0 rgba(21,94,239,.4)}
  50%{box-shadow:0 0 0 5px rgba(21,94,239,0)}
}
.prf-header-title {
  font-size:clamp(1.35rem,2.8vw,1.9rem);
  font-weight:800;
  color:var(--slate-900);
  letter-spacing:-.04em;
  line-height:1.15;
  margin:0 0 8px;
}
.prf-header-sub {
  font-size:.8rem;
  color:var(--slate-500);
  margin:0;
  line-height:1.65;
}
.prf-cta-btn {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 16px;
  font-size:.73rem;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--brand);
  background:var(--brand-50);
  border:1px solid var(--brand-100);
  border-radius:6px;
  text-decoration:none;
  white-space:nowrap;
  transition:background .16s,border-color .16s,color .16s;
}
.prf-cta-btn:hover {
  background:var(--brand-100);
  border-color:var(--brand-200);
  color:var(--brand-dark);
}

/* Metric Cards */
.prf-metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:10px;
}
.prf-metric-card {
  background:#fff;
  border:1px solid var(--slate-200);
  border-radius:8px;
  padding:16px 18px 14px;
  position:relative;
  overflow:hidden;
  transition:box-shadow .18s,border-color .18s;
  box-shadow:var(--sh-sm);
}
.prf-metric-card:hover {
  box-shadow:var(--sh-md);
  border-color:var(--slate-300);
}
.prf-metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.prf-metric-label {
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--slate-400);
}
.prf-metric-badge {
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.05em;
  padding:2px 6px;
  border-radius:3px;
  flex-shrink:0;
}
.prf-metric-badge.mb-pos{color:#059669;background:#d1fae5;border:1px solid #a7f3d0}
.prf-metric-badge.mb-neg{color:#dc2626;background:#fee2e2;border:1px solid #fca5a5}
.prf-metric-badge.mb-neu{color:var(--slate-500);background:var(--slate-100);border:1px solid var(--slate-200)}
.prf-metric-value {
  font-size:1.65rem;
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1;
  margin-bottom:10px;
  font-variant-numeric:tabular-nums;
}
.prf-metric-value.mv-pos{color:#059669}
.prf-metric-value.mv-neg{color:#dc2626}
.prf-metric-value.mv-neu{color:var(--slate-900)}
.prf-metric-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.prf-metric-change {
  font-size:.64rem;
  color:var(--slate-400);
  font-weight:500;
  white-space:nowrap;
}
.prf-metric-change.ch-up{color:#059669}
.prf-metric-change.ch-dn{color:#dc2626}
.prf-sparkline{width:60px;height:20px;flex-shrink:0;opacity:.8}

/* Main Grid */
.prf-main-grid {
  display:grid;
  grid-template-columns:1fr 380px;
  gap:10px;
  align-items:start;
}
.prf-panel {
  background:#fff;
  border:1px solid var(--slate-200);
  border-radius:8px;
  overflow:hidden;
  box-shadow:var(--sh-sm);
}
.prf-panel-hd {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px 12px;
  border-bottom:1px solid var(--slate-100);
  background:var(--slate-50);
}
.prf-panel-title {
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--slate-700);
}
.prf-panel-sub {
  font-size:.64rem;
  color:var(--slate-400);
  margin-top:3px;
  line-height:1.5;
}
.prf-panel-chip {
  font-size:.56rem;
  font-weight:800;
  letter-spacing:.1em;
  color:var(--brand);
  background:var(--brand-50);
  border:1px solid var(--brand-100);
  border-radius:3px;
  padding:3px 7px;
  white-space:nowrap;
  margin-top:1px;
  flex-shrink:0;
}

/* Leaderboard */
.prf-lb-head {
  display:grid;
  grid-template-columns:26px 1fr 68px 76px 76px 66px;
  gap:8px;
  padding:7px 18px;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--slate-400);
  border-bottom:1px solid var(--slate-100);
}
.prf-lb-head span:nth-child(n+3){text-align:right}
.prf-lb-body{padding:2px 0}
.prf-lb-row {
  display:grid;
  grid-template-columns:26px 1fr 68px 76px 76px 66px;
  gap:8px;
  padding:8px 18px;
  align-items:center;
  border-bottom:1px solid var(--slate-100);
  text-decoration:none;
  transition:background .13s;
  cursor:default;
}
.prf-lb-row:last-child{border-bottom:none}
.prf-lb-row:hover{background:var(--brand-50)}
.prf-lb-row:hover .prf-lb-company strong{color:var(--brand)}
.prf-lb-rank {
  font-size:.65rem;
  font-weight:800;
  color:var(--slate-400);
  font-variant-numeric:tabular-nums;
  width:20px;height:20px;
  display:flex;align-items:center;justify-content:center;
  border-radius:4px;
}
.prf-lb-rank.r1{background:rgba(251,191,36,.15);color:#b45309}
.prf-lb-rank.r2{background:var(--slate-100);color:var(--slate-500)}
.prf-lb-rank.r3{background:rgba(180,83,9,.1);color:#b45309}
.prf-lb-company{display:flex;flex-direction:column;gap:1px;min-width:0}
.prf-lb-company strong{
  font-size:.74rem;font-weight:800;
  color:var(--slate-800);letter-spacing:.02em;
}
.prf-lb-company small{
  font-size:.6rem;color:var(--slate-400);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prf-lb-date{font-size:.66rem;color:var(--slate-400);text-align:right;font-variant-numeric:tabular-nums}
.prf-lb-num{font-size:.7rem;color:var(--slate-500);text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.prf-lb-pct{font-size:.74rem;font-weight:800;text-align:right;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.prf-lb-pct.lp-pos{color:#059669}
.prf-lb-pct.lp-neg{color:#dc2626}
.prf-lb-row.lp-neg .prf-lb-company strong{color:var(--slate-600)}

/* Right column */
.prf-right-col{display:flex;flex-direction:column;gap:10px}

/* Time filters */
.prf-tf-wrap{display:flex;gap:3px;flex-shrink:0}
.prf-tf-btn {
  font-size:.62rem;font-weight:700;letter-spacing:.06em;
  padding:4px 9px;
  background:transparent;
  border:1px solid var(--slate-200);
  border-radius:4px;
  color:var(--slate-400);
  cursor:pointer;
  transition:all .13s;
}
.prf-tf-btn:hover{background:var(--slate-50);color:var(--slate-600)}
.prf-tf-btn.active{background:var(--brand-50);border-color:var(--brand-100);color:var(--brand)}
.prf-chart-wrap{padding:14px 18px 10px;position:relative}
#prfChart{width:100%;display:block}

/* Sector bars */
.prf-sectors{padding:10px 18px 14px}
.prf-sector-row {
  display:grid;
  grid-template-columns:82px 1fr 50px;
  align-items:center;
  gap:10px;
  padding:6px 0;
  border-bottom:1px solid var(--slate-100);
}
.prf-sector-row:last-child{border-bottom:none}
.prf-sector-name{font-size:.66rem;font-weight:600;color:var(--slate-500);white-space:nowrap}
.prf-sector-bar-track{height:4px;background:var(--slate-100);border-radius:2px;overflow:hidden}
.prf-sector-bar{
  height:100%;border-radius:2px;
  transition:width .7s cubic-bezier(.4,0,.2,1);
}
.prf-sector-bar.sb-pos{background:linear-gradient(90deg,var(--brand-700),var(--brand))}
.prf-sector-bar.sb-neg{background:linear-gradient(90deg,#b91c1c,#ef4444)}
.prf-sector-val{font-size:.67rem;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.prf-sector-val.sv-pos{color:var(--brand)}
.prf-sector-val.sv-neg{color:#dc2626}

/* Responsive */
@media(max-width:1100px){
  .prf-main-grid{grid-template-columns:1fr}
  .prf-lb-head,.prf-lb-row{grid-template-columns:26px 1fr 64px 70px 70px 62px}
}
@media(max-width:768px){
  .prf-section{padding:48px 0 52px}
  .prf-metrics{grid-template-columns:repeat(2,1fr);gap:8px}
  .prf-header{flex-direction:column;align-items:flex-start}
  .prf-lb-head .prf-hcol-hide,.prf-lb-row .prf-col-hide{display:none}
  .prf-lb-head,.prf-lb-row{grid-template-columns:26px 1fr 62px}
}
@media(max-width:480px){
  .prf-metrics{grid-template-columns:1fr 1fr}
  .prf-metric-value{font-size:1.35rem}
}
.ipo-empty-icon {
  width:36px;
  height:36px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(37,99,235,.72);
  background: rgba(37,99,235,.1);
  border:1px solid rgba(37,99,235,.16);
}
.ipo-empty-title {
  font-size:.82rem;
  font-weight:800;
  color:#020817;
}
.ipo-empty-copy {
  font-size:.72rem;
  color: rgba(71,85,105,.7);
  max-width:28ch;
}

.ipo-panel .ipo-logo {
  width: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.ipo-panel .ipo-logo img {
  padding: 2px;
}
.ipo-panel .ipo-logo-ph {
  width: 26px !important;
  height: 26px !important;
  border-radius: 7px !important;
  font-size: .68rem !important;
  font-weight:800 !important;
  color: #1D4ED8 !important;
  background: rgba(37,99,235,.12) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  box-shadow: none !important;
}
.ipo-panel .badge {
  border-radius:999px !important;
  padding:4px 8px !important;
  font-size:.62rem !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
  border:1px solid rgba(15,23,42,.08) !important;
  background: rgba(248,250,252,.9) !important;
  color: rgba(71,85,105,.78) !important;
}
.ipo-panel .badge::before { display:none !important; }
.ipo-panel .badge-green { background: rgba(16,185,129,.12) !important; color:#065F46 !important; border-color:rgba(16,185,129,.18) !important; }
.ipo-panel .badge-amber { background: rgba(245,158,11,.12) !important; color:#92400E !important; border-color:rgba(245,158,11,.2) !important; }
.ipo-panel .badge-blue { background: rgba(37,99,235,.12) !important; color:#1D4ED8 !important; border-color:rgba(37,99,235,.18) !important; }
.ipo-panel .badge-gray { background: rgba(148,163,184,.18) !important; color:#475569 !important; border-color:rgba(148,163,184,.26) !important; }
.ipo-panel .badge-red { background: rgba(244,63,94,.12) !important; color:#9F1239 !important; border-color:rgba(244,63,94,.18) !important; }

/* Home IPO board refinement */
.ipo-dashboard-grid {
  gap: 18px;
}
.ipo-panel {
  border: 1px solid rgba(203,213,225,.72);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 18px 38px rgba(15,23,42,.07);
  padding: 0;
}
.ipo-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #155EEF, rgba(21,94,239,0));
  opacity: .65;
}
.ipo-panel-right::before {
  background: linear-gradient(90deg, #64748B, rgba(100,116,139,0));
  opacity: .45;
}
.ipo-panel-header {
  min-height: 58px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(226,232,240,.86);
}
.ipo-panel-title {
  font-size: .94rem;
  font-weight: 720;
  color: #0F172A;
  letter-spacing: 0;
}
.ipo-panel-link {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: #334155;
  background: #F8FAFC;
  border-color: rgba(203,213,225,.78);
  font-size: .7rem;
  font-weight: 620;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
.ipo-panel-link:hover {
  color: #0F172A;
  background: #F1F5F9;
  border-color: #CBD5E1;
}
.ipo-table-frame {
  padding: 0 12px 12px;
}
.ipo-table-head {
  padding: 10px 4px 8px;
  border-bottom: 1px solid rgba(226,232,240,.88);
}
.ipo-table-head > div {
  font-size: .57rem;
  font-weight: 680;
  color: #94A3B8;
  letter-spacing: .09em;
}
.ipo-table-row {
  min-height: 52px;
  padding: 8px 4px;
  border-bottom-color: rgba(226,232,240,.72);
  transition: background .14s ease, transform .14s ease;
}
.ipo-table-row:hover {
  background: rgba(248,250,252,.88);
}
.ipo-panel .ipo-logo,
.ipo-panel .ipo-logo-ph {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
}
.ipo-panel-left .ipo-entity-block {
  grid-template-columns: 30px minmax(0, 1fr) 52px;
  gap: 11px;
}
.ipo-panel-right .ipo-entity-block {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
}
.ipo-entity-name {
  font-size: .79rem;
  font-weight: 650;
  color: #0F172A;
}
.ipo-entity-meta {
  margin-top: 3px;
  font-size: .68rem;
  color: #64748B;
}
.ipo-home-code {
  min-width: 0;
  min-height: 18px;
  padding: 2px 6px;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 5px;
  color: #1E3A8A;
  background: #F4F8FF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  font-size: .6rem;
  font-weight: 690;
  letter-spacing: .025em;
}
.ipo-col-price,
.ipo-panel-left .ipo-table-row .ipo-col-price {
  font-size: .73rem;
  font-weight: 650;
  color: #050505;
}
.ipo-panel-left .ipo-table-row .ipo-col-return {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ipo-return-pill {
  position: relative;
  min-width: 58px;
  height: 24px;
  padding: 0 8px;
  border-radius: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #94a3b8;
  color: #fff;
  font-size: .68rem;
  font-weight: 690;
  letter-spacing: 0;
  line-height: 1;
  margin-right: 0;
}
.ipo-return-pill::before {
  display: none;
}
.ipo-return-pill::after {
  display: none;
}
.ipo-return-pill.positive {
  color: #fff;
  background: #4caf50;
}
.ipo-return-pill.negative {
  color: #fff;
  background: #f22626;
}
.ipo-return-pill.neutral {
  color: #64748B;
  background: transparent;
  border: 0;
  margin-right: 0;
}
.ipo-return-pill.neutral::before,
.ipo-return-pill.neutral::after {
  display: none;
}
.ipo-status-tag {
  min-width: 0;
  padding: 0;
  font-size: .7rem;
  font-weight: 640;
}
.ipo-status-tag::before {
  width: 4px;
  height: 4px;
  margin-right: 6px;
  opacity: .5;
}

@media (max-width: 768px) {
  .ipo-dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
  .ipo-panel {
    border-radius: 13px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 26px rgba(15,23,42,.06);
  }
  .ipo-panel-header {
    min-height: 52px;
    padding: 14px 14px 10px;
  }
  .ipo-table-frame {
    padding: 0 10px 10px;
  }
}

@media (max-width: 640px) {
  .arz-feed-row { grid-template-columns: 1fr auto; }
  .arz-feed-date, .arz-feed-price { display: none; }
}

/* Board empty state icon */
.hb-empty-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

@media (max-width: 768px) {
  .hero-board  { max-width: 100%; }
  .hero.hero-dark .hero-visual { justify-content: center; }
  .how-grid    { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── ANA SAYFA MOBİL ────────────────────────────────────────── */

/* Hero slider yüksekliği */
@media (max-width: 768px) {
  .hero-visual  { order: 1; align-self: start; }
  .hero-content { order: 2; }
  .hero-grid    { gap: 20px; }
  .hs-card      { min-height: 0 !important; height: auto !important; }
  .hs-feat-wrap { height: 240px !important; flex: none !important; }
}
@media (max-width: 480px) {
  .hs-feat-wrap { height: 200px !important; }
}

/* IPO Dashboard: iki sütun → tek sütun */
@media (max-width: 768px) {
  .ipo-dashboard-grid { grid-template-columns: 1fr; gap: 16px; }
  .ipo-panel          { padding: 0; }

  /* Sol panel: Arz Fiyatı sütununu gizle, Şirket + Son Fiyat + Getiri */
  .ipo-panel-left .ipo-table-head,
  .ipo-panel-left .ipo-table-row {
    grid-template-columns: minmax(0,1fr) 74px 52px;
  }
  .ipo-panel-left .ipo-table-head > div:nth-child(2),
  .ipo-panel-left .ipo-table-row  > div:nth-child(2) { display: none; }
}

/* IPO satır metni küçük ekranda */
@media (max-width: 480px) {
  /* Yalnızca Şirket + Getiri */
  .ipo-panel-left .ipo-table-head,
  .ipo-panel-left .ipo-table-row {
    grid-template-columns: minmax(0,1fr) 52px;
  }
  .ipo-panel-left .ipo-table-head > div:nth-child(3),
  .ipo-panel-left .ipo-table-row  > div:nth-child(3) { display: none; }

  .ipo-entity-name  { font-size:.78rem; font-weight:600; color:#172033; line-height:1.25; }
  .ipo-panel-left .ipo-entity-block { grid-template-columns: 30px minmax(0, 1fr) 44px; gap: 8px; }
  .ipo-home-code { min-width: 0; font-size: .58rem; padding: 2px 5px; }
  .ipo-return-pill  { min-width:52px; height:22px; padding:0 6px; font-size:.62rem; margin-right:0; }
  .ipo-return-pill::after { display:none; }
  .ipo-panel-title  { font-size:.85rem; }
}

/* Home latest IPO table: cleaner market-list rhythm */
.ipo-panel-left .ipo-table-head,
.ipo-panel-left .ipo-table-row {
  grid-template-columns: minmax(210px, 1fr) 86px 86px 74px;
  column-gap: 18px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}
.ipo-panel-left .ipo-table-head {
  padding: 8px 18px 9px;
}
.ipo-panel-left .ipo-table-row {
  min-height: 45px;
  padding: 0 18px;
}
.ipo-panel-left .ipo-table-row:nth-of-type(even) {
  background: #f7f7f7;
}
.ipo-panel-left .ipo-table-row:hover {
  background: #f3f6fa;
}
.ipo-panel-left .ipo-entity-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ipo-panel-left .ipo-logo,
.ipo-panel-left .ipo-logo-ph {
  display: none;
}
.ipo-panel-left .ipo-entity-copy,
.ipo-panel-left .ipo-entity-name,
.ipo-panel-left .ipo-entity-name-with-code {
  display: contents;
  align-items: center;
  min-width: 0;
}
.ipo-panel-left .ipo-entity-name-text {
  display: block;
  grid-column: 1;
  max-width: none;
  color: #0065a0;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ipo-panel-left .ipo-home-code {
  display: inline-block;
  grid-column: 2;
  justify-self: start;
  min-width: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0065a0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  letter-spacing: 0;
}
.ipo-panel-left .ipo-table-row .ipo-col-price {
  color: #050505;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.ipo-panel-left .ipo-table-row .ipo-col-return {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ipo-panel-left .ipo-return-pill {
  min-width: 64px;
  height: auto;
  padding: 2px 13px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}
.ipo-panel-left .ipo-return-pill.positive {
  background: #5AC065;
  color: #fff;
}
.ipo-panel-left .ipo-return-pill.negative {
  background: #E52424;
  color: #fff;
}
.ipo-panel-right .ipo-table-head,
.ipo-panel-right .ipo-table-row {
  grid-template-columns: minmax(0, 1fr) 78px;
  column-gap: 22px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}
.ipo-panel-right .ipo-table-head {
  padding: 8px 18px 9px;
}
.ipo-panel-right .ipo-table-row {
  min-height: 45px;
  padding: 0 18px;
}
.ipo-panel-right .ipo-entity-block {
  display: block;
  min-width: 0;
}
.ipo-panel-right .ipo-logo,
.ipo-panel-right .ipo-logo-ph {
  display: none;
}
.ipo-panel-right .ipo-entity-copy {
  display: block;
  min-width: 0;
}
.ipo-panel-right .ipo-entity-name {
  color: #0065a0;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}
.ipo-panel-right .ipo-entity-meta {
  display: none;
}
.ipo-panel-right .ipo-status-draft {
  color: #d6a000;
}
@media (max-width: 768px) {
  .ipo-panel-left .ipo-table-head,
  .ipo-panel-left .ipo-table-row {
    grid-template-columns: minmax(0, 1fr) 76px 62px;
    column-gap: 12px;
  }
  .ipo-panel-left .ipo-entity-block {
    display: block;
  }
  .ipo-panel-left .ipo-entity-copy,
  .ipo-panel-left .ipo-entity-name,
  .ipo-panel-left .ipo-entity-name-with-code {
    display: block;
  }
  .ipo-panel-left .ipo-entity-name-text {
    max-width: none;
  }
  .ipo-panel-left .ipo-home-code {
    display: none;
  }
  .ipo-panel-left .ipo-table-head > div:nth-child(2),
  .ipo-panel-left .ipo-table-row > div:nth-child(2) {
    display: none;
  }
}
@media (max-width: 480px) {
  .ipo-panel-left .ipo-table-head,
  .ipo-panel-left .ipo-table-row {
    grid-template-columns: minmax(0, 1fr) 58px;
    column-gap: 10px;
  }
  .ipo-panel-left .ipo-table-head > div:nth-child(3),
  .ipo-panel-left .ipo-table-row > div:nth-child(3) {
    display: none;
  }
  .ipo-panel-left .ipo-table-row {
    padding: 0 14px;
  }
  .ipo-panel-left .ipo-entity-name-text {
    font-size: 12px;
    line-height: 18px;
  }
  .ipo-panel-left .ipo-return-pill {
    min-width: 52px;
    padding: 2px 7px;
    font-size: 12px;
    line-height: 17px;
  }
}

/* 3 haber kutusu */
.home-tools-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}
.home-tools-panel {
  margin-top: 0;
  padding: 10px 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(203,213,225,.72);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.home-tool-link {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 7px 5px;
  color: #1E293B;
  text-align: center;
  border-radius: 13px;
  transition: background .16s ease, transform .16s ease, color .16s ease;
}
.home-tool-link:hover {
  background: rgba(241,245,249,.86);
  color: #155EEF;
  transform: translateY(-1px);
}
.home-tool-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #155EEF;
  background: linear-gradient(180deg, #F8FAFF 0%, #EEF5FF 100%);
  border: 1px solid rgba(191,219,254,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
.home-tool-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.35;
}
.home-tool-link span:last-child {
  color: inherit;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}
.home-app-widget {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 13px 14px 12px 16px;
  background: linear-gradient(135deg, #F8FBFF 0%, #EEF5FF 100%);
  border: 1px solid #D7E5FF;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15,23,42,.025);
}
.home-app-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
}
.home-app-copy h2 {
  margin: 0 0 5px;
  color: #155EEF;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.2;
}
.home-app-copy p {
  max-width: 205px;
  margin: 0 0 9px;
  color: #40516E;
  font-size: .64rem;
  font-weight: 500;
  line-height: 1.45;
}
.home-app-stores {
  display: flex;
  gap: 7px;
  flex-wrap: nowrap;
  justify-content: center;
  width: fit-content;
}
.home-app-stores a {
  width: 92px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
  color: #fff;
  background: #0B1220;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(15,23,42,.16), inset 0 0 0 1px rgba(255,255,255,.08);
}
.home-app-stores svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.home-app-stores span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-width: 0;
}
.home-app-stores small {
  display: none;
}
.home-app-stores b {
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.home-store-btn.store-apple svg {
  width: 15px;
  height: 15px;
}
.home-store-btn.store-apple b {
  font-size: .72rem;
}
.home-app-phone {
  position: absolute;
  right: 16px;
  bottom: -10px;
  width: 66px;
  height: 116px;
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(145deg, #061126 0%, #111827 58%, #22314C 100%);
  box-shadow: -14px 18px 34px rgba(37,99,235,.18), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-1deg);
}
.home-app-phone::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  transform: translateX(-50%);
  z-index: 2;
}
.home-app-phone::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 13px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 38%);
  z-index: 3;
}
.home-app-phone-screen {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 17px 7px 7px;
  border-radius: 13px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  overflow: hidden;
}
.home-app-phone-screen span {
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: #155EEF;
}
.home-app-phone-screen strong {
  color: #0F172A;
  font-size: .58rem;
  font-weight: 800;
}
.home-app-phone-screen em {
  color: #10B981;
  font-size: .64rem;
  font-style: normal;
  font-weight: 800;
}
.home-app-phone-screen i {
  height: 11px;
  border-radius: 5px;
  background: linear-gradient(90deg, #EAF2FF 0%, #F5F8FD 100%);
}
.home-app-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 112px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.home-app-image img {
  max-width: 112px;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-10px 14px 20px rgba(37,99,235,.14));
}

.hpi-section {
  margin-top: -8px;
  padding: 0;
  background: #F8FAFC;
}
.hpi-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px 20px;
  border: 1px solid rgba(203,213,225,.7);
  border-radius: 16px;
  background:
    radial-gradient(circle at 15% 22%, rgba(37,99,235,.06), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
}
.hpi-copy h2 {
  margin: 0 0 7px;
  color: #0F172A;
  font-size: 1.02rem;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0;
}
.hpi-copy p {
  margin: 0;
  color: #64748B;
  font-size: .76rem;
  font-weight: 450;
}
.hpi-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.hpi-metric {
  min-width: 0;
}
.hpi-metric::before {
  content: '';
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: currentColor;
  opacity: 1;
}
.hpi-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  color: #2563EB;
  background: #EEF5FF;
  border: 1px solid rgba(191,219,254,.78);
}
.hpi-icon svg {
  width: 21px;
  height: 21px;
}
.hpi-label {
  display: block;
  min-height: 24px;
  color: #64748B;
  font-size: .56rem;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hpi-metric strong {
  display: block;
  margin-top: 4px;
  color: #10B981;
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0;
}
.hpi-metric small {
  display: block;
  margin-top: 4px;
  color: #94A3B8;
  font-size: .62rem;
  font-weight: 520;
}
.hpi-bist .hpi-icon { color: #2563EB; background: #EEF5FF; }
.hpi-gold .hpi-icon { color: #D49A22; background: #FFF7DB; border-color: rgba(245,158,11,.22); }
.hpi-usd .hpi-icon { color: #2563EB; background: #EFF6FF; }
.hpi-ipo { color: #2563EB; }
.hpi-bist { color: #D08A12; }
.hpi-gold { color: #EF4444; }
.hpi-usd { color: #10B981; }
.hpi-chart {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}
.hpi-chart svg {
  order: 2;
}
.hpi-chart svg {
  width: 100%;
  min-height: 210px;
  display: block;
  cursor: crosshair;
}
.hpi-plot-bg {
  fill: rgba(248,250,252,.72);
  stroke: rgba(226,232,240,.76);
  stroke-width: 1;
}
.hpi-grid path {
  fill: none;
  stroke: rgba(203,213,225,.72);
  stroke-width: 1;
}
.hpi-area {
  fill: url(#hpiBlueFill);
  stroke: none;
}
.hpi-line {
  fill: none;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#hpiLineGlow);
  transition: opacity .16s ease, stroke-width .16s ease;
}
.hpi-line-ipo { stroke: #2563EB; stroke-width: 2.45; }
.hpi-line-bist { stroke: #D08A12; }
.hpi-line-gold { stroke: #EF4444; }
.hpi-line-usd { stroke: #10B981; }
.hpi-point {
  fill: #fff;
  stroke-width: 1.8;
  opacity: .82;
  transition: opacity .16s ease, r .16s ease;
}
.hpi-point-ipo { stroke: #2563EB; }
.hpi-point-bist { stroke: #D08A12; }
.hpi-point-gold { stroke: #EF4444; }
.hpi-point-usd { stroke: #10B981; }
.hpi-chart:hover .hpi-line {
  opacity: .72;
}
.hpi-chart:hover .hpi-line-ipo {
  opacity: 1;
  stroke-width: 2.8;
}
.hpi-chart:hover .hpi-point {
  opacity: 1;
}
.hpi-hover-line {
  opacity: 0;
  stroke: rgba(37,99,235,.38);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  pointer-events: none;
}
.hpi-hover-dot {
  opacity: 0;
  fill: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 4px 7px rgba(15,23,42,.18));
  pointer-events: none;
}
.hpi-dot-ipo { stroke: #2563EB; }
.hpi-dot-bist { stroke: #D08A12; }
.hpi-dot-gold { stroke: #EF4444; }
.hpi-dot-usd { stroke: #10B981; }
.hpi-chart.is-hovering .hpi-hover-line,
.hpi-chart.is-hovering .hpi-hover-dot {
  opacity: 1;
}
.hpi-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  min-width: 164px;
  padding: 10px 11px;
  border: 1px solid rgba(203,213,225,.78);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, -8px);
  pointer-events: none;
  transition: opacity .12s ease;
}
.hpi-chart.is-hovering .hpi-tooltip {
  opacity: 1;
}
.hpi-tooltip-title {
  margin-bottom: 7px;
  color: #0F172A;
  font-size: .68rem;
  font-weight: 620;
}
.hpi-tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 3px 0;
  color: #64748B;
  font-size: .64rem;
  font-weight: 480;
}
.hpi-tooltip-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hpi-tooltip-row span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.hpi-tooltip-row strong {
  color: #1E293B;
  font-size: .66rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hpi-tooltip-row.ipo span { color: #2563EB; }
.hpi-tooltip-row.bist span { color: #D08A12; }
.hpi-tooltip-row.gold span { color: #EF4444; }
.hpi-tooltip-row.usd span { color: #10B981; }
.hpi-axis text {
  fill: #64748B;
  font-size: 10px;
  font-weight: 550;
}
.hpi-legend {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  order: 1;
  padding: 0 2px 2px;
}
.hpi-legend span {
  position: relative;
  display: block;
  padding-left: 18px;
  color: #334155;
  font-size: .66rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.hpi-legend span::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}
.hpi-legend-ipo { color: #2563EB !important; }
.hpi-legend-bist { color: #D08A12 !important; }
.hpi-legend-gold { color: #EF4444 !important; }
.hpi-legend-usd { color: #10B981 !important; }

.hdt-section {
  padding: 12px 0 34px;
  background: #F8FAFC;
}
.hdt-section > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.hdt-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 18px;
  border: 1px solid rgba(203,213,225,.7);
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
  box-shadow: 0 14px 36px rgba(15,23,42,.055);
}
.hdt-card-side {
  min-height: 100%;
}
.hdt-side-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 14px;
}
.hdt-side-title h3 {
  margin: 0;
  color: #0F172A;
  font-size: .92rem;
  font-weight: 720;
  line-height: 1.2;
}
.hdt-side-title p {
  max-width: 34ch;
  margin: 8px 0 0;
  color: #64748B;
  font-size: .74rem;
  font-weight: 450;
  line-height: 1.45;
}
.hdt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  margin-bottom: 14px;
}
.hdt-head h2 {
  margin: 0 0 6px;
  color: #0F172A;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0;
}
.hdt-head p {
  max-width: 36ch;
  margin: 0;
  color: #64748B;
  font-size: .74rem;
  font-weight: 450;
}
.hdt-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2563EB;
  font-size: .68rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.hdt-side-all {
  padding-top: 1px;
}
.hdt-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  overflow-x: auto;
  scrollbar-width: none;
}
.hdt-side-tabs {
  margin-bottom: 12px;
}
.hdt-side-tabs .hdt-tab {
  display: inline-flex;
  align-items: center;
}
.hdt-tabs::-webkit-scrollbar { display: none; }
.hdt-tab {
  position: relative;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: .72rem;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
}
.hdt-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 99px;
  background: #2563EB;
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .16s ease, transform .16s ease;
}
.hdt-tab.active {
  color: #2563EB;
  font-weight: 680;
}
.hdt-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.hdt-panels {
  padding-top: 12px;
}
.hdt-panel {
  display: none;
}
.hdt-panel.active {
  display: block;
}
.hdt-table {
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.72);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
}
.hdt-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.25fr) 72px 100px 94px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(226,232,240,.72);
  color: #0F172A;
  text-decoration: none;
}
.hdt-row:last-child {
  border-bottom: 0;
}
.hdt-row:not(.hdt-row-head):hover {
  background: #F8FAFC;
}
.hdt-row-head {
  min-height: 36px;
  background: #F8FAFC;
  color: #94A3B8;
  font-size: .62rem;
  font-weight: 720;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hdt-rank {
  color: #64748B;
  font-size: .72rem;
  font-weight: 620;
}
.hdt-company {
  overflow: hidden;
  color: #0F172A;
  font-size: .76rem;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hdt-code {
  color: #475569;
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .02em;
}
.hdt-date {
  color: #475569;
  font-size: .72rem;
  font-weight: 520;
  white-space: nowrap;
}
.hdt-value {
  color: #0F172A;
  font-size: .74rem;
  font-weight: 720;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hdt-value.pos { color: #10B981; }
.hdt-value.neg { color: #DC2626; }
.hdt-empty {
  padding: 28px 16px;
  color: #94A3B8;
  font-size: .78rem;
  text-align: center;
}
@media (max-width: 768px) {
  .idx-news-grid { grid-template-columns: 1fr 1fr !important; }
  .home-tools-row { grid-template-columns: 1fr; }
  .home-tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .home-app-widget { min-height: 124px; }
  .hpi-section { margin-top: -6px; padding-top: 0; }
  .hpi-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 18px 16px;
    border-radius: 14px;
  }
  .hpi-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 18px;
  }
  .hpi-chart {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hpi-chart svg {
    min-height: 170px;
  }
  .hpi-legend {
    justify-content: flex-start;
    gap: 8px 12px;
  }
  .hdt-section { padding-top: 10px; padding-bottom: 28px; }
  .hdt-section > .container { grid-template-columns: 1fr; gap: 12px; }
  .hdt-section, .hdt-section .container, .hdt-card { min-width: 0; overflow: hidden; }
  .hdt-card { padding: 18px 14px 14px; border-radius: 14px; }
  .hdt-side-title { min-height: auto; margin-bottom: 12px; }
  .hdt-head { gap: 10px; min-height: auto; margin-bottom: 14px; }
  .hdt-head h2 { font-size: .96rem; }
  .hdt-head p { font-size: .7rem; }
  .hdt-all { display: none; }
  .hdt-side-all { display: inline-flex; }
  .hdt-tabs { gap: 18px; }
  .hdt-tab { height: 36px; font-size: .68rem; }
  .hdt-row {
    grid-template-columns: 24px minmax(0, 1.2fr) 58px 72px 74px;
    gap: 8px;
    min-height: 42px;
    padding: 0 10px;
  }
  .hdt-row-head { font-size: .55rem; }
  .hdt-company { font-size: .7rem; }
  .hdt-code, .hdt-date, .hdt-value { font-size: .66rem; }
}
@media (max-width: 480px) {
  .idx-news-grid { grid-template-columns: 1fr !important; }
  .home-tools-panel { padding: 10px; border-radius: 14px; }
  .home-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .home-tool-link { grid-template-columns: 50px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; padding: 7px; gap: 12px; background: rgba(248,250,252,.72); }
  .home-tool-icon { width: 46px; height: 46px; }
  .home-tool-icon svg { width: 25px; height: 25px; stroke-width: 1.35; }
  .home-tool-link span:last-child { font-size: .75rem; font-weight: 500; }
  .home-app-widget { grid-template-columns: 1fr 74px; padding: 12px; min-height: 132px; }
  .home-app-stores { gap: 5px; }
  .home-app-stores a { width: 92px; height: 30px; padding: 4px 7px; }
  .home-app-stores svg { width: 15px; height: 15px; }
  .home-app-stores b { font-size: .61rem; font-weight: 600; }
  .home-app-copy p { max-width: 210px; }
  .home-app-phone { right: 12px; bottom:-8px; width: 58px; height: 104px; border-radius:14px; }
  .home-app-image { width: 96px; }
  .home-app-image img { max-width: 96px; max-height: 112px; }
  .hpi-card { padding: 18px 14px 14px; }
  .hpi-copy h2 { font-size: .98rem; }
  .hpi-copy p { font-size: .72rem; }
  .hpi-icon { width: 34px; height: 34px; }
  .hpi-icon svg { width: 19px; height: 19px; }
  .hpi-metric strong { font-size: 1rem; }
  .hpi-label { font-size: .53rem; }
  .hpi-chart svg { min-height: 150px; }
  .hpi-point { r: 2px; opacity: .68; }
  .hpi-tooltip { min-width: 150px; }
  .hdt-table {
    border-radius: 11px;
    overflow: hidden;
  }
  .hdt-row-head {
    display: none;
  }
  .hdt-row {
    min-width: 0;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 58px;
    padding: 11px 12px;
  }
  .hdt-row span:nth-child(4) {
    display: none;
  }
  .hdt-row span:nth-child(5) {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .hdt-company {
    grid-column: 2;
    grid-row: 1;
    font-size: .76rem;
    max-width: calc(100% - 76px);
  }
  .hdt-row span:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    color: #64748B;
    line-height: 1;
  }
  .hdt-code {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(191,219,254,.9);
    border-radius: 999px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: .58rem;
    font-weight: 720;
  }
  .hdt-value {
    font-size: .72rem;
    text-align: right;
  }
}

/* Tablo scroll — iOS tarzı minimal scrollbar */
.tbl-scroll::-webkit-scrollbar        { height: 3px; }
.tbl-scroll::-webkit-scrollbar-track  { background: transparent; }
.tbl-scroll::-webkit-scrollbar-thumb  { background: rgba(15,23,42,.12); border-radius: 99px; }
.tbl-scroll::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,.22); }
.tbl-scroll { scrollbar-width: thin; scrollbar-color: rgba(15,23,42,.12) transparent; }

/* Temettü Takvimi */
.tmt-grid {
  display: grid;
  grid-template-columns: 60px 1fr 60px 80px;
  gap: 8px;
  align-items: center;
}
@media (max-width: 640px) {
  .tmt-grid { grid-template-columns: 52px 1fr 54px 68px; gap: 6px; }
}
@media (max-width: 480px) {
  .how-section { padding-block: 32px; }
  .tmt-ad      { display: none; }
  .tmt-grid    { grid-template-columns: 46px auto 52px 62px; gap: 4px; }
  .tmt-col-r   { font-size: .7rem !important; }
}

/* ─── PIYASA VERİ BARI ───────────────────────────────────────── */
/* ── Market Bar ─────────────────────────────────────────────── */
.mkt-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 36px auto 0;
  max-width: 560px;
  padding: 0 12px;
  background: none;
  border: none;
}
.mkt-card {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 16px;
  padding: 0;
  background: none;
  border: none;
  transition: opacity .15s;
  overflow: visible;
}
.mkt-card:hover { opacity: .75; }
.mkt-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  align-self: flex-start;
  margin-top: 22px;
  opacity: .75;
}
.mkt-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mkt-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 0;
  margin-top: 2px;
  white-space: nowrap;
  order: 3;
}
.mkt-live {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .48rem;
  color: #34d399;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
}
.mkt-dot {
  width: 4px; height: 4px;
  background: #34d399;
  border-radius: 50%;
  animation: mktPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes mktPulse {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}
.mkt-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 1px;
  order: 1;
}
.mkt-change {
  font-size: .6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  order: 2;
}
.mkt-up { color: #34d399; }
.mkt-dn { color: #f87171; }
.mkt-arr { font-size: .65rem; }
.mkt-abs { opacity: .6; font-size: .55rem; }
.mkt-spark { display: none; }
@keyframes mktFlash {
  0%,100% { opacity:1; } 40% { opacity:.45; }
}
.mkt-flash { animation: mktFlash .45s ease; }

@media (max-width: 600px) {
  .mkt-bar { gap: 12px; padding: 0 10px; margin-top: 36px; }
  .mkt-icon { width: 18px; height: 18px; }
  .mkt-price { font-size: .9rem; }
  .mkt-change { font-size: .52rem; }
  .mkt-abs { display: none; }
}

/* Portfolio Premium */
.portfolio-premium-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 18px 96px;
  background: #F8FAFC;
}
.portfolio-premium-card,
.portfolio-performance-card,
.portfolio-assets-panel {
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15,23,42,.06);
}
.portfolio-premium-card {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.portfolio-premium-card::before {
  content: '';
  position: absolute;
  inset: -120px -80px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,.16), transparent 65%);
  pointer-events: none;
}
.portfolio-premium-card.positive::after,
.portfolio-premium-card.negative::after {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #10B981);
}
.portfolio-premium-card.negative::after {
  background: linear-gradient(90deg, #2563EB, #EF4444);
}
.pp-card-top,
.pp-card-metrics,
.pp-section-head,
.pp-asset-row,
.pp-asset-main,
.pp-modal-head {
  display: flex;
  align-items: center;
}
.pp-card-top {
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.pp-card-top span,
.pp-section-head span,
.pp-modal-head span {
  color: #64748B;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .02em;
}
.pp-card-top small,
.portfolio-assets-panel > .pp-section-head > small {
  padding: 6px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  font-size: .76rem;
  font-weight: 650;
}
.pp-card-value {
  position: relative;
  z-index: 1;
  padding: 30px 0 22px;
}
.pp-card-value > strong {
  display: block;
  color: #020617;
  font-size: clamp(2.65rem, 9vw, 5rem);
  font-weight: 720;
  line-height: .95;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.pp-card-change {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-variant-numeric: tabular-nums;
}
.pp-card-change span,
.pp-card-change b {
  font-size: 1.05rem;
  font-weight: 700;
}
.pp-card-change.positive { color: #10B981; }
.pp-card-change.negative { color: #EF4444; }
.pp-card-metrics {
  gap: 12px;
  position: relative;
  z-index: 1;
}
.pp-card-metrics div {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(248,250,252,.86);
  border: 1px solid rgba(226,232,240,.82);
}
.pp-card-metrics span {
  display: block;
  color: #64748B;
  font-size: .72rem;
  font-weight: 560;
  margin-bottom: 6px;
}
.pp-card-metrics strong {
  color: #0F172A;
  font-size: .96rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}
.portfolio-performance-card,
.portfolio-assets-panel {
  margin-top: 18px;
  padding: 20px;
}
.pp-section-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.pp-section-head h2,
.pp-modal-head h2 {
  margin-top: 4px;
  color: #020617;
  font-size: 1.12rem;
  font-weight: 720;
  letter-spacing: 0;
}
.pp-range-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #F1F5F9;
}
.pp-range-tabs button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748B;
  font-size: .74rem;
  font-weight: 680;
  cursor: pointer;
}
.pp-range-tabs button.active {
  background: #fff;
  color: #0F172A;
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
}
.pp-chart {
  position: relative;
  min-height: 210px;
  border-radius: 22px;
  background: linear-gradient(180deg, #F8FAFC, #fff);
  border: 1px solid rgba(226,232,240,.72);
  overflow: hidden;
}
.pp-chart svg {
  position: absolute;
  inset: 18px 14px 14px;
  width: calc(100% - 28px);
  height: calc(100% - 32px);
}
.pp-chart-fill {
  fill: url(#ppChartFill);
}
.pp-chart-line {
  fill: none;
  stroke: #10B981;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 12px rgba(16,185,129,.18));
}
.pp-chart.negative .pp-chart-line {
  stroke: #EF4444;
  filter: drop-shadow(0 8px 12px rgba(239,68,68,.18));
}
.pp-chart-dot {
  fill: #fff;
  stroke: #10B981;
  stroke-width: 3;
}
.pp-chart.negative .pp-chart-dot {
  stroke: #EF4444;
}
.pp-chart-meta {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(226,232,240,.82);
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  backdrop-filter: blur(14px);
}
.pp-chart-meta span {
  display: block;
  color: #64748B;
  font-size: .68rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.pp-chart-meta strong {
  color: #020617;
  font-size: .92rem;
  font-weight: 720;
}
.pp-asset-list {
  display: grid;
}
.pp-asset-row {
  min-height: 76px;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #EEF2F7;
}
.pp-asset-row:last-child {
  border-bottom: 0;
}
.pp-asset-main {
  flex: 1;
  min-width: 0;
  gap: 12px;
  color: #020617;
}
.pp-asset-main span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.pp-asset-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #020617;
  font-size: .92rem;
  font-weight: 680;
}
.pp-asset-main em {
  color: #64748B;
  font-size: .76rem;
  font-style: normal;
  font-weight: 540;
}
.pp-asset-value {
  min-width: 96px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pp-asset-value strong {
  display: block;
  color: #020617;
  font-size: .92rem;
  font-weight: 700;
}
.pp-asset-value span {
  display: block;
  margin-top: 4px;
  font-size: .76rem;
  font-weight: 680;
}
.pp-asset-value .positive { color: #10B981; }
.pp-asset-value .negative { color: #EF4444; }
.pp-asset-delete {
  flex-shrink: 0;
}
.pp-asset-delete button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #F8FAFC;
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.pp-asset-delete button:hover {
  background: #FEF2F2;
  color: #EF4444;
}
.pp-empty {
  min-height: 170px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #64748B;
  border-radius: 22px;
  background: #F8FAFC;
}
.pp-empty strong {
  color: #020617;
  font-size: 1rem;
}
.pp-fab {
  position: fixed;
  right: max(22px, calc((100vw - 980px) / 2 + 22px));
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  font-size: 2rem;
  font-weight: 420;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(37,99,235,.34);
}
.pp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}
.pp-modal.is-open {
  display: flex;
}
.pp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.34);
  backdrop-filter: blur(10px);
}
.pp-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 26px 70px rgba(15,23,42,.22);
}
.pp-modal-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.pp-modal-head > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  font-size: 1.25rem;
  cursor: pointer;
}
.pp-modal-form label {
  display: block;
  margin-bottom: 13px;
}
.pp-modal-form label span {
  display: block;
  margin-bottom: 7px;
  color: #64748B;
  font-size: .76rem;
  font-weight: 620;
}
.pp-modal-form input,
.pp-modal-form select {
  width: 100%;
  height: 48px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #F8FAFC;
  color: #020617;
  padding: 0 14px;
  outline: none;
  font-size: .92rem;
  font-weight: 560;
}
.pp-modal-form input:focus,
.pp-modal-form select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  background: #fff;
}
.pp-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pp-modal-form > button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 17px;
  background: #2563EB;
  color: #fff;
  font-size: .96rem;
  font-weight: 720;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(37,99,235,.22);
}

@media (min-width: 900px) {
  .portfolio-premium-shell {
    padding-top: 48px;
  }
  .portfolio-premium-card {
    min-height: 310px;
    padding: 32px;
  }
  .portfolio-performance-card,
  .portfolio-assets-panel {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .portfolio-premium-shell {
    padding: 18px 12px 92px;
  }
  .portfolio-premium-card {
    min-height: 260px;
    padding: 22px;
    border-radius: 24px;
  }
  .pp-card-value {
    padding: 28px 0 20px;
  }
  .pp-card-value > strong {
    font-size: clamp(2.45rem, 16vw, 4rem);
  }
  .pp-card-change {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .pp-card-metrics {
    gap: 10px;
  }
  .portfolio-performance-card,
  .portfolio-assets-panel {
    margin-top: 14px;
    padding: 16px;
    border-radius: 22px;
  }
  .pp-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .pp-range-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .pp-range-tabs button {
    min-width: 0;
    flex: 1;
  }
  .pp-chart {
    min-height: 190px;
  }
  .pp-chart-meta {
    top: 12px;
    right: 12px;
  }
  .pp-asset-row {
    min-height: 74px;
    padding: 13px 0;
  }
  .pp-asset-main strong {
    font-size: .86rem;
  }
  .pp-asset-main em,
  .pp-asset-value span {
    font-size: .72rem;
  }
  .pp-asset-value {
    min-width: 82px;
  }
  .pp-asset-delete button {
    width: 28px;
    height: 28px;
  }
  .pp-fab {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }
  .pp-modal {
    padding: 10px;
  }
  .pp-modal-card {
    border-radius: 24px;
  }
  .pp-modal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Investor Portfolio Profile */
.investor-portfolio-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 18px 96px;
  background: #F8FAFC;
}
.investor-profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.investor-profile-head span,
.investor-section-head span {
  color: #64748B;
  font-size: .78rem;
  font-weight: 620;
}
.investor-profile-head h1 {
  margin-top: 6px;
  color: #020617;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0;
}
.investor-profile-head p {
  margin-top: 10px;
  color: #64748B;
  font-size: .94rem;
}
.investor-add-inline {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #D9E2EF;
  border-radius: 14px;
  background: #fff;
  color: #0F172A;
  font-size: .86rem;
  font-weight: 660;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.investor-summary-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr .7fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  background: #E2E8F0;
  box-shadow: 0 18px 46px rgba(15,23,42,.055);
}
.investor-summary-strip > div {
  min-height: 112px;
  padding: 20px;
  background: rgba(255,255,255,.96);
}
.investor-summary-strip span {
  display: block;
  color: #64748B;
  font-size: .74rem;
  font-weight: 560;
  margin-bottom: 10px;
}
.investor-summary-strip strong {
  display: block;
  color: #020617;
  font-size: 1.18rem;
  font-weight: 690;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.investor-summary-strip .main strong {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 720;
}
.investor-summary-strip em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: .84rem;
  font-weight: 660;
}
.investor-summary-strip .positive strong,
.investor-summary-strip .positive em { color: #10B981; }
.investor-summary-strip .negative strong,
.investor-summary-strip .negative em { color: #EF4444; }
.investor-assets-panel {
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15,23,42,.055);
}
.investor-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 12px;
}
.investor-section-head h2 {
  margin-top: 5px;
  color: #020617;
  font-size: 1.18rem;
  font-weight: 720;
  letter-spacing: 0;
}
.investor-section-head small {
  padding: 6px 10px;
  border-radius: 999px;
  background: #F8FAFC;
  color: #64748B;
  font-size: .76rem;
  font-weight: 620;
}
.investor-company-list {
  padding: 0 24px 8px;
}
.investor-company-row {
  padding: 18px 0;
  border-top: 1px solid #EEF2F7;
}
.investor-company-top,
.investor-company-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.investor-company-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #020617;
}
.investor-company-main span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.investor-company-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #020617;
  font-size: .98rem;
  font-weight: 680;
}
.investor-company-main em {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: .7rem;
  font-style: normal;
  font-weight: 680;
}
.investor-company-return {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.investor-company-return strong {
  display: block;
  font-size: 1rem;
  font-weight: 720;
}
.investor-company-return span {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 620;
}
.investor-company-return.positive { color: #10B981; }
.investor-company-return.negative { color: #EF4444; }
.investor-company-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.investor-company-metrics div {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
}
.investor-company-metrics span {
  display: block;
  color: #64748B;
  font-size: .7rem;
  font-weight: 560;
  margin-bottom: 6px;
}
.investor-company-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0F172A;
  font-size: .88rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}
.investor-company-foot {
  margin-top: 13px;
  color: #64748B;
  font-size: .76rem;
}
.investor-company-foot .pp-asset-delete button {
  width: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: #94A3B8;
  font-size: .74rem;
  font-weight: 620;
}
.investor-company-foot .pp-asset-delete button:hover {
  background: #FEF2F2;
  color: #EF4444;
}
.investor-empty {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #64748B;
}
.investor-empty strong {
  color: #020617;
  font-size: 1.04rem;
}
.investor-fab {
  background: #0F172A;
  box-shadow: 0 18px 38px rgba(15,23,42,.22);
}

@media (max-width: 760px) {
  .investor-portfolio-shell {
    padding: 26px 12px 92px;
  }
  .investor-profile-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .investor-add-inline {
    width: 100%;
  }
  .investor-summary-strip {
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
  }
  .investor-summary-strip .main {
    grid-column: 1 / -1;
  }
  .investor-summary-strip > div {
    min-height: 94px;
    padding: 16px;
  }
  .investor-assets-panel {
    border-radius: 22px;
  }
  .investor-section-head {
    padding: 18px 16px 8px;
  }
  .investor-company-list {
    padding: 0 16px 6px;
  }
  .investor-company-top {
    align-items: flex-start;
  }
  .investor-company-main strong {
    font-size: .9rem;
  }
  .investor-company-return strong {
    font-size: .9rem;
  }
  .investor-company-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .investor-company-metrics div {
    padding: 10px;
  }
  .investor-company-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Home SPK announcement */
.home-spk-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px 30px;
  border: 1px solid #CFE0F7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15,23,42,.06);
}
.home-spk-main {
  min-width: 0;
}
.home-spk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #155EEF;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-spk-announcement h2 {
  margin: 0;
  color: #061735;
  font-size: clamp(1.38rem, 2.35vw, 1.92rem);
  line-height: 1.16;
  font-weight: 720;
  letter-spacing: 0;
}
.home-spk-announcement p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #475569;
  font-size: .96rem;
  line-height: 1.6;
}
.home-spk-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.home-spk-facts div {
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid #DDE8F6;
  border-radius: 11px;
  background: #FBFDFF;
}
.home-spk-facts span {
  display: block;
  color: #7A8799;
  font-size: .74rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.home-spk-facts strong {
  display: block;
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}
.home-spk-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.home-spk-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.home-spk-btn.primary {
  background: #155EEF;
  color: #fff;
  box-shadow: 0 12px 24px rgba(21,94,239,.18);
}
.home-spk-btn.ghost {
  min-width: 190px;
  background: #fff;
  color: #155EEF;
  border: 1px solid #155EEF;
}
.home-spk-dates {
  padding: 18px;
  border: 1px solid #DDE8F6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.045);
}
.home-spk-dates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E7EEF8;
}
.home-spk-dates-head strong {
  color: #061735;
  font-size: .92rem;
  font-weight: 700;
}
.home-spk-dates-head span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #155EEF;
  color: #fff;
  box-shadow: 0 12px 24px rgba(21,94,239,.2);
}
.home-spk-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0 14px 14px;
  border-left: 3px solid #155EEF;
  border-bottom: 1px solid #EEF3FA;
}
.home-spk-date-row span {
  display: block;
  color: #7A8799;
  font-size: .74rem;
  margin-bottom: 5px;
}
.home-spk-date-row strong {
  color: #172033;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}
.home-spk-date-row em {
  padding: 5px 8px;
  border-radius: 7px;
  background: #EEF5FF;
  color: #155EEF;
  font-size: .76rem;
  font-style: normal;
  font-weight: 700;
}
.home-spk-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #D7E6FB;
  border-radius: 10px;
  background: #F5F9FF;
  color: #3B6EBC;
  font-size: .82rem;
  line-height: 1.35;
}
.home-spk-note span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #155EEF;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  flex-shrink: 0;
}
@media (max-width: 980px) {
  .home-spk-announcement {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .home-spk-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .home-spk-announcement {
    padding: 18px;
    border-radius: 16px;
  }
  .home-spk-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-spk-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home-spk-btn {
    width: 100%;
  }
}

.bank-list-page {
  padding: 42px 0 72px;
  background:
    radial-gradient(circle at 18% 0%, rgba(37,99,235,.08), transparent 30%),
    #F8FAFC;
}
.bank-list-shell {
  display: grid;
  gap: 22px;
}
.bank-list-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.bank-list-hero h1 {
  max-width: 860px;
  margin: 10px 0 0;
  color: #061735;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}
.bank-list-hero p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #64748B;
  font-size: .98rem;
  line-height: 1.65;
}
.bank-list-summary {
  min-width: 260px;
  padding: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.bank-list-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 2px;
}
.bank-list-summary span + span {
  border-top: 1px solid #EEF2F7;
}
.bank-list-summary em {
  color: #64748B;
  font-size: .76rem;
  font-style: normal;
  font-weight: 500;
}
.bank-list-summary strong {
  color: #172033;
  font-size: .8rem;
  font-weight: 600;
  text-align: right;
}
.bank-list-card {
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 18px 42px rgba(15,23,42,.07);
}
.bank-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #EAF0F7;
}
.bank-list-head h2 {
  margin: 0;
  color: #061735;
  font-size: 1.02rem;
  font-weight: 700;
}
.bank-list-head p {
  margin: 5px 0 0;
  color: #8A98AD;
  font-size: .78rem;
}
.bank-list-back {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #D7E2F0;
  border-radius: 10px;
  color: #2563EB;
  background: #fff;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.bank-list-items {
  display: grid;
}
.bank-list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #EEF2F7;
}
.bank-list-item:last-child {
  border-bottom: 0;
}
.bank-list-item span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #EEF5FF;
  color: #2563EB;
  font-size: .72rem;
  font-weight: 650;
}
.bank-list-item strong {
  color: #172033;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.35;
}
.bank-list-empty {
  padding: 54px 22px;
  color: #8A98AD;
  text-align: center;
  font-size: .9rem;
}
@media (max-width: 760px) {
  .bank-list-page {
    padding: 28px 0 56px;
  }
  .bank-list-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bank-list-summary {
    min-width: 0;
  }
  .bank-list-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .bank-list-back {
    width: 100%;
  }
  .bank-list-item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px 16px;
  }
}

@media (max-width: 768px) {
  .arz-hero .arz-hero-live-row {
    margin-top: 9px !important;
  }
  .arz-hero .arz-hero-price-pill {
    min-height: 28px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(15,23,42,.04) !important;
  }
  .arz-hero .arz-hero-price-pill span {
    font-size: .63rem !important;
    font-weight: 520 !important;
  }
  .arz-hero .arz-hero-price-pill strong {
    font-size: .76rem !important;
    font-weight: 650 !important;
  }
}
