/* Developer → Site styles (sitestyles.js), its card's reel on the Developer
   page, and the Site style row on the brief (app.js). The tool opens on a
   dashboard of its categories — the Developer page's tool cards, each playing
   a reel of what its category does — and a category opens in the editor, laid
   out as the Element builder is (builders.css .dt-cockpit): Claude down the
   left in the Claude column's paper, the canvas edge to edge, the category's
   tools in a strip of cards under it — Try it on, then its own controls —
   carrying on down the panel beside it, which holds every saved one of that
   category and the one on the canvas. The screens sit in the header, where
   the editor's topbar keeps them. The site being tried is the scene's
   subject, on the biggest shadow. */

#view-styles { height: 100vh; height: 100dvh; }
.sst-title { font: 700 15px var(--display); white-space: nowrap; }
.sst-title span { color: var(--muted); font-weight: 600; }
#view-styles .head-actions .btn svg { width: 14px; height: 14px; }
#view-styles .head-actions .mode-group .btn { padding: 5px 12px; font-size: 12.5px; }
/* the Claude panel's colours, for the column on the left and the rows on the right */
.sst {
  --clay: #D97757; --clay-soft: #FBE9E2; --cl-ink: #141413; --cl-muted: #7C7A72; --cl-paper: #FAF9F5;
  --cl-line: rgba(20, 20, 19, .11); --cl-line-soft: rgba(20, 20, 19, .07);
  --cl-rest: 0 1px 2px rgba(20, 20, 19, .05), 0 2px 8px rgba(20, 20, 19, .045);
  --cl-lift: 0 6px 18px rgba(20, 20, 19, .1), 0 2px 26px rgba(217, 119, 87, .1);
}

/* ---- the dashboard: a card per category ---- */
.sst-dash { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sst-dash-in { max-width: 1440px; margin: 0 auto; padding: 26px 28px 48px; }
.sst-dash-head h1 { margin: 0 0 4px; font: 800 clamp(28px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -.02em; }
.sst-dash-head .sub { max-width: 72ch; margin: 0; color: var(--ink); }
.sst-dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; }
.sst-cat { animation: menu-row-in .46s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 34ms); }
.sst-cat:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sst-cat .pcard-body p { margin: 4px 0 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.sst-cat .meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.sst-cat-name { max-width: 100%; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font: 600 11.5px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sst-cat-more { font: 500 11px var(--mono); color: var(--muted); }

/* ---- the saved ones, down the right ---- */
.sst-rows { display: flex; flex-direction: column; gap: 8px; padding: 6px 10px 12px; }
.sst-rows-k { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 2px 0; }
.sst-none { margin: 0; padding: 2px 2px 4px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.sst .ll-panel .sst-row.on, .sst .ll-panel .sst-row.on:hover {
  border-color: rgba(123, 30, 46, .5); background: linear-gradient(180deg, rgba(123, 30, 46, .1), rgba(123, 30, 46, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 16px rgba(123, 30, 46, .12);
}
.sst .ll-panel .sst-row.on b { color: var(--accent-deep); }
.sst .ll-panel .lt-head .sst-new { padding: 4px 11px 4px 8px; font-size: 12px; box-shadow: none; gap: 4px; }
.sst .ll-panel .lt-head .sst-new svg { width: 13px; height: 13px; }
.sst-row { flex-direction: column; align-items: stretch; gap: 3px; }
.sst-row.new { cursor: default; animation: none; }
.sst-row-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sst-row-top b { font: 700 13px var(--sans); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sst-tag { flex: none; font: 700 9.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(20, 20, 19, .06); color: var(--cl-muted); }
.sst-row.new .sst-tag { background: #FBE9E2; color: #A64B28; }
.sst-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 8px rgba(217, 119, 87, .6); }
.sst-sum { font-size: 11.5px; line-height: 1.4; color: var(--cl-muted); }
.sst-by { font-size: 11px; color: var(--cl-muted); }

/* ---- the canvas ---- */
.sst-canvas { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 20px; overflow: hidden; box-sizing: border-box; }
.sst-dev { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: view-in .34s var(--ease-out) both; }
.sst-screen {
  position: relative; overflow: hidden; overflow: clip; background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(26, 26, 26, .16), 0 2px 40px rgba(123, 30, 46, .08);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-radius .3s var(--ease-out);
}
.sst-dev[data-dev="phone"] .sst-screen { border-radius: 24px; }
.sst-dev[data-dev="tablet"] .sst-screen { border-radius: 18px; }
.sst-screen iframe {
  position: absolute; top: 0; left: 0; display: block; border: 0; background: #FFFFFF;
  transform-origin: top left; opacity: 0; transition: opacity .3s var(--ease-out);
}
.sst-dev.is-loaded iframe { opacity: 1; }
.sst-dims { font: 600 11.5px var(--sans); color: var(--muted); white-space: nowrap; }

/* ---- the tools: Try it on, then a card per pick ---- */
.sst .lt-card { width: 268px; }
.sst .ll-more .lt-card { width: auto; }
.sst-try select { width: 100%; padding: 6px 28px 6px 11px; font-size: 12.5px; border-radius: 999px; }
.sst-plays { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sst-plays .btn { min-width: 0; justify-content: center; gap: 4px; padding: 5px 6px; font-size: 11px; box-shadow: none; white-space: nowrap; }
.sst-plays .btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sst-plays .btn svg { width: 13px; height: 13px; flex: none; }
.sst .pick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sst .pick span { padding: 6px 7px 7px; font-size: 10.5px; line-height: 1.3; border-radius: 10px; }
.sst .pick span b { font-size: 11.5px; }
.sst .pv { margin-bottom: 5px; border-radius: 6px; }
/* a category's own controls: a slider with its reading in mono, or a label
   over a segment (two rows of three when there are more than four) or chips */
.sst-ctl { transition: opacity .2s var(--ease-out); }
.sst-ctl.off { opacity: .42; }
.sst .lt-card-b .ctl-row.sst-ctl { margin-bottom: 0; }
.sst .lt-card-b .ctl-row.sst-ctl > label { width: 62px; font-size: 11.5px; color: var(--muted); }
.sst .lt-card-b .ctl-row.sst-ctl .mono { min-width: 52px; text-align: right; font: 400 11px var(--mono); color: var(--muted); white-space: nowrap; }
.sst-stack { display: flex; flex-direction: column; gap: 4px; }
.sst-ctl-lab { font-size: 11.5px; color: var(--muted); }
.sst-stack .em-seg { flex: none; width: 100%; box-sizing: border-box; }
.sst .lt-card-b .em-seg button { padding: 4px 4px; font-size: 11px; }
.em-seg.sst-seg-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 14px; }
.em-seg.sst-seg-wrap button { border-radius: 10px; }
.em-seg.sst-seg-wrap.sst-seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sst-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sst-chip {
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .55);
  font: 600 11.5px var(--sans); color: var(--muted); cursor: pointer;
  transition: transform .32s var(--ease-spring), border-color .16s var(--ease-out), background .16s var(--ease-out), color .16s var(--ease-out), box-shadow .32s var(--ease-out);
}
.sst-chip:hover { border-color: rgba(123, 30, 46, .4); background: #FFFFFF; color: var(--ink); transform: translateY(-1px); }
.sst-chip:active { transform: scale(.94); transition-duration: .06s; }
.sst-chip.on { border-color: rgba(123, 30, 46, .5); color: var(--accent-deep); background: linear-gradient(180deg, rgba(123, 30, 46, .18), rgba(123, 30, 46, .09)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 14px rgba(123, 30, 46, .14); }
.sst-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sst .lt-head .sst-revert { padding: 3px 10px 3px 8px; font-size: 11.5px; gap: 5px; }
.sst .lt-head .sst-revert svg { width: 12px; height: 12px; }

/* ---- the style, beside the canvas ---- */
.sst-state { font: 700 10px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sst-state.warn { color: var(--accent-deep); }
.sst-side { display: flex; flex-direction: column; gap: 12px; padding: 4px 12px 14px; }
.sst-field { display: flex; flex-direction: column; gap: 6px; }
.sst-field .lab-sub { margin: 0; }
.sst-side input { width: 100%; }
.sst-side textarea { width: 100%; resize: vertical; min-height: 72px; font-size: 13px; }
.sst-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.sst-foot .btn.primary { flex: 1 1 120px; justify-content: center; }
.sst-foot .btn.danger.armed { background: var(--danger); border-color: var(--danger); color: #FFFFFF; }
/* a quiet link-like button: the setting, written out for a build */
.sst-copy {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: -4px -8px 0; padding: 4px 8px;
  border: 0; border-radius: 999px; background: none; font: 600 12px var(--sans); color: var(--accent-deep); cursor: pointer;
  transition: background .16s var(--ease-out), transform .32s var(--ease-spring);
}
.sst-copy svg { width: 13px; height: 13px; }
.sst-copy:hover { background: var(--accent-soft); }
.sst-copy:active { transform: scale(.96); transition-duration: .06s; }
.sst-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sst-notes { display: flex; flex-direction: column; gap: 6px; padding: 4px 12px 10px; }
.sst-note {
  display: flex; align-items: flex-start; gap: 6px; padding: 7px 10px; border-radius: 12px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .78);
  font-size: 12px; line-height: 1.4; color: var(--ink); animation: view-in .28s var(--ease-out) both;
}
.sst-note svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--accent); }

/* ---- Claude, down the left: the Claude panel's paper, bubbles and composer ---- */
.sst-claude .dt-list-head .sst-cl-new { padding: 4px 11px 4px 8px; gap: 4px; }
#sst-cl-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sst-cl-mark, .sst-av, .sst-cl-big { flex: none; display: grid; place-items: center; color: #FFFFFF; background: linear-gradient(160deg, #E48A6B 0%, #C96442 100%); }
.sst-cl-mark { width: 20px; height: 20px; border-radius: 7px; }
.dt-list-title .sst-cl-mark svg, .sst-av svg { width: 11px; height: 11px; color: #FFFFFF; }
.sst-feed { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 4px 14px 14px; }
.sst-cl-empty { margin: auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 2px; }
.sst-cl-big { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 18px rgba(201, 100, 66, .28); }
.sst-cl-big svg { width: 19px; height: 19px; }
.sst-cl-empty h3 { margin: 4px 0 0; font: 700 15px var(--sans); color: var(--cl-ink); }
.sst-cl-empty p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--cl-muted); }
.sst-ideas { align-self: stretch; display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.sst-idea {
  text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--cl-line); background: #FFFFFF;
  font: 500 12.5px var(--sans); color: var(--cl-ink); cursor: pointer;
  transition: border-color .16s var(--ease-out), transform .32s var(--ease-spring), box-shadow .32s var(--ease-out);
}
.sst-idea:hover { border-color: var(--clay); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(217, 119, 87, .14); }
.sst-idea:active { transform: translateY(1px) scale(.98); transition-duration: .06s; }
.sst-idea:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.sst-msg { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; color: var(--cl-ink); animation: sst-msg-in .42s var(--ease-out) backwards; }
@keyframes sst-msg-in { from { opacity: 0; transform: translateY(8px); } }
.sst-msg.you {
  align-self: flex-end; max-width: 88%; padding: 8px 13px; white-space: pre-wrap;
  background: linear-gradient(180deg, #F6F4EF 0%, #EFECE4 100%); border: 1px solid var(--cl-line-soft); border-radius: 18px 18px 6px 18px;
  box-shadow: 0 1px 2px rgba(20, 20, 19, .05), 0 4px 14px rgba(20, 20, 19, .05), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.sst-msg.claude { padding: 0 2px 2px; }
.sst-msg.claude p { margin: 0; }
.sst-msg.claude.err p { color: var(--danger-ink); }
.sst-by { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.sst-by b { font: 700 12.5px var(--sans); }
.sst-av { width: 20px; height: 20px; border-radius: 7px; }
.sst-chg { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.sst-chg span { padding: 2px 7px; border-radius: 7px; background: #FFFFFF; border: 1px solid var(--cl-line); font: 400 11px var(--mono); color: var(--cl-muted); }
.sst-chg b { font: 600 11px var(--sans); color: var(--cl-ink); }
.sst-chg.none span { font-family: var(--sans); }
.sst-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.sst-act {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--cl-line); background: #FFFFFF;
  font: 600 11.5px var(--sans); color: var(--cl-ink); cursor: pointer;
  transition: border-color .16s var(--ease-out), transform .32s var(--ease-spring), box-shadow .32s var(--ease-out);
}
.sst-act svg { width: 12px; height: 12px; }
.sst-act:hover { border-color: var(--clay); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(217, 119, 87, .14); }
.sst-act:active { transform: scale(.96); transition-duration: .06s; }
.sst-act-done { padding: 4px 2px; font-size: 11.5px; color: var(--cl-muted); }
.sst-sep { display: flex; align-items: center; gap: 8px; font: 700 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cl-muted); }
.sst-sep::before, .sst-sep::after { content: ''; flex: 1; height: 1px; background: var(--cl-line); }
.sst-msg.working { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--cl-muted); }
.sst-msg.working .mono { margin-left: auto; font: 400 11px var(--mono); }
.sst-think { display: inline-flex; gap: 3px; }
.sst-think i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); animation: sst-think 1.2s var(--ease-out) infinite; }
.sst-think i:nth-child(2) { animation-delay: .15s; }
.sst-think i:nth-child(3) { animation-delay: .3s; }
@keyframes sst-think { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.sst-ask {
  flex: none; display: flex; align-items: flex-end; gap: 6px; margin: 0 11px 12px; padding: 7px 7px 7px 10px;
  border-radius: 20px; background: #FFFFFF; border: 1px solid rgba(20, 20, 19, .16);
  transition: border-color .14s var(--ease-out), box-shadow .14s var(--ease-out);
}
.sst-ask:focus-within { border-color: var(--clay); box-shadow: 0 0 0 2.5px rgba(217, 119, 87, .16); }
.sst-ask textarea, .sst-ask textarea:focus {
  flex: 1; min-width: 0; max-height: 140px; padding: 5px 2px; resize: none; outline: none;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 400 13px/1.45 var(--sans); color: var(--cl-ink);
}
.sst-ask textarea::placeholder { color: var(--cl-muted); }
.sst-send {
  flex: none; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%;
  background: var(--clay); color: #FFFFFF; cursor: pointer; box-shadow: 0 2px 9px rgba(217, 119, 87, .32);
  transition: background .16s var(--ease-out), box-shadow .2s var(--ease-out), transform .32s var(--ease-spring);
}
.sst-send svg { width: 16px; height: 16px; }
.sst-send:hover { background: #C86643; box-shadow: 0 4px 14px rgba(217, 119, 87, .42); }
.sst-send:active { transform: scale(.92); transition-duration: .06s; }
.sst-send:disabled { opacity: .5; cursor: default; box-shadow: none; }
.sst-send:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

@media (max-width: 760px) {
  .sst-title span { display: none; }
  #view-styles .head-actions .mode-group .btn { padding: 5px 9px; }
}
@media (max-width: 768px), (pointer: coarse) and (max-width: 1024px) {
  #view-styles { height: auto; }
}

/* ---- the brief's Site style row (app.js) ---- */
.bf-style-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bf-style-open { font: 600 12.5px var(--sans); color: var(--accent-deep); text-decoration: none; border-radius: 999px; padding: 3px 9px; margin: -3px -9px; transition: background .16s var(--ease-out); }
.bf-style-open:hover { background: var(--accent-soft); }
.bf-style-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-style-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; max-width: 280px; text-align: left;
  padding: 8px 14px 9px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .45);
  font: inherit; color: var(--ink); cursor: pointer;
  transition: transform .32s var(--ease-spring), border-color .16s var(--ease-out), background .16s var(--ease-out), box-shadow .32s var(--ease-out);
}
.bf-style-chip b { font-size: 13px; }
.bf-style-chip span { font-size: 11.5px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-style-chip:hover { border-color: rgba(123, 30, 46, .4); background: #FFFFFF; transform: translateY(-1px); }
.bf-style-chip:active { transform: scale(.97); transition-duration: .06s; }
.bf-style-chip.on {
  border-color: rgba(123, 30, 46, .55); color: var(--accent-deep);
  background: linear-gradient(180deg, rgba(123, 30, 46, .14), rgba(123, 30, 46, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 18px rgba(123, 30, 46, .12);
}
.bf-style-chip.on b { color: var(--accent-deep); }
.bf-style-empty { font-size: 12.5px; color: var(--muted); }
/* arriving from the tool with a style on: the row lights up once */
.bf-style.arrived { animation: bf-style-arrived 1.8s var(--ease-out); }
@keyframes bf-style-arrived {
  0%, 35% { border-color: rgba(123, 30, 46, .45); box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-lift); }
  100% { border-color: var(--line); box-shadow: var(--shadow-rest), inset 0 1px 0 rgba(255, 255, 255, .7); }
}
@media (prefers-reduced-motion: reduce) {
  .bf-style.arrived { animation: none; }
  .sst-row, .sst-dev, .sst-note, .sst-cat, .sst-msg, .sst-think i { animation: none; }
  .sst-chip, .sst-idea, .sst-act, .sst-send, .sst-copy, .sst-ctl { transition: none; }
}

/* ---- the Developer card's reel (app.js DEV_REEL_STYLES) ----
   8s, five beats of 1.6s on a phone and a tablet: the page scrolls, the menu
   drawer whips in, the spacing tightens and breathes, a curtain wipes across,
   and the tablet folds two columns into one — each beat named in gold. */
.reel-ss .ss-ph, .reel-ss .ss-tb { background: #FFFFFF; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12); }
.reel-ss .ss-ph { left: 22%; top: 10%; width: 20%; height: 82%; border-radius: 12px; z-index: 2; }
.reel-ss .ss-tb { left: 50%; top: 16%; width: 31%; height: 72%; border-radius: 10px; }
.reel-ss .bar { left: 0; right: 0; top: 0; height: 11%; background: #FFFFFF; border-bottom: 1px solid rgba(0, 0, 0, .08); z-index: 2; }
.reel-ss .bar::before { content: ''; position: absolute; left: 10%; top: 34%; width: 14%; height: 32%; border-radius: 2px; background: #7B1E2E; }
.reel-ss .ss-ph .bar::after { content: ''; position: absolute; right: 10%; top: 36%; width: 18%; height: 30%; background: repeating-linear-gradient(180deg, #2A2A2A 0 2px, transparent 2px 4.5px); }
.reel-ss .ss-tb .bar::after { content: ''; position: absolute; right: 8%; top: 42%; width: 40%; height: 16%; background: repeating-linear-gradient(90deg, rgba(26, 26, 26, .35) 0 14%, transparent 14% 20%); }
.reel-ss .pg { left: 9%; right: 9%; top: 15%; height: 160%; transform-origin: 50% 0; animation: ss-pg 8s infinite; }
.reel-ss .pg b { left: 0; right: 0; border-radius: 4px; background: #F3E7E9; }
.reel-ss .pg .h { top: 0; height: 20%; border-radius: 6px; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-ss .pg .k1 { top: 24%; height: 10%; }
.reel-ss .pg .k2 { top: 38%; height: 10%; }
.reel-ss .pg .k3 { top: 52%; height: 14%; background: #EADADD; }
.reel-ss .pg .k4 { top: 70%; height: 10%; }
.reel-ss .drw { top: 0; bottom: 0; right: 0; width: 74%; z-index: 3; background: #1D1416; transform: translateX(104%); animation: ss-drw 8s infinite; }
.reel-ss .drw b { left: 14%; width: 58%; height: 3%; border-radius: 2px; background: rgba(255, 255, 255, .78); }
.reel-ss .drw b:nth-child(1) { top: 18%; } .reel-ss .drw b:nth-child(2) { top: 28%; } .reel-ss .drw b:nth-child(3) { top: 38%; }
.reel-ss .drw .cta { top: auto; bottom: 9%; left: 12%; width: 76%; height: 8%; border-radius: 99px; background: #F5C518; }
.reel-ss .wp { inset: 0; z-index: 4; background: linear-gradient(90deg, #6E1A29, #8E2A3C 80%, #F5C518); transform: scaleX(0); transform-origin: 0 50%; animation: ss-wp 8s infinite; }
.reel-ss .ss-tb b { border-radius: 4px; }
.reel-ss .c1 { left: 6%; top: 16%; width: 42%; height: 36%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); animation: ss-c1 8s infinite; }
.reel-ss .c2 { left: 52%; top: 16%; width: 42%; height: 36%; background: #EADADD; animation: ss-c2 8s infinite; }
.reel-ss .c3 { left: 6%; top: 58%; width: 88%; height: 14%; background: #F3E7E9; }
.reel-ss .c4 { left: 6%; top: 76%; width: 88%; height: 14%; background: #F3E7E9; }
.reel-ss .cap {
  left: 6%; bottom: 8%; z-index: 5; font: 800 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #F5C518; text-shadow: 0 0 12px rgba(245, 197, 24, .45); opacity: 0; animation: ss-cap 8s infinite;
}
.reel-ss .cap.p2 { animation-delay: 1.6s; } .reel-ss .cap.p3 { animation-delay: 3.2s; }
.reel-ss .cap.p4 { animation-delay: 4.8s; } .reel-ss .cap.p5 { animation-delay: 6.4s; }
@keyframes ss-pg {
  0%, 3% { transform: translateY(0) scaleY(1); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  12% { transform: translateY(-34%) scaleY(1); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  19%, 42% { transform: translateY(0) scaleY(1); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  48%, 52% { transform: translateY(0) scaleY(.78); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  58%, 100% { transform: translateY(0) scaleY(1); }
}
@keyframes ss-drw {
  0%, 21% { transform: translateX(104%); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  26%, 34% { transform: translateX(0); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  38%, 100% { transform: translateX(104%); }
}
@keyframes ss-wp {
  0%, 61% { transform: scaleX(0); transform-origin: 0 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  67%, 69% { transform: scaleX(1); transform-origin: 0 50%; }
  69.1% { transform: scaleX(1); transform-origin: 100% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  76%, 100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
@keyframes ss-c1 {
  0%, 81% { width: 42%; height: 36%; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  87%, 95% { width: 88%; height: 19%; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  100% { width: 42%; height: 36%; }
}
@keyframes ss-c2 {
  0%, 81% { left: 52%; top: 16%; width: 42%; height: 36%; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  87%, 95% { left: 6%; top: 38%; width: 88%; height: 15%; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  100% { left: 52%; top: 16%; width: 42%; height: 36%; }
}
@keyframes ss-cap {
  0% { opacity: 0; transform: translateY(5px); }
  3%, 16% { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: translateY(-5px); }
}

/* ---- the dashboard's reels (sitestyles.js REELS) ----
   One loop per category, in the Developer cards' reel: a page that glides
   after a wheel and settles (Scroll), a curtain wiping one page into the
   next (Page transitions), blocks rising in one after another (Scroll
   reveals), cards going from three across to two to four (Section layout), a
   card lifting off its page as its shadow spreads (Shadows), a square easing
   into a circle beside a button turning to a pill (Corners), and a pointer
   lifting and pressing a button (Hover & press). Reduced motion stills them
   all where they rest (app.css). */
.reel-sk .sk-win { left: 30%; top: 9%; width: 40%; height: 70%; border-radius: 8px; overflow: hidden; background: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12); }
.reel-sk .cap { left: 6%; bottom: 7%; z-index: 5; font: 800 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #F5C518; text-shadow: 0 0 12px rgba(245, 197, 24, .45); }

.reel-sk-scroll .sk-win { left: 26%; width: 34%; }
.reel-sk-scroll .sk-pg { left: 10%; right: 10%; top: 8%; height: 240%; animation: sk-pg 6s infinite; }
.reel-sk-scroll .sk-pg b { left: 0; right: 0; height: 11%; border-radius: 4px; background: #F3E7E9; }
.reel-sk-scroll .sk-pg b:nth-child(1) { top: 0; height: 15%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-scroll .sk-pg b:nth-child(2) { top: 18%; }
.reel-sk-scroll .sk-pg b:nth-child(3) { top: 32%; }
.reel-sk-scroll .sk-pg b:nth-child(4) { top: 46%; background: #EADADD; }
.reel-sk-scroll .sk-pg b:nth-child(5) { top: 60%; }
.reel-sk-scroll .sk-pg b:nth-child(6) { top: 74%; height: 15%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-scroll .sk-mouse { left: 67%; top: 33%; width: 12%; height: 34%; border: 2px solid rgba(255, 255, 255, .82); border-radius: 999px; }
.reel-sk-scroll .sk-mouse s { left: 50%; top: 16%; width: 3px; height: 18%; margin-left: -1.5px; border-radius: 2px; background: #F5C518; box-shadow: 0 0 8px rgba(245, 197, 24, .6); animation: sk-wheel 6s infinite; }
@keyframes sk-pg {
  0%, 6% { transform: translateY(0); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  34%, 46% { transform: translateY(-20%); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  74%, 84% { transform: translateY(-40%); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { transform: translateY(0); }
}
@keyframes sk-wheel {
  0%, 4% { transform: translateY(0); opacity: 1; }
  8% { transform: translateY(90%); opacity: .2; }
  9%, 44% { transform: translateY(0); opacity: 1; }
  48% { transform: translateY(90%); opacity: .2; }
  49%, 100% { transform: translateY(0); opacity: 1; }
}

.reel-sk-transitions .sk-pa, .reel-sk-transitions .sk-pb { inset: 0; }
.reel-sk-transitions b { border-radius: 4px; background: #F3E7E9; }
.reel-sk-transitions .sk-pa b { left: 10%; right: 10%; height: 9%; }
.reel-sk-transitions .sk-pa .h { top: 8%; height: 36%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-transitions .sk-pa b:nth-child(2) { top: 52%; }
.reel-sk-transitions .sk-pa b:nth-child(3) { top: 66%; right: 34%; }
.reel-sk-transitions .sk-pb b { width: 37%; height: 38%; }
.reel-sk-transitions .sk-pb b:nth-child(1) { left: 10%; top: 8%; background: #EADADD; }
.reel-sk-transitions .sk-pb b:nth-child(2) { left: 53%; top: 8%; }
.reel-sk-transitions .sk-pb b:nth-child(3) { left: 10%; top: 54%; }
.reel-sk-transitions .sk-pb b:nth-child(4) { left: 53%; top: 54%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-transitions .sk-pa { animation: sk-pa 6s infinite steps(1, end); }
.reel-sk-transitions .sk-pb { opacity: 0; animation: sk-pb 6s infinite steps(1, end); }
.reel-sk-transitions .sk-cur { inset: 0; z-index: 3; background: linear-gradient(90deg, #6E1A29, #8E2A3C 80%, #F5C518); transform: scaleX(0); transform-origin: 0 50%; animation: sk-cur 6s infinite; }
@keyframes sk-pa { 0% { opacity: 1; } 45% { opacity: 0; } 95% { opacity: 1; } }
@keyframes sk-pb { 0% { opacity: 0; } 45% { opacity: 1; } 95% { opacity: 0; } }
@keyframes sk-cur {
  0%, 34% { transform: scaleX(0); transform-origin: 0 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  44%, 45% { transform: scaleX(1); transform-origin: 0 50%; }
  45.1% { transform: scaleX(1); transform-origin: 100% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  56%, 84% { transform: scaleX(0); transform-origin: 100% 50%; }
  84.1% { transform: scaleX(0); transform-origin: 0 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  94%, 95% { transform: scaleX(1); transform-origin: 0 50%; }
  95.1% { transform: scaleX(1); transform-origin: 100% 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

.reel-sk-reveals b { left: 10%; right: 10%; height: 14%; border-radius: 5px; background: #F3E7E9; animation: sk-rv 5s infinite cubic-bezier(.22, 1, .36, 1); }
.reel-sk-reveals .r1 { top: 8%; height: 24%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); animation-delay: -.75s; }
.reel-sk-reveals .r2 { top: 38%; right: 30%; animation-delay: -.5s; }
.reel-sk-reveals .r3 { top: 58%; background: #EADADD; animation-delay: -.25s; }
.reel-sk-reveals .r4 { top: 78%; right: 44%; }
@keyframes sk-rv {
  0%, 16% { opacity: 0; transform: translateY(16px); }
  32%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: none; }
}

.reel-sk-layout .sk-win { left: 17%; width: 66%; }
.reel-sk-layout b { border-radius: 4px; background: #F3E7E9; }
.reel-sk-layout .sk-hero { left: 8%; right: 8%; top: 8%; height: 30%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-layout .c1 { animation: sk-c1 7s infinite; }
.reel-sk-layout .c2 { animation: sk-c2 7s infinite; background: #EADADD; }
.reel-sk-layout .c3 { animation: sk-c3 7s infinite; }
.reel-sk-layout .c4 { animation: sk-c4 7s infinite; background: #EADADD; }
.reel-sk-layout .g1, .reel-sk-layout .g2 { top: 4%; bottom: 4%; width: 0; border-left: 1.5px dashed rgba(245, 197, 24, .75); }
.reel-sk-layout .g1 { left: 8%; }
.reel-sk-layout .g2 { right: 8%; }
/* three across, then two in two rows, then four across */
@keyframes sk-c1 { 0%, 26%, 100% { left: 8%; top: 46%; width: 26%; height: 44%; } 36%, 58% { left: 8%; top: 46%; width: 40%; height: 20%; } 68%, 90% { left: 8%; top: 46%; width: 19%; height: 44%; } }
@keyframes sk-c2 { 0%, 26%, 100% { left: 37%; top: 46%; width: 26%; height: 44%; } 36%, 58% { left: 52%; top: 46%; width: 40%; height: 20%; } 68%, 90% { left: 29.3%; top: 46%; width: 19%; height: 44%; } }
@keyframes sk-c3 { 0%, 26%, 100% { left: 66%; top: 46%; width: 26%; height: 44%; } 36%, 58% { left: 8%; top: 70%; width: 40%; height: 20%; } 68%, 90% { left: 50.6%; top: 46%; width: 19%; height: 44%; } }
@keyframes sk-c4 { 0%, 26%, 100% { left: 66%; top: 46%; width: 26%; height: 44%; opacity: 0; } 36%, 58% { left: 52%; top: 70%; width: 40%; height: 20%; opacity: 1; } 68%, 90% { left: 71.9%; top: 46%; width: 19%; height: 44%; opacity: 1; } }

.reel-sk-shadows .sk-win { background: #EEE7E4; }
.reel-sk-shadows .sk-card { left: 26%; top: 18%; width: 48%; height: 52%; z-index: 2; border-radius: 9px; background: #FFFFFF; animation: sk-card 5s infinite; }
.reel-sk-shadows .sk-card b { left: 12%; right: 12%; border-radius: 3px; }
.reel-sk-shadows .sk-card b:first-child { top: 12%; height: 42%; background: linear-gradient(150deg, #8E2A3C, #3A0F18); }
.reel-sk-shadows .sk-card b:last-child { top: 64%; height: 12%; right: 34%; background: #EADADD; }
.reel-sk-shadows .sk-sh { left: 28%; top: 62%; width: 44%; height: 14%; border-radius: 50%; background: rgba(40, 14, 20, .85); filter: blur(5px); animation: sk-sh 5s infinite; }
@keyframes sk-card {
  0%, 12% { transform: translateY(4px); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  40%, 62% { transform: translateY(-9px); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  90%, 100% { transform: translateY(4px); }
}
@keyframes sk-sh {
  0%, 12% { transform: scale(.82); opacity: .8; filter: blur(4px); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  40%, 62% { transform: translateY(18%) scale(1.18, 1.5); opacity: .42; filter: blur(11px); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  90%, 100% { transform: scale(.82); opacity: .8; filter: blur(4px); }
}

.reel-sk-corners .sk-sq { left: 37%; top: 14%; width: 26%; height: 42%; border: 2px solid rgba(255, 255, 255, .85); background: linear-gradient(150deg, #8E2A3C, #3A0F18); border-radius: 2px; animation: sk-sq 6s infinite; }
.reel-sk-corners .sk-pill { left: 30%; top: 66%; width: 40%; height: 14%; background: #FFFFFF; border-radius: 2px; animation: sk-pill 6s infinite; }
.reel-sk-corners .sk-arc { left: 33%; top: 8%; width: 10%; height: 16%; border-top: 2px solid #F5C518; border-left: 2px solid #F5C518; border-top-left-radius: 100%; filter: drop-shadow(0 0 6px rgba(245, 197, 24, .6)); animation: sk-arc 6s infinite; }
@keyframes sk-sq {
  0%, 14% { border-radius: 2px; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  34%, 48% { border-radius: 16px; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  68%, 84% { border-radius: 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { border-radius: 2px; }
}
@keyframes sk-pill {
  0%, 14% { border-radius: 2px; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  34%, 48% { border-radius: 6px; animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  68%, 84% { border-radius: 999px; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { border-radius: 2px; }
}
@keyframes sk-arc { 0%, 14%, 100% { opacity: .25; } 34%, 84% { opacity: 1; } }

.reel-sk-hover .sk-btn { left: 30%; top: 38%; width: 40%; height: 20%; border-radius: 999px; background: linear-gradient(180deg, #8E2A3C, #6E1A29); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); animation: sk-btn 5s infinite; }
.reel-sk-hover .sk-btn b { left: 26%; right: 26%; top: 44%; height: 12%; border-radius: 2px; background: rgba(255, 255, 255, .92); }
.reel-sk-hover .sk-cursor { left: 82%; top: 82%; width: 6%; z-index: 3; animation: sk-cursor 5s infinite; }
.reel-sk-hover .sk-cursor svg { display: block; width: 100%; height: auto; fill: #FFFFFF; stroke: #141414; stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
@keyframes sk-btn {
  0%, 28% { transform: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  38%, 48% { transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(245, 197, 24, .22), 0 10px 26px rgba(245, 197, 24, .35); }
  51%, 55% { transform: scale(.93); box-shadow: 0 0 0 3px rgba(245, 197, 24, .2), 0 3px 8px rgba(0, 0, 0, .4); animation-timing-function: cubic-bezier(.34, 1.56, .5, 1); }
  62%, 72% { transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(245, 197, 24, .22), 0 10px 26px rgba(245, 197, 24, .35); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  84%, 100% { transform: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
}
@keyframes sk-cursor {
  0%, 8% { left: 82%; top: 82%; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  32%, 74% { left: 55%; top: 50%; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  51%, 55% { transform: scale(.88); }
  94%, 100% { left: 82%; top: 82%; }
}
