/* ==========================================================================
   Studio — three-column desk. Rails hold controls, the stage holds the work.
   ========================================================================== */

.studio { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }

/* --- Top bar -------------------------------------------------------------- */
.bar {
  flex: none;
  height: 56px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 14px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.bar .brand__word { font-size: 15px; }

.bar__file {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 10px 6px 12px;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 20px; min-width: 0; max-width: 320px;
}
.bar__dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--chalk-mute);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.bar__dot.on { background: var(--phosphor); box-shadow: 0 0 8px var(--phosphor); }
.bar__name {
  font-size: 12.5px; color: var(--chalk-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar__dot.on + .bar__name { color: var(--chalk); }
.bar__swap {
  border: 0; background: none; color: var(--chalk-mute);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 4px; flex: none;
}
.bar__swap:hover { color: var(--phosphor); background: rgba(76,242,200,.08); }

.bar__sizes {
  display: flex; gap: 2px; margin-left: auto;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 3px;
}
.szbtn {
  border: 0; background: none; color: var(--chalk-mute);
  padding: 6px 12px; border-radius: 5px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  transition: background .16s var(--ease), color .16s var(--ease);
  white-space: nowrap;
}
.szbtn:hover { color: var(--chalk); }
.szbtn.on { background: var(--panel-2); color: var(--chalk); box-shadow: inset 0 0 0 1px var(--line); }
.bar__export { margin-left: 0; padding: 9px 16px; }

/* --- Shell ---------------------------------------------------------------- */
.shell {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr) 300px;
}

.rail {
  overflow-y: auto; overflow-x: hidden;
  background: var(--ink-2);
  display: flex; flex-direction: column;
}
.rail--l { border-right: 1px solid var(--line-soft); }
.rail--r { border-left: 1px solid var(--line-soft); }

/* --- Left rail ------------------------------------------------------------ */
.pane { padding: 18px 14px; border-bottom: 1px solid var(--line-soft); }
.pane__h {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--chalk-mute);
  font-weight: 400; margin: 0 0 12px;
}
.pane__sub { font-size: 12px; color: var(--chalk-mute); line-height: 1.5; margin: -4px 0 12px; }

.engines { display: flex; flex-direction: column; gap: 4px; }
.eng {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r-md);
  border: 1px solid transparent; background: none; color: var(--chalk-dim);
  text-align: left; width: 100%;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.eng:hover { background: var(--panel); color: var(--chalk); }
.eng.on {
  background: var(--panel-2); color: var(--chalk);
  border-color: var(--line);
}
.eng__ico { width: 20px; height: 14px; flex: none; color: var(--chalk-mute); }
.eng.on .eng__ico { color: var(--phosphor); }
.eng__t { font-size: 13px; font-weight: 500; }

.tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tpl {
  border: 1px solid var(--line-soft); background: var(--panel);
  border-radius: var(--r-md); padding: 0; overflow: hidden;
  color: var(--chalk-dim);
  transition: border-color .18s var(--ease), transform .2s var(--ease-out-hard);
}
.tpl:hover { border-color: #3B3159; transform: translateY(-2px); }
.tpl.on { border-color: var(--hot); }
.tpl__sw { height: 34px; display: block; }
.tpl__n {
  display: block; padding: 7px 8px 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; text-align: left;
}
.tpl.on .tpl__n { color: var(--chalk); }

.rail__foot { margin-top: auto; padding: 14px; border-top: 1px solid var(--line-soft); }
.btn--wide { width: 100%; justify-content: center; }

/* --- Stage ---------------------------------------------------------------- */
.stage {
  min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  background:
    radial-gradient(90% 70% at 50% 0%, #16122A 0%, transparent 70%),
    var(--ink);
}
.stage__frame {
  flex: 1; min-height: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 26px;
}
#view {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 30px 90px -30px rgba(0,0,0,.9), 0 0 0 1px var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.stage.dragging #view { box-shadow: 0 0 0 2px var(--phosphor), 0 30px 90px -30px rgba(0,0,0,.9); }

.stage__badge {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: var(--chalk-mute);
  background: rgba(10,9,18,.7); border: 1px solid var(--line-soft);
  padding: 4px 8px; border-radius: 4px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Empty state */
.drop {
  position: absolute; inset: 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 4px;
  background: rgba(10,9,18,.94);
  border: 1px dashed var(--line);
  border-radius: 6px;
  backdrop-filter: blur(3px);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.stage.dragging .drop { border-color: var(--phosphor); background: rgba(12,26,24,.94); }
.drop[hidden] { display: none; }
.drop__glyph { width: 128px; height: 48px; color: var(--phosphor); opacity: .55; margin-bottom: 16px; }
.drop h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  font-variation-settings: 'wdth' 116, 'wght' 700;
  margin-bottom: 8px;
}
.drop p { color: var(--chalk-dim); font-size: 13.5px; max-width: 42ch; margin: 0 0 20px; }
.drop__hint {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--chalk-mute);
  margin: 14px 0 0 !important;
}

/* --- Transport ------------------------------------------------------------ */
.transport {
  flex: none; height: 60px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--ink-2);
}
.tp__play {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--chalk);
  transition: background .16s var(--ease), transform .16s var(--ease-out-hard);
}
.tp__play:hover:not([disabled]) { background: var(--phosphor); color: #04120E; border-color: var(--phosphor); }
.tp__play:active:not([disabled]) { transform: scale(.94); }
.tp__play[disabled] { opacity: .35; cursor: default; }
.tp__time { font-family: var(--mono); font-size: 11.5px; color: var(--chalk); font-variant-numeric: tabular-nums; }
.tp__time--dim { color: var(--chalk-mute); }
.tp__scrubwrap { flex: 1; min-width: 60px; display: flex; }

/* Range inputs: styled once, used everywhere. */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; background: none; cursor: pointer; height: 18px;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 3px; background: var(--line);
}
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--chalk); border: 0; margin-top: -4.5px;
  transition: transform .14s var(--ease-out-hard), background .14s var(--ease);
}
input[type=range]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: var(--chalk); border: 0;
}
input[type=range]:hover::-webkit-slider-thumb { background: var(--phosphor); transform: scale(1.2); }
input[type=range]:disabled { opacity: .4; cursor: default; }
.scrub::-webkit-slider-thumb { width: 13px; height: 13px; margin-top: -5px; }
.mini { width: 66px; }

.tp__vol { display: flex; align-items: center; gap: 7px; color: var(--chalk-mute); flex: none; }

.meters { display: flex; gap: 8px; flex: none; }
.meter {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--chalk-mute);
}
.meter i {
  display: block; width: 34px; height: 3px; border-radius: 3px;
  background: var(--line); position: relative; overflow: hidden;
}
.meter i::after {
  content: ''; position: absolute; inset: 0 auto 0 0;
  width: var(--v, 0%); background: var(--phosphor);
  transition: width .05s linear;
}
#mMid i::after { background: var(--violet); }
#mHi i::after  { background: var(--hot); }
.fps {
  font-family: var(--mono); font-size: 10px; color: var(--chalk-mute);
  flex: none; width: 52px; text-align: right; font-variant-numeric: tabular-nums;
}

/* --- Inspector ------------------------------------------------------------ */
.grp { border-bottom: 1px solid var(--line-soft); }
.grp > summary {
  list-style: none; cursor: pointer;
  padding: 14px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--chalk-dim);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.grp > summary::-webkit-details-marker { display: none; }
.grp > summary::before {
  content: '+'; color: var(--chalk-mute); font-size: 13px; width: 10px;
  transition: transform .2s var(--ease), color .16s var(--ease);
}
.grp[open] > summary::before { content: '−'; }
.grp > summary:hover { color: var(--chalk); background: var(--panel); }
.grp[open] > summary { color: var(--chalk); }
.grp__body { padding: 2px 14px 18px; display: flex; flex-direction: column; gap: 12px; }

.f, .sl, .col { display: flex; flex-direction: column; gap: 6px; }
.f > span, .sl > span, .col > span {
  font-size: 11px; color: var(--chalk-mute);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.sl > span b {
  font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--chalk-dim);
  font-variant-numeric: tabular-nums;
}

input[type=text], select {
  width: 100%;
  background: var(--panel); border: 1px solid var(--line-soft);
  color: var(--chalk); border-radius: var(--r-sm);
  padding: 8px 9px; font-size: 12.5px; font-family: inherit;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--chalk-mute) 50%),
                    linear-gradient(135deg, var(--chalk-mute) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 26px;
}
input[type=text]:hover, select:hover { border-color: var(--line); }
input[type=text]:focus, select:focus { border-color: var(--phosphor); outline: none; background: var(--panel-2); }
input[type=text]::placeholder { color: var(--chalk-mute); }

input[type=color] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 30px; padding: 0;
  background: none; border: 1px solid var(--line-soft);
  border-radius: var(--r-sm); cursor: pointer;
  transition: border-color .16s var(--ease);
}
input[type=color]:hover { border-color: var(--line); }
input[type=color]::-webkit-color-swatch-wrapper { padding: 3px; }
input[type=color]::-webkit-color-swatch { border: 0; border-radius: 3px; }
input[type=color]::-moz-color-swatch { border: 0; border-radius: 3px; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.checks { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.ck { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--chalk-dim); cursor: pointer; }
.ck--tall { align-self: end; padding-bottom: 8px; }
.ck input { accent-color: var(--phosphor); width: 14px; height: 14px; cursor: pointer; }

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sw {
  border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 0; overflow: hidden; background: var(--panel);
  transition: border-color .16s var(--ease), transform .18s var(--ease-out-hard);
}
.sw:hover { border-color: #3B3159; transform: translateY(-1px); }
.sw__bar { height: 16px; display: flex; }
.sw__bar i { flex: 1; }
.sw__n {
  display: block; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-mute);
  padding: 5px 4px;
}

.drop-mini {
  display: block; text-align: center; cursor: pointer;
  border: 1px dashed var(--line); border-radius: var(--r-sm);
  padding: 14px 10px; font-size: 11.5px; color: var(--chalk-mute);
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.drop-mini:hover { border-color: var(--phosphor); color: var(--chalk-dim); background: rgba(76,242,200,.04); }
.drop-mini.set { border-style: solid; color: var(--phosphor); }

[data-for] { display: none; }
[data-for].show { display: flex; }
div[data-for].show { display: block; }
div.row2[data-for].show { display: grid; }

/* --- Export sheet --------------------------------------------------------- */
.sheetwrap { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.sheetwrap[hidden] { display: none; }
.sheetwrap__scrim { position: absolute; inset: 0; background: rgba(5,4,10,.72); backdrop-filter: blur(6px); animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0 } }

.xsheet {
  position: relative;
  width: min(520px, 100%);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9);
  animation: pop .28s var(--ease-out-hard);
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.xsheet__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 22px 18px; border-bottom: 1px solid var(--line-soft);
}
.xsheet__head h2 { font-size: 26px; font-variation-settings: 'wdth' 116, 'wght' 700; margin-top: 10px; }
.xsheet__close {
  border: 1px solid var(--line-soft); background: none; color: var(--chalk-mute);
  width: 28px; height: 28px; border-radius: 6px; font-size: 12px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.xsheet__close:hover { color: var(--chalk); border-color: var(--line); }
.xsheet__body { padding: 6px 22px 20px; }

.xrow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
}
.xlab { font-size: 12.5px; color: var(--chalk-dim); }
.xval { font-family: var(--mono); font-size: 11.5px; color: var(--chalk); }

.seg { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 3px; }
.seg button {
  border: 0; background: none; color: var(--chalk-mute);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  padding: 5px 11px; border-radius: 4px;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.seg button:hover { color: var(--chalk); }
.seg button.on { background: var(--panel-2); color: var(--chalk); box-shadow: inset 0 0 0 1px var(--line); }

.xnote { font-size: 12px; color: var(--chalk-mute); line-height: 1.6; margin: 16px 0 0; }

.xprog { margin-top: 18px; }
.xprog__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.xprog__bar i { display: block; height: 100%; width: 0; background: var(--hot); transition: width .2s linear; }
.xprog__meta {
  display: flex; justify-content: space-between; margin-top: 9px;
  font-size: 11px; color: var(--chalk-dim);
}
.xprog__meta .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
#xStatus::before {
  content: '●'; color: var(--hot); margin-right: 6px;
  animation: rec 1s steps(1) infinite;
}
@keyframes rec { 50% { opacity: .2 } }

.xdone { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(76,242,200,.07); border: 1px solid rgba(76,242,200,.25); }
.xdone p { margin: 0; font-size: 12.5px; color: var(--chalk-dim); line-height: 1.55; }
.xdone.warn { background: rgba(255,196,107,.07); border-color: rgba(255,196,107,.28); }

.xsheet__foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 22px; border-top: 1px solid var(--line-soft);
}

/* --- Toast ---------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%);
  z-index: 95;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--chalk); font-size: 12.5px;
  padding: 11px 18px; border-radius: 22px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.8);
  animation: toastIn .3s var(--ease-out-hard);
}
.toast[hidden] { display: none; }
.toast.err { border-color: rgba(255,196,107,.5); color: var(--amber); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .shell { grid-template-columns: 210px minmax(0,1fr) 268px; }
  .bar__file { display: none; }
}
@media (max-width: 940px) {
  .studio { height: auto; overflow: auto; }
  .shell { grid-template-columns: 1fr; }
  .rail { max-height: none; }
  .rail--l { border-right: 0; border-bottom: 1px solid var(--line-soft); order: 2; }
  .rail--r { border-left: 0; border-top: 1px solid var(--line-soft); order: 3; }
  .stage { order: 1; }
  .stage__frame { min-height: 46vh; }
  .bar__sizes { overflow-x: auto; }
  .meters, .fps { display: none; }
}

/* ==========================================================================
   Monetization — upgrade affordance, Pro badge, locked controls, paywall
   ========================================================================== */

/* Upgrade button in the top bar */
.btn--upgrade {
  padding: 8px 13px;
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(255,196,107,.06);
}
.btn--upgrade:hover {
  background: rgba(255,196,107,.14);
  border-color: var(--amber);
  color: var(--amber);
}

/* Pro badge (shown once unlocked) */
.pro-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  color: #0A0912;
  background: linear-gradient(100deg, var(--phosphor), var(--violet));
  padding: 4px 8px;
  border-radius: 5px;
  align-self: center;
}

/* A locked segment option: dim, with a small padlock */
.seg button[data-pro][data-locked] {
  opacity: .55;
  position: relative;
}
.seg button[data-pro][data-locked]::after {
  content: '';
  width: 8px; height: 8px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 5.5V4a3 3 0 0 1 6 0v1.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3Crect x='2.4' y='5.4' width='7.2' height='5.2' rx='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 5.5V4a3 3 0 0 1 6 0v1.5' fill='none' stroke='black' stroke-width='1.2'/%3E%3Crect x='2.4' y='5.4' width='7.2' height='5.2' rx='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Inline "Go Pro" text button */
.linkbtn {
  border: 0; background: none; padding: 0;
  color: var(--amber);
  font: inherit; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.xnote--cap { color: var(--amber); }

/* --- Paywall modal ------------------------------------------------------- */
.pw { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.pw[hidden] { display: none; }
.pw__scrim {
  position: absolute; inset: 0;
  background: rgba(5,4,10,.72);
  backdrop-filter: blur(4px);
}
.pw__card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(139,107,255,.12);
  animation: pwIn .22s var(--ease-out-hard);
}
@keyframes pwIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.pw__close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 0; border-radius: 7px;
  background: transparent; color: var(--chalk-dim);
  font-size: 15px;
}
.pw__close:hover { background: rgba(255,255,255,.06); color: var(--chalk); }
.pw__card h2 { font-size: 24px; margin: 10px 0 0; }
.pw__lead { color: var(--chalk-dim); font-size: 13.5px; margin: 8px 0 16px; }
.pw__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.pw__list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px; color: var(--chalk-dim);
  line-height: 1.35;
}
.pw__list li b { color: var(--chalk); font-weight: 600; }
.pw__list li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px;
  background: var(--phosphor);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* The feature that triggered the paywall gets highlighted */
.pw__list li[data-hi]::before { background: var(--amber); }
.pw__list li[data-hi] b { color: var(--amber); }
.btn--wide { width: 100%; justify-content: center; }
.pw__key { margin-top: 16px; }
.pw__key summary {
  font-size: 12px; color: var(--chalk-mute);
  cursor: pointer; list-style: none;
}
.pw__key summary::-webkit-details-marker { display: none; }
.pw__key summary:hover { color: var(--chalk-dim); }
.pw__keyrow { display: flex; gap: 8px; margin-top: 10px; }
.pw__keyrow input {
  flex: 1; min-width: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--chalk);
  padding: 9px 11px;
  font-family: var(--mono); font-size: 12px;
}
.pw__keyrow input:focus { outline: none; border-color: var(--violet); }
