:root {
  box-sizing: border-box; color-scheme: light; --panel: #0d100f; --panel-2: #151a18; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.14);
  --ink: #eef3ef; --ink-2: rgba(238,243,239,.66); --ink-3: rgba(238,243,239,.42);
  --ui: #6ee7a0; --ui-ink: #04150a; --danger: #ff8b7a; --panel-w: 352px;
  --ui-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --page-bg: #eee9e2; --deck-bg: #e6e0d6;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { background: var(--page-bg); font-family: var(--ui-font); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body.bleed { background: var(--deck-bg); }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.embed #openPanel, html.embed #panel { display: none !important; }

/* ---------- page shell ---------- */
#main { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; margin-right: 0; transition: margin-right .3s cubic-bezier(.2,.7,.2,1); }
body.panel-open #main { margin-right: var(--panel-w); }
html.embed body.panel-open #main { margin-right: 0; }
#shell { position: relative; width: min(calc(100% - 56px), calc((100svh - 110px) * 1.7778)); aspect-ratio: 16 / 9; }
#shell::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -8%; height: 12%; border-radius: 50%; background: rgba(0,0,0,.18); filter: blur(22px); }
body.bleed #shell { width: 100%; height: 100%; aspect-ratio: auto; }
body.bleed #shell::after, body.no-shadow #shell::after { display: none; }

/* ---------- the stage ---------- */
#frame {
  --u: 7.4px; --ink: #1b1712; --sub-ink: rgba(27,23,18,.62); --accent: #171310; --a1: #caa07c; --a2: #e7cdb0;
  --title-font: "Baloo 2", "Inter", ui-sans-serif, system-ui, sans-serif;
  --body-font: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --ts: 3.6; --card-w: 74; --card-r: 26px; --plate: 21;
  position: absolute; inset: 0; overflow: hidden; background: var(--deck-bg); color: var(--ink); font-family: var(--body-font);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
#bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background-repeat: no-repeat; background-size: 180% 180%, 190% 190%, 185% 185%, 170% 170%, 145% 145%; background-position: 14% 12%, 82% 22%, 28% 92%, 88% 88%, 0 0; }
#frame.kb #bg { animation: bgflow 17s ease-in-out infinite alternate; }
@keyframes bgflow {
  0%   { background-position: 4% 2%,   94% 10%, 14% 98%, 98% 98%, 0% 0%;  background-size: 180% 180%, 190% 190%, 185% 185%, 170% 170%, 148% 148%; }
  50%  { background-position: 32% 28%, 62% 42%, 46% 72%, 66% 66%, 10% 8%; background-size: 160% 160%, 172% 172%, 166% 166%, 152% 152%, 138% 138%; }
  100% { background-position: 10% 36%, 86% 4%,  20% 86%, 94% 70%, 2% 6%;  background-size: 180% 180%, 190% 190%, 185% 185%, 170% 170%, 148% 148%; }
}
#bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0) 40%, rgba(0,0,0,.06) 100%); }

/* header */
#head { position: absolute; z-index: 6; left: calc(var(--u) * 3); right: calc(var(--u) * 3); top: calc(var(--u) * 3); display: flex; align-items: center; gap: calc(var(--u) * 1.6); height: calc(var(--u) * 7); padding: 0 calc(var(--u) * 2.2); border-radius: 99px; background: rgba(20,22,18,.32); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 10px 26px -14px rgba(0,0,0,.5); color: #fff; }
#head svg.mark { width: calc(var(--u) * 2.2); height: calc(var(--u) * 2.2); min-width: 17px; flex: none; }
#head .word { font-family: var(--title-font); font-weight: 700; font-size: max(13px, calc(var(--u) * 1.5)); letter-spacing: -.01em; }
#head .hnav { display: flex; align-items: center; gap: calc(var(--u) * 2); margin-left: calc(var(--u) * 2); font-size: max(9px, calc(var(--u) * .78)); font-weight: 600; letter-spacing: .02em; opacity: .82; white-space: nowrap; }
#head .htools { margin-left: auto; display: flex; align-items: center; gap: calc(var(--u) * 1.3); }
#head .htools button { width: calc(var(--u) * 3); height: calc(var(--u) * 3); min-width: 24px; min-height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
#head .htools svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#frame.no-hnav #head .hnav { display: none; }
#frame.no-htools #head .htools { display: none; }
#frame.no-brand #head { display: none; }

/* card */
#cardWrap { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: calc(var(--u) * 4); }
#card { position: relative; width: calc(var(--u) * var(--card-w)); max-width: 100%; border-radius: var(--card-r); background: linear-gradient(150deg, var(--glass-1, rgba(255,255,255,.55)), var(--glass-2, rgba(255,255,255,.4))); backdrop-filter: blur(24px) saturate(1.7); -webkit-backdrop-filter: blur(24px) saturate(1.7); box-shadow: 0 30px 70px -20px rgba(30,20,10,.32), 0 0 0 1px var(--glass-ring, rgba(255,255,255,.4)) inset, 0 1px 0 rgba(255,255,255,.6) inset; padding: calc(var(--u) * 4.6) calc(var(--u) * 4.6) calc(var(--u) * 3.4); overflow: visible; transition: background .5s ease, box-shadow .5s ease; }
#frame.solid #card { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
#copy { position: relative; z-index: 2; max-width: calc(100% - var(--u) * var(--plate) * .82); min-height: calc(var(--u) * 18); }
.dz { position: absolute; inset: 0; visibility: hidden; }
.dz.on { visibility: visible; }
.dz .nm { margin: 0; font-family: var(--title-font); font-weight: 800; font-size: calc(var(--u) * var(--ts)); line-height: 1.02; letter-spacing: -.01em; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.dz .nm .hl { color: var(--title-hl, var(--accent)); }
.dz.on .nm { opacity: 1; transform: none; transition-delay: .08s; }
.divider { display: flex; align-items: center; gap: calc(var(--u) * .9); margin: calc(var(--u) * 1.5) 0; opacity: 0; transition: opacity .5s; transition-delay: .1s; }
.dz.on .divider { opacity: 1; }
.divider i { width: calc(var(--u) * 3); height: 1.5px; background: var(--ink); opacity: .32; display: block; }
.divider svg { width: calc(var(--u) * 1.4); height: calc(var(--u) * 1.4); min-width: 11px; color: var(--accent); flex: none; }
#frame.no-divider .divider { display: none; }
.dz .desc { margin: 0; max-width: calc(var(--u) * 30); font-size: max(9.5px, calc(var(--u) * .95)); line-height: 1.55; color: var(--sub-ink); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; transition-delay: .16s; }
.dz.on .desc { opacity: 1; transform: none; }
#frame.no-desc .dz .desc { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: calc(var(--u) * .8); margin-top: calc(var(--u) * 1.6); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; transition-delay: .2s; }
.dz.on .tags { opacity: 1; transform: none; }
.tags .tag { display: inline-flex; align-items: center; gap: calc(var(--u) * .55); height: calc(var(--u) * 2.7); padding: 0 calc(var(--u) * 1.1); border-radius: 99px; background: rgba(255,255,255,.42); box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset; font-size: max(8px, calc(var(--u) * .66)); font-weight: 700; color: var(--ink); }
.tags svg { width: calc(var(--u) * 1.25); height: calc(var(--u) * 1.25); min-width: 10px; color: var(--accent); flex: none; }
#frame.no-tags .tags { display: none; }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--u) * 1.3); margin-top: calc(var(--u) * 2.2); }
.cta { display: inline-flex; align-items: center; gap: calc(var(--u) * .8); height: calc(var(--u) * 4.2); min-height: 34px; padding: 0 calc(var(--u) * 2.2); border-radius: 99px; border: 0; background: var(--accent); color: #fff; font-family: var(--title-font); font-weight: 600; font-size: max(10.5px, calc(var(--u) * 1.1)); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .5s .24s, transform .5s .24s, background .3s; box-shadow: 0 10px 22px -8px var(--glass-ring, rgba(0,0,0,.3)); }
.cta2 { display: inline-flex; align-items: center; height: calc(var(--u) * 4.2); min-height: 34px; padding: 0 calc(var(--u) * 2.1); border-radius: 99px; border: 1.4px solid rgba(255,255,255,.7); background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); font-family: var(--title-font); font-weight: 600; font-size: max(10.5px, calc(var(--u) * 1.1)); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .5s .3s, transform .5s .3s; }
.dz.on .cta2 { opacity: 1; transform: none; }
#frame.no-secondary .cta2 { display: none; }
.dz.on .cta { opacity: 1; transform: none; }
#frame.no-cta .cta { display: none; }

/* plate */
#plateWrap { position: absolute; z-index: 4; right: calc(var(--u) * 3); top: 50%; width: calc(var(--u) * var(--plate)); height: calc(var(--u) * var(--plate)); transform: translateY(-54%); }
#plateWrap::before { content: ""; position: absolute; inset: 6%; z-index: -1; border-radius: 50%; background: var(--accent); opacity: .3; filter: blur(26px); transition: background .3s; }
#frame.kb #plateWrap::before { animation: glowpulse 5s ease-in-out infinite alternate; }
@keyframes glowpulse { from { opacity: .18; transform: scale(.94); } to { opacity: .4; transform: scale(1.06); } }
.plate { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 18px 40px -10px rgba(20,14,8,.35); background: #16110d; }
#frame.float-plate .plate { animation: platebob 4.6s ease-in-out infinite; }
@keyframes platebob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.5%); } }
.plate .art { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform .6s; transform: scale(1.04); }
.plate .art.on { opacity: 1; transform: none; }
.plate img.art { width: 100%; height: 100%; object-fit: cover; }
#plateWrap::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; pointer-events: none; }
#frame.no-plate #plateWrap { display: none; }
#frame.no-plate #copy { max-width: 100%; }

/* thumbnail nav */
#thumbs { position: relative; z-index: 2; margin-top: calc(var(--u) * 3.2); display: flex; align-items: flex-end; gap: calc(var(--u) * 1.5); overflow: visible; }
.tstrip { display: flex; align-items: flex-end; gap: calc(var(--u) * 1.5); overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding-bottom: 2px; scroll-behavior: smooth; }
.tstrip::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: none; width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); min-width: 40px; min-height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: #16110d; box-shadow: 0 6px 14px rgba(20,14,8,.22); transition: width .4s cubic-bezier(.3,.8,.3,1), height .4s cubic-bezier(.3,.8,.3,1); }
.thumb img, .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.cur { width: calc(var(--u) * 8.6); height: calc(var(--u) * 8.6); min-width: 64px; min-height: 64px; }
.thumb .lbl { position: absolute; left: 50%; bottom: calc(var(--u) * -3.4); transform: translateX(-50%); width: max-content; max-width: calc(var(--u) * 16); text-align: center; opacity: 0; transition: opacity .3s; pointer-events: none; }
.thumb.cur .lbl { opacity: 1; }
.thumb .lbl .nmp { display: inline-block; padding: 3px calc(var(--u) * .9); border-radius: 99px; background: rgba(255,255,255,.85); font-size: max(8px, calc(var(--u) * .62)); font-weight: 700; color: var(--ink); white-space: nowrap; }
.thumb .lbl .pr { display: block; margin-top: 3px; padding: 2px calc(var(--u) * .8); border-radius: 99px; background: var(--accent); color: #fff; font-size: max(7.5px, calc(var(--u) * .58)); font-weight: 700; }
#frame.no-price .thumb .lbl .pr { display: none; }
#nextT { flex: none; width: calc(var(--u) * 4); height: calc(var(--u) * 4); min-width: 30px; min-height: 30px; border-radius: 50%; border: 1.3px solid rgba(20,15,10,.28); background: rgba(255,255,255,.5); color: var(--ink); display: grid; place-items: center; cursor: pointer; align-self: center; }
#nextT svg { width: 34%; height: 34%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#frame.no-thumbs #thumbs { display: none; }
#frame :is(.thumb, .cta, #nextT):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 860px) {
  body.panel-open #main { margin-right: 0; }
  #shell { width: min(calc(100% - 24px), calc((100svh - 60px) * 1.7778)); }
  #panel { top: auto !important; left: 0; right: 0; width: auto; height: 62vh; height: 62svh; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 16px 16px 0 0; transform: translateY(102%); }
  body.panel-open #panel { transform: none; }
  #frame.port { --card-w: 86; --ts: 2.9; --plate: 15; }
  #frame.port #head { left: calc(var(--u) * 2); right: calc(var(--u) * 2); padding: 0 calc(var(--u) * 1.6); }
  #frame.port .hnav { display: none; }
  #frame.port #plateWrap { position: static; transform: none; width: calc(var(--u) * var(--plate)); height: calc(var(--u) * var(--plate)); margin: 0 auto calc(var(--u) * 2); }
  #frame.port #copy { max-width: 100%; text-align: center; }
  #frame.port .dz .desc { margin-left: auto; margin-right: auto; }
  #frame.port .divider, #frame.port .tags, #frame.port .btnrow { justify-content: center; }
  #frame.port #thumbs { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #main, .dz .nm, .dz .desc, .cta, .plate .art, .thumb { transition: none !important; } #frame.kb #bg, #frame.kb #plateWrap::before, #frame.float-plate .plate { animation: none !important; } }

/* ---------- customize button + panel (shared pattern) ---------- */
#openPanel { position: fixed; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: 14px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 99px; cursor: pointer; font-family: var(--ui-font); font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: #fff; background: rgba(14,17,16,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#openPanel:hover { background: rgba(30,36,33,.85); }
#openPanel:focus-visible, .p-close:focus-visible, summary:focus-visible, .chip:focus-visible, .ghost:focus-visible { outline: 2px solid var(--ui); outline-offset: 2px; }
body.panel-open #openPanel { display: none; }
#panel { position: fixed; top: 0; right: 0; bottom: 0; width: var(--panel-w); z-index: 50; display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line); transform: translateX(102%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s linear .3s; font-family: var(--ui-font); color: var(--ink); }
body.panel-open #panel { transform: none; visibility: visible; transition-delay: 0s; }
.p-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.p-head h1 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.p-head p { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.p-close { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.p-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.p-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
details.sec { border-bottom: 1px solid var(--line); }
details.sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 13px; font-weight: 500; letter-spacing: -.005em; }
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary svg { width: 14px; height: 14px; color: var(--ink-3); transition: transform .2s; }
details.sec[open] > summary svg { transform: rotate(180deg); }
.sec-body { padding: 2px 0 14px; }
.ctl { padding: 7px 18px; }
.ctl.is-off { opacity: .38; }
.ctl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.ctl label, .ctl .lab { font-size: 12.5px; color: var(--ink-2); }
.ctl .val { font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ctl-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ctl-hint { margin: 4px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--ink-3); }
.ctl-color { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ctl-color .right { display: flex; align-items: center; gap: 8px; }
.ctl-color code { font: 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); }
.sub-h { margin: 10px 18px 2px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--ui) var(--fill), rgba(255,255,255,.15) var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 0 rgba(110,231,160,.35); transition: box-shadow .15s; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(110,231,160,.35); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--ui); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 0; background: #fff; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:disabled { cursor: not-allowed; }
input.sw { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 36px; height: 21px; margin: 0; border-radius: 99px; cursor: pointer; background: rgba(255,255,255,.16); transition: background .2s; }
input.sw::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s; }
input.sw:checked { background: var(--ui); }
input.sw:checked::after { transform: translateX(15px); background: var(--ui-ink); }
input.sw:focus-visible { outline: 2px solid var(--ui); outline-offset: 2px; }
input.sw:disabled { cursor: not-allowed; }
input[type="color"] { -webkit-appearance: none; appearance: none; width: 36px; height: 26px; padding: 0; border: 1px solid var(--line-2); border-radius: 7px; background: none; cursor: pointer; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: 5px; }
input[type="color"]:focus-visible { outline: 2px solid var(--ui); outline-offset: 2px; }
.in, textarea.in, select.in { width: 100%; padding: 8px 10px; font: inherit; font-size: 13px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; }
select.in { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
.in:focus-visible { outline: 2px solid var(--ui); outline-offset: 1px; }
textarea.in { resize: vertical; min-height: 64px; line-height: 1.45; }
textarea.in.mono { min-height: 150px; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); white-space: pre; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 9px; border-radius: 99px; cursor: pointer; font-size: 12.5px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink); }
.chip:hover { border-color: rgba(255,255,255,.3); }
.chip i { width: 12px; height: 12px; border-radius: 50%; }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 12.5px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.ghost:hover:not(:disabled) { background: rgba(255,255,255,.06); }
.ghost:disabled { opacity: .4; cursor: not-allowed; }
.ghost.primary { background: var(--ui); color: var(--ui-ink); border-color: transparent; font-weight: 500; }
.ghost.primary:hover:not(:disabled) { background: #8af0b4; }
.ghost.warn { color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 18px 0; }
.msg { margin: 8px 18px 0; font-size: 12px; line-height: 1.4; color: var(--ui); min-height: 1em; }
.msg.err { color: var(--danger); }
.cards-ed { padding: 4px 18px 0; display: grid; gap: 8px; }
details.ced { border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.02); }
details.ced > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; }
details.ced > summary::-webkit-details-marker { display: none; }
.swatch { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.ced-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ced-body { padding: 4px 12px 12px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.ced-body .f { display: grid; gap: 4px; }
.ced-body .f > span { font-size: 12px; color: var(--ink-2); }
.ced-body .f > small { font-size: 11.5px; line-height: 1.4; color: var(--ink-3); }
.ced-body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ced-body h3 { margin: 6px 0 -2px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ced-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ced-actions .ghost { height: 28px; padding: 0 10px; font-size: 12px; }
.add-row { padding: 10px 18px 0; }
.add-row .ghost { width: 100%; }
.upl { display: grid; gap: 8px; }
.drop { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px dashed rgba(255,255,255,.24); border-radius: 10px; background: rgba(255,255,255,.02); transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--ui); background: rgba(110,231,160,.08); }
.thumbp { flex: none; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; text-align: center; font-size: 10px; line-height: 1.2; color: var(--ink-3); background: #1b1f1e; }
.thumbp img { width: 100%; height: 100%; object-fit: cover; }
.thumbp [hidden] { display: none; }
.drop-body { min-width: 0; display: grid; gap: 6px; }
.drop-title { margin: 0; font-size: 12.5px; color: var(--ink); }
.drop-hint { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--ink-3); }
.drop-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.drop-actions .ghost { height: 28px; padding: 0 10px; font-size: 12px; }
.upl-msg { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--ui); min-height: 1em; }
.upl-msg.err { color: var(--danger); }
