/* ==================== Everyday English — shared styles ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-color: #6976DE;
    --primary-dark: #5562C8;
    --primary-light: #8A95E8;
    --gradient-1: linear-gradient(135deg, #6976DE 0%, #8A95E8 100%);
    --gradient-glossy: linear-gradient(135deg, #6976DE 0%, #8A95E8 50%, #6976DE 100%);
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --bg-light: #F8F9FA;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
    --line: #e2e8f2;
    --muted: #8a93a8;
    --shadow-sm: 0 2px 8px rgba(105, 118, 222, 0.1);
    --shadow-md: 0 4px 16px rgba(105, 118, 222, 0.15);
    --shadow-lg: 0 8px 32px rgba(105, 118, 222, 0.2);
}

/* 16px root, matching the rest of the site — a bigger root here made every
   rem-based size on these pages 12.5% larger than everywhere else. */
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6; color: var(--text-dark); background: var(--bg-light);
    overflow-x: hidden; font-size: 18px;
}

/* ==================== NAVBAR ==================== */
.header { padding: 1.25rem 1rem 0; }
.site-nav {
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
    background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(40,30,90,0.18);
    display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem 0.5rem 0.9rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; text-decoration: none; }
.nav-logo {
    width: 42px; height: 42px; border-radius: 12px; background: var(--gradient-1);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: var(--shadow-sm);
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-name { font-weight: 800; font-size: 1.1rem; color: var(--primary-color); letter-spacing: -0.01em; }
.nav-brand-tag { font-size: 0.58rem; font-weight: 700; color: #9aa6be; letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: 0.12rem; flex: 1; justify-content: center; flex-wrap: wrap; }
.nav-link {
    padding: 0.45rem 0.62rem; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
    color: #4a5568; cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
    border: none; background: none; text-decoration: none;
}
.nav-link:hover { color: var(--primary-color); background: rgba(105,118,222,0.08); }
.nav-link.active { background: #fff; color: #1c2430; box-shadow: var(--shadow-sm); border: 1px solid #eef0f8; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 0.4rem; border: none; cursor: pointer; text-decoration: none;
    background: var(--gradient-1); color: #fff; font-weight: 700; font-size: 0.92rem;
    border-radius: 999px; padding: 0.55rem 1.1rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease; flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ==================== HERO ==================== */
.hero-wrap { padding: 1rem 1rem 0; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero {
    max-width: 1200px; margin: 0 auto; color: var(--text-light);
    background: var(--gradient-glossy); border-radius: 22px; padding: 1.9rem 2rem 2.1rem;
    text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    animation: shimmer 3.5s infinite; pointer-events: none;
}
.hero .crumbs { position: relative; z-index: 1; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; opacity: 0.9; }
.hero .crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; position: relative; z-index: 1;
    background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.32);
    color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.38rem 1rem; border-radius: 999px; margin-bottom: 0.7rem;
}
.hero h1 { font-size: 2.15rem; font-weight: 800; margin-bottom: 0.35rem; position: relative; z-index: 1; letter-spacing: -0.01em; }
.hero p { font-size: 1rem; opacity: 0.94; position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

/* ==================== CONTAINER ==================== */
.container { max-width: 1236px; margin: 0 auto; padding: 2rem 1rem; }

/* ==================== LEVEL SWITCHER ==================== */
.level-switch { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin: 0 auto 2rem; }
.level-pill {
    display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem; text-decoration: none;
    background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 0.6rem 1.4rem;
    font-weight: 700; color: var(--text-dark); box-shadow: var(--shadow-sm); transition: all 0.2s ease; min-width: 150px;
}
.level-pill span { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.level-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.level-pill.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: var(--shadow-md); }
.level-pill.active span { color: rgba(255,255,255,0.85); }

/* ==================== SECTION TITLE ==================== */
.section-title {
    font-size: 1.4rem; font-weight: 700; color: var(--primary-color);
    margin: 0 0 1.5rem; text-align: center; background: #fff; padding: 1.05rem 1.5rem; border-radius: 14px;
    box-shadow: var(--shadow-md); position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-title::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #6976DE, #8A95E8, #6976DE); background-size: 200% 100%; animation: slideGradient 3s linear infinite;
}
@keyframes slideGradient { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
.section-title:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ==================== CARDS ==================== */
.card {
    background: #fff; padding: 1.8rem; border-radius: 12px; box-shadow: var(--shadow-md);
    margin-bottom: 1.75rem; border-left: 4px solid var(--primary-color);
}
.card h2 { color: var(--primary-color); font-size: 1.4rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.card h3 { color: var(--text-dark); font-size: 1.12rem; margin: 1.1rem 0 0.4rem; }
.card p { margin: 0.6rem 0; color: #3a4256; }
.card ul, .card ol { margin: 0.5rem 0 0.8rem; padding-left: 1.3rem; }
.card li { margin: 0.35rem 0; color: #3a4256; }
.card b, .card strong { color: var(--text-dark); }
.lead { font-size: 1.05rem; color: #4a5568; }

/* ==================== TOPIC GRID (hub) ==================== */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.topic-card {
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 1.5rem; border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease; display: flex; flex-direction: column;
}
.topic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.topic-ico { font-size: 2.3rem; margin-bottom: 0.5rem; }
.topic-card h3 { color: var(--primary-color); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.topic-card p { color: #5b6678; font-size: 0.95rem; margin-bottom: 1rem; flex: 1; }
.topic-levels { display: flex; flex-direction: column; gap: 0.5rem; }
.lvl-link {
    display: flex; align-items: center; justify-content: space-between; text-decoration: none;
    background: var(--bg-light); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.9rem;
    font-weight: 700; font-size: 0.92rem; color: var(--text-dark); transition: all 0.2s ease;
}
.lvl-link:hover { border-color: var(--primary-color); background: rgba(105,118,222,0.06); transform: translateX(3px); }
.lvl-link .arrow { color: var(--primary-color); font-weight: 800; }
.lvl-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 0.55rem; vertical-align: middle; }
.dot-beg { background: #10B981; } .dot-int { background: #F59E0B; } .dot-adv { background: #EF4444; }
.lvl-link.soon { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.soon-tag { font-size: 0.68rem; font-weight: 800; color: var(--muted); background: #eef0f8; border-radius: 999px; padding: 0.15rem 0.55rem; }

/* ==================== DIALOGUE ==================== */
.dialogue { background: var(--bg-light); border-radius: 12px; padding: 1.1rem 1.2rem; margin: 1rem 0; border: 1px solid var(--line); }
.dialogue .line { display: flex; gap: 0.7rem; margin: 0.5rem 0; align-items: flex-start; }
.dialogue .who {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; color: #fff;
}
.who.a { background: linear-gradient(135deg,#6976DE,#8A95E8); }
.who.b { background: linear-gradient(135deg,#0d9488,#2dd4bf); }
.dialogue .say { background: #fff; border-radius: 10px; padding: 0.5rem 0.85rem; box-shadow: var(--shadow-sm); flex: 1; }
.dialogue .say .gloss { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; font-style: italic; }

/* ==================== PHRASE TABLE ==================== */
.p-table { width: 100%; border-collapse: collapse; margin: 1rem 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.p-table th, .p-table td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid #e8ebf5; font-size: 0.95rem; vertical-align: top; }
.p-table th { background: var(--gradient-1); color: #fff; font-weight: 600; }
.p-table tr:nth-child(even) td { background: #f6f8ff; }
.p-table td:first-child { font-weight: 700; color: var(--primary-dark); }

/* ==================== CALLOUTS ==================== */
.callout { border-radius: 12px; padding: 0.9rem 1.15rem; margin: 1rem 0; border-left: 5px solid; }
.callout .ct { display: block; font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.callout.tip { background: #fff7e6; border-left-color: var(--warning-color); color: #5a4300; }
.callout.tip .ct { color: var(--warning-color); }
.callout.note { background: #f1f3ff; border-left-color: var(--primary-color); color: #2b3350; }
.callout.note .ct { color: var(--primary-dark); }
.callout.rule { background: #e8f9ef; border-left-color: var(--success-color); color: #0b5333; }
.callout.rule .ct { color: var(--success-color); }
.wrong { color: var(--error-color); font-weight: 700; }
.right { color: var(--success-color); font-weight: 700; }

/* ==================== PILLS ==================== */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.pill { background: rgba(105,118,222,0.1); color: var(--primary-dark); border: 1px solid rgba(105,118,222,0.25);
    border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.85rem; font-weight: 600; }

/* ==================== QUIZ ==================== */
.quiz-card { background: #fff; padding: 1.8rem; border-radius: 12px; box-shadow: var(--shadow-md); margin-bottom: 1.5rem; border-left: 4px solid var(--warning-color); }
.quiz-q { font-size: 1.08rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.quiz-options { display: grid; gap: 0.7rem; }
.quiz-option { padding: 0.8rem 1.2rem; border: 2px solid var(--bg-light); border-radius: 10px; background: #fff; cursor: pointer; transition: all 0.25s ease; font-size: 0.96rem; text-align: left; }
.quiz-option:hover { border-color: var(--primary-light); background: rgba(105,118,222,0.03); transform: translateX(4px); }
.quiz-option.correct { border-color: var(--success-color); background: rgba(16,185,129,0.07); }
.quiz-option.incorrect { border-color: var(--error-color); background: rgba(239,68,68,0.07); }
.quiz-feedback { padding: 1rem 1.15rem; border-radius: 8px; margin-top: 0.9rem; display: none; }
.quiz-feedback.show { display: block; }
.quiz-feedback.correct { background: rgba(16,185,129,0.1); border-left: 4px solid var(--success-color); }
.quiz-feedback.incorrect { background: rgba(239,68,68,0.1); border-left: 4px solid var(--error-color); }
.quiz-feedback h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.quiz-feedback.correct h4 { color: var(--success-color); }
.quiz-feedback.incorrect h4 { color: var(--error-color); }

/* ==================== PREV/NEXT NAV ==================== */
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.pager a {
    text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1.2rem;
    box-shadow: var(--shadow-sm); color: var(--text-dark); font-weight: 700; transition: all 0.2s ease; flex: 1; min-width: 200px;
}
.pager a:hover { border-color: var(--primary-color); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pager a small { display: block; color: var(--muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pager a.next { text-align: right; }
.pager a.disabled { opacity: 0.4; pointer-events: none; }

/* ==================== FOOTER ==================== */
.site-footer { max-width: 1236px; margin: 1rem auto 2rem; padding: 0 1rem; }
.footer-bar {
    background: #fff; border-radius: 14px; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; box-shadow: var(--shadow-sm); color: #8a93a8; font-size: 0.85rem;
}
.footer-bar a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.footer-bar a:hover { text-decoration: underline; }

/* ==================== SPEAKING · 30-DAY SCHEDULE GRID ==================== */
.week-label { display: flex; align-items: center; gap: 0.7rem; margin: 1.6rem 0 0.9rem; }
.week-label .wl-tag { background: var(--gradient-1); color: #fff; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.week-label .wl-text { font-weight: 700; color: var(--primary-dark); font-size: 1.02rem; }
.week-label .wl-line { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(105,118,222,0.35), transparent); border-radius: 2px; }

.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.day-card {
    position: relative; display: flex; flex-direction: column; text-decoration: none;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow-sm); transition: all 0.25s ease; border-top: 4px solid var(--primary-color);
}
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--primary-dark); }
.day-card .day-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--gradient-1); color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow-sm); margin-bottom: 0.6rem; }
.day-card .day-title { font-weight: 800; color: var(--text-dark); font-size: 1.02rem; line-height: 1.25; margin-bottom: 0.3rem; }
.day-card .day-desc { color: #5b6678; font-size: 0.86rem; flex: 1; margin-bottom: 0.7rem; }
.day-focus { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.day-focus .fx { font-size: 0.72rem; font-weight: 700; color: var(--primary-dark); background: rgba(105,118,222,0.1);
    border: 1px solid rgba(105,118,222,0.2); border-radius: 999px; padding: 0.15rem 0.6rem; }
.day-card .day-go { position: absolute; top: 1.1rem; right: 1.15rem; color: var(--primary-color); font-weight: 800; font-size: 1.1rem; }
.day-card.soon { opacity: 0.62; pointer-events: none; border-top-color: #c7cde6; }
.day-card.soon .day-num { background: #aab2d0; }
.day-card.soon .day-go { font-size: 0.66rem; font-weight: 800; color: var(--muted); background: #eef0f8; border-radius: 999px; padding: 0.15rem 0.5rem; }

/* ==================== SPEAKING · PARAMETER CARDS ==================== */
.param-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin: 1rem 0; }
.param { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary-color); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.param:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.param h4 { display: flex; align-items: center; gap: 0.5rem; color: var(--primary-dark); font-size: 1.02rem; margin-bottom: 0.35rem; }
.param h4 .pico { font-size: 1.25rem; }
.param p { font-size: 0.9rem; color: #4a5568; margin: 0.2rem 0; }
.param .leadtip { display: block; margin-top: 0.45rem; font-size: 0.84rem; color: #0b5333; background: #e8f9ef; border-radius: 8px; padding: 0.4rem 0.6rem; }
.param .leadtip b { color: #0b5333; }

/* ==================== SPEAKING · MARKED-UP PASSAGE ==================== */
.legend { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0; }
.legend span { font-size: 0.82rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; }
.passage {
    background: #fbfcff; border: 1px dashed var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; margin: 1rem 0;
    font-size: 1.18rem; line-height: 2.1; color: var(--text-dark);
}
.mk-loud { background: #fde7ef; color: #b21e57; font-weight: 800; padding: 0.05em 0.35em; border-radius: 6px; }
.mk-emph { color: var(--primary-dark); font-weight: 800; border-bottom: 3px solid var(--primary-light); }
.mk-pause { display: inline-block; color: var(--warning-color); font-weight: 800; transform: translateY(-1px); margin: 0 0.15em; }
.mk-soft { color: #64748b; font-style: italic; }
.leg-loud { background: #fde7ef; color: #b21e57; }
.leg-emph { background: rgba(105,118,222,0.12); color: var(--primary-dark); }
.leg-pause { background: #fff7e6; color: var(--warning-color); }
.leg-soft { background: #eef1f6; color: #64748b; }

/* ==================== SPEAKING · LISTEN (TTS) BUTTON ==================== */
.speak-bar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin: 0.6rem 0; }
.speak-btn { display: inline-flex; align-items: center; gap: 0.45rem; border: none; cursor: pointer;
    background: var(--gradient-1); color: #fff; font-weight: 800; font-size: 0.95rem; border-radius: 999px;
    padding: 0.55rem 1.2rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.speak-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.speak-btn.playing { background: linear-gradient(135deg, #ef4444, #f87171); }
.speak-btn .si { font-size: 1.05rem; line-height: 1; }
.speak-speed { font-size: 0.85rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.speak-speed select { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 0.3rem 0.5rem; color: var(--text-dark); background: #fff; cursor: pointer; }
.speak-hint { font-size: 0.8rem; color: var(--muted); }

/* ==================== SPEAKING · VOICE RECORDING ==================== */
.rec-setup-bar { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.6rem; }
.rec-folder-btn { border: 1px solid var(--line); background: #fff; color: var(--primary-dark); font-weight: 700; font-size: 0.85rem;
    border-radius: 8px; padding: 0.4rem 0.85rem; cursor: pointer; transition: all 0.2s ease; }
.rec-folder-btn:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); }
.rec-folder-info { font-size: 0.82rem; color: var(--muted); }

.rec-box { background: #fbfcff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; margin: 0.6rem 0 1.5rem; }
.rec-controls { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.rec-btn { display: inline-flex; align-items: center; gap: 0.45rem; border: none; cursor: pointer;
    background: linear-gradient(135deg, #ef4444, #f87171); color: #fff; font-weight: 800; font-size: 0.92rem;
    border-radius: 999px; padding: 0.5rem 1.1rem; box-shadow: var(--shadow-sm); transition: transform 0.2s ease; }
.rec-btn:hover { transform: translateY(-2px); }
.rec-btn .ri { font-size: 0.72rem; line-height: 1; }
.rec-btn.recording { animation: recpulse 1.2s infinite; }
@keyframes recpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { box-shadow: 0 0 0 9px rgba(239,68,68,0); } }
.rec-time { font-weight: 800; color: var(--text-dark); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.rec-status { font-size: 0.82rem; color: var(--muted); }
.rec-result { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.rec-result:empty { display: none; }
.rec-audio { width: 100%; height: 38px; }
.rec-save-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.rec-save { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; border: none; cursor: pointer;
    background: var(--gradient-1); color: #fff; font-weight: 700; font-size: 0.85rem; border-radius: 8px; padding: 0.42rem 0.9rem; }
.rec-save.alt { background: #fff; color: var(--primary-dark); border: 1px solid var(--line); }
.rec-save:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.rec-fname { font-size: 0.78rem; color: var(--muted); word-break: break-all; }

/* ==================== SPEAKING · SELF-SCORE ==================== */
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.score-row:last-child { border-bottom: none; }
.score-row .sname { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.score-dots { display: flex; gap: 0.3rem; }
.score-dots i { width: 16px; height: 16px; border-radius: 50%; background: #e2e8f2; display: inline-block; }

/* ==================== VOCABULARY · CLICK-TO-SAVE ==================== */
.vocab-on { cursor: pointer; }
.vocab-flash { background: #fff3b0; border-radius: 4px; box-shadow: 0 0 0 2px #ffe066; }
.vocab-tiptext { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }
.vocab-tiptext a { color: var(--primary-dark); }
.vocab-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
    background: #14121f; color: #fff; font-weight: 700; font-size: 0.92rem; padding: 0.7rem 1.2rem; border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25); opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 9999; }
.vocab-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.vcount-badge { background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.4); border-radius: 999px;
    padding: 0.02rem 0.5rem; font-size: 0.76rem; margin-left: 0.3rem; }

/* ==================== VOCABULARY · PAGE ==================== */
.vocab-tools { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.vocab-tools input[type=text] { flex: 1; min-width: 180px; border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.9rem; font: inherit; outline: none; }
.vocab-tools input[type=text]:focus { border-color: var(--primary-light); }
.v-btn { border: none; cursor: pointer; background: var(--gradient-1); color: #fff; font-weight: 700; border-radius: 10px; padding: 0.6rem 1rem; font-size: 0.9rem; transition: all 0.2s ease; }
.v-btn:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.v-btn.alt { background: #fff; color: var(--primary-dark); border: 1px solid var(--line); }
.v-btn.danger { background: #fff; color: #dc2626; border: 1px solid #f2c4c4; }
.vocab-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }

.vword-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary-color); border-radius: 14px;
    padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem; transition: box-shadow 0.2s ease; }
.vword-card:hover { box-shadow: var(--shadow-md); }
.vword-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.vword-term { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); text-transform: capitalize; }
.vword-phon { color: var(--muted); font-size: 0.95rem; font-family: 'SFMono-Regular', Consolas, Menlo, monospace; }
.vword-pos { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--primary-light); border-radius: 999px; padding: 0.1rem 0.55rem; }
.vspeak { border: none; cursor: pointer; background: rgba(105,118,222,0.12); color: var(--primary-dark); border-radius: 8px; padding: 0.3rem 0.6rem; font-size: 0.95rem; }
.vspeak:hover { background: rgba(105,118,222,0.22); }
.vcard-actions { margin-left: auto; display: flex; gap: 0.4rem; }
.vrefresh, .vdelete { border: none; cursor: pointer; background: #fff; font-weight: 700; border-radius: 8px; padding: 0.3rem 0.6rem; font-size: 0.82rem; }
.vrefresh { color: var(--primary-dark); border: 1px solid var(--line); }
.vrefresh:hover { border-color: var(--primary-color); }
.vdelete { color: #c0392b; }
.vdelete:hover { background: #fdecec; }
.vrow { margin: 0.5rem 0; font-size: 0.96rem; color: #3a4256; line-height: 1.5; }
.vrow .lab { display: inline-block; min-width: 110px; font-weight: 800; color: var(--primary-dark); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; vertical-align: top; }
.vrow em { color: #4a5568; }
.vpills { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; vertical-align: top; }
.vpill { background: rgba(16,185,129,0.1); color: #0c7a52; border: 1px solid rgba(16,185,129,0.3); border-radius: 999px; padding: 0.15rem 0.65rem; font-size: 0.82rem; font-weight: 600; }
.vpill.ant { background: rgba(239,68,68,0.08); color: #c0392b; border-color: rgba(239,68,68,0.3); }
.vpending { color: var(--muted); font-style: italic; font-size: 0.9rem; }
.vword-added { font-size: 0.72rem; color: var(--muted); margin-top: 0.55rem; }
.vempty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }
.vempty .big { font-size: 2.6rem; display: block; margin-bottom: 0.5rem; }

/* ==================== VOCABULARY · FLASHCARD PRACTICE ==================== */
.practice-overlay { position: fixed; inset: 0; background: rgba(20,18,31,0.55); display: none;
    align-items: center; justify-content: center; z-index: 10000; padding: 1rem; }
.practice-overlay.show { display: flex; }
.practice-box { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 1.5rem 1.5rem 1.2rem; width: min(560px, 100%); position: relative; }
.practice-close { position: absolute; top: 0.7rem; right: 0.9rem; border: none; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.practice-close:hover { color: var(--text-dark); }
.practice-progress { text-align: center; font-weight: 800; color: var(--primary-dark); margin-bottom: 0.8rem; font-size: 0.9rem; }
.flashcard { perspective: 1200px; cursor: pointer; margin: 0 auto 1rem; height: 260px; }
.fc-inner { position: relative; width: 100%; height: 100%; transition: transform 0.5s; transform-style: preserve-3d; }
.flashcard.flipped .fc-inner { transform: rotateY(180deg); }
.fc-front, .fc-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fc-front { background: var(--gradient-glossy); color: #fff; align-items: center; justify-content: center; text-align: center; gap: 0.5rem; }
.fc-word { font-size: 2rem; font-weight: 800; text-transform: capitalize; line-height: 1.1; }
.fc-hint { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }
.fc-front .vspeak { background: rgba(255,255,255,0.22); color: #fff; }
.fc-back { background: #fff; transform: rotateY(180deg); overflow: auto; gap: 0.5rem; }
.fc-phon { color: var(--muted); font-family: 'SFMono-Regular', Consolas, Menlo, monospace; font-size: 0.9rem; }
.fc-mean { font-size: 1.05rem; color: var(--text-dark); font-weight: 600; }
.fc-ex { font-style: italic; color: #4a5568; }
.fc-syn { color: #0c7a52; font-size: 0.9rem; }
.fc-ant { color: #c0392b; font-size: 0.9rem; }
.fc-pending { color: var(--muted); font-style: italic; }
.practice-controls { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.4rem; flex-wrap: wrap; }

/* ==================== BACK TO TOP ==================== */
.back-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 9998;
    width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--gradient-1); color: #fff; font-size: 1.25rem; line-height: 1;
    box-shadow: 0 6px 18px rgba(105,118,222,0.4);
    opacity: 0; transform: translateY(14px); pointer-events: none; transition: all 0.25s ease;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(105,118,222,0.5); }
@media (max-width: 600px) { .back-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* ==================== CONVERSATION TABS ==================== */
.conv-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 1rem 0 0; }
.conv-tab { border: 1.5px solid var(--line); background: #fff; color: var(--text-dark); font-weight: 700;
    border-radius: 12px 12px 0 0; padding: 0.6rem 1.1rem; cursor: pointer; font-size: 0.95rem; transition: all 0.2s ease; }
.conv-tab:hover { border-color: var(--primary-light); color: var(--primary-dark); }
.conv-tab.active { background: var(--gradient-1); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.conv-panel { display: none; animation: convFade 0.4s ease; background: #fff; border: 1px solid var(--line);
    border-radius: 0 14px 14px 14px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.conv-panel.active { display: block; }
@keyframes convFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.conv-listen { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0.2rem 0 0.8rem; }

/* ==================== MINI FLASHCARDS ==================== */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.7rem; margin: 0.8rem 0; }
.mini-card { perspective: 900px; height: 116px; cursor: pointer; }
.mini-inner { position: relative; width: 100%; height: 100%; transition: transform 0.5s; transform-style: preserve-3d; }
.mini-card.flipped .mini-inner { transform: rotateY(180deg); }
.mini-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.65rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mini-front { background: var(--gradient-1); color: #fff; font-weight: 800; font-size: 1rem; }
.mini-back { background: #fff; transform: rotateY(180deg); color: var(--text-dark); font-size: 0.86rem; line-height: 1.4; }
.mini-hint { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }

/* ==================== LEADER PHRASES (Basic → Advanced → Why) ==================== */
.lex { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease; }
.lex:hover { box-shadow: var(--shadow-md); }
.lex-n { display: inline-block; font-weight: 800; color: #fff; background: var(--gradient-1); border-radius: 999px; font-size: 0.72rem; padding: 0.12rem 0.6rem; margin-bottom: 0.5rem; }
.lex-row { display: flex; gap: 0.7rem; margin: 0.45rem 0; align-items: flex-start; }
.lex-tag { flex-shrink: 0; width: 92px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.28rem 0.5rem; border-radius: 8px; text-align: center; }
.lex-basic .lex-tag { background: #eef0f8; color: #5b6678; }
.lex-adv .lex-tag { background: var(--gradient-1); color: #fff; }
.lex-why .lex-tag { background: #e8f9ef; color: #0c7a52; }
.lex-text { flex: 1; min-width: 0; color: var(--ink-soft, #3a4256); }
.lex-basic .lex-text { color: #6b7280; }
.lex-adv .lex-text { font-weight: 600; color: var(--text-dark); }
.lex-why .lex-text { color: #4a5568; font-size: 0.92rem; }

/* ==================== HUB LEFT SIDEBAR ==================== */
.hub-layout { display: flex; align-items: flex-start; gap: 1.5rem; max-width: 1236px; margin: 0 auto; padding: 2rem 1rem; }
.hub-side { width: 250px; flex-shrink: 0; position: sticky; top: 1rem; background: #fff; padding: 0.9rem;
    border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid rgba(105,118,222,0.08); z-index: 40;
    max-height: calc(100vh - 2rem); overflow-y: auto; }
/* Glossy thin scrollbar for the left menu */
.hub-side::-webkit-scrollbar { width: 6px; }
.hub-side::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.hub-side::-webkit-scrollbar-thumb { background: var(--gradient-glossy); border-radius: 999px; }
.hub-side::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
@supports not selector(::-webkit-scrollbar) {
    .hub-side { scrollbar-width: thin; scrollbar-color: var(--primary-light) transparent; }
}
.hub-main { flex: 1; min-width: 0; }
.side-title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.3rem 0.6rem 0.55rem; }
.side-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; padding: 0.6rem 0.7rem; border-radius: 12px;
    border: 1.5px solid transparent; background: var(--bg-light); margin-bottom: 0.4rem; transition: all 0.2s ease; }
.side-link:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); border-color: rgba(105,118,222,0.25); }
.side-link.active { background: var(--gradient-1); border-color: transparent; box-shadow: var(--shadow-md); }
.side-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem; background: #fff; color: var(--primary-color); box-shadow: inset 0 0 0 1.5px rgba(105,118,222,0.18); }
.side-link.active .side-ico { background: rgba(255,255,255,0.22); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.side-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.side-name { font-weight: 700; font-size: 0.92rem; color: var(--text-dark); }
.side-link.active .side-name { color: #fff; }
.side-sub { font-size: 0.7rem; color: #9aa6be; font-weight: 600; }
.side-link.active .side-sub { color: rgba(255,255,255,0.82); }

/* ==================== PATH STEPPER (Grammar / Speaking hubs) ==================== */
.spath { list-style: none; padding: 0; margin: 1.2rem 0; position: relative; }
.spath::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); z-index: 0; }
.spath-step { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; position: relative; z-index: 1; }
.spath-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-1); color: #fff;
    font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--bg-light); }
.spath-link { flex: 1; display: flex; align-items: center; gap: 0.8rem; text-decoration: none; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1.15rem; box-shadow: var(--shadow-sm); transition: all 0.2s ease; }
.spath-link:hover { transform: translateX(3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.spath-body { flex: 1; min-width: 0; }
.spath-body h3 { margin: 0 0 0.15rem; color: var(--primary-dark); font-size: 1.08rem; }
.spath-body p { margin: 0; color: #5b6678; font-size: 0.9rem; }
.spath-arrow { color: var(--primary-color); font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.spath-tag { display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
    color: #fff; border-radius: 999px; padding: 0.1rem 0.55rem; margin-bottom: 0.3rem; }
.tag-beg { background: #10B981; } .tag-int { background: #F59E0B; } .tag-adv { background: #EF4444; } .tag-week { background: var(--primary-color); }

/* ==================== GRAMMAR ACCORDION ==================== */
.gram-acc { border: 1px solid var(--line); border-radius: 12px; margin: 0.4rem 0 1.75rem; overflow: visible; background: #fff; box-shadow: var(--shadow-sm); }
.gram-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    background: linear-gradient(135deg, rgba(105,118,222,0.09), rgba(138,149,232,0.04)); border: none; cursor: pointer;
    padding: 0.8rem 1.1rem; font-weight: 800; color: var(--primary-dark); font-size: 0.96rem; text-align: left;
    border-radius: 12px 12px 0 0; }
.gram-acc:not(.open) .gram-head { border-radius: 12px; }
.gram-head:hover { background: rgba(105,118,222,0.13); }
.gram-caret { transition: transform 0.3s ease; color: var(--primary-color); font-size: 1.1rem; line-height: 1; }
.gram-acc.open .gram-caret { transform: rotate(180deg); }
.gram-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.gram-acc.open .gram-body { max-height: 2000px; overflow: visible; transition: max-height 0.4s ease, overflow 0s 0.4s; }
.gram-inner { padding: 0.9rem 1.1rem 1.1rem; display: grid; gap: 0.6rem; }
.gram-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--line); }
.gram-item:last-child { border-bottom: none; padding-bottom: 0; }
.gram-label { flex-shrink: 0; min-width: 108px; font-weight: 800; font-size: 0.8rem; color: #fff;
    background: var(--gradient-1); border-radius: 999px; padding: 0.25rem 0.7rem; text-align: center; }
.gram-words { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gword { position: relative; background: rgba(105,118,222,0.1); border: 1px solid rgba(105,118,222,0.28);
    color: var(--primary-dark); border-radius: 8px; padding: 0.14rem 0.55rem; font-size: 0.9rem; font-weight: 600; cursor: help; }
.gword:hover, .gword.show { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.gword::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(6px);
    width: min(250px, 76vw); background: #14121f; color: #fff; font-weight: 500; font-size: 0.8rem; line-height: 1.45;
    padding: 0.55rem 0.7rem; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.28); text-align: left; white-space: normal;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 60; }
.gword::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%) translateY(6px);
    border: 6px solid transparent; border-top-color: #14121f; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 61; }
.gword:hover::after, .gword.show::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.gword:hover::before, .gword.show::before { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 760px) {
    .nav-links { display: none; }
    .hub-layout { flex-direction: column; gap: 1rem; }
    .hub-side { width: 100%; position: static; top: auto; max-height: none; overflow-y: visible; }
    .gram-label { min-width: 0; }
    .gword::after { width: min(230px, 82vw); }
    .hero h1 { font-size: 1.7rem; }
    .card { padding: 1.3rem; }
    .level-pill { min-width: 0; flex: 1; }
    .passage { font-size: 1.05rem; line-height: 1.95; padding: 1rem; }
}

/* ==================== MODULE MAP (interactive relationship diagram) ==================== */
.map-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 1.2rem 1.2rem 0.8rem; border-left: 4px solid var(--primary-color); }
.map-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; align-items: center; margin-bottom: 0.6rem; padding: 0 0.3rem; }
.map-legend .lg { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: #4a5568; }
.map-legend .sw { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.map-legend .hint { margin-left: auto; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.map-scroll { overflow-x: auto; }
.map-wrap { position: relative; min-width: 900px; }
#mapsvg { width: 100%; height: auto; display: block; }
#mapsvg .edge { stroke: #ccd3e8; stroke-width: 1.6; fill: none; transition: stroke 0.15s ease, stroke-width 0.15s ease, opacity 0.15s ease; }
#mapsvg .node { cursor: pointer; transition: opacity 0.15s ease; }
#mapsvg .node rect { fill: #fff; stroke-width: 2; filter: drop-shadow(0 2px 5px rgba(105,118,222,0.18)); transition: fill 0.15s ease; }
#mapsvg .node text { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
#mapsvg .node .lbl { font-size: 14.5px; font-weight: 700; fill: var(--text-dark); transition: fill 0.15s ease; }
#mapsvg .node .ico { font-size: 16px; }
#mapsvg .node.soon rect { stroke-dasharray: 5 4; fill: #f7f8fc; }
#mapsvg .node.soon .lbl { fill: var(--muted); }
#mapsvg .node.hot rect { fill: var(--hotfill, var(--primary-color)); }
#mapsvg .node.hot .lbl { fill: #fff; }
#mapsvg.focus .node:not(.hot):not(.near) { opacity: 0.16; }
#mapsvg.focus .edge:not(.hot) { opacity: 0.10; }
#mapsvg .edge.hot { stroke: var(--hotstroke, var(--primary-color)); stroke-width: 2.6; }
.map-tip { position: fixed; z-index: 9999; width: 320px; background: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(40,30,90,0.28); border: 1px solid var(--line); padding: 0.85rem 1rem; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity 0.12s ease, transform 0.12s ease; }
.map-tip.show { opacity: 1; transform: translateY(0); }
.map-tip .tt { display: flex; align-items: center; gap: 0.45rem; font-weight: 800; font-size: 0.98rem; color: var(--text-dark); margin-bottom: 0.3rem; flex-wrap: wrap; }
.map-tip .tt .tnum { font-size: 0.68rem; font-weight: 800; color: #fff; border-radius: 999px; padding: 0.08rem 0.5rem; }
.map-tip .td { font-size: 0.84rem; color: #4a5568; line-height: 1.45; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--line); }
.map-tip .tc-title { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0.55rem 0 0.25rem; }
.map-tip .tline { font-size: 0.8rem; color: #5b6678; line-height: 1.4; margin: 0.22rem 0; }
.map-tip .tline b { font-weight: 800; }
.map-tip .tdir { font-weight: 800; color: #9aa6be; }
.map-tip .tgo { margin-top: 0.55rem; font-size: 0.75rem; font-weight: 700; color: var(--primary-dark); }
