/* 1on1fun — shared brand layer for models, studio, support and agent pages */
:root {
  --ink: #000000;
  --surface: #141012;
  --surface-2: #1d171a;
  --line: #2c2328;
  --hot: #FF1F8F;
  --hot-deep: #D9006F;
  --blush: #FFC2DF;
  --text: #ffffff;
  --muted: #b9a7b0;
  --good: #4ade80;
  --warn: #ffcf5a;
  --bad: #ff5b6e;
  --gold1: #ffd54a;
  --gold2: #f5a623;
  --radius-lg: 22px;
  --radius: 14px;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--blush); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.hidden { display: none !important; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 12px; background: rgba(0,0,0,0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #1a1316; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand b { color: var(--hot); font-weight: 800; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .brand-logo { height: 36px; width: auto; display: block; }
.foot .brand .brand-logo { height: 30px; }
@media (max-width: 480px) { .brand .brand-logo { height: 32px; } }
.bar nav { display: flex; align-items: center; gap: 20px; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.bar nav a:hover { color: #fff; }
@media (max-width: 760px) { .bar nav .nav-hide { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 14px 22px; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: scale(0.98); }
.btn-hot { background: var(--hot); color: #fff; box-shadow: 0 10px 30px rgba(255,31,143,0.28); }
.btn-hot:hover { background: #ff3d9f; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #3a2e34; }
.btn-ghost:hover { border-color: var(--hot); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span, .field > label { font-size: 13px; color: var(--muted); font-weight: 600; }
.input, .field input, .field select, .field textarea { width: 100%; background: #0b0809; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; color: #fff; font-size: 16px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--hot); }
.field .hint { font-size: 12px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #e9dce2; margin: 6px 0 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--hot); flex: none; margin-top: 1px; }
.msg { min-height: 20px; font-size: 14px; margin-top: 10px; }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--good); }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #22191d; color: #e8d8df; border: 1px solid var(--line); }
.chip.good { color: var(--good); border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.08); }
.chip.warn { color: var(--warn); border-color: rgba(255,207,90,.4); background: rgba(255,207,90,.08); }
.chip.bad { color: var(--bad); border-color: rgba(255,91,110,.45); background: rgba(255,91,110,.08); }
.chip.hot { color: #fff; border-color: transparent; background: var(--hot); }

/* upload tiles */
.upload { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 132px; padding: 14px; border: 1.5px dashed #4a3a42; border-radius: var(--radius); background: #0b0809; cursor: pointer;
  color: var(--muted); font-size: 13px; overflow: hidden; }
.upload:hover { border-color: var(--hot); }
.upload strong { color: #fff; font-size: 14px; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload.has-img { border-style: solid; border-color: var(--hot); }
.upload .redo { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,.7); color: #fff; font-size: 12px;
  padding: 4px 9px; border-radius: 999px; pointer-events: none; }

.foot { padding: 32px clamp(16px, 4vw, 40px) calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 13px;
  border-top: 1px solid #1a1316; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* === light theme (generated) === */
html[data-theme="light"] { --ink: #fbf9ff !important; --surface: #ffffff !important; --surface-2: #f5f1fe !important; --line: #ebe5f7 !important; --hot: #7c3aed !important; --hot-deep: #6d28d9 !important; --blush: #7c3aed !important; --text: #1e1433 !important; --muted: #6b6280 !important; }
html[data-theme="light"] .bar { background: rgba(255, 255, 255, 0.86) !important; }
html[data-theme="light"] .brand { color: #1e1433 !important; }
html[data-theme="light"] .bar nav a:hover { color: #1e1433 !important; }
html[data-theme="light"] .btn-hot { color: #fff !important; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.28) !important; }
html[data-theme="light"] .btn-ghost { color: #1e1433 !important; border: 1px solid #ebe5f7 !important; }
html[data-theme="light"] .input, html[data-theme="light"] .field input, html[data-theme="light"] .field select, html[data-theme="light"] .field textarea { background: #ffffff !important; color: #1e1433 !important; }
html[data-theme="light"] .check { color: #1e1433 !important; }
html[data-theme="light"] .chip { background: #ebe5f7 !important; }
html[data-theme="light"] .chip.hot { color: #fff !important; }
html[data-theme="light"] .upload { background: #ffffff !important; }
html[data-theme="light"] .upload strong { color: #1e1433 !important; }
html[data-theme="light"] .upload .redo { background: rgba(255, 255, 255, 0.7) !important; color: #1e1433 !important; }
html[data-theme="light"] .foot a:hover { color: #1e1433 !important; }
/* === end light theme === */
