/* Collage Studios — violet studio system shared by the legacy editor, gallery and account screens. */
:root {
  color-scheme: light;
  --bg: #f7f7fa; --bg2: #ffffff; --bg3: #eeecf6;
  --p1: #ffffff; --p2: #ffffff; --p3: #f0eff8;
  --ink: #120042; --tx: #120042; --mute: #5f5f5f; --mu: #5f5f5f;
  --line: rgba(18,0,66,.12); --line2: rgba(18,0,66,.24); --bd: rgba(18,0,66,.12); --bd2: rgba(18,0,66,.24);
  --violet: #6630ff; --violet-deep: #120042; --lime: #8ce950; --ac: #6630ff; --cyan: #38bdf8; --coral: #c73554; --co: #c73554;
  --paper: #ffffff; --serif: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; --sans: "Inter", "vInter", Arial, sans-serif; --mono: "DM Mono", ui-monospace, monospace;
  --radius-control: 12px; --radius-card: 20px; --radius-panel: 30px; --shadow-card: 0 14px 38px rgba(18,0,66,.10);
}
html { color-scheme: light; scrollbar-color: #b8b1cc transparent; }
body { color: var(--ink) !important; background: var(--bg) !important; font-family: var(--sans) !important; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: var(--sans); }
::selection { background: #d8caff; color: #120042; }
:focus-visible { outline: 2px solid var(--violet) !important; outline-offset: 3px !important; }
a { text-underline-offset: .2em; }
.skip, .skip-link { background: var(--lime) !important; color: var(--violet-deep) !important; }

.nav, .site-nav, .bar, .nav .wrap, .site-wrap { background: #fff !important; color: var(--ink) !important; border-color: var(--line) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.nav .wrap, .site-wrap { min-height: 68px; }
.logo, .site-brand { color: var(--ink) !important; font-family: var(--serif) !important; letter-spacing: -.035em; }
.logo em, .site-brand em { color: var(--violet) !important; }
.mark i:first-child, .site-mark i:first-child { background: var(--violet) !important; border-radius: 5px; }
.mark i:last-child, .site-mark i:last-child { background: var(--lime) !important; border: 2px solid #fff; }
.links a, .site-links a { color: var(--mute) !important; transition: color .22s ease !important; }
.links a:hover, .links a[aria-current="page"], .site-links a:hover, .site-links a[aria-current="page"] { color: var(--violet) !important; }
.links a::after, .site-links a::after { background: var(--violet) !important; }
.burger, .site-burger { border-color: var(--line2) !important; border-radius: 12px; color: var(--ink) !important; }
.burger i, .site-burger i { background: var(--ink) !important; }

.btn, .site-cta, button.btn, a.btn { min-height: 40px; border-radius: 999px; font-family: var(--sans) !important; font-weight: 650; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.75,.25,1) !important; }
.btn:hover, .site-cta:hover { transform: translateY(-2px); }
.btn:active, .site-cta:active { transform: translateY(0) scale(.98); }
.btn-lime, .btn.pri, .btn.primary, .site-cta { background: var(--violet) !important; border-color: var(--violet) !important; color: #fff !important; }
.btn-lime:hover, .btn.pri:hover, .btn.primary:hover, .site-cta:hover { background: #5120df !important; border-color: #5120df !important; color: #fff !important; }
.btn-ghost, .btn.ghost, .btn-line, .btn-line:hover { border-color: var(--line2); }
.btn-ghost:hover, .btn.ghost:hover { background: #efebff !important; color: var(--violet-deep) !important; }
button:disabled, .btn:disabled { opacity: .52 !important; cursor: wait !important; transform: none !important; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea { border-radius: var(--radius-control) !important; border-color: var(--line2) !important; background: #fff !important; color: var(--ink) !important; caret-color: var(--violet); }
input::placeholder, textarea::placeholder { color: #666477 !important; opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--violet); }
kbd { border-color: var(--line2) !important; background: #f3f1f8 !important; color: var(--mute) !important; border-radius: 6px; }

.card, .panel, .form, .sign-in-panel, .busy-card, .srcc, .detail-card { border-color: var(--line) !important; border-radius: var(--radius-card); background-color: #fff !important; color: var(--ink) !important; }
.card, .fc, .tile, .path-list a { transition: transform .24s cubic-bezier(.2,.75,.25,1), background-color .22s ease, border-color .22s ease; }
.card:hover, .fc:hover, .tile:hover { transform: translateY(-2px); }
.card img, .artwork-frame img, .preview img { image-rendering: auto; }
.stage, .preview, .canvas-wrap, .canvas-area { border-color: var(--line) !important; border-radius: var(--radius-card); background-color: var(--bg3) !important; }

#top, .toolbar, #rail, #insp, .site-wrap { color: var(--ink) !important; }
#top, #rail, #insp, .toolbar { background: #fff !important; border-color: var(--line) !important; }
#rail, #insp { color: var(--ink) !important; }
.grp, .grp .btn, .tabs, .tab, .stab, .chip, .pill { border-color: var(--line) !important; }
.grp, .grp .btn, .tab, .stab, .chip { background-color: transparent !important; color: var(--mute) !important; }
.tab:hover, .stab:hover, .chip:hover { background-color: #efebff !important; color: var(--violet-deep) !important; }
.tab.on, .stab.on, .chip[aria-pressed="true"], .tab[aria-selected="true"] { background: #eee8ff !important; border-color: #d0c2ff !important; color: #3e17a7 !important; }
.save-state[data-state="saved"], .note, .status.good { color: #326a1f !important; }
.save-state[data-state="error"], .status.is-error, .delete-account-status { color: #a21f3a !important; }

.thead { color: #fff !important; background-color: var(--violet-deep) !important; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) !important; background-size: 48px 48px !important; }
.thead h1, .thead h1 em, .thead p { color: #fff !important; }
.thead h1 em { opacity: .82; }
.bar { border-bottom: 1px solid var(--line) !important; }
.hero { color: #fff !important; background-color: var(--violet-deep) !important; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) !important; background-size: 48px 48px !important; }
.hero h1, .hero .lead, .hero .facts b { color: #fff !important; }
.hero h1 em, .hero .eyebrow, .hero .mono { color: var(--lime) !important; }
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.55) !important; }
.hero .facts { border-color: rgba(255,255,255,.30) !important; }
.hero .facts div + div { border-color: rgba(255,255,255,.30) !important; }
.eyebrow { color: var(--violet) !important; }
.hero .eyebrow, .thead .eyebrow, #close .eyebrow, .close .eyebrow, .closing .eyebrow, .home-close .eyebrow { color: var(--lime) !important; }
.hero .pc.g { background: #fff !important; color: var(--violet-deep) !important; }
.hero .pc.g b { color: var(--violet) !important; }
.hero .sticker circle:first-of-type { fill: var(--lime) !important; }
.hero .sticker text { fill: var(--violet-deep) !important; }
.hero .scribble path { stroke: var(--lime) !important; }
#close, .close, .closing, .home-close { color: #fff !important; background-color: var(--violet) !important; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) !important; background-size: 48px 48px !important; }
#close h2, .close h2, .closing h2, .home-close h2 { color: #fff !important; }
#close .btn-dark, .close .btn-dark, .closing .btn-dark, .home-close .btn-dark { background: #fff !important; color: var(--violet-deep) !important; }
#close .dot, .close .dot, .closing .dot { color: var(--lime) !important; }

#cv { color: var(--ink) !important; background: #eeecf6 radial-gradient(rgba(18,0,66,.12) 1px,transparent 1px) 0 0 / 22px 22px !important; }
#cv .em-t { color: #120042 !important; }
#cv .hint { color: #555365 !important; }
#cv .pill { background: rgba(255,255,255,.96) !important; color: #4e4960 !important; border-color: rgba(18,0,66,.2) !important; backdrop-filter: none !important; }
footer, .footer { background: #080808 !important; color: #fff !important; }
footer a, .footer a { transition: color .2s ease; }
footer a:hover, .footer a:hover { color: var(--lime) !important; }
.nav .wrap .account-link, .site-wrap .site-account-link { border-radius: 999px !important; }
.nav .wrap .account-signup, .site-wrap .site-account-signup { border-color: var(--violet) !important; background: var(--violet) !important; color: #fff !important; }
.nav .wrap .account-signup:hover, .site-wrap .site-account-signup:hover { border-color: #5120df !important; background: #5120df !important; color: #fff !important; }
.load-spinner, .busy-spinner { border-color: var(--line) !important; border-top-color: var(--violet) !important; }
.loading, [aria-busy="true"] { color: var(--mute); }
[aria-busy="true"] .skeleton { animation: violet-sheen 1.5s ease-in-out infinite; }
@keyframes violet-sheen { 50% { opacity: .54; } }
.template-loading { min-height: 60vh; display: grid; place-items: center; color: var(--mute); font: 12px var(--mono); }
.template-loading::before { content: ""; width: 24px; height: 24px; border: 2px solid #d9d4e7; border-top-color: var(--violet); border-radius: 50%; animation: template-spin .8s linear infinite; }
@keyframes template-spin { to { rotate: 360deg; } }
.eyebrow, .busy-eyebrow, .work-eyebrow { display: none !important; }

@media (max-width: 860px) {
  .links.open, .site-links.open { background: #fff !important; box-shadow: 0 16px 36px rgba(18,0,66,.12); }
  .links.open a, .site-links.open a { color: var(--ink) !important; border-color: var(--line) !important; }
  #rail { width: 220px; }
  #insp { width: 260px; }
}
@media (max-width: 620px) {
  .nav .wrap, .site-wrap { min-height: 62px; }
  .btn, .site-cta { min-height: 44px; }
  #rail { width: min(82vw, 300px); }
  #insp { width: min(86vw, 320px); }
}

/* Keep the reference-led typography and gallery surfaces consistent in the editor. */
html { scrollbar-color: #c9c3d7 transparent; }
body { background: #fff !important; }
.logo, .site-brand { font-style: italic; font-weight: 900 !important; letter-spacing: -.045em; }
h1, h2, .thead h1, .hero h1, #close h2, .close h2, .closing h2, .home-close h2 { font-family: var(--serif) !important; font-style: italic; font-weight: 900 !important; letter-spacing: -.045em; text-transform: uppercase; }
.thead { color: var(--ink) !important; background: #fff !important; background-image: radial-gradient(ellipse at 82% 20%, rgba(102,48,255,.09), transparent 44%) !important; }
.thead h1, .thead h1 em, .thead p { color: var(--ink) !important; }
.thead h1 em { color: var(--violet) !important; opacity: 1; }
.hero { color: var(--ink) !important; background: #fff !important; background-image: radial-gradient(ellipse at 84% 12%, rgba(102,48,255,.1), transparent 46%) !important; }
.hero h1, .hero .lead, .hero .facts b { color: var(--ink) !important; }
.hero h1 em, .hero .mono { color: var(--violet) !important; }
.hero .btn-ghost { color: var(--ink) !important; border-color: var(--line2) !important; }
.hero .facts, .hero .facts div + div { border-color: var(--line) !important; }
.hero .eyebrow, .thead .eyebrow { color: var(--violet) !important; }
.hero .scribble path { stroke: var(--violet) !important; }
#close, .close, .closing, .home-close { color: #fff !important; background: #120042 radial-gradient(ellipse at 85% 18%, rgba(102,48,255,.48), transparent 45%) !important; }
#close h2, .close h2, .closing h2, .home-close h2 { color: #fff !important; }
#close .dot, .close .dot, .closing .dot { color: var(--lime) !important; }
#cv { background: #f2f0f7 !important; }
.nav .wrap .account-signup, .site-wrap .site-account-signup { background: var(--ink) !important; border-color: var(--ink) !important; }
.nav .wrap .account-signup:hover, .site-wrap .site-account-signup:hover { background: var(--violet) !important; border-color: var(--violet) !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1 !important; translate: none !important; }
}

/* Shared Woday-inspired system for gallery, workspace, accounts, and editor. */
:root {
  color-scheme: dark;
  --bg: #08090a; --bg2: #111214; --bg3: #191a1d;
  --p1: #111214; --p2: #17181b; --p3: #222327;
  --ink: #f8f8f6; --tx: #f8f8f6; --mute: #a6a7aa; --mu: #a6a7aa;
  --line: rgba(255,255,255,.12); --line2: rgba(255,255,255,.2); --bd: rgba(255,255,255,.12); --bd2: rgba(255,255,255,.2);
  --violet: #f16f55; --violet-deep: #08090a; --lime: #f4bf74; --ac: #f16f55; --ac2: #ff8b70;
  --acd: rgba(241,111,85,.13); --acb: rgba(241,111,85,.48); --coral: #f16f55; --co: #f16f55;
  --paper: #fbfbfa; --serif: "Inter", "Space Grotesk", Arial, sans-serif; --sans: "Inter", "Space Grotesk", Arial, sans-serif;
  --radius-control: 12px; --radius-card: 18px; --radius-panel: 34px; --shadow-card: 0 22px 64px rgba(0,0,0,.2);
}
html { color-scheme: dark; background: #08090a; scrollbar-color: rgba(255,255,255,.24) transparent; }
body { color: var(--ink) !important; background: var(--bg) !important; font-family: var(--sans) !important; }
button, input, select, textarea { font-family: var(--sans); }
::selection { background: #f4bf74; color: #101113; }
:focus-visible { outline: 2px solid #f4bf74 !important; outline-offset: 3px !important; }
.skip, .skip-link { background: #f4bf74 !important; color: #101113 !important; }

.nav, .site-nav, .bar, .nav .wrap, .site-wrap, #top, .toolbar, #rail, #insp { background: #111214 !important; color: #f8f8f6 !important; border-color: rgba(255,255,255,.12) !important; backdrop-filter: blur(14px) !important; }
.nav, .site-nav, .bar { position: sticky; top: 0; z-index: 50; }
.nav .wrap, .site-wrap { min-height: 68px; }
.logo, .site-brand { color: #f8f8f6 !important; font: 700 21px/1 var(--sans) !important; letter-spacing: -.055em !important; }
.logo em, .site-brand em { color: #f8f8f6 !important; font-style: normal !important; font-weight: 500 !important; }
.mark i:first-child, .site-mark i:first-child { background: #f16f55 !important; border-radius: 6px !important; }
.mark i:last-child, .site-mark i:last-child { background: #f4bf74 !important; border: 2px solid #111214 !important; }
.links a, .site-links a { color: rgba(255,255,255,.68) !important; transition: color .22s ease !important; }
.links a:hover, .links a[aria-current="page"], .site-links a:hover, .site-links a[aria-current="page"] { color: #fff !important; }
.links a::after, .site-links a::after { background: #f4bf74 !important; }
.burger, .site-burger { border-color: rgba(255,255,255,.2) !important; border-radius: 50% !important; color: #fff !important; }
.burger i, .site-burger i { background: #fff !important; }
.nav .wrap .account-link, .site-wrap .site-account-link { border-color: rgba(255,255,255,.2) !important; color: #fff !important; }
.nav .wrap .account-signup, .site-wrap .site-account-signup { border-color: #fff !important; background: #fff !important; color: #101113 !important; }
.nav .wrap .account-signup:hover, .site-wrap .site-account-signup:hover { border-color: #e8e8e5 !important; background: #e8e8e5 !important; color: #101113 !important; }
.nav .wrap .account-profile, .site-wrap .site-account-profile { border-color: rgba(255,255,255,.2) !important; background: #17181b !important; color: #fff !important; }

.btn, .site-cta, button.btn, a.btn { min-height: 40px; border-radius: 999px; font-family: var(--sans) !important; font-weight: 600; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.75,.25,1) !important; }
.btn:hover, .site-cta:hover { transform: translateY(-2px); }
.btn:active, .site-cta:active { transform: translateY(0) scale(.98); }
.btn-lime, .btn.pri, .btn.primary { border-color: #f16f55 !important; background: #f16f55 !important; color: #101113 !important; }
.btn-lime:hover, .btn.pri:hover, .btn.primary:hover { border-color: #ff8b70 !important; background: #ff8b70 !important; color: #101113 !important; }
.site-cta { border: 0 !important; background: #fff !important; color: #101113 !important; }
.site-cta:hover { background: #e8e8e5 !important; color: #101113 !important; }
.btn-ghost, .btn.ghost, .btn-line, .btn-line:hover { border-color: rgba(255,255,255,.14); color: #f8f8f6; }
.btn-ghost:hover, .btn.ghost:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
button:disabled, .btn:disabled { opacity: .5 !important; cursor: wait !important; transform: none !important; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { border-radius: 12px !important; border-color: #dededb !important; background: #fff !important; color: #101113 !important; caret-color: #f16f55; }
input::placeholder, textarea::placeholder { color: #77787b !important; opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: #f16f55; }
kbd { border-color: rgba(255,255,255,.2) !important; border-radius: 6px; background: #202124 !important; color: #d5d5d2 !important; }

.card, .panel, .form, .sign-in-panel, .detail-card, .fgrid > *, .mgrid > *, .tgrid > *, .grid4 > *, .limit-card { border-color: #e8e8e5 !important; border-radius: 18px !important; background-color: #fbfbfa !important; color: #101113 !important; box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.card, .fc, .tile, .path-list a { transition: transform .25s cubic-bezier(.2,.75,.25,1), background-color .22s ease, border-color .22s ease, box-shadow .22s ease; }
.card:hover, .fc:hover, .tile:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.11); }
.stage, .preview, .canvas-wrap, .canvas-area { border-color: rgba(16,17,19,.1) !important; border-radius: 18px !important; background-color: #eeefed !important; }
.thead, .hero, .ph-hero, main.wrap { width: min(1240px, calc(100% - 48px)); margin: 16px auto 24px; padding: clamp(36px, 6vw, 76px) 0 !important; overflow: hidden; border: 0; border-radius: 36px; background: #fbfbfa !important; color: #101113 !important; }
.thead h1, .thead h1 em, .thead p, .hero h1, .hero .lead, .hero .facts b, .ph-hero h1, .ph-hero h1 em, .sec-head h2, .vhead h1, .blk h2, .blk h3 { color: #101113 !important; }
.thead h1, .hero h1, .ph-hero h1 { font: 800 clamp(3rem, 6.5vw, 6.3rem)/.95 var(--sans) !important; letter-spacing: -.07em !important; text-transform: none !important; }
.thead h1 em, .hero h1 em, .ph-hero h1 em { font-style: normal !important; }
.thead p, .hero .lead, .ph-hero .who p, .sec-head p, .vhead p { color: #737478 !important; }
.thead .eyebrow, .hero .eyebrow, .ph-hero .eyebrow { color: #747579 !important; }
.thead .wrap, .hero .wrap, .ph-hero .wrap { width: min(1080px, calc(100% - 48px)); }
.hero .btn-ghost { border-color: #d9d9d6 !important; background: #fff !important; color: #101113 !important; }
.hero .btn-ghost:hover { background: #f1f1ef !important; }
.hero .facts, .hero .facts div + div { border-color: #e7e7e4 !important; }
.hero .pc.g { background: #f4bf74 !important; color: #101113 !important; }
.hero .pc.g b { color: #101113 !important; }
.hero .sticker circle:first-of-type { fill: #f4bf74 !important; }
.hero .sticker text { fill: #101113 !important; }
.hero .scribble path { stroke: #f16f55 !important; }
.sec#featured, .sec#results, .sec.rec { width: min(1240px, calc(100% - 48px)); margin: 0 auto 24px; padding: clamp(36px, 5vw, 64px) 0; border: 0; border-radius: 34px; background: #fbfbfa; color: #101113; }
.sec#featured > .wrap, .sec#results > .wrap, .sec.rec > .wrap { width: min(1080px, calc(100% - 48px)); padding-inline: 0; }
.sec-head h2, .vhead h1, .blk h2, .blk h3 { font-family: var(--sans); letter-spacing: -.045em; }
.eyebrow { display: inline-flex !important; color: #77787b !important; font: 550 10px/1.4 var(--sans) !important; letter-spacing: .12em !important; text-transform: uppercase; }
.busy-eyebrow, .work-eyebrow { display: inline-flex !important; color: #77787b !important; }
.bar { border-bottom: 1px solid rgba(255,255,255,.12) !important; }
.search, .chips, .sortw, .rbar { color: #101113; }
.chip { border-radius: 999px !important; }
.chip:hover, .tab:hover, .stab:hover { background-color: rgba(255,255,255,.08) !important; color: #fff !important; }
.tab.on, .stab.on, .chip[aria-pressed="true"], .tab[aria-selected="true"] { border-color: rgba(241,111,85,.45) !important; background: rgba(241,111,85,.16) !important; color: #fff !important; }
.save-state[data-state="saved"], .note, .status.good { color: #bceba2 !important; }
.save-state[data-state="error"], .status.is-error, .delete-account-status { color: #ff8b70 !important; }
.main { background: transparent !important; }
.main .vhead, .main .blk, .main .limit-section { padding: clamp(24px,4vw,48px); border: 0; border-radius: 28px; background: #fbfbfa; color: #101113; }
.main .vhead { margin-bottom: 20px; }
.main .limit-card { box-shadow: none; }

/* Editor toolbar and panels. */
#top { z-index: 40; height: 58px; min-height: 58px; gap: 9px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.12) !important; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
#top .center .grp, #top .right .grp, .grp { gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 13px !important; background: #191a1d !important; }
#top .btn, .grp .btn, .btn.studio { min-height: 34px; border-color: transparent !important; border-radius: 9px !important; background: transparent !important; color: #dededb !important; }
#top .btn:hover, .grp .btn:hover, .btn.studio:hover { border-color: rgba(255,255,255,.1) !important; background: rgba(255,255,255,.08) !important; color: #fff !important; }
#top .btn.pri, #top .btn.pri:hover { border-color: #fff !important; background: #fff !important; color: #101113 !important; }
#top .vs { background: rgba(255,255,255,.16); }
#top .zb, #top .export-quota, #top .save-state, #top .exl { color: #a6a7aa !important; }
#top .save-state[data-state="saved"] { color: #bceba2 !important; }
#top .save-state[data-state="error"] { color: #ff8b70 !important; }
#top .quality-select { max-width: 136px; }
#rail, #insp { background: #111214 !important; color: #f8f8f6 !important; }
#rail { width: 270px; border-right: 1px solid rgba(255,255,255,.12) !important; }
#insp { width: 300px; border-left: 1px solid rgba(255,255,255,.12) !important; }
.stabs { gap: 4px; padding: 9px 8px 0; border-color: rgba(255,255,255,.12) !important; }
.stab { height: 54px; border-bottom-width: 2px; border-radius: 11px 11px 0 0; color: #a6a7aa !important; }
.stab.on { border-bottom-color: #f16f55 !important; background: rgba(241,111,85,.12) !important; color: #fff !important; }
.stab.on .i { color: #ff8b70 !important; }
.stab.dot:after { background: #f16f55 !important; }
.stab .cnt { background: #242529 !important; color: #dededb !important; }
.spanes { padding: 14px; }
.st { color: #a6a7aa !important; font: 600 10px/1.4 var(--sans) !important; letter-spacing: .1em !important; }
.tool { min-height: 40px; border-radius: 10px !important; color: #dededb; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.tool:hover { background: rgba(255,255,255,.07) !important; }
.tool.on { border-color: rgba(241,111,85,.28) !important; background: rgba(241,111,85,.13) !important; color: #fff; }
.tool.on .i { color: #ff8b70 !important; }
.seg { padding: 4px; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 12px !important; background: #191a1d !important; }
.seg button { min-height: 32px; border-radius: 8px; color: #a6a7aa; }
.seg button.on { background: #2a2b2f !important; color: #fff !important; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset !important; }
.row label, .sw { color: #c8c8c5 !important; }
.row b { color: #fff !important; }
.row .hint, .hint { color: #a6a7aa !important; }
input[type="range"] { accent-color: #f16f55 !important; }
.sw i { background: #2b2c30 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16) !important; }
.sw i:after { background: #dededb !important; }
.sw input:checked + i { background: #f16f55 !important; box-shadow: none !important; }
.sw input:checked + i:after { background: #101113 !important; }
.lay, .chip, .srco { border-radius: 10px !important; }
.lay:hover, .srco:hover { border-color: rgba(241,111,85,.5) !important; background: #222327 !important; }
.lay.on, .lay[aria-selected="true"] { border-color: rgba(241,111,85,.5) !important; background: rgba(241,111,85,.13) !important; }
.lay .ib.add, .lay .ib.add:hover { background: #f16f55 !important; color: #101113 !important; }
.ti .tin, .srcc h4 { color: #f8f8f6 !important; font: 650 17px/1.25 var(--sans) !important; letter-spacing: -.03em; }
.ti .tid, .ti ul { color: #c5c5c2 !important; }
.ti li::marker { color: #f16f55 !important; }
#cv { background: #e8e9e7 radial-gradient(rgba(16,17,19,.12) 1px,transparent 1px) 0 0/22px 22px !important; }
#cv .em-t { color: #101113 !important; font: 700 clamp(20px,2.1vw,26px)/1.15 var(--sans) !important; letter-spacing: -.045em; }
#cv .hint { color: #6b6c70 !important; }
#cv .pill { border-color: rgba(16,17,19,.12) !important; border-radius: 999px !important; background: rgba(251,251,250,.92) !important; color: #101113 !important; backdrop-filter: blur(10px); }
#help, .srcc, .pkc, .pvc { border: 1px solid rgba(255,255,255,.12) !important; border-radius: 20px !important; background: #151619 !important; color: #f8f8f6 !important; box-shadow: 0 24px 72px rgba(0,0,0,.36) !important; }
#help h4, .pkc b, .pvc b { color: #fff; font-family: var(--sans); }
.srco { border-color: rgba(255,255,255,.12) !important; background: #1c1d20 !important; color: #f8f8f6; }
.srco small, .srcc .hint { color: #a6a7aa !important; }
.srco .i { color: #ff8b70 !important; }
#src, #workProgress { background: rgba(5,6,7,.7) !important; backdrop-filter: blur(8px); }
.work-card, .busy-card { border: 1px solid #e8e8e5 !important; border-radius: 22px !important; background: #fbfbfa !important; color: #101113 !important; box-shadow: 0 28px 84px rgba(0,0,0,.32) !important; }
.work-copy h2, .busy-card h2 { color: #101113 !important; font-family: var(--sans) !important; font-weight: 750 !important; letter-spacing: -.05em; }
.work-copy p, .busy-card p, .work-meta, .busy-meta { color: #737478 !important; }
.work-track, .busy-track { overflow: hidden; border-radius: 999px !important; background: #e8e8e5 !important; }
.work-track i, .busy-track i { background: #f16f55 !important; }
.load-spinner, .busy-spinner { border-color: #dededb !important; border-top-color: #f16f55 !important; }
.loading, [aria-busy="true"] { color: #737478; }
[aria-busy="true"] .skeleton { animation: studio-sheen 1.5s ease-in-out infinite; }
@keyframes studio-sheen { 50% { opacity: .55; } }
.template-loading { min-height: 50vh; color: #a6a7aa; font: 12px var(--sans); }
.template-loading::before { border-color: #3b3c40; border-top-color: #f16f55; }
.toast { border: 1px solid rgba(255,255,255,.12) !important; border-radius: 13px !important; background: #17181b !important; color: #f8f8f6 !important; box-shadow: 0 16px 44px rgba(0,0,0,.25); }
.delete-panel { border-color: rgba(241,111,85,.4) !important; }
.delete-dialog-actions .btn.dng, .btn.dng { border-color: rgba(241,111,85,.38) !important; color: #f16f55 !important; }
.btn.dng:hover { background: rgba(241,111,85,.12) !important; }
#close, .close, .closing, .home-close { color: #fff !important; background: #111214 !important; border-radius: 34px 34px 0 0; }
#close h2, .close h2, .closing h2, .home-close h2 { color: #fff !important; font-family: var(--sans) !important; font-style: normal !important; text-transform: none !important; }
#close .btn-dark, .close .btn-dark, .closing .btn-dark, .home-close .btn-dark { background: #fff !important; color: #101113 !important; }
#close .dot, .close .dot, .closing .dot { color: #f4bf74 !important; }
footer, .footer { border-top: 1px solid rgba(255,255,255,.12); background: transparent !important; color: #fff !important; }
footer a:hover, .footer a:hover { color: #f4bf74 !important; }

@media (max-width: 860px) {
  .links.open, .site-links.open { border: 1px solid rgba(255,255,255,.12) !important; border-radius: 18px !important; background: #151619 !important; box-shadow: 0 18px 50px rgba(0,0,0,.36) !important; }
  .links.open a, .site-links.open a { border-color: rgba(255,255,255,.1) !important; color: #f8f8f6 !important; }
  #rail { width: 240px; }
  #insp { width: 280px; }
  .thead, .hero, .ph-hero, main.wrap, .sec#featured, .sec#results, .sec.rec { width: calc(100% - 36px); border-radius: 28px; }
}
@media (max-width: 620px) {
  .nav .wrap, .site-wrap { min-height: 62px; }
  .btn, .site-cta { min-height: 42px; }
  #rail { width: min(86vw, 320px); }
  #insp { width: min(86vw, 320px); }
  #top { height: 52px; min-height: 52px; padding-inline: 8px; }
  .thead, .hero, .ph-hero, main.wrap, .sec#featured, .sec#results, .sec.rec { width: calc(100% - 24px); margin-bottom: 14px; border-radius: 24px; }
  .thead, .hero, .ph-hero, main.wrap { padding-block: 34px !important; }
  .thead .wrap, .hero .wrap, .ph-hero .wrap, .sec#featured > .wrap, .sec#results > .wrap, .sec.rec > .wrap { width: calc(100% - 32px); }
  .thead h1, .hero h1, .ph-hero h1 { font-size: clamp(2.7rem, 11vw, 4.1rem) !important; }
  .sec#featured, .sec#results, .sec.rec { padding-block: 36px; }
  #top .save-state { min-width: 60px; max-width: 80px; font-size: 8px; }
  #top .quality-select { width: 95px; max-width: 95px; }
  #top .export-quota { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1 !important; translate: none !important; }
}

/* Fit the gallery and publishing headings to the new centered display scale. */
.thead .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.thead h1 { max-width: 920px; margin: 4px auto 0; font-size: clamp(3.2rem, 6vw, 6rem) !important; }
.thead .wrap > p { max-width: 60ch; margin: 0 auto; }
.thead .eyebrow { justify-content: center; }
main.wrap { padding-right: clamp(24px, 6vw, 76px) !important; padding-left: clamp(24px, 6vw, 76px) !important; }
main.wrap > .eyebrow { display: flex !important; justify-content: center; }
main.wrap h1 { max-width: 920px; margin: 12px auto 18px; color: #101113 !important; font: 800 clamp(2.8rem, 6vw, 5.8rem)/.96 var(--sans) !important; font-style: normal !important; letter-spacing: -.07em !important; text-align: center; text-transform: none !important; }
main.wrap h1 em { color: #101113 !important; font-style: normal !important; }
main.wrap > p { max-width: 66ch; margin-right: auto; margin-left: auto; color: #737478 !important; text-align: center; }
main.wrap .form { background: #f2f2f0 !important; }
.main { min-height: calc(100vh - 100px); margin: 16px; padding: clamp(24px, 4vw, 52px) !important; border-radius: 30px; background: #fbfbfa !important; color: #101113 !important; }
.main .vhead { padding: 0 0 24px; border-bottom: 1px solid #e8e8e5; border-radius: 0; background: transparent; }
.main .blk, .main .limit-section { box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.main [role="alert"], .main .error, .main .err { border: 1px solid #f0d8cf; border-radius: 16px; background: #fff7f3; color: #743c30; }
@media (max-width: 620px) {
  .main { min-height: calc(100vh - 82px); margin: 10px; padding: 18px !important; border-radius: 22px; }
  main.wrap { padding-right: 20px !important; padding-left: 20px !important; }
  main.wrap h1 { font-size: clamp(2.6rem, 10vw, 4.1rem) !important; }
}

/* Keep terminal loading errors readable without exposing unfinished page content. */
.loading.error {
  justify-content: center;
  max-width: min(700px, 100%);
  margin: 34px auto 0;
  padding: 16px 20px;
  border: 1px solid #f0d8cf;
  border-radius: 16px;
  background: #fff7f3;
  color: #743c30 !important;
  text-align: center;
}

/* Keep the account page readable after its legacy dark styles meet the light theme. */
.ph-hero .avatar { background: #8ce950 !important; color: #120042 !important; }
.ph-hero .avatar:after { border-color: #fbfbfa !important; }
.ph-hero .btn-ghost { border-color: #d9d9d6 !important; background: #fff !important; color: #101113 !important; }
.ph-hero .btn-ghost:hover { background: #f1f1ef !important; }
.ph-hero .admin-account-pill,
main#main > .wrap .row h2 em,
main#main > .wrap .plan-name em { border-color: #6630ff !important; color: #5120df !important; }
main#main > .wrap .dl div { border-color: #e2dfeb !important; background: #f3f1f8 !important; }
main#main > .wrap .dl dt { color: #4e4960 !important; }
main#main > .wrap .dl dd { color: #120042 !important; font-weight: 600; }
main#main > .wrap .panel .btn-line { border-color: #6630ff !important; color: #3e17a7 !important; }
main#main > .wrap .panel .btn-line:hover { border-color: #5120df !important; color: #5120df !important; }
dialog.delete-account-dialog .delete-account-status { color: #a21f3a !important; }

/* The shared footer is dark, so its supporting text needs a light foreground. */
footer, .footer { background: #111214 !important; }
footer .fgrid > *, .footer .fgrid > * { border-color: transparent !important; background: transparent !important; color: #f8f8f6 !important; box-shadow: none !important; }
footer .fgrid p, footer .fgrid ul a, footer .fbot,
.footer .fgrid p, .footer .fgrid ul a, .footer .fbot { color: #c9c6d1 !important; }
footer .fgrid h4, .footer .fgrid h4 { color: #8ce950 !important; }
footer .fgrid ul a:hover, .footer .fgrid ul a:hover { color: #fff !important; }
