.card-l { position: relative; }
.fv-btns { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
[dir="rtl"] .fv-btns { right: auto; left: 12px; }
.fv-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #1d2939; background: rgba(255, 255, 255, .88); border: 0; box-shadow: 0 4px 14px rgba(16, 24, 40, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .18s, background .18s, color .18s;
}
.fv-btn .ic { width: 18px; height: 18px; }
.fv-btn:hover { transform: scale(1.08); }
.fv-btn:active { transform: scale(.94); }
.fv-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.fv-btn[data-fv-heart][aria-pressed="true"] { color: #fff; background: #e11d48; }
.fv-btn[data-fv-heart][aria-pressed="true"] .ic { fill: currentColor; }
.fv-btn[data-fv-cmp][aria-pressed="true"] { color: #fff; background: var(--brand); }
.fv-btn.pop { animation: fv-pop .42s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes fv-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

.fv-slot { display: inline-flex; gap: 6px; }
.fv-slot .btn[aria-pressed="true"][data-fv-heart] { color: #e11d48; border-color: #fecdd6; background: #fff1f3; }
.fv-slot .btn[aria-pressed="true"][data-fv-heart] .ic { fill: currentColor; }
.fv-slot .btn[aria-pressed="true"][data-fv-cmp] { color: var(--brand); border-color: currentColor; }

.fv-nav { position: relative; }
.fv-nav em {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; color: #fff; background: #e11d48;
}
.fv-nav em[hidden], .fv-navlink em[hidden] { display: none; }
.fv-navlink { display: none !important; }
@media (max-width: 900px) {
  .fv-navlink { display: flex !important; align-items: center; gap: 10px; }
  .fv-navlink .ic { width: 18px; height: 18px; color: #e11d48; }
  .fv-navlink em { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; font-style: normal; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; color: #fff; background: #e11d48; }
}
@media (max-width: 640px) { .s-actions .fv-nav { display: none; } }

body.sm-site .fv-tray, body.rl-site .fv-tray { display: none !important; }
body.fv-tray-on .toast-wrap { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 900px) { body.detail.fv-tray-on .toast-wrap { bottom: calc(160px + env(safe-area-inset-bottom, 0px)); } }
.fv-tray {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70;
  width: min(640px, calc(100% - 24px)); animation: fv-rise .3s cubic-bezier(.2, .9, .3, 1.2);
}
.fv-tray-in {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(16, 24, 40, .22);
}
.fv-tray-items { display: flex; }
.fv-tray-items span { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; border: 2px solid var(--surface); background: var(--bg-2); display: grid; place-items: center; }
.fv-tray-items span + span { margin-left: -10px; }
.fv-tray-items img { width: 100%; height: 100%; object-fit: cover; }
.fv-tray-text { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.fv-tray-text b { font-size: 15px; color: var(--ink); }
.fv-tray-text small { color: var(--muted); font-size: 12.5px; }
@keyframes fv-rise { from { opacity: 0; transform: translate(-50%, 16px); } }
body.detail .fv-tray { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 901px) { body.detail .fv-tray { bottom: 18px; } }
@media (max-width: 520px) { .fv-tray-in .btn-ghost { display: none; } .fv-tray-items span:nth-child(n+3) { display: none; } }

.fv-page { padding-bottom: 120px; }
.fv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 6px 0 22px; }
.fv-head h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fv-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fv-skel .cl-img { aspect-ratio: 4 / 3; }
.fv-skel .cl-body { display: grid; gap: 10px; }
.fv-empty { text-align: center; }

.fv-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.fv-table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.fv-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: calc(170px + var(--cols) * 210px); }
.fv-table th, .fv-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; }
[dir="rtl"] .fv-table th, [dir="rtl"] .fv-table td { text-align: right; }
.fv-table tbody th {
  position: sticky; left: 0; z-index: 2; width: 170px; background: var(--surface); color: var(--muted); font-weight: 600; font-size: 13.5px;
  box-shadow: 1px 0 0 var(--line);
}
[dir="rtl"] .fv-table tbody th { left: auto; right: 0; }
.fv-th { display: inline-flex; align-items: center; gap: 7px; }
.fv-table tbody th .ic { width: 15px; height: 15px; flex: none; }
.fv-table thead th { position: sticky; top: 0; z-index: 3; background: var(--surface); vertical-align: bottom; }
.fv-table thead th.fv-corner { left: 0; z-index: 4; color: var(--muted); font-size: 13px; font-weight: 600; }
.fv-col { position: relative; display: grid; gap: 10px; }
.fv-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.fv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fv-thumb:hover img { transform: scale(1.04); }
.fv-thumb span { display: grid; place-items: center; height: 100%; color: var(--muted); }
.fv-name { font-weight: 700; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fv-x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #1d2939; box-shadow: 0 2px 8px rgba(16, 24, 40, .18); cursor: pointer; }
.fv-x .ic { width: 16px; height: 16px; }
.fv-table td b { color: var(--ink); font-weight: 700; }
.fv-alt { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.fv-no { color: var(--muted); }
.fv-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #12B76A; }
.fv-yes .ic { width: 14px; height: 14px; }
.fv-yes + small { margin-left: 6px; color: var(--muted); }
.fv-best { background: color-mix(in srgb, #12B76A 9%, transparent); }
.fv-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #027A48; background: #D1FADF; }
.fv-cta td, .fv-cta th { border-bottom: 0; }
.fv-cta .btn { width: 100%; justify-content: center; }
.fv-table tr[hidden] { display: none; }
.fv-diff { font-size: 14px; }
@media (max-width: 640px) {
  .fv-table { min-width: calc(118px + var(--cols) * 168px); }
  .fv-table tbody th { width: 118px; font-size: 12.5px; padding: 11px 10px; }
  .fv-table th, .fv-table td { padding: 11px 12px; font-size: 13.5px; }
}
.fv-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fv-back:hover { color: var(--ink); }
.fv-back .ic { width: 16px; height: 16px; }
