/* Fishtify — tasarım sistemi */

:root {
  color-scheme: dark;
  --bg: #05070b;
  --card: #0c1017;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --head: #f4f6fa;
  --text: #939cab;
  --body: #c2c9d4;
  --muted: #646d7c;
  --ok: #34d399; --ok-hi: #a7f3d0;
  --warn: #fbbf24; --warn-hi: #fde68a;
  --danger: #fb4f72; --danger-hi: #fda4b8;
  --none: #3c4452; --none-hi: #5b6576;
  --z-ok: rgba(52, 211, 153, .8);
  --z-warn: rgba(251, 191, 36, .6);
  --z-danger: rgba(251, 79, 114, .5);
  --a: #5eead4; --b: #818cf8; --c: #f472b6; --deep: #07101a;
  --r-xl: 28px; --r-lg: 22px; --r-md: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
}

/* Su tipine göre tema — sayfa (body) veya bileşen (.t-*) seviyesinde */
[data-theme="freshwater"], .t-freshwater { --a: #34d399; --b: #22d3ee; --c: #a3e635; --deep: #04130f; }
[data-theme="marine"], .t-marine { --a: #38bdf8; --b: #818cf8; --c: #f472b6; --deep: #040b1c; }
[data-theme="brackish"], .t-brackish { --a: #f5b94a; --b: #2dd4bf; --c: #fb923c; --deep: #0d110c; }
[data-theme="shrimp"], .t-shrimp { --a: #fb7185; --b: #f59e0b; --c: #34d399; --deep: #14090d; }
[data-theme="pond"], .t-pond { --a: #a3e635; --b: #fbbf24; --c: #fb923c; --deep: #091207; }

.s-ok { --st: var(--ok); --st-hi: var(--ok-hi); }
.s-warn { --st: var(--warn); --st-hi: var(--warn-hi); }
.s-danger { --st: var(--danger); --st-hi: var(--danger-hi); }
.s-none { --st: var(--none); --st-hi: var(--none-hi); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 85% -12%, color-mix(in srgb, var(--a) 13%, transparent), transparent 62%),
    radial-gradient(900px 520px at -10% 8%, color-mix(in srgb, var(--b) 9%, transparent), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s;
}
body.modal-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--head); letter-spacing: -.02em; line-height: 1.15; }
h1 { font-weight: 800; font-size: 36px; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: 22px; }
h3 { font-weight: 700; font-size: 18px; }
h4 { font-weight: 700; font-size: 16px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; }
.sub { font-weight: 300; color: var(--text); font-size: 15px; }
.sub.center, .center { text-align: center; }
.muted { color: var(--muted); font-weight: 300; font-size: 13px; }
.grow { flex: 1; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cap { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
[hidden] { display: none !important; }

/* ───────── Düğmeler ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 14px;
  font-weight: 600; font-size: 14px; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--spring), background .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 18px; height: 18px; }
.btn.primary {
  color: #041016;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--a) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.primary:hover { box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--a) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.soft { background: color-mix(in srgb, var(--a) 13%, transparent); color: var(--a); }
.btn.soft:hover { background: color-mix(in srgb, var(--a) 20%, transparent); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--head); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger, .icon-btn.danger { color: var(--danger); }
.btn.danger-solid { background: var(--danger); color: #fff; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.sm .ico { width: 16px; height: 16px; }
.btn.lg { height: 56px; font-size: 15.5px; border-radius: 18px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--head);
  transition: background .2s, transform .2s var(--spring);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.ghost { background: transparent; border-color: transparent; color: var(--text); }
.icon-btn.ghost:hover { background: var(--surface-2); color: var(--head); }
.icon-btn.glass { background: rgba(6, 10, 16, .42); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: #fff; }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 10px; }
.icon-btn.sm .ico { width: 17px; height: 17px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.row-btns.end { justify-content: flex-end; }
.row-btns.spread { justify-content: space-between; }

/* ───────── Segment (kaydırmalı) ───────── */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; flex: none;
}
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--n));
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--a) 30%, #1a212d), color-mix(in srgb, var(--b) 24%, #1a212d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px -8px rgba(0, 0, 0, .8);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .34s var(--spring);
}
.seg.dragging .seg-thumb { transform: translateX(calc(var(--drag) - 4px)); transition: none; }
.seg button {
  position: relative; z-index: 1; height: 34px; padding: 0 14px; border: 0; background: none;
  color: var(--text); font-weight: 500; font-size: 13px; cursor: pointer; white-space: nowrap; transition: color .25s;
}
.seg button.on { color: var(--head); font-weight: 700; }
.seg-lg { width: 100%; }
.seg-lg button { height: 42px; font-size: 14px; }
.seg-sm button { height: 28px; padding: 0 10px; font-size: 12px; }

/* ───────── Anahtar ───────── */
.switch {
  position: relative; width: 52px; height: 32px; flex: none; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, .1); touch-action: pan-y; transition: background .3s;
}
.switch span {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .45); transition: transform .34s var(--spring);
}
.switch.on { background: linear-gradient(135deg, var(--a), var(--b)); }
.switch.on span { transform: translateX(20px); }
.switch:active span { width: 30px; }
.switch.on:active span { transform: translateX(16px); }

/* ───────── Form ───────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.field.inline { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
input, textarea {
  width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  color: var(--head); font-size: 15px; font-weight: 400; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input { height: 48px; padding: 0 16px; }
textarea { padding: 14px 16px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); font-weight: 300; }
input:focus, textarea:focus { border-color: color-mix(in srgb, var(--a) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); background: var(--surface-2); }
input[type="date"], input[type="datetime-local"] { color-scheme: dark; }
.field.inline input { width: 200px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px;
  font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--head); white-space: nowrap;
}
.chip .ico { width: 14px; height: 14px; }
.chip.glass { background: rgba(6, 10, 16, .45); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chip.s-ok, .chip.s-warn, .chip.s-danger { color: var(--st); background: color-mix(in srgb, var(--st) 14%, transparent); }
.chip.glass.s-ok, .chip.glass.s-warn, .chip.glass.s-danger { background: rgba(6, 10, 16, .45); }
.chip.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip-btn {
  height: 38px; padding: 0 16px; border-radius: 12px; cursor: pointer; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 13px;
  transition: all .2s;
}
.chip-btn:hover { color: var(--head); border-color: var(--line-2); }
.chip-btn.on { color: var(--head); background: color-mix(in srgb, var(--a) 15%, transparent); border-color: color-mix(in srgb, var(--a) 50%, transparent); }
.lvl { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 7px; letter-spacing: .02em; white-space: nowrap; }
.lvl.l1 { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.lvl.l2 { color: #67e8f9; background: rgba(103, 232, 249, .12); }
.lvl.l3 { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.lvl.l4 { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.tag { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 7px; background: var(--surface-2); color: var(--text); white-space: nowrap; }

/* ───────── Beher ───────── */
.beaker { position: relative; display: inline-block; flex: none; }
.beaker svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--st) 30%, transparent)); transition: filter .4s; }
.bk-sm { width: 28px; height: 38px; }
.bk-md { width: 44px; height: 58px; }
.bk-lg { width: 62px; height: 82px; }
.bk-xl { width: 104px; height: 138px; }
.bk-glass { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bk-sm .bk-glass { stroke-width: 2.4; }
.bk-glass-fill { fill: rgba(255, 255, 255, .035); }
.bk-ticks { stroke: rgba(255, 255, 255, .26); stroke-width: 1.1; stroke-linecap: round; }
.bk-sm .bk-ticks { display: none; }
.bk-shine { stroke: rgba(255, 255, 255, .16); stroke-width: 2.2; stroke-linecap: round; }
.bk-wave { animation: bkwave 3.4s linear infinite; }
.bk-wave2 { opacity: .45; animation-duration: 5.2s; animation-direction: reverse; }
@keyframes bkwave { from { transform: translateX(0); } to { transform: translateX(20px); } }
.bk-bub { fill: rgba(255, 255, 255, .7); opacity: 0; animation: bub 3.6s ease-in infinite; }
.bk-bub.b2 { animation-delay: 1.2s; }
.bk-bub.b3 { animation-delay: 2.4s; }
.s-none .bk-bub, .bk-sm .bk-bub { display: none; }
@keyframes bub { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: .8; } 100% { transform: translateY(-16px); opacity: 0; } }
.bk-band { stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; }
.bk-band-tick { stroke: var(--ok); stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.bk-sm .bk-band { stroke-width: 3.4; }
.bk-sm .bk-band-tick { display: none; }
.bk-alarm { display: none; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); border: 2px solid var(--card); }
.s-danger .bk-alarm, .beaker.s-danger .bk-alarm { display: block; animation: ping 1.3s ease-out infinite; }
.bk-xl .bk-alarm { width: 16px; height: 16px; top: 2px; right: 10px; }
.beaker.s-danger svg { animation: glow 1.3s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--danger) 85%, transparent)); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
body.no-alarm .beaker svg, body.no-alarm .bk-alarm, body.no-alarm .alarm-banner, body.no-alarm .pill i { animation: none !important; }

/* ───────── Kabuk / yerleşim ───────── */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 26px;
  padding: 26px 16px 18px; border-right: 1px solid var(--line);
  background: rgba(5, 7, 11, .55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; font-weight: 800; font-size: 20px; color: var(--head); letter-spacing: -.03em; }
.brand .logo { width: 30px; height: 30px; }
.brand.lg { font-size: 24px; padding: 0; }
.brand.lg .logo { width: 38px; height: 38px; }
.nav { display: grid; gap: 4px; }
.nav a, .side-tanks a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
  font-weight: 500; font-size: 14px; color: var(--text); transition: background .2s, color .2s;
}
.nav a:hover, .side-tanks a:hover { background: var(--surface); color: var(--head); }
.nav a.on { background: var(--surface-2); color: var(--head); font-weight: 600; }
.nav a.on .ico { color: var(--a); }
.side-tanks { display: grid; gap: 2px; overflow: auto; }
.side-tanks .cap { padding: 0 14px; margin: 0 0 6px; }
.side-tanks a { font-size: 13.5px; padding: 9px 14px; }
.side-tanks a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-tanks a.on { background: color-mix(in srgb, var(--a) 12%, transparent); color: var(--head); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--st); box-shadow: 0 0 10px color-mix(in srgb, var(--st) 80%, transparent); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.side-user > div { flex: 1; min-width: 0; }
.side-user b { display: block; font-weight: 700; font-size: 13.5px; color: var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #041016; background: linear-gradient(135deg, #5eead4, #818cf8); }
.avatar.lg { width: 64px; height: 64px; border-radius: 20px; font-size: 26px; }
.main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 36px 44px 90px; min-width: 0; }
.tabbar { display: none; }

.page { animation: pageIn .45s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.ph-left { display: flex; align-items: center; gap: 12px; }
.section-head { margin: 38px 0 16px; }
.section-head p { margin-top: 5px; font-size: 14px; color: var(--text); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.legend { display: flex; gap: 16px; font-size: 12.5px; font-weight: 400; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 8px var(--st); }

/* ───────── Ana sayfa ───────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--st, var(--a)); background: color-mix(in srgb, var(--st, var(--a)) 14%, transparent); }
.stat b { display: block; font-size: 26px; font-weight: 800; color: var(--head); line-height: 1.1; letter-spacing: -.02em; }
.stat b.sm { font-size: 18px; }
.stat small { font-size: 13px; color: var(--text); }

.tank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.tank-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--a) 7%, var(--card)) 0%, var(--card) 55%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--spring), border-color .3s;
}
.tank-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a) 32%, transparent); }
.tc-media { position: relative; height: 176px; overflow: hidden; }
.tc-media > .art, .tc-media > .lens, .tc-media > .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc-media-fade { position: absolute; inset: auto 0 0 0; height: 75%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a) 7%, var(--card))); pointer-events: none; }
.tc-cam { position: absolute; top: 14px; right: 14px; }
.pill {
  position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(6, 10, 16, .48); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 10px var(--st); }
.pill.s-danger i { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tc-body { position: relative; padding: 0 20px 18px; margin-top: -40px; }
.tc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.tc-title { min-width: 0; }
.tc-title h3 { font-size: 23px; font-weight: 800; letter-spacing: -.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-title p { font-size: 13px; color: var(--text); margin-top: 3px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mtile {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 9px; min-width: 0;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s;
}
.mtile.s-warn { border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.mtile.s-danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 7%, transparent); }
.mt-info { min-width: 0; line-height: 1.15; }
.mt-info span { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.mt-info b { display: block; font-size: 15px; font-weight: 800; color: var(--head); letter-spacing: -.01em; margin-top: 2px; }
.mt-info small { display: block; font-size: 10px; color: var(--muted); }
.mt-edit {
  position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 8px; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer; background: transparent; color: var(--text); opacity: .55; transition: all .2s;
}
.mt-edit .ico { width: 13px; height: 13px; }
.mtile:hover .mt-edit, .mt-edit:focus-visible { opacity: 1; background: var(--surface-2); color: var(--head); }
.tc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.tc-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.tc-foot .ico { width: 15px; height: 15px; }

.empty { text-align: center; padding: 28px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.empty-art { height: 220px; border-radius: 22px; overflow: hidden; margin-bottom: 26px; }
.empty-art svg { width: 100%; height: 100%; }
.empty h3 { font-size: 22px; font-weight: 800; }
.empty p { max-width: 460px; margin: 8px auto 20px; color: var(--text); }
.empty.compact { padding: 44px 24px; }
.empty .row-btns { justify-content: center; }
.empty-beakers { display: flex; justify-content: center; gap: 18px; margin-bottom: 22px; }

/* ───────── Lens blur fotoğraf ───────── */
.lens { position: absolute; inset: 0; overflow: hidden; background: var(--deep); }
.lens-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.4) brightness(.8); transform: scale(1.1); }
.lens-sharp {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 46% 56% at 50% 44%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 46% 56% at 50% 44%, #000 30%, transparent 78%);
}
.lens-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .5)); }

/* ───────── Tank sayfası ───────── */
.hero {
  position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 30px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-media { position: absolute; inset: 0; }
.hero-media > .art, .hero-media > .scene { width: 100%; height: 100%; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 11, .15) 0%, rgba(5, 7, 11, .2) 40%, rgba(5, 7, 11, .92) 100%); }
.hero-bar { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; }
.hero-tools { display: flex; gap: 8px; }
.hero-copy { position: relative; max-width: 68%; }
.hero-copy .eyebrow { color: rgba(255, 255, 255, .7); }
.hero-copy h1 { font-size: 44px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-cta { position: absolute; right: 30px; bottom: 26px; }
.alarm-banner {
  display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 20px; border-radius: 20px;
  background: color-mix(in srgb, var(--danger) 11%, var(--card)); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  animation: alarmPulse 2.2s ease-in-out infinite;
}
.alarm-banner > .ico { width: 28px; height: 28px; color: var(--danger); }
.alarm-banner b { display: block; color: var(--head); font-weight: 700; }
.alarm-banner span { font-size: 13.5px; color: var(--text); }
@keyframes alarmPulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 14%, transparent); } }
.tabs-wrap { margin: 24px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs-wrap::-webkit-scrollbar { display: none; }
.seg-tabs button { height: 40px; padding: 0 20px; font-size: 14px; }

.param-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pcard { position: relative; overflow: hidden; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.pcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--st) 13%, transparent), transparent 62%); }
.pcard.s-warn { border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.pcard.s-danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.pc-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.pc-short { font-size: 12px; color: var(--muted); font-weight: 500; }
.pc-mid { position: relative; display: flex; align-items: center; gap: 18px; margin: 12px 0 16px; }
.pc-val b { font-size: 34px; font-weight: 800; color: var(--head); letter-spacing: -.03em; line-height: 1; }
.pc-val small { margin-left: 5px; font-size: 13px; color: var(--muted); }
.pc-state { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--st); }
.trend { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 400; }
.trend .ico { width: 14px; height: 14px; }
.gauge { position: relative; height: 6px; border-radius: 99px; background: var(--zones); }
.gauge i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--st); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(0, 0, 0, .35); }
.pc-range { position: relative; margin-top: 11px; font-size: 12.5px; color: var(--text); }

.advice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.advice-list.compact { grid-template-columns: 1fr; text-align: left; margin-top: 6px; }
.advice { padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid color-mix(in srgb, var(--st) 28%, var(--line)); }
.advice header { display: flex; gap: 14px; align-items: flex-start; }
.advice header > div { flex: 1; min-width: 0; }
.advice header p { font-size: 13px; color: var(--text); margin-top: 3px; }
.adv-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--st); background: color-mix(in srgb, var(--st) 15%, transparent); }
.advice ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.advice li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--body); }
.advice li::before { content: counter(s); width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--head); background: var(--surface-2); }
.all-good { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--ok) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--ok) 28%, transparent); }
.all-good > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, transparent); }
.all-good b { display: block; color: var(--head); font-weight: 700; }
.all-good span { font-size: 14px; }

/* Grafikler */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.chart-card { padding: 18px 18px 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.chart-card header { display: flex; justify-content: space-between; gap: 12px; }
.chart-card header p { font-size: 12.5px; color: var(--text); margin-top: 3px; }
.cc-now { text-align: right; white-space: nowrap; }
.cc-now b { font-size: 24px; font-weight: 800; color: var(--st, var(--head)); letter-spacing: -.02em; }
.cc-now small { margin-left: 4px; font-size: 12px; color: var(--muted); }
.chart { position: relative; margin-top: 10px; }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.ch-band { fill: var(--ok); opacity: .09; }
.ch-bandline { stroke: var(--ok); stroke-opacity: .4; stroke-dasharray: 3 5; fill: none; }
.ch-y, .ch-x { fill: var(--muted); font-size: 11px; font-family: inherit; font-weight: 400; }
.ch-line { fill: none; stroke: var(--a); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--a) 45%, transparent)); }
.ch-dot { fill: var(--st); stroke: var(--card); stroke-width: 2; }
.ch-cursor { stroke: rgba(255, 255, 255, .28); stroke-dasharray: 3 3; transition: opacity .2s; }
.ch-tip {
  position: absolute; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 12px; border-radius: 12px; pointer-events: none; white-space: nowrap;
  background: rgba(18, 23, 33, .94); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 12px; box-shadow: var(--shadow);
}
.ch-tip b { display: block; color: var(--st); font-weight: 800; font-size: 14px; }
.ch-tip span { color: var(--text); }
.chart-card footer { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.chart-card footer b { color: var(--head); font-weight: 700; }
.chart-empty { height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* Geçmiş */
.hist-group .cap { margin-top: 26px; }
.hist-list { display: grid; gap: 10px; }
.hist-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 14px 14px 14px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--st);
}
.hr-date { text-align: center; line-height: 1.1; }
.hr-date b { display: block; font-size: 24px; font-weight: 800; color: var(--head); }
.hr-date span { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.hr-date small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.hr-vals { display: flex; flex-wrap: wrap; gap: 6px; }
.hr-note { width: 100%; font-size: 13px; color: var(--text); margin-top: 4px; }
.hr-acts { display: flex; gap: 2px; }
.vchip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 10px; font-size: 12px;
  background: color-mix(in srgb, var(--st) 10%, transparent); border: 1px solid color-mix(in srgb, var(--st) 24%, transparent);
}
.vchip i { font-style: normal; color: var(--text); font-weight: 500; }
.vchip b { color: var(--head); font-weight: 700; }

/* Bakım */
.care-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.care { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--a) 6%, var(--card)), var(--card) 60%); border: 1px solid var(--line); }
.care header { display: flex; align-items: center; gap: 12px; }
.care-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--a); background: color-mix(in srgb, var(--a) 14%, transparent); }
.care-val { margin: 16px 0 4px; }
.care-val b { font-size: 28px; font-weight: 800; color: var(--head); letter-spacing: -.03em; }
.care-val small { margin-left: 6px; font-size: 13px; color: var(--muted); }
.care-desc { font-size: 13.5px; color: var(--text); }
.care ul { margin: 14px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.care li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.5; color: var(--body); }
.care li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--a); }
.target-table { border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.tt-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.3fr 1.6fr; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13.5px; align-items: center; }
.tt-row b { color: var(--head); font-weight: 600; }
.tt-head { border-top: 0; background: var(--surface); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ok-t { color: var(--ok); font-weight: 600; }
.by { color: var(--text); }

/* Canlılar */
.compat { display: grid; gap: 8px; margin-bottom: 16px; }
.cw { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; color: var(--body); background: color-mix(in srgb, var(--st) 9%, transparent); border: 1px solid color-mix(in srgb, var(--st) 24%, transparent); }
.cw .ico { width: 18px; height: 18px; color: var(--st); margin-top: 1px; }
.life-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 12px; }
.life { padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.life-top { display: flex; justify-content: space-between; gap: 10px; }
.life-top i { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.count { height: 30px; min-width: 42px; padding: 0 10px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--a); background: color-mix(in srgb, var(--a) 13%, transparent); }
.life-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.life-note { margin-top: 12px; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--a) 60%, transparent); font-size: 13px; line-height: 1.5; color: var(--body); }
.note-card { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--body); }

/* ───────── Ölçüm ───────── */
.guide-banner {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 20px; padding: 16px 18px; border-radius: 20px; cursor: pointer; text-align: left;
  background: linear-gradient(135deg, color-mix(in srgb, var(--a) 14%, var(--card)), color-mix(in srgb, var(--b) 10%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--a) 30%, transparent); color: var(--head);
}
.guide-banner > .ico:first-child { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--a) 20%, transparent); color: var(--a); }
.guide-banner div { flex: 1; }
.guide-banner b { display: block; font-weight: 700; }
.guide-banner span { font-size: 13.5px; color: var(--text); }
.meas-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.meas-meta .field:first-child { width: 240px; }
.meas-meta .field.grow { min-width: 240px; }
.unit-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 12px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.unit-bar .cap { margin: 0; }
.unit-item { display: flex; align-items: center; gap: 10px; }
.unit-item small { font-size: 12px; color: var(--muted); }
.hint { margin: 14px 2px 16px; font-size: 13px; color: var(--muted); }
.meas-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 14px; }
.mrow { display: flex; gap: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .35s, background .35s; }
.mrow.s-ok { border-color: color-mix(in srgb, var(--ok) 26%, transparent); }
.mrow.s-warn { border-color: color-mix(in srgb, var(--warn) 32%, transparent); }
.mrow.s-danger { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 5%, var(--card)); }
.mr-beaker { width: 50px; display: flex; justify-content: center; padding-top: 4px; }
.mr-main { flex: 1; min-width: 0; }
.mr-head { display: flex; align-items: center; gap: 8px; }
.mr-short { font-size: 12px; color: var(--muted); font-weight: 500; }
.tip-btn { width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.tip-btn:hover { color: var(--a); background: var(--surface-2); }
.tip-btn .ico { width: 16px; height: 16px; }
.mr-state { margin-left: auto; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--st); background: color-mix(in srgb, var(--st) 13%, transparent); transition: all .3s; }
.s-none .mr-state { color: var(--muted); background: var(--surface); }
.mr-tip { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--text); }
.mr-ctrl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.mr-ctrl.center { justify-content: center; }
.step { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; background: var(--surface-2); border: 1px solid var(--line); color: var(--head); transition: transform .15s var(--spring), background .2s; }
.step:hover { background: rgba(255, 255, 255, .1); }
.step:active { transform: scale(.9); }
.num { width: 112px; height: 44px; padding: 0 8px; text-align: center; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.num.lg { width: 170px; height: 58px; font-size: 28px; }
.unit { min-width: 28px; font-size: 13px; color: var(--muted); }
.clear { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mr-target { margin-left: auto; font-size: 12px; color: var(--muted); }
.zone-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; touch-action: pan-y; margin: 0; }
.zone-range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: var(--zones); }
.zone-range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--zones); }
.zone-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--st, #fff); box-shadow: 0 4px 14px rgba(0, 0, 0, .55); transition: transform .15s var(--spring); }
.zone-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--st, #fff); box-shadow: 0 4px 14px rgba(0, 0, 0, .55); }
.zone-range:active::-webkit-slider-thumb { transform: scale(1.18); }
.zone-range.idle { opacity: .4; }
.save-bar {
  position: sticky; bottom: 18px; z-index: 5; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 12px 12px 22px; border-radius: 22px; background: rgba(13, 17, 25, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--shadow);
}
.save-bar b { color: var(--head); font-weight: 800; }
.save-bar .row-btns { margin: 0; }

/* ───────── Modal ───────── */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 8, 0); transition: background .25s, backdrop-filter .25s; }
.modal.in { background: rgba(3, 5, 8, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 28px;
  border-radius: 30px; border: 1px solid var(--line-2); box-shadow: var(--shadow);
  background: linear-gradient(180deg, color-mix(in srgb, var(--a) 7%, #10151e), #0c1017 60%);
  opacity: 0; transform: translateY(24px) scale(.97); transition: transform .4s var(--spring), opacity .25s;
}
.modal.in .sheet { opacity: 1; transform: none; }
.modal.wide .sheet { width: min(640px, 100%); }
.modal.small .sheet { width: min(420px, 100%); }
.modal-x { position: absolute; top: 16px; right: 16px; }
.sheet h2 { font-size: 26px; margin-bottom: 6px; }
.results { text-align: center; }
.res-hero { display: grid; place-items: center; margin: 4px 0 14px; }
.res-counts { display: flex; justify-content: center; gap: 10px; margin: 18px 0 14px; }
.res-counts span { display: flex; flex-direction: column; min-width: 92px; padding: 12px; border-radius: 16px; font-size: 12px; color: var(--text); background: color-mix(in srgb, var(--st) 10%, transparent); }
.res-counts b { font-size: 26px; font-weight: 800; color: var(--st); line-height: 1.1; }
.res-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.results > .btn.block { margin-top: 20px; }
.edit-value .sub { font-size: 13.5px; }
.ev-stage { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 22px 0 10px; }
.ev-read b { font-size: 52px; font-weight: 800; color: var(--head); letter-spacing: -.04em; line-height: 1; }
.ev-read small { margin-left: 6px; font-size: 15px; color: var(--muted); }
.ev-read em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--text); }
.edit-value .zone-range { margin-top: 8px; }
.confirm { text-align: center; }
.confirm-ic { width: 56px; height: 56px; margin: 4px auto 16px; border-radius: 18px; display: grid; place-items: center; color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, transparent); }
.confirm .row-btns { justify-content: center; }

/* Ölçüm rehberi */
.guide-art {
  position: relative; height: 150px; margin-bottom: 22px; border-radius: 22px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 130%, color-mix(in srgb, var(--a) 32%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.tube-row { display: flex; gap: 20px; align-items: flex-end; }
.tube { position: relative; width: 24px; height: 92px; border: 2px solid rgba(255, 255, 255, .5); border-top: 0; border-radius: 0 0 13px 13px; overflow: hidden; }
.tube i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: linear-gradient(180deg, var(--a), var(--b)); animation: fillUp 1.2s var(--ease) var(--d) both; }
@keyframes fillUp { from { height: 0; } }
.guide-ic { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--a); background: var(--surface-2); }
.guide-tips { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.guide-tips li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.guide-tips .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--a); }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: width .3s var(--spring), background .3s; }
.dots button.on { width: 24px; background: var(--a); }

/* Toast */
#toast-root { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; font-size: 14px; font-weight: 500; color: var(--head);
  background: rgba(18, 23, 33, .92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(.97); transition: all .35s var(--spring);
}
.toast.in { opacity: 1; transform: none; }
.toast.t-ok .ico { color: var(--ok); }
.toast.t-err .ico { color: var(--danger); }

/* ───────── Giriş ───────── */
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.auth-art { position: relative; margin: 16px; border-radius: 34px; overflow: hidden; display: flex; align-items: flex-end; padding: 48px; border: 1px solid var(--line); }
.auth-art { background: var(--deep); }
.auth-art > .art { position: absolute; inset: 0 0 auto 0; width: 100%; height: 58%; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 11, 0) 35%, rgba(5, 7, 11, .7)); }
.auth-copy { position: relative; z-index: 1; max-width: 500px; }
.auth-copy h1 { margin: 30px 0 16px; font-size: 50px; line-height: 1.04; }
.auth-copy p { font-size: 17px; line-height: 1.6; color: #b3bcca; }
.auth-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: var(--body); font-size: 14.5px; }
.auth-points .ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: var(--a); background: rgba(6, 10, 16, .5); border: 1px solid rgba(255, 255, 255, .1); }
.auth-panel { display: grid; place-items: center; padding: 32px; }
.auth-card { width: min(420px, 100%); display: grid; gap: 16px; }
.auth-card h2 { font-size: 32px; margin-top: 14px; }
.form-err { color: var(--danger); font-size: 13px; font-weight: 500; }
.or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fine { text-align: center; font-size: 12px; color: var(--muted); }

/* Giriş ekranı ekleri */
.demo-cta {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 16px 16px 16px; border: 0; border-radius: 20px; cursor: pointer; text-align: left; color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #f97316 120%);
  box-shadow: 0 16px 40px -14px rgba(192, 38, 211, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--spring), box-shadow .25s;
  overflow: hidden;
}
.demo-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-100%); animation: demoShine 3.8s ease-in-out infinite; }
@keyframes demoShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.demo-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(192, 38, 211, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.demo-cta:active { transform: scale(.98); }
.demo-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.demo-ic .ico { width: 22px; height: 22px; }
.demo-copy { flex: 1; min-width: 0; }
.demo-copy b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.demo-copy small { display: block; font-size: 12.5px; opacity: .88; margin-top: 2px; }
.demo-go { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.demo-go .ico { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .demo-cta::after { animation: none; } }
.btn.google { background: #fff; color: #1f2328; border-color: #fff; }
.btn.google:hover { background: #eef1f5; }
.field-row { display: flex; justify-content: space-between; align-items: center; }
.link { border: 0; background: none; padding: 0; color: var(--a); font-size: 12px; font-weight: 600; cursor: pointer; }
.link:hover { text-decoration: underline; }
.sent-ic { width: 64px; height: 64px; margin: 6px auto; border-radius: 20px; display: grid; place-items: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.sent-ic .ico { width: 30px; height: 30px; }

/* Üyelik durumu */
.plan-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--a) 9%, transparent); border: 1px solid color-mix(in srgb, var(--a) 22%, transparent); margin-top: auto; }
.plan-chip + .side-user { margin-top: 10px; }
.plan-chip > .ico { color: var(--a); }
.plan-chip b { display: block; font-size: 13px; font-weight: 700; color: var(--head); }
.plan-chip span { font-size: 12px; color: var(--text); }
.plan-chip.ok { --a: var(--ok); }
.plan-chip.exp { --a: var(--warn); }
.plan-chip.demo { --a: #c084fc; }
.access-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 14px 16px 14px 18px; border-radius: 20px; background: color-mix(in srgb, #c084fc 10%, var(--card)); border: 1px solid color-mix(in srgb, #c084fc 30%, transparent); }
.access-banner.exp { background: color-mix(in srgb, var(--warn) 9%, var(--card)); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.access-banner > .ico { width: 24px; height: 24px; color: #c084fc; }
.access-banner.exp > .ico { color: var(--warn); }
.access-banner > div { flex: 1; }
.access-banner b { display: block; color: var(--head); font-weight: 700; }
.access-banner span { font-size: 13.5px; }
@media (max-width: 560px) { .access-banner { flex-wrap: wrap; } }

button.plan-chip { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
button.plan-chip:hover { border-color: color-mix(in srgb, var(--a) 45%, transparent); }

/* Abonelik planları */
.pricing { text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 18px; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border-radius: 22px; cursor: pointer; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line-2); transition: transform .25s var(--spring), border-color .2s, background .2s;
}
.plan:hover { transform: translateY(-3px); border-color: var(--a); background: color-mix(in srgb, var(--a) 7%, transparent); }
.plan:first-child { border-color: color-mix(in srgb, var(--a) 60%, transparent); background: color-mix(in srgb, var(--a) 8%, transparent); }
.plan.busy { opacity: .6; pointer-events: none; }
.plan > b { font-size: 15px; font-weight: 700; color: var(--head); }
.plan-price strong { font-size: 32px; font-weight: 800; color: var(--head); letter-spacing: -.03em; }
.plan-price small { margin-left: 4px; font-size: 13px; color: var(--muted); }
.plan-sub { font-size: 12.5px; color: var(--text); }
.plan-badge { position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #041016; background: linear-gradient(135deg, var(--a), var(--b)); }
.perks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; text-align: left; }
.perks li { display: flex; gap: 10px; font-size: 14px; color: var(--body); }
.perks .ico { width: 18px; height: 18px; color: var(--ok); }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Yükleniyor ekranı */
.gate { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; background: var(--deep); }
.gate-art { position: absolute; inset: 0 0 auto 0; height: 60%; opacity: .55; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.gate-art svg { width: 100%; height: 100%; }
.gate-card {
  position: relative; width: min(420px, 100%); display: grid; gap: 12px; justify-items: center; text-align: center; padding: 34px 28px;
  border-radius: 30px; background: rgba(12, 16, 23, .78); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.gate-card .brand { margin-bottom: 6px; }
.gate-card .btn { margin-top: 8px; }
.gate-beaker { margin: 6px 0; }

/* ───────── Sihirbaz ───────── */
.wiz { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.wiz-bg { position: fixed; inset: 0 0 auto 0; height: 44vh; z-index: 0; pointer-events: none; opacity: .32; filter: blur(3px) saturate(1.2); -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
.wiz-bg svg { width: 100%; height: 100%; }
.wiz-top { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 16px; padding: 14px 24px; background: rgba(5, 7, 11, .4); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.wiz-progress { flex: 1; max-width: 760px; margin: 0 auto; display: flex; gap: 6px; }
.wiz-progress button { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 8px 0 4px; border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 600; color: var(--muted); text-align: left; }
.wiz-progress button:disabled { cursor: default; }
.wiz-progress i { height: 4px; border-radius: 99px; background: var(--line-2); transition: background .4s, box-shadow .4s; }
.wiz-progress .done i { background: color-mix(in srgb, var(--a) 70%, transparent); }
.wiz-progress .on i { background: linear-gradient(90deg, var(--a), var(--b)); box-shadow: 0 0 14px color-mix(in srgb, var(--a) 60%, transparent); }
.wiz-progress .on span, .wiz-progress .done span { color: var(--head); }
.wiz-stage { position: relative; z-index: 1; width: min(780px, 100%); margin: 0 auto; padding: 44px 24px 150px; animation: stageIn .5s var(--ease); }
.wiz-stage.dir--1 { animation-name: stageBack; }
@keyframes stageIn { from { opacity: 0; transform: translateX(34px); } }
@keyframes stageBack { from { opacity: 0; transform: translateX(-34px); } }
.wiz-stage > h1 { font-size: 40px; line-height: 1.08; margin-bottom: 12px; }
.wiz-stage > .sub { font-size: 16px; max-width: 580px; margin-bottom: 30px; }
.wiz-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: space-between; gap: 12px;
  padding: 18px max(24px, calc((100vw - 732px) / 2)) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, .94) 38%);
}
.wiz-foot .btn { min-width: 130px; height: 50px; border-radius: 16px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.type-card {
  position: relative; padding: 0; text-align: left; cursor: pointer; overflow: hidden; border-radius: 24px;
  background: var(--card); border: 1.5px solid var(--line); transition: transform .3s var(--spring), border-color .25s, box-shadow .25s;
}
.type-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 50%, transparent); }
.type-card.sel { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.type-art { height: 124px; }
.type-art svg { width: 100%; height: 100%; }
.type-copy { padding: 14px 16px 18px; }
.type-copy h3 { font-size: 18px; font-weight: 800; }
.type-copy p { font-size: 13px; color: var(--text); margin-top: 4px; }
.type-check { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #041016; background: var(--a); transform: scale(0); transition: transform .35s var(--spring); }
.type-check .ico { width: 16px; height: 16px; }
.sel .type-check { transform: scale(1); }
.style-list { display: grid; gap: 12px; }
.style-card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 56px 18px 18px; text-align: left; cursor: pointer; border-radius: 22px;
  background: var(--card); border: 1.5px solid var(--line); transition: transform .3s var(--spring), border-color .25s, box-shadow .25s;
}
.style-card:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--a) 50%, transparent); }
.style-card.sel { border-color: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 16%, transparent); }
.style-card h3 { font-size: 17px; }
.style-card p { font-size: 13.5px; color: var(--text); margin-top: 3px; }
.style-card .type-check { top: 50%; right: 18px; margin-top: -14px; }
.sc-ic { width: 50px; height: 50px; border-radius: 15px; flex: none; display: grid; place-items: center; color: var(--a); background: color-mix(in srgb, var(--a) 14%, transparent); }
.big-input { height: 70px; padding: 0 22px; margin-bottom: 16px; border-radius: 20px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.liters { position: relative; margin: 22px 0 16px; }
.liters .big-input { margin: 0; text-align: left; width: 100%; }
.liters > span { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 700; color: var(--muted); }
.dims { display: flex; align-items: flex-end; gap: 10px; margin: 22px 0 16px; }
.dim { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dim > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.dim > div { position: relative; }
.dim input { height: 62px; padding: 0 44px 0 16px; font-size: 22px; font-weight: 700; }
.dim em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--muted); }
.dims-x { padding-bottom: 18px; font-size: 22px; color: var(--muted); }
.vol-result { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.vol-result small { display: block; font-size: 12px; color: var(--muted); }
.vol-result b { font-size: 28px; font-weight: 800; color: var(--head); letter-spacing: -.02em; }
.vr-net b { color: var(--a); }
.vr-arrow { color: var(--muted); }
.vol-result p { width: 100%; font-size: 13px; color: var(--text); }
.search { position: relative; margin-bottom: 18px; }
.search > .ico { position: absolute; left: 18px; top: 18px; color: var(--muted); pointer-events: none; }
.search input { height: 56px; padding-left: 50px; border-radius: 18px; font-size: 16px; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; overflow: hidden; border-radius: 18px; background: #11161f; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.sugg:empty { display: none; }
.sugg-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.sugg-item:first-child { border-top: 0; }
.sugg-item:hover { background: var(--surface-2); }
.sugg-item > div { flex: 1; min-width: 0; }
.sugg-item b { display: block; font-size: 14.5px; font-weight: 600; color: var(--head); }
.sugg-item i { font-size: 12px; color: var(--muted); }
.sugg-item mark { background: none; color: var(--a); }
.sugg-item.has { opacity: .55; }
.sugg-item > .ico { color: var(--a); }
.sugg-empty { padding: 14px 16px; font-size: 13px; color: var(--muted); }
.tray { display: grid; gap: 8px; margin-bottom: 8px; }
.tray .cap { margin-top: 4px; }
.tray-item { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 16px; border-radius: 18px; background: color-mix(in srgb, var(--a) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--a) 22%, transparent); animation: pop .4s var(--spring); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.ti-main { flex: 1; min-width: 0; }
.ti-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ti-name b { font-size: 14.5px; font-weight: 700; color: var(--head); }
.ti-main p { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--text); }
.stepper { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-2); }
.stepper button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: none; color: var(--head); display: grid; place-items: center; cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper .ico { width: 16px; height: 16px; }
.stepper b { min-width: 28px; text-align: center; font-weight: 800; font-size: 14px; color: var(--head); }
.lib-head { display: flex; align-items: center; gap: 14px; margin: 20px 0 12px; min-width: 0; }
.lib-head .cap { margin: 0; flex: none; }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 8px; max-height: 380px; overflow: auto; margin-bottom: 24px; padding-right: 4px; }
.lib-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-width: 0; border-radius: 14px; text-align: left; cursor: pointer; background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.lib-item:hover { border-color: var(--line-2); }
.lib-item.on { background: color-mix(in srgb, var(--a) 9%, transparent); border-color: color-mix(in srgb, var(--a) 40%, transparent); }
.lib-item > div { flex: 1; min-width: 0; }
.lib-item b { display: block; font-size: 13.5px; font-weight: 600; color: var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-item i { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-check { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); transition: all .25s var(--spring); }
.li-check .ico { width: 15px; height: 15px; }
.lib-item.on .li-check { color: #041016; background: var(--a); }
#compat { margin-top: 16px; }
.form-card { display: grid; gap: 14px; padding: 20px; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.form-card p { font-size: 13px; color: var(--text); margin-top: 2px; }
.fc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.fc-row > b { color: var(--head); font-weight: 600; font-size: 14px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.toggle-row b { display: block; font-size: 14.5px; font-weight: 600; color: var(--head); }
.toggle-row span { font-size: 13px; color: var(--text); }
.sum-card { overflow: hidden; margin-bottom: 18px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.sum-art { position: relative; height: 170px; }
.sum-art svg { width: 100%; height: 100%; }
.sum-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12, 16, 23, .95)); }
.sum-title { position: absolute; left: 22px; bottom: 16px; z-index: 1; }
.sum-title .eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.sum-title h2 { font-size: 30px; }
.sum-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 22px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; transition: background .2s; }
.sum-row:hover { background: var(--surface); }
.sum-row span { width: 110px; flex: none; font-size: 13px; color: var(--muted); }
.sum-row b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--head); }
.sum-row .ico { width: 16px; height: 16px; color: var(--muted); }

/* Ayarlar */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; align-items: start; }
.set-grid .form-card { margin: 0; }
.profile { display: flex; gap: 16px; align-items: center; }
.profile .muted { margin-top: 8px; }

/* ───────── İllüstrasyonlar ───────── */
.art { display: block; }
.art-rays path { fill: #fff; opacity: .035; }
.art-bubbles circle { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; animation: rise 7s linear infinite; transform-box: fill-box; }
.art-bubbles circle:nth-child(2) { animation-delay: -2s; }
.art-bubbles circle:nth-child(3) { animation-delay: -4s; }
.art-bubbles circle:nth-child(4) { animation-delay: -1s; }
.art-bubbles circle:nth-child(5) { animation-delay: -5s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-110px); opacity: 0; } }
.art-fish path { fill: var(--b); opacity: .92; }
.art-fish.alt path { fill: var(--a); }
.art-fish.clown path { fill: #fb923c; }
.art-eye { fill: var(--deep); }
.art-clown-band { stroke: #fff; stroke-width: 3.4; stroke-linecap: round; opacity: .85; }
.art-swim { animation: swim 9s ease-in-out infinite; }
.art-swim.s2 { animation-duration: 12s; animation-delay: -4s; }
.art-swim.s3 { animation-duration: 10s; animation-delay: -7s; }
@keyframes swim { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -7px); } }
.art-plant path { fill: none; stroke: var(--a); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.art-plant.p2 path { stroke: var(--c); opacity: .45; }
.art-plant, .art-blades { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
.art-blades.b2 { animation-delay: -3s; }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.art-blades path { fill: var(--a); opacity: .32; }
.art-blades.b2 path { fill: var(--c); opacity: .38; }
.art-sand { fill: rgba(230, 214, 170, .13); }
.art-coral path { fill: none; stroke-width: 7; stroke-linecap: round; opacity: .8; }
.art-coral.c1 path { stroke: var(--c); }
.art-coral.c2 path { stroke: var(--a); }
.art-coral.c3 path { stroke: var(--b); stroke-width: 6; }
.art-brain { fill: var(--b); opacity: .5; }
.art-brain2 { fill: var(--c); opacity: .45; }
.art-polyps circle { fill: var(--a); opacity: .85; }
.art-waterline { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.art-root path { fill: none; stroke: color-mix(in srgb, var(--a) 35%, #3a2a1a); stroke-width: 6; stroke-linecap: round; opacity: .9; }
.art-root.r2 path { stroke-width: 5; }
.art-puffer { fill: var(--a); }
.art-puffer-fin { fill: var(--b); }
.art-spot { fill: var(--deep); opacity: .55; }
.art-moss circle { fill: color-mix(in srgb, var(--c) 45%, #0b1a0f); opacity: .75; }
.art-wood { fill: #5a4632; opacity: .75; }
.art-shrimp-body { fill: var(--a); }
.art-shrimp-tail { fill: var(--a); opacity: .8; }
.art-shrimp-leg, .art-shrimp-ant { fill: none; stroke: var(--a); stroke-width: 1; opacity: .75; }
.art-ripple circle { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ripple 5s ease-out infinite; }
.art-ripple circle:nth-child(2n) { animation-delay: -2.5s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.art-lily path { fill: var(--a); opacity: .72; }
.art-bloom { fill: #f9a8d4; }
.art-koi { fill: #fb923c; }
.art-koi.k2 { fill: #f8fafc; opacity: .9; }
.art-koi-spot { fill: #fff; opacity: .85; }

/* ───────── Sahneler (canlı illüstrasyonlar) ───────── */
.scene { display: block; width: 100%; height: 100%; }
.scene * { transform-box: fill-box; }
.sc-rays path { fill: #cfe9ff; opacity: .045; }
.sc-rays { animation: scRays 9s ease-in-out infinite; }
@keyframes scRays { 50% { opacity: .55; } }
.sc-swim { animation: scSwim 26s linear infinite; }
.sc-swim.rev { animation-name: scSwimRev; }
@keyframes scSwim { from { transform: translateX(-220px); } to { transform: translateX(1420px); } }
@keyframes scSwimRev { from { transform: translateX(1420px); } to { transform: translateX(-220px); } }
.sc-bob { animation: scBob 4.2s ease-in-out infinite; }
@keyframes scBob { 50% { transform: translateY(-12px); } }
.sc-tail { transform-origin: 100% 50%; animation: scTail .7s ease-in-out infinite alternate; }
@keyframes scTail { from { transform: rotate(-11deg); } to { transform: rotate(11deg); } }
.sc-sway { transform-origin: 50% 100%; animation: scSway 6s ease-in-out infinite; }
.sc-sway.slow { animation-duration: 9s; }
@keyframes scSway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.sc-wiggle { transform-origin: 50% 100%; animation: scWiggle 3.2s ease-in-out infinite; }
@keyframes scWiggle { 0%, 100% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(1.04, .96) rotate(2deg); } }
.sc-bob.small { animation-duration: 1.4s; }
.sc-bob.small { animation-name: scBobSmall; }
@keyframes scBobSmall { 50% { transform: translateY(-3px); } }
.sc-crawl { animation: scCrawl 16s ease-in-out infinite alternate; }
@keyframes scCrawl { from { transform: translateX(0); } to { transform: translateX(var(--range, 100px)); } }
.sc-legs { animation: scLegs .5s steps(2) infinite; }
@keyframes scLegs { 50% { transform: translateX(2px); } }
.sc-drift { transform-origin: 50% 50%; animation: scDrift 14s ease-in-out infinite alternate; }
.sc-drift.slow { animation-duration: 20s; }
@keyframes scDrift { from { transform: rotate(-4deg) translate(0, 0); } to { transform: rotate(4deg) translate(6px, -4px); } }
.sc-ripple { transform-origin: 50% 50%; animation: scRipple 5s ease-out infinite; }
@keyframes scRipple { 0% { transform: scale(.3); opacity: 0; } 15% { opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
.sc-bub { animation: scBub 9s ease-in infinite; }
@keyframes scBub { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-820px); opacity: 0; } }
.auth-art > .scene-auth { position: absolute; inset: 0 0 auto 0; width: 100%; height: 66%; -webkit-mask-image: linear-gradient(#000 90%, transparent); mask-image: linear-gradient(#000 90%, transparent); }
.auth-art::after { background: linear-gradient(180deg, rgba(5, 7, 11, 0) 55%, rgba(5, 7, 11, .6) 80%, rgba(5, 7, 11, .9)); }
@media (max-width: 900px) { .auth-art > .scene-auth { height: 58%; opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } }

/* ───────── Duyarlı ───────── */
@media (max-width: 1180px) {
  .shell { grid-template-columns: 228px minmax(0, 1fr); }
  .main { padding: 30px 28px 90px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 22px 16px 120px; }
  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 66px; padding: 6px; border-radius: 24px;
    background: rgba(12, 16, 23, .8); border: 1px solid var(--line-2); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: var(--shadow);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 18px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar a.on { color: var(--head); background: var(--surface-2); }
  .tabbar a.on .ico { color: var(--a); }
  h1 { font-size: 30px; }
  .hero { min-height: 340px; padding: 20px; border-radius: 26px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: 32px; }
  .hero-cta { position: relative; right: auto; bottom: auto; margin-top: 16px; align-self: flex-start; }
  .save-bar { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 380px; padding: 28px; margin: 12px; }
  .auth-copy h1 { font-size: 34px; margin-top: 20px; }
  .auth-points { display: none; }
  .wiz-progress span { display: none; }
  .wiz-stage { padding-top: 30px; }
  .wiz-stage > h1 { font-size: 30px; }
  .tt-row { grid-template-columns: 1fr 1fr; }
  .tt-head span:nth-child(n+3) { display: none; }
  .modal { place-items: end center; padding: 0; }
  .sheet, .modal.wide .sheet, .modal.small .sheet { width: 100%; max-height: 92vh; border-radius: 28px 28px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  #toast-root { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head .btn span { display: none; }
  .page-head .btn { width: 44px; padding: 0; }
  .mrow { gap: 10px; padding: 16px 14px; }
  .mr-beaker { width: 44px; }
  .num { width: 96px; }
  .mr-target { width: 100%; margin-left: 0; }
  .save-bar { padding-left: 16px; }
  .save-bar > span { font-size: 13px; white-space: nowrap; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats .stat:last-child { grid-column: auto; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .stat-ic { width: 36px; height: 36px; border-radius: 11px; }
  .stat b { font-size: 20px; }
  .stat b.sm { font-size: 14px; }
  .stat small { font-size: 11.5px; line-height: 1.3; display: block; }
  .dims { flex-direction: column; align-items: stretch; }
  .dims-x { display: none; }
  .hist-row { grid-template-columns: 52px minmax(0, 1fr); }
  .hr-acts { grid-column: 1 / -1; justify-content: flex-end; }
  .legend { display: none; }
  .ev-read b { font-size: 40px; }
  .wiz-foot .btn { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ───────── Karantina ───────── */
.qt-pick { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 16px; padding: 18px 56px 18px 18px; text-align: left; color: inherit; font: inherit; cursor: pointer;
  border-radius: var(--r-lg); border: 1px dashed color-mix(in srgb, #f472b6 45%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, #f472b6 9%, var(--card)), var(--card) 70%); transition: transform .25s, border-color .25s; }
.qt-pick:hover { transform: translateY(-2px); border-color: #f472b6; }
.qt-pick.sel { border-style: solid; border-color: #f472b6; box-shadow: 0 0 0 4px color-mix(in srgb, #f472b6 18%, transparent); }
.qt-pick h3 { font-size: 17px; }
.qt-pick p { font-size: 13.5px; color: var(--text); margin-top: 3px; }
.qt-pick .type-check { top: 50%; right: 18px; margin-top: -14px; }
.qt-pick-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #f9a8d4; background: color-mix(in srgb, #f472b6 16%, transparent); }
.qt-pick-ic .ico { width: 24px; height: 24px; }
.chip.qt-chip { color: #fbcfe8; background: color-mix(in srgb, #f472b6 18%, transparent); }
.qt-start .fc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.qt-q { font-size: 12px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; margin-top: 6px !important; }
.qt-plan-pick { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.qt-plan-pick > div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.qt-plan-pick b { color: var(--head); font-size: 15px; }
.qt-plan-pick span { font-size: 12.5px; color: var(--muted); }
.qt-plan-pick .btn { justify-self: start; }
.qt-conds { display: grid; gap: 12px; }
.qt-cond { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.qt-cond header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.qt-cond h4 { font-size: 15px; }
.qt-cond p { margin-top: 6px; }
.qt-cond .row-btns { margin-top: 12px; gap: 8px; }
.btn.sm { padding: 8px 12px; font-size: 13px; }
.qt-head { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(130deg, color-mix(in srgb, #f472b6 10%, var(--card)), var(--card) 65%); border: 1px solid color-mix(in srgb, #f472b6 25%, var(--line)); margin-bottom: 16px; }
.qt-head-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.qt-head h3 { font-size: 20px; }
.qt-day { text-align: right; }
.qt-day b { display: block; font-size: 22px; color: var(--head); }
.qt-day span { font-size: 12.5px; color: var(--muted); }
.qt-bar { height: 8px; border-radius: 99px; background: var(--surface-2); margin-top: 16px; overflow: hidden; }
.qt-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f472b6, #fbbf24); }
.qt-tasks { display: grid; gap: 8px; }
.qt-task { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; font: inherit; font-size: 14px; color: var(--head); cursor: pointer; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, opacity .2s; }
.qt-task:hover { border-color: var(--line-2); }
.qt-task > span:nth-child(2) { flex: 1; }
.qt-task em { font-style: normal; font-size: 12px; color: var(--warn); }
.qt-box { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid var(--line-2); color: transparent; transition: all .2s; }
.qt-box .ico { width: 15px; height: 15px; }
.qt-task.done { opacity: .55; }
.qt-task.done > span:nth-child(2) { text-decoration: line-through; }
.qt-task.done .qt-box { background: var(--ok); border-color: var(--ok); color: #04130c; }
.qt-next, .qt-info { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.qt-next summary, .qt-info summary { cursor: pointer; font-weight: 600; color: var(--head); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.qt-info summary .ico { width: 17px; height: 17px; color: var(--muted); }
.qt-info ul, .qt-next ul { margin: 12px 0 2px; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.qt-next-day { margin-top: 12px; }
.qt-next-day b { font-size: 13px; color: var(--head); }
.qt-next-day ul { margin-top: 6px; }
.qt-hist { display: grid; gap: 8px; }
.qt-hist > div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.qt-hist b { font-size: 14px; color: var(--head); }
.qt-hist span { font-size: 12.5px; color: var(--muted); }
.qt-disclaimer { margin: 24px 0 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; margin-top: 16px; }
.calc { padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.calc h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.calc h4 .ico { width: 17px; height: 17px; color: var(--muted); }
.calc-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; align-items: end; }
.calc-in { position: relative; }
.calc-in input { padding-right: 44px; }
.calc-in em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: var(--muted); }
.calc-units { display: flex; gap: 6px; flex-wrap: wrap; align-self: end; padding-bottom: 4px; }
.calc-out { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 8%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 22%, transparent); }
.calc-out b { font-size: 22px; color: var(--head); }
.calc-out span { font-size: 12.5px; line-height: 1.45; color: var(--text); }
.qt-dests { display: grid; gap: 10px; margin: 14px 0 4px; max-height: 50vh; overflow: auto; }
.qt-dests .style-card { padding: 14px 52px 14px 14px; }
.qt-dests .style-card h3 { font-size: 15px; }

/* Karantina sahnesi */
.sc-bob.sick { animation-duration: 5.5s; animation-name: scBobSick; }
@keyframes scBobSick { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(10px) rotate(3deg); } 60% { transform: translateY(-6px) rotate(-2deg); } }
.sc-sneeze { transform-origin: 50% 50%; animation: scSneeze 7s ease-in-out infinite; }
@keyframes scSneeze {
  0%, 78%, 100% { transform: none; }
  82% { transform: translateX(-6px) rotate(-8deg) scale(1.05, .95); }
  86% { transform: translateX(-9px) rotate(-12deg) scale(1.08, .92); }
  88% { transform: translateX(12px) rotate(6deg) scale(.92, 1.08); }
  92% { transform: translateX(-2px) rotate(-2deg); }
}
.sc-achoo circle { opacity: 0; transform-origin: 0 50%; animation: scAchoo 7s ease-out infinite; animation-delay: inherit; }
.sc-achoo { animation-delay: 0s; }
@keyframes scAchoo { 0%, 87% { opacity: 0; transform: translate(0, 0) scale(.3); } 89% { opacity: 1; } 97% { opacity: 0; transform: translate(34px, -6px) scale(1.3); } 100% { opacity: 0; } }
.sc-drop { animation: scDrop 4.5s ease-in infinite; opacity: 0; }
.sc-drop.d2 { animation-delay: -2.2s; }
@keyframes scDrop { 0% { opacity: 0; transform: translateY(0) scale(.6); } 8% { opacity: 1; transform: translateY(0) scale(1); } 60% { opacity: 1; } 75% { opacity: 0; transform: translateY(520px) scale(1.4, .6); } 100% { opacity: 0; transform: translateY(520px); } }
.sc-led { animation: blink 1.6s ease-in-out infinite; }
/* Karantina rozeti (kart ve tank sayfası) */
.qt-badge { position: absolute; top: 14px; left: 14px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #ef4444, #b91c1c); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 6px 18px rgba(239, 68, 68, .35); }
.qt-badge .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.tank-card.is-qt .pill { left: 56px; }
.hero-bar .qt-badge { position: static; width: 40px; height: 40px; border-radius: 13px; }
.hero-left { display: flex; gap: 8px; align-items: center; }
/* Sihirbazda 6. kart: karantina */
.type-card.qt-type { border-color: color-mix(in srgb, #ef4444 45%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, #ef4444 16%, var(--card)), var(--card) 70%); }
.type-card.qt-type:hover { border-color: #ef4444; }
.type-card.qt-type.sel { border-color: #ef4444; box-shadow: 0 0 0 4px color-mix(in srgb, #ef4444 22%, transparent); }
.type-card.qt-type .type-check { background: #ef4444; color: #fff; }
.qt-type .type-art { position: relative; }
.qt-type .type-art .qt-badge { top: 10px; left: 10px; }

/* ───────── Ekipmanlarım ve harcamalar ───────── */
.gear-filter { margin: 16px 0 6px; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.gear-card { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s; }
.gear-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gear-card header { display: flex; gap: 12px; align-items: flex-start; }
.gear-card header > div { flex: 1; min-width: 0; }
.gear-card h4 { font-size: 15px; overflow-wrap: anywhere; }
.gear-card header p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.gear-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--a); background: color-mix(in srgb, var(--a) 13%, transparent); }
.gear-ic .ico { width: 19px; height: 19px; }
.gear-price { font-size: 15px; color: var(--head); white-space: nowrap; }
.gear-date { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text); }
.gear-date .ico { width: 14px; height: 14px; color: var(--muted); }
.gear-note { font-size: 13px; color: var(--text); }
.life-bar { display: grid; gap: 6px; }
.lb-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text); }
.lb-top b { color: var(--st); }
.lb-track { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.lb-track i { display: block; height: 100%; border-radius: 99px; background: var(--st); }
.life-bar small { font-size: 12px; color: var(--muted); }
.life-bar.s-danger small { color: var(--danger); }
.light-box { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--warn) 7%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 22%, transparent); }
.light-box .cap { margin: 0; display: flex; align-items: center; gap: 6px; }
.light-box .cap .ico { width: 14px; height: 14px; color: var(--warn); }
.lx-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: 13px; }
.lx-row span { color: var(--muted); }
.lx-row b { color: var(--head); font-weight: 600; }
.light-box ul { margin: 2px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12.5px; color: var(--text); line-height: 1.45; }
.spend-total { margin: 18px 0 16px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(130deg, color-mix(in srgb, var(--a) 12%, var(--card)), var(--card) 70%); border: 1px solid var(--line); }
.spend-total small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spend-total b { display: block; font-size: 38px; color: var(--head); margin-top: 6px; }
.spend-list { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.spend-row { display: grid; gap: 6px; }
.sr-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--head); }
.sr-track { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.sr-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--a), var(--b)); }
.spend-row small { font-size: 12px; color: var(--muted); }
.spend-tanks { display: grid; gap: 4px; padding: 6px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.spend-tanks .toggle-row { gap: 14px; }
.st-total { margin-left: auto; color: var(--head); white-space: nowrap; }
.cost-card { display: grid; gap: 12px; padding: 18px; margin-bottom: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.cost-card .btn { justify-self: start; }
.cc-main { display: flex; gap: 14px; align-items: center; }
.cc-main small { display: block; font-size: 12px; color: var(--muted); }
.cc-main b { display: block; font-size: 24px; color: var(--head); }
.cc-main span { font-size: 12.5px; color: var(--text); }
.life-cost { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.life-cost .calc-in { width: 130px; }
.life-cost input, .ti-cost input { height: 36px; padding: 0 44px 0 12px; font-size: 13px; }
.ti-cost { width: 120px; flex: none; }
.chip.cost-chip { color: var(--head); }
.gear-modal { display: grid; gap: 12px; }
.gear-modal h3 { font-size: 20px; }
.gear-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
@media (max-width: 600px) { .ti-cost { width: 96px; } }

/* ───────── Ayarlar (tek sütun, gruplu) ───────── */
.set-list { display: grid; gap: 26px; max-width: 760px; }
.set-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 4px; }
.set-card { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.set-profile { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
.set-profile .muted { margin-top: 8px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-top: 1px solid var(--line); min-height: 60px; }
.set-card > .set-row:first-child { border-top: 0; }
.set-label { min-width: 0; }
.set-label b { display: block; font-size: 14.5px; font-weight: 600; color: var(--head); }
.set-label span { display: block; font-size: 12.5px; color: var(--text); margin-top: 3px; line-height: 1.45; }
.set-ctrl { flex: none; display: flex; align-items: center; gap: 8px; }
.set-row.wrap { flex-wrap: wrap; }
.set-row.wrap .set-ctrl { flex: 1 1 100%; }
.set-row .btn.sm { height: 38px; }
.set-label { flex: 1 1 auto; }
@media (max-width: 560px) {
  .set-row { padding: 14px 16px; gap: 12px; }
  .set-row:not(.wrap) .set-label span { font-size: 12px; }
}

/* ───────── Kaydırarak silme ───────── */
.swipe { position: relative; display: grid; }
.swipe.r-lg { border-radius: var(--r-lg); }
.swipe.r-md { border-radius: 18px; }
.swipe.r-xl { border-radius: 28px; }
.swipe.r-life { border-radius: 20px; }
.swipe.reveal, .swipe.open { overflow: hidden; }
.swipe-body { position: relative; z-index: 1; touch-action: pan-y; transition: transform .28s var(--spring); }
.swipe-body.swiping { transition: none; user-select: none; -webkit-user-select: none; }
.swipe-del {
  position: absolute; top: 0; right: 0; bottom: 0; width: 92px; z-index: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 0; border-radius: 0; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
.swipe.reveal .swipe-del, .swipe.open .swipe-del { display: flex; }
.swipe-del .ico { width: 22px; height: 22px; }
.toast-undo { pointer-events: auto; margin-left: 6px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--head); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.toast { pointer-events: none; }
/* Test zamanı: zil titrer */
.chip.ring .ico { transform-origin: 50% 12%; animation: bellRing 3s ease-in-out infinite; color: var(--warn); }
@keyframes bellRing { 0%, 62%, 100% { transform: rotate(0); } 66% { transform: rotate(18deg); } 70% { transform: rotate(-16deg); } 74% { transform: rotate(12deg); } 78% { transform: rotate(-9deg); } 82% { transform: rotate(5deg); } 86% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .chip.ring .ico { animation: none; } }
/* Tank sekmeleri: telefonda parmakla kaydırılır */
.tabs-wrap { -webkit-overflow-scrolling: touch; }
.seg-tabs { touch-action: pan-x pan-y; }
@media (max-width: 900px) { .tabs-wrap { margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; scroll-padding: 0 16px; } }

/* ───────── Günlük, görevler, bugün, sağlık skoru ───────── */
.log-filter { margin: -4px 0 14px; }
.log-row, .task-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.task-row { cursor: default; }
.task-row[data-act] { cursor: pointer; }
.log-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--a); background: color-mix(in srgb, var(--a) 12%, transparent); }
.log-ic .ico { width: 18px; height: 18px; }
.log-row.t-life .log-ic { color: #a78bfa; background: color-mix(in srgb, #a78bfa 14%, transparent); }
.log-row.t-danger .log-ic { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.log-row.t-note .log-ic { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.task-row.s-danger .log-ic { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.task-row.s-warn .log-ic { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.log-main { flex: 1; min-width: 0; }
.log-main b { display: block; font-size: 14px; color: var(--head); overflow-wrap: anywhere; }
.log-main span { display: block; font-size: 12.5px; color: var(--text); margin-top: 2px; }
.log-main p { font-size: 13px; color: var(--body); margin-top: 6px; line-height: 1.45; }
.log-time { flex: none; font-size: 12px; color: var(--muted); }
.log-photo { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.log-photo.lg { width: 120px; height: 90px; }
.log-photo-row { display: flex; align-items: center; gap: 12px; }
.due-chip { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; color: var(--st); background: color-mix(in srgb, var(--st) 13%, transparent); white-space: nowrap; }
.task-row .btn.sm { flex: none; }
.amt-row { display: flex; gap: 8px; }
.amt-row input:first-child { flex: 1; min-width: 0; }
.unit-in { width: 80px; flex: none; }
.every-in { width: 96px; }
.every-in input { height: 36px; }
.gear-modal .chips .chip-btn .ico { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.suggest-card { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px dashed var(--line-2); }
.suggest-card p { font-size: 13.5px; color: var(--text); }
.suggest-card .btn { justify-self: start; }
.suggest-card .chip .ico { width: 13px; height: 13px; }
.today { margin-bottom: 8px; }
.today h2 { display: flex; align-items: center; gap: 8px; }
.today h2 .ico { width: 22px; height: 22px; color: var(--warn); transform-origin: 50% 12%; animation: bellRing 3s ease-in-out infinite; }
.notify-head { display: flex; gap: 14px; align-items: center; }
.notify-bell { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.notify-bell .ico { width: 24px; height: 24px; transform-origin: 50% 12%; animation: bellRing 2.4s ease-in-out infinite; }
.hs-ring { --c: var(--st); flex: none; position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-2) 0); }
.hs-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--card); }
.hs-ring b { position: relative; font-size: 13px; color: var(--head); }
.tc-head { gap: 12px; }
.hs-ring.big { width: 120px; height: 120px; }
.hs-ring.big::before { inset: 10px; }
.hs-ring.big b { font-size: 34px; line-height: 1; }
.hs-ring.big small { position: absolute; bottom: 30px; font-size: 11.5px; color: var(--text); }
.hs-ring.big { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.health-card { display: flex; gap: 24px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); flex-wrap: wrap; }
.hs-parts { flex: 1; min-width: 220px; display: grid; gap: 12px; }
.sr-track.hs-ok i { background: var(--ok); }
.sr-track.hs-warn i { background: var(--warn); }
.sr-track.hs-danger i { background: var(--danger); }
.task-side { flex: none; display: flex; align-items: center; gap: 8px; }
@media (max-width: 600px) { .task-side { flex-direction: column; align-items: flex-end; gap: 6px; } .task-row { align-items: flex-start; } }

/* Hesaplayıcılar ve rapor */
.tool select { width: 100%; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--head); font: inherit; }
.gear-modal select { width: 100%; height: 48px; padding: 0 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--head); font: inherit; }
.tool-out:empty { display: none; }
.to-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 3px 0; }
.to-row span { color: var(--text); }
.to-row b { color: var(--head); text-align: right; }
.report-text { white-space: pre-wrap; font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--body); padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow-wrap: anywhere; }
@media print {
  body { background: #fff !important; }
  .side, .tabbar, .no-print, .access-banner, #toast-root { display: none !important; }
  .main { padding: 0 !important; }
  .report-text { color: #000; background: #fff; border: 0; padding: 0; font-size: 11pt; }
}

/* ───────── Yasal sayfalar ───────── */
.legal { min-height: 100vh; padding: 28px 20px 80px; }
.legal-top { max-width: 780px; margin: 0 auto 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal-doc { max-width: 780px; margin: 0 auto; padding: 34px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.legal-doc h1 { font-size: 36px; margin-bottom: 14px; }
.legal-intro { font-size: 16px; line-height: 1.65; color: var(--body); }
.legal-doc section { margin-top: 28px; }
.legal-doc h2 { font-size: 19px; margin-bottom: 10px; }
.legal-doc p, .legal-doc li { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.legal-doc ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-doc b { color: var(--head); }
.legal-doc a, .legal-links a, .fine a { color: var(--a); text-decoration: underline; text-underline-offset: 3px; }
.legal-foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.legal-links a { color: var(--text); }
@media (max-width: 600px) { .legal-doc { padding: 22px 18px; } .legal-doc h1 { font-size: 28px; } }

/* ───────────── Tanıtım sayfası ───────────── */
.lp { --lp-w: 1180px; color: var(--body); }
.lp-wrap { max-width: var(--lp-w); margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }
.lp .btn.lg { padding: 15px 24px; font-size: 15.5px; border-radius: 14px; }
.lp-nav { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(5, 7, 11, .72); border-bottom: 1px solid var(--line); }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.lp-links { display: flex; gap: 26px; margin-right: auto; margin-left: 18px; }
.lp-links a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s; }
.lp-links a:hover { color: var(--head); }
.lp-nav-btns { display: flex; gap: 10px; margin-left: auto; }

.lp-hero { position: relative; padding: 84px 0 40px; overflow: hidden; }
.lp-glow { position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none;
  background: radial-gradient(600px 380px at 72% 30%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%),
              radial-gradient(520px 340px at 20% 10%, color-mix(in srgb, var(--b) 18%, transparent), transparent 70%); }
.lp-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--body); letter-spacing: .01em; }
.lp-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--a); box-shadow: 0 0 12px var(--a); }
.lp-hero h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.045em; margin: 22px 0 20px; }
.lp-lead { font-size: 18px; line-height: 1.65; color: #b3bcca; max-width: 520px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-cta.center { justify-content: center; }
.lp-note { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.lp-note .ico { width: 15px; height: 15px; color: var(--ok); }
.lp-note span { margin-right: 12px; }

.lp-shots { position: relative; padding: 0 0 56px 0; }
.lp-shots figure { margin: 0; overflow: hidden; background: #0a0e14; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-shots img { display: block; width: 100%; height: auto; }
.lp-desktop { border-radius: 16px; transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.lp-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #121821; border-bottom: 1px solid var(--line); }
.lp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3240; }
.lp-bar span { margin: 0 auto; padding: 3px 40px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 11px; color: var(--muted); }
.lp-phone { position: absolute; right: -8px; bottom: 0; width: 27%; min-width: 150px; border-radius: 34px; padding: 7px; background: #0b0f15 !important; }
.lp-phone img { border-radius: 27px; }
.lp-notch { position: absolute; top: 14px; left: 50%; width: 30%; height: 16px; transform: translateX(-50%); border-radius: 12px; background: #000; z-index: 1; }

.lp-show { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.lp-show figure { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(420px 220px at 50% 0%, color-mix(in srgb, var(--a) 10%, transparent), transparent 70%), var(--card); }
.lp-show img { display: block; width: 100%; height: auto; }
.lp-show-d > .lp-bar { border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.lp-show-d img { border-radius: 0 0 12px 12px; border: 1px solid var(--line); border-top: 0; margin-top: -14px; }
.lp-phone-f { position: relative; width: min(100%, 250px); margin: 0 auto; padding: 6px; border-radius: 34px; background: #0b0f15; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.lp-phone-f img { border-radius: 28px; }
.lp-show figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 14px; color: var(--body); }
.lp-show figcaption .ico { color: var(--a); }
@media (max-width: 900px) { .lp-show { grid-template-columns: 1fr; } .lp-phone-f { width: min(72%, 250px); } }

.lp-types { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.lp-types li { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.lp-stats { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.lp-stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-stats-in > div { padding: 30px 12px; text-align: center; }
.lp-stats-in > div + div { border-left: 1px solid var(--line); }
.lp-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--head); letter-spacing: -.03em; }
.lp-stats span { font-size: 13.5px; color: var(--text); }

.lp-sec { padding: 96px 0 0; scroll-margin-top: 60px; }
.lp-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.lp-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; }
.lp-head p:not(.eyebrow) { margin-top: 14px; font-size: 16.5px; line-height: 1.6; }
.lp-head .eyebrow { color: var(--a); }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-card { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.lp-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.lp-card h3 { margin: 18px 0 8px; font-size: 17px; }
.lp-card p { font-size: 14.5px; line-height: 1.65; }
.lp-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--a); background: color-mix(in srgb, var(--a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--a) 22%, transparent); }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.lp-steps li { position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); }
.lp-steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; color: #04111c; background: linear-gradient(135deg, var(--a), var(--b)); }
.lp-steps h3 { margin: 18px 0 8px; font-size: 17px; }
.lp-steps p { font-size: 14.5px; line-height: 1.65; }

.lp-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 18px; }
.lp-price { position: relative; padding: 32px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.lp-price.best { border-color: color-mix(in srgb, var(--a) 45%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 25%, transparent), 0 30px 70px -40px color-mix(in srgb, var(--a) 60%, transparent); }
.lp-price h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.lp-amt { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; }
.lp-amt b { font-size: 46px; font-weight: 800; color: var(--head); letter-spacing: -.04em; }
.lp-price > p:not(.lp-amt) { font-size: 14px; margin-bottom: 18px; }
.lp-price .btn { margin-top: auto; }
.lp-badge { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #04111c; background: var(--a); }
.lp-incl { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 30px 0 0; padding: 0; }
.lp-incl li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lp-incl .ico { width: 17px; height: 17px; color: var(--ok); }

.lp-apps { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(500px 220px at 90% 0%, color-mix(in srgb, var(--b) 16%, transparent), transparent 70%), var(--card); }
.lp-apps h2 { font-size: 28px; letter-spacing: -.03em; }
.lp-apps p:not(.eyebrow) { margin-top: 10px; max-width: 520px; line-height: 1.6; }
.lp-apps .eyebrow { color: var(--a); }
.lp-stores { display: flex; gap: 12px; flex: none; }
.lp-store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--head); font-weight: 700; font-size: 16px; line-height: 1.1; }
.lp-store .ico { width: 26px; height: 26px; }
.lp-store small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.lp-faq { display: grid; gap: 10px; }
.lp-faq details { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--head); font-size: 15.5px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ico { transition: transform .3s var(--ease); color: var(--muted); }
.lp-faq details[open] summary .ico { transform: rotate(180deg); }
.lp-faq details p { padding: 0 22px 20px; line-height: 1.7; }

.lp-final { position: relative; margin-top: 110px; padding: 90px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(640px 300px at 50% 100%, color-mix(in srgb, var(--a) 18%, transparent), transparent 70%), radial-gradient(500px 260px at 20% 0%, color-mix(in srgb, var(--b) 12%, transparent), transparent 70%); }
.lp-final h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
.lp-final p { margin-top: 12px; font-size: 16.5px; }
.lp-final .lp-cta { margin-top: 28px; }

.lp-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.lp-foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.lp-foot nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.lp-foot nav a { color: var(--text); }
.lp-foot nav a:hover { color: var(--head); }
.lp-foot p { color: var(--muted); }

@media (max-width: 1020px) {
  .lp-hero-in { grid-template-columns: 1fr; gap: 48px; }
  .lp-hero-copy { text-align: center; }
  .lp-lead { margin: 0 auto; }
  .lp-cta, .lp-note { justify-content: center; }
  .lp-desktop { transform: none; }
  .lp-shots { max-width: 760px; margin: 0 auto; width: 100%; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-links { display: none; }
}
@media (max-width: 720px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav-in { height: 60px; gap: 12px; }
  .lp-nav-btns .btn.ghost { padding-inline: 10px; }
  .lp-hero { padding: 48px 0 28px; }
  .lp-lead { font-size: 16.5px; }
  .lp-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lp-note { flex-wrap: wrap; }
  .lp-shots { padding-bottom: 40px; }
  .lp-phone { width: 36%; min-width: 0; border-radius: 22px; padding: 4px; right: -4px; }
  .lp-phone img { border-radius: 18px; }
  .lp-notch { top: 8px; height: 10px; }
  .lp-bar { height: 24px; }
  .lp-bar span { display: none; }
  .lp-stats-in { grid-template-columns: repeat(2, 1fr); }
  .lp-stats-in > div:nth-child(3) { border-left: 0; }
  .lp-stats-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-stats b { font-size: 28px; }
  .lp-sec { padding-top: 72px; }
  .lp-grid, .lp-steps, .lp-prices { grid-template-columns: 1fr; }
  .lp-apps { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .lp-apps h2 { font-size: 23px; }
  .lp-stores { flex-wrap: wrap; }
  .lp-final { margin-top: 80px; padding: 64px 0; }
  .lp-foot nav { margin-left: 0; }
}
@media (max-width: 380px) { .lp-nav-btns .btn.primary { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-card, .lp-card:hover { transition: none; transform: none; } }

/* Tanıtım görselleri için ekran görüntüsü modu (?shot) */
.shot .access-banner, .shot .toast, .shot .toasts, .shot .plan-chip.demo { display: none !important; }

/* ───────────── Hatırlatma penceresi ───────────── */
.notify { display: grid; gap: 16px; }
.nt-head { display: flex; align-items: flex-start; gap: 14px; }
.nt-head h3 { font-size: 19px; }
.nt-head p { margin-top: 3px; font-size: 13.5px; color: var(--text); }
.nt-late { color: var(--danger-hi); font-weight: 600; }
.nt-late::before { content: '· '; color: var(--muted); }
.nt-bell { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 22%, transparent); }
.nt-x { margin-left: auto; margin-top: -4px; }
.nt-list { display: grid; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, .015); }
.nt-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; transition: background .2s; }
.nt-row + .nt-row { border-top: 1px solid var(--line); }
.nt-row:hover { background: var(--surface); }
.nt-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; color: var(--st); background: color-mix(in srgb, var(--st) 12%, transparent); }
.nt-ic .ico { width: 17px; height: 17px; }
.nt-main { display: grid; min-width: 0; flex: 1; }
.nt-main b { font-weight: 600; font-size: 14.5px; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-main small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-tag { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: var(--st-hi); background: color-mix(in srgb, var(--st) 14%, transparent); }
.nt-more { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: -6px; }
.nt-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.nt-foot .btn { justify-content: center; }

/* Hızlı canlı ekleme (canlılar sekmesi → Canlı ekle) */
.wiz.quick .wiz-top { justify-content: space-between; }
.wiz-quick-title { display: grid; text-align: center; line-height: 1.25; }
.wiz-quick-title small { font-size: 12px; color: var(--muted); font-weight: 500; }
.wiz-quick-title b { font-size: 15px; color: var(--head); font-weight: 700; }

/* ───────────── Hesaplayıcı sonuçları ───────────── */
.tool-out { gap: 0; padding: 0; overflow: hidden; background: color-mix(in srgb, var(--ok) 5%, var(--card)); border-color: color-mix(in srgb, var(--ok) 18%, transparent); }
.tool-out > * { padding-inline: 16px; }
.tool-out .to-hero { display: grid; gap: 2px; padding-block: 14px 12px; }
.tool-out .to-hero span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--ok) 70%, var(--text)); }
.tool-out .to-hero b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--head); }
.tool-out .to-hero small { font-size: 13px; color: var(--text); }
.tool-out .to-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-block: 10px; border-top: 1px solid color-mix(in srgb, var(--ok) 12%, transparent); }
.tool-out .to-row span { font-size: 13px; line-height: 1.4; color: var(--text); }
.tool-out .to-row b { flex: none; font-size: 15px; font-weight: 700; color: var(--head); text-align: right; white-space: nowrap; }
.tool-out .to-note { display: flex; gap: 8px; align-items: flex-start; padding-block: 10px 12px; border-top: 1px solid color-mix(in srgb, var(--ok) 12%, transparent); font-size: 12.5px; line-height: 1.5; color: var(--text); }
.tool-out .to-note .ico { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--ok); }
.tool-out .to-note.warn .ico { color: var(--warn); }
.tool-out .to-note span { font-size: inherit; }
.tool-out > :first-child { border-top: 0; }

/* Tanıtım: yüzen balıklar ve canlı demo düğmesi */
.lp-fish { position: absolute; pointer-events: none; }
.lp-fish .hero-fish { width: 100%; height: 100%; }
.lp-fish.back { inset: 0; z-index: 0; opacity: .8; }
.lp-fish.front { inset: -14% -10%; z-index: 3; }
.lp-hero-in, .lp-hero .lp-wrap { position: relative; z-index: 1; }
.lp-shots .lp-desktop { position: relative; z-index: 2; }
.lp-shots .lp-phone { position: absolute; z-index: 2; }
@property --lp-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.lp-live { position: relative; gap: 10px; color: var(--head); font-weight: 700; border: 1.5px solid transparent;
  background: linear-gradient(#0a1018, #0a1018) padding-box, conic-gradient(from var(--lp-ang), #5eead4, #818cf8, #f472b6, #fbbf24, #5eead4) border-box;
  box-shadow: 0 0 34px -10px rgba(94, 234, 212, .65), 0 0 0 4px rgba(94, 234, 212, .05); animation: lpSpin 5s linear infinite; }
.lp-live:hover { box-shadow: 0 0 44px -8px rgba(129, 140, 248, .8), 0 0 0 4px rgba(129, 140, 248, .1); transform: translateY(-1px); }
.lp-live .ico { transition: transform .25s var(--ease); }
.lp-live:hover .ico { transform: translateX(3px); }
.lp-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d399; flex: none; }
.lp-live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: lpPing 1.6s ease-out infinite; }
@keyframes lpSpin { to { --lp-ang: 360deg; } }
@keyframes lpPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 720px) { .lp-fish.back { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .lp-live, .lp-live-dot::after { animation: none; } .lp-fish { display: none; } }

/* ───────────── Derli toplu formlar (ekipman, istek listesi, günlük, görev) ───────────── */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid .field { min-width: 0; }
.form-grid input { width: 100%; min-width: 0; }
select.sel { width: 100%; min-width: 0; height: 48px; padding: 0 38px 0 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--head); font: inherit; font-weight: 500;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23939cab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.sel:focus { outline: none; border-color: color-mix(in srgb, var(--a) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent); }
.sel option { background: #0c1017; color: var(--head); }
.chips.quick { gap: 6px; margin-top: -4px; }
.chips.quick .chip-btn { padding: 6px 11px; font-size: 12.5px; }
.form-hint { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: 12.5px; line-height: 1.5; color: var(--text); }
.form-hint .ico { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--a); }
.form-foot { position: sticky; bottom: -28px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px -28px -28px; padding: 14px 28px 18px;
  background: linear-gradient(180deg, rgba(12, 16, 23, .6), #0c1017 40%); border-top: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
input[type="date"], input[type="datetime-local"] { width: 100%; min-width: 0; -webkit-appearance: none; appearance: none; }
@media (max-width: 900px) {
  /* Telefonda alttan açılan pencere: küçük/geniş türleri de görünür olsun */
  .modal.in .sheet, .modal.in.wide .sheet, .modal.in.small .sheet { transform: none; }
  .sheet { overflow-x: hidden; overscroll-behavior: contain; }
  .form-foot { bottom: calc(-24px - env(safe-area-inset-bottom)); margin: 4px -20px calc(-24px - env(safe-area-inset-bottom)); padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .form-foot .btn { padding-inline: 14px; }
  .form-foot .btn.danger span { display: none; }
}
/* iPhone, 16 pikselden küçük yazılı kutulara dokununca sayfayı büyütür; bunu önle */
@media (pointer: coarse) { input, select, textarea, .sel { font-size: 16px; } }
.form-grid .amt-row input:first-child { flex: 1; width: auto; }
.form-grid .amt-row .unit-in { flex: none; width: 68px; padding-inline: 12px; }

/* Seçilen canlılar listesi: telefonda isim + açıklama üstte, adet / tutar / kaldır altta */
@media (max-width: 600px) {
  .tray-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "main main main" "step cost del"; gap: 10px 10px; padding: 14px; }
  .tray-item .ti-main { grid-area: main; min-width: 0; }
  .tray-item .ti-main p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; }
  .tray-item .stepper { grid-area: step; }
  .tray-item .ti-cost { grid-area: cost; width: auto; min-width: 0; }
  .tray-item > .icon-btn { grid-area: del; }
}
.lp-note { flex-wrap: wrap; gap: 6px 16px; }
.lp-note span { display: inline-flex; align-items: center; gap: 6px; margin-right: 0; white-space: nowrap; }
