/* CineGen studio theme, round 2. Graphite ground, REC red as a signal, one bright object: the Generate button. */

@font-face { font-family: "Hanken"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Clash"; src: url("../fonts/clash.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }

:root {
	--bg: #0E0E10;
	--panel: #151517;
	--raised: #1C1C20;
	--raised-2: #232328;
	--raised-3: #2A2A30;
	--well: #111113;
	--line: rgba(255, 255, 255, .07);
	--line-2: rgba(255, 255, 255, .12);
	--line-3: #6E6E76;
	--fg: #EDEDEF;
	--fg-2: #ABABB2;
	--fg-3: #9A9AA3;
	--paper: #F2F1EC;
	--ink: #111112;
	--rec: #E5242F;
	--rec-2: #C81D28;
	--ok: #5FD38A;
	--ice: #8FD3FF;
	--ui: "Hanken", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--disp: "Clash", "Hanken", ui-sans-serif, system-ui, sans-serif;
	--r-s: 7px;
	--r: 10px;
	--r-l: 14px;
	--side: 236px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--fg);
	font: 400 14px/1.45 var(--ui); font-feature-settings: "ss01";
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .faq a, .pop__note a, .auth a, .check a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 2px; }
p a:hover, .prose a:hover { text-decoration-color: var(--fg); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
::selection { background: rgba(143, 211, 255, .3); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); flex: none; }
.ic { flex: none; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.admin-bar .shell { min-height: calc(100vh - 32px); }
.main {
	margin: 8px 8px 8px 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l);
	min-height: calc(100vh - 16px); min-width: 0; overflow: clip; position: relative;
}
.main:focus { outline: none; }
.mbar, .tabbar, .scrim, .side .side__close { display: none; }

/* ---------- Sidebar ---------- */
.side {
	position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px;
	padding: 10px 8px 10px 10px; font-size: 13px; overflow: hidden auto; scrollbar-width: none;
}
.admin-bar .side { top: 32px; height: calc(100vh - 32px); }
.side::-webkit-scrollbar { display: none; }
.side__top { display: flex; align-items: center; gap: 6px; }
.ws { position: relative; flex: 1; min-width: 0; }
.ws__btn {
	list-style: none; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 5px;
	border-radius: 9px; background: var(--raised); border: 1px solid var(--line); cursor: pointer; user-select: none;
}
.ws__btn::-webkit-details-marker { display: none; }
.ws__btn:hover { background: var(--raised-2); }
.ws__mark { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #26262B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); flex: none; }
.ws__name { flex: 1; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.005em; }
.ws__name { flex: 0 1 auto; }
.ws__sub { flex: 1; font-size: 11.5px; color: var(--fg-3); font-weight: 500; }
.ws__ud { color: var(--fg-3); }
.is-collapsed .ws__sub { display: none; }
.ws__menu {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 5px;
	background: var(--raised); border: 1px solid var(--line-2); border-radius: 11px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.ws__menu a { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 7px; color: var(--fg-2); }
.ws__menu a:hover, .ws__menu a:focus-visible { background: var(--raised-3); color: var(--fg); }
.sq {
	width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--fg-2); flex: none;
	transition: background .15s, color .15s;
}
.sq:hover { background: var(--raised-2); color: var(--fg); }
.side__collapse { border: 1px solid var(--line); background: var(--raised); width: 32px; height: 32px; }
.sq--xs { width: 22px; height: 22px; border-radius: 6px; }
.sq--glass { background: rgba(10, 10, 12, .55); color: var(--fg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sq--glass:hover { background: rgba(10, 10, 12, .8); }

.side__nav { display: flex; flex-direction: column; gap: 2px; }
.nrow, .frow, .prow, .frow__link {
	display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px 0 6px; border-radius: 8px;
	color: var(--fg-2); font-weight: 500; white-space: nowrap; min-width: 0; width: 100%; text-align: left;
	transition: background .12s, color .12s;
}
.nrow:hover, .frow:hover, .prow:hover, .frow__link:hover { background: rgba(255, 255, 255, .045); color: var(--fg); }
.nrow[aria-current="page"] { background: var(--raised-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.nrow__t, .frow__t, .prow__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Glossy nav tiles: each section its own colour. */
.tile {
	width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex: none; position: relative; overflow: hidden;
	background: linear-gradient(180deg, var(--t1), var(--t2));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .45);
}
.tile::after { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.tile svg { position: relative; z-index: 1; filter: drop-shadow(0 .5px .5px rgba(0, 0, 0, .3)); }
.tile--studio { --t1: #9A9AA3; --t2: #4B4B53; }
.tile--shots { --t1: #3DDBC8; --t2: #0C8278; }
.tile--cast { --t1: #74A0FF; --t2: #2A4FD6; }
.tile--star { --t1: #FF86B6; --t2: #D22F6C; }
.tile--reel { --t1: #95E070; --t2: #2C9747; }
.tile--graphite { --t1: #66666E; --t2: #34343A; }
.tile--rec { --t1: #FF5A61; --t2: #C2141E; }

.side__projects { display: flex; flex-direction: column; gap: 1px; min-height: 0; }
.side__head { display: flex; align-items: center; gap: 2px; padding: 0 2px 4px 8px; }
.side__head h2 { flex: 1; font-size: 12px; font-weight: 500; color: var(--fg-3); letter-spacing: 0; }
.psearch input { width: 100%; height: 28px; margin: 0 0 4px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-3); background: var(--well); font-size: 12.5px; }
.prow { height: 30px; }
.prow__th { width: 20px; height: 20px; border-radius: 5px; flex: none; overflow: hidden; background: var(--raised-3); display: grid; place-items: center; }
.prow__th img { width: 100%; height: 100%; object-fit: cover; }
.prow__th--new { background: transparent; border: 1px dashed rgba(255, 255, 255, .25); color: var(--fg-2); }
.prow--new { color: var(--fg-3); }
.prow[aria-pressed="true"] { background: var(--raised-2); color: var(--fg); }
.prow__n { font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.plist { display: flex; flex-direction: column; gap: 1px; max-height: 30vh; overflow: auto; scrollbar-width: thin; }
.plist__empty, .side__note { padding: 4px 8px 4px 36px; color: var(--fg-3); font-size: 12px; }

.side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.frow { height: 34px; }
.frow__ch { color: var(--fg-3); }
.frow--top { background: rgba(229, 36, 47, .08); color: var(--fg); }
.frow--top:hover { background: rgba(229, 36, 47, .14); }
.frow--acct { padding: 0; gap: 2px; }
.frow--acct:hover { background: none; }
.frow__link { height: 34px; flex: 1; }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, #4b4b53, #2c2c32); font-size: 11px; font-weight: 700; color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.av--guest { color: var(--fg-2); }
.badge { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.badge--rec { background: var(--rec-2); color: #fff; }
.badge--bal { background: var(--raised-3); color: var(--fg-2); font-weight: 500; }
.badge--bal b { color: var(--fg); font-weight: 700; }
.badge--line { border: 1px solid var(--line-2); color: var(--fg-2); }

/* Collapsed sidebar */
.shell.is-collapsed { --side: 60px; }
.is-collapsed .side { padding-right: 6px; }
.is-collapsed .ws__name, .is-collapsed .ws__ud, .is-collapsed .nrow__t, .is-collapsed .frow__t, .is-collapsed .side__projects,
.is-collapsed .badge, .is-collapsed .frow__ch, .is-collapsed .frow--acct .sq { display: none; }
.is-collapsed .side__top { flex-direction: column; }
.is-collapsed .ws__btn { padding: 0 4px; justify-content: center; }
.is-collapsed .nrow, .is-collapsed .frow, .is-collapsed .frow__link { justify-content: center; padding: 0; }

/* ---------- Buttons and fields ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 9px;
	font-size: 13px; font-weight: 600; white-space: nowrap; letter-spacing: -.005em; border: 1px solid transparent;
	transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--paper, .btn--ice { background: var(--paper); color: var(--ink); }
.btn--paper:hover, .btn--ice:hover { background: #fff; }
.btn--line, .btn--ghost { border-color: var(--line-3); color: var(--fg); background: transparent; }
.btn--line:hover, .btn--ghost:hover { background: var(--raised-2); border-color: #7a7a83; }
.btn--rec { background: var(--rec-2); color: #fff; }
.btn--rec:hover { background: #B0161F; }
.btn--s { height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn--xs { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn--l { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn.is-off, .btn[disabled] { opacity: .5; pointer-events: none; }
.iconbtn { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--fg-2); }
.iconbtn:hover { background: var(--raised-3); color: var(--fg); }
.iconbtn--s { width: 26px; height: 26px; }
.iconbtn[aria-pressed="true"] { color: #FFD15C; }
.iconbtn[aria-pressed="true"] svg { fill: currentColor; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--fg-2); }
.field > span { font-weight: 500; }
.field input, .field select, .field textarea, .wc input.input-text, .wc select, .wc textarea,
.wc-block-components-text-input input, .wc-block-components-textarea, .cform textarea {
	height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-3); background: var(--well); color: var(--fg); font-size: 14px; width: 100%;
	transition: border-color .15s;
}
.field textarea, .cform textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #7a7a83; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); outline: none; box-shadow: 0 0 0 3px rgba(143, 211, 255, .18); }
.field input[type="file"] { padding: 7px 10px; font-size: 12.5px; }
.field--inline { flex-direction: row; align-items: center; gap: 8px; }
.field--inline select { height: 32px; width: auto; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--fg-2); line-height: 1.45; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--paper); flex: none; }
.check--req { padding: 10px 12px; border-radius: 9px; background: var(--well); border: 1px solid var(--line-2); }

/* ---------- Studio ---------- */
.studio { padding: 40px 28px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage { width: 100%; display: flex; justify-content: center; position: relative; }

/* Title-card carousel */
.reel { position: relative; width: min(600px, 100%); height: 176px; margin: 0 auto; }
.tc {
	--w: 168px; --h: 98px;
	position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h); margin: 0; border-radius: 8px; overflow: hidden;
	background: #000; container-type: inline-size; transform: translate(-50%, -50%) translateX(var(--x, 0)) scale(var(--s, 1));
	box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
	transition: transform .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .5s, filter .5s;
	z-index: 1; cursor: pointer;
}
.tc img, .tc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc video { opacity: 0; transition: opacity .6s; }
.tc.is-playing video { opacity: 1; }
.tc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .62)); pointer-events: none; }
.tc[data-pos="l"] { --x: -186px; filter: brightness(.62) saturate(.85); }
.tc[data-pos="r"] { --x: 186px; filter: brightness(.62) saturate(.85); }
.tc[data-pos="h"] { --s: .7; opacity: 0; pointer-events: none; }
.tc[data-pos="c"] {
	--w: 264px; --h: 150px; z-index: 3; border-radius: 10px;
	box-shadow: 0 0 0 2px rgba(242, 241, 236, .82), 0 22px 50px rgba(0, 0, 0, .7);
	transform: translate(-50%, -52%);
}
.tc__cap { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 6cqw 6cqw; text-align: center; color: #fff; pointer-events: none; }
.tc__k { font: 600 3.4cqw/1.2 var(--ui); letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-bottom: 1.6cqw; }
.tc__t { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 12.5cqw; line-height: .86; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.tc__cr { font: 500 2.9cqw/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 2.2cqw; }
.tc--wide .tc__cap { justify-content: center; }
.tc--wide .tc__t { font-weight: 300; text-transform: lowercase; letter-spacing: .32em; font-size: 9cqw; margin-right: -.32em; }
.tc--split .tc__cap { align-items: flex-start; text-align: left; justify-content: flex-end; }
.tc--split .tc__t { font-weight: 600; font-size: 11cqw; line-height: .9; max-width: 70%; padding-top: 2cqw; border-top: 1px solid rgba(255, 255, 255, .7); }
.tc--outline .tc__t { color: transparent; -webkit-text-stroke: max(1px, .35cqw) #fff; font-size: 14cqw; letter-spacing: 0; text-shadow: none; }
.reel__dots { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); display: flex; gap: 5px; z-index: 4; }
.reel__dots button { width: 16px; height: 16px; display: grid; place-items: center; }
.reel__dots button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .2s, width .2s; }
.reel__dots button[aria-selected="true"]::before { background: var(--fg); width: 12px; border-radius: 3px; }

.studio__title { margin: 18px 0 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheen {
	font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 38px; line-height: 1; letter-spacing: -.012em;
	background: linear-gradient(180deg, #FFFFFF 0%, #E9E9EB 38%, #A3A3A9 62%, #D4D4D8 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .8)) drop-shadow(0 8px 22px rgba(0, 0, 0, .5));
}
.preview { font-size: 12px; color: var(--fg-2); max-width: 46ch; }
.preview .dot { width: 6px; height: 6px; margin-right: 6px; vertical-align: 1px; }

/* ---------- Dock ---------- */
.dock { position: relative; width: min(820px, 100%); margin: 22px auto 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px; align-items: end; text-align: left; }
.dock.is-shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.dock__mode { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--raised); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 0; }
.dock__mode label { position: relative; }
.dock__mode input { position: absolute; opacity: 0; pointer-events: none; }
.dock__mode span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 46px; border-radius: 9px; color: var(--fg-3); cursor: pointer; transition: background .15s, color .15s; }
.dock__mode b { font-size: 10.5px; font-weight: 600; }
.dock__mode span:hover { color: var(--fg); }
.dock__mode input:checked + span { background: var(--raised-3); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .4); }
.dock__mode input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 1px; }

.dock__main { background: var(--raised); border: 1px solid var(--line); border-radius: 15px; padding: 5px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); min-width: 0; }
.dock__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.stile {
	display: flex; align-items: center; gap: 8px; height: 44px; padding: 4px 8px 4px 4px; border-radius: 10px; min-width: 0;
	background: var(--raised-2); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: background .15s, box-shadow .15s;
}
.stile:hover, .stile[aria-expanded="true"] { background: var(--raised-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.stile.is-set { box-shadow: inset 0 0 0 1px rgba(242, 241, 236, .28); }
.stile__th { width: 36px; height: 36px; border-radius: 7px; flex: none; overflow: hidden; background: #2E2E34; display: grid; place-items: center; color: var(--fg-2); position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.stile__th img { width: 100%; height: 100%; object-fit: cover; }
.stile__th img.is-auto { opacity: .7; }
.mosaic--th { opacity: .8; gap: 1px; }
.stile__th .sph { position: absolute; inset: 6px; }
.stile__th .sw { position: absolute; inset: 0; }
.stile__th--refs { border: 1px dashed rgba(255, 255, 255, .22); background: transparent; }
.stile__tx { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.stile__k { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stile__v { font-size: 12.5px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

.dock__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 6px 1px 1px 6px; }
.dock__left { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dock__prompt { position: relative; }
.dock__prompt textarea {
	display: block; width: 100%; min-height: 36px; max-height: 200px; resize: none; border: 0; background: transparent; padding: 6px 54px 4px 2px;
	font-size: 14px; line-height: 1.45; color: var(--fg);
}
.dock__prompt textarea::placeholder { color: var(--fg-3); }
.dock__prompt textarea:focus { outline: none; }
.dock__prompt:focus-within { box-shadow: 0 1px 0 rgba(143, 211, 255, .45); }
.dock__count { position: absolute; right: 2px; top: 8px; font-size: 10.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s; }
.dock__prompt:focus-within .dock__count, .dock__count.is-near { opacity: 1; }
.dock__count.is-near { color: #FFB4B8; }
.dock__ctrls { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pill {
	display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 9px; border-radius: 7px; background: var(--raised-3);
	font-size: 12px; font-weight: 600; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); transition: background .12s;
}
.pill .ic { color: var(--fg-2); }
.pill:hover, .pill[aria-expanded="true"] { background: #34343B; }
.pill--i { width: 27px; padding: 0; justify-content: center; }
.pill__ch { margin-left: 1px; color: var(--fg-3) !important; }
.pill[aria-pressed="true"] .ic { color: var(--fg); }
.eglyph { width: 15px; height: 15px; border-radius: 4px; display: grid; place-items: center; flex: none; }
.eglyph svg { width: 100%; height: 100%; }
.arbox { width: 13px; height: 9px; border: 1.6px solid var(--fg-2); border-radius: 2px; flex: none; }
.step { display: inline-flex; align-items: center; height: 27px; border-radius: 7px; background: var(--raised-3); padding: 0 2px; }
.step button { width: 22px; height: 23px; display: grid; place-items: center; border-radius: 5px; color: var(--fg-2); }
.step button:hover:not(:disabled) { background: #3A3A42; color: var(--fg); }
.step button:disabled { opacity: .35; cursor: default; }
.step output { min-width: 26px; text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step output b { color: var(--fg); }
.step output span { color: var(--fg-3); font-weight: 500; }

/* The one loud object: Generate. */
.gen {
	width: 96px; min-height: 74px; align-self: stretch; border-radius: 12px; background: var(--paper); color: var(--ink);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14), 0 1px 0 rgba(255, 255, 255, .06); transition: background .15s, transform .1s;
}
.gen:hover { background: #FFFFFF; }
.gen:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .14); }
.gen__txt { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--ui); text-transform: uppercase; letter-spacing: .06em; }
.gen__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 2px rgba(229, 36, 47, .18); }
.gen__cost { font-size: 11px; font-weight: 500; color: #4A4A50; font-variant-numeric: tabular-nums; }
.gen__cost b { font-weight: 700; color: var(--ink); }
.gen[aria-busy="true"] .gen__dot { animation: blink 1s steps(2) infinite; }
.gen:disabled { opacity: .55; cursor: not-allowed; }
@keyframes blink { 50% { opacity: .15; } }

.dock__msg { grid-column: 2; min-height: 18px; padding: 6px 4px 0; font-size: 12.5px; color: var(--fg-2); }
.dock__msg:empty { min-height: 0; padding: 0; }
.dock__msg.is-err { color: #FFB4B8; }

/* @ mentions */
.mention {
	position: absolute; left: 0; top: calc(100% + 4px); z-index: 40; width: 280px; padding: 5px; background: var(--raised);
	border: 1px solid var(--line-2); border-radius: 11px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.mention li { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.mention li[aria-selected="true"], .mention li:hover { background: var(--raised-3); }
.mention img, .mention__ph { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; background: var(--raised-3); }
.mention small { margin-left: auto; color: var(--fg-3); font-size: 11px; text-transform: capitalize; }
.mention .mention__empty { height: auto; padding: 8px; color: var(--fg-2); font-size: 12.5px; display: block; cursor: default; }

/* Small popovers (resolution, aspect, duration, references, engine) */
.pop {
	position: absolute; z-index: 45; min-width: 210px; max-width: min(380px, 92vw); padding: 5px; background: rgba(30, 30, 34, .9); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
	border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .65); text-align: left;
}
.pop__h { padding: 7px 9px 6px; }
.pop__h h3 { font-size: 12px; font-weight: 600; color: var(--fg); }
.pop__h p { font-size: 11.5px; color: var(--fg-3); margin-top: 1px; }
.pop__note { padding: 8px 9px; font-size: 12px; color: var(--fg-2); }
.pop__label { display: block; padding: 8px 9px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--fg-3); font-weight: 600; }
.opts { display: flex; flex-direction: column; gap: 1px; }
.opts--tight { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 2px 4px 6px; }
.opts--tight .opt { width: auto; min-width: 54px; justify-content: center; background: var(--raised-2); }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 32px; padding: 5px 9px; border-radius: 7px; font-size: 12.5px; text-align: left; color: var(--fg); }
.opt:hover, .opt:focus-visible { background: var(--raised-3); }
.opt[aria-pressed="true"] { background: var(--raised-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.opt > span { flex: 1; display: flex; flex-direction: column; }
.opt small { color: var(--fg-3); font-size: 11px; }
.opt__price { flex: none !important; font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.opt__ar { border: 1.6px solid var(--fg-2); border-radius: 2px; flex: none; }
.opt__ck { color: var(--fg); margin-left: auto; }
.refs { display: grid; grid-template-columns: repeat(4, 64px); gap: 6px; padding: 4px 9px 8px; }
.ref { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--raised-3); }
.ref img { width: 100%; height: 100%; object-fit: cover; }
.ref--add { display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, .25); background: transparent; color: var(--fg-2); }
.pop .check { padding: 4px 9px 6px; font-size: 12px; }

/* Engine menu */
.pop--engine { width: 360px; padding: 0; overflow: hidden; }
.em__search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--fg-3); }
.em__search input { flex: 1; border: 0; background: transparent; height: 100%; font-size: 13px; color: var(--fg); }
.em__search input:focus { outline: none; }
.em__list { max-height: 380px; overflow: auto; padding: 4px 5px 6px; }
.em__g { display: flex; align-items: center; gap: 6px; padding: 9px 8px 5px; font-size: 11px; color: var(--fg-3); font-weight: 600; }
.em__row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px; border-radius: 9px; text-align: left; }
.em__row:hover, .em__row:focus-visible { background: var(--raised-3); }
.em__row[aria-pressed="true"] { background: var(--raised-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.em__gl { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .4); }
.em__gl svg { width: 20px; height: 20px; }
.em__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.em__nm { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg); }
.em__ds { font-size: 11.5px; color: var(--fg-3); }
.em__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.chipx { display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, .06); color: var(--fg-2); font-size: 10.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.em__ck { color: var(--fg); flex: none; }
.em__none { padding: 14px; font-size: 12.5px; color: var(--fg-3); }
.eg--dailies { background: linear-gradient(180deg, #4FD3C4, #13857B); }
.eg--feature { background: linear-gradient(180deg, #7FA6FF, #2D50D4); }
.eg--master { background: linear-gradient(180deg, #F3F2EE, #A9A8A2); }
.eg--master svg { fill: #1A1A1D; }

/* ---------- Picker modal (Camera, Film setup, Palette, Lighting) ---------- */
.pick { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; text-align: left; }
.pick__scrim { position: absolute; inset: 0; background: rgba(6, 6, 8, .68); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.pick__box {
	position: relative; width: min(780px, 100%); max-height: min(92vh, 620px); display: flex; flex-direction: column;
	background: #19191C; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 40px 120px rgba(0, 0, 0, .75); overflow: hidden;
	animation: pickIn .22s var(--ease);
}
.pick__box:focus { outline: none; }
@keyframes pickIn { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.pick__head { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }
.pick__head h2 { flex: 1; font-size: 14px; font-weight: 600; }
.pick__reset { height: 26px; padding: 0 10px; border-radius: 7px; background: var(--raised-3); font-size: 12px; font-weight: 600; color: var(--fg); }
.pick__reset:hover { background: #3A3A42; }
.pick__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 0; flex: 1; }
.pick__body--grid { display: block; overflow: auto; padding: 14px 16px 18px; }
.pnav { padding: 10px 8px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.pnav button { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 9px; border-radius: 8px; color: var(--fg-2); font-size: 13px; font-weight: 500; text-align: left; }
.pnav button:hover { background: rgba(255, 255, 255, .045); color: var(--fg); }
.pnav button[aria-selected="true"] { background: var(--raised-3); color: var(--fg); }
.pnav__v { margin-left: auto; font-size: 11px; color: var(--fg-3); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wheels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
.wcol { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); }
.wcol:first-child { border-left: 0; }
.wcol__h { padding: 12px 0 2px; text-align: center; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); }
.wheel {
	--item: 104px; position: relative; height: calc(var(--item) * 3 + 8px); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain;
	padding: calc(var(--item) + 4px) 0; display: flex; flex-direction: column; align-items: center; outline: none;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%);
}
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { box-shadow: inset 0 0 0 2px var(--ice); }
.wi { flex: none; height: var(--item); width: 100%; display: grid; place-items: center; scroll-snap-align: center; }
.wt {
	position: relative; width: 150px; height: 92px; border-radius: 22px; overflow: hidden; background: #222226; display: block;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: opacity .2s, transform .2s, box-shadow .2s; opacity: .42; transform: scale(.92);
}
.wt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7)); }
.wt b { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; text-align: center; font-size: 11.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wi[aria-selected="true"] .wt, .wt.is-on { opacity: 1; transform: none; box-shadow: 0 0 0 2px #19191C, 0 0 0 4px var(--paper), 0 12px 30px rgba(0, 0, 0, .5); }
.wi:hover .wt { opacity: .8; }
.wi[aria-selected="true"]:hover .wt { opacity: 1; }
.wt--auto { background: radial-gradient(120% 90% at 50% 0%, #34343B, #1E1E22); display: grid; place-items: center; }
.wt--auto::after { display: none; }
.wt--auto .ic { color: var(--fg-2); margin-top: -12px; }
.wt--focal { background: radial-gradient(130% 100% at 50% 100%, #2B2B31, #1B1B1F); }
.wt--focal::after, .wt--move::after { background: none; }
.fov { position: absolute; left: 50%; bottom: 26px; width: 0; height: 0; }
.fov i { position: absolute; left: -60px; bottom: 0; width: 120px; height: 56px; transform-origin: 50% 100%;
	background: conic-gradient(from calc(var(--fov) / -2) at 50% 100%, rgba(242, 241, 236, .55) 0deg, rgba(242, 241, 236, .08) var(--fov), transparent var(--fov));
	-webkit-mask: radial-gradient(56px at 50% 100%, #000 98%, transparent 100%); mask: radial-gradient(56px at 50% 100%, #000 98%, transparent 100%); }
.fov::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }
.wt--focal b { display: none; }
.wt--focal .wt__n { position: absolute; top: 9px; right: 12px; font: 700 18px/1 var(--disp); color: var(--fg); letter-spacing: -.01em; }
.wt--focal .wt__n small { font-size: 10px; font-family: var(--ui); font-weight: 600; color: var(--fg-3); margin-left: 1px; }
.wt--move { background: radial-gradient(130% 100% at 50% 100%, #2B2B31, #1B1B1F); }
.wt--move svg { position: absolute; left: 50%; top: 6px; width: 120px; height: 66px; transform: translateX(-50%); overflow: visible; }
.mv__path { fill: none; stroke: rgba(242, 241, 236, .4); stroke-width: 1.6; stroke-dasharray: 3 4; }
.mv__cam { fill: var(--paper); }
.mv__sub { fill: var(--rec); }
.mv__grid { stroke: rgba(255, 255, 255, .06); }

.pgrid2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pgrid2--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gt { display: flex; flex-direction: column; gap: 7px; text-align: left; padding: 6px; border-radius: 14px; transition: background .15s; }
.gt:hover { background: rgba(255, 255, 255, .035); }
.gt__img { position: relative; aspect-ratio: 4 / 3; border-radius: 11px; overflow: hidden; background: #222226; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); display: block; }
.gt__img img { width: 100%; height: 100%; object-fit: cover; }
.gt[aria-pressed="true"] .gt__img { box-shadow: 0 0 0 2px #19191C, 0 0 0 4px var(--paper); }
.gt__t { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--fg); padding: 0 2px; }
.gt__t .ic { margin-left: auto; color: var(--fg); }
.gt__d { font-size: 11px; color: var(--fg-3); padding: 0 2px; margin-top: -4px; line-height: 1.35; }
.gt__img--move { background: radial-gradient(130% 100% at 50% 100%, #2B2B31, #1B1B1F); display: grid; place-items: center; }
.gt__img--move svg { width: 84%; height: auto; overflow: visible; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: .38; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(14, 14, 16, .8); font-size: 12px; font-weight: 600; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.gt--auto .gt__img { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, #34343B, #1E1E22); color: var(--fg-2); }
.pick__lead { font-size: 12.5px; color: var(--fg-2); margin: 0 6px 12px; }

/* Lighting spheres */
.sph { display: block; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2F2F2, #8A8A90 45%, #2A2A2E 80%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .7); }
.gt__img .sph { position: absolute; width: 52%; left: 24%; top: 12%; }
.gt__img--sph { background: radial-gradient(120% 70% at 50% 100%, #2a2a30, #141416); }
.gt__img--sph::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 13%; height: 7%; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(3px); }
.sph--golden-hour { background: radial-gradient(circle at 26% 34%, #FFF0C2 0, #F2A94A 22%, #9A4A17 52%, #2A1308 78%, #120804 100%); }
.sph--blue-hour { background: radial-gradient(circle at 35% 28%, #D8E5FF 0, #6F8FCF 24%, #2A3D6E 55%, #0E152B 85%); }
.sph--overcast { background: radial-gradient(circle at 50% 18%, #F4F4F4 0, #B9BBBE 30%, #6B6E72 70%, #3C3E42 100%); }
.sph--hard-sun { background: radial-gradient(circle at 26% 26%, #FFFFF6 0, #FFF4D6 14%, #E9C98E 24%, #5A3E22 46%, #0E0A06 56%); }
.sph--low-key { background: radial-gradient(circle at 18% 42%, #E2E2E2 0, #7A7A7A 14%, #1A1A1A 38%, #060606 70%); }
.sph--backlit { background: radial-gradient(circle at 50% 50%, #0F0F11 0, #121214 60%, #FFD9A0 67%, #6B4A24 71%, #121214 74%); }
.sph--practical { background: radial-gradient(circle at 76% 70%, #FFE2A6 0, #D48A35 22%, #5A3515 52%, #140C06 80%); }
.sph--moonlight { background: radial-gradient(circle at 70% 24%, #EEF5FF 0, #8BA2C6 20%, #2F405E 52%, #0A1020 82%); }
.sph--neon { background: radial-gradient(circle at 14% 52%, #FF3B86 0, rgba(255, 45, 122, .6) 22%, transparent 50%), radial-gradient(circle at 86% 46%, #3BE6FF 0, rgba(39, 224, 255, .55) 22%, transparent 50%), radial-gradient(circle at 50% 50%, #1D1030, #0B0614 80%); }
.sph--candle { background: radial-gradient(circle at 50% 88%, #FFE3A0 0, #E08A2C 18%, #6E3412 42%, #1E0C05 68%, #0A0402 100%); }

/* Palette swatch strips */
.sw { display: flex; width: 100%; height: 100%; }
.sw i { flex: 1; }
.gt__img--sw .sw { position: absolute; inset: 0; }
.gt__img--sw .sw i:first-child { flex: 1.6; }

/* ---------- Monitor (generation) ---------- */
.monitor { width: min(820px, 100%); margin: 0 auto; text-align: left; }
.monitor__bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 2px; font-size: 12px; }
.monitor__rec { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.monitor__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.monitor[data-state="running"] .monitor__rec i, .monitor[data-state="queued"] .monitor__rec i { background: var(--rec); animation: blink 1s steps(2) infinite; }
.monitor[data-state="done"] .monitor__rec i { background: var(--ok); }
.monitor[data-state="failed"] .monitor__rec i { background: var(--rec); }
.monitor__takes { display: flex; gap: 4px; margin-left: 6px; }
.monitor__takes button { height: 24px; padding: 0 9px; border-radius: 6px; background: var(--raised-2); font-size: 11.5px; font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.monitor__takes button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.monitor__tc { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--fg-2); letter-spacing: .04em; }
.monitor__glass { height: 330px; padding: 0; display: grid; place-items: center; background: #0A0A0B; border-radius: 12px; border: 1px solid var(--line); }
.frame { position: relative; overflow: hidden; border-radius: 4px; background: #000; }
.frame__media, .frame__media img, .frame__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame__guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.frame__guides path { stroke: rgba(255, 255, 255, .12); stroke-width: .25; fill: none; vector-effect: non-scaling-stroke; }
.monitor[data-state="done"] .frame__guides, .monitor[data-state="done"] .frame__cross { display: none; }
.frame__c { position: absolute; width: 14px; height: 14px; border-color: rgba(255, 255, 255, .55); border-style: solid; border-width: 0; pointer-events: none; }
.frame__c--tl { left: 8px; top: 8px; border-left-width: 1.5px; border-top-width: 1.5px; }
.frame__c--tr { right: 8px; top: 8px; border-right-width: 1.5px; border-top-width: 1.5px; }
.frame__c--bl { left: 8px; bottom: 8px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.frame__c--br { right: 8px; bottom: 8px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.frame__cross { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); pointer-events: none; }
.frame__cross::before, .frame__cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .4); }
.frame__cross::before { left: 7.5px; top: 0; width: 1px; height: 16px; }
.frame__cross::after { top: 7.5px; left: 0; height: 1px; width: 16px; }
.frame__meta { position: absolute; top: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.frame__meta--tl { left: 28px; }
.frame__meta--tr { right: 28px; }
.frame__demo { position: absolute; left: 12px; bottom: 12px; height: 20px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 5px; background: rgba(0, 0, 0, .6); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg); }
.frame__status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(300px, 80%); text-align: center; }
.monitor[data-state="done"] .frame__status { display: none; }
.frame__status p { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 3px; }
.frame__status small { font-size: 12px; font-weight: 400; color: var(--fg-2); }
.meter { height: 3px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--paper); transition: width .6s var(--ease); }
.monitor[data-state="failed"] .meter i { background: var(--rec); }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), radial-gradient(80% 60% at 50% 50%, #17171A, #050506); }
.monitor__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 0 0; }
.pill--act[aria-pressed="true"] .ic { color: #FFD15C; fill: #FFD15C; }
.monitor__ai { margin-left: auto; font-size: 11px; color: var(--fg-3); }
.studio.is-rolling .reel, .studio.is-rolling .studio__title { display: none; }
.studio.is-rolling .dock { margin-top: 14px; }

/* Shot strip */
.strip { width: min(820px, 100%); margin: 18px auto 0; text-align: left; }
.strip__head { display: flex; align-items: baseline; gap: 10px; padding: 0 2px 8px; }
.strip__head h2 { font-size: 13px; }
.strip__scope { font-size: 12px; color: var(--fg-3); }
.strip__all { margin-left: auto; font-size: 12px; color: var(--fg-2); }
.strip__all:hover { color: var(--fg); }
.strip__row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.shot { flex: none; width: 132px; }
.shot button { display: flex; flex-direction: column; gap: 5px; width: 100%; text-align: left; border-radius: 9px; }
.shot__img { position: relative; height: 74px; border-radius: 8px; overflow: hidden; background: var(--raised-2); box-shadow: inset 0 0 0 1px var(--line); }
.shot__img img, .shot__img video { width: 100%; height: 100%; object-fit: cover; }
.shot button[aria-current="true"] .shot__img { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3.5px var(--paper); }
.shot__st { position: absolute; left: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 5px; border-radius: 4px; background: rgba(0, 0, 0, .65); font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.shot__st i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.shot__st--running i, .shot__st--queued i { background: var(--rec); animation: blink 1s steps(2) infinite; }
.shot__st--failed i { background: var(--rec); }
.shot__p { font-size: 11.5px; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }

/* ---------- Landing blocks ---------- */
.block { padding: 56px 40px 8px; max-width: 1240px; margin: 0 auto; }
.block__head { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.block__head h2 { font-family: var(--disp); font-weight: 600; font-size: 26px; letter-spacing: -.012em; line-height: 1.1; }
.block__head h2 a { display: inline-flex; align-items: center; gap: 4px; }
.block__head h2 a .ic { color: var(--fg-3); }
.block__head p { font-size: 13.5px; color: var(--fg-2); max-width: 62ch; }
.block__head--row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; }
.block__head--row h2 { font-family: var(--ui); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.block__head--row p { text-align: right; font-size: 12.5px; color: var(--fg-3); max-width: 52ch; }
.projects { padding-top: 40px; }
.empty { padding: 28px; border-radius: var(--r-l); border: 1px dashed var(--line-2); color: var(--fg-2); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* My projects */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 16px; }
.ptile { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; }
.ptile__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: #1F1F23; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; }
.ptile:hover .ptile__img { box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 24px rgba(0, 0, 0, .4); }
.ptile[aria-pressed="true"] .ptile__img { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3.5px var(--paper); }
.ptile--new .ptile__img { display: grid; place-items: center; background: #1D1D21; }
.ptile__plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--raised-3); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 6px rgba(0, 0, 0, .4); }
.ptile__pat { position: absolute; inset: 0; background: #1F1F23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M23.75 9.5A10 10 0 1 0 26 16h-5' fill='none' stroke='%232A2A30' stroke-width='4.2'/%3E%3Ccircle cx='16' cy='16' r='3.4' fill='%232A2A30'/%3E%3C/svg%3E") 70% 40% / 82% no-repeat; }
.prow__th--pat { background: #26262B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M23.75 9.5A10 10 0 1 0 26 16h-5' fill='none' stroke='%2348484F' stroke-width='4.2'/%3E%3Ccircle cx='16' cy='16' r='3.4' fill='%2348484F'/%3E%3C/svg%3E") center / 80% no-repeat; }
.ptile__row { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.ptile__name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile--new .ptile__name { padding: 0 4px; }
.ptile__lock { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--fg-3); }
.ptile__n { position: absolute; right: 7px; bottom: 7px; height: 18px; padding: 0 6px; border-radius: 5px; background: rgba(0, 0, 0, .6); font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }

/* Examples feed: justified rows */
.jgrid { display: flex; flex-wrap: wrap; gap: 4px; }
.jgrid::after { content: ""; flex: 1e4 1 0; }
.jx { position: relative; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 196px); height: 196px; border-radius: 6px; overflow: hidden; background: var(--raised); }
.jx__media, .jx__media video, .jx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jx__ph { position: absolute; inset: 0; background: var(--raised-2); }
.jx__mode { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 5px; border-radius: 4px; background: rgba(0, 0, 0, .5); font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s; }
.jx__over { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; gap: 10px; padding: 34px 10px 10px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); opacity: 0; transition: opacity .2s; }
.jx:hover .jx__over, .jx:focus-within .jx__over, .jx:hover .jx__mode, .jx:focus-within .jx__mode { opacity: 1; }
.jx__tx { flex: 1; min-width: 0; }
.jx__tx h3 { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jx__tx p { font-size: 11px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jx__acts { display: flex; gap: 4px; align-items: center; }

/* Values bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bx { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; min-height: 250px; }
.bx--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.bx__tx { display: flex; flex-direction: column; gap: 6px; max-width: 34ch; }
.bx__tx h3 { font-family: var(--disp); font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.bx__tx p { font-size: 13px; color: var(--fg-2); }
.bx__show { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.bx--wide .bx__tx { flex: 0 0 290px; }
.bx__wheel { gap: 8px; overflow: hidden; justify-content: flex-start; padding: 6px; }
.bx__wheel .wt { width: 112px; height: 76px; flex: none; border-radius: 18px; opacity: .9; transform: none; }
.bx__wheel .wt.is-on { opacity: 1; }
.bx__wheel .wt--focal .fov { bottom: 24px; }
.bx__wheel .wt--focal .fov i { left: -48px; width: 96px; height: 46px; -webkit-mask: radial-gradient(46px at 50% 100%, #000 98%, transparent 100%); mask: radial-gradient(46px at 50% 100%, #000 98%, transparent 100%); }
.bx__wheel .wt--move svg { width: 100px; height: 54px; top: 4px; }
.bx--price .bx__show { flex-direction: column; gap: 10px; }
.gen--demo { width: 110px; min-height: 88px; pointer-events: none; }
.gen--demo .gen__txt { font-size: 13px; }
.bx__cap { font-size: 11.5px; color: var(--fg-3); }
.bx__ledger { flex-direction: column; align-items: stretch; gap: 5px; }
.lrow { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--raised-2); font-size: 12.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.lrow b { font-weight: 700; }
.lrow .out { color: var(--fg); }
.lrow .in { color: var(--ok); }
.lrow .st { font-size: 10.5px; padding: 2px 6px; border-radius: 4px; background: rgba(229, 36, 47, .16); color: #FF9CA1; }
.lrow--fail { background: transparent; border: 1px dashed var(--line-2); }
.bx__mention { flex-direction: column; align-items: flex-start; gap: 6px; }
.fake-prompt { display: block; width: 100%; padding: 11px 13px; border-radius: 11px; background: var(--well); border: 1px solid var(--line); font-size: 13px; color: var(--fg); text-align: left; }
.tag { display: inline-flex; padding: 0 5px; border-radius: 5px; background: rgba(143, 211, 255, .14); color: #CBE9FF; font-weight: 600; }
.caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 2px; background: var(--fg); vertical-align: -3px; animation: blink 1.1s steps(2) infinite; }
.fake-list { display: flex; flex-direction: column; gap: 2px; width: 240px; padding: 5px; border-radius: 11px; background: var(--raised-2); border: 1px solid var(--line-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.fake-opt { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 7px; border-radius: 7px; font-size: 12.5px; }
.fake-opt.is-on { background: var(--raised-3); }
.fake-opt img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; }
.fake-opt small { margin-left: auto; color: var(--fg-3); font-size: 11px; }

/* How it works */
.how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how__s { display: flex; flex-direction: column; gap: 8px; }
.how__show { position: relative; height: 170px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 18px; margin-bottom: 6px; }
.how__show--tiles { flex-direction: column; gap: 6px; align-items: stretch; }
.mini { display: flex; align-items: center; gap: 9px; height: 40px; padding: 3px 10px 3px 3px; border-radius: 9px; background: var(--raised-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; }
.mini img, .mini .sph { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: none; }
.mini .sph { border-radius: 50%; width: 26px; height: 26px; margin: 0 4px; }
.mini span { display: flex; flex-direction: column; }
.mini small { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--fg-3); font-weight: 600; }
.how__show--take { padding: 0; }
.how__show--take img { width: 100%; height: 100%; object-fit: cover; }
.take__rec { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .55); }
.take__rec .dot { background: var(--ok); }
.take__tc { position: absolute; right: 12px; top: 12px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .55); }
.how__s h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.how__n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--raised-3); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.how__s p { font-size: 13px; color: var(--fg-2); max-width: 40ch; }

/* Token packs */
.pk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.pk__i { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); }
.pk__i.is-hot { background: var(--raised-2); border-color: var(--line-2); padding-top: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.pk__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pk__name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-2); }
.pk__n { display: flex; align-items: baseline; gap: 8px; }
.pk__n strong { font-family: var(--disp); font-size: 46px; font-weight: 600; line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pk__n span { font-size: 13px; color: var(--fg-2); }
.pk__meter { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.pk__meter i { display: block; height: 100%; background: var(--fg-2); border-radius: 2px; }
.is-hot .pk__meter i { background: var(--rec); }
.pk__buys { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--fg-2); }
.pk__buys b { color: var(--fg); font-variant-numeric: tabular-nums; }
.pk__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.pk__price { display: flex; flex-direction: column; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.pk__price small { font-size: 11px; font-weight: 500; color: var(--fg-3); }
.rates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--fg-2); }
.rates__h { font-weight: 600; color: var(--fg); margin-right: 4px; }
.rt { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 7px; background: var(--raised); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rt b { font-weight: 600; color: var(--fg); }
.rates__note { flex-basis: 100%; margin-top: 4px; color: var(--fg-3); }

/* FAQ */
.faq { padding-bottom: 56px; }
.faq__wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 15px 2px; cursor: pointer; font-size: 14.5px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: 1; }
.qa__ic { color: var(--fg-3); transition: transform .2s; }
.qa[open] .qa__ic { transform: rotate(45deg); }
.qa p { padding: 0 40px 16px 2px; font-size: 13.5px; color: var(--fg-2); max-width: 70ch; }

/* Footer */
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding: 32px 40px 28px; margin-top: 40px; border-top: 1px solid var(--line); font-size: 13px; }
.foot__brand p { margin-top: 10px; color: var(--fg-2); font-size: 12.5px; max-width: 34ch; }
.foot__nav { display: flex; flex-direction: column; gap: 7px; }
.foot__nav h2 { font-size: 11px; font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.foot__nav a { color: var(--fg-2); }
.foot__nav a:hover { color: var(--fg); }
.foot__fine { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--fg-3); }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.logo__w { font-family: var(--disp); font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--fg); }

/* Offer toast */
.offer {
	position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 360px; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
	background: var(--raised); border: 1px solid var(--line-2); border-radius: 13px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
	animation: pickIn .3s var(--ease);
}
.offer__t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.offer__t strong { font-size: 13px; }
.offer__t span { font-size: 11.5px; color: var(--fg-2); line-height: 1.35; }
.offer__btn { height: 30px; padding: 0 11px; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; white-space: nowrap; }
.offer__btn:hover { background: #fff; }
.offer__x { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--raised-3); border: 1px solid var(--line-2); color: var(--fg-2); }
.offer__x:hover { color: var(--fg); }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; background: var(--raised-3); border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); animation: pickIn .2s var(--ease); }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); }
.toast--ok::before { background: var(--ok); }
.toast--err::before { background: var(--rec); }

/* Generic modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(6, 6, 8, .68); }
.modal__box { position: relative; width: min(480px, 100%); max-height: 90vh; overflow: auto; padding: 22px; border-radius: 16px; background: #19191C; border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .75); animation: pickIn .22s var(--ease); }
.modal__box:focus { outline: none; }
.modal__box h2 { font-family: var(--disp); font-size: 20px; font-weight: 600; padding-right: 30px; }
.modal__box > div > p { font-size: 13.5px; color: var(--fg-2); margin-top: 8px; }
.modal__x { position: absolute; right: 10px; top: 10px; }
.modal__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.modal__quote { margin-top: 12px !important; padding: 10px 12px; border-radius: 9px; background: var(--well); border-left: 2px solid var(--paper); color: var(--fg) !important; font-size: 13px !important; }
.modal__gap { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.modal__gap strong { font-family: var(--disp); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.modal__gap span { color: var(--fg-2); font-size: 13px; }
.modal__packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.modal__pack { display: flex; flex-direction: column; gap: 2px; padding: 11px; border-radius: 11px; background: var(--raised-2); border: 1px solid var(--line); opacity: .55; }
.modal__pack.is-enough { opacity: 1; border-color: var(--line-2); }
.modal__pack:hover { border-color: var(--paper); }
.modal__pack strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.modal__pack span { font-size: 11px; color: var(--fg-3); }
.modal__pack b { margin-top: 4px; font-size: 13px; }
.modal textarea { width: 100%; min-height: 100px; margin-top: 12px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-3); background: var(--well); color: var(--fg); resize: vertical; }

/* ---------- App pages ---------- */
.pg { padding: 40px 40px 24px; max-width: 1240px; margin: 0 auto; }
.pg__head { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.pg__head h1 { font-family: var(--disp); font-weight: 600; font-size: 30px; letter-spacing: -.015em; flex: 1; }
.pg__meta { flex-basis: 100%; font-size: 12.5px; color: var(--fg-3); margin-top: -10px; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); }
.tabs button { height: 28px; padding: 0 12px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.tabs button[aria-selected="true"] { background: var(--raised-3); color: var(--fg); }
.gate { padding: 40px 28px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gate h2 { font-family: var(--disp); font-size: 22px; }
.gate p { color: var(--fg-2); font-size: 13.5px; max-width: 46ch; }
.gate__acts { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.filters__total { margin-left: auto; font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); cursor: pointer; }
.seg input:checked + span { background: var(--raised-3); color: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--ice); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.chip[aria-pressed="true"] { color: var(--fg); border-color: var(--line-3); }
.chip[aria-pressed="true"] .ic { color: #FFD15C; fill: #FFD15C; }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; border-radius: 13px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: #0A0A0B; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__st, .card__demo { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; background: rgba(0, 0, 0, .65); font-size: 10.5px; font-weight: 600; }
.card__demo { left: auto; right: 8px; }
.card__st i { width: 6px; height: 6px; border-radius: 50%; background: var(--rec); }
.card__st--running i, .card__st--queued i { animation: blink 1s steps(2) infinite; }
.card__body { padding: 10px 12px 4px; display: flex; flex-direction: column; gap: 3px; }
.card__p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: 11px; color: var(--fg-3); }
.card__acts { display: flex; align-items: center; gap: 2px; padding: 4px 6px 6px; }
.card__sp { flex: 1; }
.lib__more { display: flex; justify-content: center; margin-top: 18px; }

.elform { padding: 18px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); margin-bottom: 18px; display: flex; flex-direction: column; gap: 12px; }
.elform h2 { font-size: 15px; }
.elform > p { font-size: 13px; color: var(--fg-2); margin-top: -8px; }
.elform__row { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr; gap: 10px; }
.elform__acts { display: flex; align-items: center; gap: 12px; }
.elform__msg { font-size: 12.5px; color: var(--fg-2); }
.egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.el { border-radius: 12px; overflow: hidden; background: var(--raised); border: 1px solid var(--line); }
.el img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.el__b { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 10px; }
.el__b > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.el__b strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el__b small { font-size: 11px; color: var(--fg-3); }

.balance { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); }
.balance__meter { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.balance__label { flex-basis: 100%; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); }
.balance__n { font-family: var(--disp); font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.balance__unit { color: var(--fg-2); }
.balance__hint { font-size: 13px; color: var(--fg-2); max-width: 40ch; }
.tokens + .packs { padding-top: 24px; }
.ltable { border-radius: 14px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; }
.ltable__row { display: grid; grid-template-columns: 1.3fr 2fr .8fr .8fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; }
.ltable__row--head { border-top: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--fg-3); }
.ltable__d { color: var(--fg-2); }
.ltable__ref { font-size: 11px; color: var(--fg-3); }
.delta--in { color: var(--ok); }
.delta--out { color: var(--fg); }

/* Account, auth */
.acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.acc__card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.acc__card > span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); }
.acc__card strong { font-family: var(--disp); font-size: 38px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.acc__p { font-size: 13px; color: var(--fg-2); }
.auth { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 980px; margin: 0 auto; }
.auth__card { padding: 24px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.auth__mark { display: inline-flex; align-items: center; gap: 8px; }
.auth__mark b { font-family: var(--disp); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.tabs--auth { align-self: flex-start; }
.auth__panel h2 { font-family: var(--disp); font-size: 26px; font-weight: 600; }
.auth__lead { margin-top: 4px; font-size: 13.5px; color: var(--fg-2); }
.auth__panel form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth__lost { font-size: 12.5px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; }
.auth__fine { font-size: 12px; color: var(--fg-3); }
.auth__side { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.auth__card2 { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; box-shadow: 0 0 0 2px rgba(242, 241, 236, .82), 0 30px 70px rgba(0, 0, 0, .6); }
.auth__card2 .tc__t { font-size: 10cqw; }
.auth__points { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--fg-2); }
.auth__points li { display: flex; align-items: center; gap: 8px; }
.auth__points .ic { color: var(--ok); }

/* WooCommerce surfaces */
.wc { font-size: 14px; }
.wc .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.wc .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.wc .woocommerce-MyAccount-navigation .is-active a { background: var(--raised-3); color: var(--fg); border-color: var(--line-2); }
.wc .woocommerce-MyAccount-content > p { color: var(--fg-2); font-size: 13.5px; margin-bottom: 12px; }
.wc h2, .wc h3 { font-family: var(--disp); font-weight: 600; font-size: 20px; margin: 8px 0 12px; }
.wc table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--raised); border-radius: 12px; overflow: hidden; }
.wc th, .wc td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.wc th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); font-weight: 600; }
.wc .button, .wc button.button, .wc a.button { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 13px; border: 0; }
.wc .woocommerce-message, .wc .woocommerce-info, .wc .woocommerce-error, .woocommerce-notices-wrapper > * {
	list-style: none; padding: 12px 14px; border-radius: 11px; background: var(--raised); border: 1px solid var(--line-2); margin: 0 0 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.wc .woocommerce-error { border-color: rgba(229, 36, 47, .5); }
.wc .woocommerce-error li { list-style: none; }
.wc form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: 12.5px; color: var(--fg-2); }
.wc fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 12px 0; }
.wc legend { padding: 0 6px; font-size: 12px; color: var(--fg-3); }
.wc .required { color: #FF9CA1; text-decoration: none; border: 0; }

/* Block cart and checkout */
.pg--checkout .wc, .pg--cart .wc { --wp--preset--color--contrast: var(--fg); }
.wc-block-components-sidebar-layout { gap: 24px; }
.wc .wc-block-checkout, .wc .wc-block-cart { color: var(--fg); }
.wc .wc-block-components-title, .wc .wc-block-components-checkout-step__title { font-family: var(--disp) !important; font-weight: 600 !important; font-size: 17px !important; color: var(--fg); }
.wc .wc-block-components-checkout-step__description, .wc .wc-block-components-panel__content, .wc .wc-block-checkout__terms { color: var(--fg-2); font-size: 13px; }
.wc .wc-block-components-text-input input, .wc .wc-block-components-text-input.is-active input, .wc .wc-blocks-components-select__select, .wc .wc-block-components-combobox .components-combobox-control input {
	background: var(--well) !important; border: 1px solid var(--line-3) !important; border-radius: 9px !important; color: var(--fg) !important; box-shadow: none !important;
}
.wc .wc-block-components-text-input label, .wc .wc-blocks-components-select__label, .wc .wc-block-components-combobox label { color: var(--fg-3) !important; }
.wc .wc-blocks-components-select__container { background: var(--well); border-radius: 9px; }
.wc .wc-block-components-checkout-place-order-button, .wc .wc-block-cart__submit-button, .wc .wc-block-components-button:not(.is-link) {
	background: var(--paper) !important; color: var(--ink) !important; border-radius: 10px !important; min-height: 44px; font-weight: 700; border: 0 !important;
}
.wc .wc-block-components-checkout-place-order-button:hover { background: #fff !important; }
.wc .wc-block-components-sidebar, .wc .wc-block-components-order-summary, .wc .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--raised); border: 1px solid var(--line) !important; border-radius: 14px; padding: 6px 14px;
}
.wc .wc-block-components-totals-wrapper, .wc .wc-block-components-order-summary-item, .wc .wc-block-components-totals-item { border-color: var(--line) !important; }
.wc .wc-block-components-order-summary-item__image img { border-radius: 8px; }
.wc .wc-block-components-radio-control__option, .wc .wc-block-components-radio-control-accordion-option { border-color: var(--line-2) !important; border-radius: 11px !important; color: var(--fg); }
.wc .wc-block-components-radio-control__input { border-color: var(--line-3) !important; background: var(--well) !important; }
.wc .wc-block-components-radio-control__input:checked::before { background: var(--paper) !important; }
.wc .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { background: var(--well); border-color: var(--line-3); }
.wc .wc-block-components-checkbox__mark { fill: var(--ink); }
.wc .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--paper); }
.wc a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 2px; }
.wc .wc-block-components-product-name { text-decoration: none; font-weight: 600; }
.wc .wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
.wc .wc-block-components-notice-banner { background: var(--raised); color: var(--fg); border-radius: 11px; border-color: var(--line-2); }
.wc .wc-block-components-validation-error p, .wc .has-error label { color: #FF9CA1 !important; }
.wc .wc-block-components-address-card { background: var(--raised); border-color: var(--line-2); border-radius: 11px; }

/* Text pages */
.prose { max-width: 70ch; font-size: 15px; line-height: 1.65; color: var(--fg-2); }
.prose h2 { font-family: var(--disp); font-size: 20px; color: var(--fg); margin: 30px 0 8px; }
.prose h3 { font-size: 15px; color: var(--fg); margin: 22px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose strong { color: var(--fg); }
.pg--legal .pg__head, .pg--text .pg__head { max-width: 70ch; }
.cform { max-width: 640px; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cform__acts { display: flex; align-items: center; gap: 12px; }
.cform__msg { font-size: 13px; color: var(--fg-2); }
.hp { position: absolute; left: -9999px; }

/* 404 */
.lost { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 72px; padding-bottom: 72px; }
.lost__frame { position: relative; width: min(420px, 100%); aspect-ratio: 16 / 9; border-radius: 12px; background: radial-gradient(80% 70% at 50% 50%, #1D1D21, #0B0B0C); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 12px; }
.lost__n { font-family: var(--disp); font-weight: 700; font-size: 84px; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--fg-2); }
.lost__tc { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 600; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.lost__rec { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--fg-2); }
.lost h1 { font-family: var(--disp); font-size: 28px; }
.lost p { color: var(--fg-2); max-width: 44ch; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1180px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bx--wide { grid-column: span 2; }
	.faq__wrap { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 900px) {
	.shell, .shell.is-collapsed { display: block; --side: 0; }
	.main { margin: 0; border: 0; border-radius: 0; min-height: 100vh; padding-bottom: 64px; }
	.side {
		position: fixed; inset: 0 auto 0 0; width: 280px; height: 100%; z-index: 75; background: var(--panel); border-right: 1px solid var(--line-2);
		transform: translateX(-102%); transition: transform .25s var(--ease); padding: 12px;
	}
	.side.is-open { transform: none; box-shadow: 30px 0 80px rgba(0, 0, 0, .6); }
	.side__collapse { display: none; }
	.side .side__close { display: inline-grid; }
	.scrim { display: block; position: fixed; inset: 0; z-index: 74; background: rgba(0, 0, 0, .6); }
	.scrim[hidden] { display: none; }
	.mbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 40; height: 52px; padding: 0 12px; background: rgba(14, 14, 16, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
	.mbar .logo { flex: 1; }
	.mbar__bal { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; background: var(--raised-2); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
	.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(14, 14, 16, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
	.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--fg-3); }
	.tabbar a[aria-current="page"] { color: var(--fg); }
	.offer { left: 12px; right: 12px; bottom: 70px; width: auto; }
	.toasts { bottom: 76px; }
	.studio { padding: 22px 12px 4px; }
	.block { padding: 40px 14px 4px; }
	.pg { padding: 24px 14px; }
	.foot { grid-template-columns: 1fr 1fr; padding: 26px 14px 20px; }
	.foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.reel { height: 150px; }
	.tc[data-pos="c"] { --w: 226px; --h: 128px; }
	.tc { --w: 132px; --h: 78px; }
	.tc[data-pos="l"] { --x: -134px; }
	.tc[data-pos="r"] { --x: 134px; }
	.sheen { font-size: 29px; }
	.dock { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
	.dock__mode { flex-direction: row; order: -1; justify-self: start; padding: 3px; border-radius: 11px; }
	.dock__mode span { flex-direction: row; height: 30px; padding: 0 12px; gap: 6px; }
	.dock__mode b { font-size: 12px; }
	.dock__main { padding: 4px; }
	.dock__tiles { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
	.dock__tiles::-webkit-scrollbar { display: none; }
	.stile { flex: none; width: 136px; scroll-snap-align: start; }
	.dock__body { grid-template-columns: 1fr; padding: 6px 2px 2px; }
	.dock__ctrls { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.dock__ctrls::-webkit-scrollbar { display: none; }
	.pill, .step { flex: none; }
	.gen { width: 100%; min-height: 48px; flex-direction: row; justify-content: space-between; padding: 0 16px; }
	.gen__txt { font-size: 13px; }
	.dock__msg { grid-column: 1; }
	.pop { position: fixed; left: 8px !important; right: 8px; top: auto !important; bottom: calc(66px + env(safe-area-inset-bottom)); max-width: none; max-height: 60vh; overflow: auto; }
	.pop--engine { width: auto; }
	.pick { padding: 0; place-items: end stretch; }
	.pick__box { width: 100%; max-height: 90vh; border-radius: 18px 18px 0 0; }
	.pick__body { grid-template-columns: 1fr; }
	.pnav { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
	.pnav button { flex: none; }
	.pnav__v { display: none; }
	.wheel { --item: 84px; }
	.wt { width: 104px; height: 70px; border-radius: 17px; }
	.wt b { font-size: 10.5px; bottom: 6px; }
	.wt--focal b { display: none; }
.wt--focal .wt__n { font-size: 14px; top: 7px; right: 9px; }
	.fov { bottom: 20px; }
	.fov i { left: -40px; width: 80px; height: 38px; -webkit-mask: radial-gradient(38px at 50% 100%, #000 98%, transparent 100%); mask: radial-gradient(38px at 50% 100%, #000 98%, transparent 100%); }
	.wt--move svg { width: 88px; height: 48px; }
	.pgrid2, .pgrid2--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.monitor__glass { height: 56vw; min-height: 200px; }
	.monitor__ai { flex-basis: 100%; margin: 4px 0 0; }
	.block__head--row { flex-direction: column; gap: 4px; }
	.block__head--row p { text-align: left; }
	.jx { height: 132px; flex-basis: calc(var(--ar) * 132px); }
	.jx__over { padding: 20px 6px 6px; }
	.jx.is-on .jx__over, .jx.is-on .jx__mode { opacity: 1; }
	.jx__tx { display: none; }
	.jx__acts { margin-left: auto; }
	.bento, .how__steps, .pk { grid-template-columns: 1fr; }
	.bx--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
	.bx__wheel { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
	.pk__i.is-hot { padding-top: 20px; }
	.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.elform__row, .cform__row { grid-template-columns: 1fr; }
	.ltable__row { grid-template-columns: 1fr auto; }
	.ltable__row > :nth-child(4) { display: none; }
	.ltable__row--head { display: none; }
	.ltable__row .ltable__d { grid-column: 1 / -1; font-size: 11.5px; }
	.acc { grid-template-columns: 1fr; }
	.auth { grid-template-columns: 1fr; }
	.auth__side { display: none; }
	.modal { place-items: end stretch; padding: 0; }
	.modal__box { width: 100%; border-radius: 18px 18px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
	.modal__packs { grid-template-columns: 1fr; }
	.lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.balance__n { font-size: 44px; }
	.pg__head h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.caret { animation: none; }
}

/* Buttons inside WooCommerce content keep their own colours. */
.wc a.btn { text-decoration: none; }
.wc a.btn--paper, .wc a.btn--ice { color: var(--ink); }
.wc a.btn--line, .wc a.btn--ghost { color: var(--fg); }

/* Classic checkout: details left, order right */
.wc form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 28px; align-items: start; }
.wc form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.wc #customer_details { grid-column: 1; grid-row: 1 / span 3; padding: 20px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); }
.wc #customer_details .col-2:empty, .wc .woocommerce-additional-fields:empty { display: none; }
.wc #order_review_heading { grid-column: 2; margin-top: 0; }
.wc #order_review { grid-column: 2; padding: 16px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); position: sticky; top: 16px; }
.wc #order_review table { background: transparent; }
.wc #order_review .order-total td, .wc #order_review .order-total th { font-size: 15px; color: var(--fg); }
.wc .woocommerce-billing-fields h3 { margin-top: 0; }
.wc #payment { margin-top: 14px; }
.wc #payment ul.payment_methods { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wc #payment ul.payment_methods li { padding: 12px; border-radius: 11px; background: var(--raised-2); border: 1px solid var(--line-2); font-size: 13px; }
.wc #payment .payment_box { margin-top: 8px; font-size: 12.5px; color: var(--fg-2); }
.wc #place_order { width: 100%; height: 46px; font-size: 14px; font-weight: 700; border-radius: 11px; background: var(--paper); color: var(--ink); }
.wc #place_order:hover { background: #fff; }
.wc .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--fg-2); margin: 10px 0; }
.wc .woocommerce-form__label-for-checkbox { display: flex; gap: 8px; align-items: flex-start; }
.wc .select2-container .select2-selection--single { height: 40px; border-radius: 9px; border: 1px solid var(--line-3); background: var(--well); }
.wc .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 38px; color: var(--fg); padding-left: 12px; }
.wc .select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px; }
.select2-dropdown { background: var(--raised); border-color: var(--line-2); color: var(--fg); }
.select2-container--default .select2-search--dropdown .select2-search__field { background: var(--well); border-color: var(--line-3); color: var(--fg); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--raised-3); color: var(--fg); }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--raised-2); }
.wc .woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
.wc form.checkout_coupon { padding: 14px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.wc form.checkout_coupon p { margin: 0; }
@media (max-width: 900px) {
	.wc form.checkout { grid-template-columns: 1fr; }
	.wc #customer_details, .wc #order_review_heading, .wc #order_review { grid-column: 1; grid-row: auto; }
	.wc #order_review { position: static; }
}
.wc ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 20px; }
.wc ul.woocommerce-order-overview li { padding: 10px 12px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); }
.wc ul.woocommerce-order-overview li strong { display: block; margin-top: 3px; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.wc .woocommerce-thankyou-order-received { font-size: 15px; color: var(--fg); }
.acc__card--thanks { margin: 16px 0 22px; max-width: 460px; }

/* Plugin contact form (shortcode) in the house style */
.cine-contact { max-width: 620px; margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cine-contact p { margin: 0 0 10px; }
.cine-contact label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.cine-contact label br { display: none; }
.cine-contact input, .cine-contact textarea { width: 100%; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-3); background: var(--well); color: var(--fg); font-size: 14px; }
.cine-contact textarea { height: auto; min-height: 130px; padding: 10px 12px; resize: vertical; }
.cine-contact input:focus, .cine-contact textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(143, 211, 255, .18); }
.cine-contact button { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 13.5px; }
.cine-contact button:hover { background: #fff; }
.cine-contact-status { margin-left: 10px; font-size: 13px; color: var(--fg-2); }
/* Plugin consent checkbox on the register form */
.cine-consent { margin: 0; padding: 10px 12px; border-radius: 9px; background: var(--well); border: 1px solid var(--line-2); }
.cine-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); cursor: pointer; }
.cine-consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--paper); flex: none; }
.woocommerce-privacy-policy-text p { font-size: 12px; color: var(--fg-3); }
.wc #cine_waiver, .wc input[name="cine_waiver"] { accent-color: var(--paper); }
.gt__img--move > svg.ic { width: 24px; height: 24px; color: var(--fg-2); }
.gt__img--sw { aspect-ratio: 16 / 7; }
.cine-consent label { display: block; position: relative; padding-left: 26px; }
.cine-consent input { position: absolute; left: 0; top: 2px; }
/* Classic cart */
.wc .shop_table .product-thumbnail { display: none; }
.wc .shop_table td, .wc .shop_table th { vertical-align: middle; }
.wc .shop_table .product-remove a { text-decoration: none; font-size: 18px; color: var(--fg-3); }
.wc .shop_table .quantity input { width: 72px; height: 34px; }
.wc .actions .coupon { display: flex; gap: 8px; align-items: center; }
.wc .actions .coupon input { max-width: 220px; height: 34px; }
.wc .cart-collaterals { max-width: 420px; margin: 18px 0 0 auto; }
.wc .wc-proceed-to-checkout a.checkout-button { width: 100%; height: 44px; margin-top: 10px; }
