/* A7 iOS Shortcuts section — layout. Theme tokens + fonts come from the
   site's styles.css (DaisyUI vars + font_ar/font_en). */

.a7sc-main { min-height: 60vh; }
.a7sc-main:focus { outline: none; }   /* skip-link target: focusable, no boxy ring */

/* Skip-to-content link — visually hidden until it receives keyboard focus. */
.a7-skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 9999;
  background: hsl(var(--primary)); color: hsl(var(--primary-content));
  font-family: font_ar, ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: 14px;
  padding: 10px 20px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 10px 26px -6px color-mix(in oklch, hsl(var(--primary)) 55%, transparent);
  transition: top .18s ease; }
html[lang="en"] .a7-skip { font-family: font_en, ui-sans-serif, system-ui, sans-serif; }
.a7-skip:focus { top: 8px; outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.a7sc { max-width: 1100px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 28px) 10px; font-family: font_ar, ui-sans-serif, system-ui, sans-serif; color: hsl(var(--base-content)); }
html[lang="en"] .a7sc { font-family: font_en, ui-sans-serif, system-ui, sans-serif; }

/* title row */
.a7sc-titlerow { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 8px 0 22px; }
.a7sc-title { font-size: 22px; font-weight: 800; white-space: nowrap; }
.a7sc-fade { height: 1px; width: min(140px, 24vw); }
.a7sc-titlerow .a7sc-fade:first-child { background: linear-gradient(to left,  color-mix(in oklch, hsl(var(--base-content)) 22%, transparent), transparent); }
.a7sc-titlerow .a7sc-fade:last-child  { background: linear-gradient(to right, color-mix(in oklch, hsl(var(--base-content)) 22%, transparent), transparent); }
[dir="rtl"] .a7sc-titlerow .a7sc-fade:first-child { background: linear-gradient(to right, color-mix(in oklch, hsl(var(--base-content)) 22%, transparent), transparent); }
[dir="rtl"] .a7sc-titlerow .a7sc-fade:last-child  { background: linear-gradient(to left,  color-mix(in oklch, hsl(var(--base-content)) 22%, transparent), transparent); }

/* Toolbar host — the filter/sort/search cluster is rendered + styled by the
   shared A7Toolbar module (.a7ut*, /static/apps/a7-toolbar.js). */
.a7sc-toolbar { margin-bottom: 16px; min-height: 44px; }  /* A7Boot: zone never collapses */

/* Fade-both-ends divider between the options (toolbar) and the content grid.
   90deg symmetric gradient fades at BOTH ends → direction-agnostic (no RTL override). */
.a7sc-hr { height: 1px; border: 0; width: 100%; max-width: 440px; margin: 22px auto; background: linear-gradient(90deg, transparent, color-mix(in oklch, hsl(var(--base-content)) 22%, transparent) 50%, transparent); }

/* grid — iOS-Shortcuts-style colored tiles */
.a7sc-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); padding-top: 16px; }  /* top pad reserves the featured crown so it can't overlap the divider above */
@media (min-width: 760px)  { .a7sc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .a7sc-grid { grid-template-columns: repeat(4, 1fr); } }
.a7sc-card { position: relative; }
.a7sc-card__a {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: #fff;
  background: linear-gradient(155deg, var(--c, #2563eb), color-mix(in oklab, var(--c, #2563eb) 70%, #000));
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.45);
  transition: transform .15s, box-shadow .2s;
}
.a7sc-card__a:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }
.a7sc-card__ic { position: absolute; top: 14px; inset-inline-start: 16px; font-size: 26px; color: #fff; }
.a7sc-card__dots {
  position: absolute; top: 13px; inset-inline-end: 13px; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  background: rgba(255,255,255,.25); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: background .15s;
}
/* 30px visual, but a transparent ::before lifts the hit area to 44px (iOS min). */
.a7sc-card__dots::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.a7sc-card__dots svg { width: 16px; height: 16px; color: #fff; }
.a7sc-card__dots:hover { background: rgba(255,255,255,.45); }
.a7sc-card__dots:active { transform: scale(.9); }
.a7sc-card__t {
  position: absolute; bottom: 14px; inset-inline: 16px; text-align: start;
  font-weight: 800; font-size: 16px; color: #fff; line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,.25);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
/* Description: subtle 1-line teaser on the card (when present, title clamps to 1). */
.a7sc-card__a.has-d .a7sc-card__t { bottom: 30px; -webkit-line-clamp: 1; }
.a7sc-card__d {
  position: absolute; bottom: 11px; inset-inline: 16px; text-align: start; z-index: 1;
  color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3; opacity: .72;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
/* Light admin colour (JS: relative luminance > .6) → white ink would be
   invisible / fail AA. Flip icon + title + description + dots to dark ink and
   lift the gradient floor a touch so dark ink stays legible at the darkest end.
   Applies to both the grid tile and the enlarged preview box (--light on .a7sc-lb). */
/* Owner design standard: ALL tiles keep WHITE icon + title + dots for a unified
   look (no dark ink on light admin colours). A light tile only gets a slightly
   deeper gradient floor so the white ink stays legible on bright hues. */
.a7sc-tile--light {
  background: linear-gradient(155deg, color-mix(in oklab, var(--c, #2563eb) 82%, #000), color-mix(in oklab, var(--c, #2563eb) 52%, #000));
}

/* Full description INSIDE the preview tile, under the title. */
.a7sc-lb__d {
  position: absolute; inset-inline: 18px; bottom: 18px; z-index: 1;
  font-size: 13px; font-weight: 500; line-height: 1.4; color: #fff; opacity: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  transition: opacity .22s ease .08s;
}
.a7sc-lb.open .a7sc-lb__d { opacity: .92; }
.a7sc-lb.has-d .a7sc-lb__title {
  bottom: 54px; -webkit-line-clamp: 1;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;
}

/* skeleton */
.a7sc-sk { background: linear-gradient(90deg, hsl(var(--base-200)) 25%, hsl(var(--base-300)) 50%, hsl(var(--base-200)) 75%); background-size: 200% 100%; animation: a7sc-sh 1.3s ease-in-out infinite; border-radius: 20px; }
.a7sc-sk--card { aspect-ratio: 16 / 10; }
@keyframes a7sc-sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .a7sc-sk { animation: none; } .a7sc-card__a { transition: none; } }

/* Recoverable load-failure / empty / no-results state — closure-screen vocabulary at small scale. */
.a7sc-state { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 46px 18px; }
.a7sc-state__ic { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 16px;
  color: hsl(var(--primary)); background: color-mix(in oklch, hsl(var(--primary)) 12%, transparent);
  border: 1px solid color-mix(in oklch, hsl(var(--primary)) 22%, transparent); }
.a7sc-state__ic svg { width: 28px; height: 28px; }
.a7sc-state__h { margin: 4px 0 0; font-size: 17px; font-weight: 800; color: hsl(var(--base-content)); }
.a7sc-state__p { margin: 0; font-size: 14px; color: color-mix(in oklch, hsl(var(--base-content)) 62%, transparent); max-width: 34ch; }
.a7sc-state__btn { margin-top: 6px; border: 0; background: hsl(var(--primary)); color: hsl(var(--primary-content));
  font: inherit; font-weight: 800; padding: 10px 24px; border-radius: 999px; cursor: pointer;
  min-height: 44px; transition: background .15s, transform .12s;
  box-shadow: 0 6px 18px -4px color-mix(in oklch, hsl(var(--primary)) 55%, transparent); }
.a7sc-state__btn:hover { background: color-mix(in oklch, hsl(var(--primary)) 82%, #000); }
.a7sc-state__btn:active { transform: scale(.96); }
/* Visible keyboard focus on every interactive control (a11y). The lightbox +
   share-sheet controls are appended to <body> (fixed, OUTSIDE .a7sc) so they
   need their own selectors. Round controls use a box-shadow ring that hugs the
   circle instead of a boxy outline. */
.a7sc :focus-visible, .a7sc-state__btn:focus-visible, .a7sc-toast:focus-visible,
.a7sc-lbnav:focus-visible, .a7sc-lclose:focus-visible, .a7sc-tbtn:focus-visible {
  outline: 2px solid hsl(var(--primary)); outline-offset: 2px;
}
.a7sc-card__dots:focus-visible, .a7sc-lbnav:focus-visible, .a7sc-lclose:focus-visible {
  outline: none; box-shadow: 0 0 0 2px hsl(var(--base-100)), 0 0 0 4px hsl(var(--primary));
}
.a7sc-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; }
.a7sc-pager__btn { border: 1px solid color-mix(in oklch, hsl(var(--base-content)) 16%, transparent); background: hsl(var(--base-100)); color: hsl(var(--base-content)); font: inherit; font-weight: 700; padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .15s, transform .12s; }
.a7sc-pager__btn:not(:disabled):hover { background: color-mix(in oklch, hsl(var(--base-content)) 9%, transparent); }
.a7sc-pager__btn:not(:disabled):active { transform: scale(.96); }
.a7sc-pager__btn:disabled { opacity: .4; cursor: not-allowed; }
.a7sc-pager__info { font-size: 14px; font-weight: 700; opacity: .7; }

/* toast */
.a7sc-toast { position: fixed; z-index: 9300; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%); background: rgba(20,20,24,.92); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: 999px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); opacity: 0; transition: opacity .35s, transform .35s cubic-bezier(.32,.72,0,1); }

/* in-grid ads — EXACTLY one content-tile footprint (16:10), like the tiles */
.a7sc-ad { position: relative; border-radius: 20px; overflow: hidden; background: hsl(var(--base-200)); aspect-ratio: 16 / 10; }  /* match the 20px shortcut tiles it sits among */
.a7sc-ad__native { display: block; position: absolute; inset: 0; width: 100%; height: 100%; text-decoration: none; }
.a7sc-ad__native img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* CTA caption — centered frosted pill, identical to watchfaces ads */
.a7sc-ad__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent); color: #fff; font-family: inherit; }
.a7sc-ad__t { font-weight: 700; font-size: 13px; color: #fff; padding: 5px 16px; border-radius: 999px; background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 2px 6px rgba(0,0,0,.3); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: transform .15s ease, background .15s, border-color .15s; }
.a7sc-ad__native:hover .a7sc-ad__t { transform: scale(1.07); background: rgba(0,0,0,.62); border-color: rgba(255,255,255,.55); }
.a7sc-ad__ti { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; margin-inline-end: 6px; }
.a7sc-ad__b { background: hsl(var(--primary)); color: hsl(var(--primary-content)); padding: 6px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
/* google slot fills the same 16:10 box (clipped) so it matches the tiles */
.a7sc-ad .adsbygoogle { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.a7sc-ad::after { content: "Ad"; position: absolute; top: 6px; inset-inline-start: 6px; z-index: 3; font-size: 9px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Breadcrumb */
.a7sc-bc { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; margin: 2px 0 10px; color: hsl(var(--base-content)); }
.a7sc-bc__a { color: hsl(var(--base-content)); opacity: .6; text-decoration: none; transition: opacity .15s; }
.a7sc-bc__a:hover { opacity: 1; }
.a7sc-bc__sep { opacity: .35; }
.a7sc-bc__cur { font-weight: 700; opacity: .9; }

/* Smart Stack skeleton — reserves the stack's spot (≈ coverflow height) from
   first paint so nothing below it shifts when the engine swaps in. */
.a7sc-stack-sk { height: clamp(210px, 26vw, 340px); display: flex; align-items: center; justify-content: center; }
.a7sc-stack-sk::before { content: ""; width: min(60%, 360px); aspect-ratio: 16 / 10; border-radius: 20px;
  background: linear-gradient(90deg, hsl(var(--base-200)) 25%, hsl(var(--base-300)) 50%, hsl(var(--base-200)) 75%);
  background-size: 200% 100%; animation: a7sc-sh 1.3s ease-in-out infinite; box-shadow: 0 14px 30px -14px rgba(0,0,0,.25); }  /* one shared shimmer keyframe */
@media (prefers-reduced-motion: reduce) { .a7sc-stack-sk::before { animation: none; } }

/* Smart Stack (المكدّسة الذكية) wrapper — the coverflow itself is the standalone
   engine (smart-stack.{js,css}, .ss-* classes) mounted into #smartStack. */
.a7sc-stack { margin: 0 0 6px; }

/* ════════ section closed / coming-soon (ported from cards a7cs-*) ════════ */
.a7sc-cl-wrap {
  --cs-accent: hsl(var(--primary));
  --cs-accent-press: color-mix(in oklch, hsl(var(--primary)) 82%, #000);
  --cs-accent-soft: color-mix(in oklch, hsl(var(--primary)) 12%, transparent);
  --cs-text: hsl(var(--base-content));
  --cs-muted: color-mix(in oklch, hsl(var(--base-content)) 62%, transparent);
  --cs-faint: color-mix(in oklch, hsl(var(--base-content)) 42%, transparent);
  --cs-surface-2: hsl(var(--base-200));
  --cs-border: color-mix(in oklch, hsl(var(--base-content)) 12%, transparent);
  --cs-border-strong: color-mix(in oklch, hsl(var(--base-content)) 18%, transparent);
  min-height: 74vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 22px; font-family: inherit; color: var(--cs-text);
  background: radial-gradient(120% 80% at 50% -10%, color-mix(in oklch, hsl(var(--base-content)) 5%, transparent), transparent 60%);
}
.a7sc-cl-card { width: 100%; max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.a7sc-cl-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: var(--cs-accent-soft); color: var(--cs-accent); font-size: 13px; font-weight: 700; margin-bottom: 30px;
  border: 1px solid color-mix(in oklch, hsl(var(--primary)) 22%, transparent); }
.a7sc-cl-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cs-accent); position: relative; }
.a7sc-cl-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cs-accent);
  animation: a7sc-cl-pulse 1.8s cubic-bezier(.22,.61,.36,1) infinite; }
@keyframes a7sc-cl-pulse { 0% { transform: scale(1); opacity: .6 } 70% { transform: scale(3); opacity: 0 } 100% { opacity: 0 } }
.a7sc-cl-iconwrap { position: relative; width: 128px; height: 128px; margin-bottom: 34px; display: flex; align-items: center; justify-content: center; }
.a7sc-cl-ring { position: absolute; inset: 0; border-radius: 34px; border: 1.5px solid var(--cs-border-strong); animation: a7sc-cl-floaty 5s ease-in-out infinite; }
.a7sc-cl-ring--b { inset: -14px; border-radius: 42px; opacity: .5; animation-delay: .4s; }
.a7sc-cl-iconbox { width: 96px; height: 96px; border-radius: 28px;
  background: linear-gradient(155deg, hsl(var(--primary)), var(--cs-accent-press));
  display: flex; align-items: center; justify-content: center; color: hsl(var(--primary-content));
  box-shadow: 0 14px 34px -10px color-mix(in oklch, hsl(var(--primary)) 45%, transparent);
  animation: a7sc-cl-floaty 5s ease-in-out infinite; }
.a7sc-cl-iconbox svg { width: 48px; height: 48px; }
@keyframes a7sc-cl-floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.a7sc-cl-title { font-family: inherit; font-weight: 800; font-size: clamp(22px, 3.8vw, 28px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -.3px; color: var(--cs-text); text-wrap: balance; }
.a7sc-cl-sub { font-size: clamp(15px, 2.4vw, 18px); color: var(--cs-muted); line-height: 1.7; margin: 0 0 34px; max-width: 430px; }
.a7sc-cl-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.a7sc-cl-btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 14px;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; font-family: inherit; transition: transform .08s, background .14s; }
.a7sc-cl-btn svg { width: 18px; height: 18px; }
.a7sc-cl-wrap[dir="rtl"] .a7sc-cl-btn svg { transform: scaleX(-1); }
.a7sc-cl-btn:active { transform: scale(.97); }
.a7sc-cl-btn--primary { background: hsl(var(--primary)); color: hsl(var(--primary-content));
  box-shadow: 0 6px 18px -4px color-mix(in oklch, hsl(var(--primary)) 55%, transparent); }
.a7sc-cl-btn--primary:hover { background: var(--cs-accent-press); }
.a7sc-cl-progress { margin-top: 40px; width: 100%; max-width: 300px; }
.a7sc-cl-bar { height: 6px; border-radius: 999px; background: var(--cs-surface-2); overflow: hidden; border: 1px solid var(--cs-border); }
.a7sc-cl-fill { height: 100%; width: var(--cs-progress, 68%); border-radius: 999px; background: linear-gradient(90deg, hsl(var(--primary)), var(--cs-accent-press)); animation: a7sc-cl-grow 2.4s cubic-bezier(.22,.61,.36,1) both; }
@keyframes a7sc-cl-grow { from { width: 0 } to { width: var(--cs-progress, 68%) } }
.a7sc-cl-lbl { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--cs-faint); }
@media (prefers-reduced-motion: reduce) { .a7sc-cl-ring, .a7sc-cl-iconbox, .a7sc-cl-pulse::after, .a7sc-cl-fill { animation: none !important; } }

/* footer (parity with the other sections) */
.a7-site-footer { text-align: center; padding: 40px 16px 30px; margin-top: 44px; border-top: 1px solid color-mix(in oklch, hsl(var(--base-content)) 10%, transparent); }
.a7-site-footer__logo { font-weight: 800; font-size: 20px; }
.a7-site-footer__copy { font-size: 13px; opacity: .6; margin-top: 8px; }
.a7-site-footer__social { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 10px; }
.a7-site-footer__ico { display: inline-flex; align-items: center; justify-content: center; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; color: hsl(var(--base-content)); opacity: .75; text-decoration: none; transition: opacity .18s, transform .12s, background .18s; }
.a7-site-footer__ico:hover { opacity: 1; transform: translateY(-2px); background: color-mix(in oklch, hsl(var(--base-content)) 8%, transparent); }

/* ════════════════ FLIP preview (same as watch faces) ════════════════ */
.a7sc-ov { position: fixed; inset: 0; z-index: 9000; background: rgba(14,16,20,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .34s cubic-bezier(.32,.72,0,1); }
.a7sc-ov.show { opacity: 1; pointer-events: auto; }
/* The box IS the colored tile (icon top-leading, title bottom) — enlarged. */
.a7sc-lb { position: fixed; z-index: 9001; display: none; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, var(--c, #2563eb), color-mix(in oklab, var(--c, #2563eb) 70%, #000));
  box-shadow: 0 30px 80px -22px rgba(0,0,0,.6); will-change: transform; }
.a7sc-lb__ic { position: absolute; top: 16px; inset-inline-start: 18px; font-size: 30px; line-height: 1; color: #fff; opacity: 0; transition: opacity .22s ease .08s; }
.a7sc-lb.open .a7sc-lb__ic { opacity: 1; }
.a7sc-lb__title { position: absolute; inset-inline: 18px; bottom: 16px; font-weight: 800; font-size: 20px; line-height: 1.3; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.28); opacity: 0; transition: opacity .22s ease .08s; }
.a7sc-lb.open .a7sc-lb__title { opacity: 1; }
/* The bar = buttons (+ install count) BELOW the tile, on the dim backdrop. */
.a7sc-lbbar { position: fixed; inset-inline: 0; z-index: 9002; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .26s ease, transform .3s cubic-bezier(.32,.72,0,1); }
.a7sc-lbbar.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.a7sc-lbbar__m { font-size: 13px; font-weight: 700; color: #fff; opacity: .9; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.a7sc-lbbar__row { display: flex; gap: 10px; justify-content: center; width: min(430px, calc(100vw - 48px)); }
.a7sc-tbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14.5px; padding: 13px 18px; border-radius: 14px; text-decoration: none; white-space: nowrap; flex: 1 1 0; min-width: 0;
  background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .12s, background .16s; }
.a7sc-tbtn:active { transform: scale(.96); }
.a7sc-tbtn svg { width: 18px; height: 18px; }
.a7sc-tbtn--primary { background: hsl(var(--primary)); color: hsl(var(--primary-content)); }
.a7sc-lclose { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.22); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.a7sc-lclose:active { transform: scale(.92); }
/* 34px visual, 44px hit area (transparent ::before). */
.a7sc-lclose::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
.a7sc-lclose svg { width: 16px; height: 16px; }
.a7sc-lbx { position: fixed; inset: 0; z-index: 9003; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.a7sc-lbx.show { opacity: 1; }
.a7sc-lbnav { position: fixed; pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid color-mix(in oklch, hsl(var(--base-content)) 16%, transparent); background: color-mix(in oklch, hsl(var(--base-100)) 80%, transparent); color: hsl(var(--base-content)); -webkit-backdrop-filter: blur(10px) saturate(1.5); backdrop-filter: blur(10px) saturate(1.5); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.a7sc-lbnav:active { transform: scale(.9); }
.a7sc-lbnav svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) { .a7sc-ov, .a7sc-lb__ic, .a7sc-lb__title, .a7sc-lbbar { transition: none; } }

/* ============ A7 Featured — Gold Frame (generic, shared a7- classes) ============
   The frame is drawn OUTSIDE the card via ::before/::after so it bleeds into the
   grid gap (14px) — the featured card keeps the EXACT size + position of its
   siblings. --a7-radius = the section's visible-card radius; --a7-page-bg defaults
   to the live theme bg so the 4px gap auto-matches light/dark. */
/* ONE prominence signal: a static gold hairline frame + a single crown.
   No perpetual motion on a hero — the ring/card are static, and the only
   animation is a one-shot sheen on hover. (ribbon + scale-bob + infinite
   goldflow/shimmer were the casino/award-badge cliché — removed.) */
.a7-featured{ position: relative; border-radius: var(--a7-radius); }
.a7-featured::before{                 /* static gold ring (3px), bleeds 7px out */
  content:""; position:absolute; inset:-7px; z-index:0; pointer-events:none;
  border-radius: calc(var(--a7-radius) + 7px);
  background: linear-gradient(135deg,#ffe9a8,#f6b321,#d4881a,#ffe9a8);
  box-shadow: 0 16px 38px -14px rgba(214,150,20,.55);
}
.a7-featured::after{                  /* page-bg gap (4px) between ring and card */
  content:""; position:absolute; inset:-4px; z-index:1; pointer-events:none;
  border-radius: calc(var(--a7-radius) + 4px);
  background: var(--a7-page-bg, hsl(var(--base-100)));
}
.a7-featured__card{ position:relative; z-index:2; }
.a7-featured__crown{
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  z-index: 8; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg,#ffe08a,#f6b321); color: #5a3c05;
  box-shadow: 0 6px 16px rgba(214,150,20,.5), inset 0 1px 0 rgba(255,255,255,.7);
  border: 3px solid var(--a7-page-bg, hsl(var(--base-100)));
}
.a7-featured__crown svg{ width: 26px; height: 26px; }
/* Sheen is a one-shot on hover, not an infinite loop. */
.a7-shine{ position: relative; overflow: hidden; }
.a7-shine::after{
  content: ""; position: absolute; top: -20%; left: -60%;
  width: 42%; height: 150%; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.a7-featured:hover .a7-shine::after{ animation: a7-shimmer 1s ease-in-out; }
@keyframes a7-shimmer{ 0%{left:-60%;opacity:1} 100%{left:135%;opacity:1} }
@media (prefers-reduced-motion: reduce){
  .a7-featured:hover .a7-shine::after{ animation: none; }
}
