:root { --focus-ring: #5eead4; --dst-ease: cubic-bezier(.22,1,.36,1); --dst-ease-soft: cubic-bezier(.2,.8,.2,1); }
html { scroll-behavior: smooth; }
body { line-height: 1.5; }
::selection { background: color-mix(in srgb, var(--accent, #14b8a6) 42%, transparent); color: var(--text, #fff); }
:focus-visible { outline: 3px solid var(--focus-ring) !important; outline-offset: 3px !important; }
button, [role="button"], a, input, select, textarea { touch-action: manipulation; }
.dst-skip-link { position: fixed; left: 12px; top: -80px; z-index: 2147483647; padding: 10px 14px; border-radius: 10px; background: #fff; color: #111; font: 700 14px system-ui; }
.dst-skip-link:focus { top: 12px; }
.dst-command-button { position: static; z-index: 21; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 34px; padding: 0 12px; flex: 0 0 auto; border: 1px solid var(--border2, rgba(255,255,255,.14)); border-radius: 11px; background: var(--glass, #ffffff0b); color: var(--text, #fff); box-shadow: none; cursor: pointer; font: 700 12px system-ui; letter-spacing: .01em; transition: background .2s, border-color .2s, transform .2s; }
.dst-command-button:hover { background: var(--glass2, #ffffff12); border-color: rgba(20,184,166,.38); transform: translateY(-1px); }
.dst-command-button .dst-command-symbol { color: var(--accent3, #5eead4); font-size: 16px; line-height: 1; }
.dst-command-overlay { position: fixed; inset: 0; z-index: 2147483646; display: grid; place-items: start center; padding: min(14vh, 110px) 16px 16px; background: rgba(0,0,0,.62); backdrop-filter: blur(8px); }
.dst-command-overlay[hidden] { display: none; }
.dst-command-panel { width: min(560px, 100%); max-height: 72vh; overflow: auto; padding: 14px; border: 1px solid var(--border2, #ffffff1f); border-radius: 18px; background: var(--surface-solid, #10151a); color: var(--text, #fff); box-shadow: 0 28px 90px #000c; }
.dst-command-panel h2 { margin: 2px 4px 12px; font: 800 18px system-ui; }
.dst-command-search { width: 100%; padding: 13px 14px; border: 1px solid var(--border2, #ffffff1f); border-radius: 12px; background: var(--card2, #ffffff0f); color: inherit; font: 15px system-ui; }
.dst-command-list { display: grid; gap: 7px; margin-top: 10px; }
.dst-command-item { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 0; border-radius: 11px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: 600 14px system-ui; }
.dst-command-item:hover, .dst-command-item[aria-selected="true"] { background: var(--glass2, #ffffff12); }
.dst-command-item small { opacity: .62; }
.dst-status-pill { position: fixed; right: 14px; top: max(10px, env(safe-area-inset-top)); z-index: 9998; padding: 6px 9px; border-radius: 99px; background: #7f1d1d; color: white; font: 700 11px system-ui; box-shadow: 0 6px 20px #0005; }
.dst-status-pill[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 760px) {
  .dst-command-button { width: 34px; padding: 0; border-radius: 10px; }
  .dst-command-button .dst-command-label { display: none; }
}
@media (max-width: 420px) { .dst-command-button { width: 32px; height: 32px; } }
body.dst-calm-mode .aurora, body.dst-calm-mode [class*="confetti"], body.dst-calm-mode [class*="particle"] { display: none !important; }

/* Daha tutarlı, sakin ve kaliteli etkileşim hissi */
.main { scrollbar-gutter: stable; }
.topbar, .sidebar, .main, .modal, .settings-section, .glass-card, .hero-card {
  transition: background-color .35s var(--dst-ease-soft), border-color .35s var(--dst-ease-soft), color .25s ease, box-shadow .3s var(--dst-ease-soft);
}
.glass-card, .stat-card, .settings-section, .weekly-chart, .subject-bar-wrap, .today-tasks-section {
  transform: translateZ(0);
  transition: transform .24s var(--dst-ease), border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover, .settings-section:hover, .weekly-chart:hover, .subject-bar-wrap:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent, #14b8a6) 24%, var(--border2, transparent));
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
  }
  .task-item:hover { transform: translateX(3px); }
}
.task-item, .cal-task-row, .nav-item {
  transition: transform .2s var(--dst-ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
button, .add-btn, .start-btn, .ctrl-btn, .nav-item, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:active, .add-btn:active, .start-btn:active, .ctrl-btn:active, [role="button"]:active { transform: scale(.97); }
.page-title { letter-spacing: -.025em; text-wrap: balance; }
.page-sub, .settings-row-sub { text-wrap: pretty; }
.modal-overlay, .dst-command-overlay { animation: dst-overlay-in .2s ease both; }
.modal, .dst-command-panel { animation: dst-panel-in .28s var(--dst-ease) both; }
.toast { box-shadow: 0 18px 50px rgba(0,0,0,.3); }
@keyframes dst-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dst-panel-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  button, .add-btn, .lang-btn, .ctrl-btn { min-height: 42px; }
  input, select, textarea { font-size: 16px !important; }
  .main { overscroll-behavior: contain; }
}
