/* Kocly Odak — uygulamaya özgü stiller */

.timer-card {
  --accent: var(--yellow);
  position: relative;
  padding: 16px 16px 22px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(246, 189, 53, .14), transparent 70%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 18px 40px rgba(15, 58, 66, .3);
  transition: background .4s;
}
.timer-card[data-mode="short"], .timer-card[data-mode="long"] {
  --accent: #8fe0b9;
  background:
    radial-gradient(80% 60% at 50% 40%, rgba(143, 224, 185, .18), transparent 70%),
    linear-gradient(160deg, #2a7a68 0%, #134a43 100%);
}
.mode-seg { background: rgba(255, 255, 255, .1); box-shadow: none; }
.mode-seg button { color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.mode-seg button[aria-pressed="true"] { background: #fff; color: var(--teal-deep); box-shadow: none; }

.dial { position: relative; width: min(78vw, 300px); aspect-ratio: 1; margin: 18px auto 10px; }
.dial svg { width: 100%; height: 100%; }
.dial .track { fill: rgba(0, 0, 0, .12); stroke: rgba(255, 255, 255, .12); stroke-width: 14; }
.dial #ticks line { stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-linecap: round; }
.dial .prog { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .25s linear; filter: drop-shadow(0 0 8px rgba(246, 189, 53, .45)); }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.time { font-size: clamp(48px, 16vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.dial-label { margin-top: 8px; font-size: 14px; font-weight: 500; opacity: .85; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cycle { display: flex; gap: 6px; margin-top: 10px; }
.cycle i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cycle i.on { background: var(--accent); }

.controls { display: flex; justify-content: center; align-items: center; gap: 22px; }
.ctl { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: transform .12s, background .2s; }
.ctl svg { width: 22px; height: 22px; }
.ctl:active { transform: scale(.93); }
.ctl.main { width: 82px; height: 82px; background: var(--accent); color: var(--teal-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.ctl.main svg { width: 32px; height: 32px; }
.timer-card[data-status="running"] .ctl.main { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(246, 189, 53, .14), 0 10px 26px rgba(0, 0, 0, .25); } }

.note-input { margin-top: 2px; }
.add-chip { color: var(--teal); border-style: dashed; }
.add-chip svg { width: 16px; height: 16px; }

.today-grid { margin-top: 14px; }
.today-grid .card { margin-bottom: 0; display: flex; align-items: center; gap: 12px; }
.goal-ring { position: relative; width: 56px; height: 56px; flex: none; }
.goal-ring svg { width: 56px; height: 56px; }
.goal-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--teal-deep); }
.goal-v { font-size: 17px; font-weight: 600; line-height: 1.25; }
.streak-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--ink-3); }
.streak-ic svg { width: 26px; height: 26px; }
.streak-card.lit .streak-ic { background: var(--yellow); color: var(--teal-deep); }

.countdown { margin-top: 14px; }
.countdown b { font-weight: 600; }
.cd-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.cd-ic svg { width: 22px; height: 22px; }
.cd-days { flex: none; width: 70px; height: 70px; border-radius: 20px; display: grid; place-content: center; text-align: center; background: var(--yellow); color: var(--teal-deep); }
.cd-days b { font-size: 26px; line-height: 1; }
.cd-days span { font-size: 11px; font-weight: 600; }

.celebrate { text-align: center; padding: 6px 0 4px; }
.celebrate img { width: 150px; margin: 0 auto 6px; }

/* İstatistik */
.hero-total { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.stat .v.sm { font-size: 16px; }
.week-chart { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 170px; padding-top: 4px; }
.wbar { display: grid; grid-template-rows: 18px 1fr 20px; justify-items: center; align-items: end; min-width: 0; }
.wv { font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.wcol { width: 100%; max-width: 34px; height: 100%; display: flex; align-items: flex-end; border-radius: 10px; background: var(--surface); overflow: hidden; }
.wcol i { display: block; width: 100%; border-radius: 10px; background: var(--teal-mid); transition: height .4s; }
.wbar.hit .wcol i { background: var(--teal); }
.wbar.today .wcol i { background: var(--yellow); }
.wd { font-size: 11.5px; color: var(--ink-2); font-weight: 500; align-self: center; }
.wbar.today .wd { color: var(--teal-deep); font-weight: 600; }
.goal-line { position: absolute; left: 0; right: 0; bottom: calc(20px + (100% - 42px) * var(--goal)); border-top: 2px dashed rgba(29, 84, 94, .35); pointer-events: none; }

.subj-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.dot.big { width: 12px; height: 12px; }

.heat { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.heat i, .heat-legend i { display: block; aspect-ratio: 1; border-radius: 4px; }
.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; }
.heat-legend i { width: 12px; }
.h0 { background: var(--surface); }
.h0.pad { background: transparent; }
.h1 { background: #c9ddd8; }
.h2 { background: #7fa9a6; }
.h3 { background: var(--teal); }
.h4 { background: var(--yellow); }

.section-label .link-btn { text-transform: none; letter-spacing: 0; }
.sess b { font-weight: 500; }
.sess-min { font-weight: 600; color: var(--teal-deep); font-size: 14px; }
.icon-btn.flat { width: 34px; height: 34px; box-shadow: none; background: transparent; color: var(--ink-3); }
.icon-btn.flat svg { width: 18px; height: 18px; }

/* Ayarlar */
.stepper { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 14px; background: var(--surface); flex: none; }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 11px; background: #fff; color: var(--teal-deep); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(15, 58, 66, .08); }
.stepper button svg { width: 18px; height: 18px; }
.stepper output { min-width: 74px; text-align: center; font-weight: 600; font-size: 14px; }
.chip-x { width: 22px; height: 22px; margin-right: -6px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); }
.chip-x svg { width: 13px; height: 13px; }
.data-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.data-actions .btn { flex: 1 1 auto; }
#addSubjectForm .btn { min-height: 48px; width: 52px; padding: 0; }
