/* comfyarts — re-skin layer for the pages that keep their own stylesheet.

   Profile, wallet, publish, sign-in, account and the legal pages were each built on one
   of three older stylesheets (comfyarts.css, styles.css, profile-theme.css). Rather than
   rewrite every page, this file is loaded LAST on each of them and brings them into the
   catalogue look that explore.css defines:

     1. the old design tokens are pointed at the new palette and type
     2. rounded "pill" shapes are squared off
     3. buttons, fields, headings and cards get the shared treatment

   Body classes: .sk on all of them, plus .sk-a (comfyarts.css pages), .sk-b (styles.css
   pages) or .sk-c (profile-theme.css pages) to pick the right token mapping — the three
   systems reuse names like --ink for opposite things, so they cannot share one. */

.sk {
  --line: rgba(241, 237, 228, .13); --line-2: rgba(241, 237, 228, .3); --line2: rgba(241, 237, 228, .13);
  --border: rgba(241, 237, 228, .3); --border-soft: rgba(241, 237, 228, .13);
  --muted: #A8A196; --faint: #6F6A61; --text: #F1EDE4; --t2: #A8A196;
  --surface: #12100F; --surface-2: #1A1816; --surf: #12100F; --surf2: #1A1816; --panel: #12100F; --elevated: #1A1816;
  --r: 2px; --r-sm: 2px; --r-lg: 2px;
  --cyan: #F1EDE4; --violet: #FF4A1C; --magenta: #FF4A1C; --indigo: #F1EDE4; --teal: #F1EDE4; --sky: #F1EDE4;
  --amber: #F1EDE4; --rose: #FF4A1C; --red: #FF4A1C; --green: #F1EDE4; --li: #F1EDE4;
  --yellow: #FF4A1C; --gold: #F1EDE4; --blue: #FF4A1C; --orange: #FF4A1C;
  --grad: linear-gradient(#F1EDE4, #F1EDE4);
  --font-display: "Archivo", sans-serif; --font-sans: "Archivo", sans-serif; --font-mono: "JetBrains Mono", monospace;
  --fd: "Archivo", sans-serif; --fs: "Archivo", sans-serif; --fu: "Archivo", sans-serif; --fm: "JetBrains Mono", monospace;
  --shadow: none; --shadow-card: none; --shadow-lift: none; --sh: none; --sh-lg: 0 40px 90px -30px #000;
  background: #0B0A09 !important; color: #F1EDE4; font-family: "Archivo", "Helvetica Neue", Arial, sans-serif !important;
}
.sk-a { --ink: #F1EDE4; --ink-2: #A8A196; }                       /* comfyarts.css: --ink is the text colour */
.sk-b, .sk-c { --ink: #FF4A1C; --ink-lo: #FF4A1C; --ink-wash: #1A1816; }   /* the others: --ink is the accent */
.sk ::selection { background: #FF4A1C; color: #0B0A09; }

/* decorative glows and gradient washes: gone */
.sk::before, .sk::after, .sk .hero::before, .sk .hero::after, .sk main::before, .sk .glow, .sk .aurora, .sk .bg-grid { display: none !important; }

/* no pills. Circles that are meant to be circles keep their shape. */
.sk :is(a, button, input, select, textarea, div, section, article, aside, span, label, li, ul, ol, p, pre, code, img, video, table, form, header, footer, dialog, details, summary, h1, h2, h3, h4, figure, canvas, i):not(.av):not(.avatar):not([class*="avatar"]):not([class*="spin"]):not(.coin):not([type=radio]):not([class*="orb"]):not([class*="ring"]):not(.pfp):not([class*="pfp"]):not(.dot):not(.x-keep-round) { border-radius: 2px !important; }
.sk :is(.av, .avatar, [class*="avatar"], .pfp) img { border-radius: inherit !important; }

/* type */
.sk :is(h1, h2) { font-family: "Archivo", sans-serif !important; font-weight: 800 !important; font-stretch: 64%; text-transform: uppercase; letter-spacing: -.008em !important; line-height: .92 !important; }
.sk h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.sk :is(h3, h4) { font-family: "Archivo", sans-serif !important; letter-spacing: 0 !important; }
.sk :is(p, li, dd, td) { line-height: 1.6; }
.sk :is(code, pre, kbd, .mono, time, .num) { font-family: "JetBrains Mono", ui-monospace, monospace !important; }
.sk a { text-underline-offset: 3px; }

/* buttons */
.sk :is(.btn, .btn-primary, .btn-ghost, .btn-line, .btn-ink, .btn-grad, .btn-gold, .btn-text, .btn-danger, .cta, .tb-btn, button[type=submit]) {
  font-family: "Archivo", sans-serif !important; font-weight: 800 !important; font-size: 13px; letter-spacing: .09em !important; text-transform: uppercase;
  box-shadow: none !important; background-image: none !important; filter: none !important; transition: background-color .3s, color .3s, border-color .3s !important;
}
.sk :is(.btn-primary, .btn-ink, .btn-grad, .btn-gold, button[type=submit]) { background-color: #F1EDE4 !important; color: #0B0A09 !important; border: 1px solid #F1EDE4 !important; }
.sk :is(.btn-primary, .btn-ink, .btn-grad, .btn-gold, button[type=submit]):hover:not(:disabled) { background-color: #FF4A1C !important; border-color: #FF4A1C !important; transform: none !important; }
.sk :is(.btn-ghost, .btn-line, .btn-text) { background-color: transparent !important; color: #F1EDE4 !important; border: 1px solid rgba(241, 237, 228, .3) !important; }
.sk :is(.btn-ghost, .btn-line, .btn-text):hover:not(:disabled) { background-color: #F1EDE4 !important; color: #0B0A09 !important; transform: none !important; }
.sk .btn-danger { background-color: transparent !important; color: #FF4A1C !important; border: 1px solid #FF4A1C !important; }
.sk .btn-danger:hover { background-color: #FF4A1C !important; color: #0B0A09 !important; }
.sk :is(button, .btn):active { transform: scale(.98) !important; }

/* fields */
.sk :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]), textarea, select) {
  font-family: "Archivo", sans-serif !important; background-color: #0B0A09 !important; color: #F1EDE4 !important;
  border: 1px solid rgba(241, 237, 228, .3) !important; box-shadow: none !important; outline: 0 !important; transition: border-color .2s !important;
}
.sk :is(input, textarea, select):focus { border-color: #F1EDE4 !important; }
.sk :is(input, textarea)::placeholder { color: #6F6A61 !important; }
.sk :is(input[type=checkbox], input[type=radio]) { accent-color: #FF4A1C; }
.sk label { font-family: "Archivo", sans-serif; }

/* surfaces */
.sk :is(.card, .panel, .box, .tile, .modal, .sheet, .dialog, .popover, .menu, .dropdown) { box-shadow: none !important; background-image: none !important; }
.sk table { border-collapse: collapse; }
.sk :is(th) { font-family: "JetBrains Mono", monospace !important; font-weight: 500 !important; letter-spacing: .08em; text-transform: uppercase; font-size: 11px !important; color: #6F6A61 !important; }
.sk hr { border: 0; border-top: 1px solid rgba(241, 237, 228, .13); }

/* small labels that used to be pills read as mono tags now */
.sk :is(.tag, .chip, .badge, .pill, .label, .kicker, .eyebrow, .step, .status) { font-family: "JetBrains Mono", monospace !important; letter-spacing: .06em; box-shadow: none !important; background-image: none !important; }

/* entrance: content rises once, on load */
@media (prefers-reduced-motion: no-preference) {
  .sk main > *, .sk .wrap > :is(section, .head, .card, .panel, article) { animation: skup .9s cubic-bezier(.19, 1, .22, 1) both; }
  .sk main > :nth-child(2) { animation-delay: .06s; } .sk main > :nth-child(3) { animation-delay: .12s; } .sk main > :nth-child(n+4) { animation-delay: .18s; }
  @keyframes skup { from { opacity: 0; transform: translateY(20px); } }
}

/* legal and plain text pages */
.sk-doc main, .sk-doc .wrap { max-width: 860px; }
.sk-doc main :is(p, li) { color: #A8A196; }
.sk-doc main h2 { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(241, 237, 228, .3); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.sk-doc main a { color: #F1EDE4; border-bottom: 1px solid #FF4A1C; }

/* the notice for Reverse AI app users at the top of the legal pages */
.sk > div[style*="edf3ff"] { background: #12100F !important; color: #A8A196 !important; border-bottom: 1px solid rgba(241, 237, 228, .13); font-size: 13.5px; }
.sk > div[style*="edf3ff"] a { color: #F1EDE4; border-bottom: 1px solid #FF4A1C; }
