:root {
  --bg: #05080e;
  --bg-2: #080d15;
  --panel: rgba(14, 20, 31, .86);
  --panel-solid: #0e141f;
  --panel-2: #131b28;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f7fb;
  --muted: #8b97a9;
  --green: #55df7a;
  --green-2: #1ea94e;
  --red: #ff626d;
  --gold: #f4bd3e;
  --purple: #9c6cff;
  --blue: #5da8ff;
  --radius: 22px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(51, 193, 112, .09), transparent 30%),
    radial-gradient(circle at 83% 84%, rgba(113, 63, 235, .09), transparent 34%),
    linear-gradient(145deg, #04070c 0%, #070c13 54%, #04070b 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), a { cursor: pointer; }
button:disabled { opacity: .48; cursor: not-allowed; }
input, textarea, select { color-scheme: dark; }
.hidden { display: none !important; }
.glass { background: rgba(11, 17, 26, .76); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%); }
.glass-soft { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(100px); pointer-events: none; opacity: .4; }
.ambient-one { width: 360px; height: 360px; left: -180px; top: -120px; background: #087842; }
.ambient-two { width: 420px; height: 420px; right: -250px; bottom: -200px; background: #5933c9; }

/* Giriş */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); }
.auth-brand { display: grid; place-items: center; padding: 64px 8vw; position: relative; overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; width: 600px; height: 600px; border: 1px solid rgba(85,223,122,.1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(85,223,122,.018), 0 0 0 160px rgba(85,223,122,.012); }
.auth-brand-inner { position: relative; z-index: 1; max-width: 690px; }
.hero-logo { width: 112px; height: 112px; border-radius: 27px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.42); margin-bottom: 28px; }
.eyebrow, .auth-kicker { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .17em; }
.auth-brand h1 { font-size: clamp(54px, 6.6vw, 92px); line-height: .98; letter-spacing: -.065em; margin: 18px 0 28px; max-width: 760px; }
.auth-brand h1 span { color: var(--green); }
.auth-brand p { font-size: 18px; line-height: 1.7; color: #a7b1c1; max-width: 650px; }
.auth-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.auth-stats div { min-height: 94px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.auth-stats b { font-size: 18px; }
.auth-stats small { color: var(--muted); margin-top: 6px; }
.risk-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; color: var(--muted); font-size: 12px; }
.risk-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px var(--green); }
.auth-panel-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px clamp(24px, 5vw, 78px); border-left: 1px solid rgba(255,255,255,.05); }
.auth-card { width: 100%; max-width: 480px; padding: 40px; border-radius: 30px; }
.mobile-brand { display: none; align-items: center; gap: 10px; margin-bottom: 28px; }
.mobile-brand img { width: 42px; height: 42px; border-radius: 12px; }
.mobile-brand b { letter-spacing: .08em; }
.auth-card h2 { font-size: 34px; letter-spacing: -.04em; margin: 10px 0 7px; }
.auth-card > p { color: var(--muted); margin: 0 0 28px; line-height: 1.55; }
.auth-tabs { background: rgba(255,255,255,.035); border-radius: 13px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
.auth-tabs button { border: 0; background: transparent; padding: 11px; border-radius: 10px; color: var(--muted); font-weight: 700; }
.auth-tabs button.active { background: #202937; color: white; box-shadow: 0 5px 18px rgba(0,0,0,.24); }
label { display: block; color: #b8c1ce; font-size: 13px; font-weight: 650; margin: 15px 0; }
input, textarea, select { width: 100%; margin-top: 8px; border: 1px solid var(--line); outline: 0; background: rgba(4,8,14,.74); border-radius: 13px; padding: 14px 15px; color: white; transition: .2s border, .2s box-shadow; }
input:focus, textarea:focus, select:focus { border-color: rgba(85,223,122,.55); box-shadow: 0 0 0 4px rgba(85,223,122,.08); }
textarea { resize: vertical; min-height: 110px; }
.primary-button { width: 100%; border: 0; border-radius: 14px; padding: 16px 18px; background: linear-gradient(110deg, #29bb62, #57df7b); color: #041109; font-weight: 850; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 14px 34px rgba(48,194,101,.2); margin-top: 20px; }
.primary-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.form-error { min-height: 18px; color: var(--red); font-size: 13px; margin-top: 12px; }
.legal-copy { font-size: 11px !important; text-align: center; margin: 12px 0 !important; }
.admin-link { display: block; text-align: center; color: var(--muted); text-decoration: none; font-size: 12px; }

/* Uygulama kabuğu */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 40; inset: 16px auto 16px 16px; width: 246px; border-radius: 26px; padding: 19px 13px; display: flex; flex-direction: column; }
.brand-button { border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 8px 10px 26px; text-align: left; }
.brand-button img { width: 46px; height: 46px; border-radius: 13px; }
.brand-button span { font-weight: 900; font-size: 19px; letter-spacing: .08em; }
.brand-button small { display: block; color: var(--green); font-size: 8px; letter-spacing: .12em; margin-top: 4px; }
.side-nav { display: grid; gap: 5px; }
.side-nav button { border: 1px solid transparent; background: transparent; color: #99a5b5; padding: 13px 14px; border-radius: 13px; display: flex; align-items: center; gap: 13px; font-weight: 680; text-align: left; }
.side-nav button span { width: 25px; font-size: 20px; text-align: center; }
.side-nav button:hover { color: white; background: rgba(255,255,255,.035); }
.side-nav button.active { color: white; border-color: rgba(85,223,122,.2); background: linear-gradient(90deg, rgba(85,223,122,.15), rgba(85,223,122,.035)); }
.side-nav button.active span { color: var(--green); }
.side-user { margin-top: auto; padding: 11px; border-radius: 16px; display: grid; grid-template-columns: 39px 1fr 28px; align-items: center; gap: 9px; }
.avatar { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#5433b8,#36bd69); font-weight: 850; overflow: hidden; background-size: cover; background-position: center; }
.side-user b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.side-user small { color: var(--muted); font-size: 10px; }
.side-user button { border: 0; background: transparent; color: var(--muted); font-size: 18px; }
.app-main { min-height: 100vh; padding-left: 278px; }
.topbar { position: sticky; top: 0; z-index: 30; height: 78px; border-radius: 0 0 0 24px; border-top: 0; border-right: 0; display: flex; align-items: center; justify-content: space-between; padding: 13px 30px; box-shadow: 0 15px 35px rgba(0,0,0,.17); }
.mobile-logo { display: none; align-items: center; gap: 8px; }
.mobile-logo img { width: 35px; height: 35px; border-radius: 10px; }
.mobile-logo b { letter-spacing: .08em; }
.search-wrap { width: min(460px, 42vw); position: relative; }
.search-wrap span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
.search-wrap input { margin: 0; padding: 12px 14px 12px 41px; background: rgba(2,5,9,.55); }
.top-actions { display: flex; gap: 8px; }
.stat-pill, .icon-button { min-height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 13px; padding: 7px 12px; display: flex; align-items: center; gap: 7px; }
.stat-pill b { font-size: 13px; }
.stat-pill small { color: var(--muted); font-size: 10px; }
.stat-pill:nth-child(2) > span { color: var(--gold); font-size: 20px; }
.icon-button { width: 44px; justify-content: center; font-size: 23px; position: relative; }
.icon-button i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--red); top: 7px; right: 8px; display: none; }
.icon-button i.on { display: block; }
.view-container { width: min(1460px, 100%); margin: 0 auto; padding: 34px 30px 72px; outline: 0; }
.mobile-nav { display: none; }

/* Genel bileşenler */
.view-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 26px; }
.view-head h1 { margin: 0 0 6px; font-size: clamp(28px,4vw,42px); letter-spacing: -.045em; }
.view-head p { margin: 0; color: var(--muted); }
.eyebrow-line { color: var(--green); font-weight: 800; letter-spacing: .13em; font-size: 10px; margin-bottom: 8px; }
.head-actions { display: flex; gap: 9px; }
.secondary-button, .chip-button, .mini-button { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 12px; padding: 11px 14px; font-weight: 720; }
.secondary-button:hover, .mini-button:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); }
.secondary-button.green { color: var(--green); border-color: rgba(85,223,122,.3); }
.category-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; padding-bottom: 2px; }
.category-row::-webkit-scrollbar { display: none; }
.chip-button { flex: 0 0 auto; color: var(--muted); padding: 9px 14px; font-size: 12px; }
.chip-button.active { color: #06120a; background: var(--green); border-color: transparent; }
.ticker-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 0 23px; }
.ticker-item { min-width: 172px; flex: 1; padding: 14px 15px; border-radius: 15px; background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.02)); border: 1px solid var(--line); }
.ticker-item span { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.ticker-item b { display: block; margin-top: 7px; font-size: 16px; }
.ticker-item small { font-size: 10px; margin-left: 6px; }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 25px 0 15px; }
.section-title h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.section-title small { color: var(--muted); }
.market-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.market-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg,rgba(19,27,40,.92),rgba(8,13,21,.93)); border-radius: 20px; padding: 18px; transition: transform .2s,border .2s,box-shadow .2s; }
.market-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.17); box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.market-card::after { content: ""; position: absolute; inset: auto -80px -110px auto; width: 190px; height: 190px; border-radius: 50%; background: rgba(85,223,122,.035); pointer-events: none; }
.market-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.category-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,.055); color: #b8c2d0; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.market-status { color: var(--green); font-size: 10px; font-weight: 800; }
.save-button { border: 0; background: transparent; color: var(--muted); font-size: 18px; padding: 4px; }
.save-button.saved { color: var(--gold); }
.market-question { margin: 14px 0 18px; min-height: 50px; font-size: 17px; line-height: 1.45; letter-spacing: -.01em; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quote-box { padding: 13px; border-radius: 13px; background: rgba(255,255,255,.035); border: 1px solid transparent; }
.quote-box span { display: block; font-size: 9px; font-weight: 850; margin-bottom: 5px; }
.quote-box b { font-size: 23px; letter-spacing: -.04em; }
.quote-box.yes { border-color: rgba(85,223,122,.16); }
.quote-box.yes span,.quote-box.yes b { color: var(--green); }
.quote-box.no { text-align: right; border-color: rgba(255,98,109,.15); }
.quote-box.no span,.quote-box.no b { color: var(--red); }
.probability-bar { display: flex; height: 5px; border-radius: 20px; overflow: hidden; background: #202837; margin: 14px 0; }
.probability-bar i:first-child { background: var(--green); }
.probability-bar i:last-child { background: var(--red); }
.market-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.market-meta div { display: flex; gap: 12px; }
.market-card-action { position: absolute; inset: 0; border: 0; background: transparent; width: 100%; z-index: 1; }
.market-card .save-button { position: relative; z-index: 3; }
.state-card { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--muted); grid-column: 1/-1; }
.state-card b { display: block; color: white; font-size: 17px; margin-bottom: 7px; }
.loader { width: 29px; height: 29px; margin: 0 auto 12px; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Formlar, paneller */
.content-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.55fr); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: linear-gradient(145deg,rgba(18,26,39,.88),rgba(9,14,22,.9)); }
.panel h2,.panel h3 { margin: 0 0 5px; }
.panel > p { color: var(--muted); line-height: 1.55; margin: 7px 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 13px; }
.form-grid .wide { grid-column: 1/-1; }
.help-text { color: var(--muted); font-size: 11px; line-height: 1.55; }
.inline-banner { padding: 13px 15px; border: 1px solid rgba(244,189,62,.2); background: rgba(244,189,62,.07); color: #d9c087; border-radius: 13px; font-size: 12px; line-height: 1.55; }
.info-list { display: grid; gap: 10px; }
.info-row,.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px; background: rgba(255,255,255,.028); border: 1px solid var(--line); border-radius: 13px; }
.info-row span,.list-row small { color: var(--muted); font-size: 11px; }
.info-row b { font-size: 13px; text-align: right; }
.avatar-sm { width: 37px; height: 37px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #243043; font-weight: 800; background-size: cover; background-position: center; }
.user-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-line b,.user-line small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.button-row { display: flex; gap: 7px; }
.mini-button { padding: 8px 10px; font-size: 11px; }
.mini-button.good { color: var(--green); border-color: rgba(85,223,122,.25); }
.mini-button.bad { color: var(--red); border-color: rgba(255,98,109,.24); }
.tab-row { display: flex; gap: 7px; margin-bottom: 16px; overflow-x: auto; }
.tab-row button { flex: 0 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); padding: 9px 12px; border-radius: 10px; }
.tab-row button.active { color: white; background: #202a38; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 15px; }
.metric span { display: block; color: var(--muted); font-size: 10px; }
.metric b { display: block; font-size: 22px; margin-top: 7px; }
.rank-number { width: 28px; color: var(--muted); font-weight: 800; text-align: center; }
.rank-number.top { color: var(--gold); font-size: 19px; }
.empty-mini { color: var(--muted); font-size: 12px; text-align: center; padding: 28px 10px; }
.status-tag { padding: 5px 8px; border-radius: 7px; color: var(--muted); background: rgba(255,255,255,.055); font-size: 9px; text-transform: uppercase; font-weight: 800; }
.status-tag.approved,.status-tag.completed { color: var(--green); background: rgba(85,223,122,.1); }
.status-tag.pending { color: var(--gold); background: rgba(244,189,62,.1); }
.status-tag.rejected { color: var(--red); background: rgba(255,98,109,.1); }

/* Cüzdan */
.balance-card { position: relative; overflow: hidden; min-height: 220px; padding: 26px; border-radius: 23px; border: 1px solid rgba(244,189,62,.17); background: linear-gradient(135deg,#171d29,#101722 54%,#191912); }
.balance-card::after { content: "B"; position: absolute; right: -6px; bottom: -54px; font-size: 210px; font-weight: 950; color: rgba(244,189,62,.035); }
.balance-card small { color: #aeb7c5; }
.balance-value { font-size: clamp(38px,5vw,58px); letter-spacing: -.055em; margin: 11px 0 30px; }
.balance-value span { color: var(--gold); }
.member-number { display: flex; justify-content: space-between; max-width: 320px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.22); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.wallet-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 13px; }
.wallet-actions button { padding: 14px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 13px; font-weight: 750; }
.transaction-amount { text-align: right; font-weight: 800; }
.transaction-amount small { display: block; font-weight: 500; margin-top: 3px; }

/* Profil */
.profile-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.avatar-xl { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#6843d6,#43c16c); font-size: 27px; font-weight: 850; background-size: cover; background-position: center; }
.profile-hero h2 { margin: 0 0 4px; font-size: 25px; }
.profile-hero p { margin: 0; }
.level-bar { margin-top: 13px; height: 6px; background: #222a36; border-radius: 10px; overflow: hidden; }
.level-bar i { display: block; height: 100%; background: linear-gradient(90deg,var(--green),#a4ed68); }

/* Detay modal */
#overlay { position: relative; z-index: 80; }
.overlay-backdrop { position: fixed; inset: 0; background: rgba(0,3,8,.78); backdrop-filter: blur(13px); display: grid; place-items: center; padding: 20px; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(1040px,100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 24px; border: 1px solid var(--line-strong); background: #0a1019; box-shadow: 0 30px 100px #000; }
.modal.narrow { width: min(520px,100%); }
.modal-head { position: sticky; top: 0; z-index: 5; min-height: 62px; display: flex; justify-content: space-between; align-items: center; padding: 14px 19px; background: rgba(10,16,25,.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.modal-head b { letter-spacing: -.015em; }
.close-modal { border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); width: 34px; height: 34px; }
.modal-body { padding: 22px; }
.market-detail-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(285px,.5fr); gap: 16px; }
.detail-question { font-size: clamp(23px,4vw,36px); line-height: 1.15; letter-spacing: -.045em; margin: 12px 0 18px; }
.chart-box { position: relative; height: 250px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: repeating-linear-gradient(0deg,transparent,transparent 49px,rgba(255,255,255,.045) 50px),repeating-linear-gradient(90deg,transparent,transparent 79px,rgba(255,255,255,.035) 80px),#090f18; }
.chart-box svg { width: 100%; height: 100%; display: block; }
.chart-empty { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 12px; text-align: center; padding: 20px; }
.chart-legend { display: flex; gap: 15px; margin: 12px 0; color: var(--muted); font-size: 10px; }
.chart-legend i { display: inline-block; width: 15px; height: 3px; margin-right: 5px; vertical-align: middle; }
.order-panel { border: 1px solid var(--line); padding: 17px; border-radius: 17px; background: rgba(255,255,255,.025); }
.choice-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-tabs button { border: 1px solid var(--line); padding: 13px; border-radius: 12px; background: rgba(255,255,255,.03); font-weight: 850; }
.choice-tabs button[data-choice="yes"].active { color: var(--green); border-color: rgba(85,223,122,.4); background: rgba(85,223,122,.1); }
.choice-tabs button[data-choice="no"].active { color: var(--red); border-color: rgba(255,98,109,.4); background: rgba(255,98,109,.1); }
.stake-presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.stake-presets button { border: 1px solid var(--line); background: rgba(255,255,255,.035); padding: 8px 4px; border-radius: 9px; color: var(--muted); font-size: 10px; }
.order-summary { padding: 13px; border-radius: 12px; background: rgba(0,0,0,.2); display: grid; gap: 7px; margin: 12px 0; }
.order-summary div { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.slide-confirm { position: relative; height: 52px; border-radius: 14px; background: #17202b; border: 1px solid var(--line); overflow: hidden; user-select: none; touch-action: none; }
.slide-confirm .slide-label { position: absolute; inset: 0; display: grid; place-items: center; color: #aeb8c6; font-weight: 750; font-size: 12px; pointer-events: none; }
.slide-knob { position: absolute; left: 4px; top: 4px; width: 42px; height: 42px; border-radius: 11px; border: 0; background: var(--green); color: #06110a; font-size: 20px; z-index: 2; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.slide-confirm.no .slide-knob { background: var(--red); color: #210306; }
.detail-section { margin-top: 19px; border-top: 1px solid var(--line); padding-top: 18px; }
.detail-section h3 { margin: 0 0 13px; }
.comment-form { display: flex; gap: 8px; margin-bottom: 14px; }
.comment-form input { margin: 0; }
.comment-form button { width: auto; margin: 0; padding: 0 18px; }
.comment { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.comment-head b { font-size: 12px; }
.comment-head small { color: var(--muted); }
.comment p { margin: 0; color: #c8d0db; line-height: 1.55; font-size: 13px; }
.depth-list { display: grid; gap: 5px; }
.depth-row { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.026); font-size: 10px; }
.depth-row i { position: absolute; inset: 0 auto 0 0; opacity: .08; }
.depth-row.yes i { background: var(--green); }
.depth-row.no i { background: var(--red); }
.depth-row span,.depth-row b { position: relative; }

/* Bildirimler ve toast */
.drawer { position: fixed; z-index: 90; inset: 0 0 0 auto; width: min(430px,100%); padding: 20px; overflow: auto; background: rgba(8,13,21,.98); border-left: 1px solid var(--line-strong); box-shadow: -25px 0 70px rgba(0,0,0,.42); animation: slideIn .22s ease; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-head h2 { margin: 0; }
.notice { padding: 15px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); margin-bottom: 9px; }
.notice.unread { border-color: rgba(85,223,122,.22); background: rgba(85,223,122,.045); }
.notice b { display: block; font-size: 13px; margin-bottom: 5px; }
.notice p { color: #aab4c2; font-size: 12px; line-height: 1.5; margin: 0 0 7px; }
.notice small { color: var(--muted); }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 27px; transform: translate(-50%,30px); max-width: calc(100% - 30px); background: #eaf6ee; color: #07120b; border-radius: 13px; padding: 12px 16px; box-shadow: 0 18px 55px rgba(0,0,0,.4); font-weight: 700; font-size: 12px; opacity: 0; pointer-events: none; transition: .22s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.toast.error { background: #ffe8ea; color: #451016; }

@media (max-width: 1180px) {
  .auth-shell { grid-template-columns: 1fr 470px; }
  .auth-brand { padding: 55px 6vw; }
  .auth-brand h1 { font-size: 62px; }
  .content-grid,.market-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .auth-shell { display: block; }
  .auth-brand { display: none; }
  .auth-panel-wrap { border: 0; padding: 24px; }
  .mobile-brand { display: flex; }
  .sidebar { display: none; }
  .app-main { padding-left: 0; padding-bottom: 77px; }
  .topbar { height: 68px; border-radius: 0; padding: 10px 16px; }
  .mobile-logo { display: flex; }
  .search-wrap { width: min(360px,45vw); }
  .mobile-nav { position: fixed; z-index: 50; display: grid; grid-template-columns: repeat(5,1fr); bottom: max(7px,env(safe-area-inset-bottom)); left: 10px; right: 10px; min-height: 66px; border-radius: 20px; padding: 6px 7px; }
  .mobile-nav button { border: 0; background: transparent; color: #7f8b9b; display: grid; place-items: center; gap: 2px; }
  .mobile-nav button span { font-size: 20px; line-height: 1; }
  .mobile-nav button small { font-size: 9px; }
  .mobile-nav button.active { color: var(--green); }
  .mobile-nav .create-nav span { width: 40px; height: 40px; margin-top: -21px; display: grid; place-items: center; border-radius: 14px; color: #051009; background: var(--green); font-size: 25px; box-shadow: 0 10px 26px rgba(49,193,99,.28); }
}

@media (max-width: 680px) {
  .auth-panel-wrap { place-items: start center; min-height: 100svh; padding: max(20px,env(safe-area-inset-top)) 14px 20px; }
  .auth-card { padding: 25px 19px; border-radius: 23px; margin-top: 8px; }
  .auth-card h2 { font-size: 27px; }
  .topbar { gap: 8px; }
  .mobile-logo b { display: none; }
  .search-wrap { flex: 1; width: auto; }
  .search-wrap input { font-size: 12px; padding-top: 10px; padding-bottom: 10px; }
  .top-actions { gap: 5px; }
  .stat-pill { min-height: 39px; padding: 5px 8px; }
  .stat-pill:first-child { display: none; }
  .stat-pill small { display: none; }
  .icon-button { width: 39px; min-height: 39px; }
  .view-container { padding: 22px 13px 34px; }
  .view-head { align-items: flex-start; margin-bottom: 20px; }
  .view-head h1 { font-size: 29px; }
  .view-head p { font-size: 12px; }
  .head-actions { display: none; }
  .market-grid { grid-template-columns: 1fr; gap: 11px; }
  .market-card { padding: 15px; border-radius: 17px; }
  .market-question { min-height: 0; margin: 12px 0 15px; font-size: 15px; }
  .quote-box { padding: 11px; }
  .quote-box b { font-size: 21px; }
  .form-grid,.metric-grid { grid-template-columns: 1fr; }
  .content-grid { gap: 11px; }
  .panel { padding: 16px; border-radius: 17px; }
  .profile-hero { grid-template-columns: auto 1fr; }
  .profile-hero > button { grid-column: 1/-1; }
  .wallet-actions { grid-template-columns: 1fr; }
  .balance-card { min-height: 205px; padding: 20px; }
  .balance-value { font-size: 39px; }
  .overlay-backdrop { padding: 0; align-items: end; }
  .modal,.modal.narrow { width: 100%; max-height: 94svh; border-radius: 24px 24px 0 0; border-bottom: 0; }
  .modal-body { padding: 16px; }
  .market-detail-grid { gap: 11px; }
  .chart-box { height: 210px; }
  .comment-form { display: grid; }
  .comment-form button { padding: 13px; }
  .ticker-item { min-width: 145px; }
  .drawer { padding-top: max(20px,env(safe-area-inset-top)); }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
