/* Roger's 154 reference: shop / broad video / chat. The source stays uncropped. */
@media (min-width:1024px) {
  html:has(#shell[data-reference]) { overflow: hidden; }
  body.watch:has(#shell[data-reference]) { padding:0 !important;margin:0 !important; }
  body.watch #shell[data-reference] {
    width:100%; max-width:none; margin:0; height:100dvh; min-height:0;
    padding:0 12px 12px; gap:12px;
    grid-template-columns:minmax(0,20fr) minmax(0,55fr) minmax(0,23fr);
    grid-template-rows:60px minmax(0,1fr);
    grid-template-areas:"head head head" "shop stage chat";
    font-family:var(--roan-font-sans); font-weight:400;
  }
  body.watch #shell[data-reference] *, body.watch #shell[data-reference] button { font-family:var(--roan-font-sans) !important; font-synthesis:none; letter-spacing:0 !important; }
  body.watch #shell[data-reference] :is(strong,b,h1,h2,h3,button) { font-weight:600 !important; }
  body.watch #shell[data-reference] .watch-head { height:60px; padding-inline:18px; }
  body.watch #shell[data-reference] .stage-wrap {
    top:0 !important; min-width:0; min-height:0; overflow:hidden; border-radius:18px !important; isolation:isolate;
    --h4-ch:100cqh; --h4-cw:100cqw; --h4-cl:0px; --h4-cb:0px;
    --h4-bar:40px; --h4-gap:12px; --h4-bl:16px; --h4-bw:calc(100cqw - 32px);
    background:#211b2a !important;
  }
  body.watch #shell[data-reference] .stage-wrap > :is(.stage,.peek) { inset:0 !important; width:100%; height:100%; border-radius:18px; box-shadow:none; background:transparent; }
  body.watch #shell[data-reference] #stage video.clip, body.watch #shell[data-reference] #stage img.room-poster { width:100%;height:100%;object-fit:contain;object-position:50% 50%;background:transparent !important; }
  body.watch #shell[data-reference] #stage::after { background:linear-gradient(180deg,rgba(12,8,22,.25),transparent 25%,transparent 50%,rgba(12,8,22,.6)); }
  body.watch #shell[data-reference] .ref-video-backdrop-285 { position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);filter:blur(22px) brightness(.52);z-index:0;pointer-events:none; }
  body.watch #shell[data-reference] .stage { z-index:1; }
  body.watch #shell[data-reference] .shop, body.watch #shell[data-reference] section.chat { border-radius:18px;box-shadow:none;border:1px solid rgba(255,255,255,.08);min-height:0; }
  body.watch #shell[data-reference] .shop { padding:0 8px 8px;overflow:hidden;background:#24202e;display:flex;flex-direction:column;gap:0; }
  body.watch #shell[data-reference] .shop-title { font-size:16px; padding:8px 4px 6px;margin:0;min-height:36px;height:36px;flex:none;gap:8px; }
  body.watch #shell[data-reference] .room-shop-filters { display:flex;flex-wrap:nowrap;gap:4px;padding:0 0 5px;margin:0;border:0;flex:none;height:30px; }
  body.watch #shell[data-reference] .room-shop-filters button { min-height:30px !important;height:30px !important;padding:4px 8px;font-size:12px;border-radius:8px;color:#eee7f6;background:transparent;border:0;white-space:nowrap; }
  body.watch #shell[data-reference] .room-shop-filters button[aria-pressed=true] { background:var(--roan-button-gradient);color:#fff; }
  body.watch #shell[data-reference] .room-products-154 { display:flex;flex-direction:column;gap:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-radius:12px;background:#f8f7fb;color:#201b2c;flex:1; }
  body.watch #shell[data-reference] .shop .room-product-154 { display:grid;grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:1fr;position:relative;flex:none;min-height:78px;padding:10px 6px;column-gap:4px;border:0;border-bottom:1px solid #e5e1ec;border-radius:0;background:transparent;box-shadow:none; }
  body.watch #shell[data-reference] .shop .room-product-154.is-current { order:-1;z-index:1;margin:0 0 6px;border:1.5px solid #9c65ed;border-radius:12px;background:#fff;box-shadow:0 5px 14px rgba(129,64,221,.18); }
  body.watch #shell[data-reference] .shop .room-product-open { grid-row:1;grid-column:1;gap:7px;color:#201b2c;min-width:0; }
  body.watch #shell[data-reference] .shop .room-product-open img { width:56px;height:56px;flex-basis:56px;border-radius:8px; }
  body.watch #shell[data-reference] .shop .room-product-copy { gap:4px;min-width:0; }
  body.watch #shell[data-reference] .shop .room-product-copy strong { color:#21192d;font-size:14px;line-height:1.25;-webkit-line-clamp:2; }
  body.watch #shell[data-reference] .shop .room-product-copy strong { font-weight:500 !important; }
  body.watch #shell[data-reference] .shop .room-product-copy b { color:#21192d;font-size:15px;font-weight:600 !important;line-height:1.2; }
  body.watch #shell[data-reference] .shop .room-product-price { display:flex;gap:4px;flex-wrap:wrap; }
  body.watch #shell[data-reference] .shop .room-product-price del { color:#6c607a;font-size:12px; }
  body.watch #shell[data-reference] .shop .room-cart-154 { grid-column:2;grid-row:1;width:32px !important;min-width:32px !important;height:32px !important;min-height:32px !important;border-radius:8px;background:#f4effc;color:#8140dd;border:1px solid #d9c9ef;box-shadow:none; }
  body.watch #shell[data-reference] .shop .room-product-154.is-current .room-cart-154 { background:var(--roan-button-gradient);color:#fff;border-color:transparent; }
  body.watch #shell[data-reference] .shop .room-learn-more { grid-row:1;grid-column:2;font-size:12px;writing-mode:vertical-rl;padding:3px; }
  body.watch #shell[data-reference] .shop .room-product-request-188 { position:absolute;top:2px;right:6px;width:18px;height:18px;min-height:18px;padding:1px;font-size:0;border:0;background:transparent;color:#6b497d;opacity:0; }
  body.watch #shell[data-reference] .shop .room-product-request-188::before { content:"↻";font-size:14px; }
  body.watch #shell[data-reference] .shop .room-product-154:is(:hover,:focus-within) .room-product-request-188 { opacity:1; }
  body.watch #shell[data-reference] .shop .bag-summary { display:none; }
  body.watch #shell[data-reference] .stage-wrap > .h4-host { display:flex;position:absolute;z-index:40;top:16px;left:16px;max-width:calc(100% - 240px);margin:0;padding:0;gap:10px;background:none;border:0;box-shadow:none; }
  body.watch #shell[data-reference] .h4-host-link { flex:0 1 auto;gap:8px; }
  body.watch #shell[data-reference] .h4-host-avatar { width:42px;height:42px;flex-basis:42px;box-shadow:none; }
  body.watch #shell[data-reference] .h4-host-name { font-size:16px; }
  body.watch #shell[data-reference] .h4-host-row { gap:6px; }
  body.watch #shell[data-reference] .h4-host-copy { display:grid;gap:3px; }
  body.watch #shell[data-reference] .h4-host-meta { font-size:12px;gap:6px; }
  body.watch #shell[data-reference] .h4-host-live { display:none; }
  body.watch #shell[data-reference] .h4-host-ai { position:absolute;top:50px;left:0;border-radius:999px;padding:4px 9px;background:rgba(30,22,43,.55);font-size:12px;white-space:nowrap; }
  body.watch #shell[data-reference] .h4-host-category { position:absolute;top:50px;left:78px;padding:4px 9px;background:rgba(30,22,43,.55);border-radius:999px;font-size:12px;white-space:nowrap; }
  body.watch #shell[data-reference] .h4-follow { width:auto;min-width:64px;height:28px !important;min-height:28px !important;padding:3px 12px;font-size:13px;border-radius:var(--roan-button-radius);background:var(--roan-button-gradient) !important;box-shadow:var(--roan-button-shadow); }
  body.watch #shell[data-reference] .stage-wrap > .top { top:16px;left:auto;right:14px;width:auto;gap:8px;align-items:center; }
  body.watch #shell[data-reference] .top .live-badge { height:26px;min-height:26px;font-size:12px;padding:3px 9px; }
  body.watch #shell[data-reference] .top .top-room-code { display:none !important; }
  body.watch #shell[data-reference] .room-more-154, body.watch #shell[data-reference] .ref-share-285 { display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;background:transparent;border:0;color:#fff;border-radius:50%; }
  body.watch #shell[data-reference] .room-more-154 { order:5; }
  body.watch #shell[data-reference] .ref-share-285 { order:4; }
  body.watch #shell[data-reference] #stage-wrap > #unmute.room-sound-toggle { width:32px;min-width:32px;height:32px;min-height:32px;top:58px;right:16px;bottom:auto;border-radius:50%;z-index:45; }
  body.watch #shell[data-reference] .stage-wrap > .room-deal-154 { display:block !important;position:absolute !important;z-index:25;top:24% !important;right:16px !important;left:auto !important;bottom:auto !important;width:160px !important;max-width:27%;height:auto !important;max-height:calc(100% - 250px);border:1px solid #c5a1f9;border-radius:14px;padding:0;overflow:auto;box-shadow:0 7px 20px rgba(42,15,79,.35);background:#faf7ff;color:#21152f; }
  body.watch #shell[data-reference] .room-deal-154[hidden] { display:none !important; }
  body.watch #shell[data-reference] .room-deal-154 h2 { margin:0;padding:8px 10px;background:var(--roan-button-gradient);color:white;font-size:13px; }
  body.watch #shell[data-reference] .room-deal-body { display:grid;gap:5px;padding:8px; }
  body.watch #shell[data-reference] .room-deal-body > img { width:100%;height:94px;object-fit:contain;border-radius:6px;background:white; }
  body.watch #shell[data-reference] .room-deal-brand { display:none; }
  body.watch #shell[data-reference] .room-deal-body strong { font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
  body.watch #shell[data-reference] .room-deal-price { display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:14px; }
  body.watch #shell[data-reference] .room-deal-price b { font-size:16px; }
  body.watch #shell[data-reference] .room-deal-price del { font-size:12px;color:#776882; }
  body.watch #shell[data-reference] .room-buy-154 { display:flex;align-items:center;justify-content:center;gap:4px;min-height:34px !important;height:34px !important;padding:4px 10px;font-size:13px;border-radius:var(--roan-button-radius);background:var(--roan-button-gradient);color:#fff;border:0;box-shadow:var(--roan-button-shadow); }
  body.watch #shell[data-reference] .stage-wrap > .stage-purchase { left:12px;right:12px;width:auto;bottom:12px;height:60px;z-index:35; }
  body.watch #shell[data-reference] .room-now-154 { display:flex;gap:8px;height:60px;min-height:0; }
  body.watch #shell[data-reference] .room-now-154 .room-now-label { display:none !important; }
  body.watch #shell[data-reference] .room-now-154 > .room-product-154 { display:flex;gap:8px;flex:1 1 auto;min-width:0;width:auto;height:60px;min-height:0;padding:6px 8px;border-radius:12px;background:#fff;color:#22182d;border:1px solid #cfa9f8;box-shadow:none; }
  body.watch #shell[data-reference] .room-now-154 .room-product-copy strong { color:#21192d;font-size:14px;font-weight:500 !important; }
  body.watch #shell[data-reference] .room-now-154 .room-product-copy b { color:#21192d;font-size:14px;font-weight:600 !important; }
  body.watch #shell[data-reference] .room-now-154 .room-product-open { min-width:0; }
  body.watch #shell[data-reference] .room-now-154 .room-product-open img { width:42px;height:42px;flex-basis:42px; }
  body.watch #shell[data-reference] .room-now-154 .room-cart-154 { width:32px !important;height:32px !important;min-width:32px !important;min-height:32px !important;border-radius:8px;background:var(--roan-button-gradient);color:#fff; }
  body.watch #shell[data-reference] .room-now-154 .room-now-carousel { display:flex !important;gap:6px;overflow:auto;max-width:38%;min-width:0;align-items:center; }
  body.watch #shell[data-reference] .room-now-carousel button { flex:none;width:52px;height:52px;min-height:0;padding:4px;border:0;border-radius:9px;background:#f7f3fb; }
  body.watch #shell[data-reference] .room-now-carousel img { width:100%;height:100%;object-fit:contain; }
  body.watch #shell[data-reference] .stage-wrap > .room-overlay-composer { position:absolute;top:auto;bottom:86px;left:16px;width:calc(100% - 174px);height:40px;min-height:40px;padding:0 4px 0 14px;background:rgba(28,19,40,.55);border:1px solid rgba(255,255,255,.3);box-shadow:none; }
  body.watch #shell[data-reference] .room-overlay-composer input { font-size:14px; }
  body.watch #shell[data-reference] .room-overlay-composer button { width:30px;height:30px;min-height:30px;background:transparent;box-shadow:none; }
  body.watch #shell[data-reference] .stage-wrap > .h4-actions { position:absolute;top:auto;bottom:86px;right:16px;gap:8px; }
  body.watch #shell[data-reference] .h4-round { width:38px;height:38px;min-height:38px;border-radius:50%;background:rgba(34,24,48,.5);box-shadow:none;border:1px solid rgba(255,255,255,.2); }
  body.watch #shell[data-reference] .h4-like { width:40px;height:40px;background:#f24478;border:0; }
  body.watch #shell[data-reference] .ref-bubbles-285 { position:absolute;left:16px;bottom:140px;z-index:30;display:grid;gap:6px;max-width:calc(100% - 205px);max-height:166px;overflow:hidden;pointer-events:none; }
  body.watch #shell[data-reference] .ref-bubble-285 { display:flex;gap:5px;align-items:center;max-width:100%;padding:5px 10px;border-radius:999px;background:rgba(28,20,40,.6);color:#fff;font-size:12px;line-height:1.35; }
  body.watch #shell[data-reference] .ref-bubble-285 .who { color:#f0d8ff;font-weight:600;white-space:nowrap; }
  body.watch #shell[data-reference] .ref-bubble-285 .what { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
  body.watch #shell[data-reference] .ref-bubble-285 .h11-av { display:none; }
  body.watch #shell[data-reference] section.chat { padding:0 12px 12px;overflow:hidden;background:#201c2b; }
  body.watch #shell[data-reference] .room-chat-tabs { padding:18px 0 12px;margin:0;gap:24px;flex:none; }
  body.watch #shell[data-reference] .room-chat-tabs button { font-size:14px;min-height:30px;font-weight:500; }
  body.watch #shell[data-reference] section.chat .feed { flex:1 1 auto;min-height:0;overflow:auto;gap:8px;padding:10px 0; }
  body.watch #shell[data-reference] .feed .line { border:0;border-radius:10px;padding:8px;background:transparent;font-size:13px;line-height:1.45;backdrop-filter:none;box-shadow:none; }
  body.watch #shell[data-reference] .feed .line.event:not(.script-fallback) { background:#33293f; }
  body.watch #shell[data-reference] .feed .line.script-fallback { background:transparent; }
  body.watch #shell[data-reference] .feed .line .who { font-size:13px; }
  body.watch #shell[data-reference] .room-ai-note { font-size:12px; }
  body.watch #shell[data-reference] .h4-hearts { left:auto;right:10px;bottom:140px;height:240px; }
  body.watch #shell[data-reference] .room-chat-empty { font-size:13px;padding:10px 0; }
  body.watch #shell[data-reference] .h11-caption { display:none !important; }
}
.ref-video-backdrop-285,.ref-bubbles-285,.ref-share-285 { display:none; }
/* On phones the real feed overlays the image: keep only speech there too. */
@media (max-width:1023px) {
  body.watch #shell[data-reference] #feed .line.event:not(.script-fallback) { display:none !important; }
}
@media (min-width:1024px) {
  .ref-video-backdrop-285 { display:block; }
  .ref-share-285 { display:grid; }
  body.watch #shell[data-reference] .ref-bubbles-285 { display:grid; }
}
@media (min-width:1024px) and (max-height:650px) {
  body.watch #shell[data-reference] .room-deal-body > img { height:52px; }
  body.watch #shell[data-reference] .stage-wrap > .room-deal-154 { top:22% !important;max-height:calc(100% - 235px); }
  body.watch #shell[data-reference] .ref-bubbles-285 { max-height:100px; }
}

@media (min-width:1024px) {
  body.watch #shell[data-reference] .room-more-154 { width:28px !important;min-width:28px !important;height:28px !important;min-height:28px !important; }
  body.watch #shell[data-reference] .shop .room-product-request-188 { min-height:18px !important; }
}
/* 287C: shared navigation and the reference's second composer. */
@media (min-width:1024px) {
  body.watch #shell[data-reference] .watch-head .top-bar { display:grid !important;grid-template-columns:100px max-content minmax(110px,1fr) auto;gap:18px; }
  body.watch #shell[data-reference] .watch-head .primary-nav { display:flex !important;gap:16px;overflow:visible; }
  body.watch #shell[data-reference] .watch-head .primary-nav a { font-size:13px;line-height:1.2;padding:20px 0 16px;color:#dfd2ed;white-space:nowrap; }
  body.watch #shell[data-reference] .watch-head .primary-nav a[aria-current=page] { color:white;text-decoration:none; }
  body.watch #shell[data-reference] .watch-head .wordmark { grid-column:1; }
  body.watch #shell[data-reference] .watch-head .top-left { grid-column:3; }
  body.watch #shell[data-reference] .watch-head .top-right { grid-column:4;gap:14px; }
  body.watch #shell[data-reference] .watch-head .lang-switch { min-width:100px; }
  body.watch #shell[data-reference] section.chat > #composer { display:flex !important;position:static !important;inset:auto !important;width:100% !important;height:42px;min-height:42px;flex:none;margin:10px 0 0;padding:2px 4px 2px 12px;gap:4px;border:1px solid #756683;border-radius:999px;background:#302837;box-shadow:none; }
  body.watch #shell[data-reference] section.chat > #composer input { min-width:0;flex:1;width:0;font-size:13px;background:transparent;border:0;outline-offset:0;color:white; }
  body.watch #shell[data-reference] section.chat > #composer button { min-width:44px;min-height:34px;height:34px;padding:4px 8px;border-radius:999px;font-size:12px;background:var(--roan-button-gradient);color:white; }
  body.watch #shell[data-reference] .room-chat-tabs { gap:22px;padding:14px 0 0;border-bottom:1px solid #44394f; }
  body.watch #shell[data-reference] .room-chat-tabs button { min-height:40px !important;font-size:14px;position:relative;padding:0 0 12px;border:0;border-radius:0; }
  body.watch #shell[data-reference] .room-chat-tabs button[aria-pressed=true]::after { content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#b680ff; }
  body.watch #shell[data-reference] .ref-video-backdrop-285 { filter:blur(18px) brightness(.68) saturate(1.08); }
  body.watch #shell[data-reference] #stage :is(video.clip,img.room-poster) { mask-image:linear-gradient(to right,transparent var(--ref-clear-left,0px),#000 calc(var(--ref-clear-left,0px) + 24px),#000 calc(var(--ref-clear-right,100%) - 24px),transparent var(--ref-clear-right,100%)); }
  body.watch #shell[data-reference] .h4-host-category { display:inline-flex !important;visibility:visible !important;left:78px; }
  body.watch #shell[data-reference] .h4-host-category[hidden] { display:none !important; }
  body.watch #shell[data-reference] .h4-host-ai { left:0; }
  body.watch #shell[data-reference] .stage-wrap > .top { gap:12px; }
  body.watch #shell[data-reference] .stage-wrap > .room-deal-154 { width:26% !important;max-width:172px; }
  body.watch #shell[data-reference] .feed .line.event:not(.script-fallback) { background:transparent;padding:5px 2px;color:#c3b5cf;font-size:12px;line-height:1.4;box-shadow:none; }
  body.watch #shell[data-reference] .feed .line.event .who { font-size:12px;color:#c3b5cf; }
  body.watch #shell[data-reference] .feed .anonymous-like-287 :is(.who,.what) { display:none; }
  body.watch #shell[data-reference] .ref-shop-all-287 { display:flex;justify-content:center;align-items:center;flex:none;min-height:38px;margin-top:6px;border-top:1px solid #63536f;color:#dcc7f2;font-size:12px;text-decoration:none; }
}
.ref-shop-all-287 { display:none; }
@media (min-width:1024px) { body.watch #shell[data-reference] .ref-shop-all-287 { display:flex; } }
@media (min-width:1024px) and (max-width:1150px) {
  body.watch #shell[data-reference] .watch-head .top-bar { grid-template-columns:85px max-content minmax(90px,1fr) auto;gap:10px; }
  body.watch #shell[data-reference] .watch-head .primary-nav { gap:12px; }
  body.watch #shell[data-reference] .watch-head .primary-nav a { font-size:12px; }
  body.watch #shell[data-reference] .watch-head .lang-switch { min-width:80px; }
}
@media (min-width:1024px) {
  body.watch #shell[data-reference] section.chat > #composer #send { display:inline-flex !important;align-items:center;justify-content:center; }
  body.watch #shell[data-reference] .h4-host-category { position:absolute !important;top:50px !important; }
}
@media (min-width:1024px) {
  /* Old poster backgrounds/pseudo-layers sat above the live canvas. */
  body.watch #shell[data-reference] #stage { background-image:none !important; }
  body.watch #shell[data-reference] #stage::before { display:none !important; }
  body.watch #shell[data-reference] section.chat > #composer { order:10; }
}

/* 292C: the product-list request action is a sibling icon beside the cart. Keep both
   controls in the row so hover never stacks a vertical label over the cart or clips the
   final item; the title supplies the full wording for pointer and assistive users. */
body.watch #shell[data-reference] .room-products-154 { padding-bottom:12px; box-sizing:border-box; }
body.watch #shell[data-reference] .shop .room-product-154 { grid-template-columns:minmax(0,1fr) 32px 32px; column-gap:4px; }
body.watch #shell[data-reference] .shop .room-product-open { grid-column:1; min-width:0; }
body.watch #shell[data-reference] .shop .room-product-copy strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; white-space:normal; text-overflow:ellipsis; }
html body.watch #shell[data-reference] .shop .room-product-request-188 { position:static; grid-column:2; grid-row:1; display:grid; place-items:center; width:32px !important; height:32px !important; min-width:32px !important; min-height:32px !important; margin:0; padding:0; border:1px solid #d9c9ef; border-radius:8px; background:#f4effc; color:#6b497d; font-size:0 !important; line-height:1; opacity:0; }
body.watch #shell[data-reference] .shop .room-product-request-188::before { content:"↻"; font-size:16px; }
body.watch #shell[data-reference] .shop .room-product-154:is(:hover,:focus-within) .room-product-request-188 { opacity:1; }
body.watch #shell[data-reference] .shop .room-cart-154,
body.watch #shell[data-reference] .shop .room-learn-more { grid-column:3; grid-row:1; }
body.watch #shell[data-reference] .shop .room-learn-more { min-width:0; width:32px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; writing-mode:horizontal-tb; }
@media (max-width:767px) {
  body.watch #shell[data-reference] .shop .room-product-154 { grid-template-columns:minmax(0,1fr) 30px 30px; column-gap:3px; }
  html body.watch #shell[data-reference] .shop .room-product-request-188 { width:30px !important; min-width:30px !important; height:30px !important; min-height:30px !important; opacity:1; }
  body.watch #shell[data-reference] .shop .room-product-request-188::before { font-size:15px; }
  body.watch #shell[data-reference] .shop .room-cart-154,
  body.watch #shell[data-reference] .shop .room-learn-more { width:30px; min-width:30px; }
}

/* 289C: compact chat rhythm and a single focus owner for each composer. */
body.watch #shell[data-reference] section.chat .feed { gap:var(--roan-space-2); }
body.watch #shell[data-reference] section.chat .feed .line { padding-block:3px; }
body.watch #shell[data-reference] section.chat .feed .line + .line { margin-top:var(--roan-space-1); }
body.watch #shell[data-reference] section.chat .feed .line.reply + .line,
body.watch #shell[data-reference] section.chat .feed .line + .line.reply { margin-top:var(--roan-space-2); }
body.watch #shell[data-reference] section.chat .feed .line.event { margin-top:0; padding-block:2px; }
body.watch #shell[data-reference] :is(section.chat > #composer, .stage-wrap > .room-overlay-composer) input:focus,
body.watch #shell[data-reference] :is(section.chat > #composer, .stage-wrap > .room-overlay-composer) input:focus-visible { border:0 !important; outline:0 !important; box-shadow:none !important; }
body.watch #shell[data-reference] section.chat > #composer:focus-within,
body.watch #shell[data-reference] .stage-wrap > .room-overlay-composer:focus-within { border-color:#b680ff !important; box-shadow:none !important; }
body.watch #shell[data-reference] .reply-pending .what { color:#cdb9df; }
body.watch #shell[data-reference] .reply-dots::after { content:"···"; display:inline-block; width:1.5em; overflow:hidden; vertical-align:bottom; animation:reply-dots-289 1.1s steps(4,end) infinite; }
@keyframes reply-dots-289 { from { width:0; } to { width:1.5em; } }
@media (prefers-reduced-motion: reduce) { body.watch #shell[data-reference] .reply-dots::after { animation:none; width:1.5em; } }
/* 290C: reference-style Today's Deals card, with real product facts only. */
@media (min-width:1024px) {
  body.watch #shell[data-reference] .stage-wrap > .room-deal-154 { width:24% !important; max-width:190px; min-width:168px; top:22% !important; right:16px !important; border:1px solid #c5a1f9; border-radius:14px; background:#fcf8ff; box-shadow:0 8px 22px rgba(42,15,79,.3); overflow:hidden; }
  body.watch #shell[data-reference] .room-deal-154 h2 { display:flex; align-items:center; gap:5px; height:30px; box-sizing:border-box; margin:0; padding:0 10px; border-radius:13px 13px 0 0; background:var(--roan-button-gradient); color:#fff; font-size:13px; font-weight:600 !important; }
  body.watch #shell[data-reference] .room-deal-154 > h2::before { display:none !important; }
  body.watch #shell[data-reference] .room-deal-title-icon { display:inline-flex; flex:none; }
  body.watch #shell[data-reference] .room-deal-body { display:grid; gap:var(--roan-space-2); padding:8px; background:#fcf8ff; }
  body.watch #shell[data-reference] .room-deal-image { position:relative; min-height:112px; height:112px; overflow:hidden; border-radius:10px; background:linear-gradient(145deg,#fff6ff,#ead8fb); }
  body.watch #shell[data-reference] .room-deal-image > .room-deal-art { display:block; width:100%; height:100%; padding:8px; box-sizing:border-box; object-fit:contain; background:transparent; mix-blend-mode:multiply; }
  body.watch #shell[data-reference] .room-deal-next { position:absolute; top:50%; right:7px; display:grid; place-items:center; width:24px; height:24px; min-height:24px; padding:0; transform:translateY(-50%); border:1px solid rgba(112,56,181,.2); border-radius:50%; background:rgba(255,255,255,.9); color:#5f3195; font-size:20px; line-height:1; box-shadow:0 2px 6px rgba(55,24,90,.14); }
  body.watch #shell[data-reference] .room-deal-next[hidden] { display:none; }
  body.watch #shell[data-reference] .room-deal-brand { display:none; }
  body.watch #shell[data-reference] .room-deal-body > strong { min-width:0; color:#24172f; font-size:13px; font-weight:500 !important; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  body.watch #shell[data-reference] .room-deal-price { display:flex; align-items:baseline; gap:5px; min-width:0; flex-wrap:nowrap; white-space:nowrap; font-variant-numeric:tabular-nums; }
  body.watch #shell[data-reference] .room-deal-price b { color:#6e2cc0; font-size:16px; font-weight:600 !important; line-height:1.2; }
  body.watch #shell[data-reference] .room-deal-price del { color:#8d8297; font-size:11px; }
  body.watch #shell[data-reference] .room-deal-discount { padding:2px 5px; border-radius:999px; background:#ffe3ee; color:#cf3159; font-size:10px; font-weight:600; }
  body.watch #shell[data-reference] .room-deal-body > .room-buy-154 { width:100%; min-height:32px !important; height:32px !important; padding:4px 9px; border-radius:var(--roan-button-radius); font-size:12px; font-weight:600; }
}
@media (max-width:1023px) {
  body.watch #shell[data-reference] .stage-wrap > .room-deal-154 { display:block !important; position:absolute !important; top:26% !important; right:8px !important; bottom:auto !important; left:auto !important; width:27vw !important; min-width:104px; max-width:112px; border:1px solid #c5a1f9; border-radius:12px; background:#fcf8ff; box-shadow:0 6px 16px rgba(42,15,79,.3); }
  body.watch #shell[data-reference] .room-deal-154 h2 { display:flex; align-items:center; gap:2px; height:24px; box-sizing:border-box; margin:0; padding:0 5px; border-radius:11px 11px 0 0; font-size:7px; font-weight:600 !important; letter-spacing:-.1px; white-space:nowrap; overflow:hidden; }
  body.watch #shell[data-reference] .room-deal-154 > h2::before { display:none !important; }
  body.watch #shell[data-reference] .room-deal-body { display:grid; gap:4px; padding:6px; }
  body.watch #shell[data-reference] .room-deal-image { position:relative; height:64px; overflow:hidden; border-radius:8px; background:linear-gradient(145deg,#fff6ff,#ead8fb); }
  body.watch #shell[data-reference] .room-deal-image > .room-deal-art { display:block; width:100%; height:100%; padding:5px; box-sizing:border-box; object-fit:contain; mix-blend-mode:multiply; }
  body.watch #shell[data-reference] .room-deal-next { position:absolute; top:50%; right:4px !important; display:grid; place-items:center; width:18px !important; height:18px !important; min-width:18px !important; min-height:18px !important; padding:0; transform:translateY(-50%); border:1px solid rgba(112,56,181,.2); border-radius:50%; background:rgba(255,255,255,.9); color:#5f3195; font-size:15px !important; line-height:1; }
  body.watch #shell[data-reference] .room-deal-next[hidden] { display:none; }
  body.watch #shell[data-reference] .room-deal-brand { display:none; }
  body.watch #shell[data-reference] .room-deal-body > strong { font-size:11px; font-weight:500 !important; line-height:1.2; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  body.watch #shell[data-reference] .room-deal-price { display:flex; align-items:baseline; gap:3px; flex-wrap:nowrap; white-space:nowrap; }
  body.watch #shell[data-reference] .room-deal-price b { color:#6e2cc0; font-size:13px; font-weight:600 !important; }
  body.watch #shell[data-reference] .room-deal-price del { color:#8d8297; font-size:9px; }
  body.watch #shell[data-reference] .room-deal-discount { padding:1px 3px; border-radius:999px; background:#ffe3ee; color:#cf3159; font-size:8px; font-weight:600; }
  body.watch #shell[data-reference] .room-deal-body > .room-buy-154 { width:100%; min-height:28px !important; height:28px !important; padding:3px 5px; border-radius:var(--roan-button-radius); font-size:10px; }
  body.watch #shell[data-reference] .room-deal-body > .room-buy-154 svg { width:13px; height:13px; }
}
/* 287C-7: never offer live interaction before status + playable media agree. */
body.watch[data-room-readiness]:not([data-room-readiness=live]) :is(#live-badge,.h4-host-live,#viewer-count,#side-actions,.h4-actions,.room-gifts-160,.room-gifts-154,.room-gift-toggle-221,.room-heart-154,.room-overlay-composer,#composer,#feed,.room-chat-empty,.ref-bubbles-285,#stage-purchase,.room-deal-154,.room-now-154,#unmute,#player-controls,#cc-desk,.room-product-request-188,.ref-video-backdrop-285) { display:none !important; }
body.watch[data-room-readiness]:not([data-room-readiness=live]) #offair:not([hidden]) { inset:12px;top:12px;z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:#211b2a;color:#f8f4fc;text-align:center;border-radius:14px;overflow:auto; }
body.watch[data-room-readiness]:not([data-room-readiness=live]) #offair h2 { font-family:var(--roan-font-sans);font-size:24px;font-weight:600;margin:0; }
body.watch[data-room-readiness]:not([data-room-readiness=live]) #offair p { font-size:14px;line-height:1.6;max-width:34em;margin:0; }
body.watch #offair .offair-host-287 { display:block;width:min(100%,280px);height:min(43dvh,340px);object-fit:cover;object-position:50% 0%;border-radius:12px; }
body.watch #offair .offair-host-287[hidden] { display:none; }
body.watch[data-room-readiness]:not([data-room-readiness=live]) #shell[data-reference] section.chat > #composer,
body.watch[data-room-readiness]:not([data-room-readiness=live]) :is(#sound-hint,#shop .room-cart-154) { display:none !important; }
