/* youmadeit.pro – the two bars fixed at the bottom of every page (components/lunaris/JupiterDock.tsx)
   and the shared design tokens of the youmadeit.pro look (light + dark). */

:root {
  --jx-page: #faf9fd;
  --jx-text: #18151d;
  --jx-muted: #625d69;
  --jx-glass: rgba(255, 255, 255, .73);
  --jx-border: rgba(85, 75, 105, .20);
  --jx-gold: #b39462;
  --jx-gold-text: #a8854f;
  --jx-accent: #d9582d;
  --jx-shadow: 0 7px 20px rgba(36, 24, 44, .09);
  --jx-bg: url('/lunaris/jupiter/light/background.jpg');
  --jx-serif: Georgia, 'Times New Roman', serif;
}
html[data-theme='dark'] {
  --jx-page: #0c0b13;
  --jx-text: #f3efec;
  --jx-muted: #c1bbc8;
  --jx-glass: rgba(34, 33, 43, .80);
  --jx-border: rgba(218, 213, 230, .22);
  --jx-gold-text: #e9c46a;
  --jx-accent: #f0c24b;
  --jx-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  --jx-bg: url('/lunaris/jupiter/dark/background.jpg');
}

/* the wordmark everywhere (LunarisLogo / .lx-logo text) in the youmadeit.pro serif */
.lx-logo { font-family: var(--jx-serif) !important; font-weight: 400 !important; letter-spacing: -.03em !important; }
.jx-mark { display: block; width: 100%; height: auto; color: var(--jx-text); overflow: visible; }

.jx-glass { background: var(--jx-glass); border: 1px solid var(--jx-border); box-shadow: var(--jx-shadow); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }

/* room for the bars at the end of every page */
.jx-dock-space { height: calc(150px + env(safe-area-inset-bottom)); }

.jx-dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 960; transform: translateX(-50%); width: min(calc(100% - 24px), 600px); display: grid; justify-items: center; gap: 8px; color: var(--jx-text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; pointer-events: none; }
.jx-dock > * { pointer-events: auto; }
.jx-dock button { font: inherit; color: inherit; cursor: pointer; }

/* ---- tools: light/dark · Change · share ---- */
.jx-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(67%, 400px); padding: 7px 16px 7px 10px; border-radius: 30px; }
.jx-mode { display: inline-flex; align-items: center; gap: 4px; }
.jx-mode button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; opacity: .75; transition: background-color .25s, opacity .25s; }
.jx-mode button.is-on { opacity: 1; background: color-mix(in srgb, var(--jx-text) 12%, transparent); box-shadow: inset 0 0 0 1px var(--jx-border); }
/* light mode in the mockup shows just the moon to switch – the sun is the active state */
.jx-change, .jx-share { display: inline-flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; background: none; font-size: 15px; }
.jx-sep { width: 1px; height: 24px; background: var(--jx-border); flex: none; }
.jx-icon { flex: none; }

/* ---- navigation ---- */
.jx-nav { display: flex; align-items: center; gap: 4px; width: 100%; padding: 12px 10px 10px 16px; border-radius: 24px; }
.jx-brand { flex: 0 0 27%; max-width: 150px; display: block; color: var(--jx-text); }
.jx-sep--nav { height: 40px; margin: 0 4px; }
.jx-item { flex: 1; display: grid; justify-items: center; gap: 5px; padding: 2px 0; color: var(--jx-text) !important; text-decoration: none !important; font-size: clamp(11px, 3.2vw, 14px); line-height: 1.1; opacity: .9; }
.jx-item.is-on { color: var(--jx-gold-text) !important; opacity: 1; }
.jx-item:hover { opacity: 1; }
@media (max-width: 380px) { .jx-nav { padding-left: 10px; } .jx-sep--nav { display: none; } }

.jx-toast { position: absolute; bottom: calc(100% + 10px); padding: 8px 16px; border-radius: 99px; background: var(--jx-text); color: var(--jx-page); font-size: 13px; font-weight: 600; }

/* the old floating "Vorschau zu deinem Profil" button gives way to the bars */
.ps-area { display: none !important; }
/* the profile's save bar (edit mode) sits above the bars */
.apf-savebar { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }

/* ===================== v2: legible bars + soft fade (mockup) ===================== */
:root { --jx-bar: rgba(255, 255, 255, .93); --jx-bar-border: rgba(120, 100, 140, .18); --jx-bar-shadow: 0 14px 36px rgba(60, 40, 90, .18), 0 2px 6px rgba(60, 40, 90, .08); --jx-pill: #f4e4c6; --jx-pill-ink: #8a6430; --jx-fade-to: #f6f1fb; }
html[data-theme='dark'] { --jx-bar: rgba(26, 24, 32, .94); --jx-bar-border: rgba(255, 255, 255, .16); --jx-bar-shadow: 0 16px 40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07); --jx-pill: rgba(255, 255, 255, .12); --jx-pill-ink: #e9c46a; --jx-fade-to: #0c0b13; }

/* the page fades out behind the bars */
.jx-fade { position: fixed; left: 0; right: 0; bottom: 0; z-index: 955; height: calc(210px + env(safe-area-inset-bottom)); pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--jx-fade-to) 0%, transparent) 0%, color-mix(in srgb, var(--jx-fade-to) 70%, transparent) 45%, var(--jx-fade-to) 82%); }

.jx-dock { gap: 10px; width: min(calc(100% - 20px), 640px); }
.jx-dock .jx-glass { background: var(--jx-bar); border: 1px solid var(--jx-bar-border); box-shadow: var(--jx-bar-shadow); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }

/* tools: light/dark · Change · share */
.jx-tools { width: min(78%, 470px); padding: 7px 18px 7px 8px; border-radius: 99px; }
.jx-mode { gap: 6px; }
.jx-mode button { width: 50px; height: 50px; opacity: .85; }
.jx-mode button.is-on { opacity: 1; background: var(--jx-pill); box-shadow: inset 0 0 0 1px var(--jx-bar-border); }
html:not([data-theme='dark']) .jx-mode button.is-on { color: var(--jx-pill-ink); }
.jx-mode .jx-icon, .jx-share .jx-icon, .jx-change .jx-icon { width: 28px; height: 28px; }
.jx-change { font-size: clamp(16px, 4.6vw, 19px); gap: 10px; }
.jx-sep { height: 32px; }

/* navigation */
.jx-nav { gap: 2px; padding: 12px 12px 12px 18px; border-radius: 30px; }
.jx-brand { flex: 0 0 26%; max-width: 160px; }
.jx-sep--nav { height: 52px; margin: 0 6px; }
.jx-item { gap: 6px; padding: 8px 2px 7px; border-radius: 18px; font-size: clamp(12px, 3.6vw, 15px); opacity: 1; transition: background-color .25s, color .25s; }
.jx-item .jx-icon { width: 28px; height: 28px; }
.jx-item.is-on { background: var(--jx-pill); color: var(--jx-pill-ink) !important; box-shadow: inset 0 0 0 1px var(--jx-bar-border); }
@media (max-width: 380px) { .jx-nav { padding-left: 12px; } .jx-item { font-size: 11.5px; } }
.jx-dock-space { height: calc(200px + env(safe-area-inset-bottom)); }
.apf-savebar { bottom: calc(190px + env(safe-area-inset-bottom)) !important; }
.jsc-logo, .jsc-title, .jsc-slide, .jsc-end, .jsw-body { bottom: calc(185px + env(safe-area-inset-bottom)) !important; }

/* ===================== desktop: the sidebar on the left (JupiterSidebar) ===================== */
:root { --jx-side: 300px; --jx-side-bg: rgba(250, 248, 252, .96); --jx-side-line: rgba(80, 70, 100, .12); --jx-side-on: #f5e8d2; --jx-side-on-ink: #1d1913; }
html[data-theme='dark'] { --jx-side-bg: rgba(18, 16, 24, .97); --jx-side-line: rgba(255, 255, 255, .1); --jx-side-on: rgba(233, 196, 106, .14); --jx-side-on-ink: #f3e3bd; }
html.jx-slim { --jx-side: 84px; }
.jx-side { display: none; }

@media (min-width: 1100px) {
  html.jx-has-side body { padding-left: var(--jx-side); transition: padding-left .3s ease; }
  .jx-dock, .jx-fade, .jx-dock-space { display: none !important; }
  .jx-side { position: fixed; z-index: 950; left: 0; top: 0; bottom: 0; width: var(--jx-side); display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 16px; overflow-y: auto; scrollbar-width: none;
    background: var(--jx-side-bg); border-right: 1px solid var(--jx-side-line); color: var(--jx-text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; transition: width .3s ease; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .jx-side a { color: inherit; text-decoration: none; }
  .jx-side button { font: inherit; color: inherit; cursor: pointer; }
  .jx-side__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 10px 12px; }
  .jx-side__logo { display: block; width: 168px; }
  .jx-side__fold { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--jx-text) 6%, transparent); font-size: 18px; }
  .jx-side__search { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; padding: 10px 14px; border: 1px solid var(--jx-side-line); border-radius: 14px; background: color-mix(in srgb, var(--jx-page) 70%, white 30%); }
  html[data-theme='dark'] .jx-side__search { background: rgba(255, 255, 255, .05); }
  .jx-side__search input { flex: 1; min-width: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; outline: none; }
  .jx-side__label { margin: 16px 0 6px 12px; font-family: var(--jx-serif); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
  .jx-side__nav { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--jx-side-line); }
  .jx-side__item { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font-size: 16px; transition: background-color .2s; }
  .jx-side__item:hover { background: color-mix(in srgb, var(--jx-text) 5%, transparent); }
  .jx-side__item.is-on { background: var(--jx-side-on); color: var(--jx-side-on-ink); font-weight: 700; }
  .jx-side__item.is-on::before { content: ""; position: absolute; left: -18px; top: 6px; bottom: 6px; width: 4px; border-radius: 0 4px 4px 0; background: var(--jx-accent); }
  .jx-side__actions { display: grid; gap: 10px; margin: 14px 0 4px; }
  .jx-side__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--jx-text); border-radius: 12px; font-family: var(--jx-serif); font-size: 17px; }
  .jx-side__btn--dark { background: var(--jx-text); color: var(--jx-page) !important; }
  .jx-side__look { display: grid; gap: 2px; padding: 4px 0 12px; border-bottom: 1px solid var(--jx-side-line); }
  .jx-side__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 2px 0 8px; padding: 4px; border-radius: 99px; background: color-mix(in srgb, var(--jx-text) 6%, transparent); }
  .jx-side__mode button { height: 38px; border: 0; border-radius: 99px; background: none; display: grid; place-items: center; opacity: .75; }
  .jx-side__mode button.is-on { opacity: 1; background: var(--jx-side-on); color: var(--jx-side-on-ink); }
  .jx-side__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 14px; }
  .jx-side__join { display: grid; gap: 12px; }
  .jx-side__join p { margin: 0 4px; font-family: var(--jx-serif); font-style: italic; font-size: 15px; line-height: 1.45; opacity: .85; }
  .jx-side__link { justify-self: center; text-decoration: underline !important; font-size: 15px; }
  .jx-side__me { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--jx-side-line); }
  .jx-side__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--jx-side-on); border: 1.5px solid var(--jx-gold); }
  .jx-side__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .jx-side__who { display: grid; min-width: 0; }
  .jx-side__who strong { font-family: var(--jx-serif); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .jx-side__who small { font-size: 13px; opacity: .75; }
  .jx-side__help { display: flex; align-items: center; gap: 12px; padding: 12px 6px 0; border-top: 1px solid var(--jx-side-line); font-size: 15px; }
  .jx-side__help span { flex: 1; }

  /* slim: icons only */
  html.jx-slim .jx-side { padding-left: 12px; padding-right: 12px; }
  html.jx-slim .jx-side__logo, html.jx-slim .jx-side__search, html.jx-slim .jx-side__label, html.jx-slim .jx-side__item span, html.jx-slim .jx-side__btn span:last-child,
  html.jx-slim .jx-side__join, html.jx-slim .jx-side__who, html.jx-slim .jx-side__help span, html.jx-slim .jx-side__me > svg { display: none; }
  html.jx-slim .jx-side__head { justify-content: center; padding: 0 0 10px; }
  html.jx-slim .jx-side__item { justify-content: center; padding: 10px 0; }
  html.jx-slim .jx-side__mode { grid-template-columns: 1fr; border-radius: 16px; }
  html.jx-slim .jx-side__me { grid-template-columns: 1fr; justify-items: center; }

  /* fixed overlays of the page start right of the sidebar */
  html.jx-has-side .jsc { left: var(--jx-side); }
  .apf-savebar { bottom: 18px !important; left: calc(50% + var(--jx-side) / 2) !important; }
}
.jx-side, .jx-side * { box-sizing: border-box; }

/* ===================== pages next to the sidebar (desktop) ===================== */
/* the artwork page: no logo of its own (the sidebar carries it) */
html body .sm-top .sm-logo { display: none !important; }


@media (min-width: 1100px) {
  /* grids may shrink to the space next to the sidebar (no column wider than its share) */
  html body .sm { overflow-x: clip; }
  html body .sm-ch__inner { box-sizing: border-box; max-width: min(1200px, 100%); padding-left: clamp(28px, 3.4vw, 56px) !important; padding-right: clamp(28px, 3.4vw, 56px) !important; }
  html body .sm-hero .sm-ch__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: clamp(30px, 3.6vw, 70px); }
  html body .sm-ch--2 .sm-ch__inner > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(30px, 4vw, 80px); }
  html body .sm-ch--3 .sm-ch__inner > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 3.4vw, 64px); }
  html body .sm-ch--4 .sm-ch__inner > div { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(30px, 4vw, 80px); }
  html body .sm-ch--5 .sm-ch__inner > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); column-gap: clamp(30px, 4vw, 80px); }
  html body .sm-ch--6 .sm-ch__inner > div { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(30px, 4vw, 80px); }
  html body .sm-hero__art, .sm-hero__text, .sm-hero__buy, .sm-thumbs { min-width: 0; }
  /* type follows the space beside the sidebar, long titles break instead of running out */
  html body .sm-h1 { font-size: clamp(40px, calc((100vw - var(--jx-side)) * .05), 76px); overflow-wrap: anywhere; hyphens: auto; }
  html body .sm-h2 { font-size: clamp(36px, calc((100vw - var(--jx-side)) * .042), 64px); overflow-wrap: anywhere; }
  html body .sm-nav { gap: clamp(16px, 2vw, 30px); flex-wrap: wrap; }
}

/* content containers measure the room next to the sidebar, not the whole window */
@media (min-width: 1100px) {
  html.jx-has-side { --jx-room: calc(100vw - var(--jx-side) - 16px); }
  html.jx-has-side .lunaris-shell, html.jx-has-side .lx-shell, html.jx-has-side .lx .lunaris-shell, html.jx-has-side .lunaris-ft .lunaris-shell { width: min(calc(var(--jx-room) * .92), 1440px); }
  html.jx-has-side .la-shell, html.jx-has-side .la-page .lunaris-shell, html.jx-has-side .lg-shell, html.jx-has-side .lg .lunaris-shell { width: min(calc(var(--jx-room) * .9), 1240px); }
  html.jx-has-side .lx-shell--narrow { max-width: 1180px; }
}

/* ===================== showcase open (ShowcasePlayer): no bottom bars, the film uses the full height ===================== */
html.jsc-open .jx-dock, html.jsc-open .jx-fade { display: none !important; }
html.jsc-open .jsc-logo, html.jsc-open .jsc-title, html.jsc-open .jsc-slide, html.jsc-open .jsc-end, html.jsc-open .jsw-body { bottom: calc(28px + env(safe-area-inset-bottom)) !important; }
html.jsc-open .jsx { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

/* ===================== phones: the one control bar + its menu (JupiterControl in JupiterDock.tsx) =====================
   The former two bars (tools + navigation) and the catalogue's own bottom bar are gone everywhere. */
.jx-dock, .jx-fade, .am-dock { display: none !important; }
html body .jx-dock-space { height: calc(96px + env(safe-area-inset-bottom)); }
html body .apf-savebar { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
html body .la-buybar { bottom: calc(84px + env(safe-area-inset-bottom)); }

:root { --jx-pop-bg: rgba(255, 247, 238, .93); --jx-pop-dark: #1f1b21; --jx-pop-dark-ink: #f6efe6; --jx-ctl-fade: rgba(250, 248, 252, .94); }
html[data-theme='dark'] { --jx-pop-bg: rgba(30, 27, 35, .93); --jx-pop-dark: #f3ece2; --jx-pop-dark-ink: #1b1715; --jx-ctl-fade: rgba(12, 11, 19, .94); }
/* artwork pages are dark in every theme */
.jx-ctl--dark { --jx-text: #f4efe9; --jx-border: rgba(255, 255, 255, .17); --jx-gold-text: #f0d39a; --jx-pop-bg: rgba(30, 25, 27, .9); --jx-pop-dark: #f3ece2; --jx-pop-dark-ink: #1b1715; --jx-ctl-fade: rgba(10, 8, 10, .9); }

.jx-ctl { position: fixed; z-index: 960; left: 0; right: 0; bottom: 0; color: var(--jx-text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; pointer-events: none; }
.jx-ctl > :not(.jx-ctl__fade) { pointer-events: auto; }
.jx-ctl button { font: inherit; color: inherit; cursor: pointer; }
.jx-ctl__fade { position: absolute; left: 0; right: 0; bottom: 0; height: calc(118px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--jx-ctl-fade) 34%, transparent); pointer-events: none; transition: height .3s ease; }

.jx-ctl__bar { position: relative; display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; max-width: 560px; margin: 0 auto; padding: 0 22px max(10px, env(safe-area-inset-bottom)); }
.jx-ctl__side { display: grid; place-items: center; width: 48px; height: 48px; color: inherit !important; opacity: .85; text-decoration: none; }
.jx-ctl__brand { position: relative; justify-self: center; width: min(50vw, 200px); padding: 16px 0 0; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
.jx-ctl__brand .jx-mark { color: var(--jx-text); }
.jx-ctl__chev { position: absolute; top: 2px; left: 50%; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; opacity: .8; transform: translate(-50%, 3px) rotate(225deg); transition: transform .3s ease; }
.jx-ctl.is-open .jx-ctl__chev { transform: translate(-50%, 0) rotate(45deg); }
.jx-ctl__star { position: absolute; right: 13%; top: 10px; width: 14px; height: 14px; background: radial-gradient(circle, #fff6d8 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 20%, #e9c46a 21% 29%, transparent 30% 45%, #e9c46a 46% 54%, transparent 55% 70%, #e9c46a 71% 79%, transparent 80% 95%, #e9c46a 96%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 4px rgba(233, 196, 106, .8)); }
.jx-ctl .jx-toast { position: absolute; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); }

.jx-pop { position: relative; width: min(calc(100% - 24px), 520px); margin: 0 auto 4px; padding: 20px 16px 12px; border: 1px solid var(--jx-border); border-radius: 26px; background: var(--jx-pop-bg); box-shadow: 0 26px 60px rgba(24, 12, 30, .28); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); animation: jx-pop-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes jx-pop-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.jx-pop__x { position: absolute; right: 10px; top: 8px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; opacity: .75; }

.jx-pop__main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.jx-pop__main > form { display: contents; }
.jx-pop__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 10px; border: 0; border-radius: 14px; font-family: var(--jx-serif) !important; font-size: clamp(15px, 4.4vw, 18px); line-height: 1.1; text-decoration: none !important; color: inherit !important; }
.jx-pop__btn .jx-icon { flex: none; }
.jx-pop__btn--dark { background: var(--jx-pop-dark); color: var(--jx-pop-dark-ink) !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.jx-pop__btn--gold { background: linear-gradient(180deg, #f8e6c6, #e9c993); color: #1d1913 !important; box-shadow: 0 6px 16px rgba(120, 84, 30, .2); }
.jx-pop__btn--gold:disabled { opacity: .7; }
.jx-pop__btn--line { border: 1.5px solid rgba(233, 196, 106, .8); background: transparent; }

.jx-pop__row { display: flex; align-items: center; justify-content: space-around; gap: 4px; margin-top: 10px; }
.jx-pop__row > i { flex: none; width: 1px; height: 26px; background: var(--jx-border); }
.jx-pop__row--tools { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--jx-border); }
.jx-pop__link { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 4px; border: 0; background: none; font-family: var(--jx-serif) !important; font-size: clamp(13.5px, 3.9vw, 16px); color: inherit !important; text-decoration: none !important; white-space: nowrap; }
.jx-pop__link .jx-icon { flex: none; width: 22px; height: 22px; }
.jx-pop__link.is-on .jx-icon { fill: #e0675a; stroke: #e0675a; }
.jx-pop__design { font-style: italic; }
.jx-pop__mode { display: flex; gap: 4px; }
.jx-pop__mode button, .jx-pop__icon { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; opacity: .55; }
.jx-pop__mode button.is-on, .jx-pop__icon { opacity: 1; }
.jx-pop__mode .jx-icon, .jx-pop__icon .jx-icon { width: 22px; height: 22px; }

.jx-pop__work { display: flex; align-items: center; gap: 14px; padding-right: 34px; }
.jx-pop__work img, .jx-pop__ph { flex: none; width: 64px; height: 64px; border: 1px solid rgba(233, 196, 106, .6); border-radius: 6px; object-fit: cover; background: rgba(255, 255, 255, .08); }
.jx-pop__what { flex: 1; min-width: 0; display: grid; gap: 3px; }
.jx-pop__what strong { overflow: hidden; font-family: var(--jx-serif); font-size: clamp(17px, 5vw, 21px); font-weight: 400; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.jx-pop__what small { overflow: hidden; font-family: var(--jx-serif); font-size: 13.5px; font-style: italic; opacity: .8; text-overflow: ellipsis; white-space: nowrap; }
.jx-pop__work > i { flex: none; width: 1px; align-self: stretch; margin: 6px 0; background: var(--jx-border); }
.jx-pop__price { flex: none; font-family: var(--jx-serif); font-size: clamp(17px, 5vw, 21px); font-weight: 400; color: var(--jx-gold-text); white-space: nowrap; }

.jx-pop__frames { display: grid; gap: 12px; margin-top: 16px; }
.jx-pop__frames p { margin: 0; font-size: 14px; }
.jx-pop__frames small { font-size: 12px; line-height: 1.45; opacity: .72; }
.jx-pop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--jx-border); border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: 14px !important; }
.jx-chip.is-on { border-color: #e9c46a; box-shadow: inset 0 0 0 1px #e9c46a; }
.jx-chip span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.jx-chip--gold span { background: linear-gradient(135deg, #b8893a, #f0d589 40%, #a87a2e 70%, #e9c977); }
.jx-chip--silber span { background: linear-gradient(135deg, #8e9196, #eef0f2 40%, #9a9ea4 70%, #e2e4e7); }
.jx-chip--schwarz span { background: linear-gradient(135deg, #0e0e0e, #3b3b3b 45%, #111); }
.jx-chip--eiche span { background: linear-gradient(135deg, #8a5a2b, #c99a63 40%, #9a6a38 70%, #c08d55); }
.jx-chip--ohne span { background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(127, 127, 127, .5) 4px 5px); }

/* the chosen frame, right on the painting */
html[data-jx-frame='silber'] .sm-frame { background: linear-gradient(135deg, #8e9196, #eef0f2 28%, #9a9ea4 55%, #e2e4e7 80%, #7d8086); }
html[data-jx-frame='schwarz'] .sm-frame { background: linear-gradient(135deg, #0d0d0d, #3a3a3a 30%, #0d0d0d 60%, #2b2b2b); }
html[data-jx-frame='eiche'] .sm-frame { background: linear-gradient(135deg, #8a5a2b, #c99a63 30%, #9a6a38 60%, #c08d55); }
html[data-jx-frame='ohne'] .sm-frame { padding: 0; background: none; }
.sm-frame { transition: background .4s ease, padding .4s ease; }

html.jsc-open .jx-ctl { display: none !important; }
@media (min-width: 1100px) { .jx-ctl { display: none !important; } }

/* the artist's name: centred at the top of every artwork page on phones */
@media (max-width: 979px) {
  html body .sm-hero .sm-top { justify-content: center; }
  html body .sm-hero .sm-top > :first-child { display: none; }
  html body .sm-artist { display: block; margin-top: 4px; font-family: var(--jx-serif, Georgia, serif); font-size: clamp(22px, 6.6vw, 28px); font-style: italic; letter-spacing: .01em; text-align: center; color: #f3e6d2; }
}
.jx-ctl, .jx-ctl *, .jx-ctl *::before, .jx-ctl *::after { box-sizing: border-box; }
.jx-pop__main > * { min-width: 0; }
.jx-pop__btn { gap: 8px; padding: 0 8px; font-size: clamp(14px, 4.1vw, 17px); white-space: nowrap; }
.jx-pop__btn .jx-icon { width: 21px; height: 21px; }
.jx-pop__link { gap: 6px; font-size: clamp(12.5px, 3.6vw, 15.5px); }
.jx-pop__link .jx-icon { width: 20px; height: 20px; }
.jx-pop { padding-left: 12px; padding-right: 12px; }
.jx-pop__what strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }

/* ===================== desktop sidebar – youmadeit.pro design (light + dark, asset pack) ===================== */
:root { --jx-side: 262px; }
html.jx-slim { --jx-side: 84px; }
@media (min-width: 1100px) {
  html body .jx-side { gap: 4px; padding: 26px 20px 18px; border-right: 1px solid rgba(138, 95, 61, .16); background: #f6f1ec url('/lunaris/jupiter/desk/sidebar-light.jpg') top / cover; color: #211c1a; font-family: Georgia, 'Times New Roman', serif; }
  html[data-theme='dark'] body .jx-side { border-right-color: rgba(207, 170, 130, .16); background: #0d1218 url('/lunaris/jupiter/desk/sidebar-dark.jpg') top / cover; color: #f4eee8; }
  html body .jx-side::after { content: ''; position: absolute; z-index: -1; left: -38%; bottom: -12%; width: 118%; aspect-ratio: 640 / 570; background: url('/lunaris/jupiter/desk/jupiter.png') center / contain no-repeat; opacity: .9; -webkit-mask: linear-gradient(to top, #000 55%, transparent); mask: linear-gradient(to top, #000 55%, transparent); pointer-events: none; }
  html body .jx-side { isolation: isolate; }
  html body .jx-side__head { justify-content: center; padding: 0 0 18px; position: relative; }
  html body .jx-side__logo { width: 196px; }
  html body .jx-mark--side { color: inherit; }
  html body .jx-side__fold { position: absolute; right: -8px; top: -12px; width: 26px; height: 26px; font-size: 13px; opacity: 0; transition: opacity .2s; }
  html body .jx-side:hover .jx-side__fold { opacity: .6; }
  html body .jx-side__search { margin: 0 0 14px; padding: 11px 16px; border: 1px solid rgba(138, 95, 61, .2); border-radius: 999px; background: rgba(255, 255, 255, .72); box-shadow: 0 6px 18px rgba(80, 52, 30, .07); }
  html[data-theme='dark'] body .jx-side__search { border-color: rgba(207, 170, 130, .22); background: rgba(255, 255, 255, .04); }
  html body .jx-side__search input { font-family: Georgia, serif; font-size: 16px; }
  html body .jx-side__search input::placeholder { color: inherit; opacity: .85; }
  html body .jx-side__label { margin: 18px 0 10px 22px; font-family: Georgia, serif; font-size: 13px; letter-spacing: .34em; opacity: 1; }
  html body .jx-side__nav { gap: 3px; padding-bottom: 16px; border-bottom: 1px solid rgba(138, 95, 61, .18); }
  html body .jx-side__nav > .jx-side__label:not(:first-child) { margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(138, 95, 61, .18); }
  html[data-theme='dark'] body .jx-side__nav, html[data-theme='dark'] body .jx-side__nav > .jx-side__label:not(:first-child) { border-color: rgba(207, 170, 130, .16); }
  html body .jx-side__item { gap: 18px; padding: 9px 18px; border-radius: 12px; font-family: Georgia, serif; font-size: 18px; font-weight: 400 !important; letter-spacing: -.005em; }
  html body .jx-side__item .jx-icon { width: 25px; height: 25px; stroke-width: 1.35; }
  html body .jx-side__item:hover { background: rgba(185, 138, 94, .1); }
  html body .jx-side__item.is-on { background: none; color: #a8784c; }
  html[data-theme='dark'] body .jx-side__item.is-on { color: #e2bf94; }
  html body .jx-side__item.is-on::before { display: none; }
  html body .jx-side__item--upload { margin: 2px 0 6px; background: linear-gradient(90deg, #f3dcb9, #e3bf8f) !important; color: #211a14 !important; box-shadow: 0 6px 16px rgba(160, 110, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .55); }
  html[data-theme='dark'] body .jx-side__item--upload { background: linear-gradient(90deg, #c69766, #a0714a) !important; color: #fff8ef !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
  html body .jx-side__look, html body .jx-side__foot { position: relative; }
  /* the start page has greeting, light/dark and notifications in its own top bar */
  html.jx-home body .jx-side__look, html.jx-home body .jx-side__foot { display: none; }
  html.jx-slim body .jx-side__logo { display: block; width: 44px; overflow: hidden; }
  html.jx-slim body .jx-side::after { display: none; }
}
@media (min-width: 1100px) { html body .jx-side__search { padding: 8px 16px; } }

/* ===================== presentation styles on the real 7-chapter page (chosen on the homepage) =====================
   html[data-stil=…] – set inside the homepage monitor/phone (ShowcaseBridge) and on /vorschau (the visitor's choice) */
.sm-ch__bg, .sm-frame { transition: filter .6s ease, padding .5s ease, background .5s ease, box-shadow .5s ease; }
html[data-stil] .sm-ch__bg::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: none; background-size: auto; }

html[data-stil='cinematic'] .sm-ch__bg { filter: contrast(1.18) saturate(1.35) brightness(.82) hue-rotate(-12deg); }
html[data-stil='cinematic'] .sm-ch__bg::after { background: linear-gradient(180deg, rgba(18, 30, 80, .42), transparent 42%, transparent 60%, rgba(120, 18, 70, .38)); }
html[data-stil='cinematic'] .sm-frame { padding: 3px; background: #0c0c10; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 60px rgba(0, 0, 0, .7); }

html[data-stil='premium'] .sm-ch__bg { filter: sepia(.38) saturate(1.15) brightness(.88); }
html[data-stil='premium'] .sm-ch__bg::after { background: radial-gradient(120% 80% at 50% 0%, rgba(255, 210, 140, .22), transparent 60%); }
html[data-stil='premium'] .sm-frame { padding: 10px; background: linear-gradient(135deg, #8a5d22, #f6dc96 25%, #a87a2e 50%, #f0d38a 75%, #7c531c); box-shadow: 0 0 0 1px #4a3214, 0 26px 60px rgba(20, 8, 0, .65); }
html[data-stil='premium'] .sm-h1, html[data-stil='premium'] .sm-h2 { color: #f4dca8; }

html[data-stil='gallery'] .sm-ch:not(.sm-light) .sm-ch__bg { filter: brightness(.5) saturate(.75); }
html[data-stil='gallery'] .sm-ch__bg::after { background: radial-gradient(60% 55% at 50% 38%, rgba(255, 236, 200, .3), transparent 70%); }
html[data-stil='gallery'] .sm-frame { padding: 16px; background: #f5f0e7; box-shadow: 0 0 0 6px #b98d4f, 0 0 0 7px #6d4c22, 0 30px 60px rgba(0, 0, 0, .6); }

html[data-stil='minimal'] .sm-ch__bg { filter: grayscale(.9) brightness(.72) contrast(.92); }
html[data-stil='minimal'] .sm-frame { padding: 7px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

html[data-stil='dynamic'] .sm-ch__bg { filter: saturate(1.45) contrast(1.1); }
html[data-stil='dynamic'] .sm-ch__bg::after { background: repeating-linear-gradient(-28deg, transparent 0 46px, rgba(255, 150, 60, .14) 46px 49px), linear-gradient(100deg, rgba(255, 110, 30, .3), transparent 55%); mix-blend-mode: screen; }
html[data-stil='dynamic'] .sm-frame { padding: 5px; background: linear-gradient(135deg, #ff9a3c, #ffd28a 40%, #e2621f); }

/* ===================== the living colour of youmadeit.pro (lib/lunaris/site-tint.ts) =====================
   --jt-h/--jt-s: page hue + colourfulness · --jt-ah/--jt-as: accent · --jt-rot/--jt-sat/--jt-con: the sky
   and planets (hue turn, saturation, contrast) · --jt-sky: their strength. Registered, so every change
   (a new painting, another style) glides over instead of jumping. */
@property --jt-h { syntax: '<number>'; inherits: true; initial-value: 30; }
@property --jt-s { syntax: '<number>'; inherits: true; initial-value: 34; }
@property --jt-ah { syntax: '<number>'; inherits: true; initial-value: 30; }
@property --jt-as { syntax: '<number>'; inherits: true; initial-value: 45; }
@property --jt-rot { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --jt-sat { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --jt-con { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --jt-sky { syntax: '<number>'; inherits: true; initial-value: 1; }
html { transition: --jt-h 1.1s ease, --jt-s 1.1s ease, --jt-ah 1.1s ease, --jt-as 1.1s ease, --jt-rot 1.1s ease, --jt-sat 1.1s ease, --jt-con 1.1s ease, --jt-sky 1.1s ease; }

@media (min-width: 1100px) {
  /* start page: the sidebar wears the same colour as the page */
  html.jx-home body .jx-side { background: hsl(var(--jt-h) calc(var(--jt-s) * .45%) 96.5%); color: hsl(var(--jt-h) calc(var(--jt-s) * .25%) 12%); border-right-color: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 38% / .18); }
  html.jx-home[data-theme='dark'] body .jx-side { background: hsl(var(--jt-h) calc(var(--jt-s) * .45%) 7%); color: hsl(var(--jt-h) calc(var(--jt-s) * .2%) 94%); border-right-color: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 70% / .16); }
  html.jx-home body .jx-side::after { filter: hue-rotate(calc(var(--jt-rot) * 1deg)) saturate(var(--jt-sat)) contrast(var(--jt-con)); opacity: calc(.9 * var(--jt-sky)); }
  html.jx-home body .jx-side__item--upload { background: linear-gradient(90deg, hsl(var(--jt-ah) calc(var(--jt-as) * .9%) 88%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 72%)) !important; color: hsl(var(--jt-ah) 30% 10%) !important; }
  html.jx-home[data-theme='dark'] body .jx-side__item--upload { background: linear-gradient(90deg, hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 50%), hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 36%)) !important; color: #fff !important; }
  html.jx-home body .jx-side__item.is-on { color: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 38%); }
  html.jx-home[data-theme='dark'] body .jx-side__item.is-on { color: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 72%); }
  html.jx-home body .jx-side__nav, html.jx-home body .jx-side__nav > .jx-side__label:not(:first-child) { border-color: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 45% / .2); }
  html.jx-home body .jx-mark--side path { stroke: hsl(var(--jt-ah) calc(var(--jt-as) * 1%) 50%); }
  html.jx-home body .jx-side__search { border-color: hsl(var(--jt-ah) calc(var(--jt-as) * .5%) 40% / .22); }
}

/* ===================== artwork pages: the sidebar wears the chapter background in view =====================
   (ArtworkChapters.tsx → site-tint.ts → JupiterSidebar) – the same picture, fixed to the window, so it runs
   on seamlessly into the page; it cross-fades with every chapter, colours follow light / dark chapters. */
@media (min-width: 1100px) {
  html body .jx-side.jx-side--art { background: var(--bd-tone, #1d1418) !important; border-right-color: rgba(255, 255, 255, .08); transition: color .9s ease, background-color 1.1s ease; }
  html body .jx-side.jx-side--art::after { opacity: 0; transition: opacity .8s ease; }
  .jx-side__bd { position: absolute; z-index: -1; inset: 0; background: var(--bd-tone, #1d1418) center / cover no-repeat fixed; pointer-events: none; }
  .jx-side__bd::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bd-tone, #1d1418) 38%, transparent), color-mix(in srgb, var(--bd-tone, #1d1418) 62%, transparent)); }
  .jx-side__bd.is-light::after { background: linear-gradient(180deg, rgba(250, 246, 240, .5), rgba(250, 246, 240, .7)); }

  html body .jx-side--art.is-dark { color: #f6f0e9; }
  html body .jx-side--art.is-light { color: #211c1a; }
  html body .jx-side--art.is-dark .jx-side__search { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  html body .jx-side--art.is-light .jx-side__search { background: rgba(255, 255, 255, .72); }
  html body .jx-side--art.is-dark .jx-side__nav, html body .jx-side--art.is-dark .jx-side__nav > .jx-side__label:not(:first-child),
  html body .jx-side--art.is-dark .jx-side__look, html body .jx-side--art.is-dark .jx-side__help, html body .jx-side--art.is-dark .jx-side__me { border-color: rgba(255, 255, 255, .16); }
  html body .jx-side--art.is-dark .jx-side__item:hover { background: rgba(255, 255, 255, .08); }
  html body .jx-side--art.is-dark .jx-side__item.is-on { color: #f2d6a8; }
  html body .jx-side--art.is-dark .jx-side__mode { background: rgba(255, 255, 255, .08); }
  html body .jx-side--art.is-dark .jx-side__btn--dark { background: #f6f0e9; color: #1d1813 !important; }
  html body .jx-side--art .jx-side__item, html body .jx-side--art .jx-side__label, html body .jx-side--art .jx-mark--side text { text-shadow: 0 1px 10px color-mix(in srgb, var(--bd-tone, #000) 60%, transparent); }
  html body .jx-side--art.is-light .jx-side__item, html body .jx-side--art.is-light .jx-side__label { text-shadow: none; }
}
html[data-jd-stil='cinematic'] .jx-ctl, html[data-jd-stil='premium'] .jx-ctl { --jx-text: #f4efe9; --jx-border: rgba(255, 255, 255, .17); --jx-pop-bg: rgba(20, 18, 28, .92); --jx-pop-dark: #f3ece2; --jx-pop-dark-ink: #1b1715; --jx-ctl-fade: rgba(5, 6, 13, .92); }
html[data-jd-stil='premium'] .jx-ctl { --jx-ctl-fade: rgba(11, 9, 5, .94); }

/* =====================================================================================================
   The presentation styles on the work's own 7-chapter page (ArtworkChapters) – the same six designs as on
   the start page: scene overlays, typography, frames, buttons. html[data-stil] is set by the work itself
   (product metafield lunaris.stil), by ?stil=… in the address, on /vorschau by the visitor's choice and
   inside the homepage monitor by the homepage (site-tint.ts setPageStil).
   ===================================================================================================== */
html[data-stil] .sm-ch::before, html[data-stil] .sm-ch::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
html[data-stil] .sm-ch__inner { z-index: 1; }

/* ---------------- Cinematic ---------------- */
html[data-stil='cinematic'] .sm { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; }
html[data-stil='cinematic'] .sm-ch:not(.sm-light)::before { background: radial-gradient(70% 50% at 85% 0%, rgba(194, 24, 122, .35), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(26, 163, 200, .25), transparent 70%); }
html[data-stil='cinematic'] .sm-ch::after { z-index: 2; background: linear-gradient(180deg, #000 0 26px, transparent 26px calc(100% - 26px), #000 calc(100% - 26px)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.09'/></svg>"); }
html[data-stil='cinematic'] .sm-light::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.06'/></svg>"); }
html[data-stil='cinematic'] :is(.sm-h1, .sm-h2) { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
html[data-stil='cinematic'] .sm-h1 { font-size: clamp(48px, 13vw, 120px); }
html[data-stil='cinematic'] .sm-h2 { font-size: clamp(40px, 10vw, 84px); }
html[data-stil='cinematic'] .sm-ch:not(.sm-light) :is(.sm-h1, .sm-h2) { background: linear-gradient(90deg, #fff, #ffd7f0 40%, #9fe8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-stil='cinematic'] .sm-kicker { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .45em; color: #8fe9ff; }
html[data-stil='cinematic'] .sm-light .sm-kicker { color: #6b3cff; }
html[data-stil='cinematic'] :is(.sm-sub, .sm-caption, .sm-artist) { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 300; letter-spacing: .01em; }
html[data-stil='cinematic'] :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { border-radius: 6px; background: linear-gradient(90deg, #c2187a, #6b3cff) !important; color: #fff !important; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .04em; box-shadow: 0 0 30px rgba(194, 24, 122, .45); }
html[data-stil='cinematic'] .sm-frame { padding: 2px; background: #05060d; box-shadow: 0 0 0 1px rgba(143, 123, 255, .6), 0 0 50px rgba(194, 24, 122, .4), 0 30px 60px rgba(0, 0, 0, .7); }
html[data-stil='cinematic'] .sm-thumb { border-color: rgba(143, 233, 255, .7); border-radius: 4px; }
html[data-stil='cinematic'] .sm-rule { background: linear-gradient(90deg, #ff4fb0, #4fd8ff); }

/* ---------------- Premium ---------------- */
html[data-stil='premium'] .sm { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; }
html[data-stil='premium'] .sm-ch:not(.sm-light)::before { background: radial-gradient(60% 45% at 50% 0%, rgba(230, 190, 110, .22), transparent 70%); }
html[data-stil='premium'] .sm-ch::after { inset: 14px; border: 1px solid rgba(217, 185, 113, .5); outline: 1px solid rgba(217, 185, 113, .25); outline-offset: 5px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90' fill='none' stroke='%23d9b971' stroke-width='1'><path d='M0 30 L30 0 M0 60 L60 0 M0 90 L90 0'/><circle cx='0' cy='0' r='40'/></svg>") left top / 90px no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90' fill='none' stroke='%23d9b971' stroke-width='1'><path d='M90 30 L60 0 M90 60 L30 0 M90 90 L0 0'/><circle cx='90' cy='0' r='40'/></svg>") right top / 90px no-repeat; opacity: .8; }
html[data-stil='premium'] :is(.sm-h1, .sm-h2) { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; }
html[data-stil='premium'] .sm-ch:not(.sm-light) :is(.sm-h1, .sm-h2) { background: linear-gradient(100deg, #8a6420, #f6e2a4 35%, #b8893a 55%, #f3d58a 75%, #7c5a1c); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-stil='premium'] .sm-light :is(.sm-h1, .sm-h2) { color: #3a2a10; }
html[data-stil='premium'] .sm-kicker { letter-spacing: .45em; color: #d9b971; }
html[data-stil='premium'] .sm-light .sm-kicker { color: #8a6420; }
html[data-stil='premium'] :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { border-radius: 0; background: linear-gradient(100deg, #8a6420, #f6e2a4 35%, #b8893a 55%, #f3d58a 75%, #7c5a1c) !important; color: #1a1206 !important; outline: 1px solid rgba(217, 185, 113, .65); outline-offset: 4px; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
html[data-stil='premium'] .sm-frame { padding: 12px; background: linear-gradient(135deg, #7c531c, #f6dc96 25%, #a87a2e 50%, #f0d38a 75%, #6b4518); box-shadow: 0 0 0 1px #3a2a10, 0 0 0 6px rgba(217, 185, 113, .12), 0 30px 70px rgba(0, 0, 0, .7); }
html[data-stil='premium'] .sm-thumb { border-color: #d9b971; border-radius: 0; }
html[data-stil='premium'] .sm-rule { height: 3px; background: linear-gradient(90deg, transparent, #d9b971 20%, #f6e2a4 50%, #d9b971 80%, transparent); }

/* ---------------- Gallery ---------------- */
html[data-stil='gallery'] .sm { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 500; }
html[data-stil='gallery'] .sm-ch:not(.sm-light)::before { background: linear-gradient(180deg, #1b1916 0 6px, transparent 6px), radial-gradient(40% 70% at 30% 0%, rgba(255, 238, 200, .28), transparent 75%), radial-gradient(40% 70% at 70% 0%, rgba(255, 238, 200, .28), transparent 75%); }
html[data-stil='gallery'] .sm-light::before { background: linear-gradient(180deg, #2a2622 0 5px, transparent 5px), radial-gradient(45% 70% at 50% 0%, rgba(255, 246, 222, .7), transparent 75%); }
html[data-stil='gallery'] :is(.sm-h1, .sm-h2) { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
html[data-stil='gallery'] .sm-kicker { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .32em; }
html[data-stil='gallery'] :is(.sm-sub, .sm-caption) { font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-size: 14px; letter-spacing: .01em; }
html[data-stil='gallery'] .sm-artist { font-family: 'Cormorant Garamond', serif; }
html[data-stil='gallery'] :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { border-radius: 2px; background: #f7f3ec !important; color: #1d1b19 !important; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
html[data-stil='gallery'] .sm-light :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { background: #1d1b19 !important; color: #fff !important; }
html[data-stil='gallery'] .sm-frame { padding: 18px; background: #f5f0e7; box-shadow: 0 0 0 6px #b98d4f, 0 0 0 7px #6d4c22, 0 34px 60px rgba(0, 0, 0, .55); }
html[data-stil='gallery'] .sm-thumb { border: 4px solid #f5f0e7; outline: 1px solid #b98d4f; }
html[data-stil='gallery'] .sm-table { padding: 16px 18px; background: #fff; color: #1d1b19; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------------- Minimal ---------------- */
html[data-stil='minimal'] .sm { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; }
html[data-stil='minimal'] .sm-ch:not(.sm-light)::before { background: rgba(10, 10, 11, .62); }
html[data-stil='minimal'] .sm-light::before { background: rgba(250, 250, 250, .82); }
html[data-stil='minimal'] .sm-ch::after { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; }
html[data-stil='minimal'] .sm-light::after { background-image: linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px); }
html[data-stil='minimal'] :is(.sm-h1, .sm-h2) { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
html[data-stil='minimal'] .sm-ch:not(.sm-light) :is(.sm-h1, .sm-h2, .sm-sub, .sm-kicker, .sm-price, .sm-artist) { color: #f5f5f5; }
html[data-stil='minimal'] .sm-light :is(.sm-h1, .sm-h2, .sm-caption, .sm-kicker) { color: #111; }
html[data-stil='minimal'] .sm-kicker { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .2em; }
html[data-stil='minimal'] :is(.sm-sub, .sm-caption, .sm-artist) { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 400; }
html[data-stil='minimal'] :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { border-radius: 0; background: #f5f5f5 !important; color: #111 !important; font-family: 'Inter', sans-serif; font-weight: 600; box-shadow: none; }
html[data-stil='minimal'] .sm-light :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { background: #111 !important; color: #fff !important; }
html[data-stil='minimal'] .sm-frame { padding: 0; background: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
html[data-stil='minimal'] .sm-light .sm-frame { box-shadow: 0 0 0 1px #111; }
html[data-stil='minimal'] .sm-thumb { border: 1px solid currentColor; border-radius: 0; }
html[data-stil='minimal'] .sm-rule { background: currentColor; opacity: .25; }

/* ---------------- Dynamic ---------------- */
html[data-stil='dynamic'] .sm { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 500; }
html[data-stil='dynamic'] .sm-ch::before { background: linear-gradient(105deg, transparent 58%, rgba(255, 106, 26, .55) 58% 66%, transparent 66% 71%, rgba(255, 159, 69, .4) 71% 74%, transparent 74%); }
html[data-stil='dynamic'] .sm-ch::after { background: repeating-linear-gradient(-22deg, transparent 0 58px, rgba(255, 120, 40, .16) 58px 60px); background-size: 600px 600px; animation: dyn-run 1.4s linear infinite; }
html[data-stil='dynamic'] :is(.sm-h1, .sm-h2) { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; line-height: .98; }
html[data-stil='dynamic'] .sm-ch:not(.sm-light) .sm-h1 { background: linear-gradient(90deg, #fff, #ffd6b8 50%, #ff9f1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-stil='dynamic'] .sm-kicker { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-style: italic; letter-spacing: .28em; color: #ff7a2e; }
html[data-stil='dynamic'] :is(.sm-sub, .sm-caption) { font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-weight: 500; }
html[data-stil='dynamic'] :is(.sm-btn, .sm-btn-wrap button, .sm-btn-wrap a) { border-radius: 6px; background: linear-gradient(90deg, #ff3d2e, #ff8a1a) !important; color: #fff !important; transform: skewX(-12deg); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; box-shadow: 0 12px 30px rgba(255, 80, 30, .4); }
html[data-stil='dynamic'] .sm-frame { padding: 6px; background: linear-gradient(135deg, #ff9a3c, #ffd28a 40%, #e2621f); transform: skewX(-2deg); box-shadow: 0 24px 50px rgba(120, 30, 0, .5); }
html[data-stil='dynamic'] .sm-thumb { border-color: #ff7a2e; transform: skewX(-8deg); }
html[data-stil='dynamic'] .sm-rule { height: 3px; background: linear-gradient(90deg, #ff3d2e, #ff9f1a); transform: skewX(-30deg); }

/* the desktop sidebar on such a page follows too (artwork pages) */
@media (min-width: 1100px) {
  html[data-stil='cinematic'] body .jx-side--art { font-family: 'Inter', sans-serif; }
  html[data-stil='gallery'] body .jx-side--art, html[data-stil='dynamic'] body .jx-side--art { font-family: 'Plus Jakarta Sans', sans-serif; }
  html[data-stil='minimal'] body .jx-side--art { font-family: 'Inter', sans-serif; }
  html[data-stil='minimal'] body .jx-side__bd { filter: grayscale(.9) brightness(.7); }
  html[data-stil='cinematic'] body .jx-side__bd { filter: contrast(1.18) saturate(1.35) brightness(.8) hue-rotate(-12deg); }
  html[data-stil='premium'] body .jx-side__bd { filter: sepia(.38) saturate(1.15) brightness(.85); }
  html[data-stil='premium'] body .jx-side--art .jx-side__item--upload { border-radius: 0; background: linear-gradient(100deg, #8a6420, #f6e2a4 40%, #b8893a 70%) !important; color: #1a1206 !important; }
  html[data-stil='cinematic'] body .jx-side--art .jx-side__item--upload { background: linear-gradient(90deg, #c2187a, #6b3cff) !important; color: #fff !important; }
  html[data-stil='dynamic'] body .jx-side--art .jx-side__item--upload { transform: skewX(-10deg); background: linear-gradient(90deg, #ff3d2e, #ff8a1a) !important; color: #fff !important; }
}
@keyframes dyn-run { to { background-position: 600px 0; } }

/* =====================================================================================================
   youmadeit.pro – the brand everywhere: the logo (LunarisLogo / JupiterMark / sidebar) and the sidebar in
   night teal with the orange accent. Artwork pages and profiles still dress the sidebar in their own
   background (site-tint.ts, .jx-side--art).
   ===================================================================================================== */
.lx-logo { display: inline-flex !important; align-items: center; gap: .32em; font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.lx-logo .ymi-mark { width: auto; height: .92em; color: currentColor; flex: none; }
.ymi-word b { color: #ff8a00; font-weight: inherit; }
.jx-ctl__star { display: none !important; }

@media (min-width: 1100px) {
  html body .jx-side.jx-side { gap: 6px; padding: 30px 24px 20px; border-right: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, #0a1d21 0%, #061619 55%, #041114 100%); color: #fff5e8; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
  html body .jx-side.jx-side::after { left: -30px; bottom: -40px; width: 170px; height: 260px; aspect-ratio: auto; background: linear-gradient(180deg, transparent, #ff8a00 55%, #ff3c37); transform: skewX(-40deg); opacity: .9; filter: drop-shadow(0 0 30px rgba(255, 106, 22, .55)); -webkit-mask: linear-gradient(180deg, transparent, #000 45%); mask: linear-gradient(180deg, transparent, #000 45%); }
  html body .jx-side.jx-side--art::after { opacity: 0; }
  html body .jx-side__head { padding-bottom: 26px; }
  html body .jx-side__logo { width: 190px; }
  html body .jx-side__search { margin-bottom: 26px; padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04); box-shadow: none; }
  html body .jx-side__search input { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; color: #fff5e8; }
  html body .jx-side__nav { gap: 6px; padding-bottom: 0; border: 0; }
  html body .jx-side__item { gap: 20px; padding: 11px 16px; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17.5px; font-weight: 600 !important; letter-spacing: -.01em; color: inherit; }
  html body .jx-side__item .jx-icon { width: 26px; height: 26px; stroke-width: 1.6; }
  html body .jx-side__item:first-of-type .jx-icon { color: #ff8a00; }
  html body .jx-side__item:hover { background: rgba(255, 255, 255, .06); }
  html body .jx-side__item.is-on { color: #ff8a00; background: none; }
  html body .jx-side__rule { display: block; height: 1px; margin: 22px 14px 26px; background: rgba(255, 255, 255, .12); }
  html body .jx-side .jx-side__item--upload { margin: 0 0 14px; background: linear-gradient(105deg, #ff8a00 0%, #ff6a16 54%, #ff3c37 100%) !important; color: #fff !important; box-shadow: 0 10px 26px rgba(255, 106, 22, .35); }
  html body .jx-side .jx-side__item--upload .jx-icon { color: #fff; }
  html body .jx-side :is(.jx-side__look, .jx-side__help, .jx-side__me) { border-color: rgba(255, 255, 255, .1); }
  html body .jx-side__mode { background: rgba(255, 255, 255, .06); }
  html body .jx-side__btn--dark { background: linear-gradient(105deg, #ff8a00, #ff3c37); color: #fff !important; }
  /* the start page: no light/dark switch (the stage is always night) */
  html.jx-ymi body .jx-side__look { display: none; }
}
.jx-side__rule { display: none; }
