/* GymLog — koyu öncelikli, telefon için tasarlanmış arayüz. */
:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --surface: #17191c;
  --surface-2: #1f2226;
  --surface-3: #282c31;
  --line: #2b2f34;
  --text: #f2f2ef;
  --text-2: #b9bcc2;
  --muted: #8a8e95;
  --acc-d: #c6f24e;
  --on-d: #12160a;
  --acc-l: #4e7d0e;
  --on-l: #ffffff;
  --accent: var(--acc-d);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --on-accent: var(--on-d);
  --danger: #ff6b6b;
  --warn: #fab219;
  --good: #0ca30c;
  --series: #3987e5;
  --series-soft: rgba(57, 135, 229, 0.12);
  --heat-0: #24272b;
  --heat-1: #184f95;
  --heat-2: #3987e5;
  --grid: #2c2c2a;
  --axis: #383835;
  --fig: #e9ebee;
  --gear: #8d939b;
  --scene: #3c4047;
  --scene-fill: #2a2e33;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --nav-h: 64px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #f0f0ec;
  --surface-3: #e6e6e1;
  --line: #e1e0d9;
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #76756f;
  --accent: var(--acc-l);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --on-accent: var(--on-l);
  --danger: #d03b3b;
  --series: #2a78d6;
  --series-soft: rgba(42, 120, 214, 0.1);
  --heat-0: #ecebe6;
  --heat-1: #9ec5f4;
  --heat-2: #2a78d6;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --fig: #24272b;
  --gear: #7c828a;
  --scene: #c4c8cd;
  --scene-fill: #e4e6e9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f4f4f1;
    --surface: #ffffff;
    --surface-2: #f0f0ec;
    --surface-3: #e6e6e1;
    --line: #e1e0d9;
    --text: #0b0b0b;
    --text-2: #52514e;
    --muted: #76756f;
    --accent: var(--acc-l);
    --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
    --on-accent: var(--on-l);
    --danger: #d03b3b;
    --series: #2a78d6;
    --series-soft: rgba(42, 120, 214, 0.1);
    --heat-0: #ecebe6;
    --heat-1: #9ec5f4;
    --heat-2: #2a78d6;
    --grid: #e1e0d9;
    --axis: #c3c2b7;
    --fig: #24272b;
    --gear: #7c828a;
    --scene: #c4c8cd;
    --scene-fill: #e4e6e9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
}
/* Vurgu renkleri (Ayarlar → Renk). d: koyu tema, l: açık tema; on: vurgu üstündeki yazı */
[data-accent="lime"] { --acc-d: #c6f24e; --on-d: #12160a; --acc-l: #4e7d0e; --on-l: #ffffff; }
[data-accent="pink"] { --acc-d: #ff7eb6; --on-d: #2b0717; --acc-l: #c2185b; --on-l: #ffffff; }
[data-accent="purple"] { --acc-d: #b69cff; --on-d: #1a0f33; --acc-l: #6d4ad8; --on-l: #ffffff; }
[data-accent="blue"] { --acc-d: #6cb4ff; --on-d: #06182b; --acc-l: #1f6fd1; --on-l: #ffffff; }
[data-accent="teal"] { --acc-d: #4fe3c1; --on-d: #04211a; --acc-l: #0b7d68; --on-l: #ffffff; }
[data-accent="orange"] { --acc-d: #ffa04d; --on-d: #2b1400; --acc-l: #c4520a; --on-l: #ffffff; }
[data-accent="gold"] { --acc-d: #ffd23f; --on-d: #2b2200; --acc-l: #8f6a00; --on-l: #ffffff; }
[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
code { font-family: ui-monospace, "Cascadia Mono", Menlo, monospace; font-size: 0.88em; background: var(--surface-2); padding: 1px 5px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0.4em 0; }

#view {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));
}
.page { padding-top: max(12px, env(safe-area-inset-top)); }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 14px; }
.page-head h1 { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.page-head .sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.page-head.sticky { position: sticky; top: 0; z-index: 5; background: var(--bg); margin: 0 -16px; padding: max(10px, env(safe-area-inset-top)) 16px 12px; border-bottom: 1px solid var(--line); }
.page-head.sticky h1 { font-size: 20px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.pad { padding: 18px 8px; }
.pad-x { padding: 0 2px 8px; }
.mt { margin-top: 14px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 10px; }
.clamp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Izgara sütunları içerikten geniş olmasın (uzun tek satırlık metinler taşmasın) */
.list, .stack, .items, .editor, .pick-list, .menu, .detail, .form, .hist-mini, .lines, .sets { grid-template-columns: minmax(0, 1fr); }

.ic { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* Kartlar ve listeler */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-head h2 { font-size: 17px; }
.section { margin-top: 20px; }
.section-title { font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 18px 2px 8px; }
.list { display: grid; gap: 8px; }
.row-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: left; }
.row-card .grow { cursor: pointer; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 0.08s ease, background 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.danger { background: var(--danger); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.ghost.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.btn.block { display: flex; width: 100%; }
.btn.lg { min-height: 54px; font-size: 17px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.sm .ic { width: 17px; height: 17px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); flex: none; }
.icon-btn:active { background: var(--surface-2); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm .ic { width: 16px; height: 16px; }

/* Form */
.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text); outline: none;
}
.input:focus { border-color: var(--accent); }
.input.sm { min-height: 36px; padding: 6px 10px; }
textarea.input { resize: vertical; min-height: 70px; }
.input.mono { font-family: ui-monospace, "Cascadia Mono", Menlo, monospace; font-size: 14px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; margin-bottom: 10px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.field:last-child { margin-bottom: 0; }
.w-kg { width: 96px; flex: none; }
.form { display: grid; gap: 4px; }
.help { margin: 4px 0 10px; padding-left: 18px; display: grid; gap: 4px; }

/* Çipler ve sekmeler */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll-x { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px; scrollbar-width: none; }
.chips.scroll-x::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 600; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chips.static .chip { cursor: default; }
.seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg-btn { flex: 1; border: 0; background: transparent; padding: 7px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg-btn.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }

/* Alt menü */
#nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: center; gap: 2px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.nav-item { flex: 1; max-width: 110px; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; }
.nav-item .ic { width: 23px; height: 23px; }
.nav-item.on { color: var(--accent); }
.nav-item.on .ic { background: var(--accent-soft); border-radius: 10px; padding: 2px; width: 30px; margin: 0 -3px; }

/* Başlangıç ekranı */
.welcome h2 { font-size: 22px; margin-bottom: 6px; }
.welcome p { color: var(--text-2); margin-bottom: 16px; }
.status { display: flex; gap: 8px; margin-bottom: 12px; }
.status > div { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.status span { font-size: 12px; }
.status b { font-size: 16px; }
.suggest { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(160deg, var(--accent-soft), transparent 60%), var(--surface); }
.suggest h2 { font-size: 22px; margin: 4px 0 10px; }
.suggest-top { display: flex; justify-content: space-between; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.kicker .ic { width: 16px; height: 16px; }
.suggest .btn { margin-top: 10px; }
.mini-anims { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.date-badge { width: 46px; flex: none; display: grid; justify-items: center; background: var(--surface-2); border-radius: 12px; padding: 6px 0; }
.date-badge b { font-size: 18px; line-height: 1.1; }
.date-badge span { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.weigh .ic { color: var(--muted); }
.weigh .input { width: 84px; min-height: 36px; padding: 6px 10px; }
.banner { display: flex; align-items: center; gap: 10px; background: var(--series-soft); border: 1px solid color-mix(in srgb, var(--series) 40%, transparent); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.banner.warn { background: rgba(250, 178, 25, 0.12); border-color: rgba(250, 178, 25, 0.4); }

/* Animasyon kutuları */
.anim-box { flex: none; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; overflow: hidden; }
.anim-box.xs { width: 38px; height: 38px; border-radius: 9px; }
.anim-box.sm { width: 56px; height: 56px; }
.anim-box.md { width: 100%; aspect-ratio: 1; }
.anim-box.lg { width: 190px; height: 190px; border-radius: 22px; }
.anim { width: 100%; height: 100%; display: block; }
.anim .seg { stroke: var(--fig); stroke-width: 5; stroke-linecap: round; }
.anim .seg.torso { stroke-width: 8; }
.anim .seg.shoulders { stroke-width: 9; }
.anim .seg.toe { stroke-width: 4; }
.anim .body { fill: var(--fig); stroke: var(--fig); stroke-width: 5; stroke-linejoin: round; }
.anim .hl { stroke: var(--accent); }
.anim .body.hl { fill: var(--accent); stroke: var(--accent); }
.anim .delt { fill: var(--accent); }
.anim .head { fill: var(--fig); }
.anim .far { opacity: 0.42; }
.anim .gear rect, .anim .gear circle { fill: var(--gear); }
.anim .gear .plate { fill: var(--gear); stroke: var(--surface-2); stroke-width: 1.2; }
.anim .gear .hub { fill: var(--surface-2); }
.anim .gear .gl { stroke: var(--gear); stroke-width: 2.4; stroke-linecap: round; }
.anim .gear .gl.thick { stroke-width: 3.4; }
.anim .gear .plate-line { stroke-width: 4.5; }
.anim .gear .cable { stroke: var(--gear); stroke-width: 1.3; }
.anim .scene .sc { stroke: var(--scene); stroke-width: 2; stroke-linecap: round; fill: none; }
.anim .scene .sc.thick { stroke-width: 4; }
.anim .scene .sc-fill { fill: var(--scene-fill); stroke: var(--scene); stroke-width: 1; }
.anim .scene .sc-fill.soft { opacity: 0.6; }

/* Antrenman düzenleyici */
.editor { display: grid; gap: 0; }
.meta { margin-top: 12px; }
.items { display: grid; gap: 12px; margin-bottom: 12px; }
.ex-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.ex-card.skipped { opacity: 0.62; }
.ex-card.skipped .sets { filter: grayscale(1); }
.ex-head { display: flex; gap: 12px; align-items: flex-start; }
.anim-btn { padding: 0; border: 0; background: none; border-radius: 12px; }
.ex-title { flex: 1; min-width: 0; display: grid; gap: 2px; padding-top: 2px; }
.ex-title b { font-size: 16.5px; }
.ex-prev { color: var(--text-2); }
.ex-prev b { color: var(--text); font-weight: 650; }
.prev-note { color: var(--muted); font-style: italic; }
.skip-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--warn); font-weight: 650; font-size: 14px; }
.skip-badge .ic { width: 16px; height: 16px; }
.sets { display: grid; gap: 6px; margin-top: 12px; }
.set-row { display: grid; grid-template-columns: 24px repeat(var(--cols, 2), minmax(0, 1fr)) 40px 30px; gap: 5px; align-items: center; position: relative; }
.set-row:has(.small) { grid-template-columns: 22px minmax(0, 1fr) 104px 42px 40px 30px; }
.sets.plan .set-row { grid-template-columns: 24px repeat(var(--cols, 2), minmax(0, 1fr)) 30px; }
.sets.plan .set-row:has(.small) { grid-template-columns: 22px minmax(0, 1fr) 104px 42px 30px; }
.set-row .set-del { width: 26px; justify-self: end; color: var(--muted); }
.cell { position: relative; display: block; min-width: 0; }
.cell .set-in { min-height: 48px; padding-bottom: 12px; }
.cell .unit { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.rep-step { display: flex; min-width: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; }
.rep-step:focus-within { border-color: var(--accent); }
.rep-step .cell { flex: 1; }
.rep-step .set-in, .rep-step .set-in:focus { border: 0; border-radius: 0; background: transparent; padding-left: 0; padding-right: 0; }
.rep-btn { position: relative; overflow: hidden; flex: none; width: 28px; border: 0; background: var(--surface-3); color: var(--text); font-size: 19px; font-weight: 700; line-height: 1; touch-action: manipulation; }
.rep-btn:active { background: var(--accent-soft); color: var(--accent); }
.set-row.done .rep-step { background: var(--accent-soft); border-color: transparent; }
.set-row.done .rep-step .set-in { background: transparent; }
.set-row.done .unit { color: var(--accent); }
.drop-hint { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 8px 4px 8px 12px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 13px; line-height: 1.35; }
.drop-hint span { flex: 1; padding-top: 4px; }
.drop-hint b { color: var(--text); }
.set-no { text-align: center; font-weight: 700; color: var(--muted); font-size: 14px; }
.set-in {
  width: 100%; min-height: 44px; text-align: center; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); font-size: 17px; font-weight: 650; outline: none;
  font-variant-numeric: tabular-nums;
}
.set-in::placeholder { color: var(--muted); opacity: 0.55; font-weight: 500; }
.set-in:focus { border-color: var(--accent); background: var(--surface-3); }
.set-in.small { font-size: 15px; }
.set-row.pr .set-no { color: var(--accent); }
.set-row.pr > .cell:first-of-type .set-in { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.note-wrap { margin-top: 10px; }
.note-in { min-height: 40px; font-size: 15px; }
.ex-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.ex-actions .btn { color: var(--text-2); font-weight: 600; padding: 6px 4px; gap: 5px; font-size: 13.5px; border-color: transparent; background: var(--surface-2); }
.sheet .ex-actions .btn { background: var(--surface); }
.ex-actions .btn .ic { width: 15px; height: 15px; }
.add-ex {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 56px; border-radius: var(--radius); border: 1.5px dashed var(--line);
  background: transparent; color: var(--accent); font-weight: 700; font-size: 16px; margin-bottom: 12px;
}
.moods { display: flex; gap: 6px; }
.mood { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.mood span { font-size: 22px; line-height: 1; filter: grayscale(0.7); }
.mood small { font-size: 11px; color: var(--muted); }
.mood.on { border-color: var(--accent); background: var(--accent-soft); }
.mood.on span { filter: none; }

/* Hareket seçici */
.pick-tools { position: sticky; top: -1px; z-index: 2; background: var(--surface); padding: 2px 0 6px; display: grid; gap: 10px; }
.pick-tools .chips.scroll-x { margin-bottom: 0; }
.pick-list { display: grid; gap: 4px; padding-bottom: 8px; }
.pick-row { display: flex; align-items: center; gap: 12px; text-align: left; padding: 8px; border-radius: 14px; border: 0; background: transparent; }
.pick-row:active { background: var(--surface-2); }
.pick-row .grow { display: grid; gap: 2px; }
.count { font-size: 13px; color: var(--muted); font-weight: 650; }

/* Alt sayfa */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.2s; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; max-height: 88dvh;
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: 22px 22px 0 0; box-shadow: var(--shadow);
  transform: translateY(40px); opacity: 0; transition: transform 0.34s cubic-bezier(.2, 1.15, .3, 1), opacity 0.18s;
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.full { height: 94vh; height: 94dvh; max-height: none; }
.sheet-wrap.open .backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; opacity: 1; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 14px 10px 8px 18px; }
.sheet-title { flex: 1; font-size: 18px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.sheet-foot[hidden] { display: none; }
.sheet .card { background: var(--surface-2); }
.sheet .ex-card { background: var(--surface-2); }
.sheet .set-in, .sheet .input, .sheet .rep-step { background: var(--surface); }
.sheet .anim-box { background: var(--surface-2); }
.sheet .ex-card .anim-box { background: var(--surface); }
.sheet.dialog { max-width: 420px; border-radius: 22px; margin-bottom: max(16px, env(safe-area-inset-bottom)); width: calc(100% - 32px); }
.sheet-wrap:has(.dialog) { align-items: center; }
.dialog-text { font-size: 16px; color: var(--text-2); }
.menu { display: grid; gap: 2px; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border: 0; background: transparent; border-radius: 12px; text-align: left; font-weight: 600; }
.menu-item:active { background: var(--surface-2); }
.menu-item .ic { color: var(--muted); }
.menu-item.danger { color: var(--danger); }
.menu-item.danger .ic { color: var(--danger); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 14px;
  transition: opacity 0.2s, transform 0.32s cubic-bezier(.3, 1.6, .5, 1); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Özet kutucukları */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.sheet .tile { background: var(--surface-2); }
.tile-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tile-value { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.tile-delta { font-size: 12.5px; color: var(--text-2); }
.prs { background: var(--accent-soft); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.prs h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--accent); margin-bottom: 6px; }
.pr-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 15px; }
.pr-ic { width: 15px; height: 15px; color: var(--accent); }

/* Geçmiş */
.month { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; margin: 22px 2px 10px; }
.month span { font-size: 13px; font-weight: 600; }
.session-card { display: flex; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.session-card:active { background: var(--surface-2); }
.session-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.lines { display: grid; gap: 3px; }
.line { display: flex; gap: 8px; align-items: center; font-size: 14.5px; flex-wrap: wrap; }
.line b { flex: 0 0 104px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line > span:nth-child(2) { flex: 1; min-width: 0; }
.line span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.line.skipped span:not(.ic) { text-decoration: line-through; color: var(--muted); }
.session-note { font-size: 14px; color: var(--muted); font-style: italic; margin: 8px 0 0; }
.session-note.big { font-size: 15px; background: var(--surface-2); padding: 10px 12px; border-radius: 12px; }
.weigh-row { color: var(--text-2); }
.weigh-row .ic { color: var(--muted); }
.detail { display: grid; gap: 10px; }
.detail-ex { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.detail-ex.skipped { opacity: 0.6; }
.detail-sets { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 14.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.tag { margin-left: 8px; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(250, 178, 25, 0.16); color: var(--warn); }

/* Hareket detayı ve kütüphane */
.anim-hero { display: grid; place-items: center; margin: 4px 0 10px; }
.ex-name { font-size: 21px; }
.tip { display: flex; gap: 10px; background: var(--surface-2); padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-size: 14.5px; }
.tip .ic { color: var(--accent); margin-top: 1px; }
.hist-mini { display: grid; gap: 2px; }
.hist-row { display: grid; grid-template-columns: 96px 1fr; gap: 2px 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.hist-row .small { grid-column: 2; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ex-tile { display: grid; gap: 4px; text-align: left; padding: 8px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.ex-tile b { font-size: 14.5px; line-height: 1.25; }
.ex-tile .anim-box { margin-bottom: 4px; }
.hidden-ex { margin-top: 20px; }
.hidden-ex summary { color: var(--muted); font-weight: 600; padding: 8px 2px; cursor: pointer; }
.anim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-rows: max-content; gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.anim-choice .anim-box.sm { width: 80px; height: 80px; }
.pick-row .anim-box.sm { width: 64px; height: 64px; }
.anim-choice { display: grid; justify-items: center; gap: 4px; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 11.5px; color: var(--text-2); }
.anim-choice.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.plan-card .mini-anims { margin-top: 10px; }
.plan-card .btn { margin-top: 8px; }
.plan-pick { margin-bottom: 0; }
.plan-pick input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }

/* Gelişim */
.hero { display: grid; justify-items: center; text-align: center; padding: 8px 0 16px; gap: 2px; }
.hero-num { font-size: 64px; line-height: 1; font-weight: 750; letter-spacing: -0.03em; }
.chart-host { position: relative; width: 100%; }
.chart-svg { display: block; max-width: none; touch-action: pan-y; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--series-soft); }
.chart .dot { fill: var(--series); stroke: var(--surface); stroke-width: 1.5; }
.chart .end { fill: var(--series); stroke: var(--surface); stroke-width: 2; }
.chart .cross { stroke: var(--muted); stroke-width: 1; }
.chart .goal { stroke: var(--muted); stroke-width: 1; }
.chart .goal-label { fill: var(--text-2); font-size: 11px; font-weight: 600; }
.chart .bar { fill: var(--series); }
.chart .val { fill: var(--text-2); font-size: 11.5px; font-weight: 600; }
.chart .cell.l0 { fill: var(--heat-0); }
.chart .cell.l1 { fill: var(--heat-1); }
.chart .cell.l2 { fill: var(--heat-2); }
.heat-scroll { overflow-x: auto; scrollbar-width: thin; }
.chart-tip {
  position: absolute; z-index: 3; display: none; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 7px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.35;
  box-shadow: var(--shadow); max-width: 240px;
}
.chart-tip b { display: block; font-size: 14px; }
.chart-tip span { display: block; opacity: 0.85; }
.chart-tip .tip-small { opacity: 0.7; font-size: 11.5px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.legend i.l2 { background: var(--heat-2); }
.legend i.l1 { background: var(--heat-1); }
.ex-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.ex-stats .tile { background: var(--surface-2); padding: 8px 10px; }
.ex-stats .tile-value { font-size: 16px; }
.card .seg { margin-bottom: 10px; }
.card-head .seg { margin-bottom: 0; }
.hbar { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.hbar-track { height: 12px; }
.hbar-fill { display: block; height: 100%; background: var(--series); border-radius: 0 4px 4px 0; min-width: 4px; }
.hbar-val { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.pr-table { display: grid; }
.pr-line { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 15px; }
.pr-line:last-child { border-bottom: 0; }
.pr-line b { font-variant-numeric: tabular-nums; }
.pr-line .small { width: 52px; text-align: right; }

/* Ayarlar */
.setting-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; }
.setting-row .grow { display: grid; gap: 2px; }
.setting-row > .ic { color: var(--accent); }
.setting-row .chev { transform: rotate(180deg); color: var(--muted); width: 18px; height: 18px; }
.setting-row.danger > .ic, .setting-row.danger b { color: var(--danger); }
.about { text-align: center; padding: 28px 8px 8px; display: grid; gap: 2px; }
.about a { display: inline-flex; align-items: center; gap: 4px; }
.about .ic { width: 15px; height: 15px; }

/* İçe aktarma */
.import-card { padding: 12px; margin-bottom: 0; }
.import-card.warn { border-color: rgba(250, 178, 25, 0.55); }
.import-card .lines { margin-top: 8px; }
.warn-ic { color: var(--warn); font-size: 13px; }

@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheet { border-radius: 22px; margin-bottom: 16px; }
  .sheet-wrap { align-items: center; }
  .sheet.full { height: 88vh; }
}
/* ---------- Hareket ve dokunma hissi ---------- */
.btn, .chip, .seg-btn, .nav-item, .set-check, .pick-row, .menu-item, .setting-row, .ex-tile, .session-card, .mood, .add-ex, .anim-choice, .suggest-chip, .icon-btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.2; transform: scale(0); pointer-events: none; animation: ripple 0.6s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.pop { animation: pop 0.38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.page-in { animation: pageIn 0.32s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.rise { animation: rise 0.45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes shimmer { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
@keyframes pulse { to { transform: scale(1.08); } }
@keyframes shake { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 6px)); } 75% { transform: translateX(calc(-50% + 6px)); } }
@keyframes glow { from { filter: drop-shadow(0 0 0 transparent); } to { filter: drop-shadow(0 0 6px var(--accent)); } }
@keyframes mIn { from { opacity: 0; transform: scale(.9); } }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

/* Set tamamlama */
.set-check { width: 40px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--muted); display: grid; place-items: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.set-check .ic { width: 20px; height: 20px; }
.set-check.done { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 0 0 4px var(--accent-soft); }
.set-row.done .set-in { background: var(--accent-soft); border-color: transparent; }
.set-row.done .set-no { color: var(--accent); }
.sheet .set-check { background: var(--surface); }

/* Dinlenme sayacı */
.rest {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 10px; border-radius: 26px;
  width: calc(100% - 24px); max-width: 460px;
  background: color-mix(in srgb, var(--surface-3) 92%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateX(-50%) translateY(160%); opacity: 0; pointer-events: none;
  transition: transform 0.4s cubic-bezier(.2, 1.3, .3, 1), opacity 0.25s;
}
.rest.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.rest-ring { width: 62px; height: 62px; flex: none; transform: rotate(-90deg); }
.rest-ring .track { fill: none; stroke: var(--line); stroke-width: 4.5; }
.rest-ring .bar { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; transition: stroke-dashoffset 0.25s linear; }
.rest-text { display: grid; flex: 1; min-width: 0; }
.rest-time { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.rest-label { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.rest-btn { flex: none; border: 0; background: var(--surface); color: var(--text); border-radius: 14px; height: 48px; min-width: 52px; padding: 0 8px; font-weight: 750; font-size: 15px; }
.rest-btn.x { min-width: 44px; padding: 0; color: var(--muted); font-size: 17px; }
.rest.soon .rest-time { color: var(--warn); animation: pulse 0.5s ease-in-out infinite alternate; }
.rest.done { background: var(--accent); border-color: transparent; animation: shake 0.45s ease 2; }
.rest.done .rest-time, .rest.done .rest-label { color: var(--on-accent); }
.rest.done .rest-ring .track { stroke: rgba(0, 0, 0, 0.15); }
.rest.done .rest-btn { background: rgba(0, 0, 0, 0.12); color: var(--on-accent); }

/* Öneri, işaretler, makine ayarı, süperset */
.suggest-chip {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent); text-align: left;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%) 0 0 / 250% 100% no-repeat, var(--accent-soft);
  animation: shimmer 3s linear infinite;
}
.suggest-chip span { display: grid; }
.suggest-chip small { color: var(--text-2); font-size: 12px; }
.bump-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; border: 0; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 650; }
.bump-badge .ic, .setup .ic { width: 14px; height: 14px; }
.setup { display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; margin-top: 5px; padding: 3px 9px; border-radius: 8px; border: 0; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; text-align: left; }
.setup .ic { color: var(--warn); }
.sheet .setup { background: var(--surface); }
.tip.setup-tip .ic { color: var(--warn); }
.ex-card.in-ss { border-left: 3px solid var(--series); }
.ss-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -6px 0; color: var(--series); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ss-link .ic { width: 14px; height: 14px; }
.banner.install { padding: 8px 8px 8px 12px; }
.banner.install > .ic { color: var(--series); }
.banner.comeback { align-items: flex-start; background: rgba(250, 178, 25, 0.12); border-color: rgba(250, 178, 25, 0.45); margin: 12px 0 0; }
.banner.comeback > .ic { color: var(--warn); margin-top: 2px; }
.banner.comeback p { margin: 2px 0 0; color: var(--text-2); }
.banner.comeback .stack { flex: none; gap: 6px; }
.elapsed { font-variant-numeric: tabular-nums; }

/* Haftalık hedef halkası */
.ring { position: relative; display: grid; place-items: center; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--line); stroke-width: 4; }
.ring .bar { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.3, .8, .3, 1); }
.ring span { position: relative; font-size: 11.5px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ring.full { animation: glow 1.6s ease-in-out infinite alternate; }
.status .goal-tile { display: flex; align-items: center; gap: 8px; }
.status .goal-tile > div { display: grid; gap: 2px; min-width: 0; }
.goal-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.goal-row .ring span { font-size: 16px; }

/* Kas haritası */
.bm-figs { display: flex; justify-content: center; gap: 16px; }
.bm-fig { margin: 0; text-align: center; width: 46%; max-width: 150px; }
.bm-fig svg { width: 100%; height: auto; display: block; }
.bm-fig figcaption { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bm .b { fill: var(--surface-3); }
.bm .m { fill: color-mix(in srgb, var(--fig) 14%, var(--surface-2)); stroke: var(--surface); stroke-width: 1.5; cursor: pointer; transform-box: fill-box; transform-origin: center; transition: fill 0.4s; animation: mIn 0.6s cubic-bezier(.2, 1.2, .3, 1) both; animation-delay: var(--d, 0ms); }
.bm .m.lv1 { fill: color-mix(in srgb, var(--accent) 38%, var(--scene-fill)); }
.bm .m.lv2 { fill: color-mix(in srgb, var(--accent) 70%, var(--scene-fill)); }
.bm .m.lv3 { fill: var(--accent); }
.bm .m.sel { stroke: var(--text); stroke-width: 2; }
.bm-cap { text-align: center; margin: 6px 0 10px; min-height: 18px; }
.summary-map { margin: 2px 0 12px; }
.summary-map .bm-fig { max-width: 110px; }

/* Anahtar ve sayı düğmesi */
.toggle-row { display: flex; align-items: center; gap: 12px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); cursor: pointer; }
.toggle-row p { margin: 2px 0 0; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch .knob { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); transition: background 0.2s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.28s cubic-bezier(.3, 1.5, .5, 1); }
.switch input:checked + .knob { background: var(--accent); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--accent); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 2px; flex: none; }
.stepper .icon-btn { font-size: 20px; color: var(--text); }
.stepper-val { min-width: 26px; text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; }

/* Ölçüler */
.measure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.tiles.measure-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.measure-tiles .tile-value { font-size: 16px; }

/* Grafik animasyonları */
.chart .area { animation: fadeIn 0.9s ease both; }
.chart .dot, .chart .end { animation: fadeIn 0.5s 0.6s both; }
.chart .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: growY 0.7s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(var(--i, 0) * 45ms); }
.chart .bar.dim { opacity: 0.4; }
.chart .val { animation: fadeIn 0.5s 0.45s both; }
.chart .cell { animation: fadeIn 0.35s both; animation-delay: calc(var(--w, 0) * 14ms); }
.hbar-fill { transform-origin: left; animation: growX 0.8s cubic-bezier(.2, .9, .3, 1) both; }
.chart .goal-label { paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.ex-card.pop { animation: cardFlash 0.8s ease; }
@keyframes cardFlash { 30% { box-shadow: 0 0 0 3px var(--series); } }

/* Bu haftanın kartı */
.week-card { display: flex; align-items: center; gap: 14px; }
.week-card .grow { display: grid; gap: 2px; }
.week-card .ring span { font-size: 13px; }
.week-dots { display: flex; gap: 5px; margin-top: 6px; }
.week-dots span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; background: var(--surface-2); color: var(--muted); animation: mIn 0.45s cubic-bezier(.2, 1.4, .3, 1) both; animation-delay: var(--d, 0ms); }
.week-dots span.on { background: var(--accent); color: var(--on-accent); }
.week-dots span.today { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Renk seçici */
.swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.swatch { display: grid; justify-items: center; gap: 5px; min-width: 0; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.swatch .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-d); color: var(--on-d); transition: transform 0.2s, box-shadow 0.2s; }
.swatch .dot .ic { width: 18px; height: 18px; }
.swatch .name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch.on { color: var(--text); }
.swatch.on .dot { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--acc-d); }
:root[data-theme="light"] .swatch .dot { background: var(--acc-l); color: var(--on-l); }
:root[data-theme="light"] .swatch.on .dot { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--acc-l); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .swatch .dot { background: var(--acc-l); color: var(--on-l); }
  :root:not([data-theme="dark"]) .swatch.on .dot { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--acc-l); }
}

/* Motivasyon sesleri */
.hype-btn { background: var(--accent-soft); font-size: 21px; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.hype-btn.pop { animation: wiggle 0.5s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg) scale(1.15); } 45% { transform: rotate(14deg) scale(1.1); } 70% { transform: rotate(-8deg); } }
.hype-pop {
  position: fixed; left: 50%; top: 38%; z-index: 90; width: min(92vw, 460px);
  display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-3deg); animation: hypeIn 0.5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.hype-pop .e { font-size: 64px; line-height: 1; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }
.hype-pop b {
  font: 900 clamp(30px, 9vw, 46px)/1.05 Impact, "Arial Black", system-ui, sans-serif; text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 1.5px #000; text-shadow: 0 3px 0 #000, 3px 3px 0 #000, -3px 3px 0 #000, 0 0 28px var(--accent);
}
.hype-pop.out { animation: hypeOut 0.5s ease-in forwards; }
@keyframes hypeIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-12deg); } to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); } }
@keyframes hypeOut { to { opacity: 0; transform: translate(-50%, -75%) scale(1.15) rotate(-3deg); } }
.hype-grid { display: grid; gap: 6px; margin-top: 12px; }
.hype-tile { display: flex; gap: 6px; }
.hype-play { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; position: relative; overflow: hidden; }
.hype-play .e { flex: none; width: 32px; font-size: 26px; text-align: center; }
.hype-play .grow { display: grid; min-width: 0; }
.hype-play b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hype-fav { flex: none; width: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 21px; position: relative; overflow: hidden; }
.hype-tile.fav .hype-fav { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.hype-tile.fav .hype-play { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
