:root {
  color-scheme: light;
  --ink: #1d1b32;
  --muted: #77768a;
  --purple: #7354d6;
  --purple-dark: #5236b5;
  --lavender: #f0edff;
  --blue-pale: #eef6ff;
  --line: #e9e7f0;
  --white: #fff;
  --font: "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Arial, sans-serif;
  --emoji-font: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --display: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fcfbff; color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.page-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding-inline: max(24px, calc((100% - 1120px) / 2)); background: rgba(252,251,255,.92); border-bottom: 1px solid rgba(233,231,240,.7); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 16px; letter-spacing: -.4px; white-space: nowrap; }
.brand strong { font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; border-radius: 12px; font-family: var(--display); font-size: 23px; font-weight: 800; background: linear-gradient(140deg, #9d7df4, #6241c3); box-shadow: 0 7px 16px #7354d633; }
.top-nav { display: flex; align-items: center; gap: 32px; color: #656378; font-size: 13px; font-weight: 600; }
.top-nav a:hover, .footer a:hover { color: var(--purple); }
.button { border: 0; border-radius: 12px; padding: 11px 17px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .46; cursor: not-allowed; }
.button-primary { background: linear-gradient(135deg, #8164e6, #6244c8); color: white; box-shadow: 0 8px 18px #7354d62c; }
.button-primary:hover:not(:disabled) { box-shadow: 0 10px 24px #7354d645; }
.button-outline { color: #5a45ad; border: 1px solid #dcd5f5; background: white; }
.button-outline:hover:not(:disabled) { background: #f7f5ff; }
.button-quiet { color: #666477; background: #f4f3f8; }
.button-small { padding: 9px 14px; font-size: 12px; }
.button-large { padding: 15px 22px; font-size: 14px; border-radius: 14px; }
.hero { min-height: 535px; padding-block: 78px 70px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 36px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: #8174b8; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; line-height: 1.5; }
.pulse-dot, .connection-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #54bd8a; margin-right: 7px; box-shadow: 0 0 0 4px #54bd8a22; }
.online-chip { display: inline-block; margin-left: 7px; color: #777487; font-size: 9px; font-weight: 600; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -1.5px; }
h1 { margin: 20px 0 19px; font-size: clamp(42px, 5vw, 61px); line-height: 1.12; font-weight: 800; }
h1 span { color: var(--purple); }
.hero-copy > p { max-width: 470px; color: var(--muted); line-height: 1.85; font-size: 15px; margin-bottom: 25px; }
.privacy-note { margin-top: 16px; color: #858397; font-size: 11px; }
.privacy-note span { color: var(--purple); margin-right: 5px; }
.hero-visual { min-width: 0; }
.hero-art { min-height: 260px; position: relative; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid #e8e3fc; border-radius: 50%; }
.orbit-one { width: 245px; height: 245px; }
.orbit-two { width: 185px; height: 185px; border-style: dashed; }
.art-center { width: 115px; height: 115px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 35px; color: white; font: 800 59px var(--display); background: linear-gradient(140deg, #a58af2, #6748ca); box-shadow: 0 22px 50px #7053d648; transform: rotate(-7deg); }
.chat-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px 12px 11px; background: white; border: 1px solid #efedf6; border-radius: 15px; box-shadow: 0 12px 28px #29204412; font-size: 11px; font-weight: 600; animation: float 4s ease-in-out infinite; }
.card-purple { left: 2%; top: 24px; animation-delay: -.6s; }
.card-white { right: 0; bottom: 32px; animation-delay: -2s; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 11px; font-weight: 800; }
.avatar-lavender { color: #684cc5; background: #eee9ff; }
.avatar-blue { color: #4270bc; background: #e6f0ff; }
.site-move { margin-block: 12px 0; font-size: 13px; }
.site-move a { color: var(--purple); text-decoration: underline; }
.verse-card { --verse-accent: #9873df; max-width: 350px; min-height: 98px; margin: 0 auto; padding: 6px 12px 10px; border: 1px solid var(--line); border-inline-start: 3px solid var(--verse-accent); border-radius: 12px; background: #f6f0ff; box-shadow: 0 7px 16px #362b6810; font-size: 13px; line-height: 1.4; }
.verse-card[data-verse="love"] { --verse-accent: #d889a8; background: #fff0f5; }
.verse-card[data-verse="peace"] { --verse-accent: #62b49f; background: #ecfaf5; }
.verse-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.verse-card-top button { display: grid; place-items: center; width: 32px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; font: 20px/1 var(--display); }
.verse-card-top button:hover { background: #8679a229; }
.verse-card blockquote { margin: 0 0 4px; }
.verse-card blockquote span { display: block; animation: verse-enter 280ms ease-out; }
.verse-card small { color: var(--muted); font-size: 11px; }
body[data-theme="dark"] .verse-card { background: color-mix(in srgb, var(--verse-accent) 15%, #211e30); }
@keyframes verse-enter { from { opacity: .45; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .verse-card blockquote span { animation: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.nickname-panel, .chat-shell { margin-block: 0 54px; padding: 34px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 20px 60px #362b6810; }
.nickname-panel { max-width: 620px; }
.panel-heading { margin-bottom: 20px; }
.panel-heading h2, .chat-top h2 { font-size: 28px; margin: 7px 0; }
.panel-heading p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.input-row { display: flex; gap: 9px; }
input, textarea, select { width: 100%; color: var(--ink); border: 1px solid #e1deeb; border-radius: 11px; outline: 0; background: white; padding: 12px 13px; font-size: 13px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: #9c87e7; box-shadow: 0 0 0 3px #8970df1f; }
.input-row input { flex: 1; }
.form-hint { color: #89879b; font-size: 11px; margin: 7px 0 14px; }
.error-text { color: #a03b50; }
.nickname-form > .button-primary { width: 100%; }
.text-button { padding: 3px; border: 0; background: transparent; color: #6c6880; font-size: 12px; font-weight: 700; cursor: pointer; }
.nickname-form > .text-button { display: block; margin: 10px auto 0; }
.chat-shell { padding: 0; overflow: hidden; }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 21px 25px; border-bottom: 1px solid var(--line); }
.chat-top h2 { font-size: 21px; margin-bottom: 0; }
.chat-top-controls { display: flex; align-items: center; gap: 16px; }
.connection { display: flex; align-items: center; color: #777487; font-size: 11px; }
.connection-dot { width: 7px; height: 7px; background: #e7aa53; box-shadow: none; }
.connection-dot.connected { background: #54bd8a; }
.chat-status { padding: 11px 25px; color: #6554a7; background: #f6f3ff; font-size: 12px; }
.chat-messages { min-height: 270px; max-height: 470px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 23px 25px; }
.empty-chat { flex: 1; min-height: 230px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: #8a879b; text-align: center; font-size: 12px; }
.empty-chat strong { color: #535065; font-size: 13px; }
.empty-icon { color: #9279e7; font-size: 32px; }
.message { position: relative; z-index: 0; width: fit-content; max-width: min(78%, 560px); padding: 11px 14px; border-radius: 5px 16px 16px 16px; background: #f2effc; color: #302d46; overflow-wrap: anywhere; touch-action: pan-y; transition: box-shadow .2s ease, transform .2s ease; }
.message:hover, .message:focus-within, .message-actions-visible { z-index: 2; }
.message-highlight { box-shadow: 0 0 0 3px #a48df0; }
.message-swipe-replied { transform: translateX(5px); }
.message.mine { align-self: flex-end; color: white; border-radius: 16px 5px 16px 16px; background: #7557d4; }
.message-meta { display: block; padding-right: 88px; margin-bottom: 3px; color: #8175a6; font-size: 10px; font-weight: 700; }
.message.mine .message-meta { color: #e5dcff; }
.message-body { white-space: pre-wrap; font-size: 13px; }
.message-tools { position: absolute; z-index: 3; top: 5px; right: 6px; display: flex; align-items: center; gap: 3px; width: fit-content; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 5px 14px #21183d18; opacity: 0; pointer-events: none; transform: scale(.97); transform-origin: top right; transition: opacity .14s ease, transform .14s ease; }
.message:hover .message-tools, .message:focus-within .message-tools, .message-actions-visible .message-tools { opacity: 1; pointer-events: auto; transform: scale(1); }
.message-tool { padding: 4px 7px; border: 0; border-radius: 7px; background: transparent; color: #635b7a; font-size: 10px; font-weight: 700; cursor: pointer; }
.message-tool:focus-visible, .reaction-picker button:focus-visible, .reaction-count:focus-visible { outline: 2px solid #9279e7; outline-offset: 2px; }
.message-tool.reaction-trigger { width: 28px; height: 26px; display: grid; place-items: center; padding: 0; font-family: var(--emoji-font); font-size: 17px; }
.message-tool:hover:not(:disabled), .reaction-picker button:hover { background: #f1edfc; }
.message-tool:disabled, .reaction-count:disabled { opacity: .5; cursor: not-allowed; }
.reaction-picker { position: absolute; z-index: 4; top: calc(100% + 4px); right: 0; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 20px #21183d22; }
.message-picker-open { padding-top: 82px; }
.reaction-picker button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; font-family: var(--emoji-font); font-size: 17px; cursor: pointer; }
.message-reactions { min-height: 0; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.reaction-count { padding: 1px 6px; border: 1px solid #ded9eb; border-radius: 99px; background: #fff; color: #5e5772; font-family: var(--emoji-font); font-size: 10px; line-height: 1.5; cursor: pointer; }
.reaction-count.selected { border-color: #9c87e7; background: #ece7fc; color: #5236b5; }
.reply-compose { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 25px 0; color: #5f557a; }
.reply-compose-copy { min-width: 0; display: flex; flex-direction: column; border-left: 3px solid #8e73df; padding-left: 9px; font-size: 11px; }
.reply-compose-copy strong { color: #6755a0; }
.reply-compose-copy span { overflow: hidden; color: #827b91; text-overflow: ellipsis; white-space: nowrap; }
.reply-quote { display: block; max-width: 100%; padding: 4px 7px; margin: 0 0 7px; border: 0; border-left: 2px solid #8e73df; border-radius: 0 6px 6px 0; background: #e8e2f8; color: #615879; font-size: 10px; text-align: left; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; cursor: pointer; }
.message.mine .reply-quote { background: #6547bd; color: #efeaff; }
.message.mine .message-tools { color: var(--ink); }
.message.mine .reaction-count { color: #51416e; }
.message.mine .message-reactions { justify-content: flex-end; }
.typing-indicator { min-height: 0; padding: 0 25px; color: #89869b; font-size: 11px; }
.message-form { padding: 12px 25px 3px; display: flex; gap: 9px; }
.message-form input { padding: 12px 14px; }
.chat-actions { display: flex; align-items: center; gap: 9px; padding: 12px 25px 19px; }
.chat-actions .button { font-size: 11px; padding: 9px 12px; }
.action-spacer { flex: 1; }
.danger-text { color: #a25469; }
.chat-safety { margin: 0; padding: 12px 25px; border-top: 1px solid var(--line); color: #8b899a; font-size: 10px; }
.spotlight-bar { margin: 0 25px; padding: 0 10px; border: 1px solid #e4d5fd; border-radius: 10px; color: #56329e; background: linear-gradient(90deg, #f0e5ff, #edf3ff); font-size: 13px; }
.spotlight-preview-row, .spotlight-open { display: flex; align-items: center; gap: 8px; min-width: 0; }
.spotlight-action { min-height: 36px; padding: 5px 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.spotlight-action:hover, .spotlight-how { text-decoration: underline; }
.spotlight-open { flex: 1; }
.spotlight-open > :first-child, .spotlight-how { flex-shrink: 0; }
.spotlight-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-how { padding-inline: 9px 2px; border-inline-start: 1px solid currentColor; }
.spotlight-prices { padding-inline-start: 20px; }
.spotlight-prices:empty, #spotlight-price-status:empty { display: none; }
.spotlight-full-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-title h2, .how-it-works > h2 { font-size: 30px; margin: 6px 0 0; }
.spotlight-section { padding-block: 62px; border-top: 1px solid #efedf4; }
.spotlight-card { min-height: 132px; display: flex; align-items: center; padding: 25px; margin-top: 22px; border: 1px solid #e7e2f5; border-radius: 18px; background: linear-gradient(115deg, #faf8ff, #f6faff); }
.spotlight-empty { display: flex; align-items: center; gap: 15px; color: #79768a; }
.spotlight-star { width: 43px; height: 43px; display: grid; place-items: center; color: #7556cd; border-radius: 14px; background: #eee9ff; font-size: 21px; }
.spotlight-empty strong { color: #454258; font-family: var(--display); font-size: 14px; }
.spotlight-empty p { margin: 3px 0 0; font-size: 12px; }
.spotlight-message { flex: 1; }
.spotlight-message h3 { margin: 0 0 4px; font-size: 14px; letter-spacing: -.3px; }
.spotlight-message p { margin: 0; color: #5e5a71; white-space: pre-wrap; overflow-wrap: anywhere; }
.spotlight-label { display: inline-block; color: #7658c4; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.spotlight-time { margin-left: 20px; color: #777387; font-size: 11px; white-space: nowrap; }
.section-note { margin: 11px 0 0; color: #868397; font-size: 11px; }
.how-it-works { padding-block: 39px 77px; text-align: center; }
.how-it-works > h2 { margin-bottom: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.step-card { padding: 23px; border: 1px solid #eceaf2; border-radius: 17px; background: white; }
.step-number { color: #8a70dc; font: 800 11px var(--display); letter-spacing: 1px; }
.step-card h3 { margin: 14px 0 6px; font-size: 16px; letter-spacing: -.5px; }
.step-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 80px; }
.policy-card { min-height: 310px; padding: 28px; border: 1px solid #eceaf3; border-radius: 18px; background: white; }
.policy-blue { background: #f5f9ff; border-color: #e5eef9; }
.policy-icon { display: block; margin-bottom: 15px; color: #795ddd; font-size: 25px; }
.policy-card h2 { margin: 7px 0 16px; font-size: 21px; letter-spacing: -.8px; }
.policy-card p, .policy-card li { color: #727084; font-size: 12px; line-height: 1.8; }
.policy-card ul { margin: 0; padding-left: 18px; }
.policy-card li { padding: 3px 0; }
.footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #838094; font-size: 11px; }
.modal { position: fixed; width: min(500px, calc(100% - 32px)); max-height: min(88vh, 760px); overflow-y: auto; padding: 28px; border: 1px solid #e8e4f0; border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 30px 90px #22183c33; }
.modal::backdrop { background: #20193480; backdrop-filter: blur(3px); }
.modal-close-row { height: 18px; margin: -12px -12px 9px; display: flex; justify-content: flex-end; }
.icon-button { width: 30px; height: 30px; padding: 0; color: #777386; border: 0; border-radius: 10px; background: #f4f2f8; font-size: 20px; cursor: pointer; }
.modal h2 { margin: 8px 0; font-size: 25px; }
.modal-copy { color: #777487; font-size: 12px; line-height: 1.75; }
.modal textarea, .modal select { margin-bottom: 11px; }
.pin-preview { margin: 12px 0 16px; padding: 14px; border-radius: 12px; background: #f7f4ff; }
.pin-preview p { min-height: 20px; margin: 7px 0 0; color: #555168; font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.full-width { width: 100%; }
.pin-instructions { padding: 17px; margin-top: 15px; border: 1px solid #dfebdf; border-radius: 13px; background: #f7fbf6; }
.pin-instructions p { margin: 8px 0; color: #626174; font-size: 12px; }
.pin-instructions code { display: block; padding: 9px; margin: 9px 0; border-radius: 8px; background: white; color: #483590; font-size: 11px; overflow-wrap: anywhere; }
.success-badge { color: #388054; font-size: 12px; font-weight: 800; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin: 0 auto 48px; }
.support-grid .policy-card { min-height: 0; }
.facebook-link, .donation-details { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.facebook-link { display: inline-flex; }
.facebook-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0866ff; color: white; font: bold 17px/1 Arial, sans-serif; }
.donation-details strong { margin-inline-start: 5px; font-variant-numeric: tabular-nums; user-select: all; }
.copy-status { margin: 8px 0 0; }
.copy-status:empty { display: none; }
.art-center img { display: block; border-radius: 25%; }
.program-picker { display: grid; max-width: 360px; margin: 10px 0 16px; }
.program-label { font-weight: 700; margin-bottom: 6px; }
.program-toggle, .program-list button { font: inherit; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.program-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid currentColor; border-radius: 10px; transition: transform 200ms ease; }
.program-toggle[aria-expanded="true"] { transform: translateY(-3px); }
.program-chevron { transition: transform 160ms ease; }
.program-toggle[aria-expanded="true"] .program-chevron { transform: rotate(180deg); }
.program-options { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(5px); transition: grid-template-rows 200ms ease, opacity 160ms ease, transform 200ms ease; }
.program-picker[data-open] .program-options { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }
.program-options-clip { min-height: 0; overflow: hidden; }
.program-list { max-height: 192px; overflow-y: auto; overscroll-behavior: contain; margin-top: 5px; padding: 4px; border: 1px solid currentColor; border-radius: 10px; }
.program-list button { display: block; width: 100%; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 6px; }
.program-list button:hover, .program-list button[aria-pressed="true"] { background: rgba(110, 73, 206, 0.16); }
.program-list button:focus-visible { outline-offset: -2px; }
#custom-program-field { margin-top: 8px; }
#custom-program-field input { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .program-options, .program-toggle, .program-chevron { transition: none; }
}
.modal-report { width: min(470px, calc(100% - 32px)); }
.optional { color: #9693a5; font-weight: 400; }
.checkbox-label { display: flex; gap: 8px; align-items: flex-start; margin-block: 12px; color: #5d5a70; font-size: 11px; font-weight: 500; }
.checkbox-label input { width: auto; margin: 3px 0 0; }
.error-message { min-height: 0; margin: 10px 0 0; color: #a03b50; font-size: 12px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 4; max-width: min(400px, calc(100% - 44px)); padding: 13px 17px; border-radius: 12px; background: #26223c; color: white; box-shadow: 0 12px 30px #1e18342e; font-size: 12px; }
.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; }

body[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eeeaf8;
  --muted: #aaa4bd;
  --line: #383348;
  background: #171522;
  color: var(--ink);
}
body[data-theme="dark"] .topbar { background: rgba(23,21,34,.94); border-color: #383348; }
body[data-theme="dark"] .top-nav,
body[data-theme="dark"] .connection,
body[data-theme="dark"] .online-chip,
body[data-theme="dark"] .privacy-note,
body[data-theme="dark"] .form-hint,
body[data-theme="dark"] .text-button,
body[data-theme="dark"] .typing-indicator,
body[data-theme="dark"] .chat-safety,
body[data-theme="dark"] .section-note,
body[data-theme="dark"] .footer { color: #aaa4bd; }
body[data-theme="dark"] .nickname-panel,
body[data-theme="dark"] .chat-shell,
body[data-theme="dark"] .chat-card,
body[data-theme="dark"] .step-card,
body[data-theme="dark"] .policy-card,
body[data-theme="dark"] .modal,
body[data-theme="dark"] .button-outline,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select { background: #211e30; color: var(--ink); border-color: #403a54; }
body[data-theme="dark"] .button-outline:hover:not(:disabled) { background: #2b263d; }
body[data-theme="dark"] .button-quiet,
body[data-theme="dark"] .icon-button { background: #302b41; color: #d3cde2; }
body[data-theme="dark"] .chat-status { background: #2a2540; color: #c5b8f4; }
body[data-theme="dark"] .empty-chat,
body[data-theme="dark"] .spotlight-empty { color: #aaa4bd; }
body[data-theme="dark"] .empty-chat strong,
body[data-theme="dark"] .spotlight-empty strong { color: #eeeaf8; }
body[data-theme="dark"] .message { background: #302b41; color: #eeeaf8; }
body[data-theme="dark"] .message-meta { color: #c3b4f1; }
body[data-theme="dark"] .message-tools,
body[data-theme="dark"] .reaction-picker,
body[data-theme="dark"] .reaction-count { background: #211e30; color: #e0d9ef; border-color: #49425e; }
body[data-theme="dark"] .reply-compose-copy span { color: #b6b0c7; }
body[data-theme="dark"] .reply-quote { background: #3a3350; color: #ddd5f3; }
body[data-theme="dark"] .message.mine .reply-quote { background: #5b42a2; color: #f0ebff; }
body[data-theme="dark"] .spotlight-section,
body[data-theme="dark"] .footer,
body[data-theme="dark"] .chat-safety { border-color: #383348; }
body[data-theme="dark"] .spotlight-card,
body[data-theme="dark"] .spotlight-bar { background: linear-gradient(115deg, #262139, #202a3a); border-color: #403a54; color: #ddd5f3; }
body[data-theme="dark"] .spotlight-message p,
body[data-theme="dark"] .step-card p,
body[data-theme="dark"] .policy-card p,
body[data-theme="dark"] .policy-card li,
body[data-theme="dark"] .panel-heading p { color: #b6b0c7; }
body[data-theme="dark"] .art-orbit { border-color: #383348; }
body[data-theme="dark"] .avatar-lavender { background: #332b4b; }
body[data-theme="dark"] .avatar-blue { background: #26364d; }
body[data-theme="dark"] .modal::backdrop { background: #090812aa; }
body[data-theme="dark"] .checkbox-label { color: #c4bfd0; }

@media (max-width: 760px) {
  .page-width { width: min(100% - 32px, 600px); }
  .topbar { height: 65px; padding-inline: 16px; }
  .top-nav { gap: 13px; font-size: 11px; }
  .top-nav a { display: none; }
  .top-nav .button { padding: 8px 10px; font-size: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 58px 25px; gap: 4px; }
  h1 { font-size: 45px; }
  .hero-art { min-height: 205px; }
  .orbit-one { width: 190px; height: 190px; }
  .orbit-two { width: 145px; height: 145px; }
  .art-center { width: 96px; height: 96px; border-radius: 29px; font-size: 49px; }
  .chat-card { font-size: 9px; padding: 9px 11px 9px 9px; }
  .card-purple { top: 27px; left: 0; }
  .card-white { right: 0; bottom: 38px; }
  .avatar { width: 27px; height: 27px; }
  .nickname-panel { padding: 24px; }
  .input-row { flex-direction: column; }
  .input-row .button { width: 100%; }
  .chat-top { padding: 18px; }
  .chat-top-controls { gap: 10px; }
  .message { max-width: 90%; }
  .reply-compose { padding-inline: 16px; }
  .chat-status, .chat-messages, .message-form, .chat-actions, .chat-safety { padding-inline: 16px; }
  .spotlight-bar { margin-inline: 16px; }
  .chat-actions { flex-wrap: wrap; }
  .action-spacer { display: none; }
  .chat-actions .text-button { margin-left: 5px; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .section-title .button { align-self: stretch; }
  .spotlight-section { padding-block: 47px; }
  .spotlight-card { padding: 17px; }
  .spotlight-time { margin-left: 10px; font-size: 9px; }
  .steps-grid, .policy-grid { grid-template-columns: 1fr; }
  .how-it-works { padding-bottom: 52px; }
  .policy-grid { padding-bottom: 50px; }
  .policy-card { min-height: 0; }
  .footer { min-height: 90px; flex-wrap: wrap; gap: 10px; padding-block: 17px; }
  .footer > span { display: none; }
}

.admin-body { min-height: 100vh; background: #f7f6fb; }
.admin-topbar { background: white; }
.brand small { margin-left: 6px; color: #8272ba; font-size: 9px; font-family: var(--font); font-weight: 800; letter-spacing: 1px; }
.admin-main { padding-block: 42px 80px; }
.admin-login-card { width: min(440px, 100%); margin: 35px auto; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 18px 55px #362b6810; }
.login-mark { margin-bottom: 20px; }
.admin-login-card h1, .admin-heading h1 { margin: 7px 0; font-size: 28px; }
.admin-login-card > p, .admin-heading p { color: var(--muted); font-size: 12px; }
.admin-login-card form label { margin-top: 15px; }
.admin-login-card form .button { margin-top: 20px; }
.admin-footnote { color: #89879b; font-size: 10px !important; line-height: 1.7; }
.admin-dashboard { width: 100%; }
.admin-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.admin-heading p { margin: 0; }
.admin-tabs { display: flex; gap: 7px; padding: 6px; margin-bottom: 22px; border: 1px solid #ebe8f1; border-radius: 13px; background: white; overflow-x: auto; }
.admin-tab { padding: 9px 14px; border: 0; border-radius: 9px; background: transparent; color: #69667c; white-space: nowrap; font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-tab.active { background: #eeeaff; color: #5d43b3; }
.admin-section { animation: fade-in .2s ease; }
@keyframes fade-in { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { min-height: 100px; padding: 17px; border: 1px solid #ebe8f1; border-radius: 14px; background: white; }
.stat-card span { display: block; color: #777487; font-size: 10px; }
.stat-card strong { display: block; margin-top: 8px; color: #392e66; font: 800 24px var(--display); }
.admin-card, .record-card { padding: 19px; border: 1px solid #ebe8f1; border-radius: 15px; background: white; }
.admin-card h2, .admin-card-heading h2 { margin: 4px 0 8px; font-size: 18px; letter-spacing: -.6px; }
.admin-card p { color: #777487; font-size: 12px; }
.admin-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.admin-card-heading .button { padding: 8px 12px; font-size: 10px; }
.admin-list { display: grid; gap: 12px; margin-top: 13px; }
.record-card { padding: 17px; }
.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.record-card h3 { margin: 3px 0 5px; font-size: 15px; letter-spacing: -.4px; overflow-wrap: anywhere; }
.record-card p { margin: 6px 0; color: #69667a; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.record-meta { color: #89869a !important; font-size: 10px !important; }
.status-pill { display: inline-block; padding: 4px 8px; border-radius: 99px; background: #f1eff7; color: #6a6380; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-pill.pending, .status-pill.unpaid { background: #fff4e5; color: #9a6b22; }
.status-pill.resolved, .status-pill.received, .status-pill.approved { background: #eaf8ef; color: #397b4e; }
.status-pill.dismissed, .status-pill.rejected, .status-pill.banned { background: #fbecef; color: #a64b5d; }
.status-pill.suspended { background: #fff4e5; color: #9a6b22; }
.record-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.record-actions .button { padding: 7px 10px; font-size: 10px; }
.record-actions input { max-width: 125px; padding: 7px 9px; font-size: 10px; }
.evidence-list { padding: 10px 12px; margin-top: 8px; border-radius: 10px; background: #f7f6fa; }
.evidence-list p { margin: 4px 0; }
.moderation-section-heading { margin-top: 28px; }
.moderation-profile { display: grid; gap: 12px; margin-top: 18px; }
.moderation-profile label { display: grid; gap: 5px; color: #777487; font-size: 10px; }
.ban-dialog { width: min(480px, calc(100% - 32px)); }
.ban-dialog form { display: grid; gap: 9px; }
.ban-dialog form > label:not(.checkbox-label) { margin-top: 5px; color: #777487; font-size: 11px; }
.ban-dialog textarea, .ban-dialog select { width: 100%; }
.ban-dialog .record-actions { margin-top: 6px; }
.filter-row { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; padding: 14px; border: 1px solid #ebe8f1; border-radius: 14px; background: white; }
.filter-row label { margin: 0; color: #777487; font-size: 10px; }
.filter-row select { min-width: 155px; display: block; margin-top: 5px; padding: 9px; font-size: 11px; }
.filter-row button { padding: 9px 13px; font-size: 10px; }
.spotlight-admin-form { display: grid; gap: 12px; margin-bottom: 15px; }
.spotlight-admin-form label { margin: 0; color: #777487; font-size: 10px; }
.spotlight-admin-form textarea, .spotlight-form-grid input { display: block; width: 100%; margin-top: 5px; }
.spotlight-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spotlight-duration-input { display: flex; gap: 8px; margin-top: 5px; }
.spotlight-duration-input input { min-width: 0; flex: 1; }
.spotlight-duration-input select { width: auto; }
.pagination-bar { align-items: center; justify-content: center; margin-top: 18px; padding-top: 12px; border-top: 1px solid #ebe8f1; }
.empty-list { padding: 25px; border: 1px dashed #dedbe8; border-radius: 14px; color: #848196; text-align: center; font-size: 12px; }
.admin-error { padding: 10px 13px; margin-bottom: 13px; border-radius: 10px; background: #fff0f2; color: #a03b50; font-size: 12px; }
@media (max-width: 760px) {
  .admin-main { padding-block: 25px 55px; }
  .admin-login-card { margin: 12px auto; padding: 25px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-heading h1 { font-size: 24px; }
  .admin-heading .button { padding: 8px 10px; font-size: 10px; }
  .record-head { flex-direction: column; }
  .spotlight-form-grid { grid-template-columns: 1fr; }
}
