    :root {
      --theme-bg: #08090d;
      --theme-surface: #111318;
      --theme-border: #1e2028;
      --theme-text: #e8eaf0;
      --theme-muted: #555;
      --theme-accent: #c8f135;
    }

    [data-theme="light"] {
      --theme-bg: #f8f7f4;
      --theme-surface: #ffffff;
      --theme-border: #e4e2dc;
      --theme-text: #1e1e2e;
      --theme-muted: #6e6a80;
      --theme-accent: #5c4ee8;
    }

    [data-theme="light"] p,
    [data-theme="light"] li,
    [data-theme="light"] td,
    [data-theme="light"] th,
    [data-theme="light"] .card p,
    [data-theme="light"] .diff-block p,
    [data-theme="light"] .section-source,
    [data-theme="light"] .drop-item,
    [data-theme="light"] .drop-week-label,
    [data-theme="light"] .dash-subtitle,
    [data-theme="light"] .today-day,
    [data-theme="light"] .session-desc,
    [data-theme="light"] .session-name,
    [data-theme="light"] .wod-def,
    [data-theme="light"] .placeholder-sub {
      color: #3a3750;
    }

    [data-theme="light"] h1,
    [data-theme="light"] h2,
    [data-theme="light"] h3,
    [data-theme="light"] h4,
    [data-theme="light"] .card h4,
    [data-theme="light"] .diff-block h4,
    [data-theme="light"] .section-title,
    [data-theme="light"]

    [data-theme="light"] .app-logo,
    [data-theme="light"] .drop-label {
      color: #2d2b3d;
    }

    [data-theme="light"] .search-btn {
      color: #4a4760;
      border-color: #d8d5cc;
      background: #ffffff;
    }

    [data-theme="light"] .theme-toggle {
      color: #4a4760;
      border-color: #d8d5cc;
    }

    [data-theme="light"] kbd {
      background: #eeecf0;
      color: #4a4760;
      border-color: #d8d5cc;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    body {
      background: var(--theme-bg);
      transition: background 0.3s, color 0.3s;
    }

    .app-switcher {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: var(--theme-bg);
      border-bottom: 1px solid var(--theme-border);
      display: flex;
      align-items: center;
      padding: 0 12px;
      height: 52px;
      gap: 4px;
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
    }

    .app-switcher::-webkit-scrollbar {
      display: none;
    }

    .app-logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 13px;
      color: var(--theme-muted);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-right: 8px;
      white-space: nowrap;
      cursor: pointer;
      transition: color 0.2s;
      flex-shrink: 0;
    }

    .app-logo:hover {
      color: var(--theme-accent);
    }

    .switcher-right {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      padding-right: 10px;
    }

    .theme-toggle {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--theme-border);
      background: transparent;
      color: var(--theme-muted);
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      touch-action: manipulation;
      flex-shrink: 0;
    }

    .theme-toggle:hover {
      border-color: var(--theme-accent);
      color: var(--theme-accent);
    }

    .search-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 8px;
      border: 1px solid var(--theme-border);
      background: var(--theme-surface);
      color: var(--theme-muted);
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.2s;
      touch-action: manipulation;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .search-btn:hover {
      border-color: var(--theme-accent);
      color: var(--theme-text);
    }

    .search-btn kbd {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      background: var(--theme-border);
      padding: 1px 5px;
      border-radius: 4px;
    }

    .dropdown {
      position: relative;
      display: inline-block;
      flex-shrink: 0;
    }

    .drop-label {
      /* button reset — iOS için şart */
      appearance: none;
      -webkit-appearance: none;
      background: transparent;
      border: none;
      outline: none;
      /* stil */
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--theme-muted);
      padding: 8px 10px;
      cursor: pointer;
      border-radius: 8px;
      transition: color 0.2s;
      user-select: none;
      -webkit-user-select: none;
      white-space: nowrap;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }

    .drop-label:hover {
      color: #ccc;
    }

    .dropdown.has-active .drop-label {
      color: #e8c547;
    }

    #drop-davos.has-active .drop-label {
      color: #c8f135;
    }

    #drop-gobilim.has-active .drop-label {
      color: #a78bfa;
    }

    #drop-etik.has-active .drop-label {
      color: #f97316;
    }

    #drop-rusca4.has-active .drop-label {
      color: #38bdf8;
    }

    #drop-rusca6.has-active .drop-label {
      color: #38bdf8;
    }

    #drop-isaret.has-active .drop-label {
      color: #4ade80;
    }

    #drop-tibbi.has-active .drop-label {
      color: #fb923c;
    }

    .drop-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 10px;
      padding: 6px;
      min-width: 240px;
      z-index: 10000;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
      flex-direction: column;
      gap: 2px;
    }

    .dropdown.open .drop-menu {
      display: flex;
    }

    .drop-week-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--theme-muted);
      padding: 8px 14px 4px;
      border-bottom: 1px solid var(--theme-border);
      margin-bottom: 4px;
    }

    .drop-item {
      display: block;
      width: 100%;
      padding: 10px 14px;
      background: transparent;
      border: none;
      border-radius: 7px;
      color: #7a8090;
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      transition: all 0.15s;
      white-space: nowrap;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    .drop-item:hover {
      background: rgba(255, 255, 255, 0.05);
      color: #e8eaf0;
    }

    .drop-item.active-item {
      color: #e8c547;
      background: rgba(232, 197, 71, 0.08);
    }

    #drop-davos .drop-item.active-item {
      color: #c8f135;
      background: rgba(200, 241, 53, 0.08);
    }

    #drop-gobilim .drop-item.active-item {
      color: #a78bfa;
      background: rgba(167, 139, 250, 0.08);
    }

    #drop-etik .drop-item.active-item {
      color: #f97316;
      background: rgba(249, 115, 22, 0.08);
    }

    #drop-rusca4 .drop-item.active-item {
      color: #38bdf8;
      background: rgba(56, 189, 248, 0.08);
    }

    #drop-rusca6 .drop-item.active-item {
      color: #38bdf8;
      background: rgba(56, 189, 248, 0.08);
    }

    #drop-isaret .drop-item.active-item {
      color: #4ade80;
      background: rgba(74, 222, 128, 0.08);
    }

    #drop-tibbi .drop-item.active-item {
      color: #fb923c;
      background: rgba(251, 146, 60, 0.08);
    }

    .app-panel {
      display: none;
      padding-top: 52px;
    }

    .app-panel.visible {
      display: block;
      animation: panelFadeIn 0.35s ease;
    }

    @keyframes panelFadeIn {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    #panel-dashboard {
      background: var(--theme-bg);
      min-height: 100vh;
      font-family: 'Syne', sans-serif;
      color: var(--theme-text);
    }

    .dash-hero {
      padding: 48px 40px 32px;
      border-bottom: 1px solid var(--theme-border);
      background: var(--theme-bg);
      position: relative;
      overflow: hidden;
    }

    .dash-hero::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(200, 241, 53, 0.06) 0%, transparent 70%);
      pointer-events: none;
    }

    .dash-greeting {
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--theme-accent);
      margin-bottom: 12px;
      font-family: 'IBM Plex Mono', monospace;
    }

    .dash-title span {
      color: var(--theme-accent);
    }

    .dash-subtitle {
      margin-top: 10px;
      font-size: 14px;
      color: var(--theme-muted);
      font-weight: 400;
      font-family: 'DM Sans', sans-serif;
    }

    .today-banner {
      margin: 24px 40px 0;
      padding: 16px 24px;
      background: linear-gradient(135deg, rgba(200, 241, 53, 0.08), rgba(200, 241, 53, 0.03));
      border: 1px solid rgba(200, 241, 53, 0.25);
      border-radius: 14px;
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    [data-theme="light"] .today-banner {
      background: linear-gradient(135deg, rgba(92, 78, 232, 0.07), rgba(92, 78, 232, 0.02));
      border-color: rgba(92, 78, 232, 0.2);
    }

    .today-label {
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--theme-accent);
      font-family: 'IBM Plex Mono', monospace;
      white-space: nowrap;
    }

    .today-day {
      font-size: 16px;
      font-weight: 800;
      color: var(--theme-text);
    }

    .today-courses {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .today-pill {
      font-size: 12px;
      padding: 5px 14px;
      border-radius: 20px;
      font-family: 'IBM Plex Mono', monospace;
      letter-spacing: 0.5px;
      border: 1px solid;
      cursor: pointer;
      transition: all 0.2s;
      touch-action: manipulation;
    }

    .today-pill:hover {
      transform: translateY(-2px);
      opacity: 0.9;
    }

    .pomo-ring-wrap {
      position: relative;
      flex-shrink: 0;
    }

    .pomo-ring {
      width: 64px;
      height: 64px;
    }

    .pomo-ring-bg {
      fill: none;
      stroke: var(--theme-border);
      stroke-width: 5;
    }

    .pomo-ring-fill {
      fill: none;
      stroke-width: 5;
      stroke-linecap: round;
      transition: stroke-dashoffset 1s linear;
      transform: rotate(-90deg);
      transform-origin: 50% 50%;
    }

    .pomo-display {
      font-family: 'Syne', sans-serif;
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--theme-accent);
      letter-spacing: -1px;
      line-height: 1;
    }

    .pomo-display.break-mode {
      color: #38bdf8;
    }

    .pomo-mode {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--theme-muted);
      margin-top: 3px;
      letter-spacing: 0.5px;
    }

    .pomo-controls {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .pomo-btn {
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 8px;
      border: 1px solid var(--theme-border);
      background: transparent;
      color: var(--theme-muted);
      cursor: pointer;
      transition: all 0.2s;
      touch-action: manipulation;
    }

    .pomo-btn:hover {
      border-color: var(--theme-accent);
      color: var(--theme-accent);
    }

    .pomo-btn.running {
      background: var(--theme-accent);
      color: #08090d;
      border-color: var(--theme-accent);
    }

    .pomo-sessions {
      display: flex;
      gap: 5px;
      align-items: center;
      margin-left: 8px;
    }

    .pomo-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--theme-border);
      transition: background 0.3s;
    }

    .pomo-dot.done {
      background: var(--theme-accent);
    }

    .app-link-btn img {
      border-radius: 4px;
      flex-shrink: 0;
    }

    [data-theme="dark"] .icon-invert-light {
      filter: invert(1);
    }

    [data-theme="light"] .icon-invert-light {
      filter: none;
    }

    @media (max-width: 768px) {

    }

    .dash-section-title {
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--theme-muted);
      font-family: 'IBM Plex Mono', monospace;
      padding: 32px 40px 16px;
    }

    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 16px;
      padding: 0 40px 40px;
    }

    .course-card {
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 16px;
      padding: 28px;
      cursor: pointer;
      transition: all 0.25s;
      position: relative;
      overflow: hidden;
    }

    .course-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--card-accent, #c8f135);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }

    .course-card:hover::before {
      transform: scaleX(1);
    }

    .course-card:hover {
      border-color: var(--card-accent, #c8f135);
      transform: translateY(-3px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .course-card.today-highlight {
      border-color: var(--card-accent, #c8f135);
    }

    .course-card.today-highlight::before {
      transform: scaleX(1);
    }

    .course-icon {
      font-size: 2rem;
      margin-bottom: 14px;
    }

    .course-tag {
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--card-accent, #c8f135);
      font-family: 'IBM Plex Mono', monospace;
      margin-bottom: 8px;
    }

    .course-name {
      font-size: 17px;
      font-weight: 800;
      color: var(--theme-text);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .course-desc {
      font-size: 13px;
      color: var(--theme-muted);
      font-family: 'DM Sans', sans-serif;
      line-height: 1.6;
      font-weight: 300;
    }

    .course-day {
      margin-top: 16px;
      font-size: 11px;
      color: var(--card-accent, #c8f135);
      font-family: 'IBM Plex Mono', monospace;
      letter-spacing: 0.5px;
    }

    .course-progress-ring {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 44px;
      height: 44px;
    }

    .progress-ring-bg {
      fill: none;
      stroke: var(--theme-border);
      stroke-width: 3;
    }

    .progress-ring-fill {
      fill: none;
      stroke-width: 3;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.8s ease;
    }

    .schedule-section {
      padding: 0 40px 40px;
    }

    .schedule-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
    }

    .schedule-day-card {
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s;
    }

    .schedule-day-card.is-today {
      border-color: var(--theme-accent);
    }

    .schedule-day-header {
      padding: 12px 16px;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-family: 'IBM Plex Mono', monospace;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .schedule-day-header .day-name {
      color: var(--theme-muted);
    }

    .schedule-day-header .today-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--theme-accent);
    }

    .schedule-course-item {
      padding: 10px 16px;
      border-top: 1px solid var(--theme-border);
      cursor: pointer;
      transition: background 0.15s;
    }

    .schedule-course-item:hover {
      background: rgba(255, 255, 255, 0.03);
    }

    .schedule-course-name {
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 2px;
    }

    .schedule-course-time {
      font-size: 11px;
      color: var(--theme-muted);
      font-family: 'IBM Plex Mono', monospace;
    }

    .shortcuts-bar {
      padding: 16px 40px;
      border-top: 1px solid var(--theme-border);
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .shortcut-hint {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--theme-muted);
      font-family: 'IBM Plex Mono', monospace;
    }

    .shortcut-hint kbd {
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 4px;
      padding: 2px 6px;
      font-size: 11px;
    }

    #search-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      z-index: 99998;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding-top: 80px;
    }

    #search-overlay.open {
      display: flex;
    }

    .search-modal {
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 16px;
      width: 100%;
      max-width: 640px;
      margin: 0 16px;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    }

    .search-input-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--theme-border);
    }

    .search-input-wrap svg {
      flex-shrink: 0;
      color: var(--theme-muted);
    }

    #global-search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      color: var(--theme-text);
      font-weight: 600;
    }

    #global-search-input::placeholder {
      color: var(--theme-muted);
    }

    .search-close-btn {
      background: var(--theme-border);
      border: none;
      border-radius: 6px;
      color: var(--theme-muted);
      font-size: 12px;
      padding: 3px 8px;
      cursor: pointer;
      font-family: 'IBM Plex Mono', monospace;
    }

    .search-results {
      max-height: 420px;
      overflow-y: auto;
      padding: 8px;
    }

    .search-result-item {
      padding: 12px 16px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.15s;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .search-result-item:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .search-result-icon {
      font-size: 14px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .search-result-en {
      font-size: 14px;
      font-weight: 600;
      color: var(--theme-text);
      margin-bottom: 2px;
    }

    .search-result-tr {
      font-size: 13px;
      color: var(--theme-accent);
    }

    .search-result-source {
      font-size: 11px;
      color: var(--theme-muted);
      font-family: 'IBM Plex Mono', monospace;
      letter-spacing: 0.5px;
    }

    .search-empty {
      text-align: center;
      padding: 40px 20px;
      color: var(--theme-muted);
      font-size: 14px;
      font-family: 'DM Sans', sans-serif;
    }

    .search-section-label {
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--theme-muted);
      font-family: 'IBM Plex Mono', monospace;
      padding: 8px 16px 4px;
    }

    mark {
      background: rgba(200, 241, 53, 0.25);
      color: var(--theme-text);
      border-radius: 2px;
    }

    [data-theme="light"] mark {
      background: rgba(92, 78, 232, 0.15);
      color: #1e1e2e;
    }

    #panel-hukuk {
      --bg: #0f0e17;
      --surface: #1a1828;
      --surface2: #231f35;
      --accent: #e8c547;
      --accent2: #a78bfa;
      --accent3: #34d399;
      --accent4: #f87171;
      --text: #e8e6f0;
      --muted: #8b88a0;
      --border: #2e2a45;
      background: var(--bg);
      color: var(--text);
      font-family: 'IBM Plex Sans', sans-serif;
      font-weight: 300;
      line-height: 1.75;
      font-size: 15px;
    }

    #panel-hukuk .hero {
      background: linear-gradient(135deg, #0f0e17 0%, #1e1538 50%, #0f0e17 100%);
      border-bottom: 1px solid var(--border);
      padding: 60px 40px 50px;
      position: relative;
      overflow: hidden
    }

    #panel-hukuk .hero::before {
      content: '';
      position: absolute;
      top: -80px;
      right: -80px;
      width: 350px;
      height: 350px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%)
    }

    #panel-hukuk .hero::after {
      content: '';
      position: absolute;
      bottom: -60px;
      left: 100px;
      width: 250px;
      height: 250px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(232, 197, 71, 0.1) 0%, transparent 70%)
    }

    #panel-hukuk .hero-tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px
    }

    #panel-hukuk .hero-tag::before {
      content: '';
      width: 30px;
      height: 1px;
      background: var(--accent)
    }

    #panel-hukuk .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1.15;
      color: var(--text);
      max-width: 700px
    }

    #panel-hukuk .hero h1 span {
      color: var(--accent);
      font-style: italic
    }

    #panel-hukuk .hero-sub {
      margin-top: 16px;
      color: var(--muted);
      font-size: 14px;
      max-width: 500px
    }

    #panel-hukuk .hero-badges {
      margin-top: 28px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap
    }

    #panel-hukuk .badge {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      padding: 5px 12px;
      border-radius: 20px;
      border: 1px solid;
      letter-spacing: 1px
    }

    #panel-hukuk .badge-y {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(232, 197, 71, 0.08)
    }

    #panel-hukuk .badge-p {
      border-color: var(--accent2);
      color: var(--accent2);
      background: rgba(167, 139, 250, 0.08)
    }

    #panel-hukuk .badge-g {
      border-color: var(--accent3);
      color: var(--accent3);
      background: rgba(52, 211, 153, 0.08)
    }

    #panel-hukuk .hnav {
      position: sticky;
      top: 52px;
      z-index: 100;
      background: rgba(15, 14, 23, 0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 0 40px;
      display: flex;
      gap: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch
    }

    #panel-hukuk .hnav a {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      padding: 16px 18px;
      border-bottom: 2px solid transparent;
      white-space: nowrap;
      transition: all .2s;
      cursor: pointer;
      -webkit-tap-highlight-color: rgba(232, 197, 71, 0.2);
      touch-action: manipulation
    }

    #panel-hukuk .hnav a:hover,
    #panel-hukuk .hnav a:active {
      color: var(--text);
      border-bottom-color: var(--accent)
    }

    #panel-hukuk .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 40px
    }

    #panel-hukuk .section {
      padding: 60px 0;
      border-bottom: 1px solid var(--border)
    }

    #panel-hukuk .section:last-child {
      border-bottom: none
    }

    #panel-hukuk .section-header {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 40px
    }

    #panel-hukuk .section-num {
      font-family: 'Playfair Display', serif;
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--border);
      line-height: 1;
      user-select: none;
      flex-shrink: 0
    }

    #panel-hukuk .section-source {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 6px
    }

    #panel-hukuk .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.7rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1.2
    }

    #panel-hukuk .section-title .accent {
      color: var(--accent)
    }

    #panel-hukuk .section-title .accent2 {
      color: var(--accent2)
    }

    #panel-hukuk .section-title .accent3 {
      color: var(--accent3)
    }

    #panel-hukuk p {
      margin-bottom: 14px;
      color: var(--text)
    }

    #panel-hukuk .lead {
      font-size: 16px;
      font-weight: 400;
      color: var(--text);
      border-left: 3px solid var(--accent);
      padding-left: 16px;
      margin-bottom: 24px
    }

    #panel-hukuk .card-grid {
      display: grid;
      gap: 16px
    }

    #panel-hukuk .card-grid-2 {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
    }

    #panel-hukuk .card-grid-3 {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
    }

    #panel-hukuk .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      transition: border-color .2s, transform .2s
    }

    #panel-hukuk .card:hover {
      border-color: var(--accent2);
      transform: translateY(-2px)
    }

    #panel-hukuk .card-icon {
      font-size: 1.5rem;
      margin-bottom: 12px
    }

    #panel-hukuk .card h4 {
      font-family: 'IBM Plex Sans', sans-serif;
      font-weight: 600;
      font-size: 14px;
      color: var(--accent);
      margin-bottom: 8px;
      letter-spacing: 0.5px
    }

    #panel-hukuk .card p {
      font-size: 13.5px;
      color: var(--muted);
      margin: 0
    }

    #panel-hukuk .card-y {
      border-top: 2px solid var(--accent)
    }

    #panel-hukuk .card-p {
      border-top: 2px solid var(--accent2)
    }

    #panel-hukuk .card-g {
      border-top: 2px solid var(--accent3)
    }

    #panel-hukuk .card-r {
      border-top: 2px solid var(--accent4)
    }

    #panel-hukuk .diff-block {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 28px;
      margin-bottom: 16px;
      position: relative;
      overflow: hidden
    }

    #panel-hukuk .diff-block::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px
    }

    #panel-hukuk .diff-block.sys::before {
      background: var(--accent)
    }

    #panel-hukuk .diff-block.ling::before {
      background: var(--accent2)
    }

    #panel-hukuk .diff-block.cult::before {
      background: var(--accent3)
    }

    #panel-hukuk .diff-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 8px
    }

    #panel-hukuk .diff-block.sys .diff-label {
      color: var(--accent)
    }

    #panel-hukuk .diff-block.ling .diff-label {
      color: var(--accent2)
    }

    #panel-hukuk .diff-block.cult .diff-label {
      color: var(--accent3)
    }

    #panel-hukuk .diff-block h4 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--text)
    }

    #panel-hukuk .diff-block p {
      font-size: 13.5px;
      color: var(--muted);
      margin: 0;
      line-height: 1.7
    }

    #panel-hukuk .compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13.5px;
      margin-top: 16px
    }

    #panel-hukuk .compare-table th {
      text-align: left;
      padding: 12px 16px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      border-bottom: 1px solid var(--border)
    }

    #panel-hukuk .compare-table td {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(46, 42, 69, 0.5);
      vertical-align: top;
      color: var(--text)
    }

    #panel-hukuk .compare-table tr:hover td {
      background: var(--surface)
    }

    #panel-hukuk .compare-table .col-en {
      color: var(--accent);
      font-weight: 500
    }

    #panel-hukuk .compare-table .col-tr {
      color: var(--accent3)
    }

    #panel-hukuk .compare-table .col-note {
      color: var(--muted);
      font-size: 12px;
      font-style: italic
    }

    #panel-hukuk .term-pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 12px
    }

    #panel-hukuk .term-en,
    #panel-hukuk .term-tr {
      background: var(--surface2);
      border-radius: 8px;
      padding: 10px 14px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px
    }

    #panel-hukuk .term-en {
      border-left: 2px solid var(--accent);
      color: var(--accent)
    }

    #panel-hukuk .term-tr {
      border-left: 2px solid var(--accent3);
      color: var(--accent3)
    }

    @media(max-width:500px) {
      #panel-hukuk .term-pair {
        grid-template-columns: 1fr
      }
    }

    #panel-hukuk .quote-block {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 28px 32px;
      margin: 24px 0;
      position: relative
    }

    #panel-hukuk .quote-block::before {
      content: '"';
      font-family: 'Playfair Display', serif;
      font-size: 5rem;
      color: var(--accent2);
      opacity: 0.3;
      position: absolute;
      top: -10px;
      left: 20px;
      line-height: 1
    }

    #panel-hukuk .quote-block p {
      font-style: italic;
      font-size: 15px;
      color: var(--text);
      padding-left: 10px;
      margin: 0
    }

    #panel-hukuk .quote-block cite {
      display: block;
      margin-top: 10px;
      font-size: 12px;
      color: var(--muted);
      font-family: 'IBM Plex Mono', monospace;
      padding-left: 10px
    }

    #panel-hukuk .pill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px
    }

    #panel-hukuk .pill {
      font-size: 12px;
      padding: 4px 12px;
      border-radius: 20px;
      font-family: 'IBM Plex Mono', monospace;
      letter-spacing: 0.5px
    }

    #panel-hukuk .pill-y {
      background: rgba(232, 197, 71, 0.12);
      color: var(--accent);
      border: 1px solid rgba(232, 197, 71, 0.25)
    }

    #panel-hukuk

    #panel-hukuk

    #panel-hukuk

    #panel-hukuk .structure {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      margin-top: 16px
    }

    #panel-hukuk

    #panel-hukuk .structure-item:last-child {
      border-bottom: none
    }

    #panel-hukuk .structure-item:hover {
      background: var(--surface2)
    }

    #panel-hukuk

    #panel-hukuk

    #panel-hukuk

    #panel-hukuk

    #panel-hukuk .flashcard-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px;
      text-align: center;
      margin-top: 32px
    }

    #panel-hukuk .flashcard-section h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: var(--text);
      margin-bottom: 8px
    }

    #panel-hukuk .flashcard-section p {
      color: var(--muted);
      font-size: 13.5px;
      margin-bottom: 24px
    }

    #panel-hukuk .hflashcard {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 32px;
      min-height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      cursor: pointer;
      transition: border-color .2s;
      position: relative
    }

    #panel-hukuk .hflashcard:hover {
      border-color: var(--accent2)
    }

    #panel-hukuk .flashcard-q {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--text);
      text-align: center
    }

    #panel-hukuk .flashcard-a {
      display: none;
      font-size: 14px;
      color: var(--accent3);
      text-align: center;
      font-family: 'IBM Plex Mono', monospace
    }

    #panel-hukuk .hflashcard.revealed .flashcard-q {
      display: none
    }

    #panel-hukuk .hflashcard.revealed .flashcard-a {
      display: block
    }

    #panel-hukuk .flashcard-hint {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 1.5px;
      color: var(--muted);
      text-transform: uppercase
    }

    #panel-hukuk .fc-controls {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap
    }

    #panel-hukuk .hbtn {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 10px 20px;
      border-radius: 8px;
      border: 1px solid;
      cursor: pointer;
      transition: all .2s;
      touch-action: manipulation
    }

    #panel-hukuk

    #panel-hukuk .btn-y:hover {
      background: var(--accent);
      color: var(--bg)
    }

    #panel-hukuk .btn-p {
      background: transparent;
      border-color: var(--accent2);
      color: var(--accent2)
    }

    #panel-hukuk .btn-p:hover {
      background: var(--accent2);
      color: var(--bg)
    }

    #panel-hukuk .btn-muted {
      background: transparent;
      border-color: var(--muted);
      color: var(--muted)
    }

    #panel-hukuk .btn-know {
      background: transparent;
      border-color: var(--accent3);
      color: var(--accent3)
    }

    #panel-hukuk .btn-know:hover {
      background: var(--accent3);
      color: var(--bg)
    }

    #panel-hukuk .btn-dunno {
      background: transparent;
      border-color: var(--accent4);
      color: var(--accent4)
    }

    #panel-hukuk .btn-dunno:hover {
      background: var(--accent4);
      color: var(--bg)
    }

    #panel-hukuk .leitner-stats {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--muted);
      margin-top: 12px;
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap
    }

    #panel-hukuk .leitner-stats span {
      display: flex;
      align-items: center;
      gap: 4px
    }

    #panel-hukuk .fc-counter {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--muted);
      margin-top: 12px
    }

    #panel-hukuk .modal-words {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      margin-top: 16px
    }

    #panel-hukuk .modal-word {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 18px;
      text-align: center
    }

    #panel-hukuk .modal-word .word {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 6px
    }

    #panel-hukuk .modal-word .meaning {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5
    }

    #panel-hukuk .modal-word.shall .word {
      color: var(--accent4)
    }

    #panel-hukuk .modal-word.may .word {
      color: var(--accent3)
    }

    #panel-hukuk .modal-word.shall-not .word {
      color: var(--accent)
    }

    #panel-hukuk .checklist {
      list-style: none;
      margin-top: 16px
    }

    #panel-hukuk .checklist li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(46, 42, 69, 0.4);
      font-size: 14px;
      color: var(--text)
    }

    #panel-hukuk .checklist li:last-child {
      border-bottom: none
    }

    #panel-hukuk .checklist .check {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--surface2);
      border: 1px solid var(--border);
      cursor: pointer;
      flex-shrink: 0;
      margin-top: 2px;
      transition: all .2s;
      display: flex;
      align-items: center;
      justify-content: center
    }

    #panel-hukuk .checklist .check.done {
      background: var(--accent3);
      border-color: var(--accent3)
    }

    #panel-hukuk .checklist .check.done::after {
      content: '✓';
      font-size: 11px;
      color: var(--bg)
    }

    #panel-hukuk .checklist li.done-item>span {
      text-decoration: line-through;
      color: var(--muted)
    }

    #panel-hukuk .hfooter {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 32px 40px;
      text-align: center
    }

    #panel-hukuk .hfooter p {
      font-size: 12px;
      color: var(--muted);
      font-family: 'IBM Plex Mono', monospace
    }

    #panel-hukuk .hfooter span {
      color: var(--accent)
    }

    #panel-hukuk ::-webkit-scrollbar {
      width: 6px;
      height: 6px
    }

    #panel-hukuk ::-webkit-scrollbar-track {
      background: var(--bg)
    }

    #panel-hukuk ::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px
    }

    #panel-hukuk .mt-8 {
      margin-top: 8px
    }

    #panel-hukuk .mt-16 {
      margin-top: 16px
    }

    #panel-hukuk .mt-24 {
      margin-top: 24px
    }

    #panel-hukuk

    #panel-hukuk .text-muted {
      color: var(--muted);
      font-size: 13px
    }

    #panel-hukuk .divider {
      height: 1px;
      background: var(--border);
      margin: 24px 0
    }

    #panel-hukuk .highlight-box {
      background: rgba(232, 197, 71, 0.06);
      border: 1px solid rgba(232, 197, 71, 0.2);
      border-radius: 10px;
      padding: 20px 24px;
      margin: 20px 0
    }

    #panel-hukuk .highlight-box p {
      margin: 0;
      font-size: 13.5px;
      color: var(--text)
    }

    #panel-hukuk .highlight-box strong {
      color: var(--accent)
    }

    #panel-davos {
      background: #0a0c10;
      color: #e8eaf0;
      font-family: 'DM Sans', sans-serif
    }

    #panel-davos * {
      box-sizing: border-box
    }

    #panel-davos::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: radial-gradient(circle at 20% 80%, rgba(200, 241, 53, 0.04) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
      pointer-events: none;
      z-index: 0
    }

    #panel-davos header {
      position: relative;
      padding: 60px 40px 40px;
      border-bottom: 1px solid #232730;
      overflow: hidden;
      background: #0a0c10
    }

    #panel-davos header::after {
      content: 'DAVOS';
      position: absolute;
      right: -20px;
      top: -10px;
      font-family: 'Syne', sans-serif;
      font-size: clamp(80px, 15vw, 200px);
      font-weight: 800;
      color: rgba(255, 255, 255, 0.02);
      letter-spacing: -5px;
      pointer-events: none;
      user-select: none
    }

    #panel-davos .dtag {
      display: inline-block;
      background: #c8f135;
      color: #0a0c10;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 2px;
      margin-bottom: 20px
    }

    #panel-davos h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(28px, 5vw, 56px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1px;
      color: #e8eaf0
    }

    #panel-davos h1 span {
      color: #c8f135
    }

    #panel-davos .dsubtitle {
      margin-top: 12px;
      font-size: 15px;
      color: #7a8090;
      font-weight: 300;
      max-width: 600px;
      line-height: 1.6
    }

    #panel-davos .progress-strip {
      padding: 16px 40px;
      background: #111318;
      border-bottom: 1px solid #232730;
      display: flex;
      align-items: center;
      gap: 16px;
      position: sticky;
      top: 52px;
      z-index: 100;
      backdrop-filter: blur(12px)
    }

    #panel-davos .progress-label {
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      color: #7a8090;
      white-space: nowrap
    }

    #panel-davos .progress-bar {
      flex: 1;
      height: 4px;
      background: #232730;
      border-radius: 2px;
      overflow: hidden
    }

    #panel-davos .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #c8f135, #38bdf8);
      border-radius: 2px;
      transition: width 0.5s ease;
      width: 0%
    }

    #panel-davos .progress-pct {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: #c8f135;
      min-width: 36px
    }

    #panel-davos nav {
      padding: 24px 40px 0;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      border-bottom: 1px solid #232730;
      padding-bottom: 0;
      background: #0a0c10;
      position: sticky;
      top: calc(52px + 52px);
      z-index: 99;
      transition: transform 0.3s ease, opacity 0.3s ease;
      will-change: transform
    }

    #panel-davos nav.nav-hidden {
      transform: translateY(-110%);
      opacity: 0;
      pointer-events: none
    }

    #panel-davos .dnav-btn {
      padding: 10px 18px;
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      color: #7a8090;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      letter-spacing: 0.5px;
      white-space: nowrap;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent
    }

    #panel-davos .dnav-btn:hover {
      color: #e8eaf0
    }

    #panel-davos .dnav-btn.active {
      color: #c8f135;
      border-bottom-color: #c8f135
    }

    #panel-davos main {
      padding: 40px;
      max-width: 1100px;
      margin: 0 auto;
      position: relative;
      z-index: 1
    }

    #panel-davos .dsection {
      display: none
    }

    #panel-davos .dsection.active {
      display: block;
      animation: dfadeIn 0.4s ease
    }

    @keyframes dfadeIn {
      from {
        opacity: 0;
        transform: translateY(12px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    #panel-davos .dsection-title {
      font-family: 'Syne', sans-serif;
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 8px;
      letter-spacing: -0.5px;
      color: #e8eaf0
    }

    #panel-davos .dsection-desc {
      color: #7a8090;
      font-size: 14px;
      margin-bottom: 32px;
      line-height: 1.6;
      font-weight: 300
    }

    #panel-davos .session-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 16px;
      margin-bottom: 40px
    }

    #panel-davos .session-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 12px;
      padding: 24px;
      cursor: pointer;
      transition: all 0.25s;
      position: relative;
      overflow: hidden
    }

    #panel-davos .session-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--card-color, #c8f135);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s
    }

    #panel-davos .session-card:hover::before,
    #panel-davos .session-card.open::before {
      transform: scaleX(1)
    }

    #panel-davos .session-card:hover {
      border-color: var(--card-color, #c8f135);
      transform: translateY(-2px)
    }

    #panel-davos .session-num {
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--card-color, #c8f135);
      margin-bottom: 8px;
      text-transform: uppercase
    }

    #panel-davos .session-name {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      line-height: 1.3;
      color: #e8eaf0
    }

    #panel-davos .session-desc {
      font-size: 13px;
      color: #7a8090;
      line-height: 1.6;
      font-weight: 300
    }

    #panel-davos .session-detail {
      display: none;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid #232730;
      font-size: 13px;
      line-height: 1.7;
      color: #e8eaf0
    }

    #panel-davos .session-card.open .session-detail {
      display: block
    }

    #panel-davos .session-detail strong {
      color: var(--card-color, #c8f135)
    }

    #panel-davos .key-quote {
      background: rgba(255, 255, 255, 0.03);
      border-left: 3px solid var(--card-color, #c8f135);
      padding: 12px 16px;
      margin: 12px 0;
      font-style: italic;
      font-size: 13px;
      border-radius: 0 8px 8px 0
    }

    #panel-davos .dtracker {
      background: #111318;
      border: 1px solid #232730;
      border-radius: 12px;
      padding: 20px 24px;
      margin-bottom: 32px
    }

    #panel-davos .dtracker-title {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: #7a8090;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px
    }

    #panel-davos .dtracker-items {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 8px
    }

    #panel-davos .dtracker-item {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: 6px;
      transition: background 0.2s;
      touch-action: manipulation
    }

    #panel-davos .dtracker-item:hover {
      background: rgba(255, 255, 255, 0.03)
    }

    #panel-davos .dtracker-check {
      width: 18px;
      height: 18px;
      border-radius: 4px;
      border: 2px solid #232730;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
      transition: all 0.2s;
      background: transparent;
      color: transparent
    }

    #panel-davos .dtracker-item.checked .dtracker-check {
      border-color: #4ade80;
      background: #4ade80;
      color: #0a0c10
    }

    #panel-davos .dtracker-item label {
      font-size: 13px;
      color: #7a8090;
      cursor: pointer;
      font-weight: 300;
      transition: color 0.2s
    }

    #panel-davos .dtracker-item.checked label {
      color: #4ade80;
      text-decoration: line-through
    }

    #panel-davos .term-section {
      margin-bottom: 40px
    }

    #panel-davos .term-section-title {
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--cat-color, #c8f135);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px
    }

    #panel-davos .term-section-title::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #232730
    }

    #panel-davos .term-grid {
      display: grid;
      gap: 8px
    }

    #panel-davos .term-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 8px;
      padding: 14px 18px;
      transition: border-color 0.2s;
      align-items: center
    }

    #panel-davos .term-row:hover {
      border-color: var(--cat-color, #c8f135)
    }

    #panel-davos .dterm-en {
      font-weight: 500;
      font-size: 14px;
      color: #e8eaf0
    }

    #panel-davos .dterm-tr {
      font-size: 14px;
      color: var(--cat-color, #38bdf8);
      font-weight: 400
    }

    #panel-davos .dterm-note {
      font-size: 12px;
      color: #7a8090;
      font-style: italic;
      font-weight: 300
    }

    #panel-davos .phrase-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 12px;
      padding: 20px 24px;
      margin-bottom: 12px;
      transition: border-color 0.2s
    }

    #panel-davos .phrase-card:hover {
      border-color: #f97316
    }

    #panel-davos .phrase-en {
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 6px;
      color: #f97316;
      font-style: italic
    }

    #panel-davos .phrase-tr {
      font-size: 14px;
      color: #e8eaf0;
      margin-bottom: 4px
    }

    #panel-davos .phrase-context {
      font-size: 12px;
      color: #7a8090;
      font-weight: 300
    }

    #panel-davos .quiz-container {
      max-width: 700px
    }

    #panel-davos .quiz-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px
    }

    #panel-davos .quiz-score {
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      color: #7a8090
    }

    #panel-davos .quiz-score span {
      color: #c8f135;
      font-size: 20px;
      font-weight: 800
    }

    #panel-davos .quiz-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 16px;
      padding: 32px;
      margin-bottom: 16px;
      min-height: 200px;
      position: relative
    }

    #panel-davos .quiz-type {
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #a78bfa;
      margin-bottom: 20px;
      font-weight: 700
    }

    #panel-davos .quiz-q {
      font-family: 'Syne', sans-serif;
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 28px;
      line-height: 1.3;
      letter-spacing: -0.5px;
      color: #e8eaf0
    }

    #panel-davos .quiz-options {
      display: grid;
      gap: 10px
    }

    #panel-davos .quiz-option {
      background: #111318;
      border: 1px solid #232730;
      border-radius: 8px;
      padding: 14px 20px;
      cursor: pointer;
      font-size: 14px;
      text-align: left;
      color: #e8eaf0;
      transition: all 0.2s;
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
      touch-action: manipulation
    }

    #panel-davos .quiz-option:hover:not(:disabled) {
      border-color: #a78bfa;
      background: rgba(167, 139, 250, 0.08)
    }

    #panel-davos .quiz-option.correct {
      border-color: #4ade80 !important;
      background: rgba(74, 222, 128, 0.1) !important;
      color: #4ade80
    }

    #panel-davos .quiz-option.wrong {
      border-color: #f87171 !important;
      background: rgba(248, 113, 113, 0.1) !important;
      color: #f87171
    }

    #panel-davos .quiz-option:disabled {
      cursor: default
    }

    #panel-davos .quiz-feedback {
      margin-top: 16px;
      padding: 14px 18px;
      border-radius: 8px;
      font-size: 14px;
      display: none;
      line-height: 1.6
    }

    #panel-davos .quiz-feedback.show {
      display: block
    }

    #panel-davos .quiz-feedback.correct-fb {
      background: rgba(74, 222, 128, 0.1);
      border: 1px solid #4ade80;
      color: #4ade80
    }

    #panel-davos .quiz-feedback.wrong-fb {
      background: rgba(248, 113, 113, 0.1);
      border: 1px solid #f87171;
      color: #f87171
    }

    #panel-davos .quiz-next {
      margin-top: 20px;
      padding: 12px 28px;
      background: #c8f135;
      color: #0a0c10;
      border: none;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      display: none;
      letter-spacing: 0.5px;
      transition: opacity 0.2s;
      touch-action: manipulation
    }

    #panel-davos .quiz-next:hover {
      opacity: 0.85
    }

    #panel-davos .quiz-next.show {
      display: inline-block
    }

    #panel-davos .quiz-complete {
      text-align: center;
      padding: 60px 32px;
      display: none
    }

    #panel-davos .quiz-complete h2 {
      font-family: 'Syne', sans-serif;
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 12px;
      color: #e8eaf0
    }

    #panel-davos .quiz-complete .final-score {
      font-size: 72px;
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      color: #c8f135;
      line-height: 1;
      margin: 24px 0
    }

    #panel-davos .quiz-restart {
      margin-top: 24px;
      padding: 14px 32px;
      background: transparent;
      border: 2px solid #c8f135;
      color: #c8f135;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s;
      letter-spacing: 0.5px;
      touch-action: manipulation
    }

    #panel-davos .quiz-restart:hover {
      background: #c8f135;
      color: #0a0c10
    }

    #panel-davos .practice-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 12px;
      padding: 28px;
      margin-bottom: 16px;
      transition: all 0.2s
    }

    #panel-davos .practice-num {
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #38bdf8;
      font-weight: 700;
      margin-bottom: 12px
    }

    #panel-davos .practice-en {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.5;
      margin-bottom: 16px;
      color: #e8eaf0;
      font-style: italic
    }

    #panel-davos .show-answer-btn {
      background: transparent;
      border: 1px solid #232730;
      color: #7a8090;
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'DM Sans', sans-serif;
      touch-action: manipulation
    }

    #panel-davos .show-answer-btn:hover {
      border-color: #38bdf8;
      color: #38bdf8
    }

    #panel-davos .practice-tr {
      margin-top: 16px;
      padding: 16px;
      background: rgba(56, 189, 248, 0.06);
      border: 1px solid rgba(56, 189, 248, 0.2);
      border-radius: 8px;
      font-size: 15px;
      color: #38bdf8;
      line-height: 1.6;
      display: none
    }

    #panel-davos .practice-tr.visible {
      display: block
    }

    #panel-davos .done-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 2px solid #232730;
      background: transparent;
      color: #7a8090;
      cursor: pointer;
      font-size: 16px;
      transition: all 0.2s;
      float: right;
      margin-top: -8px;
      touch-action: manipulation
    }

    #panel-davos .done-btn.done {
      border-color: #4ade80;
      color: #4ade80;
      background: rgba(74, 222, 128, 0.1)
    }

    #panel-davos .speaker-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
      margin-bottom: 32px
    }

    #panel-davos .speaker-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 10px;
      padding: 18px;
      transition: all 0.2s
    }

    #panel-davos .speaker-card:hover {
      border-color: #a78bfa;
      transform: translateY(-2px)
    }

    #panel-davos .speaker-name {
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 4px;
      color: #e8eaf0
    }

    #panel-davos .speaker-role {
      font-size: 12px;
      color: #7a8090;
      line-height: 1.4;
      font-weight: 300
    }

    #panel-davos .number-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 12px;
      margin-bottom: 32px
    }

    #panel-davos .number-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 10px;
      padding: 20px
    }

    #panel-davos .number-val {
      font-family: 'Syne', sans-serif;
      font-size: 28px;
      font-weight: 800;
      color: #c8f135;
      line-height: 1;
      margin-bottom: 8px
    }

    #panel-davos .number-label {
      font-size: 13px;
      color: #7a8090;
      line-height: 1.5;
      font-weight: 300
    }

    #panel-davos .abbr-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 10px;
      margin-bottom: 32px
    }

    #panel-davos .abbr-card {
      background: #16191f;
      border: 1px solid #232730;
      border-radius: 8px;
      padding: 16px;
      display: flex;
      gap: 14px;
      align-items: flex-start
    }

    #panel-davos .abbr-short {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 18px;
      color: #c8f135;
      min-width: 60px;
      letter-spacing: -0.5px
    }

    #panel-davos .abbr-full {
      font-size: 13px;
      color: #e8eaf0;
      line-height: 1.4
    }

    #panel-davos .abbr-tr {
      font-size: 12px;
      color: #7a8090;
      margin-top: 2px;
      font-weight: 300
    }

    #panel-davos .flashcard-area {
      max-width: 600px;
      margin: 0 auto
    }

    #panel-davos .dflashcard {
      perspective: 1000px;
      height: 220px;
      cursor: pointer;
      margin-bottom: 24px;
      user-select: none
    }

    #panel-davos .dflashcard-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.5s ease
    }

    #panel-davos .dflashcard.flipped .dflashcard-inner {
      transform: rotateY(180deg)
    }

    #panel-davos .dflashcard-front,
    #panel-davos .dflashcard-back {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      border-radius: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 32px;
      text-align: center
    }

    #panel-davos .dflashcard-front {
      background: #16191f;
      border: 1px solid #232730
    }

    #panel-davos .dflashcard-back {
      background: linear-gradient(135deg, rgba(200, 241, 53, 0.08), rgba(56, 189, 248, 0.08));
      border: 1px solid #c8f135;
      transform: rotateY(180deg)
    }

    #panel-davos .dflashcard-hint {
      font-size: 11px;
      color: #7a8090;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
      font-family: 'Syne', sans-serif;
      font-weight: 700
    }

    #panel-davos .dflashcard-word {
      font-family: 'Syne', sans-serif;
      font-size: 28px;
      font-weight: 800;
      color: #e8eaf0;
      letter-spacing: -0.5px;
      line-height: 1.2
    }

    #panel-davos .dflashcard-back .dflashcard-word {
      color: #c8f135
    }

    #panel-davos .dflashcard-note {
      font-size: 13px;
      color: #7a8090;
      margin-top: 10px;
      font-weight: 300;
      line-height: 1.5
    }

    #panel-davos .flash-controls {
      display: flex;
      gap: 12px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap
    }

    #panel-davos .flash-btn {
      padding: 10px 24px;
      border-radius: 8px;
      border: 1px solid #232730;
      background: transparent;
      color: #e8eaf0;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
      touch-action: manipulation
    }

    #panel-davos .flash-btn:hover {
      border-color: #c8f135;
      color: #c8f135
    }

    #panel-davos .flash-btn.primary {
      background: #c8f135;
      color: #0a0c10;
      border-color: #c8f135
    }

    #panel-davos .flash-btn.primary:hover {
      opacity: 0.85
    }

    #panel-davos .flash-btn.know-btn {
      border-color: #4ade80;
      color: #4ade80
    }

    #panel-davos .flash-btn.know-btn:hover {
      background: #4ade80;
      color: #0a0c10
    }

    #panel-davos .flash-btn.dunno-btn {
      border-color: #f87171;
      color: #f87171
    }

    #panel-davos .flash-btn.dunno-btn:hover {
      background: #f87171;
      color: #0a0c10
    }

    #panel-davos .flash-counter {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      color: #7a8090;
      min-width: 60px;
      text-align: center
    }

    #panel-davos .leitner-stats {
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      color: #7a8090;
      margin-top: 12px;
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap
    }

    #panel-davos .leitner-stats span {
      display: flex;
      align-items: center;
      gap: 4px
    }

    .panel-placeholder {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 20px;
      text-align: center;
      padding: 40px
    }

    .placeholder-icon {
      font-size: 4rem
    }

    .placeholder-title {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: var(--theme-text)
    }

    .placeholder-sub {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--theme-muted);
      max-width: 400px;
      line-height: 1.6
    }

    .placeholder-badge {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      padding: 6px 16px;
      border-radius: 20px;
      border: 1px solid;
      letter-spacing: 1px
    }

    @media(max-width:768px) {

      #panel-davos header,
      #panel-davos main {
        padding: 24px 20px
      }

      #panel-davos nav {
        padding: 0 20px;
        overflow-x: auto
      }

      #panel-davos .progress-strip {
        padding: 12px 20px
      }

      #panel-davos .term-row {
        grid-template-columns: 1fr 1fr
      }

      #panel-davos .dterm-note {
        display: none
      }

      #panel-hukuk .container {
        padding: 0 20px
      }

      #panel-hukuk .hnav {
        padding: 0 20px
      }

      .dash-hero {
        padding: 32px 20px 24px
      }

      .today-banner {
        margin: 16px 20px 0
      }

      .course-grid {
        padding: 0 20px 32px
      }

      .dash-section-title {
        padding: 24px 20px 12px
      }

      .schedule-section {
        padding: 0 20px 32px
      }

      .shortcuts-bar {
        padding: 12px 20px;
        display: none
      }
    }

    /* ═══ GRADIENT BORDER KARTLAR ═══ */
    /* ═══ GRADIENT BORDER KARTLAR — JS ile döndürülür ═══ */
    .course-card {
      position: relative;
    }

    .course-card::after {
      content: '';
      position: absolute;
      inset: -1.5px;
      border-radius: 17px;
      background: conic-gradient(#c8f135, #38bdf8, #a78bfa, #f97316, #c8f135);
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .course-card:hover::after {
      opacity: 1;
    }

    /* ═══ SKELETON ═══ */
    .skeleton {
      background: linear-gradient(90deg, var(--theme-border) 25%, var(--theme-surface) 50%, var(--theme-border) 75%);
      background-size: 200% 100%;
      animation: skelAnim 1.4s infinite;
      border-radius: 6px;
    }

    @keyframes skelAnim {
      0% {
        background-position: 200% 0
      }

      100% {
        background-position: -200% 0
      }
    }

    /* ═══ GÜNÜN TERİMİ ═══ */
    .word-of-day {
      margin: 0 20px 16px;
      padding: 18px 24px;
      background: linear-gradient(135deg, rgba(200, 241, 53, 0.06), rgba(56, 189, 248, 0.06));
      border: 1px solid rgba(200, 241, 53, 0.2);
      border-radius: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .word-of-day:hover {
      border-color: rgba(200, 241, 53, 0.5);
      transform: translateY(-1px);
    }

    .wod-label {
      font-family: 'Syne', sans-serif;
      font-size: 10px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--theme-muted);
      margin-bottom: 8px;
    }

    .wod-term {
      font-family: 'Syne', sans-serif;
      font-size: 20px;
      font-weight: 800;
      color: var(--theme-accent);
      margin-bottom: 4px;
    }

    .wod-def {
      font-size: 13px;
      color: var(--theme-muted);
      line-height: 1.5;
    }

    /* ═══ PWA BANNER ═══ */
    .pwa-banner {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 14px;
      padding: 14px 20px;
      z-index: 9000;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
      align-items: center;
      gap: 14px;
      max-width: 340px;
      width: 90%;
    }

    .pwa-banner.show {
      display: flex;
      animation: panelFadeIn 0.3s ease;
    }

    .pwa-text {
      font-size: 13px;
      color: var(--theme-text);
      line-height: 1.4;
    }

    .pwa-text strong {
      color: var(--theme-accent);
      font-family: 'Syne', sans-serif;
    }

    .pwa-btn {
      padding: 8px 16px;
      background: var(--theme-accent);
      color: #08090d;
      border: none;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 12px;
      cursor: pointer;
      white-space: nowrap;
    }

    .pwa-close {
      background: none;
      border: none;
      color: var(--theme-muted);
      font-size: 18px;
      cursor: pointer;
      padding: 0 4px;
    }

    /* ═══ PULL TO REFRESH ═══ */
    .ptr-indicator {
      position: fixed;
      top: 52px;
      left: 50%;
      transform: translateX(-50%) translateY(-60px);
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 50px;
      padding: 8px 18px;
      font-size: 12px;
      color: var(--theme-accent);
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      z-index: 8000;
      transition: transform 0.25s;
      pointer-events: none;
    }

    .ptr-indicator.ptr-ready {
      transform: translateX(-50%) translateY(10px);
    }

    /* ═══ SES SEÇENEKLERİ ═══ */
    .pomo-sound-row {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 8px;
    }

    .sound-opt {
      padding: 5px 12px;
      border-radius: 20px;
      border: 1px solid var(--theme-border);
      background: none;
      color: var(--theme-muted);
      font-size: 12px;
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'Syne', sans-serif;
    }

    .sound-opt.active {
      border-color: var(--theme-accent);
      color: var(--theme-accent);
      background: rgba(200, 241, 53, 0.08);
    }

    .wave-canvas {
      display: block;
      width: 100%;
      height: 36px;
      margin-top: 6px;
      opacity: 0.5;
    }

    /* ═══ DİNAMİK SELAM GRADİENT ═══ */
    .dash-greeting {
      background: linear-gradient(135deg, var(--theme-accent), #38bdf8);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ═══ CURSOR GLOW ═══ */
    #cursor-glow {
      pointer-events: none;
      position: fixed;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(200, 241, 53, 0.07) 0%, transparent 70%);
      transform: translate(-50%, -50%);
      z-index: 99998;
      transition: opacity 0.4s;
      opacity: 0;
    }

    [data-theme="light"] #cursor-glow {
      background: radial-gradient(circle, rgba(92, 78, 232, 0.06) 0%, transparent 70%);
    }/* ═══ DARK MODE KONTRAST İYİLEŞTİRME ═══ */
    [data-theme="dark"] {
      --theme-bg: #06070a;
      --theme-surface: #0f1115;
      --theme-border: #1c1e26;
      --theme-text: #eceef5;
      --theme-muted: #5a5f70;
    }

    /* ═══ 3D TILT PÜRÜZSÜZ ANİMASYON ═══ */
    .course-card, .session-card {
      transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1), 
                  box-shadow 0.35s ease,
                  border-color 0.25s ease !important;
      will-change: transform;
      transform-style: preserve-3d;
    }

    /* ═══ HIZLI SÖZLÜK ═══ */

    .dict-input-row {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .dict-input {
      flex: 1;
      background: var(--theme-bg);
      border: 1px solid var(--theme-border);
      border-radius: 8px;
      padding: 10px 14px;
      color: var(--theme-text);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s;
    }

    .dict-input:focus {
      border-color: var(--theme-accent);
    }

    .dict-input::placeholder {
      color: var(--theme-muted);
    }

    #dict-result {
      display: none;
      margin-top: 14px;
      border: 1px solid var(--theme-border);
      border-radius: 12px;
      overflow: hidden;
      background: var(--theme-bg);
    }

    .dict-header {
      background: var(--theme-surface);
      padding: 14px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--theme-border);
    }

    .dict-word {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      color: var(--theme-text);
    }

    .dict-phonetic {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--theme-muted);
      margin-top: 3px;
    }

    .dict-speak-btn {
      background: var(--theme-bg);
      border: 1px solid var(--theme-border);
      border-radius: 10px;
      padding: 8px 14px;
      color: var(--theme-accent);
      cursor: pointer;
      font-size: 16px;
      transition: all 0.2s;
    }

    .dict-speak-btn:hover {
      border-color: var(--theme-accent);
    }

    .dict-pos {
      font-family: 'Syne', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--theme-accent);
      padding: 14px 18px 6px;
    }

    .dict-def-item {
      padding: 10px 18px;
      border-bottom: 1px solid var(--theme-border);
    }

    .dict-def-item:last-child {
      border-bottom: none;
    }

    .dict-def-text {
      color: var(--theme-text);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 13px;
      line-height: 1.6;
    }

    .dict-def-num {
      color: var(--theme-muted);
      font-size: 11px;
      margin-right: 6px;
    }

    .dict-example {
      color: var(--theme-muted);
      font-size: 12px;
      font-style: italic;
      margin-top: 5px;
      padding-left: 16px;
    }

    .dict-synonyms {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 8px;
      padding-left: 16px;
    }

    .dict-syn-chip {
      background: var(--theme-surface);
      border: 1px solid var(--theme-border);
      border-radius: 20px;
      padding: 2px 10px;
      font-size: 11px;
      color: var(--theme-accent);
      cursor: pointer;
      font-family: 'IBM Plex Mono', monospace;
      transition: all 0.15s;
    }

    .dict-syn-chip:hover {
      background: rgba(200,241,53,0.1);
    }

    .dict-footer {
      padding: 10px 18px;
      text-align: right;
      border-top: 1px solid var(--theme-border);
    }

    .dict-tureng-link {
      font-size: 11px;
      color: var(--theme-muted);
      font-family: 'IBM Plex Sans', sans-serif;
      text-decoration: none;
      transition: color 0.2s;
    }

    .dict-tureng-link:hover {
      color: var(--theme-accent);
    }

    .dict-not-found {
      padding: 20px 18px;
      color: var(--theme-muted);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 13px;
    }

    @media (max-width: 768px) {

    }

    /* ═══ PWA OFFLİNE TOAST ═══ */
    #offline-toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(80px);
      background: #1c1e26;
      border: 1px solid var(--theme-border);
      border-radius: 50px;
      padding: 10px 22px;
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      color: #f97316;
      z-index: 99999;
      transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      pointer-events: none;
      white-space: nowrap;
    }

    #offline-toast.show {
      transform: translateX(-50%) translateY(0);
    }

    /* ═══ MOBİL PREMIUM LAYOUT ═══ */
    @media (max-width: 768px) {
      /* Navbar daha kompakt */
      .app-switcher {
        height: 48px;
        padding: 0 8px;
        gap: 2px;
      }
      .drop-label {
        font-size: 10px !important;
        padding: 6px 7px !important;
        letter-spacing: 0.5px !important;
      }
      .app-logo-fixed {
        font-size: 11px !important;
        padding: 0 8px 0 10px !important;
      }
      .search-btn { display: none !important; }
      .theme-toggle { width: 30px !important; height: 30px !important; }
      /* Hero */
      .dash-hero {
        padding: 24px 20px 18px !important;
      }

      /* Bugün banner */
      .today-banner {
        margin: 12px 16px 0 !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
      }
      /* Dashboard grid — mobilde tam genişlik kartlar */

      /* Ses satırı */
      .pomo-sound-row {
        gap: 4px !important;
      }
      .sound-opt {
        font-size: 11px !important;
        padding: 4px 10px !important;
      }
      /* Ders kartları grid */
      .course-grid {
        grid-template-columns: 1fr !important;
        padding: 0 16px 24px !important;
        gap: 10px !important;
      }
      .course-card {
        padding: 20px !important;
        border-radius: 14px !important;
      }
      /* Schedule */
      .schedule-section {
        padding: 0 16px 24px !important;
      }
      .schedule-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
      }
      /* Başlıklar */
      .dash-section-title {
        padding: 20px 16px 10px !important;
      }
      /* Shortcuts bar gizle mobilde */
      .shortcuts-bar {
        display: none !important;
      }
      /* Word of day */
      .word-of-day {
        margin: 12px 16px 0 !important;
        border-radius: 14px !important;
      }
      /* Ses padding */
      .pomo-sound-row-wrap {
        padding: 0 16px 4px !important;
      }
    }

    /* ═══ APPS POPUP GRID BUTON ═══ */
    .app-grid-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 10px;
      background: var(--theme-bg);
      border: 1px solid var(--theme-border);
      border-radius: 12px;
      color: var(--theme-text);
      font-family: 'Syne', sans-serif;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .app-grid-btn:hover, .app-grid-btn:active {
      border-color: var(--theme-accent);
      background: rgba(200,241,53,0.05);
      transform: scale(0.97);
    }

    /* ═══ PREMIUM ANA SAYFA ═══ */
    /* Hero daha minimal */
    .dash-hero {
      padding: 36px 40px 28px !important;
    }
    /* Pomodoro ve sözlük yan yana grid */

    @media (max-width: 900px) {

    }
    /* Ses seçenekleri daha kompakt */
    .pomo-sound-row {
      flex-wrap: wrap;
      gap: 5px !important;
    }
    /* Word of day daha şık */
    .word-of-day {
      margin: 16px 40px 0 !important;
    }
    @media (max-width: 768px) {
      .dash-hero { padding: 24px 20px 20px !important; }
      .word-of-day { margin: 12px 20px 0 !important; }
    }

    #lockscreen {
      position: fixed;
      inset: 0;
      background: #08090d;
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 20px;
      font-family: 'Syne', sans-serif
    }

    #lockscreen h2 {
      color: #e8eaf0;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.5px
    }

    #lockscreen .lock-sub {
      color: #555;
      font-size: 13px;
      margin-top: -12px
    }

    #lock-input {
      background: #111318;
      border: 1.5px solid #2a2d36;
      border-radius: 10px;
      padding: 14px 20px;
      font-size: 22px;
      color: #e8eaf0;
      text-align: center;
      letter-spacing: 8px;
      width: 160px;
      outline: none;
      font-family: 'Syne', sans-serif;
      font-weight: 800
    }

    #lock-input:focus {
      border-color: #c8f135
    }

    #lock-input.wrong {
      border-color: #f87171;
      animation: shake 0.3s
    }

    @keyframes shake {

      0%,
      100% {
        transform: translateX(0)
      }

      25% {
        transform: translateX(-8px)
      }

      75% {
        transform: translateX(8px)
      }
    }

    #lock-btn {
      padding: 12px 32px;
      background: #c8f135;
      color: #08090d;
      border: none;
      border-radius: 10px;
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 14px;
      cursor: pointer;
      letter-spacing: 1px;
      transition: opacity 0.2s
    }

    #lock-btn:hover {
      opacity: 0.85
    }

    #lock-logo {
      font-size: 32px;
      margin-bottom: -8px
    }/* ═══ HAFTA OVERLAY ═══ */
#week-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99990;
}
#week-overlay.open { display: block; }

.week-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.week-overlay-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  padding: 28px 32px 32px;
  width: min(680px, 90vw);
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease;
}
#week-overlay.open .week-overlay-modal {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .week-overlay-modal {
    position: absolute;
    top: auto; bottom: 0; left: 0; right: 0;
    transform: translateY(100%);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 78vh;
    padding: 0 0 env(safe-area-inset-bottom, 20px);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  }
  #week-overlay.open .week-overlay-modal {
    transform: translateY(0);
  }
  .week-overlay-header { padding: 8px 20px 16px; }
  .week-overlay-cards { padding: 0 16px 24px !important; }
}

.week-overlay-handle {
  display: none;
  width: 40px; height: 4px;
  background: var(--theme-border);
  border-radius: 2px;
  margin: 14px auto 0;
}
@media (max-width: 768px) { .week-overlay-handle { display: block; } }

.week-overlay-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--theme-border);
  margin-bottom: 24px;
  border-top: 3px solid var(--wo-color, #c8f135);
  border-radius: 4px 4px 0 0;
}
@media (max-width: 768px) {
  .week-overlay-header {
    border-top: none;
    border-bottom: 1px solid var(--theme-border);
    margin-bottom: 16px;
  }
}

.week-overlay-icon { font-size: 2rem; flex-shrink: 0; }

.week-overlay-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--theme-text);
  letter-spacing: -0.3px;
}
.week-overlay-sub {
  font-size: 11px;
  color: var(--theme-muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 1px;
  margin-top: 2px;
}
.week-overlay-close {
  margin-left: auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.week-overlay-close:hover { border-color: var(--theme-text); color: var(--theme-text); }

.week-overlay-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 4px;
}
@media (max-width: 480px) {
  .week-overlay-cards { grid-template-columns: 1fr 1fr; }
}

.week-card {
  position: relative;
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: 14px;
  padding: 22px 18px 18px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.3s ease,
              border-color 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.week-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--wc-color, #c8f135);
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.week-card--active { cursor: pointer; }
.week-card--active:hover {
  border-color: var(--wc-color, #c8f135);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.week-card--active:hover::before { opacity: 1; }

.week-card--locked {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.wc-week-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wc-color, #c8f135);
}
.week-card--locked .wc-week-num { color: var(--theme-muted); }

.wc-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--theme-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.wc-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wc-color, #c8f135);
  flex-shrink: 0;
  animation: wcPulse 2s infinite;
}
@keyframes wcPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════
   🌌 AURORA ARKA PLAN
═══════════════════════════════════════════════════════════ */
#aurora-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: screen;
}
[data-theme="light"] #aurora-canvas {
  opacity: 0.08;
  mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════════════════════
   🔮 GLASSMORPHISM KARTLAR
═══════════════════════════════════════════════════════════ */
.course-card {
  backdrop-filter: blur(12px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
  background: rgba(17, 19, 24, 0.72) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
[data-theme="light"] .course-card {
  background: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
.course-card:hover {
  background: rgba(25, 28, 36, 0.85) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--card-accent-rgb, 200,241,53), 0.25), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

#panel-hukuk .card {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  background: rgba(17, 19, 24, 0.7) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}
#panel-hukuk .card:hover {
  background: rgba(28, 32, 42, 0.88) !important;
}

#panel-davos .session-card {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  background: rgba(17, 19, 24, 0.7) !important;
}

/* ═══════════════════════════════════════════════════════════
   ✨ NEON GLOW EFEKTİ
═══════════════════════════════════════════════════════════ */
.course-card:hover {
  box-shadow:
    0 0 0 1px var(--card-accent, #c8f135),
    0 0 20px rgba(200,241,53,0.15),
    0 8px 40px rgba(0,0,0,0.5) !important;
}
.course-card.today-highlight {
  box-shadow:
    0 0 0 1px var(--card-accent, #c8f135),
    0 0 30px rgba(200,241,53,0.2),
    0 4px 24px rgba(0,0,0,0.4) !important;
}

/* ═══════════════════════════════════════════════════════════
   🌈 ANİMATED GRADIENT BORDER
═══════════════════════════════════════════════════════════ */
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.course-card.today-highlight::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #c8f135, #38bdf8, #a78bfa, #f97316, #c8f135);
  background-size: 300% 300%;
  animation: borderRotate 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════
   📜 ÖZEL SCROLLBAR
═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c8f135 0%, #38bdf8 100%);
  border-radius: 99px;
  opacity: 0.6;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4f55a 0%, #5dd3f8 100%);
}
* { scrollbar-width: thin; scrollbar-color: #c8f135 transparent; }

/* ═══════════════════════════════════════════════════════════
   🌫️ NOISE TEXTURE
═══════════════════════════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ═══════════════════════════════════════════════════════════
   💀 SKELETON SHIMMER
═══════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    var(--theme-surface) 25%,
    rgba(200,241,53,0.07) 50%,
    var(--theme-surface) 75%
  );
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   💧 RİPPLE EFEKTİ
═══════════════════════════════════════════════════════════ */
.ripple-container {
  position: relative;
  overflow: hidden;
}
@keyframes rippleAnim {
  0%   { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,241,53,0.3);
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   📊 PROGRESS BAR SPRING ANİMASYON
═══════════════════════════════════════════════════════════ */
.progress-ring-fill {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
#dProgressFill {
  transition: width 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* ═══════════════════════════════════════════════════════════
   🔢 SAYAÇ ANİMASYON (counter)
═══════════════════════════════════════════════════════════ */
.stat-count {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.stat-count.bump {
  transform: scale(1.35);
}

/* ═══════════════════════════════════════════════════════════
   ⌨️ TYPİNG CURSOR
═══════════════════════════════════════════════════════════ */
#typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--theme-accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   💬 MOTİVASYON QUOTE
═══════════════════════════════════════════════════════════ */
#motivation-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--theme-muted);
  font-style: italic;
  margin-top: 6px;
  min-height: 18px;
  transition: opacity 0.5s ease;
  letter-spacing: 0.2px;
}
#motivation-quote.fade-out { opacity: 0; }
#motivation-quote.fade-in  { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   🏆 STREAK ROZET
═══════════════════════════════════════════════════════════ */
#streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(200,241,53,0.12), rgba(56,189,248,0.12));
  border: 1px solid rgba(200,241,53,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--theme-accent);
  letter-spacing: 0.5px;
  margin-top: 8px;
  cursor: default;
  transition: all 0.3s;
}
#streak-badge:hover {
  background: linear-gradient(135deg, rgba(200,241,53,0.2), rgba(56,189,248,0.2));
  box-shadow: 0 0 14px rgba(200,241,53,0.2);
}
#streak-badge .streak-fire { font-size: 14px; }

/* ═══════════════════════════════════════════════════════════
   🕐 LİVE SAAT WİDGET
═══════════════════════════════════════════════════════════ */
#live-clock {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--theme-muted);
  letter-spacing: 2px;
  margin-top: 4px;
  transition: color 0.3s;
}
#live-clock.late-night { color: #a78bfa; }
#live-clock.morning    { color: #fbbf24; }
#live-clock.afternoon  { color: #38bdf8; }
#live-clock.evening    { color: #c8f135; }

/* ═══════════════════════════════════════════════════════════
   🧲 MAGNETİK BUTON
═══════════════════════════════════════════════════════════ */
.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.23,1,0.32,1) !important;
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════
   🎭 PAGE TRANSİTİON
═══════════════════════════════════════════════════════════ */
.app-panel {
  animation: none;
}
.app-panel.panel-enter {
  animation: panelSlideIn 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}
@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════
   📜 PARALLAX SCROLL HİNT
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   🎊 CONFETTİ CANVAS
═══════════════════════════════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99999;
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   🌟 GENEL RENK CANLILIK ARTIŞI
═══════════════════════════════════════════════════════════ */
:root {
  --theme-accent-glow: rgba(200,241,53,0.25);
  --theme-blue-glow: rgba(56,189,248,0.2);
  --theme-purple-glow: rgba(167,139,250,0.2);
}

.drop-label:hover {
  color: var(--theme-accent) !important;
  text-shadow: 0 0 12px rgba(200,241,53,0.4);
  transition: all 0.2s;
}

.today-pill {
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1) !important;
}
.today-pill:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

.pomo-btn {
  transition: all 0.2s cubic-bezier(0.23,1,0.32,1) !important;
}
.pomo-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 20px rgba(200,241,53,0.25) !important;
}
.pomo-btn:active {
  transform: scale(0.97) !important;
}

.hfc-btn, .quiz-option, .show-answer-btn, .quiz-next {
  transition: all 0.2s cubic-bezier(0.23,1,0.32,1) !important;
}
.hfc-btn:hover, .quiz-option:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}
.hfc-btn:active, .quiz-option:active {
  transform: scale(0.97) !important;
}

.quiz-option.correct {
  box-shadow: 0 0 20px rgba(200,241,53,0.4) !important;
  animation: correctPulse 0.4s ease;
}
.quiz-option.wrong {
  box-shadow: 0 0 20px rgba(239,68,68,0.4) !important;
  animation: wrongShake 0.4s ease;
}

@keyframes correctPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  60%       { transform: translateX(6px); }
}

.speaker-card, .number-card, .abbr-card {
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1) !important;
}
.speaker-card:hover, .number-card:hover, .abbr-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35) !important;
  border-color: var(--theme-accent) !important;
}

/* Flashcard swipe hint */
.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--theme-muted);
  margin-top: 8px;
  opacity: 0.6;
}
.swipe-hint span { letter-spacing: 0.5px; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #aurora-canvas { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   ⚡ PERFORMANS & HIZLANMA
═══════════════════════════════════════════════════════════ */

/* content-visibility: uzun panellerde görünmeyen bölümler render edilmez */
#panel-hukuk .card-grid,
#panel-davos .term-section,
#panel-davos .practice-card,
#panel-davos .speaker-card {
  content-visibility: auto;
  contain-intrinsic-size: 0 200px;
}

/* will-change: animasyonlu elementlere GPU katmanı */
.course-card,
.session-card,
.week-card,
#panel-hukuk .card,
.hflashcard,
.dflashcard,
.today-pill,
.pomo-btn {
  will-change: transform;
}

/* overscroll-behavior: tarayıcı bounce sitenin scrollunu bozmasın */
body {
  overscroll-behavior: contain;
}
.app-panel {
  overscroll-behavior: contain;
}

/* subpixel rendering fix: retina'da metin ve border bulanıklığı */
.course-card,
.session-card,
#panel-hukuk .card,
.week-card,
.hflashcard,
.dflashcard {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════
   🎯 EASING STANDARDİZASYONU — iOS spring
═══════════════════════════════════════════════════════════ */
:root {
  --ease-spring: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   180ms;
  --duration-normal: 320ms;
  --duration-slow:   480ms;
}

/* Tüm transition'ları standartlaştır */
.course-card       { transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-fast) var(--ease-out) !important; }
.today-pill        { transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out) !important; }
.pomo-btn          { transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out) !important; }
.hbtn, .flash-btn  { transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out) !important; }
.drop-label        { transition: color var(--duration-fast) var(--ease-out), text-shadow var(--duration-fast) var(--ease-out) !important; }
.speaker-card,
.number-card,
.abbr-card         { transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-fast) var(--ease-out) !important; }
.app-panel         { transition: opacity var(--duration-fast) var(--ease-out) !important; }
body, html         { transition: background var(--duration-normal) var(--ease-out), color var(--duration-normal) var(--ease-out) !important; }

/* ═══════════════════════════════════════════════════════════
   🎹 FOCUS VISIBLE — klavye navigasyonu
═══════════════════════════════════════════════════════════ */
:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(200, 241, 53, 0.15);
}

button:focus-visible,
.drop-label:focus-visible,
.drop-item:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(200, 241, 53, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   📌 SCROLL SNAP — hafta kartları
═══════════════════════════════════════════════════════════ */
.week-overlay-cards {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  display: flex;
  gap: 12px;
  padding-bottom: 4px;
  /* grid'i override ediyoruz mobilde */
}

@media (max-width: 600px) {
  .week-overlay-cards {
    display: flex !important;
    flex-wrap: nowrap;
    grid-template-columns: unset;
  }
  .week-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 160px;
  }
}

/* App switcher scroll snap */
.app-switcher {
  scroll-snap-type: x proximity;
}
.dropdown {
  scroll-snap-align: start;
}

/* ═══════════════════════════════════════════════════════════
   🌓 COLOR SCHEME & SYSTEM UI
═══════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark light;
}
[data-theme="dark"]  { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

/* ═══════════════════════════════════════════════════════════
   🔠 FONT DISPLAY SWAP (inline fallback)
═══════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Syne';
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════
   🚀 GENEL SMOOTH & PREMIUM DOKUNUŞLAR
═══════════════════════════════════════════════════════════ */

/* Daha akıcı scroll */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Seçim rengi */
::selection {
  background: rgba(200, 241, 53, 0.25);
  color: var(--theme-text);
}

/* Image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Kart içi elementlerin will-change'i temizle (performans) */
.course-card:not(:hover) {
  will-change: auto;
}

/* Nav transition daha smooth */
.app-switcher {
  transition: box-shadow var(--duration-fast) var(--ease-out);
}
.app-switcher.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Placeholder paneller daha premium */
.panel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: placeholderFadeIn 0.5s var(--ease-spring) forwards;
}
@keyframes placeholderFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Leitner stats daha okunaklı */
.leitner-stats {
  transition: all var(--duration-fast) var(--ease-out);
}

/* Quiz option daha hızlı feedback */
.quiz-option {
  transition: transform var(--duration-fast) var(--ease-spring),
              background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out) !important;
}

/* Dropdown menu daha smooth */
.drop-menu, .body-menu {
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring) !important;
}

/* Week overlay modal daha smooth */
.week-overlay-modal {
  transition: transform var(--duration-normal) var(--ease-spring) !important;
}

/* ═══════════════════════════════════════════════════════════
   🏠 YENİ DASHBOARD — HERO + BENTO
═══════════════════════════════════════════════════════════ */

/* HERO — tam viewport */
.dash-hero {
  position: relative !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--theme-border) !important;
  overflow: hidden !important;
  background: var(--theme-bg) !important;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,241,53,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(56,189,248,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 70%, rgba(167,139,250,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0 24px;
  max-width: 700px;
  width: 100%;
}

.hero-clock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.hero-clock-wrap #live-clock {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: clamp(42px, 10vw, 96px) !important;
  font-weight: 400 !important;
  letter-spacing: 4px !important;
  color: var(--theme-text) !important;
  margin-top: 0 !important;
  line-height: 1 !important;
}

.hero-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--theme-muted);
  margin-top: 8px;
}

.hero-center .dash-greeting {
  font-size: clamp(10px, 2vw, 12px) !important;
  letter-spacing: 4px !important;
  margin-bottom: 10px !important;
}

.hero-center #motivation-quote {
  font-size: 13px !important;
  margin-top: 8px !important;
  max-width: 480px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--theme-muted);
  letter-spacing: 1px;
}

.hero-meta #streak-badge {
  margin-top: 0 !important;
}

.hero-meta-sep {
  color: var(--theme-border);
}

.hero-session-info {
  color: var(--theme-muted);
}

.hero-today {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--theme-muted);
  opacity: 0.5;
  animation: scrollHintPulse 2.5s ease-in-out infinite;
  z-index: 2;
  white-space: nowrap;
}

.scroll-hint-line {
  width: 24px;
  height: 1px;
  background: var(--theme-muted);
}

@keyframes scrollHintPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.6; transform: translateX(-50%) translateY(4px); }
}

/* ═══ BENTO GRID ═══ */
.dash-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 32px 40px;
}

/* Pomodoro — sol büyük */
.bento-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.bento-card:hover {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.bento-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--theme-muted);
  margin-bottom: 16px;
  opacity: 0.6;
}

/* Pomodoro kart — iki sütun kaplar */
.bento-pomo {
  grid-column: span 2;
}

.bento-pomo-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.pomo-ring-wrap {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-pomo .pomo-ring {
  width: 80px !important;
  height: 80px !important;
  position: absolute;
  top: 0; left: 0;
}

.bento-pomo .pomo-display {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--theme-accent) !important;
  letter-spacing: -1px !important;
  position: relative;
  z-index: 1;
}

.pomo-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-pomo .pomo-controls {
  flex-direction: row;
  gap: 8px;
}

.bento-sound-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.bento-sound-row .sound-opt {
  padding: 3px 10px !important;
  font-size: 13px !important;
  border-radius: 16px !important;
}

/* Hedef — küçük kart */
.bento-goal {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
}

.bento-goal #daily-goal-widget {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex: 1;
  box-shadow: none !important;
}

.bento-goal #daily-goal-widget:hover {
  box-shadow: none !important;
}

/* Günün terimi */
.bento-wod {
  grid-column: span 1;
  cursor: pointer;
}

.bento-wod:hover {
  border-color: rgba(200,241,53,0.3) !important;
}

.bento-wod .wod-term {
  font-size: 22px !important;
  margin-bottom: 6px !important;
}

/* Sözlük — geniş */
.bento-dict {
  grid-column: span 2;
}

/* Responsive bento */
@media (max-width: 900px) {
  .dash-bento {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
    gap: 12px;
  }
  .bento-pomo { grid-column: span 2; }
  .bento-goal { grid-column: span 1; }
  .bento-wod  { grid-column: span 1; }
  .bento-dict { grid-column: span 2; }
}

@media (max-width: 600px) {
  .dash-hero {
    min-height: 100svh !important;
  }
  .hero-clock-wrap #live-clock {
    font-size: clamp(36px, 14vw, 64px) !important;
    letter-spacing: 2px !important;
  }
  .dash-bento {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 10px;
  }
  .bento-pomo,
  .bento-goal,
  .bento-wod,
  .bento-dict {
    grid-column: span 1 !important;
  }
  .hero-scroll-hint { display: none; }
}

/* hero-today pilleri */
.hero-today .today-pill {
  font-size: 11px !important;
  padding: 4px 12px !important;
}

/* today-banner sayfanın altında kaldı, padding düzelt */
.today-banner {
  margin: 0 40px 0 !important;
}
@media (max-width: 768px) {
  .today-banner { margin: 0 16px !important; }
}

/* Ambient mode bento da kapansın */
body.ambient-mode .dash-bento,
body.ambient-mode .hero-scroll-hint {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

/* ═══════════════════════════════════════════════════════════
   🗂 SIDEBAR
═══════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  left: 0;
  top: 52px;
  bottom: 0;
  width: 64px;
  background: var(--theme-surface);
  border-right: 1px solid var(--theme-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  z-index: 900;
  transition: width 0.22s var(--ease-out);
  overflow: hidden;
}

.sidebar:hover {
  width: 160px;
}

.sidebar-logo {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  flex: 1;
  padding: 0 8px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--theme-muted);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  width: 100%;
  text-align: left;
}

.sidebar-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.sidebar-btn span:last-child {
  opacity: 0;
  transition: opacity 0.15s;
}

.sidebar:hover .sidebar-btn span:last-child {
  opacity: 1;
}

.sidebar-btn:hover {
  background: var(--theme-border);
  color: var(--theme-text);
}

.sidebar-btn.active {
  background: rgba(200,241,53,0.1);
  color: var(--theme-accent);
}

.sidebar-bottom {
  width: 100%;
  padding: 0 8px;
}

/* Content area sidebar için kaydır */

/* app-panel'leri sidebar'a göre kaydır */
.app-panel {
  margin-left: 64px !important;
}

@media (max-width: 768px) {
  .sidebar { display: none !important; }
  .app-panel { margin-left: 0 !important; }
}

/* ═══════════════════════════════════════════════════════════
   📊 İSTATİSTİK SAYFASI
═══════════════════════════════════════════════════════════ */
.stats-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.stats-header {
  margin-bottom: 40px;
}

.stats-title {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--theme-text);
  margin: 0 0 6px;
}

.stats-sub {
  font-size: 13px;
  color: var(--theme-muted);
  font-family: 'DM Sans', sans-serif;
  margin: 0;
}

.stats-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: var(--theme-accent); }

.stat-card-icon { font-size: 22px; margin-bottom: 8px; }

.stat-card-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card-label {
  font-size: 11px;
  color: var(--theme-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}

.stats-section {
  margin-bottom: 40px;
}

.stats-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-section-sub {
  font-size: 11px;
  color: var(--theme-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ═══ HEATMAP ═══ */
.heatmap-wrap {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 20px 24px;
  overflow-x: auto;
}

.heatmap-months {
  display: flex;
  gap: 0;
  margin-bottom: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  letter-spacing: 0.5px;
  padding-left: 24px;
}

.heatmap-grid {
  display: flex;
  gap: 3px;
}

.heatmap-week {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-cell {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--theme-border);
  cursor: pointer;
  transition: transform 0.1s;
}

.hm-cell:hover { transform: scale(1.3); }

.hm-cell[data-level="0"] { background: rgba(255,255,255,0.05); }
.hm-cell[data-level="1"] { background: rgba(200,241,53,0.2); }
.hm-cell[data-level="2"] { background: rgba(200,241,53,0.4); }
.hm-cell[data-level="3"] { background: rgba(200,241,53,0.65); }
.hm-cell[data-level="4"] { background: rgba(200,241,53,0.9); }

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  justify-content: flex-end;
}

.heatmap-legend-cells {
  display: flex;
  gap: 3px;
}

/* ═══ HAFTALIK BARLAR ═══ */
.weekly-bars {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.weekly-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.weekly-bar {
  width: 100%;
  background: rgba(200,241,53,0.7);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.4s var(--ease-out);
  position: relative;
}

.weekly-bar:hover { background: var(--theme-accent); }

.weekly-bar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  letter-spacing: 0.5px;
}

.weekly-bar-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--theme-muted);
}

/* ═══ ZAYIF KONULAR ═══ */
.weak-topics-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weak-topic-item {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-left: 3px solid #f87171;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weak-topic-name {
  font-size: 13px;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
}

.weak-topic-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #f87171;
}

.weak-empty {
  font-size: 13px;
  color: var(--theme-muted);
  font-family: 'DM Sans', sans-serif;
  padding: 20px;
  text-align: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
}

/* ═══ REVISION PLAN ═══ */
.revision-plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.revision-item {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.revision-day {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  min-width: 60px;
}

.revision-topic {
  font-size: 13px;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
  flex: 1;
}

.revision-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.5px;
}

.revision-badge.due    { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid #f8717133; }
.revision-badge.soon   { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1px solid #fbbf2433; }
.revision-badge.ok     { background: rgba(74,222,128,0.15);  color: #4ade80; border: 1px solid #4ade8033; }

/* ═══════════════════════════════════════════════════════════
   📝 NOTES EDITÖRÜ
═══════════════════════════════════════════════════════════ */
.notes-layout {
  display: flex;
  height: calc(100vh - 52px);
  overflow: hidden;
}

.notes-sidebar {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--theme-border);
  background: var(--theme-surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notes-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
  border-bottom: 1px solid var(--theme-border);
}

.notes-sidebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--theme-text);
}

.notes-new-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-accent);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}

.notes-new-btn:hover { background: rgba(200,241,53,0.1); }

.notes-search {
  margin: 10px 12px;
  padding: 8px 12px;
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  outline: none;
}

.notes-search:focus { border-color: var(--theme-accent); }

.notes-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px;
  scrollbar-width: none;
}

.notes-list::-webkit-scrollbar { display: none; }

.notes-list-item {
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background 0.12s;
}

.notes-list-item:hover { background: var(--theme-border); }

.notes-list-item.active {
  background: rgba(200,241,53,0.08);
  border-left: 2px solid var(--theme-accent);
}

.notes-list-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notes-list-preview {
  font-size: 11px;
  color: var(--theme-muted);
  font-family: 'DM Sans', sans-serif;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Editör */
.notes-editor-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notes-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-surface);
  flex-wrap: wrap;
}

.notes-tb-btn {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--theme-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.notes-tb-btn:hover { background: var(--theme-border); color: var(--theme-text); }

.notes-tb-sep {
  width: 1px;
  height: 16px;
  background: var(--theme-border);
  margin: 0 4px;
}

.notes-to-fc-btn {
  color: var(--theme-accent) !important;
  border: 1px solid rgba(200,241,53,0.3) !important;
}

.notes-delete-btn { color: #f87171 !important; }

.notes-save-status {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  letter-spacing: 1px;
}

.notes-title-input {
  padding: 16px 24px 8px;
  border: none;
  background: transparent;
  color: var(--theme-text);
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  outline: none;
  width: 100%;
}

.notes-title-input::placeholder { color: var(--theme-border); }

.notes-editor {
  flex: 1;
  padding: 8px 24px 40px;
  overflow-y: auto;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  outline: none;
  caret-color: var(--theme-accent);
}

.notes-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--theme-border);
  pointer-events: none;
}

.notes-editor mark {
  background: rgba(200,241,53,0.25);
  color: var(--theme-text);
  border-radius: 2px;
  padding: 0 2px;
}

.notes-meta {
  padding: 6px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  letter-spacing: 1px;
  border-top: 1px solid var(--theme-border);
}

/* HFC Modal */
.hfc-modal-box {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  padding: 28px 32px;
  width: 420px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hfc-modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 4px;
}

.hfc-modal-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--theme-muted);
}

.hfc-modal-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  color: var(--theme-text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
}

.hfc-modal-input:focus { border-color: var(--theme-accent); }

.hfc-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
}

.hfc-modal-cancel {
  padding: 8px 18px;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-muted);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

.hfc-modal-save {
  padding: 8px 18px;
  border: none;
  background: var(--theme-accent);
  color: #000;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

/* Notes mobil */
@media (max-width: 768px) {
  .notes-sidebar { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--theme-border); }
  .notes-layout { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   🕸 BİLGİ GRAFİĞİ
═══════════════════════════════════════════════════════════ */
.graph-page {
  height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.graph-header {
  padding: 24px 40px 12px;
  border-bottom: 1px solid var(--theme-border);
}

.graph-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 40px;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-surface);
}

.graph-filter {
  padding: 6px 12px;
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  outline: none;
  cursor: pointer;
}

.graph-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--theme-muted);
  letter-spacing: 1px;
}

#graph-canvas {
  flex: 1;
  width: 100%;
  display: block;
  cursor: grab;
}

#graph-canvas:active { cursor: grabbing; }

.graph-tooltip {
  position: fixed;
  background: var(--theme-surface);
  border: 1px solid var(--theme-accent);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--theme-text);
  pointer-events: none;
  display: none;
  z-index: 9999;
  max-width: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Stats responsive */
@media (max-width: 768px) {
  .stats-page { padding: 32px 20px 60px; }
  .stats-summary-row { grid-template-columns: repeat(2, 1fr); }
  .graph-header, .graph-controls { padding-left: 20px; padding-right: 20px; }
}


/* ═══════════════════════════════════════════════════════════
   🕐 SLIDING CLOCK
═══════════════════════════════════════════════════════════ */
.sliding-clock {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: clamp(42px, 10vw, 96px) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--theme-text) !important;
  user-select: none;
}

.sc-col {
  height: 1em;
  overflow: hidden;
  position: relative;
}

.sc-drum {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.sc-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  width: 0.62em;
  font-variant-numeric: tabular-nums;
}

.sc-sep {
  font-size: 1em;
  line-height: 1;
  color: var(--theme-muted);
  margin: 0 2px;
  align-self: center;
  opacity: 0.5;
  animation: sepBlink 2s step-end infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.15; }
}

/* Gün/gece renkleri */
.sliding-clock.morning  .sc-digit { color: var(--theme-text); }
.sliding-clock.afternoon .sc-digit { color: var(--theme-text); }
.sliding-clock.evening  .sc-digit { color: var(--theme-text); }
.sliding-clock.late-night .sc-digit { color: rgba(255,255,255,0.5); }

@media (max-width: 600px) {
  .sliding-clock {
    font-size: clamp(36px, 14vw, 60px) !important;
    gap: 1px !important;
  }
}

