/* Klipper Studio — tasarım dili: koyu, sakin, tek vurgu rengi. Apple sistem fontu; 4 pt boşluk ızgarası.
   Her ekranda tek birincil eylem (sarı). Kartlar yalnız gerçekten ayrı nesnelerde. */
:root {
  --bg: #0e0f11; --surface: #16181b; --raise: #1e2125; --line: #2a2e33; --line-2: #3a3f46;
  --fg: #f4f4f2; --fg-2: #b4b8bf; --muted: #80868f;
  --accent: #ffd43b; --accent-ink: #1b1600; --accent-soft: #ffd43b1f;
  --ok: #4fd18b; --warn: #ffb547; --bad: #ff6b5e; --info: #6ab0ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-s: 8px; --r-m: 12px; --r-l: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased }
button, input, textarea, select { font: inherit; color: inherit }
a { color: inherit }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important } }

/* ---------- çerçeve */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 max(20px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.logo { font: 700 16px var(--display); letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: 8px; white-space: nowrap }
.logo i { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); display: inline-block }
.crumb { color: var(--muted); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.top .grow { flex: 1 }
.steps { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px }
.steps a { text-decoration: none; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--fg-2); white-space: nowrap }
.steps a[aria-current="page"] { background: var(--raise); color: var(--fg) }
.steps a .n { font: 600 11px var(--mono); color: var(--muted); margin-right: 6px }
.status { display: flex; gap: 6px }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap }
.pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent) }
.pill.bad { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent) }
main { max-width: 1180px; margin: 0 auto; padding: 32px max(20px, env(safe-area-inset-left)) 80px }
main.full { max-width: none; padding: 0 }

/* ---------- tipografi ve temel öğeler */
h1 { font: 700 30px/1.15 var(--display); letter-spacing: -.025em; margin: 0; text-wrap: balance }
h2 { font: 650 18px/1.3 var(--display); letter-spacing: -.01em; margin: 0 }
h3 { font: 600 14px var(--font); margin: 0 }
.lede { color: var(--fg-2); margin: 6px 0 0; max-width: 60ch }
.muted { color: var(--muted) }
.small { font-size: 13px }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums }
.stack { display: grid; gap: 16px }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.between { justify-content: space-between }
.sep { height: 1px; background: var(--line); margin: 8px 0 }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--raise); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s }
.btn:hover { border-color: var(--muted) }
.btn:active { transform: translateY(1px) }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.btn.primary:hover { filter: brightness(1.05) }
.btn.ghost { background: transparent; border-color: transparent; color: var(--fg-2) }
.btn.ghost:hover { background: var(--raise) }
.btn.sm { height: 30px; padding: 0 11px; font-size: 13px; border-radius: 8px }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none }
.iconbtn { width: 34px; height: 34px; padding: 0; border-radius: 9px }

.field { display: grid; gap: 6px }
.field > span { font-size: 13px; font-weight: 600; color: var(--fg-2) }
.field small { font-weight: 400; color: var(--muted) }
input[type=text], input[type=number], textarea, select { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s }
input:focus, textarea:focus, select:focus { border-color: var(--line-2) }
textarea { resize: vertical; line-height: 1.55 }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--fg-2); cursor: pointer }
.seg button[aria-pressed="true"] { background: var(--raise); color: var(--fg); box-shadow: 0 1px 0 #ffffff10 inset }

.banner { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-m); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-2) }
.banner b { color: var(--fg) }
.banner.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent) }
.banner.bad { border-color: color-mix(in srgb, var(--bad) 55%, transparent); color: #ffd6d1 }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; flex: none }
@keyframes spin { to { transform: rotate(360deg) } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 10px 30px #0008 }
.toast.bad { background: var(--bad); color: #1a0402 }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden }
.progress i { display: block; height: 100%; background: var(--accent); transition: width .3s }

/* ---------- projeler */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 24px }
.proj { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s }
.proj:hover { border-color: var(--line-2) }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-l); margin-top: 24px; color: var(--fg-2) }

/* ---------- brief */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 24px }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) } }
.side { position: sticky; top: 80px; display: grid; gap: 12px }
.assets { display: grid; gap: 8px }
.asset { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px }
.asset .k { font: 600 11px var(--mono); color: var(--muted); text-transform: uppercase }
.drop { border: 1px dashed var(--line-2); border-radius: var(--r-m); padding: 18px; text-align: center; color: var(--muted); font-size: 13px; cursor: pointer }
.drop.over { border-color: var(--accent); color: var(--fg) }
details.more > summary { cursor: pointer; color: var(--fg-2); font-weight: 600; font-size: 14px; list-style: none }
details.more > summary::before { content: '+ ' }
details.more[open] > summary::before { content: '− ' }

/* ---------- senaryo */
.script { display: grid; gap: 2px; margin-top: 20px }
.line { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 8px 8px 4px; border-radius: 10px }
.line:hover, .line:focus-within { background: var(--surface) }
.line .num { font: 600 12px var(--mono); color: var(--muted); text-align: right; padding-top: 7px }
.line textarea { background: transparent; border: 0; padding: 5px 0; font-size: 17px; line-height: 1.45; resize: none; overflow: hidden; min-height: 34px }
.line textarea:focus { background: transparent }
.line .tools { display: flex; gap: 2px; opacity: 0; transition: opacity .15s }
.line:hover .tools, .line:focus-within .tools { opacity: 1 }
.line.hook .num { color: var(--accent) }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px }
.hooks { display: grid; gap: 6px; margin-top: 8px }
.hooks button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer }
.hooks button:hover { border-color: var(--accent) }

/* ---------- kayıt */
.rec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding: 16px max(16px, env(safe-area-inset-left)); height: calc(100dvh - 56px) }
.rec.phone { grid-template-columns: minmax(0, 1fr); padding: 0; height: 100dvh }
@media (max-width: 860px) { .rec { grid-template-columns: minmax(0, 1fr); height: auto } .rec > #rec { height: calc(100dvh - 88px) } }
.rec > #rec { height: 100%; min-height: 0; display: grid; place-items: center }
.stage { position: relative; height: 100%; min-height: 420px; width: auto; aspect-ratio: 9 / 16; max-width: 100%; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line) }
.rec.phone .stage { border-radius: 0; border: 0; aspect-ratio: auto; width: 100%; height: 100dvh }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.stage video.mirror { transform: scaleX(-1) }
.stage .msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--fg-2); background: radial-gradient(120% 80% at 50% 30%, #23262b, #0b0c0d) }
.prompter { position: absolute; left: 0; right: 0; top: 0; height: 44%; overflow-y: auto; scrollbar-width: none; padding: calc(16px + env(safe-area-inset-top)) 18px 45%;
  background: linear-gradient(#000000e0 72%, #0000); font: 700 var(--pfs, 28px)/1.32 var(--display); letter-spacing: -.01em; cursor: pointer; overscroll-behavior: contain; mask-image: linear-gradient(#000 80%, #0000) }
.prompter::-webkit-scrollbar { display: none }
.prompter p { margin: 0 0 .55em; color: #ffffff70; transition: color .2s }
.prompter p.now { color: #fff }
.prompter .flow { color: inherit }
.prompter .flow span { color: #ffffff75; transition: color .2s }
.prompter .flow span.now { color: #fff }
.prompter .flow span.done { color: #ffffff45 }
.script-text { width: 100%; min-height: 360px; margin-top: 20px; font-size: 17px; line-height: 1.6; resize: vertical }
.prompter .badge { position: sticky; top: 0; float: right; font: 600 11px var(--mono); background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 99px }
.hud { position: absolute; left: 12px; right: 12px; top: calc(44% + 8px); display: flex; justify-content: center; gap: 6px; flex-wrap: wrap }
.hud .btn { background: #000a; border-color: #ffffff22; color: #fff; backdrop-filter: blur(8px) }
.hud output { font: 600 12px var(--mono); color: #fff; align-self: center; min-width: 3.2em; text-align: center }
.recbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: linear-gradient(#0000, #000c) }
.recbtn { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0 }
.recbtn i { width: 56px; height: 56px; border-radius: 50%; background: var(--bad); transition: all .2s }
.recbtn.on i { width: 28px; height: 28px; border-radius: 7px }
.timer { font: 600 15px var(--mono); color: #fff }
.recbar .right { justify-self: end; display: flex; gap: 6px }
.recbar .left { justify-self: start; display: flex; gap: 8px; align-items: center }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); animation: blink 1s infinite }
@keyframes blink { 50% { opacity: .2 } }
.count { position: absolute; inset: 0; display: grid; place-items: center; font: 800 140px var(--display); color: #fff; text-shadow: 0 6px 40px #000; pointer-events: none }
.panel { display: grid; gap: 14px; align-content: start; overflow-y: auto; min-height: 0 }
.take { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px }
.take.current { border-color: var(--accent) }
.take .st { font-size: 12px; color: var(--muted) }
.take .st.bad { color: var(--bad) }
.qr { background: #fff; border-radius: 12px; padding: 10px; width: 200px; height: 200px }
.qr svg { width: 100%; height: 100% }
.modal { position: fixed; inset: 0; z-index: 50; background: #000b; display: grid; place-items: center; padding: 16px }
.modal > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; max-width: 460px; width: 100%; display: grid; gap: 14px }

/* ---------- editör */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr) auto; gap: 0; height: calc(100dvh - 56px) }
@media (max-width: 960px) { .editor { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; height: auto } }
.viewer { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 16px; min-height: 0 }
.screen { position: relative; height: 100%; min-height: 360px; aspect-ratio: 9 / 16; max-width: 100%; margin: 0 auto; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line) }
.screen video.pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; transition: none }
.screen .over { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; align-items: center; font-size: 12px; background: #000b; padding: 5px 9px; border-radius: 99px; backdrop-filter: blur(6px) }
.screen .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--fg-2); background: #0b0c0dd0 }
.transport { display: flex; justify-content: center; align-items: center; gap: 10px }
.play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fg); color: var(--bg); font-size: 15px; cursor: pointer }
.side-panel { border-left: 1px solid var(--line); display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; background: var(--surface) }
@media (max-width: 960px) { .side-panel { border-left: 0; border-top: 1px solid var(--line) } }
.tabs { display: flex; gap: 0; padding: 10px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none }
.tabs button { border: 0; background: transparent; padding: 8px 10px 10px; white-space: nowrap; flex: none; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px }
.tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--accent) }
.tabbody { overflow-y: auto; padding: 16px; display: grid; gap: 16px; align-content: start }
.decision { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; width: 100% }
.decision:hover { border-color: var(--line-2) }
.decision .k { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 2px 6px; border-radius: 5px; background: #ff6b5e22; color: var(--bad) }
.decision .k.pause { background: #6ab0ff22; color: var(--info) }
.decision .k.filler, .decision .k.sound { background: #ffb54722; color: var(--warn) }
.decision .t { min-width: 0; font-size: 13px }
.decision .t s { color: var(--fg-2) }
.decision .t small { display: block; color: var(--muted); font-size: 11.5px }
.decision.off { opacity: .55 }
.decision.off .t s { text-decoration: none }
.decision .act { font-size: 12px; color: var(--fg-2); white-space: nowrap }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.preset { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; display: grid; gap: 2px }
.preset[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset }
.preset b { font-size: 14px } .preset span { font-size: 12px; color: var(--muted) }
.capline { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: center }
.capline input { padding: 7px 9px; font-size: 13px }
.timeline { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 10px 16px 14px; display: grid; gap: 6px; background: var(--bg) }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.tracks { position: relative; display: grid; gap: 4px; cursor: pointer; user-select: none }
.track { position: relative; height: 26px; border-radius: 6px; background: var(--surface); overflow: hidden }
.track.thin { height: 16px }
.track .lab { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); font: 600 10px var(--mono); color: var(--muted); z-index: 2; pointer-events: none; text-transform: uppercase; letter-spacing: .05em }
.blk { position: absolute; top: 2px; bottom: 2px; border-radius: 4px }
.blk.v { background: #4d5a6a } .blk.a { background: #3a5a48 } .blk.c { background: #6a5a2a; top: 3px; bottom: 3px }
.blk.cut { background: repeating-linear-gradient(135deg, #ff6b5e30 0 4px, transparent 4px 8px); border: 1px solid #ff6b5e55 }
.playhead { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--accent); pointer-events: none; z-index: 3 }

/* ---------- işleniyor */
.proc { display: grid; gap: 10px; max-width: 360px; text-align: left }
.proc li { color: var(--muted) } .proc li.now { color: var(--fg); font-weight: 600 } .proc li.done { color: var(--ok) }

/* ---------- altyazı stilleri (canlı önizleme + kartlar + ayarlar) */
.screen .capcv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.screen .capst { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; align-items: center; font-size: 12px; background: #000b; padding: 5px 9px; border-radius: 99px; backdrop-filter: blur(6px) }
.stylecards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.stylecard { display: grid; gap: 3px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; min-width: 0 }
.stylecard canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 8px; background: #111; display: block }
.stylecard b { font-size: 10.5px; letter-spacing: .04em; line-height: 1.2; margin-top: 3px }
.stylecard span { font-size: 10.5px; color: var(--muted); line-height: 1.25 }
.stylecard[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset }
.stylepanel { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg) }
.stylepanel h3 { margin: 0 }
.ctl { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; min-height: 32px }
.ctl > span:first-child { color: var(--fg-2) }
.ctl input[type=range] { width: 100%; accent-color: var(--accent) }
.ctl input[type=color] { width: 40px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none }
.ctl input[type=color]:disabled { opacity: .35 }
.ctl select { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px }
.ctl output { font: 12px var(--mono); color: var(--muted); min-width: 44px; text-align: right }
.ctl .seg button { font-size: 12px }
@media (max-width: 420px) { .stylecards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* ---------- giriş (uzaktan erişim) */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 16px max(16px, env(safe-area-inset-left)) }
.login-card { width: min(380px, 100%); display: grid; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px }
.login-card form { display: grid; gap: 14px }
.login-card input { font-size: 17px }
@media (max-width: 640px) { .top .status { display: none } .top { gap: 10px } .steps a { padding: 6px 8px } .steps .n { display: none } }

/* ---------- telefonda tam uygulama */
.rec.mobile { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; height: auto }
.rec.mobile > #rec { height: calc(100dvh - 56px) }
.rec.mobile .stage { border-radius: 0; border: 0; aspect-ratio: auto; width: 100%; height: 100% }
.rec.mobile > .panel { margin: 12px 16px 24px }
@media (max-width: 640px) {
  .logo { font-size: 0; gap: 0 } .crumb { display: none }
  .top .steps { overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 70px) } .top .steps::-webkit-scrollbar { display: none }
  .steps a { white-space: nowrap }
}
/* Telefonda kamera görüntüsü kırpılmaz: kaydedilen kare olduğu gibi görünür (cover ekranı doldurmak için yakınlaştırıyordu) */
.rec.mobile .stage video, .rec.phone .stage video { object-fit: contain; background: #000 }

.screen .viscv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }

/* ---------- görseller (Faz 3) */
.blk.o { background: #6a4a8a; top: 3px; bottom: 3px }
.btn.xs { height: 24px; padding: 0 8px; font-size: 12px; border-radius: 7px }
.seg.xs { padding: 2px } .seg.xs button { padding: 3px 8px; font-size: 12px }
.aibox { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface) }
.aibox textarea { resize: vertical; min-height: 52px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px }
.chips { gap: 6px; flex-wrap: wrap }
.chip { border: 1px solid var(--line-2); background: transparent; color: var(--fg-2); border-radius: 99px; padding: 3px 10px; font-size: 12px; cursor: pointer }
.chip:hover:not(:disabled) { color: var(--fg); border-color: var(--fg-2) }
.ovl { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg) }
.ovthumb { width: 52px; height: 52px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--raise); cursor: pointer }
.ovthumb img, .athumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.ovbody { display: grid; gap: 6px; min-width: 0 }
.ovbody b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.assetgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px }
.assetgrid .asset { display: grid; gap: 3px; padding: 6px; align-items: start; justify-items: start }
.assetgrid .asset span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.athumb { position: relative; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--raise); cursor: pointer }
.athumb i { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: 11px; background: #000a; padding: 1px 6px; border-radius: 99px }
.athumb:disabled { cursor: default; opacity: .6 }
.asset .mini { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--raise); flex: none }
