/* Shorts page (/shorts/): layout and colour only. All type metrics stay in typography.css. */
.public-shop .shorts-category-all::before{content:"▦"}
.public-shop .shorts-category-icon{flex-shrink:0}
.public-shop .shorts-category-tech{color:#2378e7}
.public-shop .shorts-category-entertainment{color:#b425d8}
.public-shop .shorts-category-other{color:#8b51c5}
.public-shop .shorts-category[aria-pressed=true] .shorts-category-icon{color:inherit}
.public-shop .shorts-category-more{flex-shrink:0;max-width:50%}
.public-shop .shorts-category-more summary{cursor:pointer;list-style:none;min-height:44px;box-sizing:border-box}
.public-shop .shorts-category-more summary::-webkit-details-marker{display:none}
.public-shop .shorts-category-more summary .shop-icon{width:16px;height:16px;flex-shrink:0}
.public-shop .shorts-category-more.is-active summary{border-color:#1769e0;background:#e6efff;color:#0f55bd}
.public-shop .shorts-category-popup{position:absolute;right:0;top:calc(100% + 8px);z-index:10;display:grid;gap:6px;min-width:12rem;max-width:100%;padding:10px;border:1px solid #e0e5f0;border-radius:18px;background:#fff;box-shadow:0 12px 32px #18345d26}
.public-shop .shorts-category-popup .shorts-chip{justify-content:flex-start;box-shadow:none}
.public-shop .shorts-source-tabs{padding-top:4px}
.public-shop .shorts-source-tabs .shorts-chip{background:transparent;border-color:transparent;border-radius:8px;padding:6px 12px;box-shadow:none;color:#536079}
.public-shop .shorts-source-tabs .shorts-chip[aria-pressed=true]{background:#e6efff;color:#0f55bd;border-color:transparent}
.public-shop .shorts-catalog-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-width:0}
.public-shop .shorts-catalog-head h2{display:flex;align-items:center;gap:8px;margin:0;min-width:0;overflow-wrap:anywhere}
.public-shop .shorts-catalog-head h2>.shop-icon{width:26px;height:26px;flex-shrink:0;color:#fa3454;fill:#fff1cc}
@media(max-width:760px){
 .public-shop .shorts-category-more{padding-top:3px}
 .public-shop .shorts-catalog-head{align-items:stretch}
}
.public-shop[data-shop-shorts-page]{background:var(--shop-surface-soft);color:#17233b;--shop-accent:#1769e0;--shop-soft:#e6efff}
.public-shop[data-shop-shorts-page] .shop-nav-link.active{color:#0f55bd;background:#e6efff}
.public-shop[data-shop-shorts-page] .shop-nav-link.active .shop-icon{color:#1769e0}
.public-shop[data-shop-shorts-page] .shop-top-link.active{background:#e6efff;color:#0f55bd}
.public-shop[data-shop-shorts-page] a:focus-visible,.public-shop[data-shop-shorts-page] button:focus-visible,.public-shop[data-shop-shorts-page] input:focus-visible{outline:3px solid #1769e0;outline-offset:2px}
.public-shop .shorts-page{max-width:1480px;min-width:0;display:grid;gap:14px}
.public-shop .shorts-library-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0}
.public-shop .shorts-library-bar .shorts-status{max-width:100%;overflow-wrap:anywhere}
.public-shop .shorts-page [hidden]{display:none}
.public-shop .shorts-head{display:flex;align-items:flex-start;gap:16px;min-width:0}
.public-shop .shorts-head h1{margin:0;overflow-wrap:anywhere}
.public-shop .shorts-head h1:focus{outline:none}
.public-shop .shorts-head-icon{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;border-radius:18px;background:#1769e0;color:#fff}
.public-shop .shorts-head-icon .shop-icon{width:30px;height:30px}
.public-shop .shorts-lead{margin:4px 0 0;color:#55617a;overflow-wrap:anywhere;max-width:46rem}
.public-shop .shorts-toolbar{display:grid;gap:12px;min-width:0}
.public-shop .shorts-search{display:flex;min-width:0;max-width:34rem;height:48px;border:1px solid #c9d6ec;border-radius:24px;background:#fff;overflow:hidden}
.public-shop .shorts-search input{flex:1;min-width:0;border:0;background:#fff;padding:0 18px;color:#17233b;outline-offset:-3px}
.public-shop .shorts-search button{flex-shrink:0;width:56px;display:grid;place-items:center;border:0;border-left:1px solid #c9d6ec;background:#f4f7fc;color:#17233b}
.public-shop .shorts-search .shop-icon{width:22px;height:22px}
.public-shop .shorts-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.public-shop .shorts-chip{min-height:44px;padding:6px 16px;border:1px solid #c9d6ec;border-radius:22px;background:#fff;color:#17233b;max-width:100%;overflow-wrap:anywhere;text-align:center}
.public-shop .shorts-chip:hover{background:#eef4ff}
.public-shop .shorts-chip[aria-pressed="true"]{background:#1769e0;border-color:#1769e0;color:#fff}
.public-shop .shorts-status{margin:0;min-height:1.5em;color:#55617a}
.public-shop .shorts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,10.3rem),1fr));gap:14px;min-width:0}
.public-shop .shorts-tile{position:relative;display:block;aspect-ratio:9/16;min-width:0;border-radius:16px;overflow:hidden;color:#fff;background:linear-gradient(160deg,var(--shorts-tone-a,#42a5f5),var(--shorts-tone-b,#0d47a1))}
.public-shop .shorts-tile[hidden]{display:none}
.public-shop .shorts-tile:hover{box-shadow:0 8px 22px #0b1a3a33}
/* The cover area always fills the whole 9:16 tile; it is the only rule for .shorts-tile-art (a later position override shrank covers to a 56px strip in 0.0.761). */
.public-shop .shorts-tile-art{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:0;overflow:hidden}
.public-shop .shorts-tile-art .shorts-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#00000059}
.public-shop .shorts-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.public-shop .shorts-tile-time{position:absolute;top:10px;right:10px;padding:2px 9px;border-radius:12px;background:#000000a6}
.public-shop .shorts-tile-copy{position:absolute;left:0;right:0;bottom:0;display:grid;gap:2px;padding:44px 12px 12px;background:linear-gradient(#0000,#000000b8)}
.public-shop .shorts-tile-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.public-shop .shorts-tile-cat{overflow-wrap:anywhere}
.public-shop .shorts-empty{display:grid;justify-items:start;gap:10px;padding:22px;border:1px dashed #b9c9e6;border-radius:16px;background:#fff;color:#55617a}
.public-shop .shorts-empty p{margin:0;overflow-wrap:anywhere}
.public-shop .shorts-more{display:flex;justify-content:center}
.public-shop .shorts-load,.public-shop .shorts-retry{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px 24px;border:1px solid #1769e0;border-radius:24px;background:#fff;color:#0f55bd;max-width:100%;overflow-wrap:anywhere}
.public-shop .shorts-load:hover,.public-shop .shorts-retry:hover{background:#e6efff}
.public-shop .shorts-load:disabled{opacity:.6}
.public-shop .shorts-noscript{margin:0;padding:16px;border-radius:12px;background:#fff;color:#55617a}
/* Category tones: tiles before the video loads, and the stage behind a clip that does not fill it. */
.public-shop .shorts-tone-pets{--shorts-tone-a:#e8743b;--shorts-tone-b:#9c2f0b}
.public-shop .shorts-tone-food{--shorts-tone-a:#d98a12;--shorts-tone-b:#8a4300}
.public-shop .shorts-tone-travel{--shorts-tone-a:#1795a8;--shorts-tone-b:#06545f}
.public-shop .shorts-tone-games{--shorts-tone-a:#6a4bc2;--shorts-tone-b:#281673}
.public-shop .shorts-tone-tech{--shorts-tone-a:#2f7fd8;--shorts-tone-b:#0b3a82}
.public-shop .shorts-tone-knowledge{--shorts-tone-a:#3d9a4c;--shorts-tone-b:#14501f}
.public-shop .shorts-tone-entertainment{--shorts-tone-a:#cf3a72;--shorts-tone-b:#74113f}
.public-shop .shorts-tone-shopping{--shorts-tone-a:#9a3fae;--shorts-tone-b:#42125a}
.public-shop .shorts-tone-other{--shorts-tone-a:#5f7482;--shorts-tone-b:#222f37}

/* One viewer, with a desktop details column and a mobile overlay. */
html.shorts-open,html.shorts-open body{overflow:hidden}
.public-shop .shorts-source-tabs{display:flex;flex-wrap:wrap;gap:8px}
.public-shop .shorts-tile-art .shorts-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.public-shop .shorts-tile-art>.shorts-icon{position:relative;z-index:1}
.public-shop .shorts-cover-note{position:absolute;left:12px;right:12px;top:28%;padding:6px 8px;text-align:center;background:#0007;border-radius:10px;overflow-wrap:anywhere}
.public-shop .shorts-tile-views,.public-shop .shorts-views{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.public-shop .shorts-tile-views .shorts-icon,.public-shop .shorts-views .shorts-icon{display:inline-flex;align-items:center}
.public-shop .shorts-tile-views .shorts-icon svg{width:20px;height:20px}
.public-shop .shorts-tile-title{-webkit-line-clamp:2;line-clamp:2}
.public-shop .shorts-viewer{--shorts-ink:var(--app-ink,var(--ink));--shorts-muted:var(--app-muted,var(--muted));--shorts-line:var(--app-line,var(--line));--shorts-accent:var(--app-accent,var(--shop-accent));--shorts-soft:var(--app-soft,var(--shop-soft));--shorts-details-width:clamp(20rem,30vw,28rem);--shorts-toolbar-height:max(56px,3.5rem);container:shorts-viewer / inline-size;position:fixed;top:var(--shop-header-height,77px);left:var(--shorts-rail-width,248px);right:0;bottom:0;z-index:30;background:var(--shop-surface);color:var(--shorts-ink)}
.public-shop .shorts-viewer-toolbar{position:absolute;inset:0 0 auto;z-index:5;display:flex;align-items:center;gap:18px;height:var(--shorts-toolbar-height);padding:env(safe-area-inset-top,0px) 20px 0 80px;box-sizing:border-box;border-bottom:1px solid var(--shorts-line);background:var(--shop-surface)}
.public-shop .shorts-brand{display:flex;align-items:center;gap:0;min-width:0;white-space:nowrap}
.public-shop .shorts-brand strong{color:var(--shorts-accent)}
.public-shop .shorts-brand>span{margin-left:18px;color:var(--shorts-muted)}
.public-shop .shorts-close{position:absolute;left:14px;top:calc(8px + env(safe-area-inset-top,0px));width:48px;height:48px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--shop-surface-soft);color:var(--shorts-ink)}
.public-shop .shorts-close-icon{display:grid;place-items:center}
.public-shop .shorts-close-back,.public-shop .shorts-stage-menu,.public-shop .shorts-stage-menu-panel{display:none}
.public-shop .shorts-next-thumb{width:44px;height:44px;object-fit:cover;border-radius:12px;background:var(--shop-surface-soft)}
.public-shop .shorts-close:hover{background:var(--shorts-soft)}
.public-shop .shorts-viewer-search{margin-left:auto;display:flex;align-items:center;width:min(34%,24rem);min-width:0;min-height:44px;border:1px solid var(--shorts-line);border-radius:24px;background:var(--shop-surface-soft);overflow:hidden}
.public-shop .shorts-viewer-search input{min-width:0;width:100%;padding:8px 14px;border:0;background:transparent;color:var(--shorts-ink)}
.public-shop .shorts-viewer-search button{width:44px;min-height:44px;flex-shrink:0;border:0;background:transparent;color:var(--shorts-ink);display:grid;place-items:center}
.public-shop .shorts-feed{position:absolute;inset:var(--shorts-toolbar-height) 0 0;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;outline:0}
.public-shop .shorts-feed::-webkit-scrollbar{display:none;width:0;height:0}
.public-shop .shorts-slide{position:relative;box-sizing:border-box;height:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--shorts-details-width);scroll-snap-align:start;scroll-snap-stop:always}
.public-shop .shorts-stage{position:relative;min-width:0;height:100%;overflow:hidden;background:#08080a}
.public-shop .shorts-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.public-shop .shorts-tap{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer}
.public-shop .shorts-external-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.public-shop [data-short-external] :is(.shorts-video,.shorts-tap,.shorts-pause-mark,.shorts-player-bar,.shorts-progress){display:none}
.public-shop .shorts-tap:focus-visible{outline:3px solid var(--shorts-ink);outline-offset:-6px}
.public-shop .shorts-pause-mark{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:#0009;pointer-events:none}
.public-shop .shorts-pause-mark .shorts-icon svg{width:34px;height:34px}
.public-shop .shorts-details{min-width:0;min-height:0;display:flex;flex-direction:column;gap:16px;padding:22px;background:var(--shop-surface);border-left:1px solid var(--shorts-line);overflow-y:auto}
.public-shop .shorts-info{display:grid;gap:10px;min-width:0;flex-shrink:0}
.public-shop .shorts-creator{display:flex;align-items:center;gap:10px;min-width:0}
.public-shop .shorts-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:var(--shop-surface-soft);border-radius:50%;color:var(--shorts-ink)}
.public-shop .shorts-creator-name{min-width:0;overflow-wrap:anywhere}
.public-shop .shorts-follow{margin-left:auto;padding:8px 16px;min-height:44px;max-width:100%;border:1px solid var(--shorts-accent);border-radius:22px;background:transparent;color:var(--shorts-accent);overflow-wrap:anywhere}
.public-shop .shorts-follow[aria-pressed=true]{background:var(--shorts-accent);color:var(--shorts-ink)}
.public-shop .shorts-follow:disabled{color:var(--shorts-muted);border-color:var(--shorts-muted)}
.public-shop .shorts-followers{color:var(--shorts-muted)}
.public-shop .shorts-slide-title{margin:0;overflow-wrap:anywhere;color:var(--shorts-ink)}
.public-shop .shorts-slide-caption{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--shorts-ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.public-shop .shorts-slide-caption.expanded{display:block}
.public-shop .shorts-caption-more{justify-self:start;min-height:44px;padding:4px 8px;border:0;border-radius:8px;background:var(--shop-surface-soft);color:var(--shorts-ink)}
.public-shop .shorts-slide-cat{justify-self:start;padding:4px 10px;border-radius:14px;background:var(--shop-surface-soft);overflow-wrap:anywhere}
.public-shop .shorts-views{color:var(--shorts-ink)}
.public-shop .shorts-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;flex-shrink:0}
.public-shop .shorts-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--shorts-line);border-radius:24px;background:var(--shop-surface-soft);color:var(--shorts-ink);text-align:center;overflow-wrap:anywhere}
.public-shop .shorts-action:hover:not(:disabled){background:var(--shorts-soft)}
.public-shop .shorts-action:disabled{opacity:.65}
.public-shop .shorts-action .shorts-icon{display:inline-flex;flex-shrink:0}
.public-shop .shorts-social-action .shorts-action-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.public-shop .shorts-action[aria-pressed=true]{color:var(--shorts-accent);background:var(--shorts-soft)}
.public-shop [data-short-like][aria-pressed=true] .shorts-icon svg{fill:currentColor}
.public-shop .shorts-link{display:flex;min-width:0;min-height:44px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--shop-surface-soft)}
.public-shop .shorts-link-url{width:100%;min-width:0;padding:10px 12px;border:0;background:transparent;color:var(--shorts-muted);text-overflow:ellipsis}
.public-shop .shorts-copy{flex-shrink:0;max-width:50%;min-height:44px;padding:8px 12px;border:0;border-left:1px solid var(--shorts-line);background:var(--shop-surface-soft);color:var(--shorts-ink);overflow-wrap:anywhere}
.public-shop .shorts-detail-tabs{display:flex;gap:12px;flex-shrink:0;border-bottom:1px solid var(--shorts-line)}
.public-shop .shorts-detail-tab{flex:1;min-width:0;min-height:48px;padding:8px 6px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--shorts-muted);overflow-wrap:anywhere}
.public-shop .shorts-detail-tab[aria-selected=true]{border-bottom-color:var(--shorts-accent);color:var(--shorts-ink)}
.public-shop .shorts-comments-panel{display:flex;flex-direction:column;gap:12px;min-height:min(18rem,36vh);flex:1}
.public-shop .shorts-comments-heading{display:none}
.public-shop .shorts-comment-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
.public-shop .shorts-comment{padding:14px 0;border-bottom:1px solid var(--shop-surface-soft)}
.public-shop .shorts-comment-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.public-shop .shorts-comment-author{overflow-wrap:anywhere}
.public-shop .shorts-comment-time{color:var(--shorts-muted)}
.public-shop .shorts-comment-body{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--shorts-ink)}
.public-shop .shorts-comment-delete{margin-left:auto;min-height:44px;padding:4px 10px;border:1px solid var(--shorts-line);border-radius:10px;background:transparent;color:var(--shorts-accent)}
.public-shop .shorts-comment-status{margin:0;color:var(--shorts-muted);overflow-wrap:anywhere}
.public-shop .shorts-comments-more{min-height:44px;flex-shrink:0;border:1px solid var(--shorts-line);border-radius:12px;background:transparent;color:var(--shorts-ink)}
.public-shop .shorts-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;flex-shrink:0}
.public-shop .shorts-comment-input{width:100%;min-width:0;resize:vertical;max-height:12rem;min-height:48px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--shorts-line);border-radius:14px;background:#ffffff0a;color:var(--shorts-ink)}
.public-shop .shorts-comment-send{align-self:center;min-height:44px;padding:8px 14px;border:0;border-radius:22px;background:var(--shorts-accent);color:var(--shorts-ink)}
.public-shop .shorts-comment-note{grid-column:1/-1;margin:0;color:var(--shorts-muted);overflow-wrap:anywhere}
.public-shop .shorts-social-login{display:block;min-height:44px;padding:10px 14px;box-sizing:border-box;border-radius:12px;background:var(--shorts-soft);color:var(--shorts-accent);text-align:center;overflow-wrap:anywhere}
.public-shop .shorts-related{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.public-shop .shorts-related-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,8rem),1fr));gap:12px}
.public-shop .shorts-player-bar{position:absolute;left:18px;right:18px;bottom:18px;z-index:2;display:grid;grid-template-columns:44px auto minmax(0,1fr) 44px 44px;align-items:center;gap:12px;padding:6px;border-radius:12px;background:#0008}
.public-shop .shorts-player-bar .shorts-action{padding:6px;border:0;border-radius:10px;min-width:44px;min-height:44px}
.public-shop .shorts-player-bar .shorts-action-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.public-shop .shorts-seek{width:100%;min-width:0;min-height:44px;accent-color:var(--shorts-accent);cursor:pointer}
.public-shop .shorts-clock{color:var(--shorts-ink);overflow-wrap:anywhere}
.public-shop .shorts-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff40;pointer-events:none}
.public-shop .shorts-progress span{display:block;width:100%;height:100%;background:var(--shorts-accent);transform-origin:left center;transform:scaleX(var(--shorts-progress,0))}
.public-shop .shorts-error{position:absolute;left:16px;right:16px;top:50%;z-index:3;transform:translateY(-50%);display:grid;justify-items:center;gap:10px;padding:16px;border-radius:14px;background:#000d;text-align:center}
.public-shop .shorts-error p{margin:0;overflow-wrap:anywhere}
.public-shop .shorts-vip-gate{position:absolute;left:16px;right:16px;top:50%;z-index:3;transform:translateY(-50%);display:grid;justify-items:center;gap:10px;padding:16px;border-radius:14px;background:#000d;text-align:center}
.public-shop .shorts-vip-gate[hidden]{display:none}
.public-shop .shorts-vip-gate p{margin:0;overflow-wrap:anywhere}
.public-shop .shorts-vip-chip{position:absolute;top:8px;left:8px;z-index:2;padding:4px 8px;border-radius:999px;background:#7c3aed;color:#fff}
.public-shop .shorts-steps{position:absolute;top:50%;right:calc(var(--shorts-details-width) + 14px);z-index:4;display:grid;gap:12px;transform:translateY(-50%)}
.public-shop .shorts-step{width:48px;height:48px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#333a;color:var(--shorts-ink)}
.public-shop .shorts-step:disabled{opacity:.4}
.public-shop .shorts-step .shop-icon,.public-shop .shorts-close .shop-icon{width:26px;height:26px}
.public-shop .shorts-viewer button:focus-visible,.public-shop .shorts-viewer input:focus-visible,.public-shop .shorts-viewer textarea:focus-visible,.public-shop .shorts-viewer a:focus-visible{outline:3px solid var(--shorts-ink);outline-offset:2px}
.public-shop .shorts-toast{position:absolute;top:calc(var(--shorts-toolbar-height) + 12px);left:50%;z-index:12;max-width:calc(100% - 32px);box-sizing:border-box;padding:10px 16px;border-radius:14px;background:#000e;color:var(--shorts-ink);transform:translateX(-50%);text-align:center;overflow-wrap:anywhere;pointer-events:none}
@container shorts-viewer (max-width:46rem){
 .public-shop .shorts-slide{display:block}
 .public-shop .shorts-details{display:contents}
 .public-shop .shorts-stage:not(.shorts-landscape) .shorts-video{object-fit:cover}
 .public-shop .shorts-info{position:absolute;inset:0 0 72px;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;max-height:none;overflow:visible;padding:76px 84px 8px 16px;background:none;pointer-events:none}
 .public-shop .shorts-info>*{position:relative;z-index:1}
 .public-shop .shorts-info :is(.shorts-creator-name,.shorts-slide-caption){text-shadow:0 1px 4px #000}
 .public-shop .shorts-slide-title{position:absolute;top:8px;left:64px;right:64px;z-index:2;margin:0;max-height:calc(var(--shop-leading-heading) * 2em);overflow:hidden;text-align:center;pointer-events:none;text-shadow:0 1px 8px #000a}
 .public-shop .shorts-info button,.public-shop .shorts-info a,.public-shop .shorts-info .shorts-slide-caption{pointer-events:auto}
 .public-shop .shorts-creator{flex-wrap:wrap;gap:8px}
 .public-shop .shorts-avatar{display:grid;width:40px;height:40px;background:#0008;color:var(--shop-media-text)}
 .public-shop .shorts-follow{margin-left:0;min-height:44px;padding:6px 14px;border:0;border-radius:999px}
 .public-shop .shorts-caption-more{align-self:start;padding:4px 8px;border-radius:12px;background:transparent;color:var(--shop-media-text)}
 .public-shop .shorts-followers,.public-shop .shorts-slide-cat{display:none}
 .public-shop .shorts-views{order:-1;text-shadow:0 1px 6px #000a}
 .public-shop .shorts-actions{position:absolute;z-index:3;right:8px;top:112px;bottom:64px;display:grid;align-content:end;gap:8px;width:68px;max-height:none;overflow-y:auto;scrollbar-width:none}
 /* An embedded provider player (TikTok) draws its own title, creator and action column. Ours must not sit on top of them: drop the duplicate title and move our column left of the provider's. */
 .public-shop .shorts-slide:has(iframe) .shorts-slide-title{display:none}
 .public-shop .shorts-slide:has(iframe) .shorts-actions{right:72px}
 .public-shop .shorts-slide:has(iframe) .shorts-info{padding-right:148px}
 .public-shop .shorts-actions .shorts-action{display:grid;justify-items:center;gap:2px;width:64px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:16px;background:transparent}
 .public-shop .shorts-actions .shorts-action .shorts-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0008}
 .public-shop .shorts-actions .shorts-action .shorts-icon svg{width:24px;height:24px}
 .public-shop .shorts-actions [data-short-share] .shorts-action-label{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}
 .public-shop .shorts-sound .shorts-action-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 .public-shop .shorts-link,.public-shop .shorts-detail-tabs,.public-shop .shorts-related{display:none}
 .public-shop .shorts-player-bar{left:12px;right:12px;bottom:8px;grid-template-columns:44px minmax(0,1fr) 44px 44px;grid-template-rows:44px;gap:8px;padding:0;background:transparent}
 .public-shop .shorts-player-play{grid-column:1;grid-row:1}
 .public-shop .shorts-seek{grid-column:2;grid-row:1;width:100%;height:44px;min-height:44px;margin:0;border-radius:999px;appearance:none;background:linear-gradient(90deg,var(--shorts-accent) calc(var(--shorts-progress,0) * 100%),#ffffff59 0)}
 .public-shop .shorts-seek::-webkit-slider-runnable-track{height:44px;background:transparent;border:0}
 .public-shop .shorts-seek::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:14px;border:0;border-radius:50%;background:#fff}
 .public-shop .shorts-seek::-moz-range-track{height:44px;background:transparent;border:0}
 .public-shop .shorts-seek::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#fff}
 .public-shop .shorts-clock{grid-column:2;grid-row:1;justify-self:center;align-self:center;z-index:1;pointer-events:none;text-align:center;text-shadow:0 1px 4px #000}
 .public-shop .shorts-sound{grid-column:3;grid-row:1}
 .public-shop .shorts-fullscreen{grid-column:4;grid-row:1}
 .public-shop .shorts-progress{display:none}
 .public-shop .shorts-steps{left:8px;right:auto;top:42%;gap:8px;display:flex;flex-direction:column;transform:none}
 .public-shop .shorts-comments-panel{position:absolute;z-index:10;inset:auto 0 0;height:min(72%,42rem);min-height:0;box-sizing:border-box;padding:16px 16px 16px;border:1px solid var(--shorts-line);border-radius:22px 22px 0 0;background:var(--shop-surface);box-shadow:0 -16px 50px #0008}
 .public-shop .shorts-slide:not([data-comments-open]) .shorts-comments-panel{display:none}
 .public-shop .shorts-comments-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
 .public-shop .shorts-comments-heading h3{margin:0;overflow-wrap:anywhere}
 .public-shop .shorts-comments-heading .shorts-action{min-width:44px;min-height:44px}
 .public-shop .shorts-comments-heading .shorts-action-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
}
@media(max-width:600px){
 .public-shop[data-shop-shorts-page]{background:var(--shorts-ink)}
 .public-shop .shorts-head{gap:12px;align-items:center}
 .public-shop .shorts-head-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--app-accent),#c51691)}
 .public-shop .shorts-grid{gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,10rem),1fr))}
 .public-shop .shorts-search{max-width:none}
 .public-shop .shorts-brand>span{display:none}
 .public-shop .shorts-viewer-toolbar{padding-left:72px;padding-right:12px}
 .public-shop .shorts-viewer-search{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:10px;width:44px}
 .public-shop .shorts-viewer-search input{display:none}
 .public-shop .shorts-viewer-search[data-expanded=true]{left:70px;width:auto}
 .public-shop .shorts-viewer-search[data-expanded=true] input{display:block}
}
@media(max-height:600px) and (min-width:1101px){
 .public-shop .shorts-details{overflow-y:auto}
 .public-shop .shorts-comments-panel{min-height:22rem;flex:none}
}
@media(max-height:500px){.public-shop .shorts-stage:not(.shorts-landscape) .shorts-video{object-fit:contain}}
@media(prefers-reduced-motion:reduce){.public-shop .shorts-feed{scroll-behavior:auto}}

/* The same Shop shell stays interactive; no copied navigation or reference-image palette. */
html.shorts-open .public-shop .site-header{position:fixed;inset:0 0 auto;padding-top:env(safe-area-inset-top,0px);z-index:40}
html.shorts-open .public-shop .site-header .shop-topnav{display:none}
html.shorts-open .public-shop .shop-sidebar{display:block;z-index:35;width:var(--shorts-rail-width,248px);border-right:1px solid var(--line)}
html.shorts-open .public-shop :is(.chat-widget-launcher,.cart-widget-launcher){visibility:hidden}
.public-shop .shorts-stage,.public-shop :is(.shorts-clock,.shorts-pause-mark,.shorts-error,.shorts-toast,.shorts-step){color:var(--shop-media-text)}
.public-shop .shorts-player-bar .shorts-action{color:var(--shop-media-text);background:transparent}
.public-shop .shorts-tap:focus-visible,.public-shop .shorts-player-bar :focus-visible{outline-color:var(--shop-media-text)}
.public-shop .shorts-viewer :is(button,input,textarea,a):focus-visible{outline-color:var(--shorts-accent)}
.public-shop .shorts-player-bar :is(button,input):focus-visible{outline-color:var(--shop-media-text)}
.public-shop .shorts-follow[aria-pressed=true],.public-shop .shorts-comment-send{color:var(--shop-on-accent)}
.public-shop .shorts-brand{color:var(--shorts-ink)}
.public-shop .shorts-close{top:4px}
@media(min-width:601px) and (max-width:1100px){html.shorts-open .public-shop{--shorts-rail-width:224px}}
@container shorts-viewer (max-width:46rem){
 .public-shop .shorts-info :is(.shorts-creator-name,.shorts-slide-title,.shorts-slide-caption,.shorts-views,.shorts-count,.shorts-action-label){color:var(--shop-media-text)}
 .public-shop .shorts-info .shorts-follow{background:var(--shorts-accent);color:var(--shop-on-accent)}
 .public-shop .shorts-actions .shorts-action{color:var(--shop-media-text)}
 .public-shop .shorts-actions .shorts-action[aria-pressed=true]{background:transparent;color:var(--shop-media-text)}
 .public-shop .shorts-actions .shorts-action[aria-pressed=true] .shorts-icon{background:var(--shorts-accent);color:var(--shop-on-accent)}
 .public-shop .shorts-player-bar .shorts-action{background:#0008;border-radius:50%}
 .public-shop .shorts-comments-heading .shorts-action{background:var(--shop-surface-soft);color:var(--shorts-ink)}
}
@media(max-width:600px),(max-width:959px) and (max-height:500px){
 html.shorts-open .public-shop{--shorts-rail-width:0px}
 html.shorts-open .public-shop .site-header .header-inner{flex-wrap:nowrap}
 html.shorts-open .public-shop .shop-sidebar{display:none;width:248px}
 html.shorts-open .public-shop .shop-sidebar[data-shop-open]{display:block;z-index:55}
 .public-shop .shorts-viewer{bottom:calc(var(--shop-app-nav-height,56px) + var(--shop-viewport-bottom,0px));--shorts-toolbar-height:0px}
 html.shorts-open .public-shop .site-header{background:#fff;color:var(--app-ink,#241d35)}
 html.shorts-open .public-shop .shop-app-nav{background:#fff;color:var(--app-muted,#655e73);border-top-color:var(--app-line,#e9e6f0)}
 .public-shop .shorts-close-x{display:none}
 .public-shop .shorts-close-back{display:grid}
 .public-shop .shorts-close{background:#0008;color:var(--shop-media-text)}
 .public-shop .shorts-stage-menu{position:absolute;z-index:6;top:8px;right:8px;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#0008;color:var(--shop-media-text)}
 .public-shop .shorts-stage-menu .shop-icon{width:26px;height:26px}
 .public-shop .shorts-stage-menu-panel{position:absolute;z-index:7;top:64px;right:8px;display:grid;gap:8px;min-width:12rem;padding:8px;border:1px solid var(--app-line,var(--line));border-radius:16px;background:var(--shop-surface);color:var(--app-ink,var(--ink));box-shadow:0 12px 36px #12376a26}
 .public-shop .shorts-stage-menu-panel button{min-height:44px;padding:8px 12px;border:0;border-radius:12px;background:var(--app-soft,#f4eeff);color:var(--app-accent,#6d28d9);text-align:start}
 .public-shop .shorts-viewer-toolbar{height:0;padding:0;border:0;background:transparent}
 .public-shop .shorts-brand{display:none}
 .public-shop .shorts-close{top:8px;left:8px;background:#0008;color:var(--shop-media-text)}
 .public-shop .shorts-viewer-search{display:none}
 .public-shop .shorts-viewer-search[data-expanded=true]{display:flex;left:64px;right:64px;top:10px;width:auto;background:var(--shop-surface)}
 .public-shop .shorts-viewer-search[data-expanded=true] input{display:block}
}
.public-shop .video-offer{position:absolute;z-index:4;left:16px;bottom:96px;display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;max-width:min(22rem,calc(100% - 32px));pointer-events:auto}
.public-shop .shorts-media>.video-offer{max-width:min(22rem,calc(100% - var(--shorts-details-width) - 40px))}
.public-shop .video-offer-order{display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:6px 12px 6px 6px;border:0;border-radius:14px;background:#fff;color:#1c1730;box-shadow:0 8px 24px #0006;cursor:pointer;text-align:left;text-decoration:none}
.public-shop .video-offer-mark{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#f41f4e;color:#fff}
.public-shop .video-offer-mark svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.public-shop .video-offer-mark.has-photo{background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px #0000001f}
.public-shop .video-offer-photo{display:block;width:100%;height:100%;object-fit:cover}
.public-shop .video-offer-copy{display:grid;min-width:0}
.public-shop .video-offer-title{overflow-wrap:anywhere}
.public-shop .video-offer-price{color:#e11d48}
.public-shop .shop-video-stage>.video-offer{left:12px;right:auto;bottom:64px;max-width:calc(50% - 48px)}
.public-shop .portal-preview-stage>.video-offer{left:12px;right:auto;bottom:calc(var(--watch-controls-height,0px) + 12px);max-width:min(22rem,calc(100% - 24px))}
.public-shop .video-offer.is-docked{position:relative;left:auto;bottom:auto;z-index:auto;margin:12px 0 0;max-width:100%}
.public-shop .video-offer.is-docked .video-offer-order{border:1px solid #cbd5e1;box-shadow:none}
/* Resting state set by video-offer/collapse.js: the chip shows the bag and the price and opens to the name on hover, focus or tap. Only what is shown changes, never the
   type size (typography.css owns it). A docked chip, the open-size measuring pass and a page without the module keep the full chip. */
.public-shop .video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) .video-offer-title{display:none}
.public-shop .video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) .video-offer-order{gap:0}
.public-shop .video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) .video-offer-copy{margin-inline-start:8px}
.public-shop .video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) .video-offer-copy:not(:has(.video-offer-price)){margin-inline-start:0}
.public-shop .video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) .video-offer-order:not(:has(.video-offer-price)){padding-inline-end:6px}
@keyframes video-offer-reveal{from{opacity:0}}
.public-shop .video-offer[data-offer-state=open] .video-offer-title{animation:video-offer-reveal .18s ease-out}
/* The chip is a child of .shorts-media, so these rules must name that parent. In the compact player it spans the width just above the player bar; the caption
   block and the action rail both stop above it. The name wraps instead of being clipped (the shared typography audit rejects clipped text); the controller
   publishes the chip's height as --shorts-offer-height. */
@container shorts-viewer (max-width:46rem){
 .public-shop .shorts-media>.video-offer{left:12px;right:12px;bottom:60px;max-width:none;flex-wrap:nowrap}
 .public-shop .shorts-media>.video-offer .video-offer-order{flex:1 1 0;min-width:0}
 .public-shop .shorts-media>.video-offer .video-offer-copy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;min-width:0;flex:1}
 .public-shop .shorts-media>.video-offer .video-offer-title{flex:1 1 8em;min-width:0}
 .public-shop .shorts-media>.video-offer .video-offer-price{flex:0 0 auto;white-space:nowrap}
 .public-shop .shorts-media>.video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]){right:auto}
 .public-shop .shorts-media>.video-offer[data-offer-state=collapsed]:not(.is-docked,[data-offer-measure]) :is(.video-offer-order,.video-offer-copy){flex:0 0 auto}
 .public-shop .shorts-media:has(>.video-offer) .shorts-info{inset-block-end:calc(74px + var(--shorts-offer-height,48px))}
 .public-shop .shorts-media:has(>.video-offer) .shorts-actions{bottom:calc(68px + var(--shorts-offer-height,48px))}
}

/* Phone player declutter (0.0.488): a short action rail, touch-free step buttons and idle fading controls. The title keeps its two lines: a one-line clamp
   made the shared typography audit report a 2px ellipsis overflow, and the title fades with the other controls anyway. Type metrics stay in typography.css. */
@media(max-width:600px),(max-width:959px) and (max-height:500px){
 .public-shop .shorts-viewer .shorts-actions :is([data-short-bookmark],[data-short-share],.shorts-next-preview){display:none}
 .public-shop .shorts-stage-menu-panel button[aria-pressed=true]{background:var(--app-accent,#6d28d9);color:var(--shop-on-accent)}
 .public-shop .shorts-stage-menu-panel button:disabled{opacity:.5}
 .public-shop .shorts-close,.public-shop .shorts-stage-menu,.public-shop .shorts-steps,.public-shop .shorts-slide-title,.public-shop .shorts-player-bar{transition:opacity .25s}
 .public-shop .shorts-viewer[data-chrome-idle] :is(.shorts-close,.shorts-stage-menu,.shorts-steps,.shorts-slide-title,.shorts-player-bar){opacity:0}
 .public-shop .shorts-viewer[data-chrome-idle] .shorts-slide .shorts-progress{display:block}
}
/* Touch screens swipe between clips, so the step buttons stop covering the picture. They stay in the page for screen readers and keyboards and reappear when focused. */
@media(max-width:600px),(max-width:959px) and (max-height:500px){
 @media(pointer:coarse){
  .public-shop .shorts-viewer .shorts-steps:not(:focus-within){width:1px;height:1px;gap:0;overflow:hidden;clip-path:inset(50%)}
 }
}
@media(prefers-reduced-motion:reduce){
 .public-shop .video-offer[data-offer-state=open] .video-offer-title{animation:none}
 .public-shop .shorts-close,.public-shop .shorts-stage-menu,.public-shop .shorts-steps,.public-shop .shorts-slide-title,.public-shop .shorts-player-bar{transition:none}
}
/* Several products on one clip: a button next to the chip opens the list above it. The list stays inside the frame and scrolls when it is long. */
.public-shop .video-offer-all{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border:0;border-radius:14px;background:#ffd23f;color:#1c1730;box-shadow:0 8px 24px #0006;cursor:pointer}
.public-shop .video-offers-panel{position:absolute;left:0;bottom:calc(100% + 8px);z-index:5;width:min(26rem,calc(100vw - 24px));max-height:min(60vh,22rem);overflow:auto;padding:12px;border-radius:16px;background:#1c1730f2;color:#fff;box-shadow:0 12px 32px #000a}
.public-shop .video-offers-panel[hidden]{display:none}
.public-shop .video-offers-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.public-shop .video-offers-close{min-width:44px;min-height:44px;border:0;border-radius:50%;background:#ffffff26;color:#fff;cursor:pointer}
.public-shop .video-offers-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.public-shop .video-offers-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border-radius:12px;background:#ffffff14}
.public-shop .video-offers-copy{display:grid;min-width:0;overflow-wrap:anywhere}
.public-shop .video-offers-item .video-offer-price{color:#ffd23f}
.public-shop .video-offers-cmd{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 12px;border:0;border-radius:12px;background:#7c3aed;color:#fff;cursor:pointer;text-decoration:none}
.public-shop .video-offers-cmd+.video-offers-cmd{grid-column:3}
.public-shop .video-offer-all:focus-visible,.public-shop .video-offers-panel :is(button):focus-visible{outline:3px solid #ff8bca;outline-offset:2px}
@media (max-width:640px){.public-shop .video-offers-item{grid-template-columns:auto minmax(0,1fr)}.public-shop .video-offers-cmd{grid-column:1 / -1}}
