/* AI Tools Vault: store top layouts (store word: look). Printed only when the owner picked a layout in the Command
   Center (Storefront > Store top) or while the owner previews one. vault-look.js puts data-lk="<id>" and data-tp-*
   on #aitv-root. Every rule needs that attribute, so without it nothing here applies and the store keeps Today's header.
   The header DOM is the one vault.js draws (logo, tabs, search, icons); modules keep adding their tabs and buttons.
   The layouts only place and paint them. Breakpoints: computer >= 1101px, tablet 769-1100px, phone <= 768px.
   Colours come from the theme tokens in vault.css. */

/* The theme's own values, kept so a popup inside a recoloured band can go back to them. */
#aitv-root[data-lk] {
  --tp-ink0: var(--ink); --tp-ink20: var(--ink-2); --tp-muted0: var(--muted); --tp-faint0: var(--faint); --tp-surface0: var(--surface);
  --tp-soft0: var(--soft); --tp-bg20: var(--bg-2); --tp-line0: var(--line); --tp-line20: var(--line-2); --tp-inv0: var(--inv); --tp-oninv0: var(--on-inv);
}

/* ---------- where things go: the owner's choices ---------- */
#aitv-root[data-tp-logo="left"][data-tp-search="top"]    { --tp-cols: auto minmax(0,1fr) auto; --tp-top: "logo search icons"; }
#aitv-root[data-tp-logo="center"][data-tp-search="top"]  { --tp-cols: minmax(0,1fr) auto minmax(max-content,1fr); --tp-top: "search logo icons"; }
#aitv-root[data-tp-logo="right"][data-tp-search="top"]   { --tp-cols: auto minmax(0,1fr) auto; --tp-top: "icons search logo"; }
#aitv-root[data-tp-logo="left"][data-tp-search="row"]    { --tp-cols: auto minmax(0,1fr) auto; --tp-top: "logo . icons"; }
#aitv-root[data-tp-logo="center"][data-tp-search="row"]  { --tp-cols: minmax(0,1fr) auto minmax(max-content,1fr); --tp-top: ". logo icons"; }
#aitv-root[data-tp-logo="right"][data-tp-search="row"]   { --tp-cols: auto minmax(0,1fr) auto; --tp-top: "icons . logo"; }

#aitv-root[data-lk] #av-top { -webkit-backdrop-filter: none; backdrop-filter: none; }
#aitv-root[data-lk] #av-top .av-tb {
  display: grid; grid-template-columns: var(--tp-cols); align-items: center; column-gap: 18px; row-gap: 10px; flex-wrap: nowrap; min-height: 0; padding-top: 10px; padding-bottom: 10px;
}
#aitv-root[data-tp-search="top"][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: var(--tp-top) "nav nav nav"; }
#aitv-root[data-tp-search="top"][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav nav" var(--tp-top); }
#aitv-root[data-tp-search="row"][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: var(--tp-top) "search search search" "nav nav nav"; }
#aitv-root[data-tp-search="row"][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav nav" var(--tp-top) "search search search"; }

#aitv-root[data-lk] #av-top .av-logo { grid-area: logo; min-width: 0; justify-self: start; }
#aitv-root[data-tp-logo="center"] #av-top .av-logo { justify-self: center; min-width: max-content; }
#aitv-root[data-tp-logo="center"] #av-top .av-tb-r { min-width: max-content; }
#aitv-root[data-tp-logo="right"] #av-top .av-logo { justify-self: end; }
#aitv-root[data-lk] #av-top .av-hsearch { grid-area: search; order: 0; flex: none; width: 100%; min-width: 0; max-width: 560px; height: 42px; margin: 0; justify-self: center; }
#aitv-root[data-tp-logo="center"][data-tp-search="top"] #av-top .av-hsearch { max-width: 400px; justify-self: start; }
#aitv-root[data-tp-search="row"] #av-top .av-hsearch { max-width: none; justify-self: stretch; }
#aitv-root[data-lk] #av-top .av-tb-r { grid-area: icons; order: 0; margin: 0; min-width: 0; justify-self: end; justify-content: flex-end; }
#aitv-root[data-tp-logo="right"] #av-top .av-tb-r { justify-self: start; justify-content: flex-start; }

#aitv-root[data-lk] #av-top .av-nav {
  grid-area: nav; order: 0; flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0; padding: 0; min-width: 0; max-width: 100%;
  background: none; border-radius: 0; isolation: auto; overflow: visible; -webkit-mask-image: none; mask-image: none;
}
#aitv-root[data-tp-align="left"] #av-top .av-nav { justify-content: flex-start; }
#aitv-root[data-tp-align="center"] #av-top .av-nav { justify-content: safe center; }
#aitv-root[data-tp-align="fill"] #av-top .av-tab { flex-grow: 1; }
#aitv-root[data-lk] #av-top .av-tab-ind { display: none !important; }
#aitv-root[data-lk] #av-top .av-tab { flex: 0 0 auto; min-width: 0; justify-content: center; }
#aitv-root[data-tp-align="fill"] #av-top .av-tab { flex: 1 0 auto; }
#aitv-root[data-lk] #av-top .av-tab i { display: inline-block; }
#aitv-root[data-lk] #av-top .av-new { position: static; margin-left: 2px; }
#aitv-root[data-lk] #av-top .av-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* too many tabs for the row: the row swipes sideways (never the page), and a soft edge shows there is more */
#aitv-root[data-lk] #av-top .av-nav.lk-scroll {
  justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; padding-right: 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
}
#aitv-root[data-lk] #av-top .av-nav.lk-scroll::-webkit-scrollbar { display: none; }

/* The header stays pinned at full height while scrolling, so vault.js gives --hdr its true height. Only the card size cap keeps Today's value, so a layout never changes the tools list. */
#aitv-root[data-lk] #av-grid .av-card { --hdr: 115px; }
@media (max-width: 768px) { #aitv-root[data-lk] #av-grid .av-card { --hdr: 165px; } }

/* tablet: a centered logo always gets the search on its own row, so nothing is squeezed */
@media (max-width: 1100px) {
  #aitv-root[data-tp-logo="center"][data-tp-search="top"] { --tp-top: ". logo icons"; }
  #aitv-root[data-tp-logo="center"][data-tp-search="top"][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: var(--tp-top) "search search search" "nav nav nav"; }
  #aitv-root[data-tp-logo="center"][data-tp-search="top"][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav nav" var(--tp-top) "search search search"; }
  #aitv-root[data-tp-logo="center"][data-tp-search="top"] #av-top .av-hsearch { max-width: none; justify-self: stretch; }
}
/* small tablet: there is not enough width for a usable search next to the icons */
@media (max-width: 900px) {
  #aitv-root[data-tp-logo="left"][data-tp-search="top"] { --tp-top: "logo . icons"; }
  #aitv-root[data-tp-logo="right"][data-tp-search="top"] { --tp-top: "icons . logo"; }
  #aitv-root[data-tp-search="top"][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: var(--tp-top) "search search search" "nav nav nav"; }
  #aitv-root[data-tp-search="top"][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav nav" var(--tp-top) "search search search"; }
  #aitv-root[data-lk] #av-top .av-hsearch { max-width: none; justify-self: stretch; }
}
/* small tablet: no room for a true middle next to the icons, so a centered logo starts at the side */
@media (max-width: 900px) {
  #aitv-root[data-tp-logo="center"], #aitv-root[data-tp-logo="center"][data-tp-search="top"] { --tp-cols: auto minmax(0,1fr) auto; --tp-top: "logo . icons"; }
  #aitv-root[data-tp-logo="center"] #av-top .av-logo { justify-self: start; }
}
@media (max-width: 900px) {
  #aitv-root[data-lk]:not([data-lk="aisle"]) #av-top .av-tab i { display: none; }
  #aitv-root[data-lk]:not([data-lk="aisle"]) #av-top .av-tab { padding-left: 10px; padding-right: 10px; }
  #aitv-root[data-lk="aisle"] #av-top .av-nav { gap: 5px; }
}
/* phone: logo and icons share the first row, the search always has its own full row, the tabs swipe edge to edge */
@media (max-width: 768px) {
  #aitv-root[data-lk] #av-top .av-tb { grid-template-columns: auto minmax(0,1fr); column-gap: 8px; }
  #aitv-root[data-lk][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: "logo icons" "search search" "nav nav"; }
  #aitv-root[data-lk][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav" "logo icons" "search search"; }
  #aitv-root[data-lk][data-tp-logo="right"] #av-top .av-tb { grid-template-columns: minmax(0,1fr) auto; }
  #aitv-root[data-lk][data-tp-logo="right"][data-tp-tabs="below"] #av-top .av-tb { grid-template-areas: "icons logo" "search search" "nav nav"; }
  #aitv-root[data-lk][data-tp-logo="right"][data-tp-tabs="above"] #av-top .av-tb { grid-template-areas: "nav nav" "icons logo" "search search"; }
  #aitv-root[data-tp-logo="center"] #av-top .av-logo { justify-self: start; }
  #aitv-root[data-lk] #av-top .av-hsearch, #aitv-root[data-tp-logo="center"][data-tp-search="top"] #av-top .av-hsearch { max-width: none; height: 44px; justify-self: stretch; }
  #aitv-root[data-lk] #av-top .av-tb-r { flex-wrap: wrap; gap: 2px; }
  #aitv-root[data-lk] #av-top .av-tab i { display: none; }
  #aitv-root[data-lk] #av-top .av-tab-pg i { display: inline-block; }
  #aitv-root[data-lk] #av-top .av-nav { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); max-width: none; scroll-padding: 0 var(--gut); }
}
@media (max-width: 420px) {
  #aitv-root[data-lk] #av-top .av-tb:has(.av-tb-r > :nth-child(6)) .av-word { display: none; }
}
/* the store designer's phone menu button keeps working */
@media (max-width: 760px) {
  #aitv-root[data-lk].avl-m-burger #av-top .av-tb, #aitv-root[data-lk].avl-m-burger[data-tp-logo="right"] #av-top .av-tb { grid-template-columns: auto auto minmax(0,1fr); grid-template-areas: "burger logo icons" "search search search"; }
  #aitv-root[data-lk].avl-m-burger #av-top .avl-burger { grid-area: burger; }
  #aitv-root[data-lk].avl-m-burger #av-top .av-nav { display: none; }
  #aitv-root[data-lk].avl-m-burger.avl-nav-open #av-top .av-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 6px); left: 8px; right: 8px; z-index: 90; margin: 0; padding: 8px; max-width: none; border-radius: 16px; background: var(--tp-surface0); box-shadow: var(--sh-3); overflow: visible; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- the welcome text above the tools: left, right, centered without pictures, or centered over a row of big pictures ---------- */
@media (min-width: 981px) {
  #aitv-root[data-tp-hero="right"] .av-hero-in { grid-template-columns: auto minmax(0,1fr); }
  #aitv-root[data-tp-hero="right"] .av-hero-art, #aitv-root[data-tp-hero="right"] .stg-hero { order: -1; }
}
#aitv-root[data-tp-hero="center"] .av-hero-in, #aitv-root[data-tp-hero="show"] .av-hero-in { grid-template-columns: minmax(0,1fr); justify-items: center; }
#aitv-root[data-tp-hero="center"] .av-hero-txt, #aitv-root[data-tp-hero="show"] .av-hero-txt { text-align: center; }
#aitv-root[data-tp-hero="center"] .av-hero p, #aitv-root[data-tp-hero="show"] .av-hero p { margin-left: auto; margin-right: auto; }
#aitv-root[data-tp-hero="center"] .av-kick-row, #aitv-root[data-tp-hero="center"] .av-cta, #aitv-root[data-tp-hero="center"] .av-hlinks, #aitv-root[data-tp-hero="center"] .av-trust-row,
#aitv-root[data-tp-hero="show"] .av-kick-row, #aitv-root[data-tp-hero="show"] .av-cta, #aitv-root[data-tp-hero="show"] .av-hlinks, #aitv-root[data-tp-hero="show"] .av-trust-row { justify-content: center; }
#aitv-root[data-tp-hero="center"] .av-hero-art, #aitv-root[data-tp-hero="center"] .stg-hero.is-mascot { display: none !important; }
#aitv-root[data-tp-hero="center"] .stg-hero, #aitv-root[data-tp-hero="show"] .stg-hero { grid-column: 1 / -1; margin: 8px auto 0; }

/* the row of big pictures: flat in a line, the middle one largest, rising a little when pointed at. Hides nothing on phones. */
#aitv-root[data-tp-hero="show"] .av-hero h1 { font-size: clamp(30px, 4vw, 58px); }
#aitv-root[data-tp-hero="show"] .av-hero p { max-width: 640px; text-wrap: balance; }
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] { display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 1.2vw, 16px); width: 100%; max-width: 1040px; height: auto; margin: 6px 0 0; }
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan[style] {
  position: relative; left: auto; top: auto; flex: 1 1 0; min-width: 0; width: auto; max-width: 196px; height: auto; aspect-ratio: 4 / 5; animation: none;
  transform: rotate(calc(var(--d) * 2.5deg)) translateY(calc(max(var(--d), calc(var(--d) * -1)) * 10px)); transform-origin: 50% 100%;
}
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan.is-mid[style] { max-width: 224px; flex-grow: 1.15; }
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class]:hover .av-fan[style] { transform: rotate(calc(var(--d) * 2.5deg)) translateY(calc(max(var(--d), calc(var(--d) * -1)) * 10px)); }
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan[style]:hover, #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan[style]:focus-visible { transform: rotate(0deg) translateY(-12px); z-index: 20 !important; }
#aitv-root[data-lk][data-tp-hero="show"] .av-hero-glow { display: none; }
/* below 981px the store has no room for two columns: the pictures go under the text (the store hides them there; the layouts keep them) */
@media (max-width: 980px) {
  #aitv-root[data-lk] .av-hero-in { grid-template-columns: minmax(0,1fr); }
  #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] { max-width: 100%; }
}
@media (max-width: 600px) {
  #aitv-root[data-lk][data-tp-hero="show"] .av-hero { overflow: hidden; }
  #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] { gap: 8px; }
  #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan[style], #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan.is-mid[style] { flex: 0 0 31%; max-width: none; border-width: 3px; border-radius: 14px; }
  #aitv-root[data-lk][data-tp-hero="show"] .av-hero-art[class] .av-fan.is-mid[style] { flex-basis: 36%; }
}

/* =====================================================================
   SHOP WINDOW: header and welcome text join into one dark band that ends on an accent line.
   ===================================================================== */
#aitv-root[data-lk="window"] { --tp-band: #0f172a; }
#aitv-root[data-lk="window"][data-theme="navy"] { --tp-band: #1b2c66; }
#aitv-root[data-lk="window"][data-theme="slate"] { --tp-band: #27313f; }
#aitv-root[data-lk="window"][data-theme="dark"] { --tp-band: #1b1e26; }
#aitv-root[data-lk="window"] #av-top { background: var(--tp-band); border-bottom: 0; }
#aitv-root[data-lk="window"]:not([data-view="store"]) #av-top { border-bottom: 4px solid var(--accent); }
#aitv-root[data-lk="window"] #av-top .av-tb, #aitv-root[data-lk="window"] #av-top .av-subnav,
#aitv-root[data-lk="window"][data-view="store"] .av-hero {
  --ink: #fff; --ink-2: rgba(255,255,255,.88); --muted: rgba(255,255,255,.76); --faint: rgba(255,255,255,.55); --surface: rgba(255,255,255,.1); --soft: rgba(255,255,255,.07);
  --bg-2: rgba(255,255,255,.13); --line: rgba(255,255,255,.18); --line-2: rgba(255,255,255,.3); --inv: #fff; --on-inv: #0f172a;
  color: #fff;
}
/* the search box stays a clear light field on the band */
#aitv-root[data-lk="window"] #av-top .av-hsearch { --ink: #0f172a; --ink-2: #334155; --muted: #5b6b82; --faint: #93a1b5; --surface: #fff; --bg-2: #e9eef6; --line: #e3e8f0; --line-2: #d2dae6; --inv: #0f172a; --on-inv: #fff; }
#aitv-root[data-lk="window"] #av-top .av-hs-in:not(:focus) { border-color: #fff; }
/* popups inside the header go back to the visitor's theme */
#aitv-root[data-lk="window"] #av-top .av-helpm-p {
  --ink: var(--tp-ink0); --ink-2: var(--tp-ink20); --muted: var(--tp-muted0); --faint: var(--tp-faint0); --surface: var(--tp-surface0); --soft: var(--tp-soft0);
  --bg-2: var(--tp-bg20); --line: var(--tp-line0); --line-2: var(--tp-line20); --inv: var(--tp-inv0); --on-inv: var(--tp-oninv0); color: var(--tp-ink0);
}
#aitv-root[data-lk="window"] #av-top .av-tab { min-height: 38px; padding: 7px 14px; border-radius: 10px; background: transparent; color: rgba(255,255,255,.86); font-weight: 600; }
@media (hover: hover) { #aitv-root[data-lk="window"] #av-top .av-tab:hover { background: rgba(255,255,255,.13); color: #fff; } }
#aitv-root[data-lk="window"] #av-top .av-tab i { color: inherit; opacity: .9; }
#aitv-root[data-lk="window"] #av-top .av-tab.is-deals:not([aria-current="page"]) { color: #ffb3b8; }
#aitv-root[data-lk="window"] #av-top .av-tab[aria-current="page"], #aitv-root[data-lk="window"] #av-top .av-tab[aria-current="page"]:hover { background: #fff; color: #0f172a; font-weight: 700; }
#aitv-root[data-lk="window"] #av-top .av-tab[aria-current="page"] i { color: #d9400b; opacity: 1; }
#aitv-root[data-lk="window"] #av-top .av-tab[aria-current="page"] .av-count { background: #e9eef6; color: #0f172a; border-color: transparent; }
#aitv-root[data-lk="window"] #av-top .av-sn-a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
#aitv-root[data-lk="window"] #av-top .av-sn-a i { color: inherit; }
#aitv-root[data-lk="window"][data-view="store"] .av-hero {
  background-color: var(--tp-band); border-bottom: 4px solid var(--accent); margin-bottom: 22px;
  background-image: radial-gradient(62% 92% at 100% 100%, color-mix(in srgb, var(--brand) 30%, transparent), transparent);
}
/* the dark theme's lighter blue would turn grey here: keep the glow faint */
#aitv-root[data-lk="window"][data-theme="dark"][data-view="store"] .av-hero { background-image: radial-gradient(62% 92% at 100% 100%, color-mix(in srgb, var(--brand) 12%, transparent), transparent); }
#aitv-root[data-lk="window"][data-view="store"] .av-hero-glow { display: none; }
#aitv-root[data-lk="window"][data-view="store"] .av-hero .av-link { color: #fff; }
#aitv-root[data-lk="window"][data-view="store"] .av-hero .av-trust-row i { color: #4ade80; }
/* the display case: a soft light from above, the pictures stand in it and are cut by the accent line */
#aitv-root[data-lk="window"][data-tp-hero="show"][data-view="store"] .av-hero {
  padding-bottom: 0; overflow: hidden;
  background-image: radial-gradient(70% 60% at 50% 0, color-mix(in srgb, var(--brand) 38%, transparent), transparent), radial-gradient(50% 45% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}
#aitv-root[data-lk="window"][data-theme="dark"][data-tp-hero="show"][data-view="store"] .av-hero {
  background-image: radial-gradient(70% 60% at 50% 0, color-mix(in srgb, var(--brand) 10%, transparent), transparent), radial-gradient(50% 45% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}
#aitv-root[data-lk="window"][data-tp-hero="show"] .av-hero-art[class] { margin-bottom: -70px; }
#aitv-root[data-lk="window"][data-tp-hero="show"] .av-hero-in { gap: 14px; }
#aitv-root[data-lk="window"][data-tp-hero="show"] .av-hlinks, #aitv-root[data-lk="window"][data-tp-hero="show"] .av-trust-row { margin-top: 10px; }
@media (max-width: 980px) { #aitv-root[data-lk="window"][data-tp-hero="show"] .av-hero-art[class] { margin-bottom: -44px; } }
@media (max-width: 600px) { #aitv-root[data-lk="window"][data-tp-hero="show"] .av-hero-art[class] { margin-bottom: -22px; } }
#aitv-root[data-lk="window"] .av-hero-art[class] .av-fan[style] { --surface: #fff; border-color: rgba(255,255,255,.92); box-shadow: 0 22px 44px rgba(0,0,0,.45); }

/* =====================================================================
   POSTER (id seek): the search box is the strongest thing on the top, and the welcome text is one loud poster with sticker pictures.
   ===================================================================== */
#aitv-root[data-lk="seek"] { --tp-hard: #111; }
#aitv-root[data-lk="seek"][data-theme="dark"], #aitv-root[data-lk="seek"][data-theme="navy"], #aitv-root[data-lk="seek"][data-theme="slate"] { --tp-hard: var(--accent); }
#aitv-root[data-lk="seek"] #av-top { background: var(--surface); border-bottom: 3px solid var(--ink); }
#aitv-root[data-lk="seek"] #av-top .av-hsearch { height: 50px; max-width: none; justify-self: stretch; }
#aitv-root[data-lk="seek"] #av-top .av-hs-in { padding-left: 50px; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--accent); font-size: 16px; font-weight: 600; background: var(--surface); }
#aitv-root[data-lk="seek"] #av-top .av-hs-in:focus { border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
#aitv-root[data-lk="seek"] #av-top .av-hs-btn { left: 9px; color: var(--accent); font-size: 18px; }
#aitv-root[data-lk="seek"] #av-top .av-tb { row-gap: 12px; padding-bottom: 12px; }
#aitv-root[data-lk="seek"] #av-top .av-nav { gap: 2px; background: var(--ink); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; justify-self: stretch; }
#aitv-root[data-lk="seek"][data-tp-align="left"] #av-top .av-nav { justify-self: start; }
#aitv-root[data-lk="seek"][data-tp-align="center"] #av-top .av-nav { justify-self: center; }
#aitv-root[data-lk="seek"] #av-top .av-tab { min-height: 38px; padding: 6px 16px; border-radius: 0; background: var(--surface); color: var(--ink-2); font-weight: 700; }
@media (hover: hover) { #aitv-root[data-lk="seek"] #av-top .av-tab:hover { background: var(--bg-2); color: var(--ink); } }
#aitv-root[data-lk="seek"] #av-top .av-tab[aria-current="page"], #aitv-root[data-lk="seek"] #av-top .av-tab[aria-current="page"]:hover { background: var(--inv); color: var(--on-inv); box-shadow: inset 0 -4px 0 var(--accent); }
#aitv-root[data-lk="seek"] #av-top .av-tab[aria-current="page"] i { color: var(--on-inv); opacity: 1; }
#aitv-root[data-lk="seek"] #av-top .av-tab[aria-current="page"] .av-count { background: var(--on-inv); color: var(--inv); border-color: transparent; }
#aitv-root[data-lk="seek"] #av-top .av-nav-sep { display: none; }
@media (max-width: 768px) {
  #aitv-root[data-lk="seek"] #av-top .av-nav { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; max-width: 100%; }
  #aitv-root[data-lk="seek"] #av-top .av-nav.lk-scroll { padding-right: 0; -webkit-mask-image: none; mask-image: none; }
  #aitv-root[data-lk="seek"] #av-top .av-tab { padding: 6px 13px; }
  #aitv-root[data-lk="seek"] #av-top .av-hsearch { height: 48px; }
}
/* the poster: same strong yellow in every theme, so its own ink stays black */
#aitv-root[data-lk="seek"][data-view="store"] .av-hero { padding: 30px 0 34px; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero-glow { display: none; }
@media (min-width: 981px) { #aitv-root[data-lk="seek"][data-view="store"] .av-hero-in { column-gap: 52px; } }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero-in {
  position: relative; isolation: isolate; padding-top: 38px; padding-bottom: 38px; padding-left: calc(var(--gut) + 40px); padding-right: calc(var(--gut) + 40px);
  --ink: #111; --ink-2: #111; --muted: #2a2a2a; --faint: #444; --soft: #fff; --bg-2: #fff; --line: #111; --line-2: #111; --surface: #fff; --inv: #111; --on-inv: #fff;
}
#aitv-root[data-lk="seek"][data-view="store"] .av-hero-in::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: var(--gut); right: var(--gut); background: #ffd60a; border: 3px solid #111; border-radius: 22px; box-shadow: 9px 9px 0 var(--tp-hard); }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero h1 { font-size: clamp(30px, 3.9vw, 56px); color: #111; font-weight: 800; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero p { color: #1f1f1f; font-weight: 500; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero .av-fire { display: inline-block; padding: 0 .2em .04em; border-radius: .14em; background: #111; color: #ffd60a; transform: rotate(-2deg); }
#aitv-root[data-lk="seek"][data-view="store"] .av-kicker { border: 2px solid #111; box-shadow: 3px 3px 0 #111; color: #111; background: #fff; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero .av-hiw-btn { background: #fff; color: #111; border: 2.5px solid #111; box-shadow: 4px 4px 0 #111; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero .av-hero-vip { border: 2.5px solid #111; box-shadow: 4px 4px 0 #111; }
#aitv-root[data-lk="seek"][data-view="store"] .av-hero .av-hlink, #aitv-root[data-lk="seek"][data-view="store"] .av-hero .av-hlink i, #aitv-root[data-lk="seek"][data-view="store"] .av-trust-row, #aitv-root[data-lk="seek"][data-view="store"] .av-trust-row i { color: #111; }
/* sticker pictures: thick line, hard shadow, stepped up and down */
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] { width: 470px; height: 310px; --sp: 80px; }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art.n3[class] { --sp: 130px; }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art.n4[class] { --sp: 104px; }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { left: calc(50% - 78px + var(--d) * var(--sp)); top: 62px; width: 156px; height: 208px; transform: rotate(calc(var(--d) * 5deg)); animation: none; }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:nth-child(even) { top: 6px; }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { left: calc(50% - 88px); top: 40px; width: 176px; height: 234px; transform: rotate(-1.5deg); }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class]:hover .av-fan[style] { transform: rotate(calc(var(--d) * 5deg)); }
#aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:hover, #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:focus-visible { transform: rotate(0deg) translateY(-8px); z-index: 20 !important; }
#aitv-root[data-lk="seek"] .av-hero-art[class] .av-fan[style] { border: 3px solid #111; border-radius: 14px; box-shadow: 6px 6px 0 #111; }
@media (max-width: 980px) {
  #aitv-root[data-lk="seek"][data-view="store"] .av-hero-in { padding: 26px calc(var(--gut) + 22px) 22px; gap: 18px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-art[class] { display: block; width: 100%; height: 232px; --sp: clamp(52px, 13vw, 130px); }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { left: calc(50% - 62px + var(--d) * var(--sp)); top: 44px; width: 124px; height: 166px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:nth-child(even) { top: 4px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { left: calc(50% - 72px); top: 26px; width: 144px; height: 192px; }
}
@media (max-width: 600px) {
  #aitv-root[data-lk="seek"][data-view="store"] .av-hero-in { padding: 18px calc(var(--gut) + 16px) 18px; gap: 12px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] { order: -1; }
  #aitv-root[data-lk="seek"][data-view="store"] .av-hero-in::before { border-radius: 18px; box-shadow: 6px 6px 0 var(--tp-hard); right: calc(var(--gut) + 4px); }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-art[class] { height: 176px; --sp: 50px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { left: calc(50% - 46px + var(--d) * var(--sp)); top: 34px; width: 92px; height: 124px; border-width: 2.5px; box-shadow: 4px 4px 0 #111; border-radius: 11px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:nth-child(even) { top: 4px; }
  #aitv-root[data-lk="seek"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { left: calc(50% - 54px); top: 22px; width: 108px; height: 144px; }
}

/* =====================================================================
   BIG AISLES: every tab is a tile with a coloured icon; the open tile points at the page. The pictures stand face-out on a shelf, so the tools start high.
   ===================================================================== */
#aitv-root[data-lk="aisle"] #av-top { background: var(--surface); border-bottom: 1px solid var(--line-2); }
#aitv-root[data-lk="aisle"] #av-top .av-nav { align-items: stretch; gap: 8px; padding-bottom: 9px; }
#aitv-root[data-lk="aisle"] #av-top .av-tb { row-gap: 12px; padding-bottom: 5px; }
#aitv-root[data-lk="aisle"][data-tp-tabs="above"] #av-top .av-tb { padding-bottom: 12px; }
/* each aisle has its own colour; the page's text colours keep it readable in every theme */
#aitv-root[data-lk="aisle"] #av-top .av-tab { --tp-c: #64748b; }
#aitv-root[data-lk="aisle"] #av-top .av-tab[data-view="store"] { --tp-c: var(--accent); }
#aitv-root[data-lk="aisle"] #av-top .av-tab.is-deals { --tp-c: var(--sale); }
#aitv-root[data-lk="aisle"] #av-top .av-tab.is-free { --tp-c: #059669; }
#aitv-root[data-lk="aisle"] #av-top .av-tab.is-bund { --tp-c: #4f6ef7; }
#aitv-root[data-lk="aisle"] #av-top .av-tab.is-partners { --tp-c: #8b5cf6; }
#aitv-root[data-lk="aisle"] #av-top .av-tab[data-view="mine"] { --tp-c: #0891b2; }
#aitv-root[data-lk="aisle"] #av-top .av-tab[data-view="claim"] { --tp-c: #d97706; }
#aitv-root[data-lk="aisle"] #av-top .av-tab {
  position: relative; flex-direction: column; gap: 5px; min-width: 92px; min-height: 70px; padding: 8px 12px 7px; border: 2px solid color-mix(in srgb, var(--tp-c) 40%, var(--surface)); border-radius: 14px;
  background: color-mix(in srgb, var(--tp-c) 11%, var(--surface)); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2;
}
#aitv-root[data-lk="aisle"][data-tp-align="fill"] #av-top .av-nav:not(.lk-scroll) { justify-content: center; }
#aitv-root[data-lk="aisle"][data-tp-align="fill"] #av-top .av-nav:not(.lk-scroll) .av-tab { flex: 1 1 0; max-width: 240px; }
#aitv-root[data-lk="aisle"] #av-top .av-tab i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--tp-c); color: #fff; font-size: 14px; opacity: 1; }
@media (hover: hover) { #aitv-root[data-lk="aisle"] #av-top .av-tab:hover { border-color: var(--tp-c); background: color-mix(in srgb, var(--tp-c) 18%, var(--surface)); color: var(--ink); } }
#aitv-root[data-lk="aisle"] #av-top .av-tab[aria-current="page"], #aitv-root[data-lk="aisle"] #av-top .av-tab[aria-current="page"]:hover { border-color: var(--inv); background: var(--inv); color: var(--on-inv); }
#aitv-root[data-lk="aisle"] #av-top .av-tab[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: -15px; width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--inv); }
#aitv-root[data-lk="aisle"] #av-top .av-count, #aitv-root[data-lk="aisle"] #av-top .av-dcount, #aitv-root[data-lk="aisle"] #av-top .av-new { position: absolute; top: 5px; right: 6px; margin: 0; }
#aitv-root[data-lk="aisle"] #av-top .av-nav.lk-scroll { padding-bottom: 9px; }
@media (min-width: 769px) and (max-width: 900px) { #aitv-root[data-lk="aisle"] #av-top .av-tab { min-width: 0; padding-left: 5px; padding-right: 5px; font-size: 12px; } }
@media (max-width: 768px) {
  #aitv-root[data-lk="aisle"] #av-top .av-tab { min-width: 80px; min-height: 62px; padding: 6px 10px 5px; font-size: 12px; }
  #aitv-root[data-lk="aisle"] #av-top .av-tab i { display: grid; width: 26px; height: 26px; font-size: 12px; }
  #aitv-root[data-lk="aisle"] #av-top .av-tab-pg i { display: grid !important; color: #fff; }
  #aitv-root[data-lk="aisle"] #av-top .av-nav-sep { margin: 8px 2px; }
}

/* the shelf: pictures stand on one line at different heights, like books turned face-out */
#aitv-root[data-lk="aisle"][data-view="store"] .av-hero { padding: 22px 0 16px; }
#aitv-root[data-lk="aisle"][data-view="store"] .av-hero h1 { font-size: clamp(28px, 3.3vw, 46px); }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] { display: flex; justify-content: center; align-items: flex-end; gap: 10px; width: 640px; height: 262px; margin: 0; padding: 0 14px 12px; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { position: relative; left: auto; top: auto; flex: 1 1 0; min-width: 0; width: auto; height: 196px; transform: none; animation: none; border-width: 3px; border-radius: 6px 10px 10px 6px; box-shadow: 0 10px 18px rgba(var(--shc),.22); transform-origin: 50% 100%; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:nth-child(odd) { height: 172px; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { flex-grow: 1.25; height: 228px; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class]:hover .av-fan[style] { transform: none; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:hover, #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:focus-visible { transform: translateY(-10px); z-index: 20 !important; }
#aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-glow { inset: auto 0 0 0; height: 12px; border-radius: 3px 3px 8px 8px; background: var(--ink); filter: none; box-shadow: 0 12px 16px -6px rgba(var(--shc),.45); }
@media (max-width: 980px) {
  #aitv-root[data-lk="aisle"][data-view="store"] .av-hero-in { gap: 16px; }
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-art[class] { display: flex; width: 100%; height: 232px; }
}
@media (max-width: 600px) {
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-art[class] { height: 150px; gap: 6px; padding: 0 8px 10px; }
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { height: 104px; border-width: 2px; }
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:nth-child(odd) { height: 92px; }
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { height: 128px; }
  #aitv-root[data-lk="aisle"]:not([data-tp-hero="show"]) .av-hero-glow { height: 9px; }
}

/* =====================================================================
   FRONT PAGE: a real newspaper front. Big serif name, double rule, serif headline with a drop capital, and a lead picture with captions.
   ===================================================================== */
#aitv-root[data-lk="press"] #av-top { background: var(--surface); border-bottom: 4px double var(--ink); }
#aitv-root[data-lk="press"] #av-top .av-tb { row-gap: 8px; padding-bottom: 0; }
#aitv-root[data-lk="press"][data-tp-tabs="above"] #av-top .av-tb { padding-bottom: 10px; }
#aitv-root[data-lk="press"] #av-top .av-mark { width: auto; background: transparent; color: var(--accent); box-shadow: none; font-size: 22px; }
#aitv-root[data-lk="press"] #av-top .av-word { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
#aitv-root[data-lk="press"] #av-top .av-hsearch { height: 40px; }
#aitv-root[data-lk="press"] #av-top .av-hs-in { border-width: 1px; border-radius: 10px; background: var(--soft); box-shadow: none; }
#aitv-root[data-lk="press"] #av-top .av-nav { gap: 6px; border-top: 1px solid var(--line); padding-top: 2px; }
#aitv-root[data-lk="press"][data-tp-tabs="above"] #av-top .av-nav { border-top: 0; border-bottom: 1px solid var(--line); padding-top: 0; }
#aitv-root[data-lk="press"] #av-top .av-tab {
  position: relative; min-height: 42px; padding: 8px 14px; border-radius: 0; background: transparent; color: var(--ink-2); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
#aitv-root[data-lk="press"] #av-top .av-tab i { display: none; }
#aitv-root[data-lk="press"] #av-top .av-tab::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: transparent; transition: background-color .15s; }
@media (hover: hover) { #aitv-root[data-lk="press"] #av-top .av-tab:hover { background: transparent; color: var(--ink); } #aitv-root[data-lk="press"] #av-top .av-tab:hover::after { background: var(--line-2); } }
#aitv-root[data-lk="press"] #av-top .av-tab[aria-current="page"], #aitv-root[data-lk="press"] #av-top .av-tab[aria-current="page"]:hover { background: transparent; color: var(--ink); font-weight: 800; }
#aitv-root[data-lk="press"] #av-top .av-tab[aria-current="page"]::after, #aitv-root[data-lk="press"] #av-top .av-tab[aria-current="page"]:hover::after { background: var(--accent); }
#aitv-root[data-lk="press"] #av-top .av-tab.is-deals:not([aria-current="page"]) { color: var(--sale-ink); }
#aitv-root[data-lk="press"] #av-top .av-tab-pg i { display: none !important; }
#aitv-root[data-lk="press"] { --tp-serif: Georgia, 'Times New Roman', Times, serif; }
#aitv-root[data-lk="press"][data-theme="light"] #av-top, #aitv-root[data-lk="press"][data-theme="light"][data-view="store"] .av-hero { background: #fbf7ee; }
#aitv-root[data-lk="press"] #av-top .av-word { font-family: var(--tp-serif); font-weight: 700; letter-spacing: -.01em; }
#aitv-root[data-lk="press"][data-view="store"] .av-hero { padding: 26px 0 26px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; }
#aitv-root[data-lk="press"][data-view="store"] .av-hero h1 { font-family: var(--tp-serif); font-weight: 700; font-size: clamp(30px, 3.9vw, 56px); letter-spacing: -.015em; line-height: 1.06; }
#aitv-root[data-lk="press"][data-view="store"] .av-hero .av-fire { font-style: italic; }
#aitv-root[data-lk="press"][data-view="store"] .av-hero p { font-family: var(--tp-serif); font-size: 18px; line-height: 1.55; color: var(--ink-2); }
#aitv-root[data-lk="press"][data-view="store"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-txt > p::first-letter { float: left; margin: 4px 8px 0 0; font-size: 3.3em; line-height: .82; font-weight: 700; color: var(--accent); }
#aitv-root[data-lk="press"][data-view="store"] .av-kicker { padding: 0 0 5px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: none; box-shadow: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; color: var(--ink); }
#aitv-root[data-lk="press"][data-view="store"] .av-hero .av-hiw-btn { background: transparent; border-radius: 4px; box-shadow: none; border: 1.5px solid var(--ink); }
#aitv-root[data-lk="press"][data-view="store"] .av-hero-glow { display: none; }
/* the pictures: one lead with its caption, the others as a small column of stories, split from the text by a thin line */
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] { display: grid; grid-template-columns: 262px 134px 134px; grid-auto-rows: 1fr; gap: 12px; width: auto; height: auto; margin: 0; padding-left: 26px; border-left: 1px solid var(--line-2); }
#aitv-root[data-lk="press"][data-tp-hero="right"] .av-hero-art[class] { padding-left: 0; padding-right: 26px; border-left: 0; border-right: 1px solid var(--line-2); }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art.n3[class] { grid-template-columns: 262px 170px; }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { position: relative; left: auto; top: auto; width: auto; height: 174px; transform: none; animation: none; border: 1px solid var(--line-2); border-radius: 0; box-shadow: none; background: var(--surface); }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] { order: -1; grid-row: 1 / span 2; height: auto; align-self: stretch; }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] img { position: absolute; inset: 0; }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class]:hover .av-fan[style] { transform: none; }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:hover, #aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style]:focus-visible { transform: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
#aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan.is-mid[style] .av-fan-cap { opacity: 1; transform: none; left: 0; right: 0; bottom: 0; border-radius: 0; background: #111; color: #fff; font-family: var(--tp-serif); font-style: italic; font-size: 13px; font-weight: 400; }
@media (max-width: 1180px) {
  #aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] { grid-template-columns: 200px 100px 100px; }
  #aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { height: 134px; }
}
@media (max-width: 980px) {
  #aitv-root[data-lk="press"]:not([data-tp-hero="show"]):not([data-tp-hero="center"]) .av-hero-art[class] { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line-2); }
  #aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art.n3[class] { grid-template-columns: 2fr 1fr; }
  #aitv-root[data-lk="press"]:not([data-tp-hero="show"]) .av-hero-art[class] .av-fan[style] { height: clamp(96px, 19vw, 150px); }
  #aitv-root[data-lk="press"][data-view="store"] .av-hero-in { gap: 18px; }
}
@media (max-width: 900px) { #aitv-root[data-lk="press"] #av-top .av-tab { letter-spacing: .05em; font-size: 12px; } #aitv-root[data-lk="press"] #av-top .av-tab::after { left: 10px; right: 10px; } }
@media (max-width: 768px) {
  #aitv-root[data-lk="press"] #av-top .av-word { font-size: 22px; }
  #aitv-root[data-lk="press"] #av-top .av-mark { width: auto; font-size: 18px; }
  #aitv-root[data-lk="press"] #av-top .av-hsearch { height: 44px; }
  #aitv-root[data-lk="press"] #av-top .av-nav-sep { margin: 10px 4px; }
}

/* ---------- motion: colour changes on hover, and one short fade when the owner switches layouts in preview. Nothing else. ---------- */
#aitv-root[data-lk].lk-enter #av-top .av-tb { animation: lk-in .3s ease-out both; }
@keyframes lk-in { from { opacity: 0; } to { opacity: 1; } }
#aitv-root[data-lk] #av-top .av-tab { transition: background-color .15s, color .15s, border-color .15s; }
#aitv-root[data-lk].av-rm #av-top .av-tb, #aitv-root[data-lk].av-rm #av-top .av-tab, #aitv-root[data-lk].av-rm #av-top .av-tab::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  #aitv-root[data-lk] #av-top .av-tb, #aitv-root[data-lk] #av-top .av-tab, #aitv-root[data-lk] #av-top .av-tab::after { animation: none !important; transition: none !important; }
}

/* ---------- owner preview bar (only the owner ever gets it) ---------- */
#aitv-root .lk-pv {
  position: fixed; left: 50%; bottom: 14px; z-index: 99990; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; width: max-content; max-width: calc(100vw - 20px);
  padding: 8px 14px; border: 2px solid #111; border-radius: 14px; background: #ffd60a; color: #111; font: 700 13px/1.3 'Poppins', system-ui, sans-serif; box-shadow: 3px 3px 0 #111; text-align: center;
}
#aitv-root .lk-pv a { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #111; color: #fff; text-decoration: none; white-space: nowrap; }
#aitv-root .lk-pv a:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
