:root {
  --v2-bg: #f3f9fc;
  --v2-panel: #fcfeff;
  --v2-ink: #263a46;
  --v2-muted: #70838c;
  --v2-line: #dbe9ee;
  --v2-coral: #3f8fb5;
  --v2-coral-soft: #e3f3fa;
  --v2-purple: #5f80c4;
  --v2-purple-soft: #ebf0fb;
  --v2-green: #43a58a;
  --v2-green-soft: #e2f5ef;
  --v2-gradient: linear-gradient(135deg, #75b9ea 0%, #58c5bd 58%, #72c79b 100%);
  --v2-gradient-soft: linear-gradient(135deg, #e8f5fd 0%, #e2f8f3 100%);
  --v2-shadow: 0 12px 34px rgba(44, 94, 116, .08);
}

:root[data-theme="sage"] {
  --v2-bg: #f5f7fd;
  --v2-panel: #fefeff;
  --v2-ink: #30384c;
  --v2-muted: #777d91;
  --v2-line: #e0e4f0;
  --v2-coral: #637bc4;
  --v2-coral-soft: #e9edfb;
  --v2-purple: #8676c3;
  --v2-purple-soft: #f0ecfb;
  --v2-green: #49a995;
  --v2-green-soft: #e3f5f0;
  --v2-gradient: linear-gradient(135deg, #738fd8 0%, #8f82d0 47%, #5bc3ad 100%);
  --v2-gradient-soft: linear-gradient(135deg, #edf1ff 0%, #f1edfc 50%, #e6f8f3 100%);
  --v2-shadow: 0 12px 34px rgba(73, 75, 130, .085);
}

:root[data-theme="bright"] {
  --v2-bg: #f2fbf8;
  --v2-panel: #fcfffe;
  --v2-ink: #263f42;
  --v2-muted: #6b8380;
  --v2-line: #d8ebe5;
  --v2-coral: #279ba6;
  --v2-coral-soft: #def5f5;
  --v2-purple: #468fae;
  --v2-purple-soft: #e2f2f8;
  --v2-green: #6aaa63;
  --v2-green-soft: #e8f6df;
  --v2-gradient: linear-gradient(135deg, #4db8cf 0%, #52c6aa 52%, #9acb68 100%);
  --v2-gradient-soft: linear-gradient(135deg, #e1f7fb 0%, #e3f8ef 55%, #eff8df 100%);
  --v2-shadow: 0 12px 34px rgba(37, 105, 99, .08);
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 86% 3%, var(--v2-green-soft) 0, transparent 25%), radial-gradient(circle at 15% 45%, var(--v2-coral-soft) 0, transparent 28%), var(--v2-bg); color: var(--v2-ink); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--v2-coral); outline-offset: 3px; }

.v2-layout { min-height: 100vh; }
.v2-site-header { position: relative; z-index: 30; padding: 18px 38px 0; border-bottom: 1px solid var(--v2-line); background: rgba(252, 254, 255, .9); backdrop-filter: blur(18px); }
.v2-header-mast { position: relative; min-height: 68px; display: grid; place-items: center; }
.v2-header-mast::before, .v2-header-mast::after { content: ''; position: absolute; border-radius: 999px; pointer-events: none; }
.v2-header-mast::before { width: 74px; height: 12px; left: calc(50% - 205px); top: 24px; background: linear-gradient(90deg, transparent, #9ed8e5); transform: rotate(-7deg); opacity: .72; }
.v2-header-mast::after { width: 52px; height: 16px; right: calc(50% - 194px); top: 20px; border: 3px solid #a8ddca; border-left-color: transparent; transform: rotate(9deg); opacity: .72; }
.v2-brand { display: grid; justify-items: center; line-height: 1.2; text-align: center; }
.v2-brand strong { font-size: 22px; letter-spacing: .04em; }
.v2-brand small { margin-top: 6px; color: var(--v2-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.v2-main-nav { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.v2-main-nav a { position: relative; min-height: 51px; padding: 10px 12px; border-radius: 13px 13px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: #60747c; font-size: 14px; transition: background .18s ease, color .18s ease; }
.v2-main-nav a::after { content: ''; position: absolute; left: 24%; right: 24%; bottom: -1px; height: 3px; border-radius: 999px 999px 0 0; background: transparent; }
.v2-main-nav a:hover { background: var(--v2-green-soft); }
.v2-main-nav a.active { background: var(--v2-gradient-soft); color: var(--v2-coral); font-weight: 750; }
.v2-main-nav a.active::after { background: var(--v2-gradient); }
.v2-main-nav a small { padding: 2px 6px; border-radius: 999px; background: #edf3f5; color: #7d9097; font-size: 9px; font-weight: 650; white-space: nowrap; }
.v2-account-link { position: absolute; right: 0; top: 14px; min-height: 40px; padding: 8px 17px; border: 1px solid var(--v2-line); border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255,255,255,.92); color: var(--v2-ink); font-weight: 700; box-shadow: 0 5px 18px rgba(44,94,116,.05); }
.v2-shell { min-width: 0; }
.v2-main { max-width: 1320px; margin: 0 auto; padding: 36px 38px 64px; }

/* 顶部设计：日系哈密瓜气泡水 */
:root[data-header="melon"] .v2-site-header { background: radial-gradient(circle at 18% 10%, rgba(194,238,216,.62) 0 64px, transparent 65px), radial-gradient(circle at 83% 24%, rgba(188,226,242,.62) 0 52px, transparent 53px), linear-gradient(180deg, #fffef9 0%, #f5fcfa 100%); }
:root[data-header="melon"] .v2-header-mast { min-height: 102px; }
:root[data-header="melon"] .v2-header-mast::before { width: 54px; height: 76px; left: calc(50% - 335px); top: 8px; border: 3px solid rgba(255,255,255,.9); border-radius: 10px 10px 22px 22px; background: radial-gradient(circle at 50% 4px, #fffdf2 0 20px, #eaf8ec 21px 24px, transparent 25px), linear-gradient(180deg, #bcebd0 27%, #7fd4a5 56%, #5dbb91 100%); box-shadow: 0 12px 22px rgba(66,145,119,.16), inset 0 -8px 0 rgba(255,255,255,.2); transform: rotate(-6deg); }
:root[data-header="melon"] .v2-header-mast::after { width: 12px; height: 12px; right: calc(50% - 285px); top: 23px; border: 2px solid rgba(97,184,175,.48); background: rgba(255,255,255,.7); box-shadow: 30px 19px 0 5px rgba(154,220,209,.35), -24px 32px 0 1px rgba(122,199,225,.35), 12px 54px 0 -3px rgba(102,189,151,.42); }
:root[data-header="melon"] .v2-brand { position: relative; min-width: 390px; padding: 15px 44px 13px; border: 1px solid rgba(184,224,211,.72); border-radius: 28px 28px 20px 20px; background: rgba(255,255,250,.9); box-shadow: 0 15px 34px rgba(61,128,114,.1), inset 0 0 0 4px rgba(236,250,245,.8); }
:root[data-header="melon"] .v2-brand::before { content: ''; position: absolute; width: 31px; height: 31px; left: -17px; top: -12px; border: 4px solid rgba(255,255,255,.88); border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fffef7 0 7px, #f3f1dc 8px 20px, #dfddc9 21px); box-shadow: 0 8px 14px rgba(80,133,112,.12); }
:root[data-header="melon"] .v2-brand::after { content: ''; position: absolute; width: 7px; height: 66px; right: -17px; top: -22px; border: 2px solid rgba(255,255,255,.85); border-radius: 999px; background: repeating-linear-gradient(180deg, #77c9b0 0 8px, #e6faf2 8px 14px); transform: rotate(15deg); box-shadow: 0 5px 10px rgba(68,151,129,.12); }
:root[data-header="melon"] .v2-brand strong { color: #276c70; font-size: 23px; white-space: nowrap; letter-spacing: .04em; text-shadow: 0 3px 0 rgba(189,231,218,.42); }
:root[data-header="melon"] .v2-brand small { width: fit-content; margin-top: 7px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, #e6f7ee, #e5f3fa); color: #5c8587; letter-spacing: .06em; }
:root[data-header="melon"] .v2-main-nav a.active { background: linear-gradient(135deg, #e3f7ed, #e2f2f9); color: #2d7a7b; }
:root[data-header="melon"] .v2-account-link { border-color: #cfe8df; background: #fffef8; color: #397678; }
:root[data-header="melon"] body { background: radial-gradient(circle at 9% 20%, rgba(199,238,218,.45) 0 82px, transparent 83px), radial-gradient(circle at 91% 46%, rgba(190,228,242,.4) 0 64px, transparent 65px), #f6fbf9; }
:root[data-header="melon"] .v2-home-hero { border-color: rgba(255,255,255,.9); background: radial-gradient(circle at 78% 25%, rgba(255,255,255,.7) 0 24px, transparent 25px), radial-gradient(circle at 88% 62%, rgba(255,255,255,.55) 0 11px, transparent 12px), linear-gradient(135deg, #e5f6ed 0%, #e5f3f8 58%, #fffaf0 100%); box-shadow: 0 18px 42px rgba(66,137,119,.09); }
:root[data-header="melon"] .v2-button.primary { background: linear-gradient(135deg, #69b9dd 0%, #6fcaa5 56%, #93d292 100%); }
:root[data-header="melon"] .v2-header-mast::before, :root[data-header="melon"] .v2-header-mast::after, :root[data-header="melon"] .v2-brand::before, :root[data-header="melon"] .v2-brand::after { display: none; }
.v2-dessert-art { display: none; }
:root[data-header="melon"] .v2-dessert-art { position: absolute; z-index: 1; display: block; pointer-events: none; }
:root[data-header="melon"] .v2-brand { z-index: 2; }
:root[data-header="melon"] .v2-account-link { z-index: 4; }

/* 左侧完整哈密瓜奶油苏打 */
.v2-soda-art { width: 88px; height: 94px; left: calc(50% - 330px); top: 2px; filter: drop-shadow(0 10px 12px rgba(64,139,116,.13)); }
.v2-soda-art i, .v2-sweets-art i { position: absolute; display: block; }
.v2-soda-glass { left: 16px; bottom: 1px; width: 56px; height: 62px; border: 3px solid rgba(255,255,255,.92); border-radius: 8px 8px 22px 22px; background: radial-gradient(circle at 27% 34%, rgba(255,255,255,.8) 0 3px, transparent 4px), radial-gradient(circle at 67% 52%, rgba(255,255,255,.7) 0 4px, transparent 5px), radial-gradient(circle at 45% 78%, rgba(255,255,255,.55) 0 2px, transparent 3px), linear-gradient(180deg, #b7ebce 0%, #7ed3a3 56%, #57b88c 100%); box-shadow: inset 7px 0 0 rgba(255,255,255,.2), inset 0 -8px 0 rgba(51,145,106,.1); }
.v2-soda-scoop { left: 17px; top: 4px; width: 55px; height: 48px; border: 4px solid rgba(255,255,255,.82); border-radius: 50% 46% 52% 44%; background: radial-gradient(circle at 34% 26%, #fffefa 0 9px, #f5f1df 10px 30px, #e8e2ca 31px); box-shadow: 0 6px 10px rgba(88,125,104,.12); }
.v2-soda-straw { z-index: -1; left: 61px; top: -3px; width: 8px; height: 58px; border: 2px solid rgba(255,255,255,.88); border-radius: 999px; background: repeating-linear-gradient(180deg, #68c0a3 0 8px, #e5f8ef 8px 14px); transform: rotate(14deg); }
.v2-soda-cherry { left: 36px; top: 0; width: 11px; height: 11px; border: 2px solid rgba(255,255,255,.86); border-radius: 50%; background: #ef8d83; box-shadow: 0 3px 5px rgba(137,78,73,.15); }

/* 右侧布丁与哈密瓜甜品摆盘 */
.v2-sweets-art { width: 112px; height: 88px; right: calc(50% - 300px); top: 8px; filter: drop-shadow(0 10px 12px rgba(113,126,89,.11)); }
.v2-dessert-plate { left: 5px; bottom: 0; width: 102px; height: 17px; border: 3px solid rgba(255,255,255,.94); border-radius: 50%; background: #dff2f3; }
.v2-pudding { left: 10px; bottom: 11px; width: 58px; height: 47px; border: 3px solid rgba(255,255,255,.8); border-radius: 12px 12px 24px 24px; background: linear-gradient(180deg, #f5e8b5 0%, #f1d998 100%); box-shadow: inset 7px 0 0 rgba(255,255,255,.18); }
.v2-pudding::before { content: ''; position: absolute; left: -3px; right: -3px; top: -6px; height: 14px; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; background: #c99468; }
.v2-pudding::after { content: ''; position: absolute; width: 10px; height: 10px; left: 22px; top: -17px; border: 2px solid #fff; border-radius: 50%; background: #ef8d83; }
.v2-melon-slice { right: 2px; bottom: 19px; width: 51px; height: 44px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: radial-gradient(ellipse at 43% 57%, #8e7657 0 2px, transparent 3px), radial-gradient(ellipse at 61% 64%, #8e7657 0 2px, transparent 3px), linear-gradient(180deg, #c9efa4 0 72%, #f1f8dd 73% 83%, #77bf72 84% 100%); transform: rotate(10deg); }

/* 顶部设计一：缎带花园 */
:root[data-header="ribbon"] .v2-site-header { background: linear-gradient(180deg, rgba(252,254,255,.96), rgba(247,252,252,.9)); }
:root[data-header="ribbon"] .v2-header-mast::before { width: 105px; height: 15px; left: calc(50% - 255px); background: linear-gradient(90deg, transparent, #8fd4e5 60%, #aee3d2); box-shadow: -18px 18px 0 -5px #dff3fa; }
:root[data-header="ribbon"] .v2-header-mast::after { width: 78px; height: 22px; right: calc(50% - 238px); border-width: 4px; border-color: #9fdcc8 #9fdcc8 #9fdcc8 transparent; box-shadow: 18px 18px 0 -7px #b9dff0; }
:root[data-header="ribbon"] .v2-brand strong { text-shadow: 0 7px 24px rgba(63,143,181,.08); }

/* 顶部设计二：贴纸信笺 */
:root[data-header="sticker"] .v2-site-header { background: radial-gradient(circle at 26% 18%, #e4f5fb 0 34px, transparent 35px), radial-gradient(circle at 76% 28%, #e1f6ef 0 44px, transparent 45px), rgba(252,254,255,.94); }
:root[data-header="sticker"] .v2-header-mast { min-height: 88px; }
:root[data-header="sticker"] .v2-header-mast::before { width: 13px; height: 13px; left: calc(50% - 250px); top: 25px; background: #79bfdf; box-shadow: 25px 18px 0 -2px #7bcbb0, 48px -7px 0 -4px #a6bfe8; }
:root[data-header="sticker"] .v2-header-mast::after { width: 68px; height: 30px; right: calc(50% - 248px); top: 24px; border: 3px solid #9edcc8; border-left-color: #a8d8ea; border-radius: 50% 45% 48% 42%; transform: rotate(-8deg); }
:root[data-header="sticker"] .v2-brand { position: relative; min-width: 310px; padding: 13px 38px 12px; border: 1px solid rgba(255,255,255,.94); border-radius: 22px 22px 22px 8px; background: rgba(255,255,255,.9); box-shadow: 0 13px 30px rgba(44,94,116,.1), inset 0 0 0 1px rgba(159,218,215,.28); transform: rotate(-.5deg); }
:root[data-header="sticker"] .v2-brand::before { content: ''; position: absolute; width: 48px; height: 12px; left: -24px; top: 13px; border-radius: 3px; background: rgba(136,205,225,.48); transform: rotate(-13deg); }
:root[data-header="sticker"] .v2-brand::after { content: ''; position: absolute; width: 46px; height: 12px; right: -23px; bottom: 13px; border-radius: 3px; background: rgba(126,207,171,.42); transform: rotate(-11deg); }
:root[data-header="sticker"] .v2-brand strong { font-size: 23px; }

/* 顶部设计三：海浪字标 */
:root[data-header="wave"] .v2-site-header { background: linear-gradient(120deg, rgba(242,249,253,.97), rgba(249,253,255,.95) 45%, rgba(239,250,246,.96)); }
:root[data-header="wave"] .v2-header-mast { min-height: 82px; }
:root[data-header="wave"] .v2-header-mast::before { width: 9px; height: 9px; left: calc(50% - 205px); top: 25px; background: #70b8df; box-shadow: -19px 15px 0 3px #a8dcca, 15px 27px 0 -2px #809ed8; }
:root[data-header="wave"] .v2-header-mast::after { width: 58px; height: 58px; right: calc(50% - 218px); top: 5px; border: 2px solid rgba(104,191,176,.42); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(21deg); }
:root[data-header="wave"] .v2-brand { position: relative; padding-bottom: 9px; }
:root[data-header="wave"] .v2-brand strong { font-size: 27px; letter-spacing: .06em; background: linear-gradient(100deg, #397fae, #469f9a 58%, #5da77b); background-clip: text; -webkit-background-clip: text; color: transparent; }
:root[data-header="wave"] .v2-brand small { padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.72); }
:root[data-header="wave"] .v2-brand::after { content: ''; position: absolute; width: 180px; height: 8px; left: 50%; bottom: 0; border-radius: 50%; border-top: 3px solid #71c4c0; transform: translateX(-50%) rotate(-2deg); opacity: .7; }
.v2-warning { padding: 10px 14px; margin: 0 0 18px; border-radius: 9px; background: var(--v2-coral-soft); color: #3f7187; }

.v2-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.v2-page-head h1, .v2-practice-head h1, .v2-test-head h1 { margin: 0; font-size: 28px; line-height: 1.35; }
.v2-page-head p, .v2-practice-head p, .v2-test-head p { margin: 7px 0 0; color: var(--v2-muted); font-size: 14px; }
.v2-page-kicker { display: block; margin-bottom: 5px; color: var(--v2-coral); font-size: 12px; font-weight: 750; }

.v2-home-hero { min-height: 470px; padding: 58px 64px; border: 1px solid rgba(255,255,255,.8); border-radius: 30px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 40px; overflow: hidden; background: var(--v2-gradient-soft); box-shadow: var(--v2-shadow); }
.v2-home-copy { position: relative; z-index: 2; }
.v2-home-label { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.78); color: var(--v2-coral); font-size: 12px; font-weight: 750; }
.v2-home-copy h1 { max-width: 620px; margin: 18px 0 16px; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.14; letter-spacing: -.035em; }
.v2-home-copy p { max-width: 540px; margin: 0; color: var(--v2-muted); font-size: 16px; line-height: 1.9; }
.v2-home-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.v2-home-visual { position: relative; height: 330px; }
.v2-home-visual::before { content: ''; position: absolute; inset: 40px 5% 10px 12%; border-radius: 48% 52% 43% 57%; background: rgba(255,255,255,.46); }
.v2-home-card { position: absolute; width: 210px; padding: 19px; border: 1px solid var(--v2-line); border-radius: 22px 22px 22px 8px; display: grid; gap: 2px; background: rgba(255,255,255,.92); box-shadow: 0 16px 36px rgba(38,72,73,.09); }
.v2-home-card > span { margin-bottom: 8px; font-size: 31px; }
.v2-home-card strong { font-size: 15px; }
.v2-home-card small { color: var(--v2-muted); font-size: 11px; }
.v2-home-card.card-one { top: 22px; left: 5%; transform: rotate(-4deg); }
.v2-home-card.card-two { top: 112px; right: 0; transform: rotate(4deg); }
.v2-home-card.card-three { bottom: 4px; left: 11%; transform: rotate(-2deg); }
.v2-home-section { padding: 52px 4px 22px; }
.v2-home-heading span, .v2-story-card > span, .v2-notice-card > span { color: var(--v2-coral); font-size: 12px; font-weight: 750; }
.v2-home-heading h2 { margin: 5px 0 20px; font-size: 24px; }
.v2-usage-card { border: 1px solid var(--v2-line); border-radius: 22px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; overflow: hidden; background: var(--v2-panel); box-shadow: var(--v2-shadow); }
.v2-usage-card section { min-width: 0; padding: 25px 27px; }
.v2-usage-card section + section { border-left: 1px solid var(--v2-line); }
.v2-usage-card section > span { color: var(--v2-coral); font-size: 12px; font-weight: 750; }
.v2-usage-card h3 { margin: 7px 0 8px; font-size: 17px; }
.v2-usage-card p, .v2-usage-card ul { margin: 0; color: var(--v2-muted); font-size: 14px; line-height: 1.8; }
.v2-usage-card ul { padding-left: 18px; }
.v2-usage-card li + li { margin-top: 4px; }
.v2-home-bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 14px; padding: 20px 4px 0; }
.v2-story-card, .v2-notice-card { padding: 28px 30px; border: 1px solid var(--v2-line); border-radius: 20px; background: var(--v2-panel); }
.v2-story-card h2 { margin: 7px 0 10px; font-size: 21px; }
.v2-story-card p { max-width: 760px; margin: 0; color: var(--v2-muted); font-size: 14px; line-height: 1.85; }
.v2-story-card p + p { margin-top: 11px; }
.v2-notice-card { background: var(--v2-green-soft); }
.v2-notice-card ul { margin: 12px 0 0; padding-left: 19px; color: #526e70; line-height: 2; }
.v2-stats, .v2-progress-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.v2-stats > div, .v2-progress-summary > div { padding: 18px 20px; border: 1px solid var(--v2-line); border-radius: 15px; background: rgba(252, 254, 255, .94); box-shadow: var(--v2-shadow); }
.v2-stats span, .v2-stats small, .v2-progress-summary span { display: block; color: var(--v2-muted); font-size: 13px; }
.v2-stats strong, .v2-progress-summary strong { display: block; margin: 5px 0 2px; font-size: 27px; line-height: 1.2; }
.v2-continue { margin-bottom: 24px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 12px; background: var(--v2-purple-soft); }
.v2-continue strong, .v2-continue span { display: block; }
.v2-continue span { margin-top: 2px; color: var(--v2-muted); font-size: 12px; }
.v2-library-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.v2-library-head h2 { margin: 0; font-size: 19px; }
.v2-library-head #topic-count { color: var(--v2-muted); font-size: 13px; }
.v2-search { width: 280px; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--v2-line); border-radius: 10px; background: #fff; color: var(--v2-muted); font-size: 13px; }
.v2-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--v2-ink); }
.v2-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.v2-filter-row button { padding: 7px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--v2-muted); }
.v2-filter-row button.active { border-color: var(--v2-line); background: var(--v2-purple-soft); color: var(--v2-purple); }
.v2-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v2-topic-card { border: 1px solid var(--v2-line); border-radius: 16px; background: var(--v2-panel); overflow: hidden; box-shadow: 0 6px 20px rgba(38,72,73,.035); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.v2-topic-card a { display: block; height: 100%; padding: 18px; }
.v2-topic-card:hover { border-color: var(--v2-coral); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(38, 72, 73, .09); }
.v2-topic-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.v2-topic-visual { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px 17px 17px 7px; background: var(--topic-tile); font-size: 25px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.v2-topic-visual.small { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px 14px 14px 6px; font-size: 21px; }
.v2-topic-visual.tiny { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px 12px 12px 5px; font-size: 19px; }
.v2-topic-id { display: block; margin-bottom: 4px; color: #8ba0a8; font-size: 11px; font-weight: 700; }
.v2-topic-type { color: var(--v2-muted); font-size: 12px; }
.v2-topic-card h3 { margin: 0 0 3px; font-size: 17px; }
.v2-topic-card p { margin: 0; color: var(--v2-muted); font-size: 13px; }
.v2-topic-progress { margin: 18px 0 7px; display: flex; justify-content: space-between; gap: 8px; color: var(--v2-muted); font-size: 12px; }
.v2-progress-track { height: 5px; overflow: hidden; border-radius: 5px; background: #e6eef1; }
.v2-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v2-coral), var(--v2-green)); }
.v2-empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--v2-muted); }

.v2-button { min-height: 44px; padding: 10px 17px; border: 1px solid var(--v2-line); border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #fff; font-size: 13px; font-weight: 650; }
.v2-button.large { min-height: 50px; padding: 12px 21px; border-radius: 14px; font-size: 14px; }
.v2-button.primary { border-color: transparent; background: var(--v2-gradient); color: #fff; box-shadow: 0 7px 18px color-mix(in srgb, var(--v2-coral) 22%, transparent); }
.v2-button.secondary { background: #fff; color: #536b74; }
.v2-button.test { border-color: #cbe5dc; background: var(--v2-green-soft); color: var(--v2-green); }
.v2-breadcrumb { margin-bottom: 17px; display: flex; gap: 12px; color: var(--v2-muted); font-size: 12px; }
.v2-breadcrumb a { color: var(--v2-purple); }
.v2-practice-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.v2-practice-title { display: flex; align-items: center; gap: 12px; }
.v2-practice-head h1 { font-size: 25px; }
.v2-practice-layout { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: start; }
.v2-question-nav { display: grid; gap: 8px; position: sticky; top: 18px; }
.v2-question-nav a { min-height: 57px; padding: 10px 12px; display: grid; align-content: center; gap: 1px; border: 1px solid var(--v2-line); border-radius: 12px; background: var(--v2-panel); }
.v2-question-nav a.active { border-color: #bddbe7; background: var(--v2-gradient-soft); }
.v2-question-nav a.done { color: var(--v2-green); }
.v2-question-nav a.test-entry { border-color: #c7d7ca; background: var(--v2-green-soft); color: var(--v2-green); }
.v2-question-nav a > span { font-size: 12px; font-weight: 750; }
.v2-question-nav small { color: var(--v2-muted); font-size: 11px; }
.v2-learning-grid { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 18px; align-items: start; }
.v2-question-card, .v2-reference-card { min-width: 0; padding: 24px; border: 1px solid var(--v2-line); border-radius: 17px; background: rgba(252, 254, 255, .97); box-shadow: var(--v2-shadow); }
.v2-question-card h2 { margin: 5px 0 17px; font-size: 19px; line-height: 1.5; }
.v2-question-index { color: var(--v2-muted); font-size: 12px; }
.v2-question-listen { display: grid; grid-template-columns: auto minmax(180px, 360px); align-items: center; gap: 12px; margin: 10px 0 18px; }
.v2-question-listen > span { color: var(--v2-muted); font-size: 13px; font-weight: 700; }
.v2-question-listen audio { width: 100%; height: 36px; }
.v2-question-listen.compact { margin: 8px 0 12px; }
.v2-listen-question { min-height: 42px; width: fit-content; margin: 8px 0 18px; padding: 9px 15px; border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; font-weight: 700; }
.v2-mode { display: flex; gap: 7px; margin-bottom: 17px; }
.v2-mode button { min-height: 42px; padding: 8px 15px; border: 1px solid var(--v2-line); border-radius: 10px; background: #fff; color: var(--v2-muted); font-size: 12px; }
.v2-mode button.active { border-color: #bedbe7; background: var(--v2-gradient-soft); color: var(--v2-coral); font-weight: 700; }
.v2-previous { margin-bottom: 12px; padding: 12px 14px; border-left: 3px solid #bcdbe6; background: #f3f9fb; }
.v2-previous span, .v2-chinese-block > span { color: var(--v2-muted); font-size: 12px; }
.v2-previous p { margin: 4px 0 0; color: var(--v2-muted); font-size: 12px; }
.v2-chinese-block { padding: 19px; border-radius: 12px; background: var(--v2-coral-soft); }
.v2-chinese-block p { margin: 8px 0 0; font-size: 18px; line-height: 1.9; color: var(--v2-ink); }
.v2-chunk-list { display: grid; gap: 12px; }
.v2-chunk-card { padding: 19px; border: 1px solid var(--v2-line); border-radius: 15px; background: color-mix(in srgb, var(--v2-coral-soft) 56%, #fff); }
.v2-chunk-card.done { border-color: var(--v2-green); background: var(--v2-green-soft); }
.v2-chunk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-chunk-head > span { color: var(--v2-coral); font-size: 13px; font-weight: 750; }
.v2-chunk-mark { min-height: 36px; padding: 7px 12px; border: 1px solid var(--v2-line); border-radius: 9px; background: rgba(255,255,255,.74); color: var(--v2-coral); font-size: 12px; }
.v2-chunk-card.done .v2-chunk-mark { border-color: #c5d6c7; color: var(--v2-green); }
.v2-chunk-card > p { margin: 12px 0 0; color: var(--v2-ink); font-size: 17px; line-height: 1.9; }
.v2-chunk-recorder { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(83,143,159,.18); }
.v2-chunk-recorder > span { margin-left: 9px; color: var(--v2-muted); font-size: 12px; }
.v2-hints { margin-top: 13px; }
.v2-hints summary { width: fit-content; color: var(--v2-coral); font-size: 13px; cursor: pointer; }
.v2-hints > div { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.v2-hints span { padding: 6px 9px; border-radius: 7px; background: var(--v2-coral-soft); color: #4f7483; font-size: 12px; }
.v2-recorder { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--v2-line); }
.v2-record-button { min-height: 42px; padding: 9px 17px; border: 0; border-radius: 13px; background: var(--v2-coral); color: #fff; font-weight: 700; }
.v2-recorder > span, .v2-test-recorder > span { margin-left: 10px; color: var(--v2-muted); font-size: 12px; }
.v2-own-audio { margin-top: 13px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.v2-own-audio audio { width: 280px; max-width: 100%; height: 35px; }
.v2-own-audio span { color: var(--v2-muted); font-size: 12px; }
.v2-practice-actions { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.v2-practice-actions > div { display: flex; gap: 7px; }
.v2-reference-card { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; }
.v2-reference-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--v2-line); }
.v2-reference-head span { color: var(--v2-muted); font-size: 12px; }
.v2-reference-head h2 { margin: 2px 0 0; font-size: 18px; }
.v2-reference-placeholder { min-height: 96px; display: grid; place-items: center; padding: 12px 0; text-align: center; color: var(--v2-muted); }
.v2-reference-level { padding: 17px 0 4px; }
.v2-reference-level h3 { margin: 0 0 8px; font-size: 14px; }
.v2-reference-level p { margin: 0 0 12px; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.85; color: #405862; }
.v2-reference-segment { padding: 18px 0; border-bottom: 1px solid var(--v2-line); }
.v2-reference-segment:last-child { border-bottom: 0; }
.v2-reference-segment > h3 { margin: 0; color: var(--v2-coral); font-size: 13px; }
.v2-reference-segment .v2-reference-level { padding-top: 11px; }
.v2-reference-audio { width: 100%; height: 36px; }
.v2-speed { margin-top: 8px; display: flex; align-items: center; gap: 7px; color: var(--v2-muted); font-size: 12px; }
.v2-speed select { padding: 5px 8px; border: 1px solid var(--v2-line); border-radius: 7px; background: #fff; color: #536b74; font-size: 12px; }
.v2-advanced { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--v2-line); }
.v2-advanced summary { cursor: pointer; color: var(--v2-purple); font-size: 12px; }
.v2-small { color: var(--v2-muted); font-size: 12px; }

.v2-upcoming { min-height: 390px; padding: 46px; border: 1px solid var(--v2-line); border-radius: 22px; display: grid; grid-template-columns: 170px minmax(0, 480px); align-items: center; justify-content: center; gap: 44px; overflow: hidden; background: rgba(252, 254, 255, .96); box-shadow: var(--v2-shadow); }
.v2-upcoming-number { width: 156px; height: 156px; display: grid; place-items: center; border-radius: 44px 44px 44px 15px; background: var(--v2-gradient-soft); color: var(--v2-coral); font-size: 76px; font-weight: 800; }
.v2-status-chip { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #edf4f6; color: #667c84; font-size: 11px; font-weight: 700; }
.v2-upcoming h2 { margin: 14px 0 8px; font-size: 24px; }
.v2-upcoming p { max-width: 440px; margin: 0 0 22px; color: var(--v2-muted); line-height: 1.8; }

.v2-test-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.v2-test-head > div > span { color: var(--v2-green); font-size: 12px; font-weight: 700; }
.v2-test-lock { margin-bottom: 14px; padding: 11px 14px; border-radius: 9px; background: var(--v2-coral-soft); color: #3f7187; font-size: 12px; }
.v2-test-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-test-list article { padding: 18px; border: 1px solid var(--v2-line); border-radius: 13px; background: var(--v2-panel); }
.v2-test-list article > span { color: var(--v2-muted); font-size: 12px; }
.v2-test-list h2 { margin: 5px 0 12px; font-size: 16px; line-height: 1.55; }
.v2-test-list article > div { padding-top: 11px; border-top: 1px solid var(--v2-line); }
.v2-test-list strong { display: block; margin-bottom: 4px; color: var(--v2-coral); font-size: 12px; }
.v2-test-list p { margin: 0; color: #526a73; line-height: 1.8; }
.v2-test-recorder { margin-top: 15px; padding: 20px; border: 1px solid #cedbce; border-radius: 14px; background: var(--v2-green-soft); }
.v2-test-recorder h2 { margin: 0; font-size: 17px; }
.v2-test-recorder p { margin: 4px 0 15px; color: #65746a; font-size: 12px; }
.v2-test-audio { margin-top: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v2-test-audio audio { width: 360px; max-width: 100%; height: 38px; }

.v2-progress-head { margin-bottom: 14px; }
.v2-progress-board { max-width: 1120px; padding: 22px; border: 1px solid rgba(255,255,255,.78); border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: var(--v2-shadow); backdrop-filter: blur(12px); }
.v2-progress-board-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.v2-progress-parts { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.v2-progress-parts::-webkit-scrollbar { display: none; }
.v2-progress-parts a { min-width: 114px; padding: 8px 11px; border: 1px solid transparent; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--v2-muted); }
.v2-progress-parts a.active { background: var(--v2-gradient-soft); color: var(--v2-ink); }
.v2-progress-parts strong { font-size: 14px; }
.v2-progress-parts span { color: var(--v2-muted); font-size: 11px; }
.v2-progress-total { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 8px; white-space: nowrap; }
.v2-progress-total strong { font-size: 24px; line-height: 1; background: var(--v2-gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.v2-progress-total span { color: var(--v2-muted); font-size: 12px; }
.v2-progress-meter { height: 7px; margin: 18px 0 10px; overflow: hidden; border-radius: 999px; background: #eaf0f2; }
.v2-progress-meter i { display: block; height: 100%; border-radius: inherit; background: var(--v2-gradient); }
.v2-progress-legend { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 15px; color: var(--v2-muted); font-size: 11px; }
.v2-progress-legend span::before { content: ''; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; display: inline-block; vertical-align: 1px; }
.v2-progress-legend .complete::before { background: var(--v2-green); }
.v2-progress-legend .active::before { background: var(--v2-coral); }
.v2-progress-legend .pending::before { background: #d5dfe2; }
.v2-progress-map { border: 1px solid var(--v2-line); border-radius: 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; background: var(--v2-line); gap: 1px; }
.v2-progress-cell { min-width: 0; min-height: 58px; padding: 9px 10px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 7px; background: var(--v2-panel); transition: filter .18s ease, background .18s ease; }
.v2-progress-cell:hover { filter: brightness(.97); }
.v2-progress-cell > span { color: #9baab0; font-size: 10px; font-variant-numeric: tabular-nums; }
.v2-progress-cell strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.v2-progress-cell small { color: var(--v2-muted); font-size: 10px; white-space: nowrap; }
.v2-progress-cell.pending { color: #718087; }
.v2-progress-cell.active { background: var(--v2-gradient-soft); }
.v2-progress-cell.active > span, .v2-progress-cell.active small { color: var(--v2-coral); }
.v2-progress-cell.complete { background: var(--v2-gradient); color: #fff; }
.v2-progress-cell.complete > span, .v2-progress-cell.complete small { color: rgba(255,255,255,.82); }

.v2-theme-picker { position: fixed; z-index: 120; right: 18px; bottom: 18px; width: 220px; border: 1px solid var(--v2-line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(38,72,73,.14); backdrop-filter: blur(12px); }
.v2-theme-picker summary { padding: 10px 13px; cursor: pointer; color: var(--v2-ink); font-size: 12px; font-weight: 750; }
.v2-theme-picker > div { padding: 0 9px 9px; display: grid; gap: 5px; }
.v2-theme-picker > div > strong { padding: 7px 8px 2px; color: var(--v2-muted); font-size: 10px; letter-spacing: .08em; }
.v2-theme-picker button { min-height: 36px; padding: 6px 8px; border: 1px solid transparent; border-radius: 9px; display: flex; align-items: center; gap: 9px; background: transparent; text-align: left; font-size: 12px; }
.v2-theme-picker button.active { border-color: var(--v2-coral); background: var(--v2-coral-soft); }
.v2-theme-picker i { width: 29px; height: 16px; flex: 0 0 auto; border-radius: 999px; }
.v2-theme-picker [data-theme-choice="lake"] i { background: linear-gradient(90deg, #75b9ea, #58c5bd, #72c79b); }
.v2-theme-picker [data-theme-choice="sage"] i { background: linear-gradient(90deg, #738fd8, #8f82d0, #5bc3ad); }
.v2-theme-picker [data-theme-choice="bright"] i { background: linear-gradient(90deg, #4db8cf, #52c6aa, #9acb68); }
.v2-theme-picker [data-header-choice="melon"] i { height: 19px; border: 2px solid #fff; border-radius: 7px 7px 11px 11px; background: linear-gradient(180deg, #e8f8e8 0 28%, #78cca1 29% 100%); box-shadow: 3px 3px 0 #dff2f8; }
.v2-theme-picker [data-header-choice="ribbon"] i { height: 8px; background: linear-gradient(90deg, #85c9e4, #8bd0ae); transform: rotate(-4deg); }
.v2-theme-picker [data-header-choice="sticker"] i { height: 19px; border: 1px solid #cfe7ec; border-radius: 7px 7px 7px 3px; background: #fff; box-shadow: 4px 3px 0 #dff4ed; }
.v2-theme-picker [data-header-choice="wave"] i { height: 12px; border-radius: 50%; border-top: 3px solid #59b9b1; background: transparent; }

.v2-account-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; max-width: 980px; }
.v2-account-single { max-width: 680px; }
.v2-account-card, .v2-teacher-table { padding: 24px; border: 1px solid var(--v2-line); border-radius: 16px; background: var(--v2-panel); }
.v2-account-card h2 { margin: 0 0 14px; }
.v2-account-card ul { margin: 0; padding-left: 20px; line-height: 2; }
.v2-account-tabs { display: flex; gap: 7px; margin-bottom: 22px; }
.v2-account-tabs button { min-height: 42px; padding: 9px 17px; border: 1px solid var(--v2-line); border-radius: 12px; background: #fff; }
.v2-account-tabs button.active { border-color: #bedbe7; background: var(--v2-gradient-soft); color: var(--v2-coral); font-weight: 700; }
.v2-account-form { display: grid; gap: 16px; }
.v2-account-form label, .v2-teacher-table label { display: grid; gap: 7px; font-weight: 700; }
.v2-account-form input, .v2-teacher-table input { min-height: 48px; padding: 0 14px; border: 1px solid var(--v2-line); border-radius: 11px; background: var(--v2-bg); }
.v2-account-form > .v2-button { width: 100%; min-height: 52px; margin-top: 2px; font-size: 15px; }
.v2-account-note { margin: 18px 0 0; color: var(--v2-muted); font-size: 13px; line-height: 1.75; }
.v2-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.v2-cloud-loading { padding: 50px 24px; border: 1px solid var(--v2-line); border-radius: 16px; background: var(--v2-panel); text-align: center; }
.v2-cloud-loading h1 { margin: 0 0 8px; }
.v2-cloud-loading p { margin: 0; color: var(--v2-muted); }
.v2-cloud-error { padding: 12px 14px; border-radius: 10px; background: var(--v2-coral-soft); color: #3f7187; }
.v2-form-error { color: #9c473f; }
.v2-form-error { min-height: 20px; margin: 0; font-size: 12px; }
.v2-recovery { max-width: 760px; margin-bottom: 18px; border-color: #bedce7; background: #f1f9fc; }
.v2-recovery input { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--v2-line); border-radius: 9px; background: #fff; font-family: ui-monospace, monospace; }
.v2-teacher-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.v2-teacher-summary > div { display: grid; gap: 4px; padding: 19px; border: 1px solid var(--v2-line); border-radius: 14px; background: var(--v2-panel); }
.v2-teacher-summary strong { font-size: 27px; }
.v2-teacher-table > div { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.v2-teacher-table p { margin: 24px 0 0; padding: 32px 18px; border-radius: 12px; background: var(--v2-bg); color: var(--v2-muted); text-align: center; }
.v2-table-wrap { margin-top: 20px; overflow-x: auto; }
.v2-teacher-table table { width: 100%; min-width: 920px; border-collapse: collapse; }
.v2-teacher-table th, .v2-teacher-table td { padding: 11px 10px; border-bottom: 1px solid var(--v2-line); text-align: left; white-space: nowrap; }
.v2-teacher-table th { color: var(--v2-muted); font-size: 12px; }

#toast { position: fixed; z-index: 100; left: 50%; bottom: 22px; max-width: 90vw; padding: 9px 15px; border-radius: 9px; background: #2f5967; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .18s; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .v2-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-home-hero { padding: 48px 42px; grid-template-columns: minmax(0, 1fr) 330px; }
  .v2-home-card { width: 188px; }
  .v2-progress-map { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .v2-site-header { padding: 14px 18px 0; }
  .v2-header-mast { min-height: 62px; }
  .v2-main-nav { max-width: 820px; }
  .v2-main-nav a { min-height: 46px; padding: 8px; font-size: 13px; }
  .v2-main-nav a small { display: none; }
  .v2-main { padding: 23px 17px 42px; }
  .v2-home-hero { min-height: 430px; padding: 38px 32px; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .v2-home-copy h1 { font-size: 40px; }
  .v2-home-visual { height: 300px; }
  .v2-home-card { width: 172px; padding: 15px; }
  .v2-home-card.card-two { top: 105px; }
  .v2-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v2-topic-card a { padding: 14px; }
  .v2-stats, .v2-progress-summary { gap: 7px; }
  .v2-stats > div, .v2-progress-summary > div { padding: 12px; }
  .v2-stats strong, .v2-progress-summary strong { font-size: 22px; }
  .v2-library-head { align-items: stretch; flex-direction: column; }
  .v2-search { width: 100%; }
  .v2-practice-layout { display: block; }
  .v2-question-nav { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 12px; }
  .v2-question-nav a { min-height: 46px; justify-content: center; padding: 7px; text-align: center; }
  .v2-question-nav small { display: none; }
  .v2-question-card, .v2-reference-card { padding: 18px; }
  .v2-chinese-block p { font-size: 17px; }
  .v2-test-list { grid-template-columns: 1fr; }
  .v2-progress-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .v2-site-header { padding: 12px 14px 0; }
  .v2-header-mast::before, .v2-header-mast::after { display: none; }
  .v2-brand strong { font-size: 18px; }
  .v2-brand small { margin-top: 4px; font-size: 9px; }
  .v2-account-link { top: 11px; min-height: 37px; padding: 7px 13px; font-size: 12px; }
  .v2-main-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .v2-main-nav a { min-height: 40px; border-radius: 10px 10px 0 0; }
  :root[data-header="melon"] .v2-header-mast { min-height: 92px; }
  :root[data-header="melon"] .v2-brand { min-width: 0; width: 270px; padding: 11px 20px 10px; border-radius: 20px 20px 15px 15px; }
  :root[data-header="melon"] .v2-brand strong { font-size: 17px; }
  :root[data-header="melon"] .v2-brand small { margin-top: 5px; padding: 3px 9px; font-size: 9px; }
  :root[data-header="melon"] .v2-brand::before { width: 23px; height: 23px; left: -10px; top: -8px; border-width: 3px; }
  :root[data-header="melon"] .v2-brand::after { width: 5px; height: 48px; right: -10px; top: -14px; }
  :root[data-header="melon"] .v2-soda-art { left: -4px; top: 25px; transform: scale(.62); transform-origin: left top; }
  :root[data-header="melon"] .v2-sweets-art { right: -8px; top: 42px; transform: scale(.54); transform-origin: right top; }
  :root[data-header="sticker"] .v2-header-mast { min-height: 76px; }
  :root[data-header="sticker"] .v2-brand { min-width: 0; width: 238px; padding: 10px 22px 9px; border-radius: 17px 17px 17px 7px; transform: none; }
  :root[data-header="sticker"] .v2-brand strong { font-size: 18px; }
  :root[data-header="sticker"] .v2-brand::before, :root[data-header="sticker"] .v2-brand::after { width: 34px; height: 9px; }
  :root[data-header="wave"] .v2-header-mast { min-height: 70px; }
  :root[data-header="wave"] .v2-brand strong { font-size: 21px; }
  :root[data-header="wave"] .v2-brand::after { width: 145px; }
  .v2-home-hero { min-height: 0; padding: 34px 24px 28px; grid-template-columns: 1fr; }
  .v2-home-copy h1 { font-size: 38px; }
  .v2-home-copy p { font-size: 14px; }
  .v2-home-visual { height: 265px; }
  .v2-home-section { padding-top: 36px; }
  .v2-usage-card, .v2-home-bottom { grid-template-columns: 1fr; }
  .v2-usage-card section + section { border-left: 0; border-top: 1px solid var(--v2-line); }
  .v2-home-bottom { padding-top: 8px; }
  .v2-learning-grid { grid-template-columns: 1fr; }
  .v2-reference-card { position: static; max-height: none; }
  .v2-question-listen { grid-template-columns: 1fr; }
  .v2-account-grid { grid-template-columns: 1fr; }
  .v2-teacher-summary { grid-template-columns: 1fr; }
  .v2-teacher-table > div { align-items: stretch; flex-direction: column; }
  .v2-progress-board { padding: 15px; border-radius: 17px; }
  .v2-progress-board-head { align-items: stretch; flex-direction: column-reverse; gap: 12px; }
  .v2-progress-total { justify-content: start; }
  .v2-progress-parts a { min-width: 105px; }
  .v2-progress-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-upcoming { min-height: 0; padding: 30px 22px; grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .v2-upcoming-number { width: 104px; height: 104px; border-radius: 30px 30px 30px 11px; font-size: 50px; }
}

@media (max-width: 460px) {
  .v2-header-mast { min-height: 58px; }
  .v2-brand strong { font-size: 16px; }
  .v2-brand small { max-width: 190px; font-size: 8px; }
  :root[data-header="melon"] .v2-header-mast { min-height: 88px; }
  :root[data-header="melon"] .v2-brand { width: 246px; padding-left: 12px; padding-right: 12px; }
  :root[data-header="melon"] .v2-brand strong { font-size: 15px; letter-spacing: .01em; }
  :root[data-header="melon"] .v2-brand small { max-width: none; font-size: 8px; }
  :root[data-header="melon"] .v2-soda-art { left: -9px; transform: scale(.56); }
  :root[data-header="melon"] .v2-sweets-art { right: -12px; top: 45px; transform: scale(.48); }
  :root[data-header="sticker"] .v2-brand { width: 218px; padding-left: 16px; padding-right: 16px; }
  :root[data-header="sticker"] .v2-brand strong { font-size: 16px; }
  :root[data-header="wave"] .v2-brand strong { font-size: 19px; }
  .v2-main-nav a { min-width: 0; min-height: 40px; padding: 7px 5px; justify-content: center; text-align: center; }
  .v2-main-nav a small { display: none; }
  .v2-main { padding: 20px 14px 38px; }
  .v2-home-hero { padding: 28px 20px 24px; border-radius: 22px; }
  .v2-home-copy h1 { margin-top: 14px; font-size: 32px; }
  .v2-home-actions { display: grid; }
  .v2-home-actions .v2-button { width: 100%; }
  .v2-home-visual { height: 230px; }
  .v2-home-card { width: 148px; padding: 12px; }
  .v2-home-card.card-one { left: 0; }
  .v2-home-card.card-two { right: -4px; }
  .v2-home-card.card-three { left: 6%; }
  .v2-story-card, .v2-notice-card { padding: 23px 21px; }
  .v2-page-head h1, .v2-test-head h1 { font-size: 23px; }
  .v2-stats > div small { display: none; }
  .v2-topic-progress span:last-child { display: none; }
  .v2-practice-head { align-items: stretch; flex-direction: column; }
  .v2-practice-head .v2-button { width: 100%; min-height: 44px; padding: 8px 10px; }
  .v2-practice-title { align-items: flex-start; }
  .v2-question-nav { gap: 5px; }
  .v2-question-nav a { min-width: 58px; padding: 6px 4px; }
  .v2-question-card, .v2-reference-card { padding: 16px; border-radius: 14px; }
  .v2-chunk-card { padding: 16px; }
  .v2-chunk-recorder > span { display: block; margin: 7px 0 0; }
  .v2-practice-actions { align-items: stretch; flex-direction: column; }
  .v2-practice-actions > div { justify-content: flex-end; }
  .v2-test-head { align-items: flex-start; flex-direction: column; }
  .v2-progress-board { padding: 12px; }
  .v2-progress-parts { width: 100%; }
  .v2-progress-parts a { min-width: 98px; flex: 1 0 98px; }
  .v2-progress-cell { min-height: 56px; padding: 8px; }
  .v2-progress-cell strong { font-size: 12px; }
  .v2-account-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .v2-account-tabs button { padding: 8px 5px; }
  .v2-theme-picker { right: 10px; bottom: 10px; width: 198px; }
}
