.shortsPage,.sellerPage,.shortsGridPage,.shortsWatchPage{display:flex;flex-direction:column;gap:18px}
.shortsNotice,.shortsEmpty,.marketplaceEmptyRow{padding:18px 20px}
.shortsNotice p,.shortsEmpty p,.marketplaceEmptyRow p{color:var(--muted);margin:.4rem 0 0}
.shortsFlashStack{display:grid;gap:10px}
.shortsFlash{padding:12px 16px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.03)}
.shortsFlash--success{border-color:rgba(63,217,179,.35);background:rgba(63,217,179,.10)}
.shortsFlash--error,.shortsFlash--danger{border-color:rgba(255,75,106,.35);background:rgba(255,75,106,.08)}

.shortsGridHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}
.shortsGridHeader__title{display:flex;align-items:center;gap:10px}
.shortsGridHeader__title h1{margin:0;font-size:clamp(24px,3vw,34px)}
.shortsGridHeader__title span{padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.04);font-weight:800}
.shortsFilterBar{display:grid;gap:14px;padding:16px 18px}
.shortsFilterBar__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.shortsFilterBar__title{font-size:14px;font-weight:800}
.shortsFilterBar__meta{font-size:12px;color:var(--muted);margin-top:4px}
.shortsFilterBar__count{min-width:34px;height:34px;border-radius:999px;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:rgba(255,255,255,.04)}
.shortsFilterBar__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.shortsFilterBar__field{display:grid;gap:6px;min-width:0}
.shortsFilterBar__field span{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.shortsFilterBar__field input,.shortsFilterBar__field select{height:42px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text);padding:0 14px;font:inherit;min-width:0}
[data-theme="light"] .shortsFilterBar__field input,[data-theme="light"] .shortsFilterBar__field select{background:rgba(17,42,88,.04)}
.shortsFilterBar__field--search{grid-column:span 2}
.shortsFilterBar__actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}
.shortsFilterBar__actions .btn{height:42px}
.shortsGridSection{display:grid;gap:12px}
.shortsGridSection__heading{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.shortsGrid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:stretch}
.shortsGridCard{display:grid;grid-template-rows:auto 1fr;border-radius:22px;border:1px solid var(--border);background:rgba(255,255,255,.03);overflow:hidden;min-height:100%;height:100%}
.shortsGridCard.is-boosted{box-shadow:0 0 0 1px rgba(255,179,71,.26) inset}
.shortsGridCard__media{position:relative;display:block;aspect-ratio:9/16;background:#000}
.shortsGridCard__media video,.shortsGridCard__media img{width:100%;height:100%;object-fit:cover;display:block}
.shortsGridCard__badge{position:absolute;top:10px;left:10px;padding:6px 10px;border-radius:999px;background:rgba(255,179,71,.18);border:1px solid rgba(255,179,71,.4);backdrop-filter:blur(10px);font-size:11px;font-weight:800;color:#fff}
.shortsGridCard__body{padding:12px;display:grid;grid-template-rows:auto auto auto 1fr auto;gap:6px;min-height:150px}
.shortsGridCard__meta,.marketplaceShortCard__meta{font-size:12px;color:var(--muted)}
.shortsGridCard__title,.marketplaceShortCard__title{font-weight:800;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.6em}
.shortsGridCard__caption{margin:0;font-size:13px;color:var(--text);line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em}
.shortsGridCard__footer,.marketplaceShortCard__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-top:auto}.shortsGridCard__meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em}

.shortsWatchRail{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shortsWatchRail__back,.shortsWatchRail__post{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.03)}
.shortsWatchViewport{display:flex;flex-direction:column;gap:0;max-height:calc(100vh - 120px);overflow-y:auto;scroll-snap-type:y mandatory;border-radius:28px}
.shortFrame{position:relative;scroll-snap-align:start;min-height:calc(100vh - 120px);background:#050814;border-radius:28px;overflow:hidden}
.shortFrame__media{position:relative;width:min(100%,560px);height:calc(100vh - 120px);margin:0 auto;background:#000}
.shortFrame__video,.shortFrame__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shortFrame__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.05) 35%,rgba(0,0,0,.80) 100%)}
.shortFrame__progress{position:absolute;left:14px;right:14px;top:14px;height:4px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden;z-index:3}
.shortFrame__progress span{display:block;width:0;height:100%;background:#fff}
.shortFrame__mute{position:absolute;top:26px;right:18px;z-index:4;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(7,11,25,.55);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer}
.shortFrame__content{position:absolute;left:18px;right:90px;bottom:18px;z-index:4;display:grid;gap:8px}
.shortFrame__seller{display:flex;align-items:center;gap:10px}
.shortAvatar{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#050814;font-weight:800}
.shortSellerMeta__name{display:block;color:#fff;font-weight:700}
.shortSellerMeta__sub{font-size:12px;color:rgba(255,255,255,.75)}
.shortFrame__title{font-size:clamp(22px,2.6vw,30px);font-weight:800;color:#fff;text-shadow:0 4px 16px rgba(0,0,0,.55)}
.shortFrame__caption{margin:0;max-width:92%;color:#fff;line-height:1.5}
.shortFrame__price{font-size:18px;font-weight:800;color:#fff}
.shortFrame__rail{position:absolute;right:16px;bottom:20px;z-index:4;display:flex;flex-direction:column;gap:10px}
.shortRail__form{display:block}
.shortRail__btn,.shortViews{width:72px;min-height:72px;border-radius:22px;padding:10px 8px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px);background:rgba(7,11,25,.55);cursor:pointer}
.shortRail__btn.is-active{border-color:rgba(255,179,71,.55);background:rgba(255,179,71,.16)}
.shortRail__btn span{font-size:20px;line-height:1}
.shortRail__btn small,.shortViews small{font-size:11px;color:rgba(255,255,255,.78)}
.shortsWatchLoader{padding:12px 0;color:var(--muted);text-align:center}

.sellerHero{padding:0;display:block}
.sellerHero__cover{height:168px;background:linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(var(--accent2-rgb),.12));background-size:cover;background-position:center}
.sellerHero__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;padding:0 22px 22px;margin-top:-38px;align-items:end;position:relative;z-index:1}
.sellerHero__avatarWrap{display:flex;align-items:flex-end}
.sellerHero__avatar{width:92px;height:92px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#050814;font-size:34px;font-weight:800;border:4px solid var(--panel)}
.sellerHero__avatar--image{object-fit:cover}
.sellerHero__meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:13px}
.sellerHero__stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.sellerHero__stat{padding:10px 12px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.03);display:grid;gap:2px;min-width:106px}
.sellerHero__stat strong{font-size:22px;line-height:1}
.sellerHero__stat span{font-size:12px;color:var(--muted)}
.sellerGrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px}
.sellerPanel{padding:18px}
.sellerPanel__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.sellerPanel h2{margin:0;font-size:24px}
.sellerPanel__empty{color:var(--muted);margin:0}
.sellerShortGrid,.sellerListingGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sellerShortCard,.sellerListingCard{border-radius:20px;border:1px solid var(--border);background:rgba(255,255,255,.03);overflow:hidden}
.sellerShortCard__media,.sellerListingCard__media{display:block;aspect-ratio:9/16;background:#000}
.sellerShortCard__media video,.sellerShortCard__media img,.sellerListingCard__media img{width:100%;height:100%;object-fit:cover;display:block}
.sellerShortCard__body,.sellerListingCard__body{padding:12px}
.sellerShortCard__title,.sellerListingCard__title{display:block;font-weight:800;margin-bottom:6px}
.sellerShortCard__body p{margin:0 0 6px;color:var(--muted);line-height:1.45}
.sellerShortCard__meta,.sellerListingCard__meta{font-size:12px;color:var(--muted);margin-bottom:6px}
.sellerShortCard__price,.sellerListingCard__price{font-weight:800}

@media (max-width:1100px){.shortsFilterBar__grid{grid-template-columns:repeat(2,minmax(0,1fr));}.shortsFilterBar__field--search{grid-column:span 2;}.shortsFilterBar__actions{justify-content:flex-start;}}
@media (max-width:640px){.shortsFilterBar{padding:14px}.shortsFilterBar__head{flex-direction:column;align-items:flex-start}.shortsFilterBar__grid{grid-template-columns:1fr}.shortsFilterBar__field--search{grid-column:auto}.shortsFilterBar__actions{width:100%;justify-content:stretch}.shortsFilterBar__actions .btn{flex:1 1 auto;justify-content:center}}
@media (max-width:1600px){.shortsGrid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media (max-width:1400px){.shortsGrid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:1200px){.shortsGrid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:960px){.shortsGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.sellerGrid{grid-template-columns:1fr}.sellerShortGrid,.sellerListingGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .shortsGridHeader{flex-direction:column;align-items:flex-start}
  .shortsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shortFrame{min-height:calc(100vh - 80px)}
  .shortFrame__media{width:100%;height:calc(100vh - 80px)}
  .shortFrame__content{right:16px}
  .shortFrame__rail{right:10px}
  .shortRail__btn{width:64px;min-height:64px}
  .sellerHero__inner{display:flex;flex-direction:column;align-items:flex-start;padding:0 16px 18px}
}
@media (max-width:520px){
  .shortsGrid{grid-template-columns:1fr 1fr}
  .shortFrame__title{font-size:22px}
  .shortFrame__caption{max-width:100%}
  .sellerShortGrid,.sellerListingGrid{grid-template-columns:1fr}
}


/* ==== R6 shorts grid density + equal cards ==== */
.shortsGrid{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;grid-auto-rows:1fr;align-items:stretch}
.shortsGridCard{height:100%;grid-template-rows:auto minmax(132px,auto)}
.shortsGridCard__media{aspect-ratio:9/16;min-height:0}
.shortsGridCard__body{padding:10px;display:grid;grid-template-rows:2.6em 2.7em 2.9em auto;gap:5px;min-height:132px;align-content:start}
.shortsGridCard__meta{font-size:11px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;max-height:2.6em}
.shortsGridCard__title{font-size:13px;line-height:1.35;min-height:2.7em;max-height:2.7em}
.shortsGridCard__caption{font-size:12px;line-height:1.35;min-height:2.9em;max-height:2.9em}
.shortsGridCard__footer{margin-top:auto;min-height:1.6em;align-items:flex-end}
.shortsGridCard__footer strong,.shortsGridCard__footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}
@media (max-width:1280px){.shortsGrid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:960px){.shortsGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.shortsGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.shortsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.shortsGridCard__body{min-height:118px;grid-template-rows:2.4em 2.6em 2.7em auto;padding:8px}}

/* shorts v11: hero+filters as one block, homepage-style video cards, better mobile watch */
.shortsHero{position:relative;overflow:hidden;padding:18px;border-radius:28px;background:linear-gradient(180deg,rgba(7,18,35,.78),rgba(7,18,35,.88)),url('/assets/img/marketplace-collage-dark.webp') center/cover no-repeat!important;border:1px solid rgba(255,255,255,.10);box-shadow:0 28px 80px rgba(0,0,0,.34)}
.shortsHero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 18% 10%,rgba(45,140,255,.22),transparent 28%),radial-gradient(circle at 84% 12%,rgba(255,179,71,.16),transparent 18%);pointer-events:none}.shortsHero>*{position:relative;z-index:1}.shortsHero .shortsGridHeader{padding:0 0 16px;background:transparent;border:0;box-shadow:none}.shortsHero .shortsFilterBar{padding:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);border-radius:22px;box-shadow:none}.shortsFilterBar__field select,.shortsFilterBar__field input{background:rgba(5,12,24,.72);border:1px solid rgba(255,255,255,.12);color:#fff;border-radius:14px}.shortsFilterBar__field select option{background:#0b1627;color:#fff}.shortsFilterBar__field span,.shortsFilterBar__title{color:#f6fbff}.shortsFilterBar__meta{color:#a7b7ca}:root[data-theme="light"] .shortsHero{background:linear-gradient(180deg,rgba(7,18,35,.58),rgba(7,18,35,.72)),url('/assets/img/marketplace-collage-dark.webp') center/cover no-repeat!important}:root[data-theme="light"] .shortsFilterBar__field select,:root[data-theme="light"] .shortsFilterBar__field input{background:rgba(255,255,255,.9);border-color:rgba(16,33,58,.14);color:#10213a}:root[data-theme="light"] .shortsFilterBar__field select option{background:#fff;color:#10213a}.shortsGrid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}.shortsGridCard{position:relative;display:block;aspect-ratio:9/16;border-radius:20px;overflow:hidden;background:#09111e;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 50px rgba(0,0,0,.30);height:auto!important;min-height:0!important}.shortsGridCard__media{position:absolute;inset:0;aspect-ratio:auto!important;display:block}.shortsGridCard__media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.05) 32%,rgba(0,0,0,.80));z-index:1}.shortsGridCard__media video,.shortsGridCard__media img{width:100%;height:100%;object-fit:cover}.shortsGridCard__badge{z-index:2;background:rgba(0,0,0,.42);border-color:rgba(255,255,255,.16)}.shortsGridCard__body{position:absolute;z-index:3;left:12px;right:12px;bottom:12px;padding:0!important;display:block!important;min-height:0!important;color:#fff}.shortsGridCard__meta{font-size:11px!important;line-height:1.35;min-height:0!important;max-height:none!important;color:#d3deea!important;margin-bottom:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shortsGridCard__title{font-size:15px!important;line-height:1.15!important;min-height:0!important;max-height:none!important;color:#fff!important;margin-bottom:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shortsGridCard__caption{display:none!important}.shortsGridCard__footer{display:flex!important;gap:8px;align-items:center;justify-content:space-between;min-height:0!important;color:#fff!important}.shortsGridCard__footer strong,.shortsGridCard__footer span{font-size:11px;max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shortsWatchPage{gap:10px}.shortsWatchViewport{border-radius:22px;max-height:calc(100vh - 88px)}.shortFrame{min-height:calc(100vh - 88px);border-radius:22px;background:transparent}.shortFrame__media{width:min(100%,520px);height:calc(100vh - 88px);border-radius:22px;overflow:hidden}.shortRail__btn,.shortViews{background:transparent!important;border:0!important;box-shadow:0 10px 24px rgba(0,0,0,.20)!important;backdrop-filter:none!important;text-shadow:0 2px 10px rgba(0,0,0,.75)}.shortRail__btn span{font-size:24px}.shortRail__btn small,.shortViews small{color:#fff;font-weight:800}.shortFrame__rail{right:12px;bottom:76px}.shortsWatchRail{position:sticky;top:8px;z-index:8}.shortsWatchRail__back,.shortsWatchRail__post{background:rgba(7,11,25,.72);backdrop-filter:blur(14px);color:#fff;border-color:rgba(255,255,255,.12)}@media (max-width:1180px){.shortsGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}@media (max-width:980px){.shortsGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (max-width:760px){.shortsGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.shortsHero{padding:14px;border-radius:22px}.shortsGridHeader{flex-direction:column;align-items:flex-start}.shortsGridHeader__title h1{font-size:28px}.shortsFilterBar__grid{grid-template-columns:1fr}.shortsWatchPage{position:fixed;inset:0;z-index:120;background:#050814;padding:0!important;margin:0!important}.shortsWatchRail{position:absolute;top:8px;left:8px;right:8px;z-index:20}.shortsWatchViewport{height:100dvh!important;max-height:100dvh!important;border-radius:0}.shortFrame{min-height:100dvh!important;border-radius:0}.shortFrame__media{height:100dvh!important;width:100%!important;max-width:none!important;border-radius:0}.shortFrame__content{left:16px;right:82px;bottom:24px}.shortFrame__rail{right:8px;bottom:92px}.shortRail__btn,.shortViews{width:58px;min-height:58px;padding:6px}.shortRail__btn small{font-size:10px}.shortFrame__mute{top:52px}}
@media (max-width:520px){.shortsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* shorts v14: compact price chip on short cards */
.shortsGridCard__priceChip{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:4;
  max-width:58%;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(5,12,24,.74);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  text-shadow:0 1px 8px rgba(0,0,0,.55);
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  backdrop-filter:blur(10px);
}
.shortsGridCard__body{bottom:30px!important;}
@media (max-width:760px){
  .shortsGridCard__priceChip{font-size:9px;right:8px;bottom:8px;max-width:68%;}
  .shortsGridCard__body{bottom:28px!important;}
}
:root[data-theme="light"] .shortsGridCard__priceChip,
html[data-theme="light"] .shortsGridCard__priceChip{
  background:rgba(15,23,42,.72);
  color:#fff;
  border-color:rgba(255,255,255,.22);
}

/* ==========================================================
   v31 consolidated legacy patch rules (merged from old vXX override files).
   Keep this inside the existing source file; do not load duplicate CSS files.
   ========================================================== */

/* ---- merged from public/assets/css/shorts_v25_fix.css ---- */
/* v25: short videos are muted previews until user action; watch page shows real video without cropping. */
.homeV2ShortCard__media video,.shortsGridCard__media video,.vehicle-category-short-card__media video,.boat-short-card__media video{pointer-events:none;}
.shortFrame__video,.shortFrame__poster{object-fit:contain!important;background:#000;}
.shortFrame__rail{gap:8px!important;}
.shortRail__btn,.shortViews{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;text-shadow:0 2px 12px rgba(0,0,0,.85)!important;}
.shortRail__btn:hover{transform:scale(1.04)}
.shortFrame__mute{background:rgba(0,0,0,.36)!important;border:0!important;box-shadow:none!important;}
html[data-theme="light"] .shortsHero .shortsGridHeader__title h1,
html[data-theme="light"] .shortsHero .shortsFilterBar__title,
html[data-theme="light"] .shortsHero .shortsFilterBar__field span{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.55)}
html[data-theme="light"] .shortsHero .shortsFilterBar__meta{color:rgba(255,255,255,.82)!important;}
.shortsGridCard__media video{object-fit:cover!important;}
@media(max-width:760px){.shortsWatchPage{background:#050814!important}.shortsWatchViewport{height:100dvh!important}.shortFrame__media{height:100dvh!important}.shortFrame__rail{right:4px!important;bottom:74px!important}.shortRail__btn{width:54px!important;min-height:54px!important}.shortsWatchRail__post{display:none!important}.shortsWatchRail__back{background:rgba(0,0,0,.38)!important;border:0!important}}

/* ---- merged from public/assets/css/shorts_v26_media.css ---- */
/* v26: short previews and feed cards. Preview cards never emit sound; watch page can play full video. */
.homeV2ShortCard video,
.shortsGridCard video,
.vehicle-category-short-card video,
.boat-short-card video{
  display:block;width:100%;height:100%;object-fit:cover;background:#07111f;
}
.homeV2ShortCard video::-webkit-media-controls,
.shortsGridCard video::-webkit-media-controls,
.vehicle-category-short-card video::-webkit-media-controls,
.boat-short-card video::-webkit-media-controls{display:none!important;}
.shortsGrid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;}
.shortsGridCard{position:relative;aspect-ratio:9/16;border-radius:20px!important;overflow:hidden!important;background:#07111f!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 18px 50px rgba(0,0,0,.22)!important;}
.shortsGridCard__media{position:absolute!important;inset:0!important;display:block!important;background:#07111f!important;overflow:hidden!important;}
.shortsGridCard__media img,.shortsGridCard__media video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.shortsGridCard__media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.02) 34%,rgba(0,0,0,.78));pointer-events:none;}
.shortsGridCard__badge,.shortsGridCard__playBadge,.shortsGridCard__priceChip{position:absolute;z-index:3;border-radius:999px;background:rgba(5,12,24,.72);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:10px;font-weight:900;padding:5px 8px;backdrop-filter:blur(8px);}
.shortsGridCard__badge{top:10px;left:10px}.shortsGridCard__playBadge{top:10px;right:10px}.shortsGridCard__priceChip{right:10px;bottom:10px;max-width:72%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.shortsGridCard__overlayInfo{position:absolute;z-index:3;left:12px;right:12px;bottom:38px;display:grid;gap:3px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.55);}
.shortsGridCard__overlayInfo .shortsGridCard__meta{font-size:11px;font-weight:800;color:rgba(255,255,255,.82);line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.shortsGridCard__overlayInfo strong{font-size:16px;line-height:1.1;font-weight:950;letter-spacing:-.03em;}
.shortsGridCard__overlayInfo small{font-size:11px;font-weight:800;color:rgba(255,255,255,.78)}
.shortsGridCard__actions{position:absolute;z-index:4;left:10px;bottom:9px;display:flex;gap:6px;align-items:center;}
.shortsGridCard__miniForm{display:inline-flex;margin:0;}
.shortsGridCard__iconBtn{height:24px;min-width:38px;padding:0 7px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(5,12,24,.72);color:#fff;display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:900;text-decoration:none;backdrop-filter:blur(8px);cursor:pointer;}
.shortsGridCard__iconBtn span{line-height:1}.shortsGridCard__iconBtn small{font:inherit;color:inherit}.shortsGridCard__iconBtn.is-active{background:linear-gradient(135deg,#38bdf8,#facc15);color:#06111d;}
.shortsGridCard__body{display:none!important;}
.shortFrame__video--embed{border:0;width:100%;height:100%;background:#000;}
.shortFrame__video{background:#000;}
.shortFrame__mute{background:rgba(5,12,24,.62)!important;color:#fff!important;}
.createShortVideoPreview__embed{width:100%;aspect-ratio:9/16;border:0;border-radius:18px;background:#000;display:block;}
html[data-theme="light"] .shortsGridCard{background:#f8fafc!important;border-color:rgba(15,23,42,.10)!important;}
@media(max-width:1240px){.shortsGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:820px){.shortsGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:560px){.shortsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
.vehicle-category-short-card__stats,.boat-short-card__stats{position:absolute;z-index:3;left:10px;bottom:10px;right:88px;border-radius:999px;background:rgba(5,12,24,.70);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:10px;font-weight:900;padding:5px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(8px);}
.vehicle-category-short-card__price,.boat-short-card__price{bottom:10px!important;}

/* ---- merged from public/assets/css/shorts_v27_polish.css ---- */
/* v27: short price-on-request layout, muted previews and create-short polish. */
.homeV2ShortCard__media video,
.shortsGridCard__media video,
.vehicle-category-short-card__media video,
.boat-short-card__media video{
  pointer-events:none!important;
}
.homeV2ShortCard__caption{right:12px!important;bottom:32px!important;}
.homeV2ShortPriceChip{z-index:5!important;right:10px!important;bottom:8px!important;max-width:46%!important;font-size:10px!important;line-height:1!important;padding:5px 8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.homeV2ShortCard__caption small{display:block!important;max-width:50%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.shortsGridCard__priceChip{right:10px!important;bottom:8px!important;max-width:46%!important;font-size:10px!important;line-height:1!important;padding:5px 8px!important;}
.shortsGridCard__overlayInfo{bottom:38px!important;}
.shortsGridCard__actions{left:10px!important;right:auto!important;bottom:8px!important;gap:8px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.shortsGridCard__miniForm{display:inline-flex!important;margin:0!important;}
.shortsGridCard__iconBtn{height:auto!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;text-shadow:0 2px 9px rgba(0,0,0,.75)!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:3px!important;font-size:11px!important;font-weight:900!important;backdrop-filter:none!important;}
.shortsGridCard__iconBtn.is-active{background:transparent!important;color:#fff!important;filter:drop-shadow(0 0 8px rgba(56,189,248,.65));}
.shortsGridCard__iconBtn span{font-size:13px!important;line-height:1!important;}
.shortsGridCard__iconBtn small{font:inherit!important;color:inherit!important;}
.vehicle-category-short-card__stats,.boat-short-card__stats{left:10px!important;right:112px!important;bottom:8px!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;text-shadow:0 2px 9px rgba(0,0,0,.75)!important;padding:0!important;font-size:11px!important;color:#fff!important;}
.vehicle-category-short-card__price,.boat-short-card__price{right:10px!important;bottom:8px!important;max-width:46%!important;z-index:4!important;font-size:10px!important;}
.createShortVideoPreview__embed{display:block;width:100%;aspect-ratio:9/16;max-height:460px;border:0;border-radius:18px;background:#020617;}
.form-grid--price-mode{grid-template-columns:minmax(180px,.8fr) minmax(200px,1fr) minmax(140px,.55fr)!important;align-items:start;}
.field.is-muted{opacity:.58;}
.field.is-muted input,.field.is-muted select{pointer-events:none;}
@media(max-width:760px){.form-grid--price-mode{grid-template-columns:1fr!important}.shortsGridCard__priceChip,.homeV2ShortPriceChip{max-width:54%!important}.shortsGridCard__overlayInfo{bottom:36px!important}}

/* ---- merged from public/assets/css/shorts_v28_video_cards.css ---- */
/* v28: real-video-only short cards, compact stats, no sound preview */
.homeV2ShortCard video,
.shortsGridCard__media video,
.vehicle-category-short-card__media video,
.boat-short-card__media video{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  background:#050814!important;
}
.homeV2ShortCard video::-webkit-media-controls,
.shortsGridCard__media video::-webkit-media-controls,
.vehicle-category-short-card__media video::-webkit-media-controls,
.boat-short-card__media video::-webkit-media-controls{display:none!important;}
.shortsGridCard__actions{
  position:absolute!important;
  left:10px!important;
  right:auto!important;
  bottom:10px!important;
  z-index:5!important;
  display:flex!important;
  gap:5px!important;
  align-items:center!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.shortsGridCard__miniForm{display:inline-flex!important;margin:0!important;}
.shortsGridCard__iconBtn{
  min-width:42px!important;
  height:26px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  background:rgba(0,0,0,.42)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:blur(10px)!important;
  box-shadow:none!important;
  font-size:10px!important;
  line-height:1!important;
  text-decoration:none!important;
}
.shortsGridCard__iconBtn span{font-size:12px!important;line-height:1!important;}
.shortsGridCard__iconBtn small{font-size:10px!important;line-height:1!important;color:#fff!important;font-weight:800!important;}
.shortsGridCard__iconBtn.is-active{background:rgba(255,203,102,.25)!important;border-color:rgba(255,203,102,.55)!important;}
.shortsGridCard__priceChip{bottom:10px!important;right:10px!important;z-index:5!important;max-width:46%!important;}
.shortsGridCard__overlayInfo{position:absolute!important;z-index:4!important;left:12px!important;right:12px!important;bottom:42px!important;color:#fff!important;display:grid!important;gap:4px!important;}
.shortsGridCard__overlayInfo strong{font-size:15px!important;line-height:1.1!important;font-weight:950!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.65)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.shortsGridCard__overlayInfo small,.shortsGridCard__meta{font-size:11px!important;color:#e6eef8!important;text-shadow:0 2px 12px rgba(0,0,0,.65)!important;}
.shortsGridCard__media::after,
.homeV2ShortCard__media::after,
.vehicle-category-short-card__media::after,
.boat-short-card__media::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.06) 38%,rgba(0,0,0,.82));
  z-index:1;
}
.vehicle-category-short-card__stats,
.boat-short-card__stats{
  position:absolute!important;
  left:10px!important;
  bottom:10px!important;
  z-index:4!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:11px!important;
  text-shadow:0 2px 12px rgba(0,0,0,.7)!important;
}
.vehicle-category-short-card__price,
.boat-short-card__price{
  position:absolute!important;
  right:10px!important;
  bottom:10px!important;
  z-index:4!important;
  max-width:50%!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.44)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.15)!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media (max-width:760px){
  .shortsGridCard__overlayInfo{bottom:38px!important;}
  .shortsGridCard__iconBtn{min-width:36px!important;height:24px!important;font-size:9px!important;}
  .shortsGridCard__priceChip{max-width:50%!important;}
}


/* v38 shorts feed card parity with homepage: no framed metric buttons, price sits on lower edge */
.shortsGridCard__actions{left:12px!important;right:86px!important;bottom:12px!important;gap:7px!important;align-items:center!important;}
.shortsGridCard__iconBtn{height:auto!important;min-width:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;color:#fff!important;display:inline-flex!important;align-items:center!important;gap:3px!important;font-size:12px!important;font-weight:950!important;text-shadow:0 2px 12px rgba(0,0,0,.88)!important;}
.shortsGridCard__iconBtn.is-active{background:transparent!important;color:#fff!important;filter:none!important;}
.shortsGridCard__iconBtn span,.shortsGridCard__iconBtn small{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.88)!important;}
.shortsGridCard__priceChip{right:12px!important;bottom:8px!important;border:0!important;background:rgba(5,12,24,.76)!important;box-shadow:0 8px 18px rgba(0,0,0,.28)!important;}
.shortsGridCard__overlayInfo{bottom:50px!important;}
@media(max-width:760px){.shortsGridCard__actions{right:80px!important;bottom:10px!important}.shortsGridCard__priceChip{bottom:7px!important}.shortsGridCard__overlayInfo{bottom:46px!important}}


/* v39 shorts page card parity with homepage short cards. */
.shortsGrid .homeV2ShortCard{
  position:relative!important;
  display:block!important;
  aspect-ratio:9/16!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#09111e!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.30)!important;
  min-height:0!important;
  height:auto!important;
}
.shortsGrid .homeV2ShortCard__media{position:absolute!important;inset:0!important;display:block!important;}
.shortsGrid .homeV2ShortCard__media img,
.shortsGrid .homeV2ShortCard__media video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.shortsGrid .homeV2ShortCard__media::after{content:''!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.05) 30%,rgba(0,0,0,.80))!important;z-index:1!important;pointer-events:none!important;}
.shortsGrid .homeV2ShortPill{position:absolute!important;top:12px!important;left:12px!important;z-index:2!important;padding:6px 9px!important;border-radius:999px!important;font-size:10px!important;font-weight:900!important;background:rgba(0,0,0,.35)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(8px)!important;color:#fff!important;}
.shortsGrid .homeV2ShortPill--right{left:auto!important;right:12px!important;}
.shortsGrid .homeV2ShortCard__caption{position:absolute!important;left:12px!important;right:12px!important;bottom:32px!important;z-index:3!important;display:grid!important;gap:5px!important;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.70)!important;}
.shortsGrid .homeV2ShortCard__caption strong{font-size:15px!important;line-height:1.1!important;letter-spacing:-.03em!important;font-weight:950!important;color:#fff!important;}
.shortsGrid .homeV2ShortCard__caption span{font-size:11px!important;line-height:1.25!important;color:#d3deea!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.shortsGrid .homeV2ShortCard__caption small{font-size:10px!important;color:#eef6ff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.shortsGrid .homeV2ShortPriceChip{position:absolute!important;right:10px!important;bottom:10px!important;z-index:4!important;max-width:58%!important;padding:4px 7px!important;border-radius:999px!important;background:rgba(5,12,24,.74)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:.01em!important;text-shadow:0 1px 8px rgba(0,0,0,.55)!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;backdrop-filter:blur(10px)!important;}
:root[data-theme="light"] .shortsGrid .homeV2ShortCard,
html[data-theme="light"] .shortsGrid .homeV2ShortCard{border-color:rgba(15,23,42,.10)!important;box-shadow:0 16px 40px rgba(15,23,42,.12)!important;}
@media(max-width:760px){
  .shortsGrid .homeV2ShortCard__caption{bottom:32px!important;}
  .shortsGrid .homeV2ShortPriceChip{right:10px!important;bottom:9px!important;max-width:70%!important;font-size:9px!important;}
}

/* ==== follow final polish: seller page ==== */
.sellerPage--polish{gap:20px}
.sellerPage--polish .sellerHero{overflow:hidden;position:relative;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03))}
.sellerPage--polish .sellerHero__cover{height:228px;position:relative;background-size:cover;background-position:center}
.sellerPage--polish .sellerHero__cover::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,11,25,.10),rgba(7,11,25,.24) 44%,rgba(7,11,25,.72));}
.sellerPage--polish .sellerHero__inner{grid-template-columns:auto minmax(0,1fr);gap:22px;padding:0 24px 24px;margin-top:-64px;align-items:flex-end}
.sellerPage--polish .sellerHero__avatar{width:112px;height:112px;border-radius:28px;font-size:40px;box-shadow:0 18px 34px rgba(0,0,0,.18)}
.sellerPage--polish .sellerHero__eyebrow{letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.78);font-size:11px;font-weight:900}
.sellerPage--polish .sellerHero__body h1{margin:0;font-size:42px;line-height:1.02}
.sellerPage--polish .sellerHero__metaChips{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.sellerPage--polish .sellerHero__metaChip{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.08);font-size:12px;font-weight:800;backdrop-filter:blur(10px)}
.sellerPage--polish .sellerHero__metaChip--accent{background:linear-gradient(180deg,rgba(255,214,84,.18),rgba(255,214,84,.08));border-color:rgba(255,214,84,.24);color:#ffe9a7}
.sellerPage--polish .sellerHero__bio{max-width:860px;margin:14px 0 0;color:var(--muted);font-size:14px;line-height:1.6}
.sellerPage--polish .sellerHero__stats{margin-top:16px;gap:12px}
.sellerPage--polish .sellerHero__stat{min-width:124px;border-radius:18px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px)}
.sellerPage--polish .sellerHero__actionsRow{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.sellerPage--polish .sellerSections{display:grid;gap:18px}
.sellerPage--polish .sellerPanel{padding:20px}
.sellerPage--polish .sellerPanel__head{margin-bottom:16px}
.sellerPage--polish .sellerPanel__eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:6px;font-weight:900}
.sellerPage--polish .sellerPanel__lead{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5;max-width:760px}
.sellerPage--polish .sellerShortStrip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(216px,240px);gap:14px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}
.sellerPage--polish .sellerShortStrip::-webkit-scrollbar{height:10px}
.sellerPage--polish .sellerShortStrip::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
.sellerPage--polish .sellerShortCard,
.sellerPage--polish .sellerListingCard{transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.sellerPage--polish .sellerShortCard:hover,
.sellerPage--polish .sellerListingCard:hover{transform:translateY(-2px);border-color:rgba(var(--accent-rgb),.28);box-shadow:0 18px 28px rgba(0,0,0,.14)}
.sellerPage--polish .sellerShortCard{scroll-snap-align:start}
.sellerPage--polish .sellerListingGrid--catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sellerPage--polish .sellerListingCard__media{aspect-ratio:4/3}
.sellerPage--polish .sellerListingCard__body{display:grid;gap:8px}
.sellerPage--polish .sellerListingCard__title,.sellerPage--polish .sellerShortCard__title{line-height:1.35}
:root[data-theme="light"] .sellerPage--polish .sellerHero,
:root[data-theme="light"] .sellerPage--polish .sellerPanel,
:root[data-theme="light"] .sellerPage--polish .sellerShortCard,
:root[data-theme="light"] .sellerPage--polish .sellerListingCard{background:linear-gradient(180deg,#ffffff,#f8fbff);border-color:rgba(15,35,70,.08);box-shadow:0 14px 28px rgba(15,23,42,.06)}
:root[data-theme="light"] .sellerPage--polish .sellerHero__cover::after{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.18) 42%,rgba(255,255,255,.9))}
:root[data-theme="light"] .sellerPage--polish .sellerHero__metaChip{background:rgba(255,255,255,.92);border-color:rgba(15,35,70,.08);color:#132238}
:root[data-theme="light"] .sellerPage--polish .sellerHero__metaChip--accent{background:linear-gradient(180deg,#fff6d9,#ffffff);border-color:rgba(200,150,25,.18);color:#8f6508}
@media (max-width: 980px){
  .sellerPage--polish .sellerHero__inner{grid-template-columns:1fr;margin-top:-48px;padding:0 18px 20px}
  .sellerPage--polish .sellerHero__body h1{font-size:34px}
  .sellerPage--polish .sellerListingGrid--catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .sellerPage--polish .sellerHero__cover{height:188px}
  .sellerPage--polish .sellerHero__avatar{width:96px;height:96px;border-radius:24px}
  .sellerPage--polish .sellerHero__body h1{font-size:28px}
  .sellerPage--polish .sellerShortStrip{grid-auto-columns:minmax(184px,82vw)}
  .sellerPage--polish .sellerListingGrid--catalog{grid-template-columns:1fr}
}

/* ==== live shorts integration: active live rooms inside shorts surfaces ==== */
.shortsGrid .homeV2ShortCard.is-live-session{border-color:rgba(255,82,102,.38)!important;box-shadow:0 22px 58px rgba(255,82,102,.18),0 18px 50px rgba(0,0,0,.30)!important;}
.shortsGrid .homeV2ShortCard.is-live-session .homeV2ShortPill--live{background:rgba(205,33,50,.92)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;}
.shortsGrid .homeV2ShortCard.is-live-session .homeV2ShortPill--live::before{content:'';width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18);display:inline-block;margin-right:5px;vertical-align:1px;}
.shortFrame.is-live-session{outline:1px solid rgba(255,82,102,.32);outline-offset:-1px;}
.shortFrame__liveBadge{position:absolute;top:18px;left:18px;z-index:8;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:rgba(205,33,50,.92);border:1px solid rgba(255,255,255,.2);color:#fff;text-decoration:none;font-size:12px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 12px 28px rgba(0,0,0,.24);}
.shortFrame__liveCameraCopy{position:absolute;left:50%;top:50%;z-index:7;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;max-width:min(78%,320px);padding:12px 16px;border-radius:999px;background:rgba(8,17,30,.78);border:1px solid rgba(255,255,255,.16);color:#fff;text-align:center;text-decoration:none;font-size:13px;font-weight:900;backdrop-filter:blur(12px);box-shadow:0 16px 34px rgba(0,0,0,.24);}
.shortRail__btn--live{background:rgba(205,33,50,.78)!important;border-color:rgba(255,255,255,.24)!important;}
:root[data-theme="light"] .shortsGrid .homeV2ShortCard.is-live-session,
html[data-theme="light"] .shortsGrid .homeV2ShortCard.is-live-session{box-shadow:0 18px 42px rgba(205,33,50,.12)!important;}
@media(max-width:760px){.shortFrame__liveBadge{top:calc(14px + env(safe-area-inset-top));left:14px}.shortFrame__liveCameraCopy{font-size:12px;max-width:82%;}}

/* Shared short flow: locked linkage to an existing detailed listing/project. */
.createShortLinkedListing{
  display:grid;
  gap:7px;
  padding:16px;
  margin:0;
  border:1px solid var(--border,rgba(255,255,255,.12));
  border-radius:18px;
  background:var(--card,rgba(255,255,255,.04));
}
.createShortLinkedListing strong{
  font-size:1rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.createShortLinkedListing p{
  margin:0;
  color:var(--muted,var(--text-soft,#9ea4c9));
  line-height:1.5;
}
@media (max-width:680px){
  .createShortLinkedListing{padding:14px;border-radius:16px}
}

/* Project-linked short flow: inherit the selected listing/project and remove re-selection friction. */
.createShortLinkedListing.is-project-linked{
  grid-template-columns:minmax(120px,180px) minmax(0,1fr);
  align-items:stretch;
  overflow:hidden;
  padding:0;
}
.createShortLinkedListing__cover{
  min-height:150px;
  background:center/cover no-repeat;
  border-right:1px solid var(--border,rgba(255,255,255,.12));
}
.createShortLinkedListing__body{
  display:grid;
  align-content:center;
  gap:7px;
  min-width:0;
  padding:16px;
}
.createShortLinkedListing__description{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
:root[data-theme="light"] .createShortLinkedListing__cover,
html[data-theme="light"] .createShortLinkedListing__cover{
  border-right-color:rgba(15,35,70,.1);
}
@media (max-width:680px){
  .createShortLinkedListing.is-project-linked{grid-template-columns:1fr}
  .createShortLinkedListing__cover{min-height:180px;border-right:0;border-bottom:1px solid var(--border,rgba(255,255,255,.12))}
  .createShortLinkedListing__body{padding:14px}
}

/* Shared Shorts watch player: muted autoplay, contained vertical stage, custom play state. */
.shortsWatchPage{
  width:min(100%,1180px);
  margin-inline:auto;
}
.shortsWatchPage .shortsWatchRail{
  width:min(100%,680px);
  margin-inline:auto;
}
.shortsWatchPage .shortsWatchViewport{
  width:min(100%,680px);
  max-height:calc(100dvh - 150px);
  margin-inline:auto;
  padding:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:30px;
  background:
    radial-gradient(circle at 50% 0%,rgba(96,165,250,.16),transparent 30%),
    #030712;
  box-shadow:0 28px 90px rgba(2,6,23,.34);
}
.shortsWatchPage .shortFrame{
  display:grid;
  place-items:center;
  min-height:calc(100dvh - 170px);
  border-radius:24px;
  background:#030712;
}
.shortsWatchPage .shortFrame__media{
  width:min(100%,520px);
  height:calc(100dvh - 170px);
  min-height:520px;
  max-height:860px;
  margin:0 auto;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}
.shortsWatchPage .shortFrame__video,
.shortsWatchPage .shortFrame__poster{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  background:#000!important;
}
.shortsWatchPage .shortFrame__video::-webkit-media-controls,
.shortsWatchPage .shortFrame__video::-webkit-media-controls-enclosure,
.shortsWatchPage .shortFrame__video::-webkit-media-controls-panel,
.shortsWatchPage .shortFrame__video::-webkit-media-controls-start-playback-button{
  display:none!important;
  -webkit-appearance:none!important;
}
.shortsWatchPage .shortFrame__playToggle{
  position:absolute;
  top:50%;
  left:50%;
  z-index:6;
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  padding:0;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.32);
  border-radius:50%;
  color:#fff;
  background:rgba(3,7,18,.58);
  box-shadow:0 18px 48px rgba(0,0,0,.38);
  backdrop-filter:blur(14px);
  cursor:pointer;
  opacity:1;
  transition:opacity .18s ease,transform .18s ease,background .18s ease;
}
.shortsWatchPage .shortFrame__playToggle svg{
  width:34px;
  height:34px;
  margin-left:3px;
}
.shortsWatchPage .shortFrame.is-playing .shortFrame__playToggle{
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.82);
}
.shortsWatchPage .shortFrame.is-paused .shortFrame__playToggle,
.shortsWatchPage .shortFrame:hover .shortFrame__playToggle,
.shortsWatchPage .shortFrame:focus-within .shortFrame__playToggle{
  opacity:1;
  pointer-events:auto;
}
.shortsWatchPage .shortFrame.is-playing:hover .shortFrame__playToggle{
  opacity:.34;
}
.shortsWatchPage .shortFrame__playToggle:hover,
.shortsWatchPage .shortFrame__playToggle:focus-visible{
  outline:none;
  background:rgba(3,7,18,.78);
  transform:translate(-50%,-50%) scale(1.06);
}
.shortsWatchPage .shortFrame__overlay{
  pointer-events:none;
}
.shortsWatchPage .shortsWatchNav{
  position:absolute;
  top:50%;
  right:0;
  z-index:12;
  display:grid;
  justify-items:center;
  gap:8px;
  width:62px;
  transform:translateY(-50%);
  padding:10px 7px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:rgba(3,7,18,.74);
  box-shadow:0 18px 48px rgba(0,0,0,.25);
  backdrop-filter:blur(14px);
}
.shortsWatchPage .shortsWatchNav button{
  width:46px;
  height:46px;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}
.shortsWatchPage .shortsWatchNav button:disabled{opacity:.3;cursor:default}
.shortsWatchPage .shortsWatchNav span{font-size:11px;font-weight:900;color:#fff;white-space:nowrap}
.shortsWatchPage .shortsWatchNav small{max-width:54px;color:rgba(255,255,255,.72);font-size:9px;line-height:1.25;text-align:center}
@media (min-width:761px) and (max-width:1440px){
  .shortsWatchPage{
    --shorts-desktop-frame-height:clamp(360px,52dvh,620px);
  }
}

/* v32: restored Shorts navigation + premium app-grade watch surface. */
.shortsIconSprite{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}
.shortsWatchPage{
  --shorts-desktop-frame-height:clamp(430px,calc(100dvh - 170px),780px);
  width:min(100%,1180px);
  margin-inline:auto;
}
.shortsWatchPage .shortsWatchStage{
  position:relative;
  width:100%;
  margin-inline:auto;
}
.shortsWatchPage .shortsWatchRail{
  width:calc(100% - 84px);
  margin-inline:0 auto;
}
.shortsWatchPage .shortsWatchViewport{
  width:calc(100% - 84px)!important;
  height:var(--shorts-desktop-frame-height)!important;
  max-height:var(--shorts-desktop-frame-height)!important;
  margin-inline:0 auto!important;
  padding:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  scroll-snap-type:y mandatory;
  scrollbar-width:none;
  touch-action:pan-y;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:30px!important;
  background:#020617!important;
  box-shadow:0 30px 90px rgba(2,6,23,.42)!important;
}
.shortsWatchPage .shortsWatchViewport::-webkit-scrollbar,
.shortsWatchPage .shortFrame__rail::-webkit-scrollbar{
  width:0;
  height:0;
}
.shortsWatchPage .shortsWatchViewport:focus-visible{
  outline:3px solid rgba(56,189,248,.8);
  outline-offset:3px;
}
.shortsWatchPage .shortFrame{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(248px,282px)!important;
  place-items:stretch!important;
  width:100%!important;
  height:var(--shorts-desktop-frame-height)!important;
  min-height:var(--shorts-desktop-frame-height)!important;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  border-radius:29px!important;
  background:#030712!important;
  overflow:hidden!important;
}
.shortsWatchPage .shortFrame__media{
  position:relative;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  border-radius:28px 0 0 28px!important;
  overflow:hidden!important;
  background:#000!important;
  box-shadow:none!important;
}
.shortsWatchPage .shortFrame__video,
.shortsWatchPage .shortFrame__poster{
  object-fit:contain!important;
  background:#000!important;
}
.shortsWatchPage .shortFrame__content{
  right:24px!important;
  bottom:22px!important;
}
.shortsWatchPage .shortFrame__rail{
  position:static!important;
  inset:auto!important;
  z-index:8!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-content:center!important;
  gap:9px!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:20px 16px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  border-left:1px solid rgba(148,163,184,.15)!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(59,130,246,.18),transparent 38%),
    linear-gradient(180deg,#111b2d 0%,#07101f 100%)!important;
  box-shadow:inset 1px 0 rgba(255,255,255,.025)!important;
  pointer-events:auto!important;
}
.shortsWatchPage .shortRail__form{
  display:flex!important;
  width:100%!important;
  margin:0!important;
}
.shortsWatchPage .shortRail__btn,
.shortsWatchPage .shortRail__btn--free{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  min-height:70px!important;
  padding:9px 6px!important;
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:18px!important;
  color:#f8fafc!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.14)!important;
  backdrop-filter:blur(14px)!important;
  text-align:center!important;
  text-decoration:none!important;
  text-shadow:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.shortsWatchPage .shortRail__btn:hover,
.shortsWatchPage .shortRail__btn:focus-visible{
  transform:translateY(-2px)!important;
  border-color:rgba(96,165,250,.62)!important;
  background:rgba(59,130,246,.16)!important;
  box-shadow:0 16px 30px rgba(2,6,23,.24)!important;
}
.shortsWatchPage .shortRail__btn:focus-visible{
  outline:3px solid #f5a300!important;
  outline-offset:2px!important;
}
.shortsWatchPage .shortRail__icon{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
}
.shortsWatchPage .shortRail__icon svg{
  display:block!important;
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.shortsWatchPage .shortRail__btn small{
  display:block!important;
  max-width:100%!important;
  color:rgba(248,250,252,.9)!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.15!important;
  text-align:center!important;
  overflow-wrap:anywhere;
}
.shortsWatchPage .shortRail__btn.is-active{
  border-color:rgba(250,204,21,.58)!important;
  color:#fde68a!important;
  background:linear-gradient(145deg,rgba(245,158,11,.22),rgba(234,179,8,.08))!important;
}
.shortsWatchPage .shortRail__btn--live{
  border-color:rgba(251,113,133,.5)!important;
  color:#fff!important;
  background:linear-gradient(145deg,rgba(225,29,72,.86),rgba(159,18,57,.78))!important;
}
.shortsWatchPage .shortRail__btn--free{
  grid-column:1 / -1!important;
  min-height:68px!important;
  border-color:rgba(45,212,191,.52)!important;
  color:#ecfeff!important;
  background:linear-gradient(135deg,rgba(13,148,136,.9),rgba(8,145,178,.8))!important;
}
.shortsWatchPage .shortFrame__mute{
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  padding:0!important;
  pointer-events:auto!important;
}
.shortsWatchPage .shortFrame__muteIcon{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.shortsWatchPage .shortsWatchNav{
  position:absolute!important;
  top:50%!important;
  right:0!important;
  z-index:20!important;
  display:grid!important;
  justify-items:center!important;
  gap:8px!important;
  width:66px!important;
  transform:translateY(-50%)!important;
  padding:10px 8px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:24px!important;
  background:rgba(3,7,18,.82)!important;
  box-shadow:0 22px 56px rgba(2,6,23,.34)!important;
  backdrop-filter:blur(18px)!important;
}
.shortsWatchPage .shortsWatchNav button{
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  padding:0!important;
  border:1px solid rgba(148,163,184,.2)!important;
  border-radius:16px!important;
  color:#fff!important;
  background:linear-gradient(145deg,rgba(37,99,235,.72),rgba(109,40,217,.68))!important;
  box-shadow:0 10px 24px rgba(0,0,0,.2)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.shortsWatchPage .shortsWatchNav button svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.shortsWatchPage .shortsWatchNav button:hover,
.shortsWatchPage .shortsWatchNav button:focus-visible{
  transform:scale(1.05);
  outline:3px solid #f5a300;
  outline-offset:2px;
}
.shortsWatchPage .shortsWatchNav button:disabled{
  opacity:.28!important;
  cursor:default!important;
  transform:none!important;
}
.shortsWatchPage .shortsWatchNav span{
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.shortsWatchPage .shortsWatchNav small{
  max-width:54px!important;
  color:rgba(226,232,240,.75)!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
}
.shortsWatchPage .shortsWatchLoader{
  display:none!important;
}
.shortsWatchPage .shortsWatchLoader.is-loading{
  display:block!important;
}
:root[data-theme="light"] .shortsWatchPage .shortFrame__rail,
html[data-theme="light"] .shortsWatchPage .shortFrame__rail{
  border-left-color:rgba(15,23,42,.1)!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(59,130,246,.13),transparent 38%),
    linear-gradient(180deg,#f8fbff 0%,#eaf1fa 100%)!important;
}
:root[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free),
html[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free){
  border-color:rgba(15,23,42,.12)!important;
  color:#14213a!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 10px 24px rgba(30,64,175,.08)!important;
}
:root[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free) small,
html[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free) small{
  color:#334155!important;
}

@media (min-width:761px) and (max-width:980px){
  .shortsWatchPage .shortFrame{
    grid-template-columns:minmax(0,1fr) minmax(220px,244px)!important;
  }
  .shortsWatchPage .shortFrame__rail{
    padding:15px 12px!important;
    gap:7px!important;
  }
  .shortsWatchPage .shortRail__btn{
    min-height:64px!important;
  }
}

@media (max-width:760px){
  .shortsWatchPage{
    --shorts-desktop-frame-height:100dvh;
    position:fixed!important;
    inset:0!important;
    z-index:9300!important;
    width:100%!important;
    height:100dvh!important;
    margin:0!important;
    padding:0!important;
    background:#020617!important;
  }
  .shortsWatchPage .shortsWatchRail{
    position:absolute!important;
    top:calc(8px + env(safe-area-inset-top))!important;
    left:8px!important;
    right:8px!important;
    z-index:40!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    pointer-events:none;
  }
  .shortsWatchPage .shortsWatchRail__back{
    pointer-events:auto;
    min-height:44px;
    border:1px solid rgba(255,255,255,.18)!important;
    color:#fff!important;
    background:rgba(2,6,23,.62)!important;
    box-shadow:0 12px 32px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(16px)!important;
  }
  .shortsWatchPage .shortsWatchRail__post{
    display:none!important;
  }
  .shortsWatchPage .shortsWatchStage,
  .shortsWatchPage .shortsWatchViewport{
    width:100%!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .shortsWatchPage .shortFrame{
    display:block!important;
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    border-radius:0!important;
  }
  .shortsWatchPage .shortFrame__media{
    width:100%!important;
    height:100dvh!important;
    border-radius:0!important;
  }
  .shortsWatchPage .shortFrame__content{
    left:16px!important;
    right:78px!important;
    bottom:calc(22px + env(safe-area-inset-bottom))!important;
  }
  .shortsWatchPage .shortFrame__caption{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .shortsWatchPage .shortFrame__rail{
    position:absolute!important;
    inset:auto 4px calc(66px + env(safe-area-inset-bottom)) auto!important;
    z-index:30!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:4px!important;
    width:70px!important;
    height:auto!important;
    max-height:calc(100dvh - 156px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    padding:2px 0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    pointer-events:auto!important;
  }
  .shortsWatchPage .shortRail__form{
    width:64px!important;
    flex:0 0 auto!important;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    flex:0 0 auto!important;
    gap:2px!important;
    width:64px!important;
    min-height:54px!important;
    padding:4px 2px!important;
    border:0!important;
    border-radius:14px!important;
    color:#fff!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    text-shadow:0 2px 12px rgba(0,0,0,.92)!important;
  }
  .shortsWatchPage .shortRail__btn:hover,
  .shortsWatchPage .shortRail__btn:focus-visible{
    transform:none!important;
    background:rgba(2,6,23,.38)!important;
  }
  .shortsWatchPage .shortRail__btn--free{
    border:1px solid rgba(94,234,212,.58)!important;
    background:rgba(13,148,136,.8)!important;
  }
  .shortsWatchPage .shortRail__btn--live{
    background:rgba(190,24,93,.78)!important;
  }
  .shortsWatchPage .shortRail__icon{
    width:27px!important;
    height:27px!important;
  }
  .shortsWatchPage .shortRail__icon svg{
    width:25px!important;
    height:25px!important;
    filter:drop-shadow(0 3px 8px rgba(0,0,0,.7));
  }
  .shortsWatchPage .shortRail__btn small{
    max-width:64px!important;
    color:#fff!important;
    font-size:9px!important;
    line-height:1.05!important;
    text-shadow:0 2px 9px rgba(0,0,0,.95)!important;
  }
  .shortsWatchPage .shortFrame__mute{
    top:calc(58px + env(safe-area-inset-top))!important;
    right:12px!important;
  }
  .shortsWatchPage .shortsWatchNav{
    display:none!important;
  }
  .shortsWatchPage .shortsFlashStack{
    position:absolute;
    top:calc(62px + env(safe-area-inset-top));
    left:12px;
    right:12px;
    z-index:45;
  }
}

@media (max-width:380px){
  .shortsWatchPage .shortFrame__content{
    right:72px!important;
  }
  .shortsWatchPage .shortFrame__rail{
    width:64px!important;
  }
  .shortsWatchPage .shortRail__form,
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    width:58px!important;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    min-height:50px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .shortsWatchPage *,
  .shortsWatchPage *::before,
  .shortsWatchPage *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

@media (max-width:760px){
  .shortsWatchPage{
    width:100%;
  }
  .shortsWatchPage .shortsWatchRail{
    padding-inline:10px;
  }
  .shortsWatchPage .shortsWatchViewport{
    width:100%;
    max-height:calc(100svh - 96px);
    padding:0;
    border-inline:0;
    border-radius:0;
  }
  .shortsWatchPage .shortFrame{
    min-height:calc(100svh - 96px);
    border-radius:0;
  }
  .shortsWatchPage .shortFrame__media{
    width:100%;
    height:calc(100svh - 96px);
    min-height:0;
    max-height:none;
    border-radius:0;
  }
}

.shortsWatchPage .shortRail__btn.is-active{
  border:0!important;
  color:#ffd166!important;
  background:transparent!important;
  box-shadow:none!important;
}
.shortsWatchPage .shortRail__btn.is-active small{
  color:#fff!important;
}

/* Shorts action rail: one clean action per row, without boxed icon cards. */
@media (min-width:761px){
  .shortsWatchPage .shortFrame{
    grid-template-columns:minmax(0,1fr) minmax(128px,146px);
  }
  .shortsWatchPage .shortFrame__rail{
    grid-template-columns:1fr;
    align-content:center;
    gap:3px!important;
    padding:12px 9px;
    border-left:0;
    background:transparent!important;
  }
  .shortsWatchPage .shortRail__form{
    width:100%;
  }
  .shortsWatchPage .shortRail__btn{
    flex-direction:row;
    justify-content:flex-start;
    gap:9px;
    width:100%!important;
    min-height:44px!important;
    padding:6px 5px;
    border:0!important;
    border-radius:0;
    background:transparent!important;
    text-align:left;
  }
  .shortsWatchPage .shortRail__btn:hover,
  .shortsWatchPage .shortRail__btn:focus-visible{
    border:0!important;
    background:transparent!important;
    transform:translateX(2px);
  }
  .shortsWatchPage .shortRail__btn:focus-visible{
    outline:2px solid rgba(56,189,248,.72);
    outline-offset:1px;
    border-radius:10px;
  }
  .shortsWatchPage .shortRail__btn span{
    flex:0 0 28px;
    font-size:22px;
    text-align:center;
  }
  .shortsWatchPage .shortRail__btn small{
    color:#fff;
    font-size:11px;
    font-weight:850;
    line-height:1.12;
    text-align:left;
  }
  .shortsWatchPage .shortRail__btn--free{
    grid-column:auto;
    min-height:48px!important;
    border:0!important;
    color:#5eead4;
    background:transparent!important;
  }
  .shortsWatchPage .shortRail__btn--free:hover,
  .shortsWatchPage .shortRail__btn--free:focus-visible{
    border:0!important;
    background:transparent!important;
  }
  .shortsWatchPage .shortRail__btn--free small{
    color:#ccfbf1;
  }
  :root[data-theme="light"] .shortsWatchPage .shortFrame__rail,
  html[data-theme="light"] .shortsWatchPage .shortFrame__rail{
    background:transparent!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn{
    border:0!important;
    color:#fff;
    background:transparent!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn small,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn small{
    color:#fff;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn--free,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn--free{
    border:0!important;
    color:#5eead4;
    background:transparent!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn--free small,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn--free small{
    color:#ccfbf1;
  }
}

@media (max-width:760px){
  .shortsWatchPage .shortFrame__content{
    right:92px;
  }
  .shortsWatchPage .shortFrame__rail{
    inset:auto 5px 72px auto!important;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px!important;
    width:80px;
    max-height:calc(100dvh - 134px);
    padding:0;
  }
  .shortsWatchPage .shortRail__form{
    width:80px;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    flex-direction:column;
    justify-content:center;
    gap:3px;
    width:80px!important;
    min-height:49px!important;
    padding:3px 1px;
    border:0!important;
    border-radius:0;
    color:#fff;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    text-align:center;
    text-shadow:0 2px 12px rgba(0,0,0,.9)!important;
  }
  .shortsWatchPage .shortRail__btn:hover,
  .shortsWatchPage .shortRail__btn:focus-visible,
  .shortsWatchPage .shortRail__btn--free:hover,
  .shortsWatchPage .shortRail__btn--free:focus-visible{
    border:0!important;
    background:transparent!important;
  }
  .shortsWatchPage .shortRail__btn:focus-visible{
    outline:2px solid rgba(255,255,255,.8);
    outline-offset:0;
    border-radius:10px;
  }
  .shortsWatchPage .shortRail__btn span{
    font-size:24px;
  }
  .shortsWatchPage .shortRail__btn small,
  .shortsWatchPage .shortRail__btn--free small{
    max-width:80px;
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:1.05;
    text-align:center;
  }
  .shortsWatchPage .shortRail__btn--free span{
    color:#5eead4;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn,
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn--free,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn--free{
    border:0!important;
    color:#fff;
    background:transparent!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn small,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn small,
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn--free small,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn--free small{
    color:#fff;
  }
}

/* v32.1: final cascade guard for the restored watch controls. */
.shortsWatchPage .shortRail__btn.is-active{
  border:1px solid rgba(250,204,21,.58)!important;
  color:#fde68a!important;
  background:linear-gradient(145deg,rgba(245,158,11,.22),rgba(234,179,8,.08))!important;
  box-shadow:0 12px 26px rgba(0,0,0,.14)!important;
}

@media (min-width:761px){
  .shortsWatchPage .shortFrame{
    grid-template-columns:minmax(0,1fr) minmax(248px,282px)!important;
  }
  .shortsWatchPage .shortFrame__rail{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    padding:20px 16px!important;
    border-left:1px solid rgba(148,163,184,.15)!important;
    background:
      radial-gradient(circle at 50% 0%,rgba(59,130,246,.18),transparent 38%),
      linear-gradient(180deg,#111b2d 0%,#07101f 100%)!important;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    flex-direction:column!important;
    justify-content:center!important;
    gap:6px!important;
    min-height:70px!important;
    padding:9px 6px!important;
    border:1px solid rgba(148,163,184,.16)!important;
    border-radius:18px!important;
    color:#f8fafc!important;
    background:rgba(255,255,255,.055)!important;
    box-shadow:0 12px 26px rgba(0,0,0,.14)!important;
    text-align:center!important;
  }
  .shortsWatchPage .shortRail__btn:hover,
  .shortsWatchPage .shortRail__btn:focus-visible{
    transform:translateY(-2px)!important;
    border-color:rgba(96,165,250,.62)!important;
    background:rgba(59,130,246,.16)!important;
  }
  .shortsWatchPage .shortRail__btn small{
    color:rgba(248,250,252,.9)!important;
    text-align:center!important;
  }
  .shortsWatchPage .shortRail__btn--free{
    grid-column:1 / -1!important;
    min-height:68px!important;
    border-color:rgba(45,212,191,.52)!important;
    color:#ecfeff!important;
    background:linear-gradient(135deg,rgba(13,148,136,.9),rgba(8,145,178,.8))!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortFrame__rail,
  html[data-theme="light"] .shortsWatchPage .shortFrame__rail{
    border-left-color:rgba(15,23,42,.1)!important;
    background:
      radial-gradient(circle at 50% 0%,rgba(59,130,246,.13),transparent 38%),
      linear-gradient(180deg,#f8fbff 0%,#eaf1fa 100%)!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free),
  html[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free){
    border-color:rgba(15,23,42,.12)!important;
    color:#14213a!important;
    background:rgba(255,255,255,.88)!important;
  }
  :root[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free) small,
  html[data-theme="light"] .shortsWatchPage .shortRail__btn:not(.shortRail__btn--live):not(.shortRail__btn--free) small{
    color:#334155!important;
  }
}

@media (min-width:761px) and (max-width:980px){
  .shortsWatchPage .shortFrame{
    grid-template-columns:minmax(0,1fr) minmax(220px,244px)!important;
  }
  .shortsWatchPage .shortFrame__rail{
    gap:7px!important;
    padding:15px 12px!important;
  }
  .shortsWatchPage .shortRail__btn{
    min-height:64px!important;
  }
}

@media (max-width:760px){
  .shortsWatchPage .shortFrame__content{
    right:78px!important;
  }
  .shortsWatchPage .shortFrame__rail{
    inset:auto 4px calc(66px + env(safe-area-inset-bottom)) auto!important;
    gap:4px!important;
    width:70px!important;
    max-height:calc(100dvh - 156px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    padding:2px 0!important;
  }
  .shortsWatchPage .shortRail__form{
    width:64px!important;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    width:64px!important;
    min-height:54px!important;
    padding:4px 2px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .shortsWatchPage .shortRail__btn:hover,
  .shortsWatchPage .shortRail__btn:focus-visible{
    transform:none!important;
    background:rgba(2,6,23,.38)!important;
  }
  .shortsWatchPage .shortRail__btn--free{
    border:1px solid rgba(94,234,212,.58)!important;
    background:rgba(13,148,136,.8)!important;
  }
  .shortsWatchPage .shortRail__btn--live{
    background:rgba(190,24,93,.78)!important;
  }
  .shortsWatchPage .shortRail__btn small{
    max-width:64px!important;
    font-size:9px!important;
  }
}

@media (max-width:380px){
  .shortsWatchPage .shortFrame__content{
    right:72px!important;
  }
  .shortsWatchPage .shortFrame__rail{
    width:64px!important;
  }
  .shortsWatchPage .shortRail__form,
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    width:58px!important;
  }
  .shortsWatchPage .shortRail__btn,
  .shortsWatchPage .shortRail__btn--free{
    min-height:50px!important;
  }
}
