@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #281642;
  --ink-2: #38234f;
  --purple: #6945d6;
  --purple-soft: #eee8ff;
  --lime: #dafa74;
  --paper: #f8f6f0;
  --white: #fffefa;
  --muted: #746d7b;
  --line: #e9e4ec;
  --pink: #ff9fb7;
  --shadow: 0 18px 52px rgba(40, 22, 66, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(105, 69, 214, .4);
  outline-offset: 3px;
}
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 246, 240, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(40, 22, 66, .08);
}
.header-inner {
  width: min(1280px, calc(100% - 48px)); height: 78px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); border-radius: 11px;
  font-size: 24px; line-height: 1; transform: rotate(-7deg);
}
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.06em; }
.brand-name span { color: var(--purple); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.main-nav a { font-size: 12px; font-weight: 800; color: #665b70; transition: color .2s; }
.main-nav a:hover { color: var(--purple); }
.account-area { min-width: 130px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.user-chip {
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px;
  background: var(--white); font-size: 11px; font-weight: 800;
}

/* Buttons */
.button {
  min-height: 48px; border: 0; border-radius: 999px; padding: 0 21px;
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  font-size: 12px; font-weight: 800; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 11px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #43235f; box-shadow: 0 7px 20px rgba(40,22,66,.17); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #cdf45c; box-shadow: 0 7px 22px rgba(218,250,116,.25); }
.button-purple { background: var(--purple); color: white; }
.button-purple:hover { background: #5633c0; box-shadow: 0 7px 20px rgba(105,69,214,.18); }
.button-outline { border: 1px solid #ddd5e5; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--purple-soft); }
.button-full { width: 100%; }

/* Hero */
.hero {
  min-height: 520px; padding-block: 72px 78px; display: grid;
  grid-template-columns: 1.08fr .92fr; align-items: center; gap: 32px;
}
.eyebrow, .section-kicker, .card-label, .demo-title {
  font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em; font-weight: 500;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--purple); margin-bottom: 24px; }
.eyebrow-dot, .status-dot { display: inline-block; width: 7px; height: 7px; background: #8cbf32; border-radius: 50%; }
.hero h1 { margin: 0; font-size: clamp(43px, 6.2vw, 76px); line-height: .99; letter-spacing: -.075em; font-weight: 800; }
.hero h1 span { color: var(--purple); }
.hero-description { max-width: 555px; margin: 23px 0 0; color: #6d6277; font-size: 15px; line-height: 1.85; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { font-size: 12px; font-weight: 800; }
.text-link span { margin-left: 6px; color: var(--purple); }
.hero-meta { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: #8b8191; font-family: "DM Mono", monospace; font-size: 9px; }
.hero-art {
  position: relative; min-height: 370px; display: grid; place-items: center; isolation: isolate;
  background: #eae2ff; border-radius: 47% 53% 46% 54% / 52% 42% 58% 48%; overflow: hidden;
  transform: rotate(1deg);
}
.hero-art::before { content: ""; position: absolute; inset: 24px; border: 1px dashed rgba(105,69,214,.26); border-radius: 50%; }
.hero-art::after { content: "✳"; position: absolute; top: 35px; right: 58px; color: var(--purple); font-size: 40px; transform: rotate(17deg); }
.art-orbit { position: absolute; border: 1px solid rgba(105,69,214,.17); border-radius: 50%; }
.orbit-one { width: 280px; height: 280px; }
.orbit-two { width: 350px; height: 350px; }
.dog-disc {
  position: relative; z-index: 1; width: clamp(190px, 24vw, 260px); aspect-ratio: 1;
  background: var(--lime); border: 8px solid var(--white); border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 15px 35px rgba(40,22,66,.12);
}
.dog-emoji { font-size: clamp(94px, 13vw, 135px); filter: drop-shadow(0 8px 2px rgba(40,22,66,.08)); transform: rotate(-8deg); }
.spark { position: absolute; color: var(--purple); font-size: 36px; }
.spark-one { top: 19px; left: 25px; }
.spark-two { bottom: 18px; right: 17px; font-size: 45px; color: #ed6b92; }
.art-sticker {
  position: absolute; top: 44px; left: 24px; z-index: 2; width: 79px; height: 79px; border-radius: 50%;
  background: var(--pink); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; line-height: 1.3;
  transform: rotate(-11deg); box-shadow: 0 7px 18px rgba(40,22,66,.1);
}
.art-sticker strong { font-size: 17px; letter-spacing: -.05em; }
.art-label {
  position: absolute; z-index: 2; bottom: 46px; left: 50%; transform: translateX(-50%) rotate(-1deg);
  white-space: nowrap; background: var(--ink); color: white; border-radius: 999px; padding: 12px 16px;
  font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; display: flex; gap: 8px; align-items: center;
}
.art-note {
  position: absolute; z-index: 2; bottom: 70px; right: 26px; padding: 12px 17px;
  background: var(--white); border-radius: 12px; box-shadow: 0 7px 18px rgba(40,22,66,.1);
  font-size: 20px; font-weight: 800; transform: rotate(8deg);
}
.art-note small { display: block; font-size: 8px; font-family: "DM Mono", monospace; font-weight: 400; color: var(--muted); }

/* Ticker strip */
.intro-strip { border-block: 1px solid rgba(40,22,66,.1); overflow: hidden; background: var(--lime); }
.intro-strip-inner {
  min-width: max-content; height: 52px; display: flex; align-items: center; justify-content: space-around;
  gap: clamp(20px, 4vw, 57px); padding: 0 24px; color: var(--ink);
  font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em; font-weight: 500;
}
.intro-strip b { font-size: 17px; }

/* Identity and mission */
.content-section { padding-block: 100px 105px; }
.section-heading { max-width: 620px; }
.section-kicker { color: var(--purple); margin: 0 0 15px; }
.section-heading h2, .mission-copy h2 {
  margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 56px);
  line-height: 1.04; letter-spacing: -.07em; font-weight: 800;
}
.section-heading h2 span { color: var(--purple); }
.section-lede { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; }
.info-card { position: relative; min-height: 310px; padding: 33px; border-radius: 19px; overflow: hidden; }
.info-card-purple { background: var(--ink); color: white; }
.info-card-lime { background: #e5f7b3; color: var(--ink); }
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  background: rgba(255,255,255,.12); color: var(--lime); font-size: 28px; margin-bottom: 26px;
}
.info-card-lime .card-icon { background: rgba(40,22,66,.08); color: var(--ink); }
.dog-icon { font-size: 26px; }
.card-label { margin: 0 0 10px; opacity: .65; }
.info-card h3 { margin: 0; font-size: clamp(25px, 3vw, 35px); line-height: 1.13; letter-spacing: -.055em; }
.info-card > p:not(.card-label) { position: relative; z-index: 1; max-width: 470px; margin: 18px 0 0; font-size: 12px; line-height: 1.9; opacity: .79; }
.card-decoration { position: absolute; right: 20px; bottom: -17px; color: rgba(255,255,255,.07); font-size: 72px; font-weight: 800; letter-spacing: -.09em; transform: rotate(-12deg); }
.paw-decoration { font-size: 76px; color: rgba(40,22,66,.09); transform: rotate(-16deg); }

/* Mission */
.mission-section { position: relative; overflow: hidden; background: var(--ink); color: white; }
.mission-inner {
  position: relative; z-index: 1; min-height: 375px; padding-block: 75px;
  display: grid; grid-template-columns: 66px 1fr 1fr; align-items: start; gap: 24px;
}
.mission-symbol { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 30px; }
.section-kicker-light { color: var(--lime); }
.mission-copy h2 { color: white; font-size: clamp(43px, 5.2vw, 60px); }
.mission-copy h2 span { color: var(--lime); }
.mission-text { padding-top: 34px; max-width: 445px; }
.mission-text > p:first-child { margin: 0; color: #d2c9dc; font-size: 14px; line-height: 1.95; }
.mission-footnote { color: #b6a9c4; font-family: "DM Mono", monospace; font-size: 10px; line-height: 1.7; margin: 20px 0 25px; }
.mission-doodle { position: absolute; right: -17px; bottom: -50px; color: rgba(255,255,255,.035); font-size: 130px; line-height: .75; font-weight: 800; letter-spacing: -.1em; transform: rotate(-12deg); pointer-events: none; }

/* Blog */
.blog-section { padding-block: 100px 90px; }
.blog-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.blog-stamp {
  width: 98px; height: 98px; flex: 0 0 98px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  border: 1px solid #cfc1ed; border-radius: 50%; color: var(--purple); transform: rotate(11deg);
}
.blog-stamp span { font-family: "DM Mono", monospace; font-size: 7px; letter-spacing: .13em; }
.blog-stamp strong { font-size: 28px; line-height: 1.2; }
.login-callout {
  display: flex; align-items: center; gap: 17px; margin-top: 36px; padding: 23px 25px;
  background: #eee8ff; border: 1px solid #e0d6fb; border-radius: 16px;
}
.callout-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--purple); color: white; font-size: 25px; }
.login-callout > div:nth-child(2) { flex: 1; }
.login-callout h3, .composer h3 { margin: 0; font-size: 14px; letter-spacing: -.03em; }
.login-callout p, .composer-top p { margin: 5px 0 0; color: #766987; font-size: 11px; line-height: 1.6; }
.composer { margin-top: 28px; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 28px rgba(40,22,66,.04); }
.composer-top { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.avatar { width: 41px; height: 41px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 15px; }
.composer textarea {
  display: block; width: 100%; min-height: 95px; resize: vertical; padding: 15px 16px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff;
  font-size: 13px; line-height: 1.7;
}
.composer textarea::placeholder { color: #a59baa; }
.composer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 13px; }
.photo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.photo-status { color: #978c9f; font-family: "DM Mono", monospace; font-size: 9px; }
.photo-preview { position: relative; margin-top: 17px; width: min(100%, 420px); border-radius: 12px; overflow: hidden; background: #f1edf6; }
.photo-preview img { display: block; max-height: 270px; width: 100%; object-fit: contain; }
.preview-remove { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 22px; }
.form-message { margin: 8px 0 0; font-size: 11px; color: #a53956; min-height: 0; }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 46px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.feed-toolbar h3 { margin: 0; font-size: 15px; letter-spacing: -.04em; }
.feed-toolbar-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.feed-count { display: inline-grid; place-items: center; min-width: 24px; height: 23px; padding: 0 6px; margin-left: 5px; border-radius: 99px; background: var(--lime); font-family: "DM Mono", monospace; font-size: 9px; vertical-align: 2px; }
.feed-note { display: flex; align-items: center; gap: 7px; color: #887d91; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; }
.feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 20px; align-items: start; }
.post-card { min-width: 0; padding: 21px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 25px rgba(40,22,66,.035); }
.post-header { display: flex; align-items: center; gap: 11px; }
.post-avatar { width: 39px; height: 39px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--purple-soft); color: var(--purple); font-size: 13px; font-weight: 800; }
.post-author { min-width: 0; flex: 1; }
.post-author strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.post-author span { display: block; margin-top: 3px; color: #a097a9; font-family: "DM Mono", monospace; font-size: 9px; }
.post-time { color: #a097a9; white-space: nowrap; font-family: "DM Mono", monospace; font-size: 9px; }
.delete-post { border: 0; background: transparent; color: #a097a9; font-size: 18px; line-height: 1; padding: 2px 4px; }
.delete-post:hover { color: #b63159; }
.post-copy { margin: 17px 0 0; color: #554963; font-size: 12px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-photo { display: block; width: 100%; max-height: 390px; object-fit: contain; margin-top: 16px; border-radius: 11px; background: #f0edf2; }
.post-actions { display: flex; align-items: center; padding-top: 16px; margin-top: 16px; border-top: 1px solid #f0ecf2; }
.vote-control { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.vote-arrow { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: #f3effb; color: #8b7a9d; font-size: 14px; line-height: 1; cursor: pointer; }
.vote-arrow:hover { background: #eae2f5; color: var(--purple); }
.vote-arrow.vote-up-active { background: #dff5a2; color: #3f6315; border-color: #c8e782; }
.vote-arrow.vote-down-active { background: #ffe0d7; color: #a43829; border-color: #ffc3b2; }
.vote-score { min-width: 22px; color: var(--ink); font-family: "DM Mono", monospace; font-size: 11px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.vote-score.is-negative { color: #bd422e; }
.comment-count { margin-left: auto; color: #9b90a4; font-size: 10px; }
.comments { margin-top: 15px; display: grid; gap: 10px; }
.comment { display: flex; align-items: start; gap: 8px; }
.comment-bullet { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 9px; background: #f2edf8; color: var(--purple); font-size: 9px; font-weight: 800; }
.comment-body { flex: 1; min-width: 0; background: #f8f6fa; border-radius: 0 11px 11px 11px; padding: 9px 11px; }
.comment-body strong { font-size: 9px; }
.comment-body p { margin: 3px 0 0; color: #766d7f; font-size: 10px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-vote-control { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: 0 0 24px; margin-top: 6px; }
.comment-vote-control .vote-arrow { width: 24px; height: 22px; font-size: 11px; border-radius: 6px; }
.comment-vote-control .vote-score { min-width: 20px; font-size: 9px; }
.comment-delete { border: 0; background: transparent; color: #ab9eb4; padding: 0 0 0 4px; font-size: 13px; }
.comment-form { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.comment-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 999px; background: white; padding: 10px 13px; color: var(--ink); font-size: 10px; }
.comment-form button { flex: 0 0 auto; border: 0; border-radius: 50%; width: 33px; height: 33px; background: var(--ink); color: white; font-size: 16px; }
.comment-login { margin: 13px 0 0; color: #9b90a4; font-size: 10px; }
.comment-login button { border: 0; padding: 0; background: none; color: var(--purple); font-weight: 800; }
.empty-feed { grid-column: 1 / -1; text-align: center; padding: 40px 20px; border: 1px dashed #d8cedf; border-radius: 16px; color: #8c8096; font-size: 12px; }
.feed-legal { margin-top: 21px; color: #9b90a4; font-size: 10px; line-height: 1.7; }
.feed-legal a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* Community leaderboards */
.leaderboard-modal { width: min(100%, 610px); }
.leaderboard-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 4px 0 16px; padding: 5px; border-radius: 12px; background: #f1edf6; }
.leaderboard-tab { border: 0; border-radius: 9px; padding: 11px; background: transparent; color: #7b6c8b; font-size: 11px; font-weight: 800; }
.leaderboard-tab.is-active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(40,22,66,.08); }
.leaderboard-list { display: grid; gap: 8px; max-height: 52vh; overflow-y: auto; }
.leaderboard-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.leaderboard-rank { width: 23px; flex: 0 0 23px; color: #9686a6; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 800; text-align: center; }
.leaderboard-row:first-child .leaderboard-rank { color: #71600a; }
.leaderboard-avatar-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.leaderboard-avatar { width: 38px; height: 38px; overflow: hidden; border-radius: 12px; }
.leaderboard-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.leaderboard-copy { min-width: 0; flex: 1; }
.leaderboard-name { display: block; max-width: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 800; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.leaderboard-name:hover { color: var(--purple); text-decoration: underline; }
.leaderboard-copy small { display: block; margin-top: 4px; color: #978a9f; font-size: 9px; line-height: 1.5; }
.leaderboard-value { padding: 7px 9px; border-radius: 99px; background: #eff5dc; color: #526d22; font-family: "DM Mono", monospace; font-size: 10px; white-space: nowrap; }
.leaderboard-value.is-negative { background: #fff0ed; color: #b53e2d; }
.leaderboard-note { margin: 14px 0 0; color: #9b90a4; font-size: 9px; line-height: 1.6; }

/* Technical note and footer */
.limits-section {
  display: flex; align-items: start; gap: 17px; max-width: 900px; padding: 28px;
  margin-bottom: 85px; background: #efebf5; border: 1px solid #e6deef; border-radius: 17px;
}
.limits-icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; background: white; border-radius: 50%; color: var(--purple); font-weight: 800; }
.limits-section .section-kicker { margin: 1px 0 8px; }
.limits-section h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }
.limits-section > div:last-child > p:last-child { margin: 9px 0 0; color: #796d85; font-size: 11px; line-height: 1.9; }
.site-footer { background: var(--ink); color: #c6bbd1; }
.footer-inner { min-height: 100px; width: min(1280px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-footer .brand-name { color: white; }
.brand-footer .brand-name span { color: var(--lime); }
.brand-footer .brand-mark { background: var(--lime); }
.footer-inner p { font-family: "DM Mono", monospace; font-size: 9px; line-height: 1.7; text-align: center; color: #ab9eb8; }
.back-top { color: var(--lime); font-size: 10px; font-weight: 800; white-space: nowrap; }

/* Login modal */
.modal-backdrop {
  position: fixed; z-index: 100; inset: 0; display: grid; place-items: center;
  overflow-y: auto; padding: 24px; background: rgba(22, 12, 35, .67); backdrop-filter: blur(7px);
}
.login-modal {
  position: relative; width: min(100%, 435px); max-height: min(92vh, 850px); overflow-y: auto;
  padding: 34px; background: var(--white); border-radius: 22px; box-shadow: 0 25px 100px rgba(0,0,0,.25);
}
.modal-close { position: absolute; top: 15px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0ecf4; color: var(--ink); font-size: 22px; }
.modal-symbol { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--lime); font-size: 28px; margin-bottom: 19px; }
.login-modal h2 { margin: 0; font-size: 31px; line-height: 1.1; letter-spacing: -.07em; }
.login-modal h2 span { color: var(--purple); }
.modal-description { margin: 11px 0 22px; color: #81748b; font-size: 11px; line-height: 1.7; }
.login-modal form { display: grid; gap: 8px; }
.login-modal label { margin-top: 5px; font-size: 10px; font-weight: 800; }
.login-modal input { width: 100%; min-height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.login-error { min-height: 0; margin: 0; color: #bb345b; font-size: 10px; }
.demo-accounts { margin-top: 22px; padding: 15px; background: #f5f2f8; border-radius: 12px; }
.demo-title { margin: 0 0 10px; color: #897a99; font-size: 9px; }
.demo-accounts > div { display: flex; align-items: center; gap: 4px; padding: 5px 0; font-size: 10px; }
.demo-accounts code { color: var(--ink); font-size: 10px; font-weight: 800; }
.demo-accounts > div button { margin-left: auto; padding: 5px 9px; border: 0; border-radius: 99px; background: white; color: var(--purple); font-size: 9px; font-weight: 800; }
.demo-warning { margin: 12px 0 0; color: #998da2; font-size: 9px; line-height: 1.6; }
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 99px; background: var(--ink); color: white;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 11px; font-weight: 700; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 10px; }
  .hero { grid-template-columns: 1fr .8fr; gap: 18px; padding-block: 56px 62px; }
  .hero-art { min-height: 310px; }
  .art-note { right: 12px; bottom: 57px; }
  .mission-inner { grid-template-columns: 50px 1fr 1fr; gap: 17px; }
  .mission-symbol { width: 42px; height: 42px; font-size: 25px; }
}
@media (max-width: 650px) {
  .section-wrap, .header-inner, .footer-inner { width: min(100% - 32px, 520px); }
  .header-inner { min-height: 70px; height: auto; padding-block: 13px; flex-wrap: wrap; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; padding: 4px 0 1px; }
  .main-nav a { font-size: 10px; }
  .account-area { margin-left: auto; }
  .user-chip { max-width: 115px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 55px; gap: 34px; }
  .hero h1 { font-size: clamp(45px, 13vw, 66px); }
  .hero-description { font-size: 13px; }
  .hero-art { width: min(100%, 420px); justify-self: center; min-height: 320px; }
  .dog-disc { width: 200px; }
  .dog-emoji { font-size: 105px; }
  .content-section, .blog-section { padding-block: 70px; }
  .section-heading h2 { font-size: 44px; }
  .identity-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 290px; padding: 27px; }
  .mission-inner { grid-template-columns: 43px 1fr; padding-block: 58px; gap: 14px; }
  .mission-copy h2 { font-size: 47px; }
  .mission-text { grid-column: 2; padding-top: 5px; }
  .mission-symbol { grid-row: 1 / span 2; width: 38px; height: 38px; }
  .mission-doodle { font-size: 92px; }
  .blog-heading { align-items: start; }
  .blog-stamp { width: 72px; height: 72px; flex-basis: 72px; margin-top: 11px; }
  .blog-stamp strong { font-size: 22px; }
  .blog-stamp span { font-size: 6px; }
  .login-callout { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .callout-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .login-callout > div:nth-child(2) { min-width: calc(100% - 60px); }
  .login-callout > button { width: 100%; }
  .composer { padding: 17px; }
  .composer-bottom { align-items: stretch; flex-direction: column; }
  .composer-bottom > button { width: 100%; }
  .feed { grid-template-columns: 1fr; }
  .feed-toolbar { align-items: start; flex-direction: column; gap: 8px; }
  .feed-toolbar-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .leaderboard-row { gap: 7px; padding: 9px; }
  .leaderboard-avatar { width: 32px; height: 32px; border-radius: 10px; }
  .leaderboard-value { padding: 6px 7px; font-size: 9px; }
  .limits-section { padding: 21px; margin-bottom: 58px; gap: 12px; }
  .footer-inner { min-height: 140px; flex-wrap: wrap; justify-content: space-between; padding-block: 22px; gap: 12px; }
  .footer-inner p { width: 100%; order: 3; text-align: left; margin: 0; }
  .back-top { margin-left: auto; }
  .login-modal { padding: 28px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Contas, perfis, menus e ferramentas de moderação */
.user-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--ink);
  max-width: 160px; min-height: 38px; font-family: inherit;
}
.header-avatar { width: 21px; height: 21px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 9px; font-weight: 800; }
.header-avatar img, .avatar img, .post-avatar img, .comment-bullet img, .admin-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.account-area .button-small { white-space: nowrap; }
.avatar-trigger { border: 0; padding: 0; background: transparent; line-height: 0; }
.post-avatar { overflow: hidden; }
.comment-bullet { border: 0; padding: 0; overflow: hidden; cursor: pointer; }
.profile-name-trigger { max-width: 100%; border: 0; padding: 0; color: var(--ink); background: transparent; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.profile-name-trigger:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.post-author .profile-name-trigger { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.comment-body .profile-name-trigger { font-size: 9px; }
.more-menu-root { position: relative; display: inline-flex; flex: 0 0 auto; }
.more-button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #8e8298; font-size: 25px; line-height: 1; padding: 0 0 7px; }
.more-button:hover, .more-button[aria-expanded="true"] { border-color: var(--line); background: #f4f0f8; color: var(--ink); }
.action-menu { position: absolute; z-index: 30; top: calc(100% + 4px); right: 0; min-width: 170px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; box-shadow: 0 12px 32px rgba(40, 22, 66, .16); }
.action-menu button { display: block; width: 100%; border: 0; border-radius: 8px; padding: 10px 11px; background: transparent; color: var(--ink); font-size: 11px; text-align: left; }
.action-menu button:hover { background: var(--purple-soft); }
.action-menu .danger-menu-item { color: #b32651; }
.action-menu .danger-menu-item:hover { background: #fff0f3; }
.comment-more-root .more-button { width: 26px; height: 26px; font-size: 21px; }
.comment-time { display: block; margin-top: 5px; color: #a097a9; font-family: "DM Mono", monospace; font-size: 8px; }
.post-header .more-menu-root { margin-left: 0; }
.avatar-preview-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; color: var(--muted); font-size: 10px; }
.avatar-current { width: 43px; height: 43px; overflow: hidden; }
.avatar-current img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modal-switch { display: block; width: 100%; margin-top: 18px; padding: 4px; border: 0; background: transparent; color: var(--purple); text-align: center; }
.login-modal textarea { width: 100%; min-height: 70px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; resize: vertical; }
.login-modal input[type="file"] { padding: 9px; min-height: 42px; background: #fff; }
.profile-modal { width: min(100%, 650px); }
.admin-modal { width: min(100%, 760px); }
.profile-head { display: flex; align-items: flex-start; gap: 18px; padding: 8px 0 19px; }
.profile-large-avatar { width: 88px; height: 88px; flex: 0 0 auto; display: block; object-fit: cover; border-radius: 26px; background: var(--purple-soft); }
.profile-initial { display: grid; place-items: center; color: var(--purple); font-size: 34px; font-weight: 800; }
.profile-head h2 { margin: 0; font-size: 29px; line-height: 1.1; letter-spacing: -.06em; overflow-wrap: anywhere; }
.profile-head .section-kicker { margin: 1px 0 8px; }
.profile-handle { margin: 5px 0 0; color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; }
.profile-bio { margin: 8px 0 0; color: #766987; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-stats { display: flex; gap: 12px; border-block: 1px solid var(--line); padding: 13px 0; color: var(--muted); font-size: 10px; }
.profile-stats strong { color: var(--ink); }
.profile-section-title { margin: 20px 0 10px; font-size: 13px; }
.profile-activity { padding: 13px 14px; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.profile-activity > p { margin: 0; color: #5f526e; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-activity .profile-comment-context { margin-bottom: 8px; color: #9a8eaa; font-size: 9px; }
.profile-activity-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #a097a9; font-size: 9px; }
.profile-activity-meta .text-link { padding: 0; border: 0; background: transparent; color: var(--purple); font-size: 10px; }
.profile-post-image { display: block; max-width: 100%; max-height: 170px; object-fit: contain; margin-top: 9px; border-radius: 8px; }
.profile-empty { color: #a097a9; font-size: 10px; }
.admin-users { display: grid; gap: 12px; max-height: 58vh; overflow-y: auto; padding-right: 3px; }
.admin-user-row { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-user-summary { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.admin-avatar { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border-radius: 12px; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 800; }
.admin-user-summary > div { min-width: 0; flex: 1; }
.admin-user-summary strong { font-size: 11px; }
.admin-user-summary p { margin: 3px 0 0; color: #9b90a4; font-size: 9px; }
.admin-role-badge { padding: 5px 7px; border-radius: 99px; background: #f2eef8; color: #74618e; font-family: "DM Mono", monospace; font-size: 8px; }
.admin-user-row label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; }
.admin-user-row input:not([type="checkbox"]), .admin-user-row select { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 11px; }
.admin-controls { display: flex; align-items: end; gap: 14px; margin-top: 10px; }
.admin-controls > label:first-child { flex: 1; }
.admin-user-row .admin-active-label { display: flex; align-items: center; gap: 7px; min-height: 36px; white-space: nowrap; }
.admin-active-label input { accent-color: var(--purple); }
.admin-row-actions { display: flex; gap: 8px; margin-top: 12px; }
.admin-row-actions button:disabled { opacity: .45; cursor: not-allowed; }
.admin-delete-account { color: #a52c4d; }
.attention-highlight { outline: 3px solid var(--lime); outline-offset: 3px; transition: outline-color .2s; }

@media (max-width: 650px) {
  .account-area { gap: 5px; min-width: auto; }
  .account-area .button-small { min-height: 34px; padding-inline: 9px; font-size: 9px; }
  .user-chip { max-width: 115px; padding: 5px 7px; font-size: 9px; }
  .header-avatar { width: 18px; height: 18px; }
  .profile-head { gap: 12px; }
  .profile-large-avatar { width: 68px; height: 68px; border-radius: 20px; }
  .profile-head h2 { font-size: 24px; }
  .admin-controls { align-items: stretch; flex-direction: column; gap: 9px; }
  .admin-user-row .admin-active-label { min-height: 20px; }
  .admin-row-actions { flex-wrap: wrap; }
  .action-menu { min-width: 158px; }
}

/* Conteúdo editável pelo administrador e notificações */
.hero h1 .heading-prefix, .section-heading h2 .heading-prefix { color: var(--ink); }
.site-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.site-card-photo { width: 72px; height: 72px; margin-bottom: 20px; border: 3px solid rgba(255,255,255,.6); border-radius: 18px; object-fit: cover; }
.info-card-lime .site-card-photo { border-color: rgba(40,22,66,.12); }
.notification-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: 9px; font-weight: 900; }
.admin-top-actions { display: flex; justify-content: flex-end; margin: 0 0 16px; }
.admin-top-actions .button { min-height: 39px; font-size: 10px; }
.notifications-modal { width: min(100%, 620px); }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.notification-toolbar .text-link { border: 0; background: transparent; color: var(--purple); white-space: nowrap; }
.notifications-list { display: grid; gap: 8px; max-height: 55vh; overflow-y: auto; }
.notification-item { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; color: var(--ink); }
.notification-item:hover { border-color: #d6c7f3; background: #fbf9ff; }
.notification-item.notification-unread { background: #f7f3ff; border-color: #e1d7fb; }
.notification-avatar { width: 39px; height: 39px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 800; }
.notification-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.notification-item-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.notification-item-copy strong { font-size: 11px; }
.notification-item-copy > span { color: #63576f; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.notification-item-copy small { color: #9b90a4; font-family: "DM Mono", monospace; font-size: 8px; }
.notification-unread-dot { width: 8px; height: 8px; flex: 0 0 auto; background: var(--purple); border-radius: 50%; }
.notifications-empty { padding: 25px 18px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.notifications-empty strong { font-size: 12px; }
.notifications-empty p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.site-content-modal { width: min(100%, 850px); max-height: 94vh; }
#site-content-form { gap: 13px; }
.site-content-fields { display: grid; gap: 10px; max-height: 62vh; overflow-y: auto; padding: 1px 4px 1px 1px; }
.site-settings-group { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.site-settings-group > summary { padding: 13px 15px; color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; background: #f8f5fc; }
.site-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.site-setting-field { display: grid; align-content: start; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; }
.site-setting-field textarea { width: 100%; min-height: 39px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 11px; line-height: 1.45; resize: vertical; }
.site-image-settings { display: grid; gap: 10px; padding: 14px; }
.site-image-setting { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.site-image-setting strong { font-size: 11px; }
.site-image-setting p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.site-image-setting img { display: block; width: 84px; height: 64px; margin-top: 8px; border-radius: 7px; object-fit: cover; background: #f1edf6; }
.site-image-upload { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border: 1px solid #ddd5e5; border-radius: 999px; color: var(--ink); font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.site-image-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.site-image-upload.is-uploading { opacity: .55; pointer-events: none; }
.site-content-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 5px; }
.site-content-actions .button { min-height: 40px; }

@media (max-width: 650px) {
  .account-area { flex-wrap: wrap; }
  .account-area #notification-open { font-size: 0; gap: 0; width: 34px; min-width: 34px; padding: 0; }
  .account-area #notification-open::before { content: "♧"; font-size: 15px; }
  .site-settings-grid { grid-template-columns: 1fr; }
  .site-image-setting { grid-template-columns: minmax(0, 1fr) auto; }
  .site-image-setting .button { grid-column: 2; }
  .site-content-actions { position: sticky; bottom: 0; padding: 10px 0 0; background: var(--white); }
  .notifications-list { max-height: 56vh; }
}
.hero h1 .heading-prefix { color: var(--ink); }
.mission-copy h2 .mission-heading-prefix { color: white; }
.brand-name [data-site-text="brand_name"] { color: inherit; }
.brand-footer .brand-name [data-site-text="brand_name"] { color: white; }
