/* Journifans – pink design system. Plain CSS, no build step. */

/* ---------- Fonts (self-hosted, SIL OFL; see /assets/fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/fredoka-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/inter-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --pink-50: #fff6fa;
  --pink-100: #fde7f0;
  --pink-150: #fbdbe8;
  --pink-200: #f9cadd;
  --pink-300: #f5a3c3;
  --pink-400: #f077a6;
  --pink-500: #e94a8a;
  --pink-600: #d63175;
  --pink-700: #b4205e;
  --ink: #2b1b23;
  --ink-soft: #4a3540;
  --muted: #7a6170;
  --white: #fff;
  --paper: #fbf8f2;

  --font-display: "Fredoka", "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 6px 24px rgba(214, 49, 117, 0.10);
  --shadow-strong: 0 10px 30px rgba(214, 49, 117, 0.22);

  --nav-width: 228px;
  --aside-width: 292px;
  --gap: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #fcecf3; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 70% -10%, #fde3ee 0%, transparent 70%),
    linear-gradient(#fdf0f5, #fcecf3 900px);
  background-repeat: no-repeat;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink-600); outline-offset: 2px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pink-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.22em; }
.icon--pink { color: var(--pink-500); }
.icon--flag { width: 1em; height: 1em; vertical-align: -0.12em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 16px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font-body); text-align: center; cursor: pointer;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink-500); color: #fff; box-shadow: 0 4px 14px rgba(233, 74, 138, .35); }
.btn--primary:hover { background: var(--pink-600); }
.btn--ghost { background: rgba(255, 255, 255, .75); color: var(--pink-600); border-color: var(--pink-200); }
.btn--ghost:hover { background: #fff; border-color: var(--pink-300); }
.btn--lg { padding: 14px 28px; font-size: 17px; border-radius: 18px; }
.btn--block { display: flex; width: 100%; }

/* ---------- App grid ---------- */
.app {
  max-width: 1480px; margin: 0 auto; padding: 18px 24px 32px;
  display: grid; column-gap: var(--gap); row-gap: 18px;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  grid-template-areas: "top top" "nav main";
  align-items: start;
}
.app--with-aside {
  grid-template-columns: var(--nav-width) minmax(0, 1fr) var(--aside-width);
  grid-template-areas: "top top top" "nav main aside";
}
.main { grid-area: main; min-width: 0; }
.main:focus { outline: none; }

/* ---------- Top bar ---------- */
.topbar { grid-area: top; display: flex; align-items: center; gap: var(--gap); }
.brand {
  flex: 0 0 var(--nav-width); display: flex; flex-direction: column; align-items: flex-start;
  color: var(--pink-500); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  font: 700 46px/1 var(--font-display); letter-spacing: -0.5px;
  text-shadow: 0 2px 0 var(--pink-200);
}
.brand__i, .hero__i { position: relative; display: inline-block; }
.brand__heart {
  position: absolute; left: 50%; top: -0.2em; width: 0.42em; height: 0.42em;
  transform: translateX(-50%) rotate(-12deg);
}
.brand__tagline {
  margin: 2px 0 0 34px; font: 600 15px/1 var(--font-display); color: var(--pink-600);
  transform: rotate(-3deg); white-space: nowrap;
}

.search { position: relative; flex: 1 1 auto; max-width: 560px; }
.search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--pink-600); width: 22px; height: 22px; }
.search__input {
  width: 100%; height: 52px; padding: 0 18px 0 52px;
  border: 1.5px solid var(--pink-200); border-radius: 16px; background: rgba(255, 255, 255, .7);
  font: 400 15px var(--font-body); color: var(--ink);
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; border-color: var(--pink-400); background: #fff; box-shadow: 0 0 0 4px rgba(240, 119, 166, .2); }

.topbar__actions { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.topbar__buttons { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---------- Side navigation ---------- */
.sidenav { grid-area: nav; position: sticky; top: 18px; display: flex; flex-direction: column; gap: 28px; }
.sidenav__list { display: flex; flex-direction: column; gap: 4px; }
/* Language menu in the top bar: "DE ▾", opens a small list (works without JS; app.js closes it). */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font: 700 14px/1 var(--font-body); letter-spacing: .5px; color: var(--ink-soft); cursor: pointer;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.lang-menu[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--pink-100); color: var(--ink); }
.lang-menu__list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 170px; padding: 6px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--pink-200), var(--shadow-strong);
}
.lang-menu__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.lang-menu__list a:hover { background: var(--pink-100); text-decoration: none; }
.lang-menu__list a[aria-current] { color: var(--pink-600); font-weight: 700; }
.sidenav__link {
  display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 14px;
  color: var(--ink-soft); font-size: 16px;
}
.sidenav__link .icon { width: 24px; height: 24px; color: var(--pink-500); }
.sidenav__link:hover { background: rgba(255, 255, 255, .6); text-decoration: none; }
.sidenav__link.is-active { background: var(--pink-150); color: var(--pink-600); font-weight: 600; }
.badge-count {
  margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: var(--pink-500); color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.support-box {
  padding: 26px 18px 18px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, var(--pink-100), var(--pink-200));
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.support-box__heart { width: 48px; height: 48px; color: var(--pink-500); filter: drop-shadow(0 4px 6px rgba(214, 49, 117, .3)); }
.support-box__title { font: 600 21px/1.2 var(--font-display); color: var(--pink-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  container-type: inline-size;
  padding: 34px;
  background:
    radial-gradient(500px 300px at 85% 10%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(135deg, #fcd9e7 0%, #f8b6cf 55%, #f497bb 100%);
  box-shadow: var(--shadow);
}
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero__wordmark {
  font: 700 clamp(44px, 10.5cqw, 112px)/0.95 var(--font-display); color: #fff; letter-spacing: -1px;
  white-space: nowrap;
  transform: rotate(-3deg); margin-top: 18px;
  text-shadow: 0 3px 0 #fbc6da, 0 6px 0 #f7a9c7, 0 14px 26px rgba(180, 32, 94, .35);
}
.hero__heart {
  position: absolute; left: 50%; top: -0.22em; width: 0.42em; height: 0.42em; color: #fff;
  transform: translateX(-50%) rotate(-10deg);
  filter: drop-shadow(0 3px 0 #f7a9c7);
}
.hero__lead { display: flex; flex-direction: column; max-width: 30em; font: 600 22px/1.3 var(--font-display); color: var(--pink-700); text-wrap: balance; }
.offers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.offers__item { width: 86px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.offers__icon {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .72);
  display: flex; align-items: center; justify-content: center; color: var(--pink-500);
  box-shadow: 0 4px 12px rgba(214, 49, 117, .18);
}
.offers__icon .icon { width: 30px; height: 30px; }
.offers__label { font: 600 13px/1.2 var(--font-display); color: var(--pink-700); }
.offers__item:last-child .offers__label { color: var(--pink-600); }
.hero__cta { min-width: min(100%, 380px); }


/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 6px; margin: 22px 0 6px; border-bottom: 1px solid var(--pink-200);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab {
  padding: 10px 14px 12px; white-space: nowrap; color: var(--ink-soft); font-size: 15px;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tabs__tab:hover { color: var(--pink-600); text-decoration: none; }
.tabs__tab.is-active { color: var(--pink-600); border-bottom-color: var(--pink-500); font-weight: 600; }

/* ---------- Sections and card grid ---------- */
.section { margin-top: 22px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__title { font: 700 24px/1.2 var(--font-body); letter-spacing: -0.3px; }
.section__more { font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.empty { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .6); color: var(--muted); text-align: center; }

.jcard {
  position: relative; container-type: inline-size; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.jcard__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--pink-100); }
.jcard__photo { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; top: 12px; right: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--pink-500); color: #fff; font: 600 13px/1.2 var(--font-display);
  box-shadow: 0 2px 0 #fff, 0 4px 10px rgba(214, 49, 117, .35); transform: rotate(4deg);
}
.jcard__feet {
  position: absolute; right: 5cqw; top: calc(125cqw - 32cqw); width: 34cqw; height: 34cqw;
  border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(80, 30, 50, .25);
}
.jcard__body { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.jcard__name { font: 700 16px/1.3 var(--font-body); display: flex; align-items: center; gap: 6px; }
.jcard__name a { color: var(--ink); }
.jcard__verified { color: var(--pink-500); display: inline-flex; }
.jcard__verified .icon { width: 18px; height: 18px; }
.jcard__bio {
  margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.jcard__kinks-label { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.jcard__kinks { margin-top: 4px; gap: 6px; }
.jcard__kinks .kink-chip { gap: 6px; padding: 4px 10px 4px 6px; font-size: 12px; }
.jcard__kinks .kink-option__box { width: 16px; height: 16px; border-radius: 4px; }
.jcard__kinks .kink-option__box .icon { width: 11px; height: 11px; }
.jcard__foot { margin-top: auto; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.jcard__foot .btn { font-size: 14px; padding: 11px 12px; }

/* ---------- Right sidebar ---------- */
.aside { grid-area: aside; display: flex; flex-direction: column; gap: 18px; }
.panel { padding: 24px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.panel--soft { background: linear-gradient(160deg, var(--pink-100), var(--pink-150)); box-shadow: none; }
.panel--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.panel--center p { color: var(--ink-soft); font-size: 15px; }
.panel__title { font: 600 23px/1.2 var(--font-display); color: var(--pink-600); }
.panel__title--ink { font: 700 18px/1.3 var(--font-body); color: var(--ink); margin-bottom: 8px; }
.panel__icon { width: 44px; height: 44px; color: var(--pink-500); }
.panel--join { display: flex; flex-direction: column; gap: 18px; }
.checklist { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-soft); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 24px; height: 24px; color: var(--pink-500); }

.testimonial { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.testimonial__mark { width: 42px; height: 42px; color: var(--pink-300); align-self: flex-start; }
.testimonial blockquote { margin: 0; font: 600 25px/1.2 var(--font-display); color: var(--pink-600); font-style: italic; }
.testimonial figcaption { color: var(--pink-500); font-size: 15px; }

.trends { display: flex; flex-direction: column; }
.trends__item {
  display: grid; grid-template-columns: 22px 48px minmax(0, 1fr) 24px; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--pink-100);
}
.trends__item:last-child { border-bottom: 0; }
.trends__rank { font-weight: 700; font-size: 17px; text-align: center; }
.trends__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--pink-100); }
.trends__who { display: flex; flex-direction: column; min-width: 0; color: var(--ink); }
.trends__who:hover { text-decoration: none; }
.trends__who:hover .trends__name { color: var(--pink-600); }
.trends__name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trends__handle { font-size: 13px; color: var(--muted); }
.icon--verified { color: var(--pink-500); width: 16px; height: 16px; }
.trends__shares { color: var(--pink-500); }

.panel--campaign {
  min-height: 230px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background:
    radial-gradient(240px 140px at 50% 100%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(170deg, var(--pink-150), var(--pink-300));
  box-shadow: none;
}
.panel__heart { width: 52px; height: 52px; color: var(--pink-400); align-self: center; filter: drop-shadow(0 4px 6px rgba(214, 49, 117, .3)); }
.campaign-slogan { display: flex; flex-direction: column; font: 700 27px/1.1 var(--font-display); color: var(--pink-600); }

/* ---------- Footer ---------- */
.footer {
  max-width: 1480px; margin: 0 auto; padding: 28px 24px 44px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  color: var(--muted); font-size: 14px;
}
.footer__satire { font-weight: 600; color: var(--pink-700); }
.footer__satire a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__links, .footer__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer__links a, .footer__langs a { color: var(--ink-soft); }
.footer__langs a[aria-current] { color: var(--pink-600); font-weight: 700; }
.footer__copy { font-size: 12px; }

/* ---------- Error page ---------- */
.error-page {
  padding: 56px 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.error-page__code { font: 700 96px/1 var(--font-display); color: var(--pink-300); }
.error-page__title { font: 600 32px/1.2 var(--font-display); color: var(--pink-600); }
.error-page__text { color: var(--ink-soft); max-width: 46ch; }
.error-page__debug {
  width: 100%; max-height: 360px; overflow: auto; text-align: left; font-size: 12px;
  background: var(--pink-50); padding: 16px; border-radius: var(--radius-sm); white-space: pre-wrap;
}

/* ---------- Feed (social media style) ---------- */
.btn--sm { padding: 7px 14px; font-size: 14px; border-radius: 12px; }
.feed__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.feed .section__head { max-width: 720px; margin-left: auto; margin-right: auto; }
.feed__more { margin-top: 4px; }

.avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: block;
  background: linear-gradient(160deg, var(--pink-150), var(--pink-300));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 52px; height: 52px; }

.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 14px; }
.post-card__head { display: flex; gap: 12px; align-items: center; }
.post-card__who { min-width: 0; }
.post-card__author { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.post-card__author a { color: var(--ink); }
.post-card__handle { font-weight: 400; color: var(--muted); }
.post-card__meta { font-size: 13px; color: var(--muted); }
.lang-tag {
  display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--pink-100);
  color: var(--pink-700); font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.post-card__link { display: block; margin-top: 12px; color: var(--ink); }
.post-card__link:hover { text-decoration: none; }
.post-card__link:hover .post-card__title { color: var(--pink-600); }
.post-card__title { font: 700 21px/1.3 var(--font-body); letter-spacing: -0.2px; }
.post-card__excerpt {
  margin-top: 6px; color: var(--ink-soft); font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__cover { margin-top: 14px; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--pink-100); }
.post-card__actions {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--pink-100);
  display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px;
}
.post-card__stat { display: inline-flex; align-items: center; gap: 6px; }
.post-card__stat .icon { color: var(--pink-500); }
.post-card__share { margin-left: auto; }

/* ---------- Post page (Medium-like reading layout) ---------- */
.article {
  max-width: 760px; margin: 0 auto; padding: 40px clamp(18px, 5vw, 56px) 32px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.article__topic {
  display: inline-block; margin-bottom: 14px; padding: 3px 12px; border-radius: 999px;
  background: var(--pink-100); font-size: 13px; font-weight: 600;
}
.article__title { font: 700 clamp(30px, 4.4vw, 42px)/1.15 var(--font-body); letter-spacing: -0.8px; }
.article__subtitle { margin-top: 12px; font-size: 21px; line-height: 1.4; color: var(--muted); }
.byline { margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--pink-100); border-bottom: 1px solid var(--pink-100); display: flex; gap: 14px; align-items: center; }
.byline__name { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.byline__name a { color: var(--ink); }
.byline__handle { font-weight: 400; color: var(--muted); font-size: 14px; }
.byline__meta { font-size: 14px; color: var(--muted); }
.byline__meta .icon { color: var(--pink-500); width: 1em; height: 1em; vertical-align: -0.1em; }
.article__cover { margin: 28px 0 4px; width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }

.prose { margin-top: 28px; font: 400 20px/1.75 Charter, "Bitstream Charter", Georgia, Cambria, "Times New Roman", serif; color: #2b2226; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--font-body); letter-spacing: -0.3px; color: var(--ink); margin-top: 1.6em; }
.prose h2 { font-size: 26px; line-height: 1.3; }
.prose h3 { font-size: 21px; line-height: 1.35; }
.prose a { color: var(--pink-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--pink-500); }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding-left: 22px; border-left: 4px solid var(--pink-400);
  font-style: italic; color: var(--pink-700);
}
.prose hr { border: 0; height: auto; text-align: center; margin: 2em 0; }
.prose hr::before { content: "· · ·"; letter-spacing: .6em; color: var(--pink-400); font-size: 24px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose figcaption { margin-top: 8px; text-align: center; font: 400 14px/1.4 var(--font-body); color: var(--muted); }

.share-bar { margin-top: 40px; padding: 22px; border-radius: var(--radius); background: var(--pink-50); border: 1px solid var(--pink-100); }
.share-bar__title { font: 600 20px/1.2 var(--font-display); color: var(--pink-600); margin-bottom: 14px; }
.share-bar__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--pink-200); background: #fff; color: var(--ink-soft);
  font: 600 14px/1.2 var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--pink-400); color: var(--pink-600); text-decoration: none; }
.chip .icon { color: var(--pink-500); }
[hidden] { display: none !important; }

.support-author {
  margin-top: 24px; padding: 26px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, var(--pink-100), var(--pink-200));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.support-author__text { font: 600 22px/1.25 var(--font-display); color: var(--pink-600); }
.support-author__price { font-weight: 600; color: var(--pink-700); }

/* ---------- Forms, auth pages, alerts ---------- */
.auth {
  max-width: 520px; margin: 0 auto; padding: 36px clamp(18px, 5vw, 44px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.auth--wide { max-width: 760px; }
.auth--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.auth__heart { width: 56px; height: 56px; color: var(--pink-500); }
.auth__title { font: 600 32px/1.2 var(--font-display); color: var(--pink-600); margin-bottom: 8px; }
.auth__lead { color: var(--ink-soft); margin-bottom: 20px; }
.auth__alt { margin-top: 14px; text-align: center; font-size: 15px; color: var(--muted); }
.auth__resend { margin-bottom: 18px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-weight: 600; font-size: 15px; }
.field__input {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--pink-200); border-radius: 12px;
  background: var(--pink-50); font: 400 16px var(--font-body); color: var(--ink);
}
.field__input:focus { outline: none; border-color: var(--pink-400); background: #fff; box-shadow: 0 0 0 4px rgba(240, 119, 166, .2); }
.field__input[aria-invalid="true"] { border-color: #c2283b; }
.field__prefixed { display: flex; align-items: center; gap: 8px; }
.field__prefixed span { font-weight: 700; color: var(--pink-600); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { font-size: 14px; font-weight: 600; color: #c2283b; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink-500); flex-shrink: 0; }

.kink-picker { margin: 0; padding: 18px; border: 1.5px solid var(--pink-150); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.kink-picker__legend { padding: 0 8px; font: 600 22px/1.2 var(--font-display); color: var(--pink-600); }
.kink-picker__options { display: flex; flex-wrap: wrap; gap: 8px; }
.kink-option { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1.5px solid var(--pink-200); border-radius: 999px; background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.kink-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kink-option__box { width: 20px; height: 20px; flex-shrink: 0; border-radius: 5px; border: 2px solid var(--pink-300);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.kink-option__box .icon { width: 14px; height: 14px; visibility: hidden; }
.kink-option:hover { border-color: var(--pink-400); }
.kink-option:has(input:checked) { background: var(--pink-100); border-color: var(--pink-500); color: var(--pink-700); }
.kink-option input:checked + .kink-option__box { background: var(--pink-500); border-color: var(--pink-500); }
.kink-option input:checked + .kink-option__box .icon { visibility: visible; }
.kink-option input:focus-visible + .kink-option__box { outline: 3px solid var(--pink-600); outline-offset: 2px; }

.alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.alert--success { background: #e9f8ef; color: #1d6b3c; }
.alert--error { background: #fde8eb; color: #a3182b; }
.topbar__me { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--pink-700); }
.topbar__buttons form { margin: 0; }

/* ---------- Schulterklopfer (our likes) ---------- */
.pat { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.pat__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--pink-200); background: #fff; color: var(--pink-600);
  font: 600 14px/1.2 var(--font-body); cursor: pointer; transition: background-color .15s, transform .15s;
}
.pat__btn:hover { border-color: var(--pink-400); text-decoration: none; }
.pat__btn .icon { width: 20px; height: 20px; }
.pat__btn.is-patted { background: var(--pink-500); border-color: var(--pink-500); color: #fff; }
.pat__btn:disabled { cursor: not-allowed; opacity: .55; }
.pat__btn.is-popping { animation: pat-pop .35s ease; }
@keyframes pat-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }
.pat__msg { font-size: 13px; font-weight: 600; color: var(--pink-700); }
.article__pat { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.article__pat .pat__btn { padding: 12px 22px; font-size: 17px; }
.article__pat .pat__btn .icon { width: 26px; height: 26px; }
.article__pat-text { color: var(--muted); }

/* ---------- Profile page ---------- */
.profile {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; padding: 28px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.profile__media { position: relative; container-type: inline-size; align-self: start; }
.profile__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--pink-100); }
.profile__photo--empty { display: flex; align-items: center; justify-content: center; color: var(--pink-300); }
.profile__photo--empty .icon { width: 30%; height: 30%; }
.profile__feet { position: absolute; right: -14px; bottom: -14px; width: 40cqw; height: 40cqw; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 6px 16px rgba(80, 30, 50, .25); }
.profile__media .sticker { top: 14px; right: 14px; }
.profile__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.profile__name { font: 700 34px/1.15 var(--font-body); letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile__name .icon { width: 26px; height: 26px; }
.profile__handle { color: var(--muted); }
.profile__bio { font-size: 17px; color: var(--ink-soft); }
.profile__quote { margin: 6px 0; padding: 14px 18px; border-radius: var(--radius); background: var(--pink-100); font: 600 22px/1.3 var(--font-display); color: var(--pink-700); }
.profile__label { margin-top: 8px; font: 600 18px/1.2 var(--font-display); color: var(--pink-600); }
.kink-chips, .service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kink-chip, .service-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 9px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.kink-chip { background: var(--pink-100); color: var(--pink-700); }
.kink-chip__box { background: var(--pink-500); border-color: var(--pink-500); }
.kink-chip__box .icon { visibility: visible; }
.service-chip { border: 1.5px solid var(--pink-200); color: var(--ink-soft); }
.service-chip .icon { color: var(--pink-500); width: 18px; height: 18px; }
.profile__actions { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.profile__price { font: 600 22px/1.2 var(--font-display); color: var(--pink-600); margin-right: 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.profile + .share-bar, .section + .share-bar, .share-bar + .share-bar { margin-top: 24px; }
.card-downloads__list { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.card-downloads__item { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.card-downloads__thumb { border-radius: 10px; box-shadow: var(--shadow); background: var(--pink-100); }
.card-downloads__thumb--story { width: 120px; aspect-ratio: 9 / 16; }
.card-downloads__thumb--square { width: 170px; aspect-ratio: 1; }
.card-downloads__thumb--og { width: 260px; aspect-ratio: 1200 / 630; }

/* ---------- Account pages ---------- */
.account-tabs { margin-top: 0; margin-bottom: 18px; }
.account { max-width: 860px; }
.account .form + .form { margin-top: 22px; }
.field__textarea { height: auto; padding: 12px 14px; resize: vertical; font-family: var(--font-body); }
.field__static { height: 48px; display: flex; align-items: center; font-weight: 600; color: var(--muted); }
.field__file { padding-top: 10px; }
select.field__input { appearance: auto; }
.own-kinks { display: flex; flex-direction: column; gap: 8px; }
.own-kinks li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.own-kinks__text { font-weight: 600; }
.own-kinks__remove { font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status--pending { background: #fff4d6; color: #8a5a00; }
.status--approved { background: #e9f8ef; color: #1d6b3c; }
.status--rejected { background: #fde8eb; color: #a3182b; }
.quote-option span { font: 600 17px/1.35 var(--font-display); color: var(--pink-700); }
.own-quote { font-weight: 600; margin-bottom: 12px; }
.my-photos { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.my-photos__item { display: flex; flex-direction: column; gap: 8px; }
.my-photos__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--pink-100); }
.my-photos__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }

/* ---------- Admin ---------- */
.admin-section { margin-top: 26px; }
.admin-count { font-size: 16px; color: var(--muted); }
.mod-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.mod-item { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.mod-item__content { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1 1 280px; }
.mod-item__photo { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.mod-item__text { font: 600 18px/1.35 var(--font-display); color: var(--pink-700); }
.mod-item__who { font-size: 14px; color: var(--muted); }
.mod-item__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; flex: 0 1 300px; }
.mod-item__actions form { margin: 0; }
.mod-item__actions .btn { width: 100%; }
.mod-item__reject { display: flex; gap: 6px; }
.mod-item__reject .field__input { height: 36px; font-size: 14px; }
.mod-item__reject .btn { width: auto; flex-shrink: 0; }
.admin-search { margin: 16px 0; max-width: 520px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--pink-100); vertical-align: top; }
.admin-table__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-table__actions form { margin: 0; }

/* ---------- Post editor (Medium-style) ---------- */
.editor { max-width: 820px; margin: 0 auto; padding: 26px clamp(18px, 5vw, 56px) 36px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.editor__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.editor__back { font-weight: 600; margin-right: auto; }
.editor__saved { color: var(--muted); }
.editor__form { display: flex; flex-direction: column; gap: 14px; }
.editor__title, .editor__subtitle {
  width: 100%; border: 0; padding: 0; background: transparent; color: var(--ink);
}
.editor__title { font: 700 clamp(28px, 4.4vw, 42px)/1.15 var(--font-body); letter-spacing: -0.8px; }
.editor__subtitle { font: 400 21px/1.4 var(--font-body); color: var(--muted); }
.editor__title:focus, .editor__subtitle:focus, .editor__body:focus { outline: none; }
.editor__title::placeholder, .editor__subtitle::placeholder, .editor__body::placeholder { color: var(--pink-300); }
.editor__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding-top: 6px; border-top: 1px solid var(--pink-100); }
.cover-picker { margin: 0; padding: 0; border: 0; }
.cover-picker__list { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; }
.cover-picker__item { position: relative; flex: 0 0 auto; cursor: pointer; }
.cover-picker__item input { position: absolute; opacity: 0; }
.cover-picker__item img, .cover-picker__none span {
  display: flex; align-items: center; justify-content: center; width: 120px; height: 68px; object-fit: cover;
  border-radius: 10px; border: 3px solid transparent; background: var(--pink-50); font-size: 13px; color: var(--muted); text-align: center;
}
.cover-picker__item input:checked + img, .cover-picker__item input:checked + span { border-color: var(--pink-500); }
.cover-picker__item input:focus-visible + img, .cover-picker__item input:focus-visible + span { outline: 3px solid var(--pink-600); }
.editor__toolbar {
  position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px;
  border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(214, 49, 117, .14); border: 1px solid var(--pink-100);
}
.editor__toolbar[hidden] { display: none !important; }
.editor__tool {
  min-width: 38px; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent;
  font: 700 15px var(--font-body); color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.editor__tool:hover, .editor__tool[aria-pressed="true"] { background: var(--pink-100); color: var(--pink-700); }
.editor__tool[data-tool="italic"] { font-style: italic; font-family: Georgia, serif; }
.editor__tool .icon { width: 18px; height: 18px; }
.editor__tool--wide { font-weight: 600; font-size: 14px; }
.editor__spacer { flex: 1; }
.editor__image { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: end; padding: 14px; border-radius: 14px; background: var(--pink-50); }
.editor__body {
  width: 100%; min-height: 420px; border: 0; padding: 4px 0; resize: vertical; background: transparent;
  font: 400 20px/1.75 Charter, "Bitstream Charter", Georgia, Cambria, "Times New Roman", serif; color: #2b2226;
}
.editor__preview { min-height: 420px; margin-top: 0; }
.editor__help { font-size: 14px; color: var(--muted); }
.editor__help pre { white-space: pre-wrap; font-size: 14px; background: var(--pink-50); padding: 12px; border-radius: 10px; }
.editor__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--pink-100); }
.editor__hint { text-align: right; }
.status--editing { background: var(--pink-100); color: var(--pink-700); }
.my-posts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.my-posts__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--pink-100); }
.my-posts__title { font: 700 19px/1.3 var(--font-body); color: var(--ink); }
.my-posts__meta { margin-top: 4px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.my-posts__meta .icon { width: 16px; height: 16px; color: var(--pink-500); }
.my-posts__actions { display: flex; gap: 6px; align-items: center; }
.my-posts__actions form { margin: 0; }

/* ---------- Card builder, shared-link landing ---------- */
.cards__controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.cards__controls .kink-picker { flex: 1 1 360px; }
.cards__lang { flex: 0 1 220px; }
.cards__preview { margin: 22px 0 8px; display: grid; grid-template-columns: 0.75fr 1fr 1.6fr; gap: 16px; align-items: end; }
.cards__card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cards__card img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-strong); background: var(--pink-100); }
.cards__card--story img { aspect-ratio: 9 / 16; }
.cards__card--square img { aspect-ratio: 1; }
.cards__card--og img { aspect-ratio: 1200 / 630; }
.cards__card figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cards__buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.cards__copy { margin-top: 6px; align-self: flex-start; }
.cards__photo { width: 70px !important; height: 88px !important; }
.cards__posts-title { margin-top: 30px; }
.landing {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 26px; align-items: center;
  margin-bottom: 22px; padding: 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fcd9e7 0%, #f8b6cf 100%); box-shadow: var(--shadow);
}
.landing__card { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-strong); }
.landing__text { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.landing__title { font: 700 32px/1.15 var(--font-display); color: var(--pink-700); }
.landing__support { margin-top: 6px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .7); }
.landing__support h3 { font: 600 18px/1.3 var(--font-display); color: var(--pink-600); }
.landing__support ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }

/* ---------- Discover, inbox, earnings, settings, modal ---------- */
.discover { display: flex; flex-direction: column; gap: 14px; }
.discover__search { max-width: none; }
.discover__sort { display: flex; gap: 8px; }
.chip.is-active { background: var(--pink-500); border-color: var(--pink-500); color: #fff; }
.discover__more { margin-top: 16px; }
.profile__subs { font-size: 14px; color: var(--muted); }
.profile__actions form { margin: 0; }
.inbox__list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.inbox__item { padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-left: 5px solid var(--pink-500); }
.inbox__head { display: flex; gap: 12px; align-items: center; width: 100%; }
.inbox__avatar { display: flex; align-items: center; justify-content: center; color: #fff; }
.inbox__from { font-weight: 700; }
.inbox__subject { font-weight: 600; color: var(--pink-700); }
.inbox__time { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.inbox__body { font-family: Charter, Georgia, serif; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.earnings { display: flex; flex-direction: column; gap: 18px; }
.earnings__hero { padding: 30px; border-radius: var(--radius-lg); text-align: center; background: linear-gradient(135deg, #fcd9e7 0%, #f497bb 100%); box-shadow: var(--shadow); }
.earnings__label { font: 600 18px var(--font-display); color: var(--pink-700); }
.earnings__amount { font: 700 clamp(56px, 10vw, 96px)/1 var(--font-display); color: #fff; text-shadow: 0 4px 0 #f7a9c7, 0 10px 24px rgba(180, 32, 94, .35); }
.earnings__note { margin-top: 6px; font-weight: 600; color: var(--pink-700); }
.earnings__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.earnings__tile { padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.earnings__tile strong { font: 700 34px/1.1 var(--font-display); color: var(--pink-600); }
.earnings__tile small { color: var(--muted); }
.earnings__panel { padding: 20px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.earnings__table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 15px; }
.earnings__table td { padding: 8px 0; border-bottom: 1px solid var(--pink-100); }
.earnings__table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.earnings__total td { font-weight: 700; color: var(--pink-700); border-bottom: 0; font-size: 17px; }
.earnings__chart { height: 160px; margin: 14px 0 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.earnings__bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.earnings__bar-fill { width: 70%; height: 4px; border-radius: 3px 3px 0 0; background: var(--pink-500); }
.earnings__bar small { font-size: 12px; color: var(--muted); }
.earnings__share { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.earnings__card { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.settings__danger { margin-top: 30px; padding-top: 20px; border-top: 2px dashed var(--pink-200); }
.modal { position: fixed; inset: 0; margin: auto; z-index: 60; max-width: min(420px, 90vw); padding: 28px; border: 0; border-radius: var(--radius-lg);
  text-align: center; box-shadow: 0 20px 60px rgba(80, 30, 50, .35); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.modal:not([open]) { display: none; }
.modal::backdrop { background: rgba(43, 27, 35, .4); }
.modal__heart { width: 56px; height: 56px; color: var(--pink-500); }
.modal__title { font: 700 30px var(--font-display); color: var(--pink-600); }

/* ---------- Responsive ---------- */

/* Medium: the right sidebar moves below the main column. */
@media (max-width: 1279px) {
  .app--with-aside {
    grid-template-columns: var(--nav-width) minmax(0, 1fr);
    grid-template-areas: "top top" "nav main" "nav aside";
  }
  .aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
}

@media (max-width: 1100px) {
  .hero { padding: 30px 24px; }
}

/* Small: one column, the side nav becomes a drawer. */
@media (max-width: 900px) {
  .app, .app--with-aside {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "top" "main" "aside";
    padding: 12px 16px 24px;
  }
  .topbar { flex-wrap: wrap; gap: 12px; }
  .brand { flex: 0 1 auto; }
  .brand__logo { font-size: 38px; }
  .brand__tagline { font-size: 13px; margin-left: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .topbar__actions { margin-left: auto; }
  .nav-toggle {
    order: -1; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1.5px solid var(--pink-200); border-radius: 14px; background: rgba(255, 255, 255, .8);
    color: var(--pink-600); cursor: pointer;
  }
  .nav-toggle .icon { width: 24px; height: 24px; }

  .sidenav {
    position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(300px, 86vw);
    padding: 24px 16px; overflow-y: auto; background: var(--pink-50);
    box-shadow: var(--shadow-strong); transform: translateX(-105%); transition: transform .2s ease;
    visibility: hidden;
  }
  .nav-open .sidenav { transform: none; visibility: visible; }
  .nav-open body::before {
    content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(43, 27, 35, .35);
  }
}

@media (max-width: 600px) {
  .topbar__buttons > .btn--ghost { display: none; }
  .topbar__me { display: none; }
  .topbar { gap: 10px; }
  .brand__logo { font-size: 31px; }
  .brand__tagline { font-size: 11px; margin-left: 18px; }
  .topbar__buttons .btn { padding: 9px 12px; font-size: 13px; }
  .hero { padding: 24px 16px; }
  .hero__lead { font-size: 19px; }
  .offers__item { width: 76px; }
  .offers__icon { width: 52px; height: 52px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
  .jcard__body { padding: 10px 10px 2px; }
  .jcard__foot { padding: 10px; }
  .section__title { font-size: 20px; }
  .profile { grid-template-columns: 1fr; padding: 18px; gap: 24px; }
  .cards__preview, .landing, .earnings__share { grid-template-columns: 1fr; }
  .profile__name { font-size: 27px; }
  .post-card { padding: 14px 14px 10px; }
  .post-card__title { font-size: 18px; }
  .post-card__actions { gap: 12px; font-size: 13px; }
  .post-card__actions > .post-card__stat:nth-of-type(2) { display: none; }
  .article { padding-top: 26px; border-radius: var(--radius); }
  .article__subtitle { font-size: 18px; }
  .prose { font-size: 18px; }
}

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

/* ---------- Legal pages, satire explainer ---------- */
.legal {
  max-width: 760px; margin: 0 auto; padding: 36px clamp(18px, 5vw, 48px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.legal__title { font: 700 clamp(28px, 4vw, 38px)/1.15 var(--font-display); color: var(--pink-700); }
.legal__updated, .legal__note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.legal__note a { color: var(--pink-600); text-decoration: underline; }
.legal__body { font: 400 17px/1.65 var(--font-body); color: var(--ink-soft); }
.legal__body h2 { font-size: 21px; }
.legal__body .legal__lead { font-size: 19px; color: var(--ink); }
.legal__body code { font-size: .9em; background: var(--pink-50); padding: 1px 6px; border-radius: 6px; }
.support-list { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.support-list a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--pink-100);
  color: var(--pink-700); text-decoration: none; font-weight: 600;
}

/* ---------- Theme preview notice (admins only, see app/lib/theme.php) ---------- */
.theme-preview {
  margin-bottom: 16px; padding: 10px 16px; border-radius: 12px; border: 1.5px dashed var(--pink-300);
  display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.theme-preview a { text-decoration: underline; }

/* ---------- Reports ---------- */
.report-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted);
  text-decoration: none;
}
.report-link:hover { color: var(--pink-700); text-decoration: underline; }
.report-link .icon { width: 16px; height: 16px; }
.report fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.report__targets { display: flex; flex-wrap: wrap; gap: 10px; }
.report__target {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border: 1.5px solid var(--pink-200); border-radius: var(--radius-sm); cursor: pointer; background: #fff;
}
.report__target:has(input:checked) { border-color: var(--pink-500); background: var(--pink-100); }
.report__target input { accent-color: var(--pink-500); }
.report__target img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
