/* ============ 希腊文 · 句子 tab（gh-*）与复习页（gr-rev-*）样式 ============
   只用 style.css 里的 CSS 变量（深浅色自动跟随）；通用类（.card .btn .cta .step-row .pbar .stats）直接复用。 */

/* ---------- 首页 ---------- */
.gh-top{display:flex;align-items:flex-end;justify-content:space-between;margin:2px 4px 12px}
.gh-h1{font-family:var(--serif);font-size:1.7rem;font-weight:600;line-height:1.2}
.gh-date{color:var(--sub);font-size:.8rem;margin-top:3px;letter-spacing:.4px}
.gh-top .top-btn{color:var(--accent2)}
.gh-today .step-title{flex:1;min-width:0}
.gh-today .step-title b{display:block;font-weight:600}
.gh-sub2{display:block;color:var(--sub);font-size:.76rem;margin-top:1px;line-height:1.5}
.gh-time{flex:none;font-size:.72rem;color:var(--faint)}
.gh-today .cta{margin-top:12px}
.gh-today .done-cta[disabled],.gh-today div.done-cta{cursor:default}
.gh-note{margin:6px 2px 0}
.gh-bed b{font-size:.95rem}
.gh-stats{margin-bottom:4px}
.gh-stats .stat span{display:block;margin-top:2px}

.gh-sec.cur{border-color:var(--accent2)}
.gh-sechead{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:44px;background:none;border:none;text-align:left;
  color:var(--ink);font-family:inherit;cursor:pointer;padding:0}
.gh-secmain{flex:1;min-width:0}
.gh-secmain b{display:block;font-size:.98rem;line-height:1.5}
.gh-secmain small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--sub);font-size:.76rem;line-height:1.6;margin-top:2px}
.gh-secn{flex:none;font-size:.78rem;color:var(--sub);padding-top:2px;white-space:nowrap}
.gh-secn .chev{margin-left:6px;font-style:normal;display:inline-block}
.gh-sechead[aria-expanded="true"] .chev{transform:rotate(90deg)}
.gh-pbar{flex:none;margin-top:8px;width:100%}
.gh-summary{font-size:.8rem;color:var(--sub);line-height:1.75;margin:10px 2px 6px}
.gh-units{margin-top:4px}
.gh-unit{width:100%;background:none;border:none;border-bottom:1px dashed var(--line);text-align:left;color:var(--ink);font-family:inherit;border-radius:0}
.gh-unit:last-child{border-bottom:none}
.gh-unit .step-title{flex:1;min-width:0}
.gh-unit .step-title b{display:block;font-size:.9rem;font-weight:600}
.gh-greek{display:block;color:var(--sub);font-size:.95rem;line-height:1.5;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gh-tag{flex:none;font-style:normal;font-size:.68rem;padding:2px 8px;border-radius:99px;background:var(--gold-soft);color:var(--gold)}
.gh-tag.ok{background:var(--accent-soft);color:var(--accent)}

/* ---------- 欢迎页 / 设置 ---------- */
.gh-welcome{padding-top:2vh}
.gh-lead{font-family:var(--serif);font-size:1.1rem;margin:0 0 10px}
.gh-p{font-size:.9rem;line-height:1.8;color:var(--ink);margin:0 0 10px}
.gh-first{font-size:1.5rem;line-height:1.6;margin:0 0 16px;text-align:center}
.gh-lab{display:block;font-size:.8rem;color:var(--sub);margin:4px 0 8px}
.gh-segs{display:flex;gap:6px;flex-wrap:wrap}
.gh-seg{flex:1;min-width:64px;min-height:44px;border-radius:12px;border:1px solid var(--line-strong);background:var(--card-2);color:var(--ink);
  font-size:.88rem;font-family:inherit;cursor:pointer}
.gh-seg.on{background:var(--accent2);border-color:var(--accent2);color:#FBF7EE;font-weight:600}
html[data-theme="dark"] .gh-seg.on{color:#15130E}
.gh-switchrow{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;font-size:.9rem}
.gh-toggle{flex:none;width:52px;height:44px;background:none;border:none;padding:0;cursor:pointer;position:relative}
.gh-toggle::before{content:"";position:absolute;left:0;top:10px;width:52px;height:24px;border-radius:99px;background:var(--line-strong);transition:background .2s}
.gh-toggle i{position:absolute;left:3px;top:13px;width:18px;height:18px;border-radius:50%;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .2s}
.gh-toggle.on::before{background:var(--accent2)}
.gh-toggle.on i{transform:translateX(28px)}

/* ---------- 复习页 ---------- */
.gr-rev{padding-bottom:12px}
.gr-rev-top{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.gr-rev-top .back-btn{font-size:.9rem;min-width:44px;padding:0 4px;text-align:left}
.gr-rev-top .pbar{flex:1}
.gr-rev-top .sess-count{min-width:44px;text-align:right}
.gr-q{text-align:center;padding:20px 16px}
.gr-rlabel{display:block;font-size:.72rem;color:var(--faint);letter-spacing:1.2px;margin-bottom:12px}
.gr-rlabel.gold{color:var(--gold)}
.gr-sent{font-family:var(--grk);font-size:1.45rem;line-height:1.95;margin:2px 0 8px}
.gr-sent.sm{font-size:1.2rem;line-height:1.8}
.gr-sent .gr-w{border-radius:6px;padding:0 2px}
.gr-sent .gr-w.tgt{background:var(--gold-soft);color:var(--gold);border-bottom:2px solid var(--gold);font-weight:700}
.gr-sent button.gr-w{background:none;border:none;font:inherit;color:inherit;cursor:pointer;padding:0 2px}
.gr-big{font-family:var(--grk);font-size:2.3rem;line-height:1.4;margin:6px 0;color:var(--accent)}
.gr-zhbig{font-family:var(--serif);font-size:1.5rem;line-height:1.6;margin:8px 0}
.gr-ref{font-size:.76rem;color:var(--sub);margin:2px 0 8px}
.gr-ask{font-size:.98rem;margin:12px 0 4px}
.gr-ctxnote{font-size:.74rem;color:var(--faint);margin-top:4px}
.gr-ans{margin:14px 0 2px;padding-top:14px;border-top:1px dashed var(--line);text-align:center}
.gr-ans .gr-line{font-size:.92rem;line-height:1.75;margin:4px 0}
.gr-ans .gr-main{font-family:var(--serif);font-size:1.25rem;color:var(--accent);font-weight:600}
.gr-ans small{display:block;color:var(--sub);font-size:.76rem;line-height:1.6}
.gr-ai{font-size:.62rem;color:var(--faint);border:1px solid var(--line-strong);border-radius:4px;padding:0 4px;margin-left:5px;vertical-align:middle;white-space:nowrap}
.gr-play{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:99px;
  border:1px solid var(--accent2);background:none;color:var(--accent2);font-family:inherit;font-size:.85rem;cursor:pointer;margin:4px 3px}
.gr-hide{color:var(--faint);font-size:.9rem;margin:16px 0 4px}
.gr-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.gr-rate{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.gr-rate button{min-height:52px;border:none;border-radius:14px;color:#FBF7EE;font-size:1rem;font-family:inherit;cursor:pointer}
html[data-theme="dark"] .gr-rate button{color:#15130E}
.gr-rate .forgot{background:var(--red)} .gr-rate .vague{background:var(--amber)} .gr-rate .known{background:var(--green)}
.gr-foot{margin-top:12px}
.gr-sw{text-align:left}
.gr-sw .gr-rlabel{text-align:left}
.gr-sw p{font-size:.88rem;line-height:1.75;margin:4px 0}
.gr-sw .gr-sent{text-align:left;font-size:1.15rem;line-height:1.8}
.gr-pills{display:flex;flex-wrap:wrap;gap:6px}
.gr-pill{font-size:.84rem;padding:5px 11px;border-radius:99px;background:var(--card-2);border:1px solid var(--line)}
.gr-done{text-align:center;padding-top:6vh}
.gr-done h1{font-family:var(--serif);font-size:1.5rem;margin:10px 0 6px}
.gr-check{width:64px;height:64px;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);color:var(--accent);font-size:2rem}

/* ---------- 首页 · 正在读 / 学过的句子 / 路线卡（对齐希伯来文首页） ---------- */
.gh-label{font-size:.74rem;color:var(--sub);letter-spacing:.6px}
.gh-reading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.gh-prog{font-size:.74rem;color:var(--sub);white-space:nowrap}
.gh-readtitle{font-family:var(--serif);font-size:1.05rem;font-weight:600;margin:4px 0 8px}
.gh-vdots{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px;padding-bottom:12px;border-bottom:1px dashed var(--line)}
.gh-vd{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--line-strong);display:inline-block}
.gh-vd.done{background:var(--accent2);border-color:var(--accent2)}
.gh-vd.part{border-color:var(--accent2)}
.gh-vd.now{border-color:var(--accent2);box-shadow:0 0 0 2px var(--accent-soft)}
.gh-rthead{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gh-rthead b{font-size:.95rem}
.gh-link{background:none;border:none;color:var(--accent2);font-family:inherit;font-size:.84rem;cursor:pointer;min-height:36px;padding:0}
.gh-link.c{display:block;margin:4px auto 0}
.gh-rtfoot{font-size:.84rem;color:var(--sub);margin-top:4px}
.gh-rtfoot b{color:var(--ink);font-weight:600}
.gh-sep{font-style:normal;margin:0 6px;color:var(--faint)}
.gh-donelist .gh-unit{padding-left:0;padding-right:0}
.gh-routetop{align-items:center}
.gh-h1.sm{font-size:1.15rem}
