* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2e;
  background: #f7f8fa;
  line-height: 1.55;
}
a { color: #0b5cad; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: linear-gradient(90deg, #0a1a2f 0%, #10243e 42%, #1a4066 100%); color: #fff;
}
.site-header .logo { color: #fff; font-size: 25px; letter-spacing: -.01em; }
.site-header .logo strong { color: #0076FF; font-weight: 700; }
.site-header nav a { color: #dbe7f5; margin-left: 16px; font-size: 15px; }
.site-header nav a:first-child { margin-left: 0; }
.nav-drop { position: relative; }
.site-header { position: relative; }
.nav-toggle { background: none; border: none; color: #dbe7f5; font: inherit; font-size: 15px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; }
.nav-drop .caret { display: inline-block; transition: transform .16s ease; }
.nav-drop.open .caret { transform: rotate(180deg); }
@media (max-width: 640px) { .nav-drop { position: static; } .drop-panel { width: min(330px, 94vw); } }
.nav-drop .caret { font-size: 15px; opacity: 1; margin-left: 4px; }
.drop-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 330px; background: #fff; border: 1px solid #e3e9f0; border-radius: 14px; box-shadow: 0 18px 44px rgba(16,36,62,.20); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 80; }
.drop-panel::before { content: ""; position: absolute; top: -11px; left: 0; right: 0; height: 11px; }
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-header nav .drop-panel a { color: #10243e; margin-left: 0; font-size: 14.5px; font-weight: 600; padding: 8px 10px; border-radius: 8px; display: block; }
.site-header nav .drop-panel a:hover { background: #eef3fd; color: #0b5cad; text-decoration: none; }
.site-header nav .drop-panel a.drop-all { grid-column: 1 / -1; border-top: 1px solid #e8edf3; margin-top: 6px; padding-top: 11px; color: #0b5cad; font-weight: 700; }


.wrap { max-width: 1140px; margin: 0 auto; padding: 16px 20px; }
h1 { font-size: 26px; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 20px; margin: 26px 0 10px; }
h3 { font-size: 16px; margin: 18px 0 6px; color: #33475b; }
.lead { font-size: 16px; color: #33475b; }
.hint { color: #66788c; font-size: 14px; }

.card { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 16px; margin: 16px 0; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.picker select {
  flex: 1 1 200px; padding: 10px; font-size: 16px; border: 1px solid #b9c7d8; border-radius: 8px; background: #fff; max-width: 100%;
}
.vs-badge { font-weight: 700; color: #0b5cad; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.phone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 14px; }
.phone-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #dde4ec; border-radius: 14px; padding: 0; color: inherit; overflow: hidden;
}
.phone-card:hover { border-color: #0b5cad; text-decoration: none; }
.pc-media { display: flex; align-items: center; justify-content: center; height: 168px; padding: 14px; box-sizing: border-box; background: linear-gradient(180deg, #fbfcfe, #edf2f8); border-bottom: 1px solid #e6edf5; }
.pc-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.pc-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 13px; flex: 1; }
.pc-name { font-weight: 700; font-size: 16.5px; color: #10243e; line-height: 1.3; }
.pc-sub { color: #66788c; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-specs { color: #44586e; font-size: 13.5px; }
.pc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 9px; border-top: 1px solid #eef2f7; }
.pc-ant-label { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #8a9db1; }
.pc-ant { font-size: 17px; font-weight: 800; color: #0b5cad; }
@media (max-width: 640px) {
  .phone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-media { height: 126px; padding: 10px; }
  .pc-body { padding: 10px 11px 11px; }
  .pc-name { font-size: 15px; }
  .pc-ant { font-size: 15.5px; }
}
.badge { background: #ffe1b3; color: #7a4a00; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-style: normal; font-weight: 600; vertical-align: middle; }

.link-list { list-style: none; padding: 0; margin: 8px 0; }
.link-list li { padding: 8px 0; border-bottom: 1px solid #e4eaf1; }
.link-list li:last-child { border-bottom: 0; }

.btn {
  display: inline-block; background: #0b5cad; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; margin: 4px 6px 4px 0;
}
.btn:hover { text-decoration: none; background: #094e92; }
.btn-buy { background: #0076FF; }
.btn-buy:hover { background: #0062d6; }

.ad-slot {
  border: 2px dashed #b9c7d8; border-radius: 8px; color: #66788c;
  text-align: center; padding: 22px 10px; margin: 18px 0; background: #eef2f7; font-size: 14px;
}
.ad-slot:empty { display: none; }

.price-box {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 14px 16px;
}
.price-box .price { font-size: 24px; font-weight: 800; color: #10243e; display: block; }
.price-src { color: #66788c; font-size: 13px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 16px; }
.table-wrap:has(.vs-table) { overflow-x: visible; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 15px; }
.spec-table th, .spec-table td,
.vs-table th, .vs-table td,
.rank-table th, .rank-table td {
  border: 1px solid #dde4ec; padding: 8px 10px; text-align: left; vertical-align: top;
}
.spec-table th { width: 38%; background: #f0f4f9; font-weight: 600; }
.vs-table thead th { background: #10243e; color: #fff; position: sticky; top: 0; z-index: 6; }
.vs-table tbody th { background: #f0f4f9; font-weight: 600; width: 26%; }
.vs-table td.win { background: #d9e9fb; color: #0076FF; font-weight: 400; }
.vs-table tr.group-row th { background: #dbe7f5; }
.rank-table thead th { background: #10243e; color: #fff; }
.rank-table td.rank { font-weight: 800; text-align: center; }
.rank-table tr.top1 td { background: #fff3d6; }
.chip-cell { display: flex; align-items: center; gap: 12px; }
.chip-badge { flex: 0 0 44px; display: block; }
.chip-meta { display: flex; flex-direction: column; gap: 1px; }
.chip-name { font-weight: 700; color: #10243e; text-decoration: none; }
.chip-name:hover { color: #0b5cad; text-decoration: underline; }
.chip-sub { font-size: 12.5px; color: #63738a; }
.chip-rank td { vertical-align: middle; }
.score-cell { min-width: 170px; }
.sc-num { font-weight: 800; color: #0b5cad; font-size: 17px; }
.sc-bar { display: block; height: 6px; background: #e6edf6; border-radius: 3px; margin-top: 6px; max-width: 230px; }
.sc-bar i { display: block; height: 100%; background: linear-gradient(90deg,#09C400,#0D9E6E 142.45%); border-radius: 3px; }

.antutu-box { background: #10243e; color: #eaf2fb; border-radius: 12px; padding: 16px; margin: 22px 0; }
.antutu-box h2 { color: #fff; margin-top: 0; }
.antutu-box a { color: #6cb4ff; }
.antutu-nums { display: flex; flex-wrap: wrap; gap: 24px; margin: 10px 0; }
.big-num { font-size: 32px; font-weight: 800; display: block; line-height: 1.1; }
.big-num.accent { color: #0076FF; }
.num-label { font-size: 13px; color: #dce8f6; }

.verdict { background: #eafaf0; border: 1px solid #9fd8b4; border-radius: 12px; padding: 6px 16px 12px; margin: 14px 0; }
.verdict h2 { margin-top: 12px; }
.verdict .winner { background: #fff; border-left: 4px solid #1d9d57; padding: 10px 12px; border-radius: 0 8px 8px 0; }

.vs-sticky {
  display: flex; align-items: stretch; gap: 8px;
  background: linear-gradient(135deg, #eaf2fd 0%, #cfdff5 100%); color: #10243e; border: 1px solid #c3d5ee; border-radius: 10px; padding: 10px 12px; margin: 14px 0 0;
  box-shadow: 0 2px 6px rgba(16,36,62,.08);
}
.vs-sticky .vs-col { flex: 1; min-width: 0; text-align: center; }
.vs-sticky .vs-col a { color: #10243e; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-sticky .vs-col span { font-size: 14px; color: #5a7186; }
.vs-sticky .vs-mid { align-self: center; font-weight: 800; color: #0076FF; }
.vs-links { margin-top: 10px; }

.phone-hero { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 12px; margin: 10px 0 14px; text-align: center; }
.phone-hero img { width: 100%; max-width: 300px; height: auto; max-height: 260px; object-fit: contain; }
.vs-sticky .vs-img { display: block; width: auto; max-width: 84px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; margin: 0 auto 5px; box-shadow: 0 1px 4px rgba(16,36,62,.15); }
.rank-img { width: 64px; height: 44px; object-fit: contain; vertical-align: middle; margin-right: 8px; }

.perf-wrap { margin: 34px 0 4px; padding-bottom: 24px; }
.perf-track { position: relative; height: 36px; background: #e8edf3; border-radius: 8px; }
.perf-track.slim { height: 30px; flex: 1; }
.perf-fill { position: absolute; left: 0; top: 0; height: 100%; min-width: 6px; background: linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.05) 46%,rgba(255,255,255,0) 62%),linear-gradient(90deg,#09C400 0%,#0D9E6E 142.45%); border-radius: 8px; }
.vs-perf-score { flex: 0 0 118px; text-align: right; font-weight: 800; color: #0b5cad; font-size: 15px; }
.perf-diff { font-style: normal; font-size: 12px; color: #37474f; margin-left: 2px; }
.perf-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #78909c; z-index: 2; }
.perf-mark span { position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 600; color: #a9cff7; white-space: nowrap; }
.perf-mark.alt span { bottom: auto; top: calc(100% + 5px); }
.perf-mark.edge-l span { left: 0; transform: none; }
.perf-mark.edge-r span { left: auto; right: 0; transform: none; }

.vs-perf { margin: 16px 0 4px; }
.vs-perf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vs-perf-name { flex: 0 0 34%; font-weight: 700; font-size: 14px; }
.vs-perf .perf-note { margin-top: 4px; }

.site-footer { max-width: 1140px; margin: 0 auto; padding: 18px 16px 30px; color: #66788c; font-size: 13px; }

@media (max-width: 560px) {
  h1 { font-size: 22px; }
  .big-num { font-size: 26px; }
  table { font-size: 14px; }
  .vs-table tbody th { width: 30%; }
  .vs-sticky .vs-img { max-width: 62px; height: 42px; }
  .phone-hero img { max-width: 230px; max-height: 200px; }
}

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 4px; }
.quick-card { background: #f2f6fb; border: 1px solid #dde5ee; border-radius: 10px; padding: 10px; }
.quick-card span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #66788c; margin-bottom: 4px; }
.quick-card strong { font-size: 13.5px; line-height: 1.35; display: block; }
.meta-block { margin: 10px 0 2px; }
.meta-label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.chip { display: inline-block; background: #eef3f9; border: 1px solid #d3dee9; border-radius: 999px; padding: 3px 10px; font-size: 13px; margin: 2px 2px 2px 0; }
.meta-note { font-size: 12.5px; color: #66788c; margin: 4px 0 0; }
.video-wrap { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.faq-item { border-bottom: 1px solid #e3eaf1; padding: 8px 0; }
.faq-item h3 { margin: 4px 0; font-size: 15.5px; }
.faq-item p { margin: 2px 0 6px; }
.data-footer { margin-top: 26px; padding-top: 12px; border-top: 1px solid #dde5ee; font-size: 12.5px; color: #66788c; }
@media (max-width: 640px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

.product-head { display: grid; grid-template-columns: 290px 1fr; gap: 22px; align-items: start; margin-top: 6px; }
.ph-media img { width: 100%; max-width: 340px; max-height: 340px; object-fit: contain; display: block; margin: 0 auto; }
.ph-info h1 { margin-top: 0; }
.ph-info .quick-grid { grid-template-columns: repeat(2, 1fr); }
.swatches { display: inline; }
.swatch { display: inline-flex; align-items: center; background: #fff; border: 1px solid #d3dee9; border-radius: 999px; padding: 4px 11px 4px 5px; margin: 2px 2px 2px 0; font-size: 13px; }
.swatch i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(16, 36, 62, .08); display: inline-block; margin-right: 6px; flex: 0 0 auto; }
@media (max-width: 760px) { .product-head { grid-template-columns: 1fr; } .ph-media img { max-width: 250px; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.sidebar { min-width: 0; }
.side-sticky { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.side-box { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 12px; }
.side-banner { border: 2px dashed #b9c7d8; color: #66788c; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 250px; font-size: 13px; }
.side-banner.tall { min-height: 480px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .side-sticky { position: static; } .side-banner.tall { min-height: 250px; } }

.tab-nav { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; flex-wrap: wrap; background: #f7f8fa; border-bottom: 2px solid #dde4ec; padding: 0 2px; margin-bottom: 14px; }
.tab-nav a { padding: 9px 12px; font-size: 14.5px; font-weight: 600; color: #0076FF; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-nav a:hover { color: #0b5cad; text-decoration: none; }
.tab-nav a.active { color: #0b5cad; font-weight: 700; border-bottom-color: #0076FF; }
.search-drop { margin-top: 10px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px rgba(6,24,48,.35); text-align: left; }
.sd-item { display: flex; flex-direction: column; gap: 1px; padding: 10px 16px; border-bottom: 1px solid #eef2f7; }
.sd-item:last-child { border-bottom: 0; }
.sd-item:hover { background: #f0f6fe; text-decoration: none; }
.sd-name { font-weight: 700; color: #10243e; font-size: 15.5px; }
.sd-meta { color: #66788c; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-nav a.tab-ident { display: flex; align-items: center; gap: 8px; align-self: center; flex: 0 0 auto; padding: 3px 4px; margin: 3px 10px 3px 0; border-bottom: 0; text-decoration: none; }
.tab-nav a.tab-ident img { width: 26px; height: 34px; object-fit: contain; display: block; background: #f6f8fb; border: 1px solid #e9edf3; border-radius: 6px; }
.tab-nav a.tab-ident b { font-size: 14px; font-weight: 600; color: #10243e; white-space: nowrap; }
#thong-so, #hieu-nang, #so-sanh, #chi-tiet, #faq { scroll-margin-top: 64px; }
.spec-table td.no-data { color: #93a5b8; font-style: italic; }
.sub-scores { margin: 14px 0 4px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.sub-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.sub-name { flex: 0 0 74px; font-size: 13px; color: #dce8f6; }
.sub-track { flex: 1; height: 12px; background: rgba(255,255,255,.14); border-radius: 6px; position: relative; }
.sub-fill { position: absolute; left: 0; top: 0; height: 100%; background: linear-gradient(90deg,#09C400,#0D9E6E 142.45%); border-radius: 6px; }
.sub-val { flex: 0 0 84px; text-align: right; font-weight: 700; font-size: 13.5px; }
.meta-note.light { color: #b9c6d4; }

/* --- Trang tri / do tuong phan (ra soat 24/11) --- */
.tab-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 10px; }
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav a { font-size: 13.5px; white-space: nowrap; }
.tab-nav a:hover { color: #0b5cad; }
#so-sanh { background: #e8f0fa; border: 1px solid #c3d5ec; border-radius: 12px; padding: 6px 16px 14px; margin-top: 22px; }
#so-sanh .link-list li { background: #fff; border: 1px solid #c9d9ee; border-radius: 10px; padding: 10px 14px; margin: 8px 0; box-shadow: 0 1px 3px rgba(16,36,62,.08); }
#so-sanh .link-list li a { font-weight: 600; display: block; }
#so-sanh .link-list li a::after { content: " →"; color: #0076FF; }
.quick-card { background: #edf3fa; border-color: #c3d2e4; }
.chip { background: #e8f0f8; border-color: #bccfe2; }
.faq-item { background: #fff; border: 1px solid #dde4ec; border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
#thong-so h3 { border-left: 4px solid #0b5cad; padding-left: 9px; color: #10243e; }
.data-footer { border-top: 2px solid #d5e0ec; }

/* --- Trang tri trang so sanh --- */
.vs-perf { background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 6px 16px 12px; }
.pperf-row{position:relative;height:52px;background:#e7e8e8;border:1px solid #c9cbcb;border-radius:10px;overflow:hidden;display:flex;align-items:center;padding:0 14px;gap:10px;margin:10px 0}
.pperf-fill{position:absolute;left:0;top:0;bottom:0;background:#09C400;border-radius:10px}
.pperf-name{position:relative;z-index:1;flex:1 1 auto;min-width:0;font-weight:700;font-size:.95rem;color:#0c1e33;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pperf-score{position:relative;z-index:1;flex:0 0 auto;font-weight:800;font-size:.98rem;color:#10243e;white-space:nowrap}
.pperf-delta{display:inline-block;margin-left:7px;font-size:.74rem;font-weight:700;color:#5a6b80}
@media (max-width:760px){.pperf-row{height:46px}}
.vs-perf .perf-track { background: #fff; }
.vs-table { box-shadow: 0 1px 4px rgba(16,36,62,.08); }
.vs-table tr.group-row th { background: #bcd3ee; color: #10243e; font-size: 15px; }

/* --- Fix tran ngang tren di dong (do that: trang rong 481px tren man 390px) --- */
.layout > article, .layout > .sidebar { min-width: 0; }
.tab-nav { max-width: 100%; }
.ph-info .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-head, .ph-info, .quick-grid, .table-wrap { min-width: 0; }

/* --- Canh trai header cung cot voi noi dung + thanh tab gon hon --- */
.site-header { display: block; padding: 0; }
.header-inner { max-width: 1140px; margin: 0 auto; padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.site-search { position: relative; order: 3; flex: 0 1 300px; max-width: 300px; margin: 0 0 0 auto; }
.site-header nav { order: 2; }
.site-header .logo { flex: 0 0 auto; margin-right: auto; }
.header-inner::before { content: ""; flex: 0 0 100%; order: 1; height: 0; }
.site-search .ss-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #5b7a99; pointer-events: none; }
.site-search input { width: 100%; height: 40px; border-radius: 999px; border: 1px solid #d7e0ec; background: #fff; color: #10243e; font: inherit; font-size: 14.5px; padding: 0 16px 0 40px; outline: none; }
.site-search input:focus { border-color: #0076FF; box-shadow: 0 0 0 3px rgba(0,118,255,.25); }
.site-search input::placeholder { color: #7d8ea3; }
.ss-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid #e3eaf2; border-radius: 14px; box-shadow: 0 14px 34px rgba(10,26,47,.22); overflow: hidden; z-index: 60; text-align: left; }
.ss-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #10243e; text-decoration: none; }
.ss-row:hover, .ss-row.on { background: #eef3fd; text-decoration: none; }
.ss-row img, .ss-row .ss-ph { width: 30px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.ss-row .ss-name { font-weight: 600; font-size: 14.5px; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-row .ss-kind { font-size: 11px; font-weight: 700; color: #0b5cad; background: #d9e9fb; border-radius: 999px; padding: 2px 8px; flex: 0 0 auto; }
.ss-row .ss-score { font-size: 13px; font-weight: 700; color: #0b5cad; flex: 0 0 auto; }
.ss-empty { padding: 12px 14px; color: #5b7a99; font-size: 14px; }
@media (max-width: 760px) { .site-search { flex-basis: 100%; max-width: none; margin: 2px 0 0; order: 3; } .site-header .logo { flex: 0 0 auto; } }
.site-footer { padding-left: 20px; padding-right: 20px; }
.tab-nav { margin-top: 6px; }
.diff-toggle { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #c3d2e4; border-radius: 8px; padding: 7px 12px; font-size: 14px; font-weight: 600; color: #10243e; cursor: pointer; margin: 4px 0 8px; }
.diff-toggle input { width: 16px; height: 16px; accent-color: #0b5cad; }
.top-list { list-style: none; counter-reset: tl; margin: 0 0 26px; padding: 0; background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; overflow: hidden; }
.top-list li { counter-increment: tl; display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #e2e8f2; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.top-list li:hover { background: #f4f8ff; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(16,36,62,.10); }
.top-list li:nth-child(1)::before { content: "🥇"; background: none; font-size: 21px; }
.top-list li:nth-child(2)::before { content: "🥈"; background: none; font-size: 21px; }
.top-list li:nth-child(3)::before { content: "🥉"; background: none; font-size: 21px; }
.top-list .tl-img { width: 26px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.rank-table td.rank .medal { font-size: 19px; line-height: 1; }
.rank-table tbody tr { transition: background .15s ease; }
.rank-table tbody tr:hover td { background: #f4f8ff; }
.rank-table tbody tr.top1:hover td { background: #ffedb8; }
.rank-img.sm { width: 30px; height: 34px; }
.side-row { transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.side-row:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(16,36,62,.10); }
.side-row .sr-rank.medal { font-size: 16px; flex-basis: 22px; }
.rank-row { border-bottom: 1px solid #eef2f7; transition: background .15s ease; }
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: #f7fafd; }
.rank-row .rr-img { width: 22px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.top-list li:last-child { border-bottom: none; }
.top-list li::before { content: counter(tl); flex: 0 0 26px; height: 26px; border-radius: 50%; background: #eef3fa; color: #0b5cad; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; }
.top-list li:first-child::before { background: #0076FF; color: #fff; }
.top-list a { color: #10243e; font-weight: 600; text-decoration: none; }
.top-list a:hover { color: #0b5cad; }
.top-list .tl-val { margin-left: auto; color: #44536a; font-size: 14px; white-space: nowrap; }
.key-specs { margin: 6px 0 4px; }
.ks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ks-card { background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 12px 14px; }
.ks-card.perf { position: relative; overflow: hidden; border-color: #0076FF; }
.ks-card.perf::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -80%; background: linear-gradient(105deg, rgba(0,118,255,0) 0%, rgba(0,118,255,.13) 50%, rgba(0,118,255,0) 100%); transform: skewX(-18deg); animation: perfShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes perfShine { 0%, 55% { left: -80%; } 90%, 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .ks-card.perf::after { animation: none; } }
.ks-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ks-cat { font-weight: 700; color: #10243e; font-size: 15px; }
.ks-line { margin: 0; color: #44536a; font-size: 13.5px; line-height: 1.45; }
.grade { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.grade.g5 { background: #e2f4e5; color: #177245; }
.grade.g4 { background: #e3eefb; color: #0b5cad; }
.grade.g3 { background: #fdf3d7; color: #8a6d1a; }
.grade.g2 { background: #fdeadb; color: #b3541e; }
.grade.g1 { background: #eceff3; color: #5b6a7d; }
h3 .grade { vertical-align: 2px; margin-left: 6px; }
.rank-list { background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 10px 14px; margin: 10px 0 6px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; }
.rank-row.me { background: #fff4ec; outline: 1px solid #f5c9a8; }
.rank-name { flex: 0 0 218px; color: #10243e; font-weight: 600; font-size: 14px; text-decoration: none; }
.rank-name em { color: #0b5cad; font-style: normal; font-weight: 700; }
.rank-track { flex: 1; height: 12px; background: #edf1f7; border-radius: 999px; overflow: hidden; }
.rank-fill { height: 100%; background: linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.05) 46%,rgba(255,255,255,0) 62%),linear-gradient(90deg,#09C400 0%,#0D9E6E 142.45%); border-radius: 999px; }
.rank-fill.bat { background: linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.05) 46%,rgba(255,255,255,0) 62%),linear-gradient(90deg,#09C400 0%,#0D9E6E 142.45%); }
.rank-row.me .rank-fill { background: #10243e; }
.rank-row.me .rank-fill.bat { background: #10243e; }
.rank-val { flex: 0 0 92px; text-align: right; font-size: 13.5px; color: #44536a; font-variant-numeric: tabular-nums; }
.ctx-h { margin: 18px 0 4px; }
@media (max-width: 640px) {
  .rank-row { flex-wrap: wrap; row-gap: 4px; }
  .rank-name { flex: 0 1 auto; font-size: 13.5px; }
  .rank-val { flex: 0 0 auto; font-size: 13px; margin-left: auto; }
  .rank-track { flex: 1 1 100%; order: 3; }
}
.rank-list .rank-name { color: #10243e; }
.antutu-box .ctx-h { color: #fff; }
.hero { background: linear-gradient(135deg, #10243e, #0b5cad); border-radius: 16px; padding: 28px 26px; margin-bottom: 22px; color: #fff; }
.hero h1 { color: #fff; margin: 0 0 8px; }
.hero .lead { color: #cfe0f2; margin: 0 0 16px; }
.hero-search { display: flex; gap: 10px; max-width: 640px; }
.hero-search input { flex: 1; min-width: 0; padding: 13px 16px; border: none; border-radius: 10px; font-size: 16px; }
.hero-search button { background: #0076FF; color: #fff; border: none; border-radius: 10px; padding: 13px 22px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hero .hint { color: #ffd9a8; margin: 10px 0 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.fchip { background: #fff; border: 1.5px solid #c3d2e4; color: #10243e; border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer; }
.fchip:hover { border-color: #0b5cad; color: #0b5cad; }
.fchip.on { background: #0b5cad; border-color: #0b5cad; color: #fff; }
a.fchip { text-decoration: none; display: inline-block; }
.cta-row { text-align: center; margin: 20px 0 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.vs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.vs-card { background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 14px; text-decoration: none; display: block; }
.vs-card:hover { border-color: #0b5cad; }
.vs-imgs { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.vs-imgs img { height: 92px; width: auto; max-width: 40%; object-fit: contain; }
.vs-dot { background: #0076FF; color: #fff; font-style: normal; font-weight: 800; font-size: 12px; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex: 0 0 30px; }
.vs-names { display: block; text-align: center; color: #10243e; font-weight: 700; font-size: 14.5px; }
.vs-names i { color: #0076FF; font-style: normal; }
@media (max-width: 640px) { .hero { padding: 20px 16px; } .hero-search button { padding: 13px 14px; } }
/* Chuan hoa khung anh san pham: moi anh nam trong 1 khung ti le co dinh, co dem trong */
img { max-width: 100%; }
.phone-card { overflow: hidden; }
.vs-card { overflow: hidden; }
.vs-imgs img { max-width: 42%; }
.ph-media { overflow: hidden; }
/* Hieu ung bong nhe (mau thu o trang chu) */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0d2038 0%, #0b5cad 70%, #0076FF 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 18% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 60%); pointer-events: none; }
.hero > * { position: relative; }
.hero-search button, .btn { background: linear-gradient(180deg, #2f8bff, #0076FF 55%, #0062d6); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.12), 0 4px 10px rgba(0,118,255,.35); }
.hero-search button:hover, .btn:hover { filter: brightness(1.06); }
.phone-card { position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.phone-card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 55%; left: -80%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); transition: left .55s ease; pointer-events: none; }
.phone-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16,36,62,.14); }
.phone-card:hover::after { left: 130%; }
.fchip { background: linear-gradient(180deg, #ffffff, #eef3fa); box-shadow: inset 0 1px 0 #fff; }
.fchip.on { background: linear-gradient(180deg, #0076FF, #0b5cad); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
/* Sang vien tu chay, lech pha tung the so sanh */
@keyframes vsGlow {
  0%, 18%, 100% { box-shadow: 0 0 0 0 rgba(242,101,34,0); border-color: #d7e0ec; }
  9% { box-shadow: 0 0 0 2px rgba(0,118,255,.55), 0 0 24px rgba(0,118,255,.45); border-color: #0076FF; }
}
.vs-card { animation: vsGlow 7s ease-in-out infinite; }
.vs-grid .vs-card:nth-child(2) { animation-delay: 2.3s; }
.vs-grid .vs-card:nth-child(3) { animation-delay: 4.6s; }
.vs-grid .vs-card:nth-child(4) { animation-delay: 1.2s; }
.vs-grid .vs-card:nth-child(5) { animation-delay: 3.5s; }
.vs-grid .vs-card:nth-child(6) { animation-delay: 5.8s; }
@media (prefers-reduced-motion: reduce) { .vs-card { animation: none; } }
.ph-sub { color: #5a6b80; font-size: 14.5px; margin: 2px 0 10px; }
/* Dong ghi chu / caption: in nghieng, nho hon 1 co chu */
.meta-note { font-style: italic; font-size: 13.5px; color: #66788c; }
.data-footer { font-style: italic; }
.hint { font-style: italic; }
/* The thong so noi bat kieu moi: so lon + nhan mo ta */
.ks-top { display: flex; align-items: center; gap: 8px; }
.ks-icon { width: 20px; height: 20px; color: #0b5cad; flex: none; }
.ks-big { font-size: 25px; font-weight: 800; color: #10243e; margin: 9px 0 3px; letter-spacing: -.01em; }
.ks-tag { display: inline-block; margin-top: 9px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.ks-tag.good { background: #e2f4e5; color: #177245; }
.ks-tag.warn { background: #fdeeda; color: #b3541e; }
.ks-top { justify-content: flex-start; }
/* Thu vien anh san pham */
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gal-thumb { width: 62px; height: 62px; padding: 4px; border: 2px solid #dde4ec; border-radius: 9px; background: #fff; cursor: pointer; }
.gal-thumb.on { border-color: #0076FF; }
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
#galMain { width: 100%; height: 340px; object-fit: contain; }
@media (max-width: 760px) { #galMain { height: 280px; } }
/* Tab nav tren mobile: tran vien, 5 tab vua man hinh, khong cuon ngang */
@media (max-width: 760px) {
  .tab-nav { width: calc(100% + 40px); max-width: none; margin-left: -20px; margin-right: -20px; padding: 0 10px; overflow-x: visible; }
  .tab-nav a { flex: 1 1 0; min-width: 0; text-align: center; padding: 8px 2px; }
  .tab-nav a.tab-ident { flex: 0 0 auto; padding: 3px 2px; margin: 3px 6px 3px 0; }
  .tab-nav a.tab-ident img { width: 22px; height: 29px; }
  .tab-nav a.tab-ident b { display: none; }
}
/* San vuot anh san pham */
.gal-stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-stage::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.gal-slide img { width: 100%; height: 340px; object-fit: contain; display: block; }
@media (max-width: 760px) { .gal-slide img { height: 280px; } }
.big-num sup { font-size: .42em; font-weight: 700; }
/* Hang anh nho: 1 hang duy nhat, truot ngang, khong xuong dong */
.gal-thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb { flex: 0 0 auto; width: 54px; height: 54px; }
@media (max-width: 760px) { .gal-thumb { width: 48px; height: 48px; } }
/* Luoi thuong hieu + kham pha chipset (trang chu) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.brand-tile { background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 16px 18px; text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.brand-tile:hover { border-color: #0076FF; transform: translateY(-2px); }
.brand-tile .b-name { display: block; font-size: 19px; font-weight: 800; color: #10243e; }
.brand-tile .b-count { color: #66788c; font-size: 13.5px; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.chip-tile { display: block; background: #fff; border: 1px solid #d7e0ec; border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: border-color .15s, transform .15s; }
.chip-tile:hover { border-color: #0076FF; transform: translateY(-2px); text-decoration: none; }
.chip-tile .c-maker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0b5cad; }
.chip-tile .c-name { display: block; font-size: 17px; font-weight: 800; color: #10243e; margin: 3px 0; }
.chip-tile .c-phone { color: #66788c; font-size: 13.5px; }
.brand-tile { display: flex; align-items: center; min-height: 72px; }
.brand-tile img { height: 30px; max-width: 135px; object-fit: contain; display: block; }
.brand-tile.colored { position: relative; overflow: hidden; gap: 11px; background: color-mix(in srgb, var(--bc) 13%, #ffffff); border: 1px solid color-mix(in srgb, var(--bc) 30%, #ffffff); box-shadow: 0 1px 2px rgba(16, 36, 62, .06); }
.brand-tile.colored::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(0, 0, 0, .13)), var(--bc); transform: scaleY(0); transform-origin: bottom; transition: transform .28s ease; }
.brand-tile.colored:hover::before { transform: scaleY(1); }
.brand-tile.colored:hover { border-color: transparent; box-shadow: 0 6px 16px rgba(16, 36, 62, .22); }
.brand-tile.colored img { height: 26px; width: 26px; position: relative; z-index: 1; transition: filter .28s ease; }
.brand-tile.colored:hover img { filter: brightness(0) invert(1); }
.brand-tile.colored .b-name { color: color-mix(in srgb, var(--bc) 68%, #10243e); position: relative; z-index: 1; transition: color .28s ease; }
.brand-tile.colored:hover .b-name { color: #fff; }
.brand-tile.colored.dark:hover .b-name { color: #171106; }
.brand-tile.colored.dark:hover img { filter: brightness(0); }
.art-fig { margin: 12px 0 4px; }
.art-fig img { width: 100%; max-height: 400px; object-fit: contain; background: #fff; border: 1px solid #e2e8f2; border-radius: 10px; display: block; }
.art-fig figcaption { margin-top: 6px; }

/* FAQ accordion */
.faq-panel { background: linear-gradient(180deg, #eaf1fb, #e1ebfa); border: 1px solid #d3e1f4; border-radius: 14px; padding: 12px 14px 4px; }
.faq-item { padding: 0; margin: 0 0 10px; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.faq-item:hover { border-color: #b9cfec; box-shadow: 0 3px 10px rgba(16,60,110,.08); }
.faq-item summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.q-badge { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, #0076FF, #0b5cad); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.faq-item h3.q-text { margin: 0; flex: 1; font-size: 15.5px; color: #14406e; }
.q-chev { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid #0b5cad; border-bottom: 2px solid #0b5cad; transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.faq-item[open ] .q-chev { transform: rotate(225deg); }
.faq-item[open ] { border-color: #b9cfec; }
.faq-item p { margin: 0; padding: 10px 14px 12px 48px; border-top: 1px solid #eef3f9; }

/* FAQ v2: bo huy hieu ?, mui ten dung ky tu that, cau hoi mau cam dam, tra loi in nghieng */
.faq-item summary { gap: 8px; }
.faq-item h3.q-text { color: #10243e; }
.q-chev { border: 0; width: auto; height: auto; margin: 0; font-size: 13px; line-height: 1; color: #7d93ad; transform: none; }
.faq-item[open ] .q-chev { transform: rotate(180deg); }
.faq-item p { padding-left: 14px; font-style: italic; }

/* FAQ v3: tinh, khong so xuong, cau hoi xanh cua web, tra loi in nghieng */
.faq-item { padding: 12px 14px; }
.faq-item h3.q-text { color: #14406e; margin: 0 0 4px; }
.faq-item p { border-top: 0; padding: 0; font-style: italic; }

/* ===== New page types (sitemap build) ===== */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 14px 0; }
.info-tile { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.info-tile:hover { border-color: #b9cfec; box-shadow: 0 4px 14px rgba(16,60,110,.10); }
.it-name { font-weight: 700; color: #10243e; font-size: 16px; }
.it-big { font-size: 24px; font-weight: 800; color: #0b5cad; }
.it-sub { color: #66788c; font-size: 13.5px; }
.hub-head { display: flex; align-items: center; gap: 14px; }
.hub-logo { height: 34px; max-width: 150px; object-fit: contain; }
.spec-panel { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 6px 16px; margin: 12px 0; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef3f9; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: #66788c; }
.brand-tile.tile-text { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; text-decoration: none; }
.finder-box { background: linear-gradient(180deg, #edf4fc, #e3eefa); border: 1px solid #c7dbf2; border-radius: 16px; padding: 8px 22px; display: flex; flex-direction: column; margin-bottom: 6px; }
.finder-group { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 14px; padding: 15px 0; border-top: 1px solid rgba(11, 92, 173, .16); }
.finder-group:first-child { border-top: 0; }
.fg-label { font-weight: 700; color: #10243e; min-width: 190px; padding-top: 7px; }
.fg-opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.fg-opts label { cursor: pointer; background: #fff; border: 1px solid #c2d5ee; border-radius: 999px; padding: 7px 14px; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; transition: background-color .18s ease, border-color .18s ease; }
.fg-opts label:hover { border-color: #0b5cad; }
.fg-opts label:has(input:checked) { background: #d9e9fb; border-color: #0b5cad; color: #0b5cad; font-weight: 700; }
.fg-opts input { accent-color: #0b5cad; margin: 0; }
.f-brand { margin-top: 32px; }
.f-brand-title { font-size: 20px; margin: 0 0 13px; display: flex; align-items: center; gap: 10px; }
.f-brand-title::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: #0076FF; flex: none; }
.f-brand-title a { color: #10243e; text-decoration: none; }
.f-brand-title a:hover { color: #0b5cad; }
.f-empty { margin-top: 26px; }
.fc-pick { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.fc-pick select { font: inherit; padding: 7px 10px; border: 1px solid #c4d2e2; border-radius: 8px; margin-left: 6px; }
.fc-diff { cursor: pointer; }
.prose { line-height: 1.65; }
.prose h2 { margin-top: 26px; }
.prose a { color: #0b5cad; }
.prose ul { padding-left: 22px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { color: #44607f; }

/* Top 100 AnTuTu table */
.top100-table { min-width: 600px; }
.top100-table .meta-note { font-size: 12px; }

/* Floating home / back-to-top buttons — appear only after scrolling down */
.float-nav { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.float-nav.show { opacity: 1; pointer-events: auto; transform: none; }
.float-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #10243e; border: 1px solid #dde4ec; box-shadow: 0 2px 8px rgba(16,36,62,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.float-btn:hover { background: #eef4fb; color: #0b5cad; }
@media (prefers-reduced-motion: reduce) { .float-nav { transition: none; } }

/* Selectable option buttons (colour / variant) on phone pages */
.opt-btn { font-family: inherit; font-size: 13px; line-height: 1.35; cursor: pointer; }
.opt-btn:hover { border-color: #0b5cad; }
.opt-btn[aria-pressed="true"] { background: #d9e9fb; border-color: #0b5cad; color: #0b5cad; font-weight: 700; }


/* Android / iPhone tabs on the AnTuTu ranking page */
.os-tabs { display: inline-flex; gap: 2px; background: #e8edf3; border-radius: 10px; padding: 4px; margin: 4px 0 14px; }
.os-tab { font: inherit; font-weight: 600; border: 0; background: transparent; color: #44607f; padding: 7px 16px; border-radius: 8px; cursor: pointer; }
.os-tab.on { background: #fff; color: #10243e; box-shadow: 0 1px 4px rgba(16, 36, 62, .18); }

/* Logo image (PhoneView) */
.site-header .logo img { height: 38px; width: auto; display: block; }
@media (max-width: 640px) { .site-header .logo img { height: 32px; } }
/* Logo header: hào quang cam + vệt sáng quét định kỳ (cùng ngôn ngữ hiệu ứng với thẻ máy) */
.site-header .logo { position: relative; display: inline-flex; align-items: center; gap: 9px; overflow: hidden; text-decoration: none; border-radius: 8px; filter: drop-shadow(0 0 9px rgba(0,118,255,.55)) drop-shadow(0 2px 5px rgba(0,0,0,.3)); }
.site-header .logo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -80%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); animation: logoShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes logoShine { 0%, 55% { left: -80%; } 90%, 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .site-header .logo::after { animation: none; } }
/* Mobile: logo canh giữa trang, menu canh giữa ngay bên dưới */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: center; gap: 10px; }
  .header-inner::before { display: none; }
  .site-header .logo img { height: 36px; }
  .site-header nav { justify-content: center; }
  .site-header nav a { margin-left: 0; }
}

/* /dien-thoai/ explorer */
.crumb { font-size: 13.5px; color: #63738a; margin: 4px 0 10px; }
.crumb a { color: #0b5cad; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.panel { background: #fff; border: 1px solid #d7e0ec; border-radius: 14px; padding: 20px 22px; margin-bottom: 26px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head h2 { margin: 0 0 12px; }
.sec-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.brand-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: color-mix(in srgb, var(--bc) 13%, #ffffff); border: 1px solid color-mix(in srgb, var(--bc) 30%, #ffffff); border-radius: 10px; font-weight: 700; color: color-mix(in srgb, var(--bc) 68%, #10243e); text-decoration: none; font-size: 14.5px; transition: background-color .25s ease, color .25s ease; }
.brand-chip:hover { background: var(--bc); border-color: transparent; color: #fff; }
.brand-chip.dark:hover { color: #171106; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.need-tile { display: flex; gap: 12px; align-items: center; background: #f4f7fb; border: 1px solid #d7e0ec; border-radius: 12px; padding: 13px 15px; text-decoration: none; color: #10243e; }
.need-tile:hover { border-color: #0b5cad; }
.need-ico { flex: 0 0 44px; height: 44px; border-radius: 10px; background: #10243e; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13.5px; }
.need-tile strong { display: block; font-size: 15px; }
.need-tile span span { font-size: 12.5px; color: #63738a; }
.bento { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.bento-big { grid-row: span 2; background: #fff; border: 1px solid #d7e0ec; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; text-decoration: none; color: #10243e; }
.bento-big:hover, .bento-small:hover { border-color: #0b5cad; }
.bb-media { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #f7fafd, #e8eff8); border-radius: 10px; min-height: 200px; padding: 14px; }
.bb-media img { max-height: 230px; max-width: 100%; object-fit: contain; display: block; }
.bb-name { font-size: 21px; font-weight: 800; margin-top: 14px; }
.bb-sub { color: #63738a; font-size: 14px; }
.bb-score { font-size: 34px; font-weight: 800; color: #0b5cad; margin-top: 8px; line-height: 1.1; }
.bb-score-label { font-size: 12px; color: #63738a; text-transform: uppercase; letter-spacing: .5px; }
.bb-specs { margin-top: 9px; font-size: 14px; }
.bb-cta { margin-top: 10px; color: #0b5cad; font-weight: 700; }
.bento-small { background: #fff; border: 1px solid #d7e0ec; border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; text-decoration: none; color: #10243e; }
.bento-small img { height: 92px; width: auto; max-width: 92px; object-fit: contain; }
.bs-name { font-weight: 800; display: block; }
.bs-sub { color: #63738a; font-size: 13px; display: block; }
.bs-score { color: #0b5cad; font-weight: 800; font-size: 19px; display: block; margin-top: 4px; }
.bs-label { font-size: 11.5px; color: #63738a; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 10px; }
.filter-bar select { padding: 9px 12px; border: 1.5px solid #c3d2e4; border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; color: #10243e; cursor: pointer; }
.os-chips { display: flex; gap: 8px; }
#moreBtn { cursor: pointer; border: 0; font: inherit; }
@media (max-width: 760px) {
    .need-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-big { grid-row: auto; }
  .bb-media { min-height: 160px; }
}

/* --- Ra soat thiet ke 25/11/2026: sidebar co noi dung + sua mobile --- */
.side-h { font-size: 15px; margin: 2px 0 8px; color: #10243e; }
.side-row { display: flex; align-items: center; gap: 9px; padding: 7px 4px; border-bottom: 1px solid #eef2f7; text-decoration: none; border-radius: 6px; }
.side-row:last-of-type { border-bottom: 0; }
.side-row img { width: 28px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.side-row .sr-rank { flex: 0 0 18px; font-weight: 800; font-size: 13px; color: #8a9db1; text-align: center; }
.side-row .sr-rank.top { color: #0076FF; }
.side-row .sr-name { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; color: #10243e; line-height: 1.25; }
.side-row .sr-val { font-weight: 800; font-size: 13px; color: #0b5cad; white-space: nowrap; }
.side-row:hover { text-decoration: none; background: #f2f7fd; }
.side-row:hover .sr-name { color: #0b5cad; }
.side-row.me { background: #eef5fd; }
.side-row.me .sr-name { color: #0b5cad; }
.side-more { display: inline-block; margin-top: 9px; font-size: 13.5px; font-weight: 600; }
.cv-track { display: block; height: 8px; background: #e8edf3; border-radius: 5px; margin-top: 7px; max-width: 260px; }
.cv-fill { display: block; height: 100%; background: linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.05) 46%,rgba(255,255,255,0) 62%),linear-gradient(90deg,#09C400 0%,#0D9E6E 142.45%); border-radius: 5px; }
.tile-grid.fit { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.hub-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.hub-panel { background: #fff; border: 1px solid #dde4ec; border-radius: 12px; padding: 14px 16px; }
.hub-panel h2 { font-size: 17px; margin: 0 0 6px; }
.hub-panel .top-list { margin: 0; }
.hub-panel .side-more { margin-top: 10px; }
@media (max-width: 760px) { .hub-previews { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .vs-perf-row { flex-wrap: wrap; }
  .vs-perf-name { flex: 1 1 48%; }
  .vs-perf-score { flex: 0 0 auto; }
  .vs-perf .perf-track { order: 3; flex: 1 1 100%; }
  .vs-sticky .vs-col a { white-space: normal; font-size: 13.5px; line-height: 1.25; }
}
@media (max-width: 640px) {
  .finder-box { padding: 4px 16px; }
  .fg-label { min-width: 100%; padding-top: 0; }
  .f-brand { margin-top: 26px; }
}

/* --- Công cụ so sánh tự chọn (gộp vào /so-sanh/, 2026-11-25) --- */
.cmp-tool{
    --navy:#10243e; --blue:#0b5cad; --blue-2:#1b74c9; --blue-soft:#eef3fd;
    
    --ink:#1b2432; --muted:#6b7786; --faint:#9aa5b3;
    --line:#e9edf3; --line-2:#dde3ec; --panel:#f6f8fb;
    --win-bg:#d9e9fb; --win-ink:#0076FF;
    --r:14px; --shadow:0 1px 2px rgba(16,39,66,.04),0 4px 16px rgba(16,39,66,.05);
  }
.cmp-tool{max-width:920px;margin:0 auto;padding:2px 0 10px}
.cmp-tool .cap{font-style:italic;font-size:.78rem;color:var(--faint)}
.cmp-tool .bar{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:12px}
.cmp-tool .slots{display:flex;gap:10px;flex-wrap:wrap}
.cmp-tool .slot{flex:1 1 200px;min-width:0;position:relative}
.cmp-tool .slot>span{display:block;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--faint);margin:0 0 5px 2px}
.cmp-tool .selrow{display:flex;gap:6px}
.cmp-tool .sel{appearance:none;-webkit-appearance:none;width:100%;min-width:0;padding:10px 32px 10px 12px;border:1.5px solid var(--line-2);border-radius:10px;font-size:.9rem;font-weight:600;color:var(--navy);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7786' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;cursor:pointer}
.cmp-tool .sel:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.cmp-tool .rm{flex:0 0 auto;border:1.5px solid var(--line-2);background:#fff;color:var(--muted);border-radius:10px;width:40px;cursor:pointer;font-size:1.1rem;line-height:1}
.cmp-tool .rm:hover{border-color:#f0b49c;color:var(--orange-ink);background:#fff6f2}
.cmp-tool .barfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.cmp-tool .add{border:1.5px dashed var(--blue);color:var(--blue);background:#fff;border-radius:10px;padding:8px 14px;cursor:pointer;font-size:.82rem;font-weight:700}
.cmp-tool .add:disabled{opacity:.38;cursor:not-allowed;border-style:solid}
.cmp-tool .toggle{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;color:var(--ink);cursor:pointer;user-select:none}
.cmp-tool .toggle input{width:16px;height:16px;accent-color:var(--blue);cursor:pointer}
.cmp-tool .heads{display:grid;gap:12px;margin:20px 0 6px}
.cmp-tool .pcard{border:1px solid var(--line);border-radius:var(--r);padding:16px 12px 14px;text-align:center;background:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
.cmp-tool .pcard::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--blue-2)}
.cmp-tool .pcard.lead::before{background:var(--navy)}
.cmp-tool .pcard .imgbox{height:150px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.cmp-tool .pcard img{max-height:150px;max-width:96%;object-fit:contain}
.cmp-tool .fallback{width:86px;height:150px;border-radius:10px;background:var(--blue-soft);display:flex;align-items:center;justify-content:center;color:var(--blue);font-weight:800;font-size:1.4rem}
.cmp-tool .pcard .nm{font-weight:700;color:var(--navy);font-size:.95rem;line-height:1.25;min-height:2.4em;display:flex;align-items:center;justify-content:center}
.cmp-tool .plink{display:block;color:inherit;text-decoration:none}
.cmp-tool .plink:hover .nm{color:#0076FF;text-decoration:underline}
.cmp-tool .pcard .chip{color:var(--muted);font-size:.78rem;margin-top:4px}
.cmp-tool .ov{border:1px solid var(--line);border-radius:var(--r);padding:16px 16px 6px;margin:16px 0;box-shadow:var(--shadow)}
.cmp-tool .ov h2{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--faint);margin:0 0 4px}
.cmp-tool .metric{margin:14px 0}
.cmp-tool .metric .mh{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);margin-bottom:7px}
.cmp-tool .metric .mh b{color:var(--navy);font-weight:700}
.cmp-tool .brow{margin:12px 0}
.cmp-tool .bname{font-size:.92rem;font-weight:600;color:var(--ink)}
.cmp-tool .bhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:5px}
.cmp-tool .bscore{font-weight:800;color:var(--navy);font-size:.95rem;white-space:nowrap}
.cmp-tool .bhead .delta{display:inline-block;min-width:0;margin-left:7px}
.cmp-tool .ov-verdict{margin-top:14px;background:#f0f7f0;border-left:4px solid #09C400;border-radius:8px;padding:12px 14px;font-size:.95rem;color:var(--ink)}
.cmp-tool .scale-note{font-size:.72rem;color:var(--faint);margin-top:3px}
.cmp-tool .track{position:relative;background:#e7e8e8;border:1px solid #c9cbcb;border-radius:10px;height:52px;overflow:hidden;display:flex;align-items:center;padding:0 14px;gap:10px}
.cmp-tool .bname-in{position:relative;z-index:1;flex:1 1 auto;min-width:0;font-weight:700;font-size:.95rem;color:#0c1e33;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-tool .bscore-in{position:relative;z-index:1;flex:0 0 auto;font-weight:800;font-size:.98rem;color:var(--navy);white-space:nowrap}
.cmp-tool .bscore-in .delta{display:inline-block;min-width:0;margin-left:7px}
.cmp-tool .fill{position:absolute;left:0;top:0;bottom:0;z-index:0;border-radius:10px;background:#09C400;transition:width .85s cubic-bezier(.2,.7,.3,1)}
.cmp-tool .fill.lead{background:#09C400}
.cmp-tool .fill span{color:#fff;font-size:.76rem;font-weight:700;padding-right:9px;text-shadow:0 1px 2px rgba(0,0,0,.22);white-space:nowrap}
.cmp-tool .delta{flex:0 0 auto;font-size:.74rem;font-weight:700;min-width:44px;text-align:right}
.cmp-tool .delta.down{color:var(--muted)}
.cmp-tool .delta.top{color:var(--navy)}
.cmp-tool .tbl{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin-top:4px;box-shadow:var(--shadow)}
.cmp-tool table{width:100%;border-collapse:collapse;font-size:15px}
.cmp-tool thead th{position:sticky;top:0;z-index:5;background:var(--blue-soft);color:var(--navy);font-size:15px;font-weight:700;text-align:left;padding:11px 10px;vertical-align:bottom;border-bottom:2px solid var(--blue)}
.cmp-tool thead th:first-child{font-weight:600;color:var(--muted)}
.cmp-tool .grp th{background:var(--blue-soft);color:var(--navy);font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px}
.cmp-tool tbody td{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.cmp-tool tbody tr:last-child td{border-bottom:none}
.cmp-tool .lbl{color:var(--muted);width:30%}
.cmp-tool td.v{color:var(--ink)}
.cmp-tool td.v.win{background:var(--win-bg);color:var(--win-ink);font-weight:400}
.cmp-tool .foot{margin-top:18px}
@media(max-width:600px){
.cmp-tool{padding:2px 0 8px}
.cmp-tool .track{height:46px}
.cmp-tool .lbl{width:32%}
.cmp-tool thead th, .cmp-tool tbody td{padding:9px 7px}
}

/* Chip detail page (guide 03 v2) — vars scoped locally with SITE palette values */
.chip-page{--navy:#10243e;--blue:#0b5cad;--blue-2:#1b74c9;--blue-soft:#eef3fd;--ink:#1b2432;--muted:#5b6b7f;--faint:#93a1b3;--line:#e3e9f0;--line-2:#d5dde7;--panel:#f2f6fb;--r:14px;--shadow:0 1px 2px rgba(16,36,62,.04),0 4px 16px rgba(16,36,62,.05);--green:#15803d}
.chip-hero{border:1px solid var(--line);border-radius:var(--r);padding:20px;box-shadow:var(--shadow);background:linear-gradient(180deg,#fbfcfe,#fff)}
.chip-hero .maker{font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--blue)}
.chip-hero h1{font-size:1.7rem;font-weight:800;color:var(--navy);margin:4px 0 10px}
.chip-sub{color:var(--muted);font-size:.94rem;margin:0;max-width:68ch}
.chip-h2{font-size:1.12rem;color:var(--navy);margin:22px 0 10px}
.chip-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.chip-pill{background:var(--blue-soft);color:var(--navy);border-radius:999px;padding:5px 12px;font-size:.78rem;font-weight:700}
.chip-pill.hot{background:var(--blue-soft);color:var(--blue)}
.chip-panel{border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;background:#fff}
.chip-panel .srow{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line);font-size:.9rem}
.chip-panel .srow:last-child{border-bottom:none}
.chip-panel .srow .k{color:var(--muted)} .chip-panel .srow .v{font-weight:600;text-align:right}
.chip-page .dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}
.chip-page .dot.d{background:var(--green)} .chip-page .dot.n{background:var(--orange)}
.chip-legend{font-size:.76rem;color:var(--muted);margin:8px 2px 0;display:flex;gap:16px;flex-wrap:wrap}
.chip-perf{border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:18px;background:#fff}
.chip-perf .big{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.chip-perf .big .n{font-size:1.8rem;font-weight:800;color:var(--navy)} .chip-perf .big .l{font-size:.82rem;color:var(--muted)}
.pctbar{height:10px;background:var(--panel);border-radius:6px;overflow:hidden;margin:10px 0 6px}
.pctbar i{display:block;height:100%;background:linear-gradient(90deg,#09C400,#0D9E6E 142.45%)}
.csub{display:flex;align-items:center;gap:10px;margin:9px 0}
.csub .sl{flex:0 0 72px;font-size:.82rem;font-weight:600}
.csub .st{flex:1;background:var(--panel);border-radius:6px;height:20px;overflow:hidden}
.csub .sf{height:100%;background:linear-gradient(90deg,#09C400,#0D9E6E 142.45%);border-radius:6px}
.csub .sv{flex:0 0 auto;font-size:.8rem;font-weight:700;color:var(--navy);min-width:78px;text-align:right}
.hl-blue{color:#0b5cad;font-weight:700}
.drop-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 232px; background: #fff; border: 1px solid #e3e9f0; border-radius: 14px; box-shadow: 0 18px 44px rgba(16,36,62,.20); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 80; }
.drop-menu::before { content: ""; position: absolute; top: -11px; left: 0; right: 0; height: 11px; }
.nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-header nav .drop-menu a { color: #10243e; margin-left: 0; font-size: 14.5px; font-weight: 600; padding: 8px 10px; border-radius: 8px; display: block; }
.site-header nav .drop-menu a:hover { background: #eef3fd; color: #0b5cad; text-decoration: none; }
@media (max-width: 640px) { .drop-menu { width: min(232px, 94vw); } }
.pv-perf{margin:14px 0 4px}
.pv-perf-claim{font-size:1.05rem;margin:0 0 10px;color:#e8eef6}
.pv-perf-claim b{color:#5ea9ff;font-weight:800}
.pv-perf-claim .rank{color:#9fb2c8;font-size:.9rem;font-weight:500}
.pv-perf-track{position:relative;height:26px;background:linear-gradient(90deg,#f1f3f6,#e9edf3);border-radius:8px}
.pv-perf-fill{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#09C400 0%,#0D9E6E 142.45%);border-radius:8px}
.pv-perf-dot{position:absolute;top:50%;margin-top:-9px;width:14px;height:14px;border-radius:50%;background:#10243e;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transform:translateX(-50%);z-index:2}
.pv-perf-tag{position:absolute;top:50%;transform:translate(-50%,-50%);font-size:.74rem;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);white-space:nowrap;z-index:1}
.pv-perf-tag.dim{color:#10243e;text-shadow:none}
.cmp-tool .szrow{display:flex;align-items:flex-end;justify-content:center;gap:26px;flex-wrap:wrap;padding:10px 0 2px}
.cmp-tool .szph{display:flex;flex-direction:column;align-items:center}
.cmp-tool .szname{font-size:.78rem;font-weight:700;color:#10243e;margin-bottom:8px;text-align:center;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-tool .szbox{border:2.5px solid;border-radius:13px;position:relative;box-shadow:0 2px 10px rgba(16,36,62,.08)}
.cmp-tool .szscr{position:absolute;inset:5px;border:1px solid;opacity:.35;border-radius:7px}
.cmp-tool .szcap{font-size:.73rem;color:#6b7786;margin-top:8px;text-align:center;line-height:1.3}
.cmp-tool .szcap b{color:#10243e}
.cmp-tool td.v.na{color:#9aa5b3;font-style:italic;font-weight:400;font-size:.78rem}
.chip-page{max-width:70%;margin-left:auto;margin-right:auto}
@media (max-width:760px){.chip-page{max-width:100%}}
.cmp-tool .pick{position:relative;flex:1;min-width:0}
.cmp-tool .pick-in{width:100%;min-width:0;padding:10px 12px;border:1.5px solid var(--line-2);border-radius:10px;font-size:.9rem;font-weight:600;color:var(--navy);background:#fff}
.cmp-tool .pick-in:focus{outline:none;border-color:#0076FF;box-shadow:0 0 0 3px #eef3fd}
.cmp-tool .pick-list{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e3e9f0;border-radius:12px;box-shadow:0 18px 44px rgba(16,36,62,.20);padding:6px;z-index:60;max-height:320px;overflow:auto}
.cmp-tool .pick-item{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:none;border:none;padding:7px 8px;border-radius:8px;cursor:pointer;font-size:.88rem;font-weight:600;color:#10243e}
.cmp-tool .pick-item:hover,.cmp-tool .pick-item.act{background:#eef3fd}
.cmp-tool .pick-item img{width:22px;height:30px;object-fit:contain;flex:none}
.cmp-tool .pick-item .pn{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-tool .pick-score{color:#0b5cad;font-size:.78rem;font-weight:700}
.cmp-tool .pick-none{padding:9px 10px;font-size:.84rem;color:#9aa5b3;font-style:italic}
.nav-toggle{display:inline-flex;align-items:center;gap:7px}
.nav-ico{width:17px;height:17px;flex:none;opacity:.92}

/* Breadcrumb trang máy (brief 07) */
.pv-crumb { font-size: 13px; color: #1b2432; padding: 8px 0 2px; transition: transform .25s ease, opacity .25s ease; }
.pv-crumb a { color: #0b5cad; text-decoration: none; }
.pv-crumb a:hover { text-decoration: underline; }
.pv-crumb span { color: #9aa5b3; margin: 0 2px; }
.pv-crumb .cur { color: #6b7786; margin: 0; }
.pv-crumb.hide { transform: translateY(-6px); opacity: 0; pointer-events: none; }
/* Ô điểm mạnh/yếu dạng thẻ (demo brief 06-A) */
.v-tags { padding: 10px 0 4px; }
.v-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.v-lab { font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; margin-right: 2px; }
.v-lab.good { color: #0d7a43; }
.v-lab.bad { color: #b3541e; }
.vtag { font-size: 13px; line-height: 1.35; padding: 3px 9px; border-radius: 999px; background: #fff; }
.vtag.good { color: #0d7a43; border: 1px solid #9fd8b4; }
.vtag.good.pct { background: #d9e9fb; border-color: #b9d4f5; color: #0b5cad; font-weight: 600; }
.vtag.bad { color: #b3541e; border: 1px solid #f0cf9f; background: #fffaf2; }
.v-fit { margin: 8px 0 4px; font-size: 14.5px; }

/* === Trang cặp mẫu v2 (đồng bộ giao diện công cụ so sánh) — đang chờ duyệt === */
.pv2-heads{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 18px}
.pv2-card{border:1px solid #e9edf3;border-radius:14px;padding:16px 12px 14px;text-align:center;background:#fff;box-shadow:0 1px 2px rgba(16,39,66,.04),0 4px 16px rgba(16,39,66,.05);position:relative;overflow:hidden}
.pv2-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#1b74c9}
.pv2-card.lead::before{background:#10243e}
.pv2-imgbox{height:150px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.pv2-imgbox img{max-height:150px;max-width:96%;object-fit:contain}
.pv2-plink{text-decoration:none}
.pv2-plink:hover .pv2-nm{color:#0076FF;text-decoration:underline}
.pv2-nm{font-weight:700;color:#10243e;font-size:.95rem;line-height:1.25;min-height:2.4em;display:flex;align-items:center;justify-content:center}
.pv2-chip{color:#6b7786;font-size:.78rem;margin-top:4px}
.pv2-size{background:#fff;border:1px solid #d7e0ec;border-radius:14px;padding:16px 18px;margin:0 0 18px}
.pv2-size h2{margin-top:0}
.pv2-szrow{display:flex;align-items:flex-end;justify-content:center;gap:26px;flex-wrap:wrap;padding:10px 0 2px}
.pv2-szph{display:flex;flex-direction:column;align-items:center}
.pv2-szname{font-size:.78rem;font-weight:700;color:#10243e;margin-bottom:8px;text-align:center;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv2-szbox{border:2.5px solid;border-radius:13px;position:relative;box-shadow:0 2px 10px rgba(16,36,62,.08)}
.pv2-szscr{position:absolute;inset:5px;border:1px solid;opacity:.35;border-radius:7px}
.pv2-szcap{font-size:.73rem;color:#6b7786;margin-top:8px;text-align:center;line-height:1.3}
.vs-table.v2 thead th{background:#eef3fd;color:#10243e;border-bottom:2px solid #0076FF;position:sticky;top:0;z-index:5}
.vs-table.v2 td.na{color:#9aa5b3;font-style:italic}
@media (max-width:560px){.pv2-imgbox{height:110px}.pv2-imgbox img{max-height:110px}}

.pv2-reasons{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pv2-rbox{border:1px solid #d7e0ec;border-radius:12px;padding:14px 16px;background:#fff}
.pv2-rbox h3{margin:0 0 8px;font-size:1rem;color:#10243e}
.pv2-rbox ul{margin:0;padding:0;list-style:none}
.pv2-rbox li{padding:4px 0 4px 22px;position:relative;line-height:1.45}
.pv2-rbox li::before{content:"✓";position:absolute;left:0;color:#0d7a43;font-weight:700}
@media (max-width:640px){.pv2-reasons{grid-template-columns:1fr}}

.pv2-rlink{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #eef1f5;text-decoration:none;color:#0b5cad;font-weight:600;font-size:.92rem}
.pv2-rlink img{height:40px;width:auto;object-fit:contain}
.pv2-rlink:hover span{text-decoration:underline;color:#0076FF}
.cmp-tool .delta.up{color:#0d7a43}

.vs-table.v2 thead th:not(:first-child){color:#0076FF}

/* Trang chủ: công cụ ở chế độ chờ — chỉ hiện kết quả sau khi bấm So sánh */
.cmp-go{display:block;width:100%;margin-top:14px;padding:14px 20px;border:0;border-radius:12px;background:linear-gradient(180deg,#1b74c9,#0b5cad);color:#fff;font-size:1.05rem;font-weight:700;cursor:pointer;box-shadow:0 4px 14px rgba(11,92,173,.25)}
.cmp-go:hover{background:linear-gradient(180deg,#2a83d8,#0b5cad)}
.cmp-tool.gated #result,.cmp-tool.gated .foot{display:none}
.cmp-tool.gated .barfoot .toggle{visibility:hidden}
.cmp-tool:not(.gated) .cmp-go{display:none}

.cmp-tool .tbl thead th:not(:first-child){color:#0076FF}

/* Công cụ: bảng thông số y chang trang cặp — đầu bảng stick được + cột nhãn đậm nền xám nhạt */
.cmp-tool .tbl{overflow:visible}
.cmp-tool thead th:first-child{border-top-left-radius:13px}
.cmp-tool thead th:last-child{border-top-right-radius:13px}
.cmp-tool tbody tr:last-child td:first-child{border-bottom-left-radius:13px}
.cmp-tool tbody tr:last-child td:last-child{border-bottom-right-radius:13px}
.cmp-tool td.lbl{background:#f0f4f9;font-weight:600;width:26%;color:#1a1a2e}

.home-links{padding:6px 0 2px;text-align:center}
.home-links p{color:#6b7786;font-size:.95rem}
.home-links a{color:#0b5cad;font-weight:600;text-decoration:none;white-space:nowrap}
.home-links a:hover{color:#0076FF;text-decoration:underline}

.home-more-row{text-align:center;margin:14px 0 4px}
.home-more{color:#0b5cad;font-weight:600;font-size:1rem;text-decoration:none}
.home-more:hover{color:#0076FF;text-decoration:underline}

/* Trang chủ: các khối chính nằm trong thẻ trắng nổi rõ trên nền xám (hết chìm/phẳng) */
.tool-panel{background:#fff;border:1px solid #d7e0ec;border-radius:16px;box-shadow:0 6px 22px rgba(16,36,62,.08);padding:22px 22px 20px;margin-top:20px}
.tool-panel>h2{margin-top:0}
.home-tops>section{background:#fff;border:1px solid #d7e0ec;border-radius:14px;box-shadow:0 3px 12px rgba(16,36,62,.06);padding:16px 18px 10px}
.home-tops>section>h2{margin-top:0}
@media (max-width:640px){.tool-panel{padding:16px 14px}}

/* Huy chương hạng 1: bỏ nền tròn xanh phía sau (ghi đè rule first-child ở trên) */
.top-list li:nth-child(1)::before { background: none; }
