.thu-vien-v1 {

  color: var(--v1-muc);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  min-width: 0;
}
.thu-vien-v1 h1, .thu-vien-v1 h2 {
  font: 800 clamp(1.65rem, 4vw, 2.65rem)/1.03 "Baloo 2", system-ui, sans-serif;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0;
}
.thu-vien-v1 p { margin: .4rem 0; overflow-wrap: anywhere; }
.thu-vien-v1 button, .thu-vien-v1 a { touch-action: manipulation; }
.thu-vien-v1 [hidden] { display: none !important; }
.thu-vien-v1 :is(button, a, summary, select):focus-visible { outline: 3px solid var(--v1-main); outline-offset: 3px; }
.v1-sky {
  background: var(--v1-troi);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  min-height: 285px;
  padding: clamp(12px, 3vw, 32px);
  border-radius: 26px 26px 46px 46px;
}
.v1-sky canvas, .v1-hills { position: absolute; inset: auto 0 0; width: 100%; height: 68%; z-index: -1; pointer-events: none; }
.v1-sky canvas { inset: 0; height: 100%; }
.v1-hills path:first-child { fill: var(--v1-doiXa); }
.v1-hills path:last-child { fill: var(--v1-doiGan); }
.v1-cloud { position: absolute; z-index: -1; top: 30%; left: 10%; width: 96px; height: 30px; border-radius: 35px; background: #fff; animation: v1-float 26s ease-in-out infinite alternate; }
.v1-cloud::before { content: ""; position: absolute; left: 22px; bottom: 0; width: 50px; height: 48px; border-radius: 50%; background: inherit; }
.v1-cloud-second { top: 42%; left: 77%; animation-delay: -13s; scale: .75; }
.v1-tinh .v1-sky { background: linear-gradient(var(--v1-troi), var(--v1-doiXa)); }
.v1-tinh .v1-cloud, .v1-tinh .v1-greeting .v1-foxy { animation: none; }
.v1-tab-an .v1-cloud, .v1-tab-an .v1-greeting .v1-foxy { animation-play-state: paused; }
@keyframes v1-float { to { transform: translateX(54px); } }
.v1-profile, .v1-stars, .v1-greeting, .v1-title, .v1-book-intro { display: flex; align-items: center; gap: 12px; min-width: 0; }
.v1-profile strong { overflow-wrap: anywhere; min-width: 0; }
.v1-profile > img, .v1-stars { flex: none; }
.v1-stars { margin-left: auto; padding: 0 12px; background: var(--v1-giay); border-radius: 28px; min-height: 56px; font-variant-numeric: tabular-nums; color: var(--v1-main); text-decoration: none; }
.v1-bell { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--v1-giay); }
.v1-bell:hover { background: var(--v1-cam); }
.v1-greeting { justify-content: center; margin-top: 18px; }
.v1-greeting > div { background: white; border-radius: 24px 24px 24px 6px; padding: 16px; }
.v1-greeting .v1-foxy { width: clamp(84px, 23vw, 152px); height: auto; flex: none; animation: v1-wave .7s ease-out 2 alternate; transform-origin: 55% 100%; }
@keyframes v1-wave { to { transform: rotate(-9deg); } }
.v1-motion { display: block; margin: 0 0 0 auto; color: var(--v1-muc); background: var(--v1-giay); border: 0; border-radius: 18px; min-height: 56px; padding: 0 12px; }
.v1-motion[aria-pressed="true"] { background: var(--v1-tim); }
.v1-level-up { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; background: var(--v1-giay); border-radius: 25px; padding: clamp(12px, 3vw, 26px); margin: 16px 0; }
.v1-level-badge { display: grid; place-items: center; border-radius: 50%; width: 84px; aspect-ratio: 1; background: var(--v1-cam); font: 800 3rem/1 "Baloo 2", system-ui, sans-serif; }
.v1-level-up progress { width: 100%; max-width: 390px; height: 15px; accent-color: var(--v1-main); }
.v1-action, .v1-title > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 6px 15px;
  border-radius: 17px;
  border: 0;
  color: white;
  background: var(--v1-main);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.v1-action:hover, .v1-title > a:hover { color: white; filter: brightness(.86); }
.v1-action:disabled { opacity: .65; cursor: not-allowed; }
.v1-doors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(8px,2vw,16px); margin-bottom: 18px; }
.v1-doors a { display: grid; justify-items: center; align-content: center; gap: 5px; padding: 14px 4px; text-align: center; min-height: 100px; background: var(--v1-troi); color: var(--v1-muc); border-radius: 25px; text-decoration: none; box-shadow: 0 5px 0 rgb(24 50 74 / 10%); transition: transform .18s; }
.v1-doors a:nth-child(2) { background: var(--v1-tim); }
.v1-doors a:nth-child(3) { background: var(--v1-cam); }
.v1-doors a:hover { transform: translateY(-3px); }
.v1-doors a:active { transform: translateY(3px) scale(.98); }
.v1-doors img { width: min(85%,78px); height: auto; }
.v1-home-links { display: flex; flex-wrap: wrap; gap: 8px; }
.v1-home-links .nut { min-height: 56px; }
.v1-title { background: var(--v1-troi); padding: clamp(12px,3vw,22px); border-radius: 24px; margin-bottom: 14px; }
.v1-title > a { min-width: 56px; font-size: 1.4rem; }
.v1-levels { position: relative; display: flex; align-items: end; gap: 8px; overflow-x: auto; padding: 38px 5px 10px; }
.v1-levels button, .v1-filters button { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 56px; padding: 6px 12px; gap: 4px; border: 0; border-radius: 28px; background: var(--v1-troi); color: var(--v1-muc); font: inherit; font-weight: 700; }
.v1-levels .v1-foxy { position: absolute; bottom: calc(100% - 3px); left: calc(50% - 18px); }
.v1-levels .v1-my-level { box-shadow: inset 0 0 0 3px var(--v1-main); }
.v1-levels button[aria-pressed="true"], .v1-filters button[aria-pressed="true"] { color: white; background: var(--v1-main); }
.v1-levels button:hover, .v1-filters button:hover { filter: brightness(.86); }
.v1-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v1-filters button { background: var(--v1-giay); }
.v1-extra { padding: 0 12px 8px; border-radius: 16px; background: var(--v1-troi); margin: 14px 0; }
.v1-extra summary { cursor: pointer; min-height: 56px; padding: 16px 3px; font-weight: 700; }
.v1-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.v1-selects label { display: grid; gap: 4px; min-width: 0; max-width: 100%; }
.v1-selects select { min-height: 56px; max-width: 100%; color: var(--v1-muc); background: white; }
.v1-book-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px,2vw,20px); }
.v1-book-card { display: block; min-width: 0; background: white; color: var(--v1-muc); padding: clamp(7px,1.5vw,14px); border-radius: 18px; text-decoration: none; box-shadow: 0 5px 18px rgb(24 50 74 / 12%); content-visibility: auto; contain-intrinsic-block-size: auto 250px; }
.v1-cover { position: relative; display: grid; place-items: center; min-height: 114px; aspect-ratio: 4 / 3; border-radius: 13px; background: var(--v1-giay); transition: transform .18s; }
.v1-cover .bia-sach { width: 100%; height: 100%; margin: 0; overflow: hidden; border-radius: inherit; }
.v1-cover .bia-sach img { width: 100%; height: 100%; object-fit: cover; }
a.v1-book-card:hover .v1-cover { transform: rotate(-2deg); }
a.v1-book-card:active .v1-cover { transform: rotate(1deg) scale(.98); }
.v1-book-card h2 { margin: 8px 0 3px; font-size: clamp(1.15rem,2vw,1.5rem); }
.v1-ribbon { position: absolute; top: 7px; left: 0; background: var(--v1-cam); color: var(--v1-muc); padding: 4px 9px; border-radius: 0 9px 9px 0; font-size: .76rem; font-weight: 700; }
.v1-card-status, .v1-dots { display: flex; align-items: center; gap: 5px; }
.v1-card-status { margin-top: 8px; flex-wrap: wrap; font-size: .8rem; }
.v1-dots i { width: 11px; height: 11px; border-radius: 50%; background: #657d8a; }
.v1-dots .xong { background: #14773a; box-shadow: 0 0 0 2px #d7f8dc; }
.v1-empty { background: var(--v1-giay); padding: 20px; border-radius: 22px; text-align: center; }
.v1-book-intro { gap: clamp(12px,4vw,36px); padding: clamp(12px,3vw,24px); border-radius: 25px; background: var(--v1-giay); }
.v1-book-intro .v1-cover { width: min(38%, 300px); flex: none; }
.v1-book-steps, .v1-practice { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.thu-vien-v1 .v1-step {
  display: grid; justify-items: center; align-content: center; gap: 6px; position: relative; inset: auto;
  transform: none; width: auto; height: auto; min-height: 116px; min-width: 0; padding: 12px 4px;
  color: var(--v1-muc); background: var(--v1-troi); border: 0; border-radius: 21px;
  font: 800 clamp(1rem,2.3vw,1.5rem)/1.05 "Baloo 2", system-ui,sans-serif; box-shadow: 0 4px 0 rgb(24 50 74 / 12%); transition: transform .18s;
}
.thu-vien-v1 .v1-step:nth-child(2) { background: var(--v1-tim); }
.thu-vien-v1 .v1-step:nth-child(3) { background: var(--v1-cam); }
.thu-vien-v1 .v1-step.xong { background: var(--v1-doiXa); }
.thu-vien-v1 .v1-step:hover:enabled { transform: translateY(-3px); }
.thu-vien-v1 .v1-step:disabled { opacity: .76; }
.v1-step-number { font-size: 1rem; }
.v1-step small { font: 700 .78rem/1.1 "Be Vietnam Pro", system-ui, sans-serif; }
.v1-question { display: block; font-size: 34px; line-height: 36px; }
.v1-practice { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); margin: 0 0 8px; }
.v1-practice .v1-step { background: white; }
body.dang-doc .noi-dung > .v1-reader-stage { display: block !important; height: auto; }
.v1-reader { min-height: calc(100svh - 48px); width: 100%; background: var(--v1-giay); padding: 9px max(8px,env(safe-area-inset-right)) 16px max(8px,env(safe-area-inset-left)); border-radius: 20px; }
.v1-reader-head { display: flex; align-items: center; gap: 12px; justify-content: space-between; max-width: 1050px; margin: auto; }
.v1-reader-head .nut-loa, .v1-reader .lat-trang button { min-height: 56px; min-width: 56px; }
.v1-paper { touch-action: pan-y; margin: 6px auto; max-width: 1050px; }
.v1-paper .bia-trang { width: 100%; height: clamp(185px, 48svh, 550px); margin: 0 auto; }
.v1-paper .tranh-trang { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.v1-paper .tranh-trang:not([src]), .v1-paper .bia-trang:has(.tranh-trang[hidden]) { display: none; }
.v1-paper .chu-wrap { position: relative; text-align: center; padding: 12px 8px; }
.v1-paper .chu { font: 600 clamp(24px,4vw,34px)/1.65 Lexend, system-ui, sans-serif; overflow-wrap: anywhere; white-space: break-spaces; }
.v1-word { display: inline; max-width: 100%; border: 0; border-radius: 7px; background: none; color: inherit; padding: 0 .07em; font: inherit; overflow-wrap: anywhere; }
.v1-word:hover, .v1-word.sang { color: var(--v1-muc); background: var(--v1-cam); }
.v1-tooltip { position: absolute; z-index: 2; inset: auto auto calc(100% - 8px) clamp(25%, var(--tu-x, 50%), 75%); transform: translateX(-50%); width: max-content; max-width: min(48%, 30rem); padding: 12px 16px; background: var(--v1-main); color: white; border-radius: 14px; overflow-wrap: anywhere; box-shadow: 0 5px 15px rgb(24 50 74 / 22%); }
.v1-reader .lat-trang { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 8px auto; max-width: 1050px; }
.v1-reader .lat-trang [data-di] { display: grid; place-items: center; background: white; border: 0; border-radius: 50%; }
.v1-reader .lat-trang [data-di]:hover:enabled { background: var(--v1-troi); }
.v1-reader .lat-trang [data-di]:disabled { opacity: .38; }
.v1-reader [data-di="1"] { order: 10; }
.v1-reader .tranh-trang.vao { animation: v1-turn .28s ease-out; }
@keyframes v1-turn { from { transform: translateX(var(--v1-slide, 16px)); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
.v1-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.v1-controls .v1-action[aria-pressed="true"] { background: var(--v1-muc); }
.v1-reader .cham-trang { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.v1-reader .cham-trang i { width: 8px; height: 8px; border-radius: 50%; background: #657d8a; }
.v1-reader .cham-trang .dang { background: var(--v1-main); outline: 2px solid var(--v1-main); }
.v1-finish { background: var(--v1-giay); padding: 32px 10px; text-align: center; border-radius: 28px; }
.v1-celebrate { position: relative; margin: 0 auto; width: min(100%,330px); padding: 24px 0 46px; }
.v1-celebrate > span { position: absolute; top: 41%; left: 47%; transform: rotate(calc(var(--i) * 36deg)) translateY(clamp(85px,26vw,110px)); animation: v1-burst .65s ease-out backwards; }
.v1-celebrate .v1-foxy { animation: v1-jump .45s ease-out 2 alternate; }
@keyframes v1-burst { from { transform: rotate(calc(var(--i) * 36deg)); opacity: 0; } }
@keyframes v1-jump { to { transform: translateY(-14px); } }
@media (min-width: 650px) { .v1-book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1050px) { .v1-book-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (max-width: 550px) {
  .v1-profile { gap: 6px; }
  .v1-stars { gap: 4px; padding: 0 8px; }
  .v1-level-up { grid-template-columns: auto minmax(0,1fr); }
  .v1-level-up .v1-action { grid-column: 1/-1; }
  .v1-level-badge { width: 64px; font-size: 2.4rem; }
  .v1-greeting { gap: 5px; }
  .v1-greeting > div { padding: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .thu-vien-v1 *, .thu-vien-v1 *::before { animation: none !important; transition: none !important; }
}

/* Giao diện học sinh V2. */
body.co-thanh-duoi, body.co-thanh-duoi .canh-nen { background: var(--v1-nen); color: var(--v1-muc); }
body.co-thanh-duoi .canh-nen .may { display: none; }
body.co-thanh-duoi .thanh-tren > .logo { display: none; }
body.co-thanh-duoi #menu-tren { width: 100%; min-width: 0; justify-content: flex-end; }
body.co-thanh-duoi #menu-tren .menu-tai-khoan { margin: 0 auto 0 0; min-width: 0; max-width: min(60%, 460px); }
body.co-thanh-duoi #menu-tren summary { display: flex; gap: 8px; align-items: center; min-height: 56px; width: auto; padding: 0 12px; border-radius: 28px; color: var(--v1-muc); }
body.co-thanh-duoi #menu-tren .avatar-nho { flex: none; }
body.co-thanh-duoi #menu-tren .tai-khoan-popup { left: 0; right: auto; }
body.co-thanh-duoi #menu-tren summary strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.co-thanh-duoi #menu-tren > .tai-khoan { display: flex; flex: none; }
body.co-thanh-duoi #menu-tren .tk-do { background: var(--v1-cam); color: var(--v1-saoChu); box-shadow: none; }
body.co-thanh-duoi #menu-tren .tk-do :is(small, b) { color: inherit; }
body.co-thanh-duoi #thanh-duoi a { color: var(--v1-phu); min-height: 56px; justify-content: center; }
body.co-thanh-duoi #thanh-duoi a[aria-current] { color: var(--v1-main); background: var(--v1-troi); }
body.co-thanh-duoi #thanh-duoi img { width: 26px; height: 26px; }
@media (max-width: 1099px) {
  body.co-thanh-duoi #thanh-duoi:not([hidden]) {
    position: fixed; inset: auto 0 0; transform: none; width: 100%; max-width: none;
    display: flex; gap: 2px; padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  body.co-thanh-duoi #thanh-duoi a { flex: 1; min-width: 0; text-align: center; line-height: 1.15; }
  body.co-thanh-duoi #thanh-duoi b { font-size: clamp(10px, 2.8vw, 13px); }
  html:has(body.co-thanh-duoi) { scroll-padding-bottom: 88px; }
}
.v1-home { margin: 0 auto; max-width: 1120px; }
.v1-home .v1-sky { min-height: 0; margin-bottom: 10px; padding: 4px 12px; background: transparent; }
.v1-home.v1-tinh .v1-sky { background: linear-gradient(var(--v1-nen), var(--v1-troi)); }
.v1-home .v1-greeting { justify-content: space-between; margin: 0; }
.v1-home .v1-greeting h1 { text-wrap: pretty; }
.v1-home .v1-greeting .v1-foxy { width: clamp(66px, 12vw, 100px); }
.v1-home .v1-motion, .v1-login .v1-motion { font: 600 .72rem "Be Vietnam Pro", sans-serif; min-height: 44px; background: white; }
.v1-home .v1-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 18px; }
.v1-home .v1-doors a { min-height: clamp(160px, 40vw, 236px); border-radius: 24px; font: 800 clamp(1.18rem, 3vw, 1.7rem)/1.08 "Baloo 2", sans-serif; }
.v1-home .v1-doors a:nth-child(2) { background: var(--v1-giay); }
.v1-home .v1-doors img { width: clamp(94px, 23vw, 172px); height: clamp(98px, 24vw, 158px); }
.v1-foxy, .v2-felt { object-fit: contain; }
.v2-resume { display: grid; grid-template-columns: clamp(78px, 21vw, 140px) minmax(0,1fr) 56px; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 20px; box-shadow: 0 6px 20px #203e3812; color: var(--v1-muc); text-decoration: none; }
.v2-resume:hover { background: var(--v1-troi); }
.v2-resume .bia-sach { margin: 0; aspect-ratio: 4/3; height: auto; }
.v2-resume .bia-sach img { width: 100%; height: 100%; object-fit: cover; }
.v2-resume small { display: block; color: var(--v1-phu); }
.v2-resume strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.v2-play { display: grid; place-items: center; border-radius: 50%; width: 56px; height: 56px; background: var(--v1-main); }
.v2-play img { filter: brightness(0) invert(1); }
.v2-picks { margin: 22px 0; }
.v2-picks h2 { margin-bottom: 10px; }
.v2-picks h3 { margin: 8px 2px 2px; overflow-wrap: anywhere; }
.v1-home .v1-level-up { grid-template-columns: auto minmax(0, 1fr); background: var(--v1-troi); }
.v1-home .v1-level-badge { color: var(--v1-saoChu); }
.v1-cover { border-radius: 18px; min-height: 0; }
.v1-cover .bia-sach { min-height: 0; }
.v1-levels { align-items: center; }
.v1-levels button { width: 68px; height: 68px; flex-wrap: wrap; align-content: center; border-radius: 50%; }
.v1-levels button:first-child { width: 80px; }
.v1-levels button small { flex: 0 0 100%; font-size: .68rem; line-height: 1; order: 2; }
.v1-levels button > img:not(.v1-foxy) { width: 14px; height: 14px; }
.v1-book-intro .v1-cover { width: min(46%, 380px); }
.thu-vien-v1 .v1-step:nth-child(2) { background: var(--v1-troi); }
.thu-vien-v1 .v1-step:nth-child(3) { background: var(--v1-giay); }
.v1-reader .v1-paper { max-width: min(100%, 76svh); }
body.dang-doc .v1-reader .v1-paper .bia-trang { position: relative; width: 100%; max-width: none; height: auto; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; }
body.dang-doc .v1-reader .v1-paper .tranh-trang { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.v2-credits { padding-inline-start: 24px; font-size: .8rem; color: var(--v1-phu); overflow-wrap: anywhere; }
.v2-credits a { color: var(--v1-main); }
.v1-login { isolation: isolate; color: var(--v1-muc); background: var(--v1-nen); }
.v1-login::before { content: none; }
.v2-login-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--v1-troi); }
.v2-login-sky canvas { width: 100%; height: 100%; }
.v1-login.v1-tinh .v2-login-sky { background: linear-gradient(var(--v1-troi), var(--v1-nen)); }
.v1-login .vao-thanh, .v1-login .vao-ruy-bang { background: var(--v1-main); color: #fff; }
.v1-login .vao-canh { background: transparent; box-shadow: none; display: flex; flex-direction: column; align-items: center; }
.v1-login .vao-canh > .v1-foxy { width: clamp(100px, 24vw, 210px); height: auto; }
.v1-login .v1-motion { position: absolute; top: 74px; right: 12px; z-index: 1; }
.v1-login .vao-the { box-shadow: 0 8px 24px #203e381a; color: var(--v1-muc); }
.v1-login .vao-buoc1 { margin-top: 12px; }
.v1-login .vao-buoc1 > .vao-the { padding: 0; box-shadow: none; }
.v1-login .vao-the label, .v1-login .vao-tieu-de { color: var(--v1-muc); text-shadow: none; }
.v1-login .vao-hang input { border-color: var(--v1-main); }
.v1-login :is(.vao-mui-ten, .vao-vao-nut:not(:disabled), .vao-nut-tron) { background: var(--v1-main); color: white; }
.v1-login .vao-thay-co a { color: var(--v1-main); }
.v1-login .vao-ruy-bang { position: static; transform: none; margin: 0; max-width: 100%; white-space: normal; text-align: center; box-shadow: none; }
.test-heading.v2-practice { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--v1-troi); color: var(--v1-muc); text-align: start; }
.test-heading.v2-practice h1 { color: inherit; }
.v2-practice img { max-width: min(26%, 100px); height: auto; }
@media (min-width: 900px) {
  .home-luoi:has(.v1-home-links) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
@media (min-width: 650px) and (max-width: 1049px) {
  .v2-picks .v1-book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Thư viện theo chặng và vùng đọc sách v2. */
.v2-chang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-chang button {
  display: grid; align-content: center; gap: 4px; min-height: 72px; padding: 10px 12px;
  border: 0; border-radius: 18px; text-align: start; font: inherit; font-size: 18px;
  background: var(--v1-troi); color: var(--v1-muc);
}
.v2-chang button[aria-pressed="true"] { background: var(--v1-main); color: white; }
.v2-chang small { font-size: 1rem; }
.v1-levels, .v1-filters { gap: 12px; }
.v1-levels button { width: auto; min-width: 80px; border-radius: 18px; font-size: 18px; }
.v1-selects select, .v1-extra summary, .v1-reader .v1-action { min-height: 56px; font-size: 18px; }
.v1-reader .v1-paper .chu { font-size: 20px; line-height: 1.5; }
.v1-reader.v2-doc-dau .v1-paper .chu { font-size: 28px; }
.v1-reader.v2-doc-to .v1-paper .chu { font-size: clamp(32px, 5vw, 44px); }
.v1-reader .v1-word { min-height: 56px; }
.v1-word:not(.sang):hover { background: transparent; }
.v1-reader button:focus-visible, .v2-chang button:focus-visible { outline: 3px solid #214675; outline-offset: 2px; }
.v2-credit-url { display: block; overflow-wrap: anywhere; }
.level-doi-chieu { display: block; }
@media (min-width: 720px) {
  .v2-chang { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (orientation: landscape) {
  .v1-reader .v1-paper { max-width: min(100%, 1050px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px; }
  .v1-reader .v1-paper > * { min-width: 0; }
}
