.priority-library[data-brand-view] {max-width:none}
body.site-fixed-nav > main:has([data-brand-view=index]) {padding:12px; background:#05070b}
.brand-explorer {
  --be-surface:var(--paper,#fafaf8); --be-text:var(--ink,#242422); --be-muted:var(--muted,#63635e); --be-accent:#934529;
  --be-tile-halo:#92bcff80;
  position:relative; display:flex; flex-direction:column; isolation:isolate; overflow:hidden; margin:0 0 14px;
  border-radius:12px; background:var(--be-surface); color:var(--be-text);
  padding:clamp(18px,3.3vw,40px) clamp(16px,3.3vw,40px) 0;
}
[data-brand-view=index] .brand-explorer {--be-surface:#05070b; --be-text:#f7f5ef; --be-muted:#bac2d0; --be-accent:#e5ae87; height:calc(100svh - 24px); min-height:520px; box-sizing:border-box; margin:0}
[data-brand-view=index] {margin-bottom:0}
.brand-explorer [hidden], #brand-list[hidden] {display:none!important}
.be-views {display:inline-flex; flex:none; align-items:center; gap:2px; border:1px solid #d5d3cb; border-radius:7px; padding:2px}
.brand-explorer .be-views button {display:inline-flex; align-items:center; gap:6px; padding:6px 12px; min-height:34px; border:0; border-radius:4px; font-size:13px; color:var(--be-muted); background:transparent}
.be-views svg {width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round}
.brand-explorer .be-views button[aria-pressed=true] {background:#eae9e3; color:var(--be-text); font-weight:600}
[data-brand-view=index] .be-views button[aria-pressed=true] {background:var(--be-text); color:var(--be-surface)}
.be-head {display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:22px; position:relative; z-index:2; pointer-events:none}
.be-views {pointer-events:auto}
body.site-fixed-nav > main .brand-explorer .be-head h1 {margin:0; color:var(--be-text); -webkit-text-fill-color:currentColor; font-size:clamp(24px,2.3vw,36px); font-weight:600; letter-spacing:-.035em; line-height:1.06}
.be-head h1 i {font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:.86em; color:var(--be-accent); white-space:nowrap}
.be-console {position:relative; width:min(640px,100%); z-index:3; --bar-height:62px}
[data-brand-view=index] .be-console {position:absolute; left:50%; top:50%; width:min(640px,calc(100% - 48px)); transform:translate(-50%,calc(var(--bar-height) / -2))}
.be-lamp {position:relative; isolation:isolate; border-radius:9px; padding:1.5px; background:#d5d3cb; box-shadow:0 2px 6px #2424220a}
.be-lamp::before,.be-lamp::after {content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; z-index:-1; opacity:0; transition:opacity .38s ease-out;
  background:linear-gradient(108deg,#927041 4%,#ffce84 21%,#fff3bd 29%,#94d8c8 46%,#718fbe 61%,#cd998d 78%,#927041 97%); background-size:220% 100%}
.be-lamp::before {inset:-3px; filter:blur(15px)}
[data-searching] .be-lamp::before,[data-searching] .be-lamp::after {opacity:1; animation:be-light 2.6s ease-in-out infinite alternate}
@keyframes be-light {from {background-position:0% 50%} to {background-position:100% 50%}}
.be-search {display:flex; position:relative; box-sizing:border-box; height:calc(var(--bar-height) - 3px); border-radius:7px; background:#fff; padding:5px; align-items:center; gap:4px}
.be-lamp:focus-within {box-shadow:0 0 0 1px var(--be-accent)}
.be-search label {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}
.be-search::before {content:''; flex:none; width:20px; height:20px; margin-left:12px; background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23babdaf' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m15 15 5.5 5.5'/%3E%3C/svg%3E")}
.brand-explorer input[type=search] {box-sizing:border-box; width:100%; min-width:0; height:40px; margin:0; padding:4px 8px; border:0; box-shadow:none; background:transparent; color:var(--be-text); font:inherit; font-size:16px; caret-color:var(--be-accent); outline:0}
.be-search input::placeholder {color:var(--be-muted)}
[data-brand-view=list] .be-search::before {filter:brightness(.58)}
.brand-explorer .be-search input:focus-visible {outline:none}
.brand-explorer button {font:inherit; cursor:pointer}
.be-search button {display:grid; place-items:center; flex:0 0 44px; height:44px; padding:0; background:#f4f3ef; border:1px solid #d5d3cb; border-radius:5px}
.be-search button:not(:disabled):active {transform:scale(.95)}
.be-search button:disabled {cursor:default}
[data-brand-view=index] .be-views {border-color:#424a59}
[data-brand-view=index] .be-lamp {background:#424d60; box-shadow:0 6px 30px #0008}
[data-brand-view=index] .be-lamp:focus-within {box-shadow:0 0 0 1px #829dbf,0 6px 26px #0008}
[data-brand-view=index] .be-search {background:#10151e}
[data-brand-view=index] .be-search input::placeholder {color:#a8b2c3}
[data-brand-view=index] .be-search button {background:#1a222f; border-color:#475263}
.be-orb {display:block; width:25px; height:25px; border-radius:50%; background:radial-gradient(ellipse at 32% 26%,#fff1d3 3%,#e0c299 20%,#8eaca1 47%,#525d60 66%,#282d28 81%); box-shadow:inset 0 0 0 1px #fff4d642,0 0 9px #d7be8d2e}
[data-searching] .be-orb {animation:be-orbit 2.6s linear infinite; box-shadow:0 0 13px #e8c48975}
@keyframes be-orbit {to {transform:rotate(1turn)}}
.be-guides,.be-examples {display:flex; align-items:center; gap:8px}
.be-guides {justify-content:space-between; margin:9px 0 0}
[data-brand-view=index] .be-examples,[data-brand-view=index] .be-clear,[data-brand-view=index] .be-status:not(:empty) {width:fit-content; max-width:100%; background:var(--be-surface); border-radius:4px}
.be-guides button {border:0; color:var(--be-muted); background:transparent; font-size:12px; padding:5px 2px; min-height:34px}
.be-examples button {text-decoration:underline; text-decoration-color:#72756a; text-underline-offset:4px; padding-inline:5px}
.be-guides button:hover {color:var(--be-text)}
.brand-explorer :focus-visible {outline:2px solid var(--be-accent); outline-offset:2px}
.be-stage {position:absolute; inset:0 0 46px; overflow:hidden; border-bottom:1px solid #293140; background:radial-gradient(ellipse 66% 43% at 50% 104%,#172132 0%,#0b101a 46%,transparent 100%)}
.be-stage::before {content:""; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .55s ease-out; background:radial-gradient(ellipse at 50% 56%,#a2cbff1f 0%,#7695d314 18%,transparent 53%)}
[data-searching] .be-stage::before {opacity:1}
[data-brand-view=index] .be-foot {margin-top:auto; z-index:2}
.be-foot {min-height:46px; display:flex; align-items:center; gap:18px; color:var(--be-muted); font-size:12px}
.be-count {color:var(--be-text); font-variant-numeric:tabular-nums}
.be-next {margin-left:auto; padding:6px 0 6px 10px; min-height:36px; background:none; color:var(--be-text); border:0}
.be-detail {box-sizing:border-box; width:min(460px,calc(100vw - 32px)); max-height:74svh; padding:22px; background:#faf9f4; color:#292b26; border:0; border-radius:10px; box-shadow:0 10px 40px #16181038}
.be-detail::backdrop {background:#15171087}
.be-detail > div {display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px}
.be-detail h2 {font-size:22px; line-height:1.35; margin:0}
.be-detail button {border:1px solid #bbbcb2; background:transparent; padding:6px 12px; border-radius:5px; color:inherit; font:inherit; font-size:13px; cursor:pointer}
.be-detail p {margin:6px 0; font-size:13px; line-height:1.65}
.be-detail a {color:#864529}
.be-preview {position:absolute; z-index:8; box-sizing:border-box; width:min(254px,calc(100% - 16px)); padding:14px 16px 12px; border:1px solid #d6d1c4; border-radius:8px; background:#faf8f1; color:#272a23; box-shadow:0 5px 22px #11180e38; overflow-wrap:anywhere}
.be-preview::after {content:""; position:absolute; left:var(--tip-x); width:9px; height:9px; transform:translateX(-50%) rotate(45deg); background:#faf8f1}
.be-preview[data-side=above]::after {bottom:-5px; border-right:1px solid #d6d1c4; border-bottom:1px solid #d6d1c4}
.be-preview[data-side=below]::after {top:-5px; border-left:1px solid #d6d1c4; border-top:1px solid #d6d1c4}
.be-preview strong {display:block; font-size:17px; line-height:1.3; letter-spacing:-.015em}
.be-preview p {margin:4px 0 0; font-size:12px; color:#555b4e}
.be-preview dl {display:grid; grid-template-columns:auto 1fr; gap:5px 12px; margin:10px 0 0; font-size:12px; line-height:1.45}
.be-preview dl:empty {display:none}
.be-preview dt,.be-preview small {color:#63695e}
.be-preview dd {margin:0}
.be-preview small {display:block; margin-top:10px; padding-top:8px; border-top:1px solid #deddd3; font-size:11px}
.be-status {min-height:0; margin:0; color:var(--be-text); font-size:12px}
.be-status:not(:empty) {padding:7px 0}
.be-stage .bp-token {width:var(--token); height:var(--token); position:absolute; top:0; left:0; display:grid; place-items:center; padding:0; margin:0; border:1px solid #e4e2d7; border-radius:18%; overflow:hidden; background:white; color:#33362c; touch-action:none; user-select:none; cursor:grab; transition:opacity .2s}
.bp-token span {padding:4px; font-size:11px; font-weight:650; line-height:1.2; overflow-wrap:anywhere}
.bp-token > span:first-child {box-sizing:border-box; max-width:100%; padding:0 3px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.bp-token:has(img) > span:first-child {visibility:hidden}
.bp-token .bp-name {display:none}
.be-stage .bp-token.bp-lift {--token:var(--match-token);overflow:visible}
.bp-lift .bp-name {opacity:0;transition:opacity .18s ease-out}
.bp-lift.bp-arrived .bp-name {opacity:1}
.be-stage .bp-token:not(.bp-lift) > span:first-child {white-space:nowrap;display:block;text-overflow:clip;font-size:8px;padding:0 1px}
.bp-token.bp-lift .bp-name {display:block; position:absolute; top:calc(100% + 4px); left:50%; transform:translateX(-50%); max-width:calc(var(--token) + 18px); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:2px 3px; border-radius:2px; color:var(--be-text); background:var(--be-surface); font-size:11px; font-weight:500}
.bp-token img {position:absolute; inset:8%; width:84%; height:84%; object-fit:contain; background:white; pointer-events:none; border-radius:10%}
.bp-token.bp-dark,.bp-token.bp-dark img {background:#292a27; color:white}
.be-stage:not(.bp-canvas-stage) .bp-token,.be-stage .bp-token.bp-return,.be-stage .bp-token.bp-held {box-shadow:0 0 5px var(--be-tile-halo)}
.be-stage .bp-token.bp-lift {border-color:#cbddff; z-index:1; box-shadow:0 0 0 1px #a4caff85,0 0 9px 2px #86b4ff59,0 0 25px 3px #5d8aff32}
.be-stage .bp-token:disabled {opacity:.42; cursor:default; pointer-events:none}
.be-stage .bp-token.bp-return:disabled {opacity:.95; z-index:1}
.be-stage .bp-token.bp-held {cursor:grabbing; z-index:4}
.be-stage .bp-token:focus-visible {outline-offset:-4px; z-index:3}
.be-stage .bp-token.bp-lift:is(:hover,:focus-visible) {border-color:#f2f7ff; box-shadow:0 0 0 1px #cae2ff,0 0 12px 3px #9ac8ff85,0 0 28px 5px #6796ff45}
.bp-floor {position:absolute; inset:0; width:100%; height:100%; pointer-events:none}
.be-stage.bp-canvas-stage .bp-token:not(.bp-lift):not(.bp-return):not(.bp-held):not(:focus-visible) {opacity:0; transition:none}
.bp-canvas-stage .bp-token:not(.bp-lift):not(.bp-return):not(.bp-held):not(:focus-visible) > * {display:none}
[data-collection="brands"]:has(.brand-explorer) .brand-controls {grid-template-columns:minmax(110px,1fr) minmax(140px,1fr) auto auto}
[data-brand-view=list] .brand-explorer {padding:20px; margin-top:4px}
@media(max-width:700px){
  [data-brand-view=index] .be-console {width:calc(100% - 28px)}
  .be-console {--bar-height:54px}
  .be-search button {flex-basis:38px; height:38px}
  .be-orb {width:23px;height:23px}
  .be-head {margin-bottom:16px}
  .be-head h1 i {display:block; margin-top:3px}
  body.site-fixed-nav > main:has([data-brand-view=index]) {padding:6px}
  [data-brand-view=index] .brand-explorer {height:calc(100svh - 199px); min-height:455px}
  .brand-explorer .be-views button {padding:4px 7px; gap:4px}
  .be-head {align-items:flex-start}
  .be-foot {gap:6px; min-height:44px; font-size:11px; flex-wrap:wrap}
  .be-foot .be-caption {display:none}
  .be-search button {padding:0}
  .be-search::before {margin-left:4px; width:17px}
  [data-collection="brands"]:has(.brand-explorer) .brand-controls {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .be-stage .bp-token {transition:none; touch-action:pan-y; cursor:pointer}
  .be-lamp::before,.be-lamp::after,.be-orb,.bp-name,.be-stage::before {animation:none!important; transition:none!important}
}
