  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Sans+KR:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap');

  :root {
    --bg: #0d0d0f;
    --surface: #18181c;
    --surface2: #222228;
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.15);
    --text: #f0ede8;
    --text2: #9996a0;
    --text3: #5a5866;
    --accent: #c8a96e;
    --accent2: #e8c98e;
    --accent-soft: rgba(200,169,110,0.12);
    --red: #e06060;
    --red-soft: rgba(224,96,96,0.12);
    --green: #6ec88a;
    --green-soft: rgba(110,200,138,0.12);
    --blue: #6e9ec8;
    --blue-soft: rgba(110,158,200,0.12);
    --purple: #a88ee0;
    --purple-soft: rgba(168,142,224,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --sidebar-w: 220px;
  }

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

  body {
    font-family: 'Noto Sans KR', 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.6;
  }

  #app { display: flex; height: 100vh; overflow: hidden; position: relative; }

  /* Sidebar */
  #sidebar {
    width: var(--sidebar-w); min-width: var(--sidebar-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
  }
  .logo { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
  .logo h1 { font-family: 'Space Mono', monospace; font-size: 15px; color: var(--accent); letter-spacing: 0.05em; }
  .logo span { font-size: 11px; color: var(--text3); display: block; margin-top: 2px; }
  .nav { padding: 12px 0; flex: 1; overflow-y: auto; }
  .nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 20px; cursor: pointer;
    color: var(--text2); font-size: 13px;
    transition: all 0.15s;
    border-left: 2px solid transparent;
  }
  .nav-item:hover { color: var(--text); background: rgba(255,255,255,0.03); }
  .nav-item.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }
  .nav-icon { font-size: 15px; width: 20px; text-align: center; }
  .nav-section { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); padding: 12px 20px 4px; }

  /* Main */
  #main { flex: 1; overflow-y: auto; padding: 28px 32px; position: relative; }
  .page { display: none; }
  .page.active { display: block; }
  .page-header { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .page-title { font-size: 20px; font-weight: 700; color: var(--text); }
  .page-sub { font-size: 13px; color: var(--text2); margin-top: 2px; }

  /* Mobile Menu Button */
  #mobile-menu-btn {
    display: none;
    position: fixed; top: 16px; left: 16px;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--surface2); border: 1px solid var(--border2);
    color: var(--accent); font-size: 18px;
    align-items: center; justify-content: center;
    cursor: pointer; z-index: 100;
  }

  /* Sidebar Overlay for Mobile */
  #sidebar-overlay {
    display: none;
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 140;
  }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border2); background: transparent;
    color: var(--text); font-size: 13px; cursor: pointer;
    transition: all 0.15s; font-family: inherit; white-space: nowrap;
  }
  .btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); }
  .btn.primary { background: var(--accent); border-color: var(--accent); color: #1a1208; font-weight: 600; }
  .btn.primary:hover { background: var(--accent2); border-color: var(--accent2); }
  .btn.danger { border-color: rgba(224,96,96,0.4); color: var(--red); }
  .btn.danger:hover { background: var(--red-soft); }
  .btn.success { border-color: rgba(110,200,138,0.4); color: var(--green); }
  .btn.success:hover { background: var(--green-soft); }
  .btn.sm { padding: 5px 10px; font-size: 12px; }
  .btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

  /* Cards */
  .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }

  /* Forms */
  input[type=text], input[type=url], input[type=number], textarea, select {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: inherit; font-size: 13px; padding: 8px 12px;
    width: 100%; outline: none; transition: border 0.15s;
  }
  input[type=text]:focus, input[type=url]:focus, textarea:focus, select:focus { border-color: var(--accent); }
  textarea { resize: vertical; min-height: 80px; }
  label { font-size: 12px; color: var(--text2); display: block; margin-bottom: 4px; }
  .form-row { margin-bottom: 14px; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Badge */
  .badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 500; }
  .badge.known { background: var(--green-soft); color: var(--green); }
  .badge.unknown { background: var(--red-soft); color: var(--red); }
  .badge.new { background: var(--blue-soft); color: var(--blue); }
  .badge.noun { background: var(--purple-soft); color: var(--purple); }
  .badge.verb { background: var(--accent-soft); color: var(--accent); }
  .badge.adj-i { background: rgba(110,200,138,0.15); color: var(--green); }
  .badge.adj-na { background: rgba(110,158,200,0.15); color: var(--blue); }

  /* Loading overlay */
  #loading-bar {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s; z-index: 999;
  }
  #loading-bar.active { transform: scaleX(0.8); }
  #loading-bar.done { transform: scaleX(1); opacity: 0; transition: transform 0.2s, opacity 0.3s 0.2s; }

  /* Songs grid */
  .songs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
  .song-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
  .song-card:hover { border-color: var(--border2); transform: translateY(-1px); }
  .song-thumb { width: 100%; aspect-ratio: 16/9; position: relative; background: var(--surface2); overflow: hidden; }
  .song-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .song-thumb-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--text3); }
  .song-info { padding: 14px 16px; }
  .song-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
  .song-artist { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
  .song-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .song-word-count { font-size: 11px; color: var(--text3); }

  /* YouTube */
  .yt-container { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 20px; }
  .yt-container iframe { width: 100%; height: 100%; border: none; display: block; }
  .yt-open-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; aspect-ratio: 16/9; background: var(--surface2); border-radius: var(--radius); margin-bottom: 20px; color: var(--text2); font-size: 14px; text-decoration: none; border: 1px solid var(--border); transition: all 0.15s; }
  .yt-open-btn:hover { border-color: var(--accent); color: var(--accent); }

  /* Timestamps */
  .timestamp-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; margin-top: 12px; }
  .timestamp-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface2); cursor: pointer; transition: background 0.1s; font-size: 13px; }
  .timestamp-item:hover { background: rgba(200,169,110,0.1); }
  .ts-time { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--accent); min-width: 48px; }
  .ts-word { font-family: 'Noto Sans JP', sans-serif; font-size: 15px; }
  .ts-reading { font-size: 11px; color: var(--text2); }

  /* Word table */
  .word-table-header { display: grid; grid-template-columns: 32px 2fr 1.5fr 1.5fr 2fr 80px 90px; gap: 8px; padding: 8px 12px; font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .word-row { display: grid; grid-template-columns: 32px 2fr 1.5fr 1.5fr 2fr 80px 90px; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); align-items: center; font-size: 13px; transition: background 0.1s; cursor: pointer; }
  .word-row:hover { background: rgba(255,255,255,0.03); }
  .word-jp { font-family: 'Noto Sans JP', sans-serif; font-size: 15px; font-weight: 500; }
  .word-reading { font-size: 12px; color: var(--accent); font-family: 'Noto Sans JP', sans-serif; }
  .word-meaning { color: var(--text2); }
  .word-actions { display: flex; gap: 6px; }

  /* Card study */
  .card-study-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 20px 0; }
  .study-progress { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text2); }
  .progress-bar { width: 200px; height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
  .progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; }

  .flash-card { width: 100%; max-width: 520px; aspect-ratio: 5/3; perspective: 1000px; cursor: pointer; user-select: none; }
  .flash-card-inner { width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); transform-style: preserve-3d; position: relative; }
  .flash-card.flipped .flash-card-inner { transform: rotateY(180deg); }
  .card-face { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .card-back { transform: rotateY(180deg); }
  .card-word { font-family: 'Noto Sans JP', sans-serif; font-size: 52px; font-weight: 700; margin-bottom: 8px; text-align: center; }
  .card-reading { font-family: 'Noto Sans JP', sans-serif; font-size: 18px; color: var(--accent); margin-bottom: 4px; }
  .card-rom { font-size: 13px; color: var(--text2); }
  .card-hint { font-size: 12px; color: var(--text3); position: absolute; bottom: 14px; }
  .card-meaning { font-size: 26px; color: var(--text); text-align: center; margin-bottom: 8px; }
  .card-examples { margin-top: 12px; width: 100%; max-height: 120px; overflow-y: auto; }
  .card-example { font-size: 11px; color: var(--text2); padding: 4px 0; border-top: 1px solid var(--border); font-family: 'Noto Sans JP', sans-serif; }
  .card-example-song { color: var(--text3); font-size: 10px; }
  .card-btns { display: flex; gap: 16px; margin-top: 8px; }
  .card-btn { display: flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); border: 1px solid; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.15s; }
  .card-btn.known { border-color: rgba(110,200,138,0.4); background: var(--green-soft); color: var(--green); }
  .card-btn.known:hover { background: rgba(110,200,138,0.2); }
  .card-btn.unknown { border-color: rgba(224,96,96,0.4); background: var(--red-soft); color: var(--red); }
  .card-btn.unknown:hover { background: rgba(224,96,96,0.2); }

  /* Quiz */
  .quiz-wrap { max-width: 560px; margin: 0 auto; }
  .quiz-question { text-align: center; padding: 32px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
  .quiz-q-label { font-size: 12px; color: var(--text3); margin-bottom: 12px; }
  .quiz-q-word { font-family: 'Noto Sans JP', sans-serif; font-size: 48px; font-weight: 700; margin-bottom: 8px; }
  .quiz-q-reading { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; color: var(--accent); }
  .quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
  .quiz-opt { padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 14px; color: var(--text); text-align: center; transition: all 0.15s; font-family: inherit; }
  .quiz-opt:hover:not(.disabled) { border-color: var(--border2); background: var(--surface2); }
  .quiz-opt.correct { border-color: var(--green); background: var(--green-soft); color: var(--green); }
  .quiz-opt.wrong { border-color: var(--red); background: var(--red-soft); color: var(--red); }
  .quiz-opt.disabled { cursor: default; }

  /* Modal */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
  .modal-overlay.open { display: flex; }
  .modal { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 28px; }
  .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .modal-title { font-size: 16px; font-weight: 700; }
  .modal-close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 20px; padding: 4px; }
  .modal-close:hover { color: var(--text); }

  /* Stats */
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
  .stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
  .stat-num { font-size: 28px; font-weight: 700; font-family: 'Space Mono', monospace; }
  .stat-label { font-size: 11px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

  .search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
  .search-bar input { flex: 1; }

  .filter-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
  .filter-tab { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--text2); font-size: 12px; cursor: pointer; font-family: inherit; transition: all 0.12s; }
  .filter-tab:hover { border-color: var(--border2); color: var(--text); }
  .filter-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

  .toast { position: fixed; bottom: 24px; right: 24px; background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; color: var(--text); z-index: 210; opacity: 0; transform: translateY(8px); transition: all 0.2s; pointer-events: none; }
  .toast.show { opacity: 1; transform: translateY(0); }

  .word-row.selected-row { background: var(--accent-soft) !important; }
  .ts-autocomplete {
    position: fixed;
    background: var(--surface2); border: 1px solid var(--border2);
    border-radius: var(--radius-sm); z-index: 500;
    max-height: 200px; overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    min-width: 280px;
  }
  .ts-ac-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; cursor: pointer; font-size: 13px;
    transition: background 0.1s;
  }
  .ts-ac-item:hover, .ts-ac-item.focused { background: var(--accent-soft); }
  .ts-ac-word { font-family: 'Noto Sans JP', sans-serif; font-size: 15px; font-weight: 500; min-width: 52px; }
  .ts-ac-reading { font-size: 11px; color: var(--accent); font-family: 'Noto Sans JP', sans-serif; }
  .ts-ac-meaning { font-size: 12px; color: var(--text2); }
  .ts-selected-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 99px;
    background: var(--accent-soft); border: 1px solid rgba(200,169,110,0.3);
    font-size: 13px; color: var(--accent); cursor: pointer;
  }
  .ts-selected-badge:hover { background: rgba(200,169,110,0.2); }
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }

  .empty { text-align: center; padding: 60px 20px; color: var(--text3); }
  .empty-icon { font-size: 40px; margin-bottom: 12px; }

  .song-detail { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; height: calc(100vh - 120px); overflow: hidden; }

  /* 타임스탬프 단어 카드 오버레이 */
  #ts-word-overlay {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 200; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0; transform: translateX(-50%) translateY(12px);
  }
  #ts-word-overlay.visible {
    opacity: 1; transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .ts-overlay-card {
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    min-width: 320px; max-width: 500px;
  }
  .ts-overlay-word { font-family: 'Noto Sans JP', sans-serif; font-size: 32px; font-weight: 700; line-height: 1; }
  .ts-overlay-info { flex: 1; }
  .ts-overlay-reading { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--accent); }
  .ts-overlay-meaning { font-size: 15px; color: var(--text); margin-top: 2px; }
  .ts-overlay-close { background: none; border: none; color: var(--text3); cursor: pointer; font-size: 18px; padding: 4px; }
  .ts-overlay-close:hover { color: var(--text); }
  .song-player-col { overflow-y: auto; padding-right: 4px; }
  .song-words-col { overflow-y: auto; border-left: 1px solid var(--border); padding-left: 20px; padding-right: 4px; }

  .mini-word { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.1s; border: 1px solid transparent; margin-bottom: 4px; }
  .mini-word:hover { background: rgba(255,255,255,0.04); }
  .mini-word.known-word { border-color: rgba(110,200,138,0.15); background: rgba(110,200,138,0.04); }
  .mini-word.unknown-word { border-color: rgba(224,96,96,0.15); background: rgba(224,96,96,0.04); }
  .mini-word-jp { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 500; min-width: 60px; }
  .mini-word-info { flex: 1; }
  .mini-word-reading { font-size: 11px; color: var(--accent); font-family: 'Noto Sans JP', sans-serif; }
  .mini-word-meaning { font-size: 12px; color: var(--text2); }

  .back-btn { display: flex; align-items: center; gap: 6px; color: var(--text2); cursor: pointer; font-size: 13px; margin-bottom: 16px; }
  .back-btn:hover { color: var(--text); }
  .section-title { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }

  /* Lyrics */
  .lyrics-container { line-height: 1.8; }
  .lyrics-paragraph { margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
  .lyrics-paragraph:last-child { margin-bottom: 0; }
  .lyrics-verse { padding-bottom: 28px; }
  .lyrics-verse:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .lyrics-line { margin-bottom: 16px; }
  .lyrics-line:last-child { margin-bottom: 0; }
  .lyrics-jp { font-family: 'Noto Sans JP', sans-serif; font-size: 17px; font-weight: 500; color: var(--text); }
  .lyrics-jp ruby rt { font-size: 10px; color: var(--accent); }
  .lyrics-romaji { font-size: 13px; color: var(--text2); margin-top: 1px; }
  .lyrics-meaning { font-size: 14px; color: var(--text3); margin-top: 2px; }

  /* Tabs in Song Detail */
  .detail-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
  .detail-tab {
    padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--text3);
    cursor: pointer; position: relative; transition: all 0.2s;
  }
  .detail-tab:hover { color: var(--text2); }
  .detail-tab.active { color: var(--accent); }
  .detail-tab.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 2px; background: var(--accent);
  }

  /* MEDIA QUERIES */
  .mobile-only { display: none; }
  .desktop-only { display: block; }

  @media (max-width: 900px) {
    .mobile-only { display: block; }
    .desktop-only { display: none; }
    
    #sidebar {
      position: fixed; left: 0; top: 0; bottom: 0;
      transform: translateX(-100%);
    }
    #app.sidebar-open #sidebar { transform: translateX(0); }
    #app.sidebar-open #sidebar-overlay { display: block; }
    #mobile-menu-btn { display: flex; }
    #main { padding: 68px 20px 28px; }
    
    .song-detail {
      grid-template-columns: 1fr;
      height: auto; overflow: visible;
      gap: 32px;
    }
    .song-player-col, .song-words-col { height: auto; overflow: visible; padding: 0; border: none; }
    .song-words-col { margin-top: 12px; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 24px; }
    
    .word-table-header, .word-row {
      grid-template-columns: 32px 1fr 1fr 1fr;
    }
    .word-reading, .word-actions, .word-row > div:nth-child(6) { display: none; } /* Hide reading, actions, type on mobile table */
    .word-table-header > div:nth-child(3), .word-table-header > div:nth-child(6), .word-table-header > div:nth-child(7) { display: none; }
    
    .form-grid { grid-template-columns: 1fr; }
    
    .flash-card { aspect-ratio: 4/3; }
    .card-word { font-size: 36px; }
    .card-meaning { font-size: 22px; }
  }

  @media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 18px; }
    .btn-group { gap: 4px; }
    .btn { padding: 6px 12px; font-size: 12px; }
    
    .song-card { max-width: 100%; }
    .songs-grid { grid-template-columns: 1fr; }
    
    .quiz-options { grid-template-columns: 1fr; }
    
    .ts-overlay-card {
      min-width: 90vw;
      padding: 12px 16px;
      gap: 12px;
    }
    .ts-overlay-word { font-size: 24px; }
  }
