:root {
  color-scheme: dark;
  --page: #101114;
  --surface: #191a20;
  --surface-raised: #202127;
  --line: #2a2b32;
  --text: #f2f0ed;
  --muted: #9a9ba5;
  --orange: #f4774c;
  --orange-soft: #3c261f;
  --green: #8ad7ae;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 14px/1.55 "DM Sans", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
.topbar {
  min-height: 76px; padding: 0 max(28px, calc((100% - 1430px) / 2));
  display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line);
  background: #141519;
}
.brand { font: 800 25px Manrope, sans-serif; letter-spacing: -1.3px; }
.brand-mark { display: inline-grid; place-items: center; background: var(--orange); color: #1d1512; width: 30px; height: 30px; border-radius: 10px 10px 10px 3px; margin-right: 5px; }
.tagline { color: var(--muted); margin: 0; font-size: 13px; }
.account { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.account form { margin: 0; }
.signed-in { color: #d5d2cf; }
.layout { max-width: 1430px; margin: 28px auto 0; padding: 0 28px; display: grid; grid-template-columns: 220px minmax(420px, 700px) 270px; gap: 26px; align-items: start; }
.sidebar { position: sticky; top: 20px; padding: 10px 0; }
.nav-link { display: flex; align-items: center; gap: 10px; color: #b6b5be; padding: 10px 12px; border-radius: 8px; margin: 2px 0; }
.nav-link:hover, .nav-link.active { background: var(--surface-raised); color: var(--text); }
.nav-link.active { box-shadow: inset 2px 0 var(--orange); }
.side-heading, .eyebrow { font-size: 10px; letter-spacing: 1.35px; font-weight: 700; color: var(--muted); }
.side-heading { margin: 27px 12px 9px; }
.community-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px #f4774c44; }
.sidebar-note { margin: 32px 8px 0; border-top: 1px solid var(--line); padding: 18px 4px; color: var(--muted); font-size: 12px; }
.sidebar-note strong { color: #dedce0; font-size: 13px; }
.sidebar-note p { margin: 7px 0; }
.sponsor-feed { display: grid; gap: 9px; margin-top: 16px; }
.sponsor-notice { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-color: #4b4030; background: #211f1a; }
.sponsor-notice > div { flex: 1; min-width: 0; }
.sponsor-notice strong { font-size: 12px; }
.sponsor-notice p { color: #c0b9ad; font-size: 11px; margin: 2px 0 0; overflow-wrap: anywhere; }
.sponsor-label { display: inline-block; flex: 0 0 auto; color: #e5ba73; border: 1px solid #79603a; border-radius: 4px; padding: 2px 5px; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.side-create { margin: 12px 10px; color: var(--orange); }
.side-create summary, .edit-challenge summary { font-size: 12px; font-weight: 600; cursor: pointer; }
.stack-form { display: grid; gap: 12px; }
.side-create .stack-form { margin: 13px 0; }
.stack-form label { display: grid; gap: 5px; color: #c4c2cb; font-size: 12px; font-weight: 600; }
input, textarea, select { width: 100%; padding: 10px 11px; color: var(--text); background: #121318; border: 1px solid #35363e; border-radius: 7px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 2px #f4774c22; }
input::placeholder, textarea::placeholder { color: #777983; }
textarea { resize: vertical; }
input[type=file] { padding: 7px; color: var(--muted); }
.feed { min-width: 0; }
.welcome { display: flex; justify-content: space-between; align-items: center; padding: 30px 32px; min-height: 207px; border-radius: 12px; background: radial-gradient(ellipse at 92% 45%, #743c2d 0%, #36241f 25%, #211c1d 54%, #191a20 100%); border: 1px solid #40302a; }
.welcome .eyebrow { color: #e5a48c; }
.welcome h1 { font: 800 clamp(26px, 4vw, 39px)/1.14 Manrope, sans-serif; letter-spacing: -1.5px; margin: 12px 0; }
.welcome h1 span { color: var(--orange); }
.welcome div:first-child > p:last-child { color: #c7b9b3; margin: 0; }
.welcome-spark { font-size: 82px; color: #f58c63; opacity: .8; padding: 0 18px; }
.community-banner { padding: 24px 27px; margin-bottom: 18px; border: 1px solid #393138; border-radius: 11px; background: linear-gradient(120deg, #302321, #1d1b20 75%); }
.community-banner h1 { font: 800 28px Manrope, sans-serif; margin: 2px 0 3px; }
.community-banner > p:not(.eyebrow) { margin: 0; color: #bbb7bd; }
.weekly-box { display: grid; gap: 2px; border-left: 2px solid var(--orange); padding: 9px 13px; margin-top: 16px; background: #ffffff08; }
.weekly-box .eyebrow { font-size: 9px; }
.weekly-box strong { font-size: 14px; }
.weekly-box > span:last-child { color: var(--muted); font-size: 12px; }
.edit-challenge { margin-top: 13px; color: var(--orange); }
.edit-challenge .stack-form { max-width: 430px; margin-top: 10px; }
.card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.composer { padding: 18px 20px 20px; margin: 18px 0 26px; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.section-title div { display: grid; }
.section-title small { color: var(--muted); font-size: 11px; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-weight: 700; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-footer small { color: var(--muted); font-size: 10px; }
.button { border: 1px solid transparent; border-radius: 7px; padding: 8px 13px; font-weight: 700; font-size: 12px; }
.button-primary { background: var(--orange); color: #211511; }
.button-primary:hover { background: #ff9067; }
.button-quiet { border-color: #393a42; background: transparent; color: #e5e3e7; }
.button-quiet:hover { border-color: #777; }
.feed-heading { display: flex; justify-content: space-between; align-items: end; margin: 0 2px 12px; }
.feed-heading .eyebrow { margin: 0 0 3px; }
.feed-heading h2 { font: 700 19px Manrope, sans-serif; margin: 0; }
.live-pill { color: #b6c9bb; background: #1a2a23; border: 1px solid #294237; border-radius: 30px; padding: 5px 9px; font-size: 10px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 4px; }
.post { padding: 16px; margin-bottom: 14px; scroll-margin-top: 15px; }
.post-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.post-meta a { color: #e4a489; font-weight: 700; }
.post-age { margin-left: auto; font-size: 10px; }
.meta-separator { color: #666; }
.post-image { display: block; width: 100%; max-height: 570px; object-fit: contain; background: #111; border-radius: 7px; margin-top: 13px; }
.caption { font-size: 14px; margin: 12px 2px 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-actions { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; color: var(--muted); font-size: 11px; }
.reaction-buttons { display: flex; gap: 5px; }
.reaction { color: #b5b2bc; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 5px 7px; font-size: 12px; }
.reaction span { font-size: 10px; }
.reaction:hover, .reaction.chosen { color: #ff9b7b; background: var(--orange-soft); border-color: #694032; }
.reaction-count, .comment-count { white-space: nowrap; }
.comments { padding-top: 9px; }
.comment { margin: 5px 0; color: #c5c3cc; font-size: 11px; overflow-wrap: anywhere; }
.comment strong { color: #e4a489; margin-right: 4px; }
.comment-row { display: flex; align-items: baseline; gap: 8px; }
.comment-report { flex: 0 0 auto; }
.report-menu { position: relative; margin-left: auto; color: #9898a2; font-size: 10px; }
.report-menu summary { list-style: none; cursor: pointer; }
.report-menu summary::-webkit-details-marker { display: none; }
.report-menu summary:hover { color: #ffb69b; }
.report-menu form { position: absolute; z-index: 5; top: 20px; right: 0; display: grid; gap: 6px; width: 175px; padding: 9px; background: #25262d; border: 1px solid #41424b; border-radius: 7px; box-shadow: 0 8px 25px #0009; }
.report-menu select { padding: 6px; font-size: 10px; }
.report-menu button { border: 0; padding: 5px; border-radius: 5px; background: var(--orange); color: #211511; font-weight: 700; font-size: 10px; }
.comment-form { display: flex; gap: 7px; margin-top: 10px; }
.comment-form input { padding: 7px 9px; font-size: 11px; }
.comment-form button { color: var(--orange); border: 0; background: transparent; font-weight: 700; }
.empty-state { text-align: center; padding: 34px 20px; color: var(--muted); }
.empty-state > span { font-size: 28px; color: var(--orange); }
.empty-state h3 { margin: 6px 0; color: var(--text); font: 700 18px Manrope, sans-serif; }
.empty-state p { margin: 0; }
.account-card { padding: 23px; margin: 19px 0; }
.account-card > div:first-child h2 { font: 700 19px Manrope, sans-serif; margin: 4px 0; }
.account-card > div:first-child p:last-child { margin: 4px 0 17px; color: var(--muted); font-size: 12px; }
.account-card .eyebrow { margin: 0; }
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-forms form { padding: 14px; background: #15161a; border-radius: 8px; border: 1px solid var(--line); }
.account-forms h3 { margin: 0 0 10px; font-size: 13px; }
.notices { display: grid; gap: 7px; }
.notice { border-radius: 7px; padding: 9px 12px; margin: 0 0 7px; font-size: 12px; }
.notice.success { background: #1b3026; border: 1px solid #305440; color: #a6e1bd; }
.notice.error { background: #38201e; border: 1px solid #643832; color: #ffb6a5; }
.account-settings { margin: 0 0 25px; color: var(--muted); font-size: 11px; }
.account-settings summary { cursor: pointer; }
.delete-account-form { display: grid; gap: 9px; max-width: 360px; padding: 15px; margin-top: 9px; border: 1px solid #593332; border-radius: 8px; background: #211819; }
.delete-account-form strong { color: #f2d5d1; }
.delete-account-form p { margin: 0; }
.delete-account-form label { display: grid; gap: 4px; }
.button-danger { background: #592a28; border-color: #75413d; color: #ffd3ca; }
.button-danger:hover { background: #713431; }
.pete-panel { padding: 18px 20px; margin: 18px 0 25px; border-color: #49323f; background: linear-gradient(135deg, #201a25, #191a20 65%); }
.pete-heading { display: flex; align-items: center; gap: 10px; }
.pete-avatar { display: block; flex: 0 0 38px; width: 38px; height: 38px; filter: drop-shadow(0 3px 8px #ff805033); }
.pete-heading .eyebrow { margin: 0; color: #d1a2ce; font-size: 9px; }
.pete-heading h2 { margin: 1px 0 0; font: 700 17px Manrope, sans-serif; }
.local-pill { margin-left: auto; padding: 4px 7px; border: 1px solid #44374a; border-radius: 20px; color: #c5a4ca; font-size: 8px; letter-spacing: .6px; }
.pete-intro, .pete-locked { color: var(--muted); font-size: 11px; margin: 10px 0; }
.pete-locked a { color: #dea8db; text-decoration: underline; }
.pete-privacy-note { padding: 8px 10px; border: 1px solid #3c3531; border-radius: 7px; background: #211e1b; color: #d6c4b6; font-size: 10px; }
.pete-privacy-note a { color: #ffb28d; text-decoration: underline; }
.pete-messages { display: grid; gap: 8px; max-height: 280px; overflow-y: auto; margin: 13px 0; padding: 10px; border: 1px solid #34313b; border-radius: 8px; background: #131318aa; }
.pete-message { display: grid; gap: 3px; max-width: 92%; margin: 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pete-message strong { color: #d5a6d2; font-size: 10px; }
.pete-assistant { justify-self: start; background: #28212c; color: #e3dce6; }
.pete-user { justify-self: end; background: #342328; color: #f1ded9; }
.pete-user strong { color: #f6a381; }
.pete-form { display: flex; align-items: end; gap: 8px; }
.pete-form textarea { min-height: 42px; max-height: 110px; }
.pete-status { min-height: 16px; color: #9c99a3; font-size: 10px; margin: 7px 0 0; }
.rightbar { position: sticky; top: 20px; display: grid; gap: 13px; }
.right-card { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 17px; }
.right-card .eyebrow { margin: 0 0 10px; font-size: 9px; }
.right-card h2 { font: 800 19px/1.25 Manrope, sans-serif; margin: 0 0 8px; }
.right-card > p:last-child { color: var(--muted); font-size: 11px; margin: 0; }
.right-card-heading { display: flex; justify-content: space-between; align-items: center; }
.right-card-heading h3 { font: 700 13px Manrope, sans-serif; margin: 0 0 12px; }
.right-card-heading > span { color: var(--orange); }
.community-list a { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 10px 0; }
.community-list a:last-child { padding-bottom: 0; }
.community-list a > span:last-child { min-width: 0; display: grid; }
.community-list strong { font-size: 11px; }
.community-list small { color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-icon { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 8px; background: #302721; color: #f0a07f; font-weight: 700; }
.kindness-card { display: flex; gap: 10px; padding: 14px; border: 1px solid #354338; border-radius: 9px; background: #1c2821; }
.kindness-card > span { color: var(--green); font-size: 19px; }
.kindness-card strong { font-size: 12px; }
.kindness-card p { color: #aeb9b0; font-size: 10px; margin: 3px 0 0; }
.footer { color: #74747d; font-size: 10px; text-align: center; padding: 18px 0 30px; }
.footer span { color: var(--orange); margin: 0 4px; }
.footer a { color: #aaa8b0; }
.footer a:hover { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.admin-page { max-width: 850px; margin: 36px auto; padding: 0 20px; }
.admin-login { max-width: 430px; padding: 25px; margin: 45px auto; }
.admin-login h1, .admin-heading h1, .policy-page h1 { font: 800 26px Manrope, sans-serif; margin: 4px 0 10px; }
.admin-login > p:not(.eyebrow), .muted-copy { color: var(--muted); font-size: 12px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.admin-heading .eyebrow { margin: 0; }
.admin-section { padding: 20px; margin: 14px 0; }
.admin-section > .eyebrow { margin: 0; }
.admin-section h2 { font: 700 18px Manrope, sans-serif; margin: 4px 0 12px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 12px 16px; position: sticky; top: 8px; z-index: 3; }
.admin-nav a { color: #d8b19e; font-size: 12px; font-weight: 700; text-decoration: none; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 12px 0; }
.member-details { display: grid; gap: 4px; min-width: 0; }
.member-details > strong { font-size: 13px; overflow-wrap: anywhere; }
.member-details small, .member-details p { color: var(--muted); font-size: 10px; margin: 0; }
.member-action { display: flex; align-items: center; gap: 7px; }
.member-action input { min-width: 130px; width: 190px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-2); font: inherit; font-size: 11px; }
.report-card, .existing-notice { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; }
.report-content { margin: 6px 0; color: #e6e2e4; overflow-wrap: anywhere; }
.report-card small { color: var(--muted); font-size: 10px; }
.moderation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.moderation-actions form, .existing-notice form { display: flex; gap: 5px; }
.moderation-actions .button, .existing-notice .button { padding: 6px 9px; font-size: 10px; }
.sponsor-form { max-width: 520px; margin: 15px 0 22px; }
.existing-notice > div { display: grid; gap: 5px; }
.existing-notice p { color: var(--muted); font-size: 11px; margin: 0; }
.policy-page { max-width: 780px; padding: 28px; margin: 35px auto; }
.policy-page .eyebrow { margin: 0; }
.policy-page p, .policy-page li { color: #c7c5cd; font-size: 13px; line-height: 1.75; }
.policy-page li { margin: 9px 0; }
.policy-page strong { color: #f2c5ad; }
.about-page { max-width: 980px; margin: 30px auto; padding: 28px; }
.about-hero { padding: 30px 4px 36px; text-align: center; }
.about-hero .eyebrow { margin: 0 0 10px; }
.about-hero h1 { max-width: 720px; margin: 0 auto 12px; font: 800 clamp(32px, 6vw, 54px)/1.08 Manrope, sans-serif; letter-spacing: -1.8px; }
.about-hero > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 20px; color: #c7c5cd; font-size: 16px; line-height: 1.7; }
.about-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.about-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-highlight { padding: 20px; }
.about-highlight > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-soft); color: #ff9b7b; font-size: 17px; }
.about-highlight h2 { margin: 12px 0 6px; font: 700 16px Manrope, sans-serif; }
.about-highlight p { margin: 0; color: #c7c5cd; font-size: 12px; line-height: 1.7; }
.about-steps { margin: 32px 0 0; padding: 22px; }
.about-steps h2 { margin: 0 0 14px; font: 700 19px Manrope, sans-serif; }
.about-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding-left: 20px; }
.about-steps li { padding-left: 4px; color: #c7c5cd; font-size: 12px; line-height: 1.7; }
.about-steps li strong { display: block; color: var(--text); font-size: 13px; }
.about-page > .footer { margin-top: 22px; }
@media (max-width: 1100px) {
  .layout { grid-template-columns: 190px minmax(400px, 1fr); }
  .rightbar { display: none; }
}
@media (max-width: 700px) {
  .topbar { min-height: 65px; padding: 0 15px; gap: 10px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 26px; height: 26px; }
  .tagline { display: none; }
  .layout { display: block; margin-top: 15px; padding: 0 12px; }
  .sidebar { position: static; display: flex; gap: 5px; overflow-x: auto; padding: 0 0 10px; }
  .sidebar .side-heading, .sidebar .sidebar-note, .sidebar .side-create { display: none; }
  .nav-link { white-space: nowrap; background: var(--surface); font-size: 11px; }
  .welcome { min-height: 170px; padding: 20px; }
  .welcome-spark { font-size: 53px; padding: 0; }
  .welcome h1 { font-size: 29px; }
  .account-forms { grid-template-columns: 1fr; gap: 10px; }
  .sponsor-notice { align-items: flex-start; flex-wrap: wrap; }
  .sponsor-notice .button { margin-left: auto; }
  .pete-panel { padding: 14px; }
  .local-pill { font-size: 7px; }
  .report-card, .existing-notice { flex-direction: column; }
  .moderation-actions { justify-content: flex-start; }
  .policy-page { margin: 18px 12px; padding: 20px; }
  .about-page { margin: 18px 12px; padding: 18px; }
  .about-hero { padding: 22px 0 28px; }
  .about-highlights, .about-steps ol { grid-template-columns: 1fr; }
  .about-steps { padding: 18px; }
  .post { padding: 12px; }
  .post-age { width: 100%; margin-left: 15px; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .feed-heading h2 { font-size: 16px; }
}

:root {
  --page: #0e1115;
  --surface: #171b21;
  --surface-raised: #20262e;
  --line: #2b333d;
  --text: #edf1f5;
  --muted: #9aa6b2;
  --orange: #ff6b35;
  --orange-soft: #3a241c;
  --green: #69d6a1;
}

body {
  background:
    radial-gradient(ellipse at 50% -22rem, #263746 0, transparent 55rem),
    var(--page);
  font-size: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 66px;
  padding: 0 max(24px, calc((100% - 1480px) / 2));
  gap: 20px;
  background: #101419f2;
  border-color: #252d36;
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  font-size: 24px;
}

.brand-mark {
  border-radius: 9px;
  background: #ff6b35;
  color: #21130e;
}

.tagline { white-space: nowrap; }

.site-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(430px, 34vw);
  height: 40px;
  margin-left: auto;
  padding: 0 7px 0 13px;
  border: 1px solid #303944;
  border-radius: 22px;
  background: #1a2027;
  color: #82909d;
}

.site-search:focus-within {
  border-color: #62798a;
  box-shadow: 0 0 0 3px #8eb6d11c;
}

.site-search > span { font-size: 22px; line-height: 1; }
.site-search input {
  min-width: 0;
  flex: 1;
  padding: 7px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}
.site-search input:focus { border: 0; box-shadow: none; }
.site-search > a { color: var(--muted); font-size: 20px; line-height: 1; }
.site-search button {
  padding: 7px 12px;
  border: 0;
  border-radius: 16px;
  background: #344452;
  color: #e8f0f6;
  font-size: 11px;
  font-weight: 700;
}
.site-search button:hover { background: #405668; }

.account { gap: 8px; }
.account .button { white-space: nowrap; }
.button { border-radius: 8px; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button-primary { background: #ff6b35; color: #20130e; }
.button-primary:hover { background: #ff8456; transform: translateY(-1px); }
.button-quiet { border-color: #38424d; color: #e2e9ef; }
.button-quiet:hover { background: #222a32; border-color: #536270; }

.layout {
  max-width: 1480px;
  grid-template-columns: 228px minmax(0, 760px) 286px;
  gap: 24px;
  margin-top: 22px;
}

.sidebar, .rightbar { top: 86px; }
.sidebar { padding-top: 4px; }
.nav-link {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 9px;
  color: #b2bdc7;
  font-size: 13px;
}
.nav-link:hover, .nav-link.active { background: #1b222a; color: #f3f6f8; }
.nav-link.active { box-shadow: inset 3px 0 #ff6b35; }
.side-heading { margin-top: 23px; color: #8795a2; font-size: 9px; }
.community-icon { background: #2a3440; color: #f2a27d; }
.side-create { color: #ff8a5e; }
.side-create-link {
  display: block;
  margin: 12px 10px;
  color: #ff956f;
  font-size: 12px;
  font-weight: 700;
}
.sidebar-note {
  margin-top: 24px;
  padding: 16px 10px;
  border: 1px solid #283640;
  border-radius: 10px;
  background: #151e24;
}
.sidebar-note strong { color: #dce7ec; }

.welcome {
  min-height: 182px;
  padding: 26px 30px;
  border: 1px solid #3b3735;
  border-radius: 14px;
  background:
    radial-gradient(circle at 86% 40%, #a64f2b 0, #663922 14%, transparent 39%),
    linear-gradient(112deg, #1b2027, #27211f 60%, #35231f);
  box-shadow: 0 14px 36px #0002;
}
.welcome h1 { font-size: clamp(27px, 3vw, 36px); }
.welcome .eyebrow { color: #f0aa87; }
.welcome h1 span { color: #ff8659; }
.welcome-spark { color: #ff9b6b; text-shadow: 0 0 35px #ff8e5d66; }
.community-banner {
  border-radius: 14px;
  border-color: #3b3539;
  background: linear-gradient(120deg, #2b2225, #1b2026 78%);
}

.feed-heading {
  min-height: 64px;
  margin: 8px 0 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #171c22;
}
.feed-heading .eyebrow { color: #8d9ba7; }
.feed-heading h2 { font-size: 17px; }
.live-pill {
  border-color: #2c4a3b;
  background: #182820;
  color: #c1ebd3;
  font-size: 11px;
}
.feed-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  place-items: center;
  border-radius: 10px;
  background: #294637;
  color: #d7f5e3;
  font-weight: 700;
}

.post {
  padding: 16px 18px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, #191e24, #161a20);
  box-shadow: 0 8px 24px #00000020;
  transition: border-color .15s ease, transform .15s ease;
}
.post:hover { border-color: #3b4651; }
.post-meta { gap: 8px; font-size: 12px; }
.post-meta a { color: #ff9a73; }
.post-age { color: #84909b; }
.post-image {
  max-height: 650px;
  border: 1px solid #29313a;
  border-radius: 9px;
  background: #101419;
}
.caption { margin: 13px 2px 15px; font-size: 15px; line-height: 1.6; }
.post-actions {
  min-height: 42px;
  gap: 11px;
  border-color: #29313a;
  color: #a2adb7;
}
.reaction-buttons { gap: 4px; }
.reaction {
  min-height: 31px;
  border-color: #303943;
  background: #1c232b;
  color: #c1ccd5;
}
.reaction:hover, .reaction.chosen {
  border-color: #684438;
  background: #38251f;
  color: #ffad8d;
}
.reaction-count, .comment-count { font-size: 11px; }
.guest-action-link, .guest-comment-link {
  color: #f3a07c;
  font-size: 11px;
  font-weight: 700;
}
.guest-action-link:hover, .guest-comment-link:hover { color: #ffc0a6; text-decoration: underline; }
.comments { padding: 10px 3px 3px; }
.comment { color: #d0d6dc; font-size: 12px; line-height: 1.55; }
.comment strong { color: #f0a17f; }
.comment-form input { background: #11161b; border-color: #303943; }
.comment-form button { padding: 6px 11px; border-radius: 7px; background: #28333d; }
.comment-form button:hover { background: #354451; }
.guest-comment-link { display: inline-block; margin-top: 9px; }
.sponsor-notice { border-radius: 11px; }
.composer, .account-card, .pete-panel, .right-card { border-radius: 12px; }
.account-card { margin: 25px 0 12px; background: #171d23; }
.account-card > div:first-child h2 { font-size: 20px; }
.empty-state { border-radius: 12px; padding: 42px 22px; }
.right-card { background: #171c22; }
.right-card h2 { font-size: 20px; }
.community-list a:hover { color: #ffb08d; }
.kindness-card { border-radius: 11px; }

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #f4a17d;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .topbar { gap: 13px; }
  .tagline { display: none; }
  .site-search { width: min(460px, 46vw); }
  .layout { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .topbar {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  .top-market-link { grid-column: 2; grid-row: 1; }
  .account {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
  }
  .layout { margin-top: 12px; padding: 0 11px; }
  .sidebar { gap: 6px; }
  .nav-link { min-height: 36px; border: 1px solid #29323b; }
  .welcome { min-height: 155px; padding: 20px; }
  .welcome-spark { font-size: 48px; }
  .feed-heading { align-items: center; gap: 8px; padding: 10px; }
  .feed-heading h2 { font-size: 15px; }
  .live-pill { white-space: nowrap; }
  .post { padding: 12px; }
  .post-meta { font-size: 10px; }
  .post-age { width: auto; margin-left: 0; }
  .post-image { max-height: 460px; }
  .post-actions { flex-wrap: wrap; gap: 7px; }
  .reaction { padding: 5px; }
  .account-card { padding: 17px; }
  .member-row { align-items: flex-start; flex-direction: column; }
  .member-action { width: 100%; }
  .member-action input { flex: 1; width: auto; }
}

.feed-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: -3px 0 12px;
  border-radius: 10px;
  background: #171c22;
  color: #8794a0;
  font-size: 11px;
}
.feed-sort > span { margin-right: 3px; }
.feed-sort a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 18px;
  color: #bcc6ce;
  font-weight: 700;
}
.feed-sort a:hover { background: #232d36; color: #edf3f7; }
.feed-sort a.active { background: #283640; color: #e6f0f5; }
.post {
  border-radius: 9px;
  padding: 14px 16px 10px;
}
.post-meta a { color: #f09b77; }
.post-meta a:hover { text-decoration: underline; }
.post-image { margin-top: 10px; }
.caption { margin-top: 10px; }
.post-actions { margin-top: 2px; }
.comments { border-radius: 0 0 7px 7px; }
.comment-row { padding-left: 10px; border-left: 2px solid #303b45; }
.comment-form { padding-left: 12px; }
.community-banner { margin-bottom: 13px; }
.welcome { margin-bottom: 15px; }
.site-search { max-width: 520px; }

@media (max-width: 700px) {
  .feed-sort { margin-top: 0; overflow-x: auto; white-space: nowrap; }
  .feed-sort > span { display: none; }
}

.marketplace-page {
  width: min(1120px, calc(100% - 40px));
  margin: 30px auto 0;
}
.market-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 215px;
  padding: 32px 40px;
  border: 1px solid #34404a;
  border-radius: 14px;
  background: linear-gradient(112deg, #1b2229 0%, #242a30 58%, #30251f 100%);
}
.market-hero .eyebrow { margin: 0; color: #b6a090; }
.market-hero h1 {
  margin: 12px 0 8px;
  font: 750 clamp(30px, 5vw, 47px)/1.06 Manrope, "Segoe UI", sans-serif;
  letter-spacing: -1.8px;
}
.market-hero h1 span { color: #f58a60; }
.market-hero p:last-child { margin: 0; color: #b7c0c8; }
.market-hero-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid #68503f;
  border-radius: 24px 24px 24px 7px;
  background: #3a2b24;
  color: #f58a60;
  font: 800 54px/1 Manrope, "Segoe UI", sans-serif;
}
.payment-notice {
  display: flex;
  gap: 14px;
  margin: 16px 0;
  padding: 16px 19px;
  border-color: #514333;
  background: #211f1b;
}
.payment-notice-icon {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #8a714c;
  border-radius: 50%;
  color: #e2c28d;
  font-weight: 700;
}
.payment-notice strong { font-size: 13px; }
.payment-notice p { margin: 4px 0; color: #c3bdb2; font-size: 12px; }
.payment-notice small { color: #a49b8c; font-size: 11px; }
.listing-composer { margin: 16px 0 23px; overflow: hidden; }
.listing-composer > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  list-style: none;
}
.listing-composer > summary::-webkit-details-marker { display: none; }
.listing-composer > summary > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.listing-composer > summary small { color: var(--muted); font-size: 11px; }
.listing-composer > summary > b { color: var(--orange); font-size: 20px; }
.listing-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 17px 19px 20px;
  border-top: 1px solid var(--line);
}
.listing-form > label { display: grid; gap: 5px; color: #c4cbd1; font-size: 12px; font-weight: 600; }
.listing-form .listing-description, .listing-form .listing-form-note { grid-column: 1 / -1; }
.listing-form-note { margin: 0; color: #a49b8c; font-size: 11px; }
.market-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 24px 2px 10px;
}
.market-section-heading .eyebrow { margin: 0 0 3px; }
.market-section-heading h2 { margin: 0; font: 700 20px Manrope, "Segoe UI", sans-serif; }
.market-section-heading > span { color: var(--muted); font-size: 11px; }
.market-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 13px;
  margin-bottom: 13px;
}
.market-filters label {
  display: grid;
  flex: 0 1 190px;
  gap: 4px;
  color: #adb8c0;
  font-size: 10px;
  font-weight: 700;
}
.market-filters .market-search-label { flex: 1 1 260px; }
.market-filters input, .market-filters select { min-height: 38px; padding: 8px 10px; }
.market-clear { padding: 9px 5px; color: #aebac4; font-size: 11px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.listing-card { overflow: hidden; }
.listing-image {
  display: grid;
  width: 100%;
  height: 190px;
  place-items: center;
  object-fit: cover;
  background: linear-gradient(135deg, #202a32, #2a2724);
}
.listing-placeholder { color: #f58a60; font: 700 45px Manrope, "Segoe UI", sans-serif; }
.listing-content { padding: 14px; }
.listing-card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.listing-type { color: #dfaa8d; }
.listing-content h3 { margin: 9px 0 5px; font-size: 16px; line-height: 1.3; }
.listing-description-text {
  min-height: 57px;
  margin: 0;
  color: #b4bdc5;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.listing-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 12px; }
.listing-price-row strong { font-size: 18px; }
.listing-price-row span { color: var(--muted); font-size: 9px; }
.listing-checkout { margin-top: 11px; }
.button-disabled { width: 100%; border-color: #353c42; background: #23282d; color: #929ba2; cursor: not-allowed; }
.no-checkout { margin: 6px 0 12px; color: #9da6ad; font-size: 10px; }
.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.listing-report { display: flex; align-items: center; gap: 6px; }
.listing-report select { width: auto; max-width: 135px; padding: 5px 7px; font-size: 10px; }
.listing-report button, .listing-delete {
  padding: 5px 7px;
  border: 1px solid #38414a;
  border-radius: 6px;
  background: transparent;
  color: #b7c0c8;
  font-size: 10px;
}
.listing-delete { color: #e39a84; }
.listing-signup { padding: 18px; margin: 16px 0; }
.listing-signup p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.listing-signup a { color: #f09b77; text-decoration: underline; }
.marketplace-page > .empty-state { margin-bottom: 20px; }
.marketplace-page > .footer { margin: 32px 0 20px; }
.verification-resend {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.verification-resend label {
  display: grid;
  flex: 1;
  gap: 4px;
  color: #adb8c0;
  font-size: 11px;
}

@media (max-width: 800px) {
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .marketplace-page { width: calc(100% - 22px); margin-top: 12px; }
  .market-hero { min-height: 170px; padding: 23px 20px; }
  .market-hero-mark { width: 57px; height: 57px; border-radius: 16px 16px 16px 5px; font-size: 34px; }
  .market-hero h1 { letter-spacing: -1px; }
  .payment-notice { padding: 13px; }
  .listing-form { grid-template-columns: 1fr; padding: 14px; }
  .listing-form .listing-description, .listing-form .listing-form-note { grid-column: auto; }
  .market-filters { align-items: stretch; flex-wrap: wrap; }
  .market-filters label, .market-filters .market-search-label { flex: 1 1 calc(50% - 8px); }
  .market-filters .button { align-self: end; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-image { height: 220px; }
  .verification-resend { align-items: stretch; flex-direction: column; padding: 13px; }
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  transform: translateY(-150%);
  border-radius: 7px;
  background: #f2f5f7;
  color: #111820;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

body {
  background:
    radial-gradient(ellipse at 82% 8%, #18242c 0, transparent 32rem),
    #0d1115;
  color: #eef1f2;
}
.topbar {
  min-height: 70px;
  border-color: #293139;
  background: #10161beb;
}
.brand { letter-spacing: -1px; }
.brand-mark { box-shadow: 0 4px 16px #ff6b3540; }
.layout {
  max-width: 1440px;
  grid-template-columns: 215px minmax(0, 760px) 265px;
  gap: 22px;
  margin-top: 25px;
}
.feed { min-width: 0; }
.sidebar, .rightbar { top: 88px; }
.nav-link {
  min-height: 41px;
  border: 1px solid transparent;
  color: #aeb9c0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nav-link:hover { border-color: #2e3941; background: #192128; }
.nav-link.active {
  border-color: #33434a;
  background: #1a252b;
  box-shadow: inset 3px 0 #ff8050;
}
.community-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #3c4850;
  border-radius: 10px;
  background: #232d34;
  color: #ffad89;
}
.sidebar-note {
  background: linear-gradient(145deg, #172127, #141a20);
  border-color: #2a353b;
}
.welcome {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 32px 34px;
  border-color: #38434a;
  background:
    radial-gradient(ellipse at 88% 45%, #564033 0, #2f2925 25%, transparent 57%),
    linear-gradient(120deg, #1a242b, #1d2021 72%);
}
.welcome > div:first-child { position: relative; z-index: 1; }
.welcome .eyebrow { color: #d2a88f; }
.welcome h1 {
  max-width: 560px;
  margin: 12px 0 9px;
  font-size: clamp(30px, 3.7vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}
.welcome h1 span { color: #ff9369; }
.welcome div:first-child > p:last-of-type { color: #c1c9cd; }
.welcome-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.welcome-actions .button { padding: 10px 15px; font-size: 12px; }
.welcome-note { color: #aab5b8; font-size: 11px; }
.welcome-art {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 8%;
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  transform: translateY(-50%) rotate(-8deg);
  border: 1px solid #705541;
  border-radius: 44px 44px 44px 12px;
  background: linear-gradient(145deg, #563c2c, #292a28);
  box-shadow: 0 22px 65px #0005, inset 0 1px #ffffff1a;
}
.welcome-art > span {
  color: #ff9a70;
  font: 800 100px/1 Manrope, "Segoe UI", sans-serif;
  text-shadow: 0 8px 35px #ff815455;
}
.welcome-art > i {
  position: absolute;
  top: 5px;
  right: 6px;
  color: #f6c89f;
  font-size: 34px;
  font-style: normal;
}
.community-banner {
  position: relative;
  padding: 25px 28px;
  border-color: #39434a;
  background:
    radial-gradient(ellipse at 92% 10%, #44342d, transparent 55%),
    linear-gradient(120deg, #1b252b, #1a1d20);
}
.community-banner .welcome-action { display: inline-flex; margin-top: 16px; }
.card {
  border-color: #2b343b;
  background: #151b20;
  box-shadow: 0 8px 24px #00000017;
}
.feed-heading {
  min-height: 70px;
  margin-top: 18px;
  padding: 13px 16px;
  border-color: #2e3940;
  background: #151c21;
}
.feed-heading h2 { color: #f0f3f4; }
.feed-sort { border: 1px solid #2b353d; background: #131a1f; }
.feed-sort a.active { background: #293840; color: #f4f6f6; }
.post {
  padding: 16px 18px 12px;
  border-color: #2c353d;
  background: #151b20;
}
.post:hover { border-color: #46545c; }
.post-meta a, .comment strong { color: #ff9a73; }
.post-image {
  max-height: 680px;
  border-color: #303a40;
  background: #0d1216;
}
.caption { color: #e3e8e9; }
.post-actions { border-color: #2b343a; }
.reaction { min-height: 34px; }
.reaction:hover, .reaction.chosen { border-color: #78503e; background: #35271f; }
.comments { padding-top: 11px; }
.comment-row { border-color: #343f45; }
.comment-form { padding: 4px 0 2px 12px; }
.comment-form input { min-height: 38px; }
.comment-form button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #38454b;
  background: #202a30;
}
.comment-form button:hover { background: #29383f; }
.composer {
  padding: 19px;
  margin: 18px 0 22px;
  border-color: #354149;
}
.composer .section-title { margin-bottom: 14px; }
.composer .stack-form { gap: 11px; }
.composer .form-footer { padding-top: 2px; }
.empty-state {
  padding: 48px 24px;
  border-color: #2f3a40;
  background:
    radial-gradient(ellipse at 50% 0%, #202a2c, transparent 70%),
    #151b20;
}
.empty-state > span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #555142;
  border-radius: 16px 16px 16px 5px;
  background: #272820;
  color: #f2a878;
}
.empty-state h3 { margin-top: 13px; }
.empty-state p { max-width: 480px; margin: 0 auto 15px; }
.empty-state .button { display: inline-flex; margin-top: 2px; }
.account-card {
  padding: 24px;
  border-color: #354149;
  background: linear-gradient(140deg, #182128, #151a20 75%);
}
.account-card > div:first-child > p:last-child { max-width: 610px; line-height: 1.65; }
.account-card .eyebrow { color: #c1a18e; }
.account-forms { gap: 14px; }
.account-forms form {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 17px;
  border-color: #303b42;
  background: #11171b;
}
.account-forms form h3 { margin: 0 0 2px; font-size: 14px; }
.account-forms .stack-form label { gap: 6px; }
.account-forms form > small { color: #9ba7aa; font-size: 10px; line-height: 1.55; }
.verification-resend-wrap { margin-top: 13px; border-top: 1px solid #303a40; }
.verification-resend-wrap > summary {
  width: fit-content;
  padding: 12px 0 2px;
  color: #b7c1c4;
  font-size: 11px;
}
.verification-resend {
  max-width: 540px;
  padding: 12px 0 0;
  border: 0;
}
.right-card {
  border-color: #2c373e;
  background: #151b20;
}
.right-card h2 { line-height: 1.25; }
.kindness-card { border-color: #34453d; background: #19251f; }
.footer { line-height: 1.9; }
.site-search:focus-within { border-color: #72858a; box-shadow: 0 0 0 3px #91b7bb18; }
input, textarea, select { border-color: #374149; background: #10161a; }
input:focus, textarea:focus, select:focus { border-color: #d4815d; box-shadow: 0 0 0 3px #d4815d20; }
.button-primary { background: #ff8050; }
.button-primary:hover { background: #ff946a; }

@media (max-width: 1240px) {
  .layout { grid-template-columns: 205px minmax(0, 1fr); gap: 18px; }
  .rightbar { display: none; }
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 180px minmax(0, 1fr); padding-right: 18px; padding-left: 18px; }
  .welcome { min-height: 225px; padding: 26px; }
  .welcome-art { right: 4%; width: 110px; height: 110px; border-radius: 32px 32px 32px 9px; }
  .welcome-art > span { font-size: 74px; }
  .account-forms { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .topbar {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 12px;
    min-height: 0;
    padding: 10px 13px;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
  .account { grid-column: 2; grid-row: 1; margin: 0; gap: 6px; }
  .account .signed-in { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  .account .button { padding: 7px 9px; font-size: 10px; }
  .layout { display: block; margin-top: 11px; padding: 0 11px; }
  .sidebar { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; }
  .sidebar .side-heading, .sidebar .sidebar-note, .sidebar .side-create, .sidebar .side-create-link { display: none; }
  .nav-link { min-height: 36px; padding: 6px 9px; border: 1px solid #2d3940; background: #151c21; }
  .welcome { min-height: 214px; padding: 22px 19px; }
  .welcome h1 { max-width: 360px; font-size: clamp(28px, 8vw, 36px); }
  .welcome-art { top: 27px; right: 15px; width: 57px; height: 57px; transform: rotate(-8deg); border-radius: 18px 18px 18px 6px; }
  .welcome-art > span { font-size: 40px; }
  .welcome-art > i { top: -7px; right: -5px; font-size: 19px; }
  .welcome-actions { align-items: flex-start; gap: 9px; flex-direction: column; margin-top: 15px; }
  .welcome-note { max-width: 240px; font-size: 10px; }
  .feed-heading { margin-top: 13px; }
  .post { padding: 12px; }
  .post-meta { align-items: flex-start; }
  .post-age { width: 100%; margin-left: 15px; }
  .post-image { max-height: 72vh; }
  .post-actions { gap: 7px; flex-wrap: wrap; }
  .account-card { padding: 16px; }
  .account-forms form { padding: 13px; }
  .community-banner { padding: 20px; }
  .community-banner .welcome-action { min-height: 38px; align-items: center; }
  .composer { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  background: #0f1317;
}
.topbar {
  background: #11171b;
  border-bottom-color: #293239;
  backdrop-filter: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 25px;
  letter-spacing: -1.1px;
}
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 5px 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand { font-size: 25px; }
.wordmark { color: #f0f2f3; }
.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 3px 8px #ff805033);
  transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: rotate(-5deg) scale(1.06); }
.wordmark {
  color: #f0f2f3;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -1.5px;
}
.welcome-mascot {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  flex: 0 0 150px;
  margin: 0 8px 0 0;
}
.welcome-mascot img {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 15px 22px #080d10aa);
  animation: mascot-float 4s ease-in-out infinite;
}
.welcome-mascot figcaption {
  margin-top: -1px;
  color: #f3c2a9;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.welcome-mascot figcaption span {
  display: block;
  margin-top: 2px;
  color: #aeb9bd;
  font-size: 10px;
  font-weight: 500;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}
.layout {
  max-width: 1360px;
  grid-template-columns: 205px minmax(0, 720px) 250px;
  gap: 22px;
}
.welcome {
  min-height: 220px;
  padding: 30px;
  border-color: #303a40;
  border-radius: 12px;
  background: #171d22;
  box-shadow: none;
}
.welcome h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.3vw, 38px);
  letter-spacing: -1.2px;
}
.welcome .eyebrow { color: #b3a397; }
.welcome h1 span { color: #ff946d; }
.welcome div:first-child > p:last-of-type { color: #bac2c6; }
.welcome-actions { margin-top: 16px; }
.welcome-note { color: #a7b0b3; }
.card, .post, .right-card {
  border-radius: 9px;
  box-shadow: none;
}
.feed-heading {
  min-height: 62px;
  padding: 10px 13px;
  background: #151a1e;
}
.feed-sort { border-radius: 9px; }
.post {
  padding: 14px;
  background: #151a1e;
}
.post-image {
  border: 0;
  border-radius: 6px;
  background: #101417;
}
.empty-state {
  padding: 36px 18px;
  background: #151a1e;
}
.empty-state > span {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #ff946d;
  font-size: 26px;
}
.account-card { background: #151a1e; }
.account-forms form { background: #11171b; }
.right-card { background: #151a1e; }
.simple-page-body { min-height: 100vh; }
.simple-page { width: min(100% - 32px, 680px); margin: 48px auto; }
.plan-card { padding: clamp(22px, 5vw, 42px); }
.plan-card h1 { margin: 6px 0 10px; font-size: clamp(27px, 5vw, 38px); line-height: 1.15; }
.plan-card h2 { margin: 26px 0 10px; font-size: 17px; }
.plan-card-plus { border-color: #62513e; }
.plan-lead { color: #c7c5c4; font-size: 15px; }
.plan-features { display: grid; gap: 10px; padding-left: 21px; color: #dedce0; }
.plan-features li::marker { color: var(--orange); }
.plan-notice { margin: 24px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; }
.plan-notice strong { color: var(--text); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1240px) {
  .layout { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 170px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .brand { font-size: 21px; }
  .brand { font-size: 21px; }
  .brand-logo { width: 31px; height: 31px; }
  .wordmark { font-size: 22px; }
  .welcome {
    min-height: 0;
    padding: 23px 19px;
    background: #171d22;
  }
  .welcome h1 { max-width: 380px; font-size: 30px; }
  .welcome-actions { align-items: flex-start; }
  .welcome-mascot {
    position: absolute;
    top: 16px;
    right: 10px;
    width: 62px;
    margin: 0;
  }
  .welcome-mascot img { width: 58px; height: 58px; }
  .welcome-mascot figcaption { font-size: 9px; }
  .welcome-mascot figcaption span { display: none; }
}

.nav-symbol {
  display: inline-grid;
  width: 20px;
  place-items: center;
  color: #aeb9bd;
  font-size: 16px;
}
.empty-community-links {
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid #293239;
}
.empty-community-links > span {
  display: block;
  margin-bottom: 11px;
  color: #aeb9bd;
  font-size: 12px;
  font-weight: 700;
}
.empty-community-links > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.empty-community-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border: 1px solid #303b42;
  border-radius: 8px;
  color: #e2e9eb;
  background: #11171b;
  font-size: 12px;
  transition: border-color .16s ease, background .16s ease;
}
.empty-community-links a:hover {
  border-color: #65777c;
  background: #192128;
}
.empty-community-links .community-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 6px;
  font-size: 12px;
}

:root {
  color-scheme: dark;
  --page: #0b1020;
  --surface: #121a30;
  --surface-raised: #1a2542;
  --line: #2a3558;
  --text: #f2f4ff;
  --muted: #aab5d1;
  --orange: #a78bfa;
  --orange-soft: #282448;
  --green: #36d6c2;
}
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 12% 0%, #28325a55, transparent 42rem),
    radial-gradient(ellipse at 95% 12%, #174c5140, transparent 38rem),
    #0b1020;
  color: var(--text);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid #354166;
  background: #0e1424ed;
  backdrop-filter: blur(18px);
}
.brand { gap: 8px; }
.brand-logo {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 5px 14px #8b78fa55);
}
.wordmark { letter-spacing: -1.6px; }
.tagline { color: #aeb9d6; }
.button {
  min-height: 38px;
  border-radius: 10px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(115deg, #a78bfa, #7b8cff);
  color: #101326;
  box-shadow: 0 6px 20px #8372ed35;
}
.button-primary:hover { background: linear-gradient(115deg, #baa5ff, #92a0ff); }
.button-quiet { border-color: #39466c; background: #18213a; }
.button-quiet:hover { border-color: #8290be; background: #202c4b; }
.layout {
  max-width: 1480px;
  grid-template-columns: 220px minmax(0, 760px) 270px;
  gap: 26px;
  margin-top: 24px;
}
.sidebar { top: 92px; }
.nav-link { border: 1px solid transparent; transition: background .16s ease, border-color .16s ease; }
.nav-link:hover { border-color: #354264; background: #17213a; }
.nav-link.active { border-color: #554a88; background: #221e40; box-shadow: inset 3px 0 #a78bfa; }
.community-icon {
  border-color: #4d4871;
  background: linear-gradient(145deg, #282548, #172d3c);
  color: #c9c0ff;
}
.welcome {
  position: relative;
  min-height: 262px;
  overflow: hidden;
  border: 1px solid #4b4b83;
  border-radius: 20px;
  padding: 36px;
  background:
    radial-gradient(ellipse at 82% 50%, #3a3d7866, transparent 37%),
    linear-gradient(125deg, #171f39, #202044 62%, #15343d);
  box-shadow: 0 22px 60px #05091970, inset 0 1px #ffffff10;
}
.welcome::after {
  position: absolute;
  right: 28%;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border: 1px solid #b2a6ff22;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 34px #b2a6ff0b, 0 0 0 68px #b2a6ff08;
  pointer-events: none;
}
.welcome .eyebrow { color: #bcb3ff; }
.welcome h1 { max-width: 550px; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -2px; }
.welcome h1 span { color: #8ce8dc; }
.welcome div:first-child > p:last-of-type { color: #c2cbe2; }
.welcome-mascot { z-index: 1; flex-basis: 155px; }
.welcome-mascot img { width: 145px; height: 145px; filter: drop-shadow(0 16px 28px #050819aa); }
.welcome-mascot figcaption { color: #d3cbff; }
.welcome-mascot figcaption span { color: #b7c5dc; }
.welcome-note { color: #b9c6e0; }
.card, .post, .right-card {
  border: 1px solid #293656;
  border-radius: 15px;
  background: linear-gradient(155deg, #151f37, #11192d 78%);
  box-shadow: 0 14px 36px #03081738, inset 0 1px #ffffff08;
}
.feed-heading {
  border-color: #2e3d62;
  border-radius: 13px;
  background: #141e34;
}
.feed-sort { border-radius: 13px; background: #111a2e; }
.feed-sort a.active { background: #272447; color: #e2dcff; }
.post { padding: 18px; }
.post:hover { border-color: #53608a; transform: translateY(-1px); transition: transform .16s ease, border-color .16s ease; }
.post-meta a, .comment strong { color: #9be9de; }
.post-image { border-radius: 11px; background: #0c1324; }
.post-actions { border-color: #2c3b59; }
.reaction:hover, .reaction.chosen { border-color: #6f63b6; background: #292448; color: #d5ccff; }
.comment-form input { border-radius: 11px; }
.comment-form button { border-radius: 9px; background: #202b49; }
.composer, .account-card, .right-card { border-color: #2c3b5c; }
.account-card { background: linear-gradient(140deg, #192341, #151a30 75%); }
.account-forms form { border-color: #2d3b5c; border-radius: 13px; background: #111a2f; }
.right-card { padding: 19px; }
.right-card h2, .right-card h3 { color: #f0f1ff; }
.sidebar-note, .footer { color: #9daac8; }
.pete-panel { border-color: #4b4a82; background: linear-gradient(145deg, #171f39, #142333); }
.pete-messages { border-color: #344365; background: #0d1527; }
.pete-message { border-radius: 12px; }
.pete-user { background: #292449; }
.pete-assistant { background: #172c37; }
.pete-form textarea { border-radius: 12px; }
.pete-status { color: #b8c5de; }
.local-pill { border-color: #42766e; background: #163a3a; color: #9cf0db; }
.sidebar-note { border-top-color: #293656; }
.site-search { border-color: #354166; background: #141d34; }
.site-search input { background: transparent; }
.community-banner {
  border-color: #3a4569;
  border-radius: 16px;
  background: radial-gradient(ellipse at 92% 10%, #343264, transparent 55%), linear-gradient(120deg, #18243c, #171a30 75%);
}
.weekly-box { border-left-color: #8ce8dc; background: #ffffff0a; }
.empty-state { border-radius: 16px; background: radial-gradient(ellipse at 50% 0%, #202d4a, transparent 70%), #141d32; }
.sponsor-notice { border-color: #63553a; background: #29251e; }
.footer a:hover, .guest-action-link:hover { color: #8ce8dc; }
input, textarea, select { border-color: #354365; background: #0d1527; border-radius: 10px; }
input:focus, textarea:focus, select:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px #a78bfa2b; }
:focus-visible { outline: 3px solid #8ce8dc; outline-offset: 3px; }
@media (max-width: 1240px) {
  .layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 800px) {
  .topbar { position: relative; }
  .layout { grid-template-columns: 170px minmax(0, 1fr); }
  .welcome { padding: 27px; }
}
@media (max-width: 700px) {
  .topbar {
    position: sticky;
    grid-template-columns: 1fr auto;
    padding: 10px 13px;
    background: #0e1424f5;
  }
  .topbar > .tagline { display: none; }
  .topbar > .button { min-height: 34px; padding: 7px 9px; font-size: 10px; }
  .account { justify-self: end; }
  .layout { margin-top: 10px; }
  .welcome { min-height: 230px; padding: 23px 18px; border-radius: 16px; }
  .welcome h1 { font-size: clamp(31px, 8vw, 40px); }
  .welcome-mascot { flex-basis: 70px; margin-right: 0; }
  .welcome-mascot img { width: 65px; height: 65px; }
  .welcome-mascot figcaption { font-size: 10px; }
  .welcome-mascot figcaption span { display: none; }
  .feed-heading, .post, .account-card { border-radius: 13px; }
}

.chat-page {
  min-height: 100vh;
  background: #0e1424;
  color: #e8ebf4;
}
.chat-topbar {
  min-height: 68px;
  padding-inline: max(24px, calc((100% - 1100px) / 2));
  background: #11192b;
  border-bottom-color: #27334d;
}
.chat-topbar .brand { display: inline-flex; align-items: center; gap: 9px; }
.chat-topbar .brand-logo { width: 31px; height: 31px; }
.chat-topbar .wordmark { color: #eef0fb; }
.chat-topbar-label {
  margin-left: 5px;
  color: #9ca8c2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.chat-topbar > .button { margin-left: auto; }
.chat-layout {
  width: min(860px, calc(100% - 40px));
  margin: 54px auto 48px;
}
.chat-welcome { margin: 0 0 24px; }
.chat-welcome .eyebrow { margin: 0 0 7px; color: #a99be8; }
.chat-welcome h1 {
  margin: 0;
  color: #f2f3fa;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 650;
  letter-spacing: -1.2px;
}
.chat-welcome > p:last-child { margin: 7px 0 0; color: #aeb8cd; font-size: 14px; }
.chat-panel {
  padding: 22px;
  border: 1px solid #2b3853;
  border-radius: 14px;
  background: #141e32;
  box-shadow: 0 18px 46px #060b1766;
}
.chat-assistant-heading { display: flex; align-items: center; gap: 12px; }
.chat-assistant-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #495078;
  border-radius: 12px;
  background: #171d32;
}
.chat-assistant-name h2 { margin: 0; color: #f0f1fa; font-size: 16px; line-height: 1.3; }
.chat-assistant-name p { margin: 3px 0 0; color: #a6b0c7; font-size: 12px; }
.chat-assistant-heading .local-pill { margin-left: auto; }
.chat-privacy-note {
  margin: 18px 0;
  padding: 10px 12px;
  border: 1px solid #2b3955;
  border-radius: 8px;
  background: #111a2c;
  color: #aeb8cc;
  font-size: 12px;
}
.chat-privacy-note a { color: #b7a9ff; text-decoration: underline; text-underline-offset: 2px; }
.chat-messages {
  min-height: 300px;
  max-height: min(48vh, 500px);
  gap: 14px;
  align-content: start;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #2a3650;
  border-bottom: 1px solid #2a3650;
  border-radius: 0;
  background: transparent;
}
.chat-messages .pete-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 88%;
  padding: 0;
  background: transparent;
}
.chat-message-avatar { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; }
.chat-message-body { display: grid; gap: 4px; min-width: 0; padding: 2px 0; }
.chat-message-body strong { color: #c3b8ff; font-size: 12px; }
.chat-message-body span { color: #e0e5f0; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-messages .pete-user {
  justify-self: end;
  max-width: 80%;
  padding: 11px 14px;
  border: 1px solid #3a4561;
  border-radius: 12px 12px 3px 12px;
  background: #202b43;
}
.chat-messages .pete-user .chat-message-body strong { color: #aab9d8; }
.chat-form { align-items: flex-end; gap: 10px; margin-top: 16px; }
.chat-form textarea {
  min-height: 48px;
  max-height: 160px;
  padding: 12px 14px;
  border-color: #37445f;
  border-radius: 10px;
  background: #0f182a;
  color: #edf0f8;
  font-size: 14px;
}
.chat-form textarea:focus { border-color: #9383e7; box-shadow: 0 0 0 3px #9383e722; }
.chat-form .button { min-height: 46px; padding: 10px 20px; border-radius: 9px; }
.chat-status { margin: 9px 2px 0; color: #9ca8bf; font-size: 11px; }
.chat-footnote { margin: 14px 3px; color: #8995ac; font-size: 12px; }
@media (max-width: 600px) {
  .chat-topbar { min-height: 60px; padding: 8px 14px; gap: 10px; }
  .chat-topbar-label { display: none; }
  .chat-topbar > .button { min-height: 34px; padding: 7px 10px; font-size: 11px; }
  .chat-layout { width: calc(100% - 28px); margin: 32px auto; }
  .chat-panel { padding: 16px; }
  .chat-messages { min-height: 260px; max-height: 52vh; }
  .chat-messages .pete-message { max-width: 96%; }
  .chat-form { align-items: stretch; }
  .chat-form .button { padding-inline: 14px; }
}

.freedom-card {
  border-color: #4b4b83;
  background:
    radial-gradient(ellipse at 100% 0, #34326488, transparent 65%),
    linear-gradient(145deg, #192341, #141c31);
}
.freedom-card .eyebrow { margin: 0 0 7px; color: #bcb3ff; }
.freedom-card h2 { margin: 0; font-size: 19px; letter-spacing: -.4px; }
.freedom-card p:not(.eyebrow) { margin: 8px 0 13px; color: #c2cbe2; line-height: 1.6; }
.freedom-card > a { color: #8ce8dc; font-size: 12px; font-weight: 700; }
.freedom-card > a:hover { color: #c0fff3; text-decoration: underline; text-underline-offset: 3px; }

.visit-dashboard { width: min(100% - 32px, 980px); margin: 42px auto; }
.visit-heading { margin-bottom: 22px; }
.visit-heading .eyebrow, .visit-history .eyebrow { margin: 0 0 5px; color: #bcb3ff; }
.visit-heading h1 { margin: 0; font-size: clamp(28px, 5vw, 38px); letter-spacing: -1px; }
.visit-heading > p:last-child { margin: 6px 0 0; color: #b7c5dc; }
.visit-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.visit-metric { display: grid; gap: 8px; padding: 18px; }
.visit-metric span { color: #aeb9d6; font-size: 12px; }
.visit-metric strong { color: #f0f1ff; font-size: 30px; line-height: 1.1; }
.visit-history { margin-top: 17px; padding: 20px; }
.visit-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.visit-history-heading h2 { margin: 0; font-size: 18px; }
.visit-history-heading > span { color: #9daac8; font-size: 11px; }
.visit-table-wrap { overflow-x: auto; }
.visit-table { width: 100%; border-collapse: collapse; text-align: left; }
.visit-table th, .visit-table td { padding: 10px 12px; border-bottom: 1px solid #293656; font-size: 12px; }
.visit-table thead th { color: #aeb9d6; font-size: 10px; letter-spacing: .5px; }
.visit-table tbody th { color: #e3e7f5; font-weight: 600; }
.visit-table td { color: #c2cbe2; font-variant-numeric: tabular-nums; }
.visit-note { margin: 14px 0 0; color: #9daac8; font-size: 11px; line-height: 1.6; }
.visit-dashboard > .footer { margin-top: 18px; }
@media (max-width: 720px) {
  .visit-dashboard { margin: 24px auto; }
  .visit-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .visit-metric { padding: 14px; }
  .visit-metric strong { font-size: 25px; }
  .visit-history { padding: 14px; }
  .visit-table th, .visit-table td { padding: 9px 6px; }
}
