/* 20/11/2026 – Định hướng: giấy kem (nạp SAU practice-chung.css). Thanh trên/đầu trang/thẻ số lấy từ practice-chung.css. */
body.v3-orientation.pc { --pc-nhan: #86ADCB; }
html body.pc.pc:not(#_a):not(#_b) .or-hero, .pc .deco { display: none; }

/* h1 + nhãn */
html body.pc.pc:not(#_a):not(#_b) .sp-label { font: 700 12px/1.2 "Space Mono", monospace !important; letter-spacing: .08em; text-transform: uppercase; background: var(--pc-vang) !important; color: #121212 !important; border: 2px solid #121212 !important; border-radius: 4px !important; box-shadow: 2px 2px 0 rgba(24,38,65,.28) !important; padding: 6px 10px !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .sp-hero h1 { font-family: "Unbounded", sans-serif !important; font-weight: 800 !important; letter-spacing: -.02em !important; font-size: clamp(30px, 3.6vw, 48px) !important; line-height: 1.12 !important; }
html body.pc.pc:not(#_a):not(#_b) .sp-mascot img { width: min(86%, 300px); max-height: 310px; }

/* dải chữ chạy: chàm, viền mực */
html body.pc.pc:not(#_a):not(#_b) .or-marquee { background: #4A5F9E; color: #fff; border-block: 2px solid #121212; padding: 10px 0; margin-top: 56px; }
html body.pc.pc:not(#_a):not(#_b) .or-marquee span { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .or-marquee .track { animation: none; } }
html.tc-nhe .or-marquee .track { animation: none; }

/* lời mở đầu */
html body.pc.pc:not(#_a):not(#_b) .intro { padding: 56px 0 32px; }
html body.pc.pc:not(#_a):not(#_b) .intro p { font-weight: 600; color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .intro p::before { content: "✦"; color: #E66C2C; }
html body.pc.pc:not(#_a):not(#_b) .intro u { text-decoration-color: #E66C2C; }

/* bảng ước tính */
html body.pc.pc:not(#_a):not(#_b) .time { padding: 36px; margin-bottom: 64px; background: #FBF6EC; border: 2px solid #121212; border-radius: 8px; box-shadow: 4px 4px 0 rgba(24,38,65,.28); }
html body.pc.pc:not(#_a):not(#_b) .time h2 { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.02em; color: #17222D; text-transform: none; line-height: 1.25; }
html body.pc.pc:not(#_a):not(#_b) .time h2 em { font-family: "Unbounded", sans-serif; font-style: normal; color: #17222D; background: #EFC278; border: 2px solid #121212; border-radius: 6px; padding: 0 .2em; box-shadow: 2px 2px 0 rgba(24,38,65,.28); }
html body.pc.pc:not(#_a):not(#_b) .time-top > div > p { font-style: normal; font-size: 14px; color: #4A4F5A; }
html body.pc.pc:not(#_a):not(#_b) .thumb { background: #FFFDF8; border: 2px solid #121212; border-radius: 8px; box-shadow: 3px 3px 0 rgba(24,38,65,.28); }
html body.pc.pc:not(#_a):not(#_b) .thumb small { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .08em; padding: 5px 9px; border-radius: 4px; background: #4A5F9E; border: 2px solid #121212; color: #fff; }
html body.pc.pc:not(#_a):not(#_b) .thumb p { font-size: 14px; color: #17222D; align-items: flex-start; }
html body.pc.pc:not(#_a):not(#_b) .thumb p b { color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .trow.head span { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .06em; color: #4A4F5A; }
html body.pc.pc:not(#_a):not(#_b) .trow > i { color: #17222D; font-weight: 800; }
html body.pc.pc:not(#_a):not(#_b) .cell { background: #FFFDF8; border: 1.5px solid #121212; border-radius: 6px; box-shadow: 2px 2px 0 rgba(24,38,65,.2); font-size: 14px; color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .cell.lvl { background: #EFC278 !important; border-color: #121212; color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .cell.note { font-style: normal; font-weight: 600; font-size: 13px; color: #4A4F5A; }
html body.pc.pc:not(#_a):not(#_b) .time .src { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .08em; color: #4A4F5A; }

/* 4 thẻ giai đoạn */
html body.pc.pc:not(#_a):not(#_b) .stages { margin-bottom: 72px; }
html body.pc.pc:not(#_a):not(#_b) .stage { background: #FFFDF8 !important; border: 2px solid #121212; border-radius: 8px; box-shadow: 4px 4px 0 rgba(24,38,65,.28); padding: 20px; transition: transform .12s, box-shadow .12s; }
html body.pc.pc:not(#_a):not(#_b) .stage:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(24,38,65,.3); }
html body.pc.pc:not(#_a):not(#_b) .stage small { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #4A4F5A; }
html body.pc.pc:not(#_a):not(#_b) .stage h3 { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: #17222D !important; }
html body.pc.pc:not(#_a):not(#_b) .stage-top span { background: #EFC278; border: 2px solid #121212; border-radius: 8px; width: 44px; height: 44px; }
html body.pc.pc:not(#_a):not(#_b) .stage li { font-size: 14px; color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .stage li::before { border-radius: 2px; background: #4A5F9E !important; width: 9px; height: 9px; opacity: 1; }
html body.pc.pc:not(#_a):not(#_b) .stage a { min-height: 44px; border-radius: 8px !important; background: #EFC278 !important; border: 2px solid #121212; box-shadow: 3px 3px 0 rgba(24,38,65,.28); color: #17222D !important; font-weight: 800; font-size: 14px; }
html body.pc.pc:not(#_a):not(#_b) .stage a:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(24,38,65,.3); }

/* Cộng đồng */
html body.pc.pc:not(#_a):not(#_b) .club { background: #FBF6EC; border: 2px solid #121212; border-radius: 8px; box-shadow: 4px 4px 0 rgba(24,38,65,.28); padding: 48px; margin-bottom: 72px; }
html body.pc.pc:not(#_a):not(#_b) .club .tag { font: 700 12px/1.2 "Space Mono", monospace; letter-spacing: .08em; background: #EFC278; color: #121212; border: 2px solid #121212; border-radius: 4px; box-shadow: 2px 2px 0 rgba(24,38,65,.28); transform: none; padding: 6px 10px; }
html body.pc.pc:not(#_a):not(#_b) .club h2 { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; color: #17222D; }
html body.pc.pc:not(#_a):not(#_b) .club .lead { color: #17222D; font-weight: 800; }
html body.pc.pc:not(#_a):not(#_b) .club .desc { color: #4A4F5A; font-size: 15px; }
html body.pc.pc:not(#_a):not(#_b) .club .join { min-height: 44px; border-radius: 8px !important; background: #EFC278 !important; color: #17222D !important; border: 2px solid #121212; box-shadow: 3px 3px 0 rgba(24,38,65,.28); font-weight: 800; transition: transform .12s, box-shadow .12s; }
html body.pc.pc:not(#_a):not(#_b) .club .join:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(24,38,65,.3); }
html body.pc.pc:not(#_a):not(#_b) .club-art .card { background: #4A5F9E radial-gradient(circle, rgba(255,255,255,.14) 1.4px, transparent 2px) 0 0 / 18px 18px; border: 2px solid #121212; border-radius: 8px; box-shadow: 4px 4px 0 rgba(24,38,65,.28); }
html body.pc.pc:not(#_a):not(#_b) .club-art .card small { font-family: "Space Mono", monospace; letter-spacing: .08em; opacity: 1; }
html body.pc.pc:not(#_a):not(#_b) .club-art .card b { font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 22px; }
html body.pc.pc:not(#_a):not(#_b) .club-art .card a { background: #EFC278 !important; color: #17222D !important; border: 2px solid #121212; border-radius: 8px !important; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
html body.pc.pc:not(#_a):not(#_b) .club-art .note { background: #FFFDF8; border: 2px solid #121212; border-radius: 8px; box-shadow: 3px 3px 0 rgba(24,38,65,.28); color: #17222D; }

@media (max-width: 900px) {
  html body.pc.pc:not(#_a):not(#_b) .time { padding: 24px 16px; box-shadow: 3px 3px 0 rgba(24,38,65,.28); }
  html body.pc.pc:not(#_a):not(#_b) .trow { border: 2px solid #121212; border-radius: 8px; padding: 12px; background: #F3ECDC; }
  html body.pc.pc:not(#_a):not(#_b) .club { padding: 36px 20px 28px; }
  html body.pc.pc:not(#_a):not(#_b) .or-marquee { margin-top: 40px; }
  html body.pc.pc:not(#_a):not(#_b) .intro { padding-top: 40px; }
}
html body.pc.pc:not(#_a):not(#_b) .club-art .card :is(small, b) { color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: none !important; }
html body.pc.pc:not(#_a):not(#_b) .or-marquee span { color: #fff; }
html body.pc.pc:not(#_a):not(#_b) .or-marquee { background: #4A5F9E !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .sp-hero h1.sp-long { font-family: "Unbounded", sans-serif !important; font-weight: 800 !important; }
@media (max-width: 900px) { html body.pc.pc:not(#_a):not(#_b) .trow .cell { border: 1.5px solid #121212 !important; border-radius: 6px !important; background: #FFFDF8; padding: 8px 10px; } html body.pc.pc:not(#_a):not(#_b) .trow .cell.lvl { background: #EFC278 !important; } html body.pc.pc:not(#_a):not(#_b) .trow .cell.note { background: transparent; border-style: dashed !important; } }

/* ===== 20/11 đợt 3 ===== */
:root { --og-bong: rgba(24,38,65,.28); }
/* (1) nút vàng: ô mũi tên riêng. Chữ "→" nằm trong khoá dịch i18n nên được che bằng span.ct (không sửa i18n) */
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.stage a, .club .join, .club-art .card a) { display: flex !important; align-items: stretch; justify-content: flex-start; gap: 0 !important; padding: 0 0 0 14px !important; min-height: 44px; overflow: hidden; position: relative; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.stage a, .club .join, .club-art .card a) > .ct { flex: 1; align-self: center; text-align: center; position: relative; padding: 10px 0; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.stage a, .club-art .card a) > .ct { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.06em), transparent calc(100% - 1.06em)); mask-image: linear-gradient(90deg, #000 calc(100% - 1.06em), transparent calc(100% - 1.06em)); padding-right: 0; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.stage a, .club .join, .club-art .card a)::after { content: "→"; display: grid; place-items: center; flex: 0 0 44px; margin: 0 0 0 4px; border-left: 2px solid #121212; font-weight: 800; background: rgba(255,253,248,.45); }
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .club .join { display: inline-flex !important; padding: 0 0 0 20px !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .club .join::after { margin-left: 16px; }
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .club .join { align-items: center; }
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e) .club .join::after { align-self: stretch; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .club-art .card a { align-self: flex-start; padding-left: 14px !important; }

/* (2) nhãn */
html body.pc.pc:not(#_a):not(#_b):not(#_c) .club .tag { top: 14px; left: 48px; border-radius: 4px !important; font-family: "Space Mono", monospace !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .thumb small { border-radius: 4px !important; font-family: "Space Mono", monospace !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .stage small { display: inline-block; padding: 3px 7px; margin-bottom: 4px; background: #F7F0DF; border: 2px solid #121212; border-radius: 4px; box-shadow: 2px 2px 0 var(--og-bong); color: #17222D; }

/* (3) trắng -> giấy kem */
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.thumb, .cell, .club-art .note) { background-color: #FFFDF8 !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .time { background-color: #FBF6EC !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .cell.note { background-color: #FBF6EC !important; }

/* (4) thẻ câu chuyện chàm, ghi chú bóng lệch cứng */
html body.pc.pc:not(#_a):not(#_b):not(#_c) .club-art .card { background-color: #4A5F9E !important; background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.4px, transparent 2px) !important; background-size: 18px 18px !important; box-shadow: 4px 4px 0 var(--og-bong) !important; border: 2px solid #121212 !important; border-radius: 8px !important; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .club-art .note { background-color: #FFFDF8 !important; color: #4A5F9E !important; border: 2px solid #121212; border-radius: 8px !important; box-shadow: 3px 3px 0 var(--og-bong) !important; }

/* (5) lời mở đầu: rộng hết khối */
html body.pc.pc:not(#_a):not(#_b):not(#_c) .intro { grid-template-columns: 1fr; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .intro p { max-width: none; padding: 22px 26px 22px 56px; background: #FBF6EC; border: 2px solid #121212; border-radius: 8px; box-shadow: 4px 4px 0 var(--og-bong); font-size: 18px; }
html body.pc.pc:not(#_a):not(#_b):not(#_c) .intro p::before { left: 24px; top: 22px; }

/* (7) nút thanh trên */
html body.pc.pc:not(#_a):not(#_b):not(#_c) :is(.pc-top, header, .topbar, nav) :is(button, a):not(.logo):not([class*=logo]) { border-radius: 8px !important; }

@media (max-width: 900px) {
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .time { padding: 24px 20px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .trow { padding: 18px 16px; display: grid; gap: 12px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .trow .cell { padding: 12px 14px !important; line-height: 1.5; gap: 10px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .trow .cell::before, html body.pc.pc:not(#_a):not(#_b):not(#_c) .trow .cell[data-l]::before { margin-bottom: 4px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .club { padding-top: 56px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .club .tag { left: 20px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .intro p { padding: 18px 18px 18px 48px; font-size: 16px; }
  html body.pc.pc:not(#_a):not(#_b):not(#_c) .intro p::before { left: 18px; top: 18px; }
}
html body.pc.pc:not(#_a):not(#_b):not(#_c):not(#_d) .club a.join { display: inline-flex !important; width: auto; align-self: flex-start; }

/* ===== 20/11 sửa theo GPT tự trải nghiệm (oa6) ===== */
body.v3-orientation #uoc-tinh, body.v3-orientation #stages { scroll-margin-top: 84px; }
body.v3-orientation #uoc-tinh:focus, body.v3-orientation #stages:focus { outline: none; }
body.v3-orientation #uoc-tinh:focus-visible, body.v3-orientation #stages:focus-visible { outline: 3px solid #5E75B8; outline-offset: 4px; }
body.v3-orientation :is(.p-nav a, .p-nav button, .sp-btn, .stage a, .club .join, .club-art .card a):focus-visible { outline: 3px solid #5E75B8 !important; outline-offset: 3px !important; }
body.v3-orientation .p-nav [aria-label="Thông báo"], body.v3-orientation .p-nav [aria-label="Notifications"] { display: none !important; }
html[lang="en"] #timeRows .cell[data-l="Điểm hiện tại"]::before { content: "Current score" !important; }
html[lang="en"] #timeRows .cell[data-l="Mục tiêu"]::before { content: "Target" !important; }
html[lang="en"] #timeRows .cell[data-l="Số buổi"]::before { content: "Sessions" !important; }
html[lang="en"] #timeRows .cell[data-l="Thời gian"]::before { content: "Duration" !important; }
@media (max-width: 760px) {
  body.v3-orientation .p-nav :is(.p-logo, .p-user, .p-pill) { min-height: 44px; min-width: 44px; }
  body.v3-orientation footer.ct .ct-chude a { display: inline-flex; align-items: center; min-height: 44px; }
  body.v3-orientation .club-art .note { display: none; }
}

/* ---- 20/11 vòng 2 (GPT): tiêu đề lộ trình, nhãn chặng, tạm dừng dải chữ, hàng đầu bảng trên điện thoại, nhãn email, Cộng đồng trên điện thoại ---- */
body.v3-orientation .stages-tde { grid-column: 1 / -1; margin: 0 0 4px; font: 800 clamp(22px, 3vw, 30px)/1.2 "Unbounded", sans-serif; color: #17222D; }
body.v3-orientation .stage-khoa { margin: -6px 0 14px; font: 700 12px/1.3 "Space Mono", monospace; color: #4A5F9E; letter-spacing: .02em; }
body.v3-orientation .or-marquee { position: relative; }
body.v3-orientation .or-pause { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 2px solid #121212; border-radius: 8px; background: #FBF6EC; color: #17222D; font: 800 12px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 2px 2px 0 rgba(0,0,0,.3); }
body.v3-orientation .or-pause:hover { background: #EFC278; }
body.v3-orientation .or-pause:focus-visible { outline: 3px solid #FBF6EC; outline-offset: 2px; }
body.v3-orientation .or-marquee.dung .track { animation-play-state: paused; }
body.v3-orientation .ct-nl-nhan { display: block; margin: 10px 0 2px; font-size: 13px; font-weight: 700; color: inherit; }
@media (max-width: 900px) {
  body.v3-orientation .trow.head { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) {
  html body.pc.v3-orientation .p-nav.p-nav a.p-pill.hide-sm { display: inline-flex !important; }
}

/* 21/11 vòng 3: biểu tượng nút dừng dải chữ bị luật `.or-marquee span` đổi thành trắng trên nền kem (1,08:1) */
html body.pc.pc:not(#_a):not(#_b) .or-marquee .or-pause span { color: #17222D; letter-spacing: 0; }
