@font-face { font-family: 'Lexend Zetta'; src: url('/yen-lam/fonts/lexend-zetta-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend Zetta'; src: url('/yen-lam/fonts/lexend-zetta-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/yen-lam/fonts/be-vietnam-pro-300.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/yen-lam/fonts/be-vietnam-pro-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/yen-lam/fonts/be-vietnam-pro-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/yen-lam/fonts/be-vietnam-pro-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/yen-lam/fonts/playfair-display-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/yen-lam/fonts/playfair-display-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/yen-lam/fonts/playfair-display-400i.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --night: #081428;
  --ink: #FFFFFF;
  --soft: rgba(255, 255, 255, 0.72);
  --hair: rgba(255, 255, 255, 0.28);
  --accent: #E2502A;
  --u: 1vmin;
  --pad: max(22px, calc(var(--u) * 6));
  --disp: 'Lexend Zetta', sans-serif;
  --body: 'Be Vietnam Pro', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
  box-shadow: none !important;
}

html, body {
  width: 100%; height: 100%; overflow: hidden;
  background: var(--night); color: var(--ink);
  font-family: var(--body); font-weight: 300; -webkit-font-smoothing: antialiased;
}

/* T-142 #6 (Claude): điện thoại: 100vh tính cả phần bị thanh địa chỉ/thanh công cụ che nên đáy (nút Chụp, Tạo bìa, Tiếp) bị cắt.
   Dùng chiều cao nhìn thấy thật: --app-h (JS đo innerHeight, cho máy chưa có dvh), rồi 100dvh; chừa vùng an toàn đáy (thanh home iPhone). */
.csmo-stage { position: relative; width: 100vw; height: 100vh; height: var(--app-h, 100dvh); overflow: hidden; background: var(--night); color: var(--ink); }
.csmo-stage .bg-fill {
  position: absolute; inset: -7%; background-size: cover; background-position: 50% 50%;
  filter: blur(26px) saturate(1.12); transform: scale(1.04); pointer-events: none; z-index: 0;
}
.csmo-stage img.bg {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; background: transparent; pointer-events: none; z-index: 1;
}
.csmo-stage video.bg-vid {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; background: transparent;
  pointer-events: none; transition: opacity 180ms ease; z-index: 2;
}
.csmo-stage .scrim {
  position: absolute; inset: auto 0 0 0; height: 52%;
  background: linear-gradient(to bottom, rgba(8, 20, 40, 0), rgba(8, 20, 40, 0.55) 45%, rgba(8, 20, 40, 0.9));
  pointer-events: none; z-index: 3;
}
.csmo-stage .dark {
  position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, #17406F 0%, #0C2244 45%, var(--night) 100%);
  pointer-events: none;
}

.csmo-stage header {
  position: absolute; top: 0; left: 0; right: 0; padding: var(--pad) var(--pad) 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: max(11px, calc(var(--u) * 1.45)); letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 500; color: var(--soft); z-index: 5;
}
.csmo-stage header span { color: var(--soft); }
.csmo-stage header .spon { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); }
.csmo-stage header img { height: max(18px, calc(var(--u) * 2.8)); opacity: 0.95; display: block; }

.csmo-stage .foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 3); z-index: 5;
}
.csmo-stage .txt { display: flex; flex-direction: column; gap: calc(var(--u) * 1.4); min-width: 0; width: 100%; }
.csmo-stage .eb {
  font-size: max(11px, calc(var(--u) * 1.45)); letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 500; color: var(--soft);
}
.csmo-stage .h {
  font-family: var(--disp); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.15; font-size: max(22px, calc(var(--u) * 5.2));
  color: var(--ink); text-wrap: balance;
}
.csmo-stage .l { font-size: max(15px, calc(var(--u) * 2.3)); font-weight: 300; color: var(--soft); line-height: 1.5; }
.csmo-stage .q { font-size: max(19px, calc(var(--u) * 3.1)); font-weight: 400; line-height: 1.4; max-width: 24ch; color: var(--ink); }
.csmo-stage .q.ans {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-height: 2.82em;
}

.csmo-stage .list { display: flex; flex-direction: column; width: 100%; }
.csmo-stage .list .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: calc(var(--u) * 1.8) 0; border: 0; border-top: 1px solid var(--hair);
  background: transparent; color: var(--ink); font-family: var(--body); font-weight: 300;
  font-size: max(15px, calc(var(--u) * 2.2)); text-align: left; width: 100%; cursor: pointer;
}
.csmo-stage .list .row:last-child { border-bottom: 1px solid var(--hair); }
.csmo-stage .list .row small { color: var(--soft); font-size: 0.82em; letter-spacing: 0.02em; flex: none; }
.csmo-stage .list .row .k {
  display: inline-block; font-family: var(--disp); font-size: 0.72em;
  letter-spacing: 0.14em; color: var(--soft); min-width: 5.5em;
}

.csmo-stage .btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: max(52px, calc(var(--u) * 7)); padding: 0 calc(var(--u) * 5);
  border-radius: 999px; background: var(--ink); color: var(--night);
  font-family: var(--body); font-weight: 500; font-size: max(15px, calc(var(--u) * 2.2));
  letter-spacing: 0.02em; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.csmo-stage .btn.btn-sub {
  height: max(46px, calc(var(--u) * 6.4)); padding: 0 calc(var(--u) * 3.6);
  background: transparent; color: var(--ink); border: 1px solid var(--soft); font-weight: 400;
  font-size: max(14px, calc(var(--u) * 2));
}
.csmo-stage .shutter {
  flex: none; width: max(64px, calc(var(--u) * 9)); height: max(64px, calc(var(--u) * 9));
  border-radius: 50%; border: 2px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.csmo-stage .shutter i { width: 78%; height: 78%; border-radius: 50%; background: var(--ink); display: block; }

.csmo-stage .mic {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: transparent; border: 0 solid transparent; padding: 0; cursor: pointer; font-family: var(--body);
  font-size: max(11px, calc(var(--u) * 1.45)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft);
}
.csmo-stage .mic.on { border-color: var(--accent); }
.csmo-stage .mic b {
  width: max(64px, calc(var(--u) * 8)); height: max(64px, calc(var(--u) * 8));
  border-radius: 50%; border: 1px solid var(--soft); display: grid; place-items: center; background: transparent;
}
.csmo-stage .mic b svg { width: 38%; height: 38%; }
.csmo-stage .mic.on b { position: relative; z-index: 1; background: var(--accent); border-color: var(--accent); }
.csmo-stage .mic.on b::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; background: rgba(226, 80, 42, 0.22); pointer-events: none; z-index: -1; }
.csmo-stage .mic.on b::after { content: ''; position: absolute; inset: -21px; border-radius: 50%; background: rgba(226, 80, 42, 0.1); pointer-events: none; z-index: -2; }
.csmo-stage .mic span { color: var(--soft); white-space: nowrap; }

.csmo-stage .qr {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: max(11px, calc(var(--u) * 1.45)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft);
}
.csmo-stage .qr svg, .csmo-stage .qr img {
  width: max(96px, calc(var(--u) * 14)); height: max(96px, calc(var(--u) * 14));
  background: var(--ink); padding: 6px; border-radius: 6px; display: block;
}
.csmo-stage .qr span { color: var(--soft); white-space: nowrap; }
.csmo-stage .acts { display: flex; gap: calc(var(--u) * 3); align-items: flex-end; flex: none; }
.csmo-stage .c2-right { display: flex; flex-direction: column; gap: calc(var(--u) * 2.2); width: 100%; }
.csmo-stage .c2-acts { flex-wrap: wrap; row-gap: 10px; column-gap: calc(var(--u) * 2.2); }
.csmo-stage .center {
  position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; z-index: 4;
}
.csmo-stage .g3-center { top: 9%; bottom: 30%; }
.csmo-stage .g3-frame {
  position: relative; height: 100%; aspect-ratio: 1713 / 2421;
  border: 1px solid rgba(255, 255, 255, 0.72); overflow: hidden;
}
.csmo-stage .cam-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scaleX(-1); z-index: 2;
}
.csmo-stage .g4-center { top: 9%; bottom: 24%; cursor: pointer; touch-action: pan-y; user-select: none; }
.csmo-stage .g4-cover { height: 100%; display: block; }
.csmo-stage .g4-page {
  height: 100%; aspect-ratio: 1698 / 2400; background: #FAF8F4; color: #081428;
  padding: 7% 8%; display: flex; flex-direction: column; gap: 4%;
}

@media (orientation: portrait) {
  .csmo-stage .L { display: none !important; }
  .csmo-stage .h.h-narrow {
    font-family: var(--body); font-weight: 400; letter-spacing: 0.04em;
    font-size: max(22px, calc(var(--u) * 5.4)); white-space: nowrap;
  }
}

@media (orientation: landscape) {
  .csmo-stage .P { display: none !important; }
  .csmo-stage .scrim { height: 60%; }
  .csmo-stage .g3-center { top: 10%; bottom: 10%; }
  .csmo-stage .g4-center { top: 9%; bottom: 22%; }
  .csmo-stage .foot {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
    bottom: max(18px, calc(var(--u) * 4));
  }
  .csmo-stage .foot > .txt { max-width: 38%; width: auto; }
  .csmo-stage .h { font-size: max(22px, calc(var(--u) * 4.6)); }
  .csmo-stage .side { width: 36%; }
  .csmo-stage .c2-right { width: 38%; align-items: flex-end; }
  .csmo-stage .c2-right > .L { width: 100%; }
  .csmo-stage .c2-acts { justify-content: flex-end; }
  .csmo-stage .side .list .row, .csmo-stage .c2-right .list .row { padding: calc(var(--u) * 1.25) 0; }
}
@media (max-width: 440px) {
  .csmo-stage header { letter-spacing: 0.14em; font-size: 10.5px; }
}

/* V7: Luong trinh bay 7 man mot chieu cho sale */
.csmo-stage.sc-v7 .lam-kinh {
  background: transparent !important; border: 0 !important; padding: 0 !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important;
}
.csmo-stage.sc-v7 .L { display: flex !important; }
.csmo-stage.sc-v7 .c2-acts { display: flex; align-items: center; gap: 16px; }
.csmo-stage.sc-v7 .cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(8,20,40,0.82); color: #FFFFFF;
  font: 500 13px/1 'Be Vietnam Pro', sans-serif; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.csmo-stage.sc-v7 .list .row .n { flex: none; color: rgba(255,255,255,0.72); font-weight: 500; white-space: nowrap; }
.csmo-stage .sc-dots {
  position: absolute; bottom: 24px; top: auto; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 8px;
}
.csmo-stage .sc-dot {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(8,20,40,0.72);
  color: rgba(255,255,255,0.72); font: 500 11px/1 'Be Vietnam Pro', sans-serif;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.csmo-stage .sc-dot[aria-current="step"] {
  background: rgb(226, 80, 42); border-color: rgb(226, 80, 42); color: #FFFFFF;
}
.csmo-stage.sc-v7 .foot { bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; transform: none !important; }
.csmo-stage .sc-nav {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  height: 48px; z-index: 9; pointer-events: none;
}
.csmo-stage .sc-nav-btn {
  position: absolute; top: 0; width: 148px; height: 48px; min-height: 48px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.28);
  background: rgba(8,20,40,0.82); color: #FFFFFF;
  font: 500 13px/1 'Be Vietnam Pro', sans-serif; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: auto; padding: 0 18px;
}
.csmo-stage .sc-nav-btn[data-nut="lui"] { left: 0; }
.csmo-stage .sc-nav-btn[data-nut="tiep"] {
  right: 0; background: rgb(226, 80, 42); border-color: rgb(226, 80, 42);
}
.csmo-stage [data-ten-goi] {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: clamp(12px, 1.35vw, 15px); line-height: 1.4; color: #FFFFFF; font-weight: 500;
}
.csmo-stage [data-quyen-loi] { font-size: 20px !important; line-height: 1.3; }
.csmo-stage [data-quyen-loi] .row { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 8px; justify-content: start; font-size: 20px !important; padding: 5px 0; }
.csmo-stage [data-quyen-loi] .row span:last-child { font-size: 20px !important; color: #FFFFFF; text-align: left; }
.csmo-stage .sc-vid-box {
  position: absolute; right: var(--pad); top: 11.5%; z-index: 6;
  height: clamp(92px, 15.5vh, 156px); width: auto; aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.28); border-radius: 10px; overflow: hidden; background: #081428;
}
.csmo-stage .sc-vid-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.csmo-stage .sc-vid-cap { position: absolute; left: 6px; bottom: 4px; padding: 2px 6px; border-radius: 4px; background: rgba(8,20,40,0.82); color: #FFFFFF; font: 500 9px/1.1 'Be Vietnam Pro', sans-serif; }
.csmo-stage .sc-c5-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.csmo-stage .sc-lh-phone { font: 500 clamp(26px, 4vw, 44px)/1.15 'Cormorant Garamond', Georgia, serif; color: #FFFFFF; letter-spacing: 0.04em; text-decoration: none; }
.csmo-stage .sc-cmp { width: 100%; border-collapse: collapse; }
.csmo-stage .sc-cmp th, .csmo-stage .sc-cmp td { padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,0.22); text-align: left; font-size: max(18px, calc(var(--u) * 2.3)); line-height: 1.3; color: #FFFFFF; }
.csmo-stage .sc-cmp th { font-weight: 600; color: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(255,255,255,0.45); white-space: nowrap; }
.csmo-stage .sc-cmp th:not(:first-child), .csmo-stage .sc-cmp td.c { text-align: center; width: 17%; white-space: nowrap; }
.csmo-stage .sc-cmp-dot { display: inline-block; font-size: 18px; color: rgba(255,255,255,0.38); }
.csmo-stage .sc-cmp-dot.on { color: #E2502A; }
.csmo-stage .sc-cmp tr.sum td { font-weight: 500; border-top: 1px solid rgba(255,255,255,0.45); border-bottom: 0; color: rgba(255,255,255,0.92); }
@media (orientation: landscape) and (min-width: 721px) {
  .csmo-stage.sc-v7[data-man-hien="2"] .txt, .csmo-stage.sc-v7[data-man-hien="3"] .txt, .csmo-stage.sc-v7[data-man-hien="4"] .txt { max-width: 28%; width: 28%; }
  .csmo-stage.sc-v7[data-man-hien="2"] .c2-right, .csmo-stage.sc-v7[data-man-hien="3"] .c2-right, .csmo-stage.sc-v7[data-man-hien="4"] .c2-right { width: 29%; max-width: 29%; gap: 10px; align-items: stretch; }
  .csmo-stage.sc-v7[data-man-hien="5"] .foot, .csmo-stage.sc-v7[data-man-hien="6"] .foot, .csmo-stage.sc-v7[data-man-hien="7"] .foot { top: 84px; bottom: 82px !important; align-items: center; justify-content: space-between; gap: 36px; }
  .csmo-stage.sc-v7[data-man-hien="5"] .txt, .csmo-stage.sc-v7[data-man-hien="7"] .txt { max-width: 42%; width: 42%; gap: 16px; }
  .csmo-stage.sc-v7[data-man-hien="5"] .side, .csmo-stage.sc-v7[data-man-hien="7"] .side { width: 54%; }
  .csmo-stage.sc-v7[data-man-hien="6"] .txt { max-width: 34%; width: 34%; gap: 14px; }
  .csmo-stage.sc-v7[data-man-hien="6"] .side { width: 62%; }
  .csmo-stage.sc-v7[data-man-hien="5"] .list .row { display: grid; grid-template-columns: 10.5em minmax(0, 1fr); gap: 16px; align-items: baseline; }
  .csmo-stage.sc-v7[data-man-hien="5"] .k, .csmo-stage.sc-v7[data-man-hien="6"] .k, .csmo-stage.sc-v7[data-man-hien="7"] .k { font-size: max(18px, calc(var(--u) * 2.3)); color: var(--soft); font-weight: 500; }
  .csmo-stage.sc-v7[data-man-hien="5"] .h, .csmo-stage.sc-v7[data-man-hien="6"] .h, .csmo-stage.sc-v7[data-man-hien="7"] .h { font-size: clamp(28px, 3.4vw, 44px); }
  .csmo-stage.sc-v7[data-man-hien="5"] p.lead, .csmo-stage.sc-v7[data-man-hien="6"] p.lead, .csmo-stage.sc-v7[data-man-hien="7"] p.lead { font-size: max(19px, calc(var(--u) * 2.5)); line-height: 1.5; color: var(--soft); }
  .csmo-stage.sc-v7[data-man-hien="5"] .list .row, .csmo-stage.sc-v7[data-man-hien="7"] .list .row, .csmo-stage.sc-v7[data-man-hien="5"] .list .row span, .csmo-stage.sc-v7[data-man-hien="7"] .list .row span { font-size: max(19px, calc(var(--u) * 2.45)); line-height: 1.45; padding: 13px 0; }
  .csmo-stage.sc-v7[data-man-hien="5"] .sc-c5-tabs .cta { font-size: 18px; height: 44px; padding: 0 16px; text-transform: none; letter-spacing: 0.02em; }
}
@media (orientation: portrait) {
  .csmo-stage .sc-vid-box { top: 48%; right: var(--pad); height: clamp(68px, 8.5vh, 114px); width: auto; }
  .csmo-stage.sc-v7 .foot { bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important; gap: 6px; }
  .csmo-stage.sc-v7[data-man-hien="2"] img.bg, .csmo-stage.sc-v7[data-man-hien="3"] img.bg, .csmo-stage.sc-v7[data-man-hien="4"] img.bg, .csmo-stage.sc-v7[data-man-hien="2"] video.bg-vid, .csmo-stage.sc-v7[data-man-hien="3"] video.bg-vid, .csmo-stage.sc-v7[data-man-hien="4"] video.bg-vid { object-position: 50% 10% !important; }
  .csmo-stage.sc-v7[data-man-hien="4"] .txt { max-width: 62%; }
  .csmo-stage.sc-v7 .c2-right { gap: 6px; }
  .csmo-stage.sc-v7 .c2-right [data-quyen-loi] { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .csmo-stage.sc-v7 [data-quyen-loi] .row { padding: 2px 0; }
}
@media (max-width: 720px) {
  .csmo-stage.sc-v7 header { padding: 10px var(--pad) 0 !important; font-size: 9.5px; }
  .csmo-stage .sc-dots { bottom: 20px; top: auto; gap: 3px; }
  .csmo-stage .sc-dot { width: 19px; height: 19px; font-size: 9px; }
  .csmo-stage .sc-nav { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .csmo-stage .sc-nav-btn { width: 92px; font-size: 10px; padding: 0 8px; }
  .csmo-stage .sc-vid-cap { font-size: 7.5px; padding: 1px 4px; bottom: 2px; left: 4px; white-space: nowrap; }
  .csmo-stage.sc-v7 .foot { bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; gap: 4px; }
  .csmo-stage.sc-v7 .k { font-size: 9px; margin-bottom: 1px; }
  .csmo-stage.sc-v7 .h { font-size: 19px; line-height: 1.02; }
  .csmo-stage.sc-v7 p.lead { font-size: 11px; line-height: 1.2; margin-top: 1px; }
  .csmo-stage [data-quyen-loi], .csmo-stage [data-quyen-loi] .row, .csmo-stage [data-quyen-loi] .row span:last-child { font-size: 11.5px !important; line-height: 1.2; }
  .csmo-stage.sc-v7 .c2-acts { margin-top: 2px; gap: 8px; }
  .csmo-stage.sc-v7 .c2-acts .cta { height: 32px; padding: 0 12px; font-size: 10px; }
  .csmo-stage .sc-c5-tabs { gap: 6px; margin-top: 4px; }
  .csmo-stage .sc-cmp th, .csmo-stage .sc-cmp td { padding: 3px 4px; font-size: 10.5px; line-height: 1.2; }
  .csmo-stage .sc-cmp-dot { font-size: 11px; }
}

/* T-143 #6: bảng chọn trải nghiệm (hiện trong lúc AI làm bìa) */
.csmo-stage .tn-lop { position: absolute; left: var(--pad); right: var(--pad); top: 7%; bottom: calc(24% + env(safe-area-inset-bottom, 0px)); z-index: 8; display: flex; }
.csmo-stage .tn-bang { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(8, 20, 40, 0.92); border: 1px solid rgba(255, 255, 255, 0.22); }
.csmo-stage .tn-dau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.csmo-stage .tn-tit { font-weight: 600; font-size: max(16px, calc(var(--u) * 2.4)); color: #FFFFFF; line-height: 1.3; }
.csmo-stage .tn-dem { font-size: max(13px, calc(var(--u) * 1.8)); color: rgb(226, 80, 42); font-weight: 600; white-space: nowrap; }
.csmo-stage .tn-luoi { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; -webkit-overflow-scrolling: touch; }
.csmo-stage .tn-the { min-height: max(64px, calc(var(--u) * 9)); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #FFFFFF; font-family: inherit; cursor: pointer; }
.csmo-stage .tn-the.on { background: #FFFFFF; color: #081428; border-color: #FFFFFF; box-shadow: 0 0 0 3px rgb(226, 80, 42); }
.csmo-stage .tn-the:disabled { opacity: 0.4; cursor: not-allowed; }
.csmo-stage .tn-gio { font-size: max(11px, calc(var(--u) * 1.45)); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.csmo-stage .tn-ten { font-weight: 600; font-size: max(14px, calc(var(--u) * 2)); line-height: 1.25; }
.csmo-stage .tn-mo { font-size: max(12px, calc(var(--u) * 1.6)); line-height: 1.3; opacity: 0.8; }
.csmo-stage .tn-chan { display: flex; gap: 10px; justify-content: flex-end; }
.csmo-stage .tn-chan button { height: max(48px, calc(var(--u) * 6.6)); padding: 0 22px; border-radius: 999px; font-family: inherit; font-size: max(15px, calc(var(--u) * 2.1)); font-weight: 600; cursor: pointer; }
.csmo-stage .tn-xong { background: #FFFFFF; color: #081428; border: 0; }
.csmo-stage .tn-bo { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.5); }
@media (orientation: landscape) and (min-width: 721px) { .csmo-stage .tn-lop { left: 18%; right: 18%; top: 9%; bottom: 14%; } .csmo-stage .tn-luoi { grid-template-columns: 1fr 1fr 1fr; } }
.csmo-stage .tn-luoi { grid-auto-rows: max-content; }
.csmo-stage .tn-the { height: auto; overflow: hidden; }
.csmo-stage .tn-the > span { display: block; width: 100%; overflow-wrap: normal; word-break: normal; hyphens: none; -webkit-hyphens: none; }
/* T-144 #2: tên thẻ (tiếng Anh dài) chỉ xuống dòng theo từ; JS thu cỡ chữ cho vừa, hết cách mới ngắt trong từ */
.csmo-stage .tn-the > .tn-ten { min-width: 0; }
.csmo-stage .tn-the > .tn-ten.tn-ngat { overflow-wrap: break-word; }
/* T-144 #2: luật ẩn mô tả ở màn hẹp bị .tn-the > span { display: block } đè (độ ưu tiên cao hơn), viết lại đủ mạnh */
@media (max-width: 520px) { .csmo-stage .tn-the > .tn-mo { display: none; } }
@media (max-width: 520px) { .csmo-stage .tn-mo { display: none; } .csmo-stage .tn-the { min-height: 58px; padding: 8px 10px; } .csmo-stage .tn-ten { font-size: 13px; letter-spacing: -0.01em; } .csmo-stage .tn-luoi { gap: 6px; } }
@media (max-width: 340px) { .csmo-stage .tn-the { padding: 8px; } .csmo-stage .tn-ten { font-size: 12px; } .csmo-stage .tn-gio { font-size: 10px; letter-spacing: 0.06em; }  .csmo-stage .tn-chan { gap: 8px; } .csmo-stage .tn-chan button { padding: 0 12px; font-size: 13px; } }
.csmo-stage .tn-chan button { white-space: nowrap; }
