/* Jimbo Social Pro Shot */
.pro-comp { margin: .35rem 0 .2rem; }
.pro-comp__b { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 12px; min-height: 44px;
  border: 1px solid var(--js-line); background: linear-gradient(120deg, color-mix(in oklab, #f5a623 13%, var(--js-card)), var(--js-card) 62%); }
.pro-comp__b:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pro-comp__b > .js-i { width: 22px; height: 22px; color: #d98a14; }
.pro-comp__b b { display: block; font-size: .95rem; }
.pro-comp__b small { display: block; color: var(--js-mut); font-size: .8rem; line-height: 1.35; }
.pro-comp__b em { font-style: normal; font-weight: 800; font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; background: var(--amber); color: #111; white-space: nowrap; }
.js-thumb .pro-badge { position: absolute; left: 4px; top: 4px; display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px 2px 4px; border-radius: 999px; background: rgb(17 17 17 / .78); color: #ffd58a; font: 800 .66rem/1.3 var(--font-body); pointer-events: none; }
.js-thumb .pro-badge .js-i { width: 11px; height: 11px; }

html.pro-open { overflow: hidden; }
.pro { --p-bg: #0c0d0f; --p-s1: #17181b; --p-s2: #222327; --p-tx: #f4f4f5; --p-mu: #a1a1aa; --p-am: #f5a623; --p-line: rgba(255,255,255,.09);
  position: fixed; inset: 0; z-index: 137; background: var(--p-bg); color: var(--p-tx); font-family: var(--font-body, system-ui, sans-serif);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto auto; padding-bottom: env(safe-area-inset-bottom); }
.pro .js-i { width: 18px; height: 18px; flex: none; }
.pro-h { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .5rem; padding: calc(.5rem + env(safe-area-inset-top)) .75rem .5rem; border-bottom: 1px solid var(--p-line); }
.pro-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--p-tx); display: grid; place-items: center; cursor: pointer; }
.pro-x:hover { background: var(--p-s2); }
.pro-t { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-size: 1.02rem; letter-spacing: .01em; }
.pro-t .js-i { color: var(--p-am); }
.pro-done { min-height: 40px; padding: 0 1.15rem; border-radius: 999px; border: 0; background: var(--p-am); color: #111; font: 800 .92rem/1 var(--font-body); cursor: pointer; }
.pro-done:disabled { opacity: .6; cursor: progress; }
.pro button:focus-visible, .pro input:focus-visible { outline: 2px solid var(--p-am); outline-offset: 2px; }

.pro-stage { position: relative; display: grid; place-items: center; padding: .9rem; min-height: 0; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #1d1f24, var(--p-bg) 70%); }
.pro-frame { position: relative; width: 240px; height: 240px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgb(0 0 0 / .55), 0 0 0 1px var(--p-line); background: #111; }
.pro-cv, .pro-orig { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.pro-orig { background: #111; }
.pro-frame.is-brush .pro-cv { cursor: crosshair; touch-action: none; }
.pro-chip:disabled { opacity: .4; cursor: default; }
.pro-busy { position: absolute; inset: 0; display: grid; place-content: center; gap: .7rem; padding: 1.2rem; text-align: center; background: rgb(8 9 11 / .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pro-busy p { margin: 0; font-size: .86rem; line-height: 1.45; color: #e4e4e7; max-width: 30ch; }
.pro-busy .ho-prog { width: min(220px, 60vw); margin: 0 auto; height: 5px; border-radius: 999px; background: rgb(255 255 255 / .14); overflow: hidden; }
.pro-busy .ho-prog i { display: block; height: 100%; background: var(--p-am); transition: width .25s; }
.pro-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0 46%, rgb(245 166 35 / .22) 50%, transparent 54%); background-size: 100% 220%; animation: proScan 1.8s linear infinite; }
@keyframes proScan { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.pro-cmp { position: absolute; right: 1.3rem; bottom: 1.3rem; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 0;
  background: rgb(12 13 15 / .72); color: #fff; font: 700 .8rem/1 var(--font-body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); touch-action: none; user-select: none; -webkit-user-select: none; }
.pro-cmp.is-on { background: var(--p-am); color: #111; }

.pro-strip { display: flex; gap: .5rem; justify-content: center; padding: .55rem .75rem 0; }
.pro-strip button { position: relative; width: 52px; height: 52px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--p-s1); cursor: pointer; }
.pro-strip button[aria-selected="true"] { border-color: var(--p-am); }
.pro-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pro-dot { position: absolute; right: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--p-am); box-shadow: 0 0 0 2px #111; }

.pro-tabs { display: flex; gap: .25rem; justify-content: flex-start; padding: .6rem .75rem .2rem; overflow-x: auto; scrollbar-width: none; }
.pro-tabs::-webkit-scrollbar { display: none; }
.pro-tabs > :first-child { margin-left: auto; } .pro-tabs > :last-child { margin-right: auto; }
.pro-tabs button { flex: none; min-height: 38px; padding: 0 .85rem; border-radius: 999px; border: 0; background: transparent; color: var(--p-mu); font: 700 .86rem/1 var(--font-body); cursor: pointer; white-space: nowrap; }
.pro-tabs button[aria-selected="true"] { background: var(--p-s2); color: var(--p-tx); box-shadow: inset 0 0 0 1px var(--p-line); }

.pro-panel { padding: .55rem .9rem .3rem; max-height: 34vh; overflow-y: auto; display: grid; gap: .65rem; align-content: start; width: 100%; max-width: 760px; margin: 0 auto; box-sizing: border-box; }
.pro-looks { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: .6rem; overflow-x: auto; padding-bottom: .3rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pro-look { scroll-snap-align: start; display: grid; gap: .25rem; justify-items: start; text-align: left; padding: 0; border: 0; background: none; color: var(--p-tx); cursor: pointer; }
.pro-look:disabled { opacity: .35; cursor: not-allowed; }
.pro-look__i { width: 104px; height: 104px; border-radius: 12px; background: var(--p-s2); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--p-line); object-fit: cover; }
.pro-look__i--o .js-i { width: 26px; height: 26px; color: var(--p-mu); }
.pro-look[aria-pressed="true"] .pro-look__i { box-shadow: 0 0 0 2px var(--p-am), 0 8px 20px rgb(245 166 35 / .18); }
.pro-look b { font-size: .84rem; line-height: 1.2; }
.pro-look small { font-size: .72rem; line-height: 1.3; color: var(--p-mu); }
.pro-all { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--p-line); background: var(--p-s1); color: var(--p-tx); font: 700 .84rem/1 var(--font-body); cursor: pointer; }
.pro-chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.pro-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .85rem; border-radius: 999px; border: 1px solid var(--p-line); background: var(--p-s1); color: var(--p-tx); font: 700 .84rem/1 var(--font-body); cursor: pointer; }
.pro-chip[aria-pressed="true"] { background: color-mix(in oklab, var(--p-am) 22%, var(--p-s1)); border-color: var(--p-am); }
.pro-chip .js-i { color: var(--p-am); }
.pro-sw { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.pro-sw--orig { background: conic-gradient(#6b8f71, #c8b48a, #7c93b5, #6b8f71); }
.pro-sw--spot { background: radial-gradient(circle at 50% 45%, #f6e7cf 0 32%, #222 60%); }
.pro-sw--blur { background: radial-gradient(circle, #9ab 0, #567 70%); filter: blur(1px); }
.pro-sw--white { background: #fff; }
.pro-sw--gray { background: linear-gradient(#d3d7dd, #eef0f3 60%, #c9cdd3); }
.pro-sw--char { background: linear-gradient(#1a1d22, #2c3038 60%, #0c0d10); }
.pro-sw--navy { background: linear-gradient(#0b1730, #16294d 60%, #060c19); }
.pro-sw--amber { background: linear-gradient(#f3b14a, #ffd690 60%, #d98a14); }
.pro-sw--dusk { background: linear-gradient(#26304f, #a35f6b 45%, #f2b26f); }
.pro-sw--clear { background: repeating-conic-gradient(#d9dce1 0 25%, #f4f5f7 0 50%) 0 0 / 8px 8px; }
.pro-sl { display: grid; grid-template-columns: 8.5rem 1fr 3rem; align-items: center; gap: .6rem; font-size: .84rem; color: var(--p-mu); }
.pro-sl input[type="range"] { width: 100%; accent-color: var(--p-am); min-height: 32px; }
.pro-sl input[type="color"] { width: 54px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; }
.pro-sl output { text-align: right; font-variant-numeric: tabular-nums; color: var(--p-tx); font-size: .82rem; }
.pro-note { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--p-mu); }
.pro-fine { margin: 0; padding: .35rem 1rem .7rem; text-align: center; font-size: .72rem; line-height: 1.4; color: #8b8b94; }
@media (max-width: 520px) {
  .pro-sl { grid-template-columns: 6.6rem 1fr 2.6rem; }
  .pro-panel { max-height: 38vh; }
  .pro-cmp span { display: none; }
  .pro-cmp { padding: 0 .7rem; }
}
@media (prefers-reduced-motion: reduce) { .pro-scan { animation: none; } }
