:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --paper: #fffdf8;
  --surface: #fffefb;
  --ink: #24332f;
  --muted: #66716c;
  --line: #e5ded2;
  --teal: #4b7565;
  --deep: #2f5547;
  --soft: #edf2ec;
  --accent: #b28a54;
  --accent-soft: #f7efdf;
  --danger: #b24938;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 0%, #fffaf0 0, transparent 35%), var(--bg); line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #75bfb7; outline-offset: 3px; }
button { border: 0; }
button, input, textarea, select { border-radius: 10px; }
input, textarea, select { min-width: 0; width: 100%; padding: 13px 14px; border: 1px solid #d8d4ca; background: #fffefb; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #4b75651c; outline: 0; }
textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
input::placeholder, textarea::placeholder { color: #8a9b97; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
label small { font-weight: 400; }
input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--teal); margin: 3px 0 0; flex: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; letter-spacing: -.8px; }
h2 { font-size: 20px; line-height: 1.5; }
h3 { font-size: 16px; }
small, .muted { color: var(--muted); }
small { font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 11px; background: var(--deep); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 5px 12px #2f55471c; }
.button:hover { background: #244638; box-shadow: 0 7px 16px #2f55472b; }
.button.secondary { color: var(--deep); border: 1px solid var(--line); background: var(--paper); box-shadow: none; }
.button.secondary:hover { background: var(--soft); }
.button.soft { background: var(--soft); color: var(--deep); box-shadow: none; }
.button.danger { background: #fff0eb; color: var(--danger); }
.button.small { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.button.wide { width: 100%; }
.text-button { padding: 6px 3px; background: transparent; color: var(--teal); font-size: 13px; }
.text-button.danger { color: var(--danger); }
.icon { display: inline-block; height: 21px; width: 21px; flex: none; vertical-align: middle; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--soft); color: var(--teal); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 16px; }
.form-stack { display: grid; gap: 18px; }
.eyebrow { color: var(--teal); font-size: 11px; letter-spacing: 2.5px; font-weight: 700; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.tag.green { background: var(--soft); color: var(--deep); border-color: transparent; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--deep); color: #fffdf8; font-family: Georgia, serif; font-size: 27px; font-weight: 700; box-shadow: 0 5px 12px #2f554724; }
.brand-word { font: 700 32px/1 Georgia, serif; letter-spacing: -1.5px; }
.brand-caption { font-size: 11px; color: var(--muted); line-height: 1.2; margin-top: 5px; letter-spacing: 1px; }
.app-root:has(> .auth-shell) { min-height: 100dvh; background: #faf8ef; }
.auth-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 500px); max-width: 1180px; margin: auto; align-items: center; padding: 64px 50px; gap: 80px; }
.auth-story { min-width: 0; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 0 56px; text-align: center; }
.auth-wordmark { margin-bottom: 32px; color: var(--deep); font: 700 48px/1 Georgia, "Times New Roman", serif; letter-spacing: -2px; }
.auth-story h1 { margin: 28px 0 0; color: var(--deep); font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif; font-size: 23px; font-weight: 500; line-height: 1.5; letter-spacing: 4px; }
.auth-panel { min-width: 0; width: 100%; background: var(--paper); border: 1px solid #ded6c8; border-radius: 22px; padding: 36px; box-shadow: 0 22px 55px #5a4a3214; }
.auth-word-cloud { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1.1; pointer-events: none; user-select: none; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif; font-weight: 600; line-height: 1.1; letter-spacing: 2px; }
.auth-keyword { position: absolute; display: block; white-space: nowrap; }
.auth-keyword-circle { top: 7%; left: 7%; color: #526f5d; font-size: 44px; transform: rotate(-9deg); }
.auth-keyword-private { top: 14%; right: 6%; color: #77917e; font-size: 35px; transform: rotate(8deg); }
.auth-keyword-safe { display: flex; flex-direction: column; align-items: center; gap: 3px; top: 37%; left: 50%; color: #90a48e; font-size: 28px; line-height: 1; transform: translateX(-50%); }
.auth-keyword-social { top: 51%; left: 10%; color: #829681; font-size: 32px; transform: rotate(-4deg); }
.auth-keyword-free { top: 61%; right: 8%; color: #738c7b; font-size: 30px; transform: rotate(4deg); }
.auth-keyword-money { bottom: 10%; left: 9%; color: #6d8066; font-size: 35px; transform: rotate(-5deg); }
.auth-keyword-rejected { color: #9b9789; font-size: 21px; letter-spacing: 1px; }
.auth-keyword-fake { top: 35%; left: 2%; transform: rotate(-9deg); }
.auth-keyword-bubble { bottom: 9%; right: 2%; transform: rotate(6deg); }
.auth-keyword-rejected::before, .auth-keyword-rejected::after { content: ""; position: absolute; z-index: 1; top: 50%; left: -6%; width: 112%; height: 3px; border-radius: 100%; background: #b67862; opacity: .9; }
.auth-keyword-rejected::before { transform: rotate(17deg); }
.auth-keyword-rejected::after { transform: rotate(-17deg); }
.auth-panel h2 { margin-bottom: 4px; font-size: 25px; letter-spacing: -.3px; }
.auth-panel .tag.green { background: var(--accent-soft); color: #7b5e2f; }
.auth-panel > p { margin-bottom: 24px; font-size: 13px; }
.switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #f0eee8; border-radius: 11px; margin-bottom: 24px; }
.switcher button { padding: 9px; background: transparent; color: var(--muted); }
.switcher button.active { background: var(--paper); color: var(--deep); font-weight: 700; box-shadow: 0 2px 7px #5a4a3214; }
.check-label { display: flex; gap: 9px; font-weight: 400; align-items: flex-start; font-size: 12px; color: var(--muted); }
.admin-sensitive-option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 48px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 8px; background: #f7faf8; }
.admin-sensitive-option:has([data-admin-sensitive]:checked) { border-color: #e4d19b; background: #fff8e8; }
.admin-sensitive-option .check-label { align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; }
.admin-sensitive-audience { margin-left: auto; }
.admin-sensitive-audience[hidden] { display: none; }
.admin-sensitive-option input { margin: 0; }
.post-author-avatar { flex: none; display: grid; place-items: center; padding: 0; background: transparent; border-radius: 50%; }
.post-author-avatar:hover { box-shadow: 0 0 0 3px var(--soft); }
.member-showcase-copy { flex: 1; min-width: 0; }
.member-showcase-copy h2 { overflow-wrap: anywhere; margin-bottom: 3px; }
.member-showcase-copy p { margin: 0; }
.member-showcase-bio { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; }
.member-showcase .profile-head { flex-wrap: wrap; }
.member-registration-id { margin-top: 7px !important; color: var(--teal); font-size: 12px; overflow-wrap: anywhere; word-break: break-all; }
.member-showcase-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: -8px 0 14px; color: var(--muted); font-size: 12px; }
.member-certification-private { display: grid; gap: 6px; margin-bottom: 16px; color: var(--muted); }
.member-certification .identity-box { display: grid; min-width: 0; }
.member-certification .identity-box > .row { flex-wrap: wrap; gap: 8px; }
.member-certification-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.member-certification-facts > div { min-width: 0; padding: 6px 8px; border-radius: 7px; background: #fff; }
.member-certification-facts dt { color: var(--muted); font-size: 11px; }
.member-certification-facts dd { margin: 3px 0 0; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .member-certification-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.member-certification-source { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 11px; }
.member-certification-detail { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; font-size: 12px; }
.member-certification-detail > span { color: var(--muted); }
.member-certification-detail p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.member-source-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.member-source-link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.member-showcase .profile-stats .stat { text-align: left; }
.member-showcase .profile-balance-amount { white-space: normal; overflow-wrap: anywhere; }
.member-showcase .profile-balance { max-width: 40%; }
@media (max-width: 480px) {
  .member-showcase .profile-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .member-showcase .profile-head .avatar.large { width: 54px; height: 54px; }
  .member-showcase .profile-balance { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 100%; padding: 8px 12px; }
  .member-showcase .profile-balance-amount { font-size: 22px; }
  .member-showcase .member-showcase-meta { margin-top: -4px; }
  .member-showcase .profile-stats { gap: 16px 10px; }
  .member-showcase .stat strong { font-size: 22px; }
}
.member-showcase-more { display: block; margin: 22px auto; }
.auth-note { font-size: 11px; color: var(--muted); text-align: center; margin: 18px 0 0; }
.guidelines { margin-top: 18px; color: var(--muted); font-size: 12px; }
.guidelines summary { cursor: pointer; }
.guidelines p { margin: 10px 0 0; }
.form-error, .notice { padding: 11px 13px; background: #fff0eb; color: #a23f30; border-radius: 9px; font-size: 13px; }
.form-error:empty { display: none; }
.identity-notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; background: #fff8df; color: #7b5c1e; border: 1px solid #efe0ad; }
.identity-notice .icon { flex: none; margin-top: 1px; }
.identity-notice strong { color: #5c4517; }
.identity-profile-notice { margin: 0 0 18px; background: #fff8df; color: #7b5c1e; border: 1px solid #efe0ad; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.feed-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: #e7efea; }
.feed-switch button { min-height: 34px; padding: 5px 15px; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; }
.feed-switch button.active { background: #fff; color: var(--deep); font-weight: 700; box-shadow: 0 2px 5px #1a3e3008; }
.search-box { display: flex; align-items: center; min-width: 180px; }
.search-box input { padding: 8px 12px; border-radius: 9px; font-size: 12px; background: #fff; }
.sensitive-warning { display: grid; gap: 8px; margin-top: 16px; padding: 18px; border-radius: 11px; background: #f4f1e8; color: #6c6048; font-size: 13px; }
.sensitive-warning span { font-size: 12px; color: var(--muted); }
.daily-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; margin: 0 0 16px; border: 1px solid #cfe5d6; border-radius: 11px; color: var(--deep); background: #edf7ef; font-size: 13px; }
.daily-note .icon { flex: none; width: 18px; height: 18px; }
.post-availability { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; padding: 12px 15px; margin: 0 0 16px; border: 1px solid #cfe5d6; border-radius: 11px; color: var(--deep); background: #edf7ef; font-size: 13px; }
.post-availability strong { font-size: 14px; }
.post-availability span { color: var(--muted); }
.post-availability time { color: var(--teal); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .04em; }
.post-availability small { flex-basis: 100%; color: var(--muted); font-size: 11px; }
.post-availability.waiting { border-color: #ead8ae; background: #fff8e8; }
.post-availability.waiting time { color: #9b691f; }
.identity-profile-card { margin-top: 18px; }
.identity-box { display: grid; gap: 13px; padding: 15px; border-radius: 11px; background: #eef7f0; color: var(--deep); }
.identity-box.pending { background: #fff8df; color: #7b5c1e; }
.identity-box .icon { width: 19px; height: 19px; flex: none; }
.identity-box small { display: block; color: var(--muted); margin-top: 2px; }
.identity-pending-wait { font-size: 11px; line-height: 1.5; }
.identity-profile-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.identity-profile-notice > div { display: grid; gap: 3px; min-width: 0; }
.identity-profile-notice strong { font-size: 13px; }
.identity-profile-notice span { font-size: 11px; line-height: 1.5; }
.identity-profile-notice .button { flex: none; }
.identity-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.identity-facts span { padding: 4px 9px; border-radius: 99px; background: #fff; font-size: 12px; color: var(--ink); }
.identity-evaluation { margin: 0; padding-top: 11px; border-top: 1px solid #d3e8d7; color: #45605a; font-size: 13px; white-space: pre-wrap; }
.invitations-card { margin-top: 18px; }
.member-invite { border-bottom: 1px solid var(--line); margin: 0 0 18px; padding: 0 0 18px; }
.member-invite h3 { font-size: 15px; margin: 0; }
.member-invite p { margin: 10px 0 0; font-size: 14px; }
.member-invite-code { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.member-invite-code code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 700; user-select: all; }
.member-invite-code .button { flex: none; }
.invitation-summary { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.invitation-summary-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; width: 100%; min-height: 32px; padding: 0; background: transparent; color: var(--ink); text-align: left; }
.invitation-summary-title { font-size: 15px; font-weight: 700; }
.invitation-summary-meta { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.invitation-toggle-copy { color: var(--teal); white-space: nowrap; }
.invitation-summary-heading strong { color: var(--teal); }
.invitation-people-list { margin-top: 8px; }
.invitation-people-list[hidden] { display: none; }
.invited-person .post-person { min-width: 0; overflow-wrap: anywhere; }
.invited-person > .tag { flex: none; }
.invitation-empty { margin: 12px 0 0; font-size: 13px; }
.activity-review { margin: 20px 0 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activity-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-review-heading h2 { margin: 0; font-size: 17px; }
.activity-status-label { flex: none; padding: 3px 9px; border-radius: 4px; background: #e9f1ef; color: var(--deep); font-size: 12px; font-weight: 700; }
.activity-exempt .activity-status-label { background: #e8f3e8; color: #35613d; }
.activity-qualifying .activity-status-label { background: #fff0d7; color: #805d22; }
.activity-delayed .activity-status-label { background: #fae8e4; color: #934537; }
.activity-summary { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.activity-deadline { margin: 8px 0 0; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.activity-deadline time, .activity-deadline strong { color: var(--deep); }
.activity-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.activity-metric { min-width: 0; }
.activity-metric > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.activity-metric span { min-width: 0; overflow-wrap: anywhere; }
.activity-metric strong { flex: none; color: var(--deep); font-variant-numeric: tabular-nums; }
.activity-metric progress { display: block; width: 100%; height: 8px; margin-top: 8px; border: 0; border-radius: 4px; overflow: hidden; background: #e8e8e2; accent-color: var(--teal); }
.activity-metric progress::-webkit-progress-bar { background: #e8e8e2; }
.activity-metric progress::-webkit-progress-value { background: var(--teal); }
.activity-metric progress::-moz-progress-bar { background: var(--teal); }
.activity-rule { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.activity-feed-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 15px; border-left: 3px solid #b98542; background: #fff7e8; }
.activity-feed-notice > div { display: grid; gap: 2px; min-width: 0; }
.activity-feed-notice strong { font-size: 13px; }
.activity-feed-notice span { color: #665b48; font-size: 12px; }
.activity-feed-notice .text-button { flex: none; }
.admin-user-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-user-status { display: flex; align-items: flex-start; gap: 4px; flex-direction: column; }
.admin-user-status .tag { white-space: nowrap; }
.card.admin-member-list { padding: 0; }
.admin-member-row { display: grid; grid-template-columns: minmax(0, 1fr) 114px 94px 60px; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.admin-member-row:last-child { border-bottom: 0; }
.admin-member-row .avatar { width: 38px; height: 38px; min-width: 38px; min-height: 38px; font-size: 17px; }
.admin-member-identity { display: grid; min-width: 0; gap: 2px; }
.admin-member-identity > strong { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-member-role { margin-left: 7px; color: var(--muted); font-size: 10px; font-weight: 400; }
.admin-member-account { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 12px; line-height: 1.5; }
.admin-member-account > span { color: var(--muted); white-space: nowrap; flex: none; }
.admin-member-account > b { font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.admin-member-meta { font-size: 10px; overflow-wrap: anywhere; }
.admin-member-balance { display: grid; gap: 1px; text-align: right; }
.admin-member-balance small { font-size: 10px; }
.admin-member-balance strong { color: var(--deep); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-member-menu { position: relative; align-self: start; }
.admin-member-menu summary { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 44px; font-size: 12px; color: var(--teal); cursor: pointer; list-style: none; border-radius: 8px; }
.admin-member-menu summary::-webkit-details-marker { display: none; }
.admin-member-menu summary .icon { width: 16px; height: 16px; }
.admin-member-menu summary:hover, .admin-member-menu[open] summary { background: var(--soft); }
.admin-member-menu-panel { position: absolute; top: calc(100% + 3px); right: 0; z-index: 20; width: 190px; max-height: min(70vh, 420px); overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 8px 24px #153b3020; }
.admin-member-menu-panel .text-button { display: block; width: 100%; min-height: 40px; padding: 9px 12px; text-align: left; border-radius: 6px; }
.admin-member-menu-panel .text-button:hover { background: var(--soft); }
.friend-card { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.friend-card:last-child { border-bottom: 0; }
.friend-card small { display: block; margin-top: 2px; }
.pending-friend { padding: 13px; border: 1px solid #eadcae; border-radius: 10px; background: #fffaf0; }
.identity-review-card { display: grid; gap: 12px; }
.identity-review-subject { padding: 10px 0 5px; }
.identity-review-subject small { display: block; margin-top: 3px; }
.identity-badge, .identity-source { color: var(--muted, #777); font-size: 12px; }
.identity-badge { padding: 0; text-align: left; }
.member-section-title { margin: 14px 0 8px; font-size: 13px; color: var(--deep); }
.member-section-title:first-child { margin-top: 0; }
.self-profile-details { display: grid; gap: 10px; margin: 0 0 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.self-profile-details > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; }
.self-profile-details > div > span { color: var(--muted); }
.self-profile-details strong { font-weight: 600; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.profile-tags .tag { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.member-details { display: grid; gap: 8px; margin: 8px 0 12px; }
.member-external-profile { display: grid; gap: 3px; min-width: 0; margin: 0 0 14px; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.member-external-profile a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; font-weight: 600; }
.member-external-profile small { color: var(--muted); }
.member-details-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.member-details-navigation .text-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.member-details-navigation .icon { width: 15px; height: 15px; }
.member-details-hero { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px; border-radius: 13px; background: var(--accent-soft); }
.member-details-hero > div:last-child { min-width: 0; }
.member-details-hero h3 { margin: 0 0 4px; overflow-wrap: anywhere; }
.member-details-hero p { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.member-details-hero .avatar { width: 70px; height: 70px; min-width: 70px; min-height: 70px; }
.member-inviter-card { display: grid; gap: 10px; margin: 14px 0 4px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; }
.member-inviter-card .row { min-width: 0; }
.member-inviter-card .text-button { justify-self: start; padding: 0; }
.member-inviter-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.detail-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(31, 36, 40, .08); }
.detail-row span { text-align: right; overflow-wrap: anywhere; }
.switch { position: relative; display: inline-flex; width: 42px; height: 25px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span:not(.visually-hidden) { position: absolute; inset: 0; border-radius: 99px; background: #c9d7d1; cursor: pointer; transition: background .15s; }
.switch span:not(.visually-hidden)::after { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #153b3025; transition: transform .15s; }
.switch input:checked + span:not(.visually-hidden) { background: var(--teal); }
.switch input:checked + span:not(.visually-hidden)::after { transform: translateX(17px); }
.app-layout { display: grid; grid-template-columns: 236px minmax(0, 720px); max-width: 1040px; min-height: 100dvh; margin: auto; padding: 0 30px; gap: 40px; }
.app-layout.discovery-layout { grid-template-columns: 208px minmax(0, 720px) 270px; max-width: 1330px; gap: 28px; }
.recommend-follow-rail { min-width: 0; padding-top: 78px; }
.advertisement-rail { min-width: 0; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 9px 28px #5a4a320b; overflow: hidden; }
.advertisement-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px 15px 9px; }
.advertisement-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.15px; }
.advertisement-heading span { padding: 3px 7px; border-radius: 99px; background: var(--accent-soft); color: #806238; font-size: 10px; white-space: nowrap; }
.advertisement-list { display: grid; gap: 9px; padding: 0 10px 11px; }
.advertisement-card { min-width: 0; border: 1px solid #eee8de; border-radius: 12px; background: #fffdf8; overflow: hidden; }
.advertisement-link { display: block; color: inherit; text-decoration: none; }
.advertisement-link:hover { background: #fffaf0; }
.advertisement-image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: #edf2ec; color: var(--teal); }
.advertisement-image-empty { display: grid; place-items: center; color: #89948e; font-size: 12px; letter-spacing: .08em; }
.advertisement-copy { display: grid; gap: 3px; padding: 9px 10px 4px; }
.advertisement-copy strong { overflow: hidden; color: var(--deep); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.advertisement-copy p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.advertisement-visit { display: block; padding: 3px 10px 9px; color: var(--teal); font-size: 11px; }
.advertisement-visit .icon { width: 12px; height: 12px; vertical-align: -2px; }
.advertisement-empty { display: grid; gap: 3px; padding: 14px 10px 15px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.advertisement-empty strong { color: var(--deep); font-size: 12px; }
.advertisement-admin-list { display: grid; gap: 14px; }
.advertisement-admin-card { padding-bottom: 10px; }
.advertisement-admin-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 0; color: var(--muted); font-size: 11px; }
.advertisement-admin-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advertisement-admin-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 10px 0; }
.advertisement-admin-actions .text-button { margin-left: auto; }
.recommend-follow-card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 9px 28px #5a4a320b; overflow: hidden; }
.recommend-follow-card-mobile { display: none; }
.recommend-follow-card[hidden] { display: none; }
.recommend-follow-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 8px; }
.recommend-follow-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.2px; }
.recommend-follow-subtitle { margin: 0; padding: 0 16px 12px; color: var(--muted); font-size: 12px; }
.recommend-follow-list { border-top: 1px solid #eee8de; }
.recommend-follow-item { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 16px; border-bottom: 1px solid #f0ebe2; }
.recommend-follow-item:last-child { border-bottom: 0; }
.recommend-follow-member { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; min-height: 44px; padding: 0; background: transparent; color: var(--deep); text-align: left; }
.recommend-follow-member > .avatar { flex: none; width: 38px; height: 38px; min-width: 38px; }
.recommend-follow-person { display: grid; min-width: 0; gap: 3px; }
.recommend-follow-person strong, .recommend-follow-person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recommend-follow-person strong { font-size: 13px; }
.recommend-follow-person small { font-size: 11px; color: var(--muted); }
.recommend-follow-button { flex: none; min-width: 54px; min-height: 44px; padding: 6px 10px; border-radius: 18px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; }
.recommend-follow-button:disabled { cursor: wait; opacity: .65; }
.recommend-follow-footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 12px 8px; border-top: 1px solid #eee8de; }
.recommend-follow-footer p { margin: 0; color: var(--muted); font-size: 10px; }
.recommend-follow-footer button { flex: none; min-width: 44px; min-height: 44px; font-size: 11px; }
.recommend-follow-empty { margin: 0; padding: 12px 16px 19px; color: var(--deep); font-size: 13px; line-height: 1.8; }
.recommend-follow-empty small { color: var(--muted); font-size: 11px; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100dvh; padding: 32px 0; }
.sidebar .brand { padding: 0 14px; margin-bottom: 52px; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 52px; padding: 0 8px 0 14px; }
.sidebar-top .brand { min-width: 0; padding: 0; margin: 0; }
.inbox-entry { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 42px; height: 42px; padding: 7px; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.inbox-entry:hover, .inbox-entry.active { background: var(--accent-soft); color: var(--deep); }
.inbox-entry .icon { width: 20px; height: 20px; }
.inbox-badge { position: absolute; top: -4px; right: -5px; display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.nav-list { display: grid; gap: 8px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 17px; min-height: 51px; background: transparent; color: var(--muted); text-align: left; font-size: 15px; }
.nav-item { border-radius: 12px; }
.nav-activity-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: auto; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.nav-item.active { background: var(--accent-soft); color: var(--deep); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.nav-item:hover { background: #eef1eb; }
.side-bottom { margin-top: auto; padding: 22px 14px 0; color: var(--muted); font-size: 11px; }
.side-bottom p { margin: 0 0 10px; }
.side-bottom .row { padding-top: 16px; border-top: 1px solid var(--line); }
.main-column { min-width: 0; padding: 42px 0 70px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; gap: 12px; }
.page-heading h1 { font-size: 30px; margin-bottom: 7px; letter-spacing: -.6px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.page-heading .icon-button { margin-top: 16px; }
.page-heading-actions { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.page-heading-actions .icon-button { margin-top: 0; }
.sensitive-toggle { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
.sensitive-toggle-copy { display: grid; gap: 2px; }
.sensitive-toggle-copy strong { font-size: 12px; white-space: nowrap; }
.sensitive-toggle-copy small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.mobile-brand, .bottom-nav { display: none; }
.welcome-strip { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 22px; background: var(--accent-soft); border: 1px solid #ead9b8; border-radius: 15px; margin-bottom: 24px; }
.welcome-strip p { margin: 0; font-size: 14px; font-weight: 600; }
.welcome-strip small { display: block; margin-top: 4px; font-size: 11px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 9px 28px #5a4a320b; }
.card.post { padding: 16px 20px; }
.feed { display: grid; gap: 14px; }
.feed-batch-prompt { position: sticky; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 25; display: flex; align-items: flex-start; justify-content: center; height: 0; pointer-events: none; }
.feed-batch-prompt[hidden] { display: none; }
.feed-batch-button { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; padding: 6px 15px 6px 12px; border: 1px solid #ffffff38; border-radius: 99px; color: #fffdf8; background: var(--deep); box-shadow: 0 5px 18px #234a3933; pointer-events: auto; }
.feed-batch-button:hover { background: #244638; }
.feed-batch-button > .icon { width: 17px; height: 17px; stroke-width: 2; }
.feed-batch-title { flex: none; font-size: 13px; line-height: 1.4; font-weight: 700; white-space: nowrap; }
.feed-batch-avatars { display: inline-flex; align-items: center; flex: none; padding-left: 6px; }
.feed-batch-author { display: inline-flex; margin-left: -6px; }
.feed-batch-author .avatar { width: 30px; height: 30px; min-width: 30px; min-height: 30px; border: 2px solid var(--deep); font-size: 12px; }
.feed-batch-end { height: 1px; }
.post-head { align-items: flex-start; }
.avatar { display: grid; place-items: center; width: 43px; height: 43px; min-width: 43px; min-height: 43px; flex: none; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; background: #e4efe8; color: #287968; font-weight: 700; font-size: 18px; }
.avatar img { width: 100%; height: 100%; min-width: 0; min-height: 0; display: block; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: 50%; }
.avatar.large { width: 70px; height: 70px; font-size: 29px; }
.avatar-social-linked { position: relative; }
.avatar-social-linked::after { content: ""; position: absolute; inset: 0; border: 3px solid #9368c4; border-radius: inherit; pointer-events: none; }
.author { font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.post-meta { color: var(--muted); font-size: 11px; }
.post-admin-views { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; color: var(--deep); font-size: 11px; font-weight: 500; white-space: nowrap; }
.post-admin-views > span { font-weight: 700; }
.post-person { flex: 1; min-width: 0; padding-top: 1px; }
.paid-badge { margin-left: 6px; color: #8b5b1b; background: #fff1c9; border-color: #ead39a; }
.pending-badge { margin-left: 6px; color: #245b9b; background: #eaf3ff; border-color: #bcd5f2; }
.paid-card { border-color: #eadbb8; }
.paid-locked { background: #fffdf8; }
.paid-lock { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px; border: 1px solid #eadbb8; border-radius: 12px; background: #fff8e7; color: #684d20; }
.paid-lock-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: #f3dfad; color: #8b641f; }
.paid-lock-icon .icon { width: 19px; height: 19px; }
.paid-lock strong { display: block; margin-bottom: 5px; color: #5e451b; }
.paid-lock p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; }
.paid-preview { padding: 9px 11px; border-left: 3px solid #dfc071; background: #fffdf6; color: #755a2b; white-space: pre-wrap; overflow-wrap: anywhere; }
.paid-lock-actions { align-items: center; margin-top: 10px; }
.growth-feedback { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: #755a2b; font-size: 12px; line-height: 1.5; }
.growth-feedback-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.growth-feedback-item .icon { width: 15px; height: 15px; flex: none; }
.growth-lock { display: grid; gap: 10px; margin-top: 10px; padding: 14px 16px; border: 1px solid #ecd7ad; border-radius: 13px; background: #fcf9f1; box-shadow: 0 5px 14px #b28a5410; }
.growth-lock-heading { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 3px 12px; }
.growth-lock-symbol { display: grid; grid-row: 1 / span 2; align-self: center; place-items: center start; height: 26px; border-right: 1px solid #ddd7c9; color: #245445; }
.growth-lock-symbol .icon { width: 22px; height: 22px; }
.growth-lock-heading > strong { min-width: 0; color: #245445; font-size: 17px; line-height: 1.45; }
.growth-lock-price { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border: 1px solid #f1dfb7; border-radius: 999px; background: #faefd5; color: #705225; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.growth-lock-price .icon { width: 14px; height: 14px; color: #bf9239; }
.growth-lock-description { grid-column: 2 / -1; margin: 0; color: #66716c; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.growth-lock-preview { display: flow-root; min-width: 0; padding: 8px 13px; border-left: 2px solid #d9b870; border-radius: 5px; background: #f5f0e4; }
.growth-lock-preview p { min-width: 0; margin: 0; color: #2f5547; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.growth-lock-preview .growth-thumbnails { float: left; margin: 2px 12px 4px 0; }
.growth-lock-preview .growth-thumbnail { width: 64px; height: 52px; border-radius: 5px; }
.growth-lock-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.growth-lock .growth-feedback { min-width: 0; gap: 6px 12px; margin: 0; color: #66716c; }
.growth-lock .growth-feedback-item + .growth-feedback-item { padding-left: 12px; border-left: 1px solid #ddd7c9; }
.growth-lock .growth-lock-button { flex: none; margin-left: auto; padding: 7px 16px; border-radius: 999px; background: #245445; font-size: 13px; line-height: 1.5; }
.growth-lock-button .icon { width: 17px; height: 17px; }
.growth-lock .growth-lock-button:hover { background: #1d483a; }
@media (max-width: 600px) {
  .growth-lock { gap: 9px; padding: 12px; }
  .growth-lock-heading { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 9px; }
  .growth-lock-heading > strong { font-size: 16px; }
  .growth-lock-price { padding-inline: 7px; }
  .growth-lock-preview { padding-inline: 10px; }
  .growth-lock-preview .growth-thumbnails { margin-right: 9px; }
  .growth-lock .growth-lock-button { min-height: 40px; padding-inline: 13px; }
}
.paid-price { color: #8b5b1b; }
.claim-card { margin-top: 20px; }
.admin-reserve-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 8px 0 14px; }
.admin-reserve-metrics > div { display: grid; align-content: start; gap: 2px; min-width: 0; }
.admin-reserve-metrics > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.admin-reserve-metrics span, .admin-reserve-metrics small { color: var(--muted); font-size: 11px; }
.admin-reserve-metrics strong { color: var(--deep); font-size: 24px; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-reserve-card .subtle-note { margin: 2px 0 12px; }
.admin-reserve-history { border-top: 1px solid var(--line); }
.admin-reserve-history summary { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0 0; color: var(--deep); font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.admin-reserve-history summary::-webkit-details-marker { display: none; }
.admin-reserve-history summary::before { content: '▸'; margin-right: 5px; }
.admin-reserve-history[open] summary::before { content: '▾'; }
.admin-reserve-history summary span { margin-left: auto; color: var(--muted); font-weight: 400; }
.admin-reserve-entries { max-height: 460px; margin-top: 9px; overflow: auto; }
.admin-reserve-entry { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.admin-reserve-entry > div { display: grid; min-width: 0; }
.admin-reserve-entry > div strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.admin-reserve-entry small { color: var(--muted); font-size: 10px; }
.admin-reserve-entry > strong { flex: none; color: var(--deep); font-size: 13px; font-variant-numeric: tabular-nums; }
.admin-reserve-empty { margin: 8px 0 0; font-size: 12px; }
.claim-list { display: grid; gap: 10px; }
.claim-item { padding: 15px 0; border-top: 1px solid var(--line); }
.claim-item:first-child { border-top: 0; padding-top: 0; }
.claim-item:last-child { padding-bottom: 0; }
.claim-item-title { margin: 8px 0 4px; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.claim-item .button { margin-top: 10px; }
.claim-expired { opacity: .72; }
.earnings-card { margin-top: 20px; }
.earnings-pool { display: grid; gap: 14px; padding: 17px 18px; border: 1px solid #d7e7dc; border-radius: 13px; background: linear-gradient(135deg, #eef8f0, #f8fbf6); }
.earnings-pool-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.earnings-pool-summary > div { display: grid; gap: 1px; min-width: 0; }
.earnings-pool-summary > div > span, .earnings-pool-summary > div > small { color: var(--muted); font-size: 11px; }
.earnings-pool-summary > div > strong { color: var(--deep); font-size: 29px; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.earnings-pool-summary > p { margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.earnings-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.earnings-category { display: grid; min-width: 0; gap: 2px; padding: 10px 11px; border: 1px solid #dce9df; border-radius: 10px; background: #ffffff8c; }
.earnings-category span, .earnings-category small { color: var(--muted); font-size: 11px; }
.earnings-category strong { color: var(--deep); font-size: 17px; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.earnings-subheading { margin: 21px 0 7px; }
.earnings-subheading h3 { margin: 0; font-size: 14px; }
.revenue-log-toggle { padding: 3px 0; font-size: 11px; }
.earnings-claim-actions { display: flex; align-items: center; gap: 10px; }
.earnings-claim-actions .button { margin-top: 0; }
.claim-item-compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 13px 0; }
.claim-item-main, .claim-item-side { display: grid; gap: 2px; min-width: 0; }
.claim-item-main strong, .claim-item-main small, .claim-item-side strong, .claim-item-side small { overflow-wrap: anywhere; }
.claim-item-main small, .claim-item-side small { color: var(--muted); font-size: 11px; }
.claim-item-side { text-align: right; }
.claim-item-side strong { color: var(--deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.revenue-log-list { display: grid; }
.revenue-log-list[hidden] { display: none !important; }
.revenue-log-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.revenue-log-copy, .revenue-log-amount { display: grid; gap: 2px; min-width: 0; }
.revenue-log-copy { font-size: 12px; }
.revenue-log-copy small, .revenue-log-amount small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.revenue-log-amount { flex: 0 1 auto; max-width: 55%; text-align: right; }
.revenue-log-amount strong { color: var(--deep); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.post-text { margin: 10px 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.post-body { margin: 10px 0; }
.post-body .post-text { margin: 0; }
.post-text.collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.post-expand { margin-top: 4px; padding: 5px 0; background: transparent; color: var(--teal); font-size: 12px; font-weight: 600; }
.post-expand[hidden] { display: none; }
.post-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 10px 0; }
.post-images.single { grid-template-columns: minmax(0, 1fr); }
.post-images.triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.image-button { position: relative; padding: 0; overflow: hidden; border-radius: 10px; background: #eaf0eb; }
.image-resolution { position: absolute; top: 8px; left: 8px; padding: 4px 6px; border-radius: 4px; background: #173c39e6; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; pointer-events: none; }
.image-resolution[hidden] { display: none; }
.post-images img { width: 100%; height: 235px; object-fit: cover; }
.post-images.triple img { aspect-ratio: 1; height: auto; object-fit: cover; }
.post-images.single img { height: auto; max-height: 430px; object-fit: contain; }
.growth-thumbnails { display: flex; gap: 8px; margin: 10px 0 12px; }
.growth-thumbnail { display: block; width: 96px; height: 72px; border-radius: 8px; object-fit: cover; background: #eaf0eb; }
.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 21px; padding-top: 6px; margin-top: 10px; border-top: 1px solid var(--line); }
.post .post-external-links { margin-block: 10px; }
.post .paid-lock, .post .sensitive-warning { margin-top: 10px; padding: 14px; }
.reaction { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; background: transparent; color: var(--muted); font-size: 12px; min-height: 34px; white-space: nowrap; }
.reaction.active { color: var(--teal); }
.reaction.active .heart { fill: #b8ded0; }
.reaction.active .bookmark { fill: #dcefe7; }
.dislike-reaction.active { color: #956c3c; }
.post-dislike-menu { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.post-dislike-menu fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.post-dislike-menu legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.post-dislike-menu legend small { margin-left: 8px; color: var(--muted); font-weight: 400; }
.post-dislike-options { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.post-dislike-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 13px; cursor: pointer; }
.post-dislike-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--teal); }
.post-dislike-controls { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 6px; }
.post-dislike-controls button { min-height: 40px; }
.post-dislike-controls .text-button { padding: 4px 0; background: transparent; color: var(--muted); font-size: 13px; }
.post-dislike-controls [data-action="remove-dislike"] { margin-right: auto; }
.post-dislike-menu .form-error:empty { display: none; }
.admin-dislike-summary { color: var(--muted); font-size: 12px; margin: 0 0 12px; }
.admin-dislike-list { display: grid; gap: 10px; margin-bottom: 14px; }
.admin-dislike-record { padding: 11px 13px; border-radius: 10px; background: var(--soft); overflow-wrap: anywhere; }
.admin-dislike-record strong { font-size: 14px; }
.admin-dislike-record small, .admin-dislike-record time { font-size: 11px; color: var(--muted); }
.admin-dislike-record time { flex: none; }
.admin-dislike-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 12px; }
@media (max-width: 600px) {
  .post-actions { column-gap: 16px; }
  .post-dislike-options { flex-direction: column; gap: 0; }
  .post-dislike-options label, .post-dislike-controls button { min-height: 44px; }
}
.post-menu { position: relative; }
.post-menu summary { list-style: none; }
.post-menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; z-index: 5; width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #153b3020; }
.menu-panel button { display: block; width: 100%; padding: 10px; background: transparent; text-align: left; font-size: 13px; color: var(--ink); }
.menu-panel button:hover { background: var(--soft); }
.menu-panel .danger { color: var(--danger); }
.comments { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.comment { font-size: 13px; margin-bottom: 14px; overflow-wrap: anywhere; }
.comment p { margin: 4px 0; color: #45605a; white-space: pre-wrap; }
.comment .author { font-size: 12px; }
.comment-body { display: flex; align-items: flex-start; gap: 12px; }
.comment-body p { flex: 1; min-width: 0; }
.comment-reply-action { flex: none; min-width: 44px; min-height: 44px; padding: 5px; font-size: 12px; }
.comment-reply-to { margin-left: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.comment.selected-reply { padding-left: 10px; border-left: 2px solid var(--teal); }
.comment-reply-target { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--soft); }
.comment-reply-target > div { display: grid; gap: 3px; flex: 1; min-width: 0; }
.comment-reply-target strong { font-size: 12px; overflow-wrap: anywhere; }
.comment-reply-target span { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comment-reply-target > button { flex: none; min-height: 44px; font-size: 12px; }
.comment-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 16px; }
.comment-form .form-error { grid-column: 1 / -1; }
.comment-reply-slot { grid-column: 1 / -1; }
.comment-reply-slot:empty { display: none; }
.reaction { transition: color 150ms ease, background-color 150ms ease; touch-action: manipulation; }
.reaction.reaction-pending { opacity: 1; }
.reaction.reaction-pending .icon { animation: reaction-feedback 240ms ease-out; }
@keyframes reaction-feedback { 50% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .reaction, .reaction.reaction-pending .icon { transition: none; animation: none; } }
.comment-input-row { position: relative; display: flex; min-width: 0; }
.comment-input-row input { width: 100%; min-width: 0; padding-right: 42px; font-size: 13px; }
.comment-emoji-trigger { position: absolute; right: 4px; top: 50%; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 8px; color: var(--muted); background: transparent; transform: translateY(-50%); }
.comment-emoji-trigger:hover, .comment-emoji-trigger[aria-expanded="true"] { background: var(--soft); color: var(--teal); }
.comment-emoji-picker { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 8; display: grid; grid-template-columns: repeat(6, 34px); gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 10px 28px #153b3024; }
.comment-emoji-picker[hidden] { display: none; }
.comment-emoji-option { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 8px; background: transparent; font-size: 19px; line-height: 1; }
.comment-emoji-option:hover { background: var(--soft); }
.tip-reaction { color: #8b641f; }
.tip-reaction:hover { color: #6d4b15; }
.empty { padding: 55px 25px; text-align: center; border: 1px dashed #c8d9d1; background: #f7f9f5; border-radius: 15px; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 17px; color: var(--teal); background: #e3eee7; }
.empty-icon .icon { width: 27px; height: 27px; }
.empty h2 { font-size: 18px; margin-bottom: 9px; }
.empty p { max-width: 310px; margin: 0 auto 22px; font-size: 13px; color: var(--muted); }
.composer-text { background: transparent; border: 0; padding: 4px 0; min-height: 180px; font-size: 16px; }
.composer-options { display: grid; gap: 12px; margin: 0 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #f8fbf8; }
.composer-options legend { padding: 0 5px; color: var(--deep); font-size: 13px; font-weight: 700; }
.post-link-fields[hidden] { display: none; }
.post-link-fields { gap: 8px; padding: 12px; }
.post-link-fields label { display: grid; gap: 7px; font-size: 13px; }
.post-link-fields textarea { min-height: 76px; padding: 10px 12px; font-size: 13px; line-height: 1.6; }
.post-link-fields small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.post-external-links { display: grid; gap: 8px; margin: 14px 0; }
.post-source-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.post-external-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--teal); text-decoration: none; min-width: 0; }
.post-external-link:hover { border-color: var(--teal); }
.post-external-link strong { font-size: 13px; }
.post-external-link span { flex: 1; min-width: 90px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.post-external-link small { font-size: 12px; white-space: nowrap; }
.post-external-view-count { color: var(--muted); font-weight: 400; }
.post-external-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.post-external-actions .text-button, .post-external-actions a { padding: 0; font-size: 12px; color: var(--teal); text-decoration: none; white-space: nowrap; }
.post-external-actions a:hover { text-decoration: underline; }
.external-video-panel { margin: 0 0 8px; padding: 0; }
.external-video-panel[hidden] { display: none; }
.external-video-stage { position: relative; width: 100%; max-width: 640px; margin: 0 auto; border-radius: 8px; overflow: hidden; background: #111; }
.external-video-stage::before { content: ''; display: block; padding-top: calc(56.25% + 35px); }
.external-post-stage { height: 600px; background: #fff; border: 1px solid var(--line); }
.external-x-stage { max-width: 550px; }
.external-youtube-stage { height: auto; aspect-ratio: 16 / 9; background: #111; border: 0; }
.external-youtube-stage.external-video-compact { aspect-ratio: auto; }
.external-post-stage::before { display: none; }
.external-post-play-label { position: absolute; right: 10px; top: 10px; padding: 4px 7px; border-radius: 5px; background: #edf5efdd; color: var(--teal); font-size: 10px; pointer-events: none; }
.external-post-play-label[hidden] { display: none; }
.external-video-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.external-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; color: var(--muted); background: linear-gradient(145deg, #e8ede6, #f7f8f2); font-size: 12px; line-height: 1.6; text-align: center; }
.external-video-placeholder p { margin: 0; }
.external-video-compact { height: auto; }
.external-video-compact::before { display: none; }
.external-video-compact .external-video-placeholder { position: relative; inset: auto; flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 14px; text-align: left; }
.external-video-compact .external-video-placeholder p { flex: 1; min-width: 160px; overflow-wrap: anywhere; }
.external-video-compact .external-video-placeholder .button { flex: none; }
.external-video-play-label { position: absolute; left: 50%; top: calc((100% - 35px) / 2); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 12px 18px; border-radius: 14px; background: #142e28b3; color: #fff; text-shadow: 0 1px 3px #0008; pointer-events: none; }
.external-video-play-label[hidden] { display: none; }
.external-video-play-icon { width: 44px; height: 44px; }
.external-video-play-label strong { font-size: 12px; font-weight: 600; white-space: nowrap; }
.external-video-status { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.external-video-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.external-video-footer small { flex: 1; min-width: 180px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.external-video-footer .text-button { padding: 0; font-size: 12px; text-decoration: none; white-space: nowrap; }
.external-native-list { display: grid; gap: 12px; }
.external-native-stage { display: grid; height: auto; max-height: 70vh; background: #111; }
.external-native-stage::before { display: none; }
.external-native-video { display: block; width: 100%; height: 100%; min-height: 0; max-height: 70vh; object-fit: contain; background: #111; }
.external-native-label { position: absolute; right: 10px; top: 10px; padding: 4px 7px; border-radius: 5px; background: #142e28b3; color: #fff; font-size: 10px; pointer-events: none; }
.media-brand-watermark { pointer-events: none; user-select: none; font-weight: 600; letter-spacing: .04em; }
.external-native-label[hidden] { display: none; }
.external-native-sensitive { background: #edf1eb; }
.composer-type-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.composer-type { display: grid; grid-template-columns: 17px max-content minmax(32px, 1fr); grid-template-rows: 32px auto; align-items: center; column-gap: 7px; min-width: 0; padding: 9px 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.composer-type:has(input:checked) { border-color: #75b6a0; background: #edf7ef; }
.composer-type-control { display: contents; cursor: pointer; }
.composer-type input { grid-area: 1 / 1; width: 17px; height: 17px; margin: 0; accent-color: var(--deep); cursor: pointer; }
.composer-type strong { grid-area: 1 / 2; color: var(--ink); font-size: 14px; white-space: nowrap; }
.composer-type small { grid-column: 2 / -1; grid-row: 2; color: var(--muted); font-size: 12px; line-height: 1.5; }
.composer-type-info { grid-area: 1 / 3; justify-self: end; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.composer-type-info:hover { color: var(--deep); background: #4b756510; }
.composer-type-info > span { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; font: 700 12px/1 Georgia, serif; }
.post-type-details { display: grid; gap: 14px; margin: 0 0 22px; }
.post-type-details > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post-type-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.post-type-details dt { color: var(--deep); font-size: 14px; font-weight: 700; }
.post-type-details dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.paid-price-field small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.paid-price-field { display: grid; gap: 7px; max-width: 320px; color: var(--ink); font-size: 13px; }
.paid-price-field[hidden] { display: none; }
.paid-price-field input { font-size: 14px; }
.composer-label { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.character-count { text-align: right; color: var(--muted); font-size: 11px; margin: 3px 0 20px; }
.image-picker { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upload-label { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border: 1px dashed #98b6a9; border-radius: 12px; color: var(--teal); background: #f0f6ef; font-size: 11px; cursor: pointer; }
.upload-label > span { display: grid; justify-items: center; gap: 5px; }
.upload-label input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; padding: 0; cursor: pointer; }
.upload-label:focus-within { outline: 3px solid #75bfb7; outline-offset: 3px; }
.image-preview { position: relative; width: 96px; height: 96px; }
.image-preview img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.image-remove { position: absolute; top: 3px; right: 3px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #193737d9; color: white; font-size: 17px; }
.composer-footer { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.publish-heading { align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.publish-heading > div:first-child { flex: 1 1 260px; }
.publish-heading .post-availability { flex: 0 1 270px; max-width: 270px; gap: 3px 8px; margin: 0; padding: 8px 12px; border: 0; background: var(--accent-soft); font-size: 12px; }
.publish-heading .post-availability strong { font-size: 13px; }
.publish-heading .post-availability.waiting { background: #fff3d9; }
.publish-card .composer-label { margin-bottom: 18px; }
.publish-card .composer-options { padding: 0; margin: 0 0 20px; border: 0; background: transparent; }
.publish-card .composer-options legend { margin-bottom: 8px; padding: 0; }
.publish-card .post-link-fields textarea { border: 1px solid var(--line); }
.composer-section { margin-top: 18px; }
.composer-section-title { display: block; margin: 0 0 9px; color: var(--deep); font-size: 14px; font-weight: 700; }
.composer-body { padding: 3px 12px 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.composer-body:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #4b75651c; }
.publish-card .composer-text { display: block; min-height: 130px; padding: 8px 0; font-size: 15px; resize: vertical; box-shadow: none; }
.publish-card .character-count { margin: 0; font-variant-numeric: tabular-nums; }
.publish-card .image-picker { gap: 8px; }
.publish-card .image-preview, .publish-card .upload-label { width: clamp(54px, 18vw, 88px); height: clamp(54px, 18vw, 88px); }
.composer-media-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.publish-card .composer-footer { margin-top: 20px; padding-top: 16px; gap: 12px; }
.composer-privacy-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.subtle-note { padding: 17px 2px; color: var(--muted); font-size: 12px; }
.profile-head { margin-bottom: 25px; flex-wrap: wrap; align-items: flex-start; }
.profile-copy { flex: 1 1 150px; min-width: 0; }
.profile-social-summary { display: flex; align-items: center; gap: 9px; flex: 0 1 230px; min-width: 0; max-width: min(326px, 100%); padding: 1px 0; color: inherit; text-decoration: none; }
a.profile-social-summary:hover strong { color: var(--teal); }
a.profile-social-summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 5px; }
.profile-social-summary-copy { display: grid; gap: 1px; flex: 1; min-width: 0; line-height: 1.45; }
.profile-social-summary-copy strong { font-size: 13px; overflow-wrap: anywhere; }
.profile-social-summary-copy small { min-width: 0; color: var(--muted); font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.profile-social-summary-copy .profile-social-summary-meta { white-space: normal; overflow-wrap: anywhere; }
.profile-head + .profile-social-result { margin: -10px 0 18px; padding: 0; }
.profile-head h2 { margin: 0 0 3px; font-size: 23px; overflow-wrap: anywhere; }
.profile-head p { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.profile-settings-entry { flex: none; margin-left: auto; color: var(--teal); }
.profile-settings-entry .icon { width: 20px; height: 20px; }
.profile-info-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-info-row .self-profile-details { flex: 1 1 160px; min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-head .profile-registration-id { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; max-width: 100%; margin-top: 7px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-registration-id span { min-width: 0; max-width: 100%; }
.profile-introduction { display: grid; justify-items: start; gap: 8px; min-width: 0; margin-top: 10px; }
.profile-introduction-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; width: 100%; min-width: 0; }
.profile-introduction-actions > .button { flex: none; }
.profile-head .profile-bio { max-width: 100%; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-identity-below { display: grid; gap: 5px; margin: -5px 0 19px; padding-top: 13px; border-top: 1px solid var(--line); }
.profile-identity-below .identity-box { gap: 8px; padding: 10px 12px; border-radius: 10px; }
.profile-identity-below .identity-box > .row { justify-content: space-between; }
.profile-identity-below .identity-box .subtle-note { display: none; }
.profile-identity-below .identity-box .identity-facts { gap: 5px; }
.profile-identity-below .identity-box .identity-facts span { padding: 3px 8px; font-size: 11px; }
.profile-identity-below .identity-box .icon { width: 17px; height: 17px; }
.profile-identity-inline { display: grid; gap: 5px; flex: 1 1 245px; min-width: 0; max-width: 350px; margin-left: auto; padding: 0 16px; }
.profile-identity-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.profile-identity-inline .identity-box { gap: 8px; padding: 9px 11px; border-radius: 10px; }
.profile-identity-inline .identity-box > .row { justify-content: space-between; }
.profile-identity-inline .identity-box .subtle-note { display: none; }
.profile-identity-inline .identity-box .identity-facts { gap: 5px; }
.profile-identity-inline .identity-box .identity-facts span { padding: 2px 7px; font-size: 11px; }
.profile-identity-inline .identity-box .icon { width: 16px; height: 16px; }
.profile-balance { display: grid; flex: none; gap: 3px; max-width: 100%; margin-left: auto; padding: 11px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--deep); text-align: right; }
.profile-balance > span { font-size: 12px; color: var(--muted); }
.profile-balance-amount { font-size: 26px; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-wallet-entry { min-width: 0; flex: 0 1 auto; border: 1px solid transparent; }
.profile-wallet-entry:hover { border-color: #d8cab0; background: #f1e6d2; }
.profile-wallet-entry:focus-visible { outline: 3px solid #75bfb7; outline-offset: 4px; }
.profile-wallet-entry .profile-balance-amount { white-space: normal; overflow-wrap: anywhere; }
.profile-wallet-label { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.profile-wallet-label .icon { width: 14px; height: 14px; color: var(--teal); }
.profile-wallet-entry.has-pending-revenue { border-color: #dbc394; }
.profile-wallet-entry .profile-wallet-claim { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 3px; padding: 3px 6px; border-radius: 7px; background: #ecdab5; color: #67441c; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.profile-wallet-claim .icon { width: 14px; height: 14px; flex: none; }
.profile-wallet-claim b { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wallet-page { min-width: 0; color: var(--deep); }
.main-column:has(> .wallet-page) > .mobile-brand { display: none; }
.wallet-page .wallet-heading { align-items: center; margin-bottom: 24px; gap: 16px; }
.wallet-heading-title { display: flex; align-items: center; min-width: 0; gap: 20px; }
.wallet-brand { position: relative; flex: none; font: 700 38px/1 Georgia, "Times New Roman", serif; letter-spacing: -2px; }
.wallet-brand::after { content: ""; position: absolute; left: 31px; top: -6px; width: 6px; height: 12px; border-radius: 90% 0 90% 0; background: var(--teal); transform: rotate(15deg); }
.wallet-page .wallet-heading h1 { margin: 0; padding-left: 20px; border-left: 1px solid #a5b8ab; color: var(--deep); font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 27px; letter-spacing: -.5px; }
.wallet-page .wallet-heading .button { min-height: 44px; padding: 6px 12px; gap: 3px; border-color: #a5b8ab; border-radius: 99px; background: transparent; font-size: 12px; font-weight: 500; }
.wallet-heading .button .icon { width: 14px; height: 14px; }
.wallet-page .wallet-balance-card { min-width: 0; padding: 0; overflow: hidden; border-color: #cad7c8; border-radius: 18px; background: #f9f9f2; box-shadow: 0 5px 14px #354b3912; }
.wallet-balance-hero { position: relative; isolation: isolate; min-height: 172px; padding: 27px 122px 26px 28px; overflow: hidden; background: radial-gradient(ellipse at 71% 0%, #8c9e84aa, transparent 69%), linear-gradient(115deg, #3f6055, #536d5e); }
.wallet-balance-hero::before, .wallet-balance-hero::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border: 1px solid #d0d7b840; border-radius: 50%; right: -34px; top: 17px; }
.wallet-balance-hero::after { width: 244px; height: 244px; right: -28px; top: 1px; border-color: #d0d7b829; }
.wallet-balance-label { display: flex; align-items: center; gap: 9px; color: #f4f4e7; font-size: 13px; letter-spacing: .5px; }
.wallet-balance-label::before { content: ""; width: 14px; height: 1px; background: #b7c4b3; }
.wallet-balance-amount { display: block; margin: 5px 0 0; color: #fffdf3; font: 500 clamp(38px, 5.3vw, 64px)/1.2 Georgia, "Times New Roman", serif; font-variant-numeric: tabular-nums; letter-spacing: .5px; overflow-wrap: anywhere; }
.wallet-balance-decoration { position: absolute; right: 52px; top: 57px; color: #e8dfbe; }
.wallet-balance-decoration .icon { width: 58px; height: 58px; stroke-width: 1.25; }
.wallet-balance-long .wallet-balance-hero { padding-right: 28px; }
.wallet-balance-long .wallet-balance-decoration { display: none; }
.wallet-balance-long .wallet-balance-amount { font-size: clamp(24px, 3.6vw, 42px); }
.wallet-page .wallet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 20px 10px; border-top: 0; background: linear-gradient(110deg, #f0f3e9, #faf9f4); }
.wallet-page .wallet-action { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 48px; padding: 0 20px; border: 0; border-radius: 0; background: transparent; color: var(--deep); text-align: left; }
.wallet-action + .wallet-action { border-left: 1px solid #d6ddd1; }
.wallet-action:disabled { cursor: default; opacity: 1; }
.wallet-page .wallet-action-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; background: #dfe8dc; color: var(--deep); }
.wallet-action-icon .icon { width: 21px; height: 21px; }
.wallet-action-copy { display: grid; gap: 2px; min-width: 0; }
.wallet-action-copy strong { font-size: 16px; font-weight: 500; }
.wallet-page .wallet-action-copy small { color: #8a9287; font-size: 12px; }
.wallet-action-chevron { margin-left: auto; color: #7d9985; }
.wallet-action-chevron .icon { width: 14px; height: 14px; stroke-width: 1.5; }
.wallet-page .wallet-admin-review { padding: 0 30px 16px; text-align: right; }
.wallet-admin-review .text-button { font-size: 12px; }
.wallet-page .earnings-card { margin-top: 18px; padding: 22px; border-radius: 18px; background: linear-gradient(125deg, #fffdf8, #fbf9f3); box-shadow: 0 5px 14px #354b390d; }
.wallet-page .earnings-card > .section-title:first-child { align-items: baseline; margin: 0 0 20px; }
.wallet-page .earnings-card > .section-title:first-child h2 { position: relative; color: var(--deep); font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 23px; }
.wallet-page .earnings-card > .section-title:first-child h2::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 22px; height: 2px; background: #dbbd85; }
.wallet-page .earnings-card > .section-title:first-child small { color: #8a9287; font-size: 11px; }
.wallet-page .earnings-pool { display: block; padding: 17px 16px; border-color: #e4ecdf; border-radius: 16px; background: linear-gradient(110deg, #edf3e8, #f1f4eb); overflow: hidden; }
.wallet-page .earnings-pool-summary { position: relative; isolation: isolate; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 16px; }
.wallet-page .earnings-pool-summary > div { position: relative; flex: 1; }
.wallet-page .earnings-pool-summary > div > span, .wallet-page .earnings-pool-summary > div > small { color: var(--deep); font-size: 12px; }
.wallet-page .earnings-pool-summary > div > strong { font-size: 33px; line-height: 1.25; font-weight: 600; }
.wallet-page .earnings-summary-icon, .earnings-category-icon, .earnings-log-icon { display: grid; place-items: center; flex: none; background: #e0eadd; color: #567e67; }
.wallet-page .earnings-summary-icon { width: 40px; height: 40px; border-radius: 50%; }
.earnings-summary-icon .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.earnings-pool-decoration { position: absolute; z-index: -1; right: -25px; top: -28px; color: #dfe8d766; transform: rotate(12deg); pointer-events: none; }
.earnings-pool-decoration .icon { width: 150px; height: 150px; stroke-width: .75; }
.wallet-page .earnings-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 23px 0; }
.wallet-page .earnings-category { display: flex; align-items: flex-start; gap: 13px; padding: 0 15px; border: 0; border-radius: 0; background: transparent; }
.wallet-page .earnings-category:first-child { padding-left: 12px; }
.wallet-page .earnings-category:last-child { padding-right: 0; }
.wallet-page .earnings-category + .earnings-category { border-left: 1px solid #e2dfd3; }
.earnings-category-icon { width: 38px; height: 38px; border-radius: 50%; }
.earnings-category-icon .icon { width: 20px; height: 20px; stroke-width: 1.6; }
.earnings-category-copy { display: grid; gap: 2px; min-width: 0; }
.wallet-page .earnings-category-copy > span, .wallet-page .earnings-category-copy > small { color: var(--deep); font-size: 11px; }
.wallet-page .earnings-category-copy > strong { font-size: 25px; line-height: 1.25; font-weight: 500; }
.wallet-page .earnings-subheading { margin-top: 18px; }
.wallet-page .claim-list { margin-bottom: 20px; }
.wallet-page .revenue-log-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 11px 16px; border: 1px solid #e3dfd3; border-radius: 15px; background: #f9f7f0; color: var(--deep); text-align: left; }
.wallet-page .revenue-log-toggle:hover { background: #f0f3e9; }
.earnings-log-label, .earnings-log-state { display: flex; align-items: center; gap: 12px; }
.earnings-log-label { font-size: 14px; }
.earnings-log-icon { width: 26px; height: 26px; border-radius: 50%; }
.earnings-log-icon .icon { width: 17px; height: 17px; stroke-width: 1.5; }
.earnings-log-state { gap: 7px; color: var(--teal); font-size: 11px; }
.earnings-log-state .icon { width: 13px; height: 13px; stroke-width: 1.5; }
.revenue-log-toggle[aria-expanded="true"] .earnings-log-state .icon { transform: rotate(180deg); }
.wallet-page .revenue-log-list:not([hidden]) { padding-top: 10px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 13px; }
.section-title h2 { margin: 0; font-size: 17px; }
.profile-switch { margin-top: 26px; }
.profile-refresh { width: 32px; height: 32px; }
.profile-refresh .icon { width: 18px; height: 18px; }
.favorites-loading { padding: 36px 12px; color: var(--muted); font-size: 13px; text-align: center; }
.stats { display: flex; gap: 30px; padding: 21px 0 0; margin-top: 21px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.3; }
.stat span { font-size: 11px; color: var(--muted); }
.profile-stats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px 8px; margin-top: 14px; padding-top: 12px; }
.profile-stats .stat { grid-column: span 2; min-width: 0; }
.profile-stats .stat strong { font-size: 20px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.profile-stats .stat span { display: block; }
.profile-stats .stat-tip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 6px; grid-column: span 5; }
.profile-stats .stat-tip small { color: var(--muted); font-size: 10px; }
.stat-link { padding: 0; background: transparent; color: var(--ink); text-align: left; border-radius: 6px; }
.stat-link:hover strong { color: var(--teal); }
.stat-link:focus-visible { outline: 3px solid #75bfb7; outline-offset: 5px; }
.profile-view-heading .button { flex: none; }
.avatar-crop-editor { display: grid; justify-items: center; gap: 8px; margin-top: 10px; padding: 14px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: #f7faf8; }
.avatar-crop-frame { position: relative; width: min(240px, 72vw); aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid var(--teal); border-radius: 50%; background: #dfeae3; cursor: grab; touch-action: none; user-select: none; }
.avatar-crop-frame:active { cursor: grabbing; }
.avatar-crop-frame::after { content: ""; position: absolute; inset: 0; border: 2px solid #fff9; border-radius: 50%; pointer-events: none; }
.avatar-crop-image { position: absolute; top: 0; left: 0; display: block; max-width: none; pointer-events: none; user-select: none; }
.avatar-crop-help { margin: 0; color: var(--muted); font-size: 11px; text-align: center; }

/* Instagram-style summary grid for the profile's own posts. Keep the tile
   square and let the renderer opt into the sensitive/person variants below. */
.profile-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 2px;
}
.profile-post-grid > * { min-width: 0; }
.profile-post-tile,
.profile-post-grid .grid-tile {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--soft);
  color: #fff;
  isolation: isolate;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.profile-post-tile:hover,
.profile-post-grid .grid-tile:hover {
  border-color: #aecabd;
  box-shadow: 0 5px 14px #19373724;
  transform: translateY(-1px);
}
.profile-post-tile:focus-visible,
.profile-post-grid .grid-tile:focus-visible {
  border-color: var(--teal);
  outline: 3px solid #75bfb766;
  outline-offset: 2px;
}
.profile-post-tile-layer {
  position: absolute;
  inset: 0;
  display: block;
}
.profile-post-tile-media,
.profile-post-tile > img,
.profile-post-tile .grid-tile-media,
.profile-post-grid .grid-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: #dfeae3;
  transition: transform .2s ease, filter .2s ease;
}
.profile-post-tile:hover .profile-post-tile-media,
.profile-post-tile:hover > img,
.profile-post-grid .grid-tile:hover .grid-tile-media,
.profile-post-grid .grid-tile:hover > img {
  transform: scale(1.035);
}
/* A renderer can mark a portrait/face focal point when the source contains a
   person. This keeps the default crop slightly above centre while preserving
   the normal centre crop for landscapes and artwork. */
.profile-post-tile.is-portrait .profile-post-tile-media,
.profile-post-tile[data-subject="person"] .profile-post-tile-media,
.profile-post-tile[data-focal="face"] .profile-post-tile-media,
.profile-post-grid .grid-tile.is-portrait .grid-tile-media,
.profile-post-grid .grid-tile[data-subject="person"] .grid-tile-media,
.profile-post-grid .grid-tile[data-focal="face"] .grid-tile-media {
  object-position: 50% 34%;
}
.profile-post-tile-placeholder,
.profile-post-tile-text,
.profile-post-grid .grid-tile-placeholder,
.profile-post-grid .grid-tile-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #e4f0e8, #cbded4);
  color: var(--deep);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}
.profile-post-tile-placeholder > *,
.profile-post-tile-text > *,
.profile-post-grid .grid-tile-placeholder > *,
.profile-post-grid .grid-tile-text > * { max-height: 100%; overflow: hidden; }
.profile-post-tile-overlay,
.profile-post-tile-stats,
.profile-post-grid .grid-tile-overlay,
.profile-post-grid .grid-tile-stats {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 17px 9px 7px;
  background: linear-gradient(transparent, #19312acc);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px #071813aa;
}
.profile-post-tile-stat,
.profile-post-tile-stats > span,
.profile-post-grid .grid-tile-stat,
.profile-post-grid .grid-tile-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.profile-post-status {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  max-width: calc(100% - 14px);
  padding: 4px 7px;
  border: 1px solid #fff8;
  border-radius: 99px;
  background: #193737b8;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.profile-post-status.pending-badge { margin-left: 0; }
.profile-post-tile-stat .icon,
.profile-post-tile-stats .icon,
.profile-post-grid .grid-tile-stat .icon,
.profile-post-grid .grid-tile-stats .icon { width: 14px; height: 14px; }
.profile-post-tile-stack,
.profile-post-tile .stack-badge,
.profile-post-grid .grid-tile-stack,
.profile-post-grid .grid-tile .stack-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #fff8;
  border-radius: 99px;
  background: #193737b8;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.profile-post-tile-sensitive,
.profile-post-tile-sensitive::after,
.profile-post-grid .grid-tile-sensitive {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #24332f66;
  color: #fff;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}
.profile-post-tile-sensitive::after { content: ""; display: none; }
.profile-post-tile.is-sensitive .profile-post-tile-media,
.profile-post-tile.sensitive .profile-post-tile-media,
.profile-post-tile[data-sensitive="true"] .profile-post-tile-media,
.profile-post-grid .grid-tile.is-sensitive .grid-tile-media,
.profile-post-grid .grid-tile[data-sensitive="true"] .grid-tile-media {
  filter: blur(14px);
  transform: scale(1.08);
}
.profile-post-tile.is-sensitive::after,
.profile-post-tile.sensitive::after,
.profile-post-tile[data-sensitive="true"]::after,
.profile-post-grid .grid-tile.is-sensitive::after,
.profile-post-grid .grid-tile[data-sensitive="true"]::after {
  content: "敏感内容";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #24332f66;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 2px #071813aa;
  pointer-events: none;
}
.profile-post-tile.is-sensitive .profile-post-tile-stats,
.profile-post-tile.sensitive .profile-post-tile-stats,
.profile-post-tile[data-sensitive="true"] .profile-post-tile-stats,
.profile-post-grid .grid-tile.is-sensitive .grid-tile-stats,
.profile-post-grid .grid-tile[data-sensitive="true"] .grid-tile-stats { z-index: 2; }
.account-summary-card { margin-bottom: 18px; }
.account-id-list { display: grid; gap: 0; }
.account-id-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.account-id-row:first-child { padding-top: 0; }
.account-id-row:last-child { padding-bottom: 0; border-bottom: 0; }
.account-id-row span { color: var(--muted); }
.account-id-row strong { max-width: 70%; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; text-align: right; }
.account-custom-id-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; }
.account-custom-id-value { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.account-custom-id-value strong { min-width: 0; max-width: 100%; }
.account-custom-id-value button { flex: 0 0 auto; }
.account-custom-id-value button:disabled { color: var(--muted); cursor: default; opacity: .6; }
.account-custom-id-note { grid-column: 1 / -1; color: var(--muted); line-height: 1.6; }
.external-social-card { margin-bottom: 18px; }
.external-social-note { margin: -3px 0 12px; padding: 0; }
.external-social-profile, .external-social-empty { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px 0; }
.external-social-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #1f2927; color: #fff; font-size: 19px; line-height: 1; }
.external-social-copy, .external-social-empty > div { display: grid; min-width: 0; gap: 2px; flex: 1; }
.external-social-copy strong, .external-social-empty strong { overflow-wrap: anywhere; }
.external-social-copy small, .external-social-empty small { color: var(--muted); font-size: 11px; }
.external-social-profile .tag { flex: none; }
.external-social-empty .button { flex: none; }
.external-social-link { display: inline-flex; margin: 3px 0 0 45px; }
.external-social-manage { margin-top: 2px; }
.external-social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.external-social-actions .button { max-width: 100%; white-space: normal; }
.external-social-actions .text-button { font-size: 12px; }
.external-social-result { margin: 12px 0 0; overflow-wrap: anywhere; }
.external-social-sync { overflow-wrap: anywhere; }
[data-action="begin-external-profile"]:disabled { cursor: not-allowed; }
.external-social-modal-profile { display: grid; gap: 4px; margin: 10px 0; padding: 14px; border-radius: 10px; background: var(--soft); }
.external-social-modal-profile span { color: var(--muted); font-size: 12px; }
.external-social-placeholder { margin: 12px 0 0; }
.following-person .post-person { min-width: 0; }
.following-person .post-person strong, .following-person .post-person small { overflow-wrap: anywhere; }
.following-person .post-person small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.following-person > button { flex: none; }
.follower-person { gap: 10px; padding: 10px 0; }
.profile-person-name { max-width: 100%; padding: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; overflow-wrap: anywhere; }
.profile-person-name:hover { color: var(--teal); }
.profile-person-name:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.fixed-follow { flex: none; white-space: nowrap; color: var(--deep); background: var(--soft); border-color: #cfe5d6; font-size: 11px; }
.fixed-follow-note { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.settings-row { padding: 15px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.settings-row:first-child { padding-top: 0; }
.settings-row:last-child { border-bottom: 0; padding-bottom: 0; }
.settings-row strong { font-size: 13px; }
.settings-row small { display: block; font-size: 11px; }
.people-list { display: grid; gap: 16px; }
.admin-page-heading > div:first-child { min-width: 0; }
.admin-heading-tools { display: flex; align-items: center; gap: 10px; flex: none; margin-top: 14px; }
.admin-heading-tools .icon-button { margin-top: 0; }
.admin-online { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.3; }
.admin-online span { color: var(--muted); font-size: 11px; }
.admin-online strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--deep); font-size: 25px; font-variant-numeric: tabular-nums; }
.admin-online small { grid-column: 1; font-size: 10px; white-space: nowrap; }
.admin-stat-ticker { width: 164px; height: 34px; padding-left: 12px; border-left: 1px solid var(--line); overflow: hidden; border-radius: 0; }
.admin-stat-track { animation: admin-stats-scroll 10s ease-in-out infinite; }
.admin-stat-ticker .admin-online { height: 34px; padding: 0; border: 0; }
.admin-stat-ticker:hover .admin-stat-track, .admin-stat-ticker:focus .admin-stat-track { animation-play-state: paused; }
@keyframes admin-stats-scroll { 0%, 44% { transform: translateY(0); } 50%, 94% { transform: translateY(-34px); } 100% { transform: translateY(-68px); } }
@media (prefers-reduced-motion: reduce) { .admin-stat-track { animation: none; } .admin-stat-ticker { height: 68px; } .admin-stat-track > :last-child { display: none; } }
.email-code-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.email-code-row input { flex: 1; min-width: 0; }
.email-code-row .button { flex: none; min-width: 100px; padding-inline: 10px; font-size: 12px; }
.auth-recovery-link { display: block; margin: 12px auto 0; color: var(--teal); }
.auth-registration-methods { display: flex; gap: 14px; margin: 0 0 16px; font-size: 12px; }
.auth-registration-methods button { padding: 0; background: transparent; color: var(--muted); }
.auth-registration-methods button.active { color: var(--deep); font-weight: 600; }
.email-service-note { padding: 8px 10px; border-radius: 8px; background: var(--soft); font-size: 12px; color: var(--muted); }
.live-lobby-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #eef4ee; margin-bottom: 20px; }
.live-lobby-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.live-lobby-actions .button:disabled { background: #e0e4e2; color: #87918b; box-shadow: none; opacity: 1; cursor: not-allowed; }
[data-live-create-form] { display: grid; gap: 14px; }
[data-live-source-field][hidden] { display: none; }
.live-source-controls { padding: 12px; border-radius: 12px; background: var(--soft); margin-bottom: 10px; }
.live-source-name { display: flex; gap: 7px; align-items: center; min-width: 0; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.live-source-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-source-name .icon { flex: none; }
.live-source-playback { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.live-source-playback input[type="range"] { flex: 1; min-width: 80px; width: auto; padding: 0; accent-color: var(--teal); }
.live-source-playback [data-live-progress] { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.live-page-heading > div { min-width: 0; }
.live-page-heading h1, .live-room-card strong { overflow-wrap: anywhere; }
.live-page-heading > button { flex-shrink: 0; }
.live-lobby-intro h2 { margin: 14px 0 8px; font-size: 22px; }
.live-room-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.live-room-card { display: flex; flex-direction: column; gap: 8px; text-align: left; background: var(--paper); color: var(--deep); }
.live-room-card > span { font-size: 12px; color: var(--muted); }
.live-room-cover { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 130px; padding: 20px; border-radius: 12px; background: #e2ede5; margin-bottom: 6px; }
.live-room-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 16px; align-items: start; }
.live-player-column { min-width: 0; }
.live-video-shell { position: relative; overflow: hidden; border-radius: 16px; background: #152d27; aspect-ratio: 4/3; }
.live-video-shell video { width: 100%; height: 100%; display: block; object-fit: contain; }
.live-connection-label { position: absolute; left: 12px; top: 12px; padding: 6px 10px; background: #0d251dcc; border-radius: 20px; font-size: 12px; color: #fff; pointer-events: none; }
.live-room-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.live-chat { padding: 16px; min-width: 0; }
.live-chat-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.live-chat-heading h2 { font-size: 16px; margin: 0; }
.live-chat-heading > span { font-size: 11px; color: var(--muted); }
.live-chat-scroll { height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.live-chat-message { display: grid; gap: 4px; font-size: 13px; margin: 0 0 12px; overflow-wrap: anywhere; }
.live-chat-message strong { font-size: 11px; color: var(--teal); }
.live-chat-message span { white-space: pre-wrap; }
.live-chat-empty { font-size: 12px; }
.live-chat-form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.live-chat-form .form-error { flex-basis: 100%; margin: 0; }
.live-chat-form input { flex: 1; min-width: 0; }
.live-chat-form .button { padding-inline: 12px; flex: none; }
@media(max-width:900px) { .live-room-layout { grid-template-columns: minmax(0,1fr); } .live-chat-scroll { height: 220px; } }
@media(max-width:600px) { .live-lobby-intro { padding: 16px; align-items: flex-start; flex-direction: column; gap: 12px; } .live-lobby-intro h2 { font-size: 20px; } .live-room-grid { grid-template-columns: minmax(0,1fr); } .live-room-controls .button { min-height: 44px; } .live-video-shell { aspect-ratio: 3/4; } }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.admin-tabs button { padding: 8px 14px; background: transparent; color: var(--muted); font-size: 13px; }
.admin-tabs button.active { background: #dceee6; color: var(--deep); font-weight: 600; }
.app-layout.finance-layout { grid-template-columns: 210px minmax(0, 1fr); max-width: 1640px; gap: 30px; padding-inline: 24px; }
.admin-finance-notice { margin-bottom: 12px; padding: 12px 16px; }
.admin-finance-notice p { margin: 5px 0 0; }
.admin-finance-summary { display: grid; gap: 12px; margin-bottom: 18px; }
.admin-finance-cash, .admin-finance-coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-finance-coins { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-finance-stat { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; }
.admin-finance-stat span, .admin-finance-stat small { display: block; color: var(--muted); font-size: 11px; }
.admin-finance-stat strong { display: block; margin: 5px 0 2px; color: var(--deep); font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-finance-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 12px; }
.admin-finance-filters { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.admin-finance-filters button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: 12px; }
.admin-finance-filters button.active { border-color: #9fc5b8; background: #dceee6; color: var(--deep); font-weight: 600; }
.admin-finance-list { display: grid; gap: 8px; }
.admin-finance-list > .section-title { margin-bottom: 2px; }
.admin-finance-entry { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-width: 0; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fffdf8; }
.admin-finance-entry-main { min-width: 0; }
.admin-finance-entry-main p { margin: 5px 0 2px; font-size: 13px; overflow-wrap: anywhere; }
.admin-finance-entry-main small { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-finance-amount { flex: none; color: #39745a; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; }
.admin-finance-amount.negative { color: #a95d55; }
.admin-finance-amount small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 400; }
.admin-finance-table-wrap { min-width: 0; max-height: 65vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; scrollbar-width: thin; }
.admin-finance-table { width: 100%; min-width: 1040px; border-collapse: collapse; table-layout: fixed; }
.admin-finance-table th { position: sticky; top: 0; z-index: 1; padding: 11px 10px; border-bottom: 1px solid var(--line); background: #f4f4ed; color: var(--muted); font-size: 11px; font-weight: 600; text-align: left; white-space: nowrap; }
.admin-finance-table th:nth-child(1) { width: 144px; }
.admin-finance-table th:nth-child(2) { width: 150px; }
.admin-finance-table th:nth-child(3) { width: 95px; }
.admin-finance-table th:nth-child(4) { width: 122px; }
.admin-finance-table th:nth-child(5) { width: 104px; }
.admin-finance-table th:nth-child(6) { width: 85px; }
.admin-finance-table th:nth-child(7) { width: 78px; }
.admin-finance-table td { padding: 10px; border-bottom: 1px solid #eee9df; color: var(--deep); font-size: 12px; vertical-align: middle; overflow-wrap: anywhere; }
.admin-finance-table time { font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-finance-table th button { padding: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; }
.admin-finance-table [hidden] { display: none !important; }
.admin-finance-table tbody tr:last-child td { border-bottom: 0; }
.admin-finance-table tbody tr:hover { background: #fbfaf4; }
.admin-finance-user, .admin-finance-type, .admin-finance-detail { display: grid; gap: 3px; min-width: 0; }
.admin-finance-user strong, .admin-finance-type strong { font-size: 12px; font-weight: 600; }
.admin-finance-user small, .admin-finance-detail small { color: var(--muted); font-size: 10px; }
.admin-finance-flow { display: grid; gap: 3px; }
.admin-finance-flow > span { color: var(--muted); font-size: 10px; }
.admin-finance-flow > strong { color: #39745a; font-size: 14px; font-variant-numeric: tabular-nums; }
.admin-finance-flow.negative > strong { color: #a95d55; }
.admin-finance-flow.summary-flow > strong { color: #687487; }
.admin-finance-flow strong small { margin-left: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.admin-finance-type > strong { color: var(--deep); }
.admin-finance-type > span { display: inline-flex; justify-self: start; padding: 3px 6px; border-radius: 5px; background: #edf2e9; color: #567e67; font-size: 10px; line-height: 1.3; }
.admin-finance-detail > span { line-height: 1.55; }
.admin-finance-detail > small { line-height: 1.45; }
.finance-cash-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0 3px; color: var(--muted); font-size: 11px; }
.finance-cash-strip b { margin-left: 6px; color: var(--deep); font-weight: 500; }
.finance-query-form { margin-bottom: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; }
.finance-query-grid { display: grid; grid-template-columns: 1.15fr 1.15fr 1.2fr 1fr 1fr; gap: 10px; }
.finance-query-grid label { display: grid; gap: 6px; min-width: 0; font-size: 11px; color: var(--muted); }
.finance-query-form input, .finance-query-form select { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--deep); font-size: 12px; }
.finance-query-advanced { margin-top: 12px; color: var(--muted); font-size: 11px; }
.finance-query-advanced summary { cursor: pointer; width: fit-content; }
.finance-query-extra { grid-template-columns: 1fr 1fr 2fr; margin-top: 12px; }
.finance-query-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.finance-query-totals { display: flex; flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--muted); }
.finance-query-totals > span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 20px; }
.finance-query-totals b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.finance-query-totals .positive { color: #39745a; }
.finance-query-totals .negative { color: #a95d55; }
.finance-query-actions { display: flex; gap: 6px; }
.finance-query-actions .button, .finance-pagination .button { padding: 7px 12px; font-size: 12px; }
.finance-query-form .form-error:empty { display: none; }
.finance-ledger-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.finance-ledger-heading h2 { margin: 0; font-size: 16px; }
.finance-ledger-heading small { color: var(--muted); font-size: 10px; }
.finance-type-tag { display: inline-block; padding: 3px 6px; border-radius: 5px; background: #edf2e9; color: #567e67; font-size: 11px; }
.finance-number { font-variant-numeric: tabular-nums; }
.finance-status { display: inline-block; padding: 3px 7px; border: 1px solid var(--line); border-radius: 20px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.finance-status-pending, .finance-status-disputed { background: #fff1d9; color: #996421; border-color: #eedbb8; }
.finance-status-claimed { background: #edf5ec; color: #39745a; }
.finance-row-detail { display: flex; align-items: center; gap: 8px; }
.finance-row-detail > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.finance-row-detail button { flex: none; padding: 4px; color: var(--deep); background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.finance-expanded { padding: 6px 8px 10px; }
.finance-expanded dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0; }
.finance-expanded dl > div { min-width: 0; }
.finance-expanded dt { margin-bottom: 4px; font-size: 10px; color: var(--muted); }
.finance-expanded dd { margin: 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.finance-detail-row td { background: #f5f6ef; }
.finance-splits { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.finance-splits > span { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.finance-splits strong { color: var(--deep); font-size: 13px; }
.finance-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px; padding: 14px 0; color: var(--muted); font-size: 11px; }
.finance-pagination > span { margin-right: auto; }
.finance-pagination label { margin: 0; white-space: nowrap; font-weight: 400; flex-shrink: 0; }
.finance-pagination label, .finance-pagination > div { display: flex; align-items: center; gap: 7px; }
.finance-pagination select { padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; color: var(--deep); font-size: 11px; }
.finance-accounting-note { margin-top: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 1100px) { .finance-query-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .finance-query-extra { grid-template-columns: 1fr 1fr; } .finance-query-extra label:last-child { grid-column: 1 / -1; } }
@media (max-width: 780px) { .app-layout.finance-layout { display: block; max-width: 720px; padding: 0; } }
.admin-item { padding: 18px; }
.admin-item p { font-size: 13px; margin-bottom: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-item .row { align-items: flex-start; }
.admin-item .item-actions { margin-top: 14px; }
.admin-post-heading { margin-top: 26px; }
.admin-post-toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.admin-post-toolbar .search-box { flex: 1; }
.admin-post-toolbar select { width: 145px; padding: 8px 10px; font-size: 13px; }
.admin-post-item { min-width: 0; }
.admin-post-item .post-meta { margin: 4px 0 10px; overflow-wrap: anywhere; }
.admin-post-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: -2px 0 10px; color: var(--muted); font-size: 12px; }
.admin-post-preview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.admin-post-preview p { margin: 0; }
.admin-post-preview img { width: 72px; height: 72px; object-fit: cover; background: var(--soft); }
.admin-post-media-grid { display: flex; flex-wrap: wrap; gap: 10px; max-width: min(100%, 420px); }
.admin-post-media-card { display: grid; gap: 5px; justify-items: stretch; width: 92px; min-width: 0; }
.admin-post-media-card .admin-post-media-image { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.admin-post-media-card .tiny { min-height: 28px; padding: 4px 6px; font-size: 11px; line-height: 1.15; white-space: normal; }
.admin-post-more { display: flex; margin: 18px auto 0; }
.inbox-heading { margin-bottom: 16px; }
.inbox-heading .inbox-actions { display: flex; align-items: center; gap: 8px; }
.inbox-heading .icon-button { margin-top: 0; }
.inbox-tools { display: flex; justify-content: flex-end; margin: -8px 0 8px; }
.information-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 2px 0 25px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.information-shortcut { display: grid; justify-items: center; gap: 10px; min-width: 0; padding: 8px 0; background: transparent; color: var(--ink); }
.information-shortcut-icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #e5eee9; color: #456e5e; }
.information-shortcut.follow .information-shortcut-icon { background: #f3e9d6; color: #937449; }
.information-shortcut.like .information-shortcut-icon { background: #f3e3e1; color: #a16b68; }
.information-shortcut.comment .information-shortcut-icon { background: #e0ecef; color: #527d86; }
.information-shortcut-icon .icon { width: 26px; height: 26px; }
.information-shortcut-label { font-size: 14px; font-weight: 500; white-space: nowrap; }
.information-shortcut-badge { position: absolute; top: -3px; right: -6px; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid var(--paper, #fff); border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.information-shortcut:hover .information-shortcut-icon { filter: brightness(.96); }
.information-shortcut:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 10px; }
.information-conversations .conversation-list { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.conversation-meta { display: flex; flex-direction: column; align-items: flex-end; align-self: stretch; justify-content: space-between; gap: 8px; flex: none; min-width: 40px; padding: 2px 0; }
.conversation-meta time { color: var(--muted); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.notification-list { border-top: 1px solid var(--line); }
.notification-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.notification-item.unread { background: #f1f7f1; box-shadow: inset 3px 0 0 var(--teal); }
.notification-symbol { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--soft); color: var(--deep); }
.notification-symbol.earnings { background: var(--accent-soft); color: #8a6838; }
.notification-symbol.social { background: #e6f1eb; color: #356c56; }
.notification-symbol .icon { width: 18px; height: 18px; }
.notification-content { min-width: 0; }
.notification-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; margin-bottom: 1px; color: var(--muted); font-size: 11px; }
.notification-meta time { font-variant-numeric: tabular-nums; }
.notification-content h2 { margin: 0 0 2px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.notification-content p { margin: 0 0 3px; color: var(--ink); font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-item-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.notification-read { padding: 2px 0; }
.button.notification-follow-button { min-height: 44px; padding: 7px 11px; }
.notification-follow-state { color: var(--muted); font-size: 12px; }
.notification-read-state { display: inline-block; margin-top: 0; }
.inbox-more { display: flex; margin: 18px auto 0; }
.conversation-detail-heading { align-items: center; margin: 18px 0 12px; }
.conversation-detail-heading h2 { margin: 0 0 2px; font-size: 18px; }
.conversation-list { display: grid; gap: 0; padding: 8px 18px; }
.conversation-list-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.conversation-list-item:last-child { border-bottom: 0; }
.conversation-list-item:hover, .conversation-list-item:focus-visible { background: var(--soft); }
.conversation-list-item.pinned { background: #f2faf6; }
.conversation-list-item.mutual { background: #fff4e8; border-left: 3px solid #d98b52; padding-left: 11px; }
.conversation-list-item.mutual:hover, .conversation-list-item.mutual:focus-visible { background: #ffeedc; }
.conversation-list-item.mutual .conversation-copy small { color: #a95f2a; font-weight: 700; }
.conversation-avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #dceee6; color: var(--deep); }
.conversation-avatar .avatar { width: 100%; height: 100%; }
.conversation-profile-link { padding: 0; }
.conversation-profile-link:hover { box-shadow: 0 0 0 3px var(--soft); }
.conversation-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }
.conversation-copy strong { display: flex; align-items: center; gap: 8px; min-width: 0; }
.conversation-copy .conversation-name { min-width: 0; color: var(--ink); font-size: inherit; }
.conversation-copy .conversation-role { flex: none; max-width: 45%; font-size: 10px; font-weight: 400; }
.conversation-copy strong, .conversation-copy small, .conversation-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy small { color: var(--muted); }
.conversation-copy span { color: var(--muted); font-size: 12px; }
.conversation-unread { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 11px; }
.conversation-thread { display: grid; gap: 14px; }
.conversation-thread-scroll { display: grid; gap: 10px; min-height: 200px; max-height: 56dvh; padding: 18px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: #f7faf8; }
.conversation-message { max-width: min(78%, 520px); padding: 10px 13px; border-radius: 13px; background: #fff; box-shadow: 0 1px 3px #1937370b; }
.conversation-message.mine { margin-left: auto; background: #dceee6; }
.conversation-message-meta { margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.conversation-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.conversation-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.conversation-compose textarea { min-height: 72px; }
.conversation-compose .form-error { grid-column: 1 / -1; }
.conversation-admin-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin: 0 0 18px; }
.conversation-admin-heading h2 { margin: 0 0 3px; }
.information-layout { grid-template-columns: 190px minmax(0, 1fr); max-width: 1440px; padding: 0 28px; gap: 28px; background: #faf7f0; }
.information-layout .sidebar { border-right: 1px solid #eae4d9; padding-right: 14px; }
.information-layout .nav-item.active { background: #edf1e6; box-shadow: inset 3px 0 0 #bfd4ba; }
.information-layout .main-column { padding: 20px 0 24px; }
.information-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; margin-bottom: 16px; }
.information-heading h1 { margin: 0; font-size: 28px; color: var(--deep); }
.information-heading .information-shortcuts { display: flex; gap: 18px; padding: 0; margin: 0; border: 0; }
.information-heading .information-shortcut { min-width: 76px; min-height: 64px; gap: 5px; padding: 2px 6px; }
.information-heading .information-shortcut-icon { width: 40px; height: 40px; border-radius: 16px; }
.information-heading .information-shortcut-icon .icon { width: 22px; height: 22px; }
.information-heading .information-shortcut-label { font-size: 12px; }
.information-layout .information-shortcut-badge, .information-layout .conversation-unread { background: #d65f50; }
.conversation-workspace { display: grid; grid-template-columns: minmax(270px, 32%) minmax(0, 1fr); height: clamp(490px, calc(100dvh - 140px), 880px); border: 1px solid #eae4d9; border-radius: 18px; background: #fffdf840; }
.conversation-list-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid #eae4d9; }
.conversation-list-tools { padding: 16px 14px 8px; }
.conversation-search-row { display: flex; align-items: center; gap: 2px; }
.conversation-search { display: flex; align-items: center; min-width: 0; flex: 1; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 24px; font-weight: 400; background: #fffdf8; }
.conversation-search > .icon { width: 18px; height: 18px; flex: none; color: var(--muted); }
.conversation-search input { border: 0; background: transparent; padding: 9px 0; min-height: 42px; font-size: 13px; box-shadow: none; }
.conversation-search:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.conversation-search-row > .icon-button { flex: none; color: var(--muted); }
.conversation-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.conversation-filters button { border-radius: 18px; background: #f0ede5; color: var(--muted); padding: 5px 12px; min-height: 34px; font-size: 12px; }
.conversation-filters button.active { background: var(--deep); color: var(--paper); }
.conversation-list-panel > .notice { margin: 8px 12px; padding: 10px; font-size: 12px; }
.information-conversations .conversation-list { display: block; overflow-y: auto; min-height: 0; padding: 0 8px 10px; }
.information-conversations .conversation-list-item { position: relative; gap: 10px; min-height: 72px; padding: 9px 10px; border-radius: 0; border-bottom: 1px solid #ece6da; border-left: 0; background: transparent; }
.information-conversations .conversation-list-item.selected { background: #eaf0e4; border-radius: 8px; }
.information-conversations .conversation-list-item:hover { background: #edf2e9; }
.information-conversations .conversation-list-item:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.conversation-workspace [hidden] { display: none; }
.conversation-workspace .conversation-avatar { width: 40px; height: 40px; }
.conversation-workspace .conversation-copy { display: block; line-height: 1.5; }
.conversation-workspace .conversation-copy strong { display: inline; }
.conversation-workspace .conversation-name { font-size: 16px; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
.conversation-workspace .conversation-role { display: inline-block; vertical-align: 2px; max-width: none; margin: 0 0 0 6px; padding: 1px 5px; border-radius: 4px; line-height: 1.6; font-size: 10px; font-weight: 400; white-space: nowrap; }
.conversation-workspace .conversation-role.support { background: #f2e6c9; color: #806238; }
.conversation-workspace .conversation-role.friend { background: #e0eee5; color: #3e6955; }
.conversation-workspace .conversation-copy .conversation-role.friend { color: #3e6955; font-weight: 400; }
.conversation-workspace .conversation-preview { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.conversation-workspace .conversation-meta { min-width: 32px; padding: 1px 0 0; }
.conversation-workspace .conversation-meta time { font-size: 11px; }
.conversation-workspace .conversation-unread { min-width: 19px; height: 19px; font-size: 10px; }
.conversation-list-empty { padding: 30px 14px; margin: 0; text-align: center; color: var(--muted); font-size: 14px; }
.conversation-chat-panel { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.conversation-chat-heading { display: flex; align-items: center; flex: none; gap: 12px; min-height: 80px; padding: 16px 24px; border-bottom: 1px solid #ece6da; }
.conversation-chat-name { display: flex; align-items: center; flex-wrap: wrap; flex: 1; min-width: 0; gap: 4px; }
.conversation-chat-name h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.conversation-encryption { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 260px; }
.conversation-encryption.encrypted { color: var(--teal); }
.conversation-encryption-icon { position: relative; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; isolation: isolate; }
.conversation-encryption-icon svg { width: 14px; height: 14px; position: relative; z-index: 1; }
.conversation-encryption.encrypted .conversation-encryption-icon { background: #4b756514; }
.conversation-encryption.encrypted .conversation-encryption-icon::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; background: radial-gradient(circle, #4b75652e 0, #4b756514 48%, transparent 72%); opacity: .45; z-index: -1; }
.conversation-encryption.encrypted .conversation-encryption-icon::after { content: ''; position: absolute; top: 1px; right: 0; width: 5px; height: 5px; border-radius: 50%; background: #5d9271; box-shadow: 0 0 0 2px var(--paper); z-index: 2; }
@keyframes conversation-encryption-halo { 0%, 100% { opacity: .25; transform: scale(.84); } 50% { opacity: .85; transform: scale(1.1); } }
@keyframes conversation-encryption-breathe { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.conversation-management-menu .conversation-clear { color: var(--danger); }
.conversation-back { display: none; }
.conversation-management { position: relative; flex: none; }
.conversation-management summary { display: grid; place-items: center; list-style: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); cursor: pointer; }
.conversation-management summary::-webkit-details-marker { display: none; }
.conversation-management-menu { position: absolute; top: 50px; right: 0; z-index: 5; display: grid; gap: 4px; width: 176px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #2f55471c; }
.conversation-management-menu strong { font-size: 13px; margin: 2px 8px 6px; }
.conversation-management-menu button { min-height: 42px; padding: 8px; text-align: left; background: transparent; color: var(--ink); font-size: 13px; }
.conversation-management-menu button:hover { background: var(--soft); }
.conversation-chat-placeholder { align-items: center; justify-content: center; gap: 10px; padding: 30px; color: var(--muted); }
.chat-placeholder-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 24px; background: #edf1e6; color: var(--teal); }
.chat-placeholder-icon .icon { width: 30px; height: 30px; }
.conversation-chat-placeholder h2 { margin: 10px 0 0; font-size: 18px; font-weight: 500; color: var(--deep); text-align: center; }
.conversation-chat-placeholder p { margin: 0; font-size: 13px; }
.conversation-chat-panel > .notice { margin: 10px 16px 0; font-size: 13px; }
.conversation-workspace .conversation-thread { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 0; }
.conversation-workspace .conversation-thread-scroll { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: none; gap: 24px; padding: 22px 24px; border: 0; border-radius: 0; background: transparent; overscroll-behavior: contain; }
.conversation-workspace .conversation-thread-scroll > .muted { margin: auto; font-size: 14px; }
.chat-message-row { display: flex; align-items: flex-end; gap: 12px; flex: none; max-width: 90%; }
.chat-message-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-message-avatar { flex: none; }
.chat-message-avatar .avatar { width: 34px; height: 34px; min-width: 34px; min-height: 34px; font-size: 13px; }
.chat-message-content { min-width: 0; }
.chat-message-time { display: block; margin: 0 5px 8px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chat-message-row.mine .chat-message-time { text-align: right; }
.chat-message-bubble { margin: 0; padding: 11px 15px; border-radius: 13px 13px 13px 3px; background: #f1ecdf; font-size: 15px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message-row.mine .chat-message-bubble { border-radius: 13px 13px 3px 13px; background: #e1ecdf; color: var(--deep); }
.conversation-workspace .conversation-compose { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; flex: none; gap: 8px; margin: 12px 16px 18px; padding: 7px 10px; border: 1px solid #e5ded2; border-radius: 26px; background: #fffdf8; }
.conversation-workspace .conversation-compose textarea { min-height: 44px; height: 44px; max-height: 120px; padding: 9px 4px; resize: none; border: 0; border-radius: 8px; background: transparent; font-size: 15px; line-height: 1.65; }
.conversation-workspace .conversation-compose .button { min-width: 76px; min-height: 42px; border-radius: 24px; font-size: 14px; }
.conversation-workspace .conversation-compose .form-error:empty { display: none; }
.conversation-workspace .conversation-compose .form-error { margin: 0; padding: 0 8px; }
.conversation-emoji { position: relative; }
.conversation-emoji > .icon-button { width: 44px; height: 44px; color: var(--muted); }
.conversation-emoji-picker { position: absolute; bottom: 54px; left: 0; z-index: 4; display: grid; grid-template-columns: repeat(6, 36px); gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 8px 24px #2f55471c; }
.conversation-emoji-picker button { width: 36px; height: 36px; padding: 2px; background: transparent; font-size: 22px; }
.conversation-emoji-picker button:hover { background: var(--soft); }
.conversation-workspace .conversation-compose-voice { grid-template-columns: 36px minmax(0, 1fr) 36px auto; }
.conversation-compose-voice .conversation-voice-trigger { width: 36px; height: 42px; color: var(--deep); }
.conversation-compose-voice .conversation-emoji > .icon-button { width: 36px; }
.conversation-compose-voice .form-error { grid-column: 1 / -1; }
.conversation-voice-draft { flex: none; margin: 8px 16px 0; padding: 12px; border: 1px solid #d2ddce; border-radius: 16px; background: #f0f5ed; }
.voice-draft-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.voice-draft-heading > span { display: inline-flex; align-items: center; gap: 7px; }
.voice-draft-heading .icon { width: 18px; height: 18px; }
.voice-draft-heading small { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.conversation-voice-draft audio { display: block; width: 100%; height: 40px; margin-top: 8px; }
.voice-draft-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 9px; }
.voice-draft-actions .button { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; }
.voice-draft-actions .button .icon { width: 15px; height: 15px; }
.voice-message { min-width: 142px; max-width: 100%; white-space: normal; }
.voice-message-play { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--deep); text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
.voice-message-play > .icon { width: 19px; height: 19px; flex: none; }
.voice-message-play > span:last-child { flex: none; }
.voice-wave { display: flex; align-items: center; gap: 3px; height: 25px; }
.voice-wave i { display: block; width: 3px; height: 11px; border-radius: 2px; background: currentColor; opacity: .62; }
.voice-wave i:nth-child(2n) { height: 21px; }
.voice-wave i:nth-child(3n) { height: 16px; }
.voice-message-play.playing .voice-wave { color: #428061; }
.voice-message-error { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
@media (max-width: 780px) {
  .conversation-workspace .conversation-compose-voice { grid-template-columns: 30px minmax(0, 1fr) 30px auto; }
  .conversation-compose-voice .conversation-voice-trigger, .conversation-compose-voice .conversation-emoji > .icon-button { width: 30px; }
  .conversation-workspace .conversation-compose-voice .button { min-width: 52px; padding-right: 12px; padding-left: 12px; }
  .conversation-voice-draft { margin-right: 8px; margin-left: 8px; }
}
@media (max-width: 1230px) and (min-width: 781px) {
  .app-layout.discovery-layout { grid-template-columns: 176px minmax(0, 1fr) 246px; padding: 0 22px; gap: 22px; }
  .discovery-layout .page-heading { display: block; }
  .discovery-layout .page-heading-actions { margin-top: 14px; align-items: center; justify-content: space-between; }
}
@media (max-width: 1050px) and (min-width: 781px) {
  .app-layout.discovery-layout { grid-template-columns: 72px minmax(0, 1fr) 224px; padding: 0 14px; gap: 16px; }
  .discovery-layout .sidebar-top { padding: 0; justify-content: center; }
  .discovery-layout .sidebar-top .brand > div, .discovery-layout .nav-item > span, .discovery-layout .side-bottom > p, .discovery-layout .side-bottom .author { display: none; }
  .discovery-layout .nav-item, .discovery-layout .side-bottom .row { justify-content: center; }
  .discovery-layout .side-bottom { padding-left: 0; padding-right: 0; }
  .information-layout { grid-template-columns: 160px minmax(0, 1fr); padding: 0 14px; gap: 16px; }
  .information-heading .information-shortcuts { gap: 6px; }
  .conversation-workspace { grid-template-columns: 270px minmax(0, 1fr); }
  .conversation-chat-heading { padding: 14px; }
  .conversation-workspace .conversation-thread-scroll { padding: 18px 14px; }
  .conversation-workspace .conversation-compose { margin: 10px; gap: 4px; }
}
@media (max-width: 780px) {
  .app-layout.discovery-layout { max-width: 600px; }
  .recommend-follow-rail { display: none; }
  .recommend-follow-card-mobile { display: block; margin: 0; }
  .recommend-follow-card-mobile .recommend-follow-item { padding-left: 14px; padding-right: 14px; }
  .information-layout { display: block; max-width: 600px; padding: 0; }
  .information-layout .main-column { padding: 18px 14px calc(95px + env(safe-area-inset-bottom, 0px)); }
  .information-layout .mobile-brand { margin-bottom: 18px; }
  .information-heading { display: block; margin-bottom: 16px; }
  .information-heading h1 { margin: 0 0 14px; font-size: 26px; }
  .information-heading .information-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .information-heading .information-shortcut { min-width: 0; min-height: 72px; gap: 6px; }
  .information-heading .information-shortcut-icon { width: 46px; height: 46px; border-radius: 18px; }
  .information-heading .information-shortcut-label { font-size: 13px; }
  .conversation-workspace { display: flex; flex-direction: column; height: auto; min-height: 320px; border-radius: 14px; }
  .conversation-list-panel { border-right: 0; }
  .conversation-list-tools { padding: 12px 10px 8px; }
  .conversation-filters button { min-height: 42px; font-size: 13px; padding: 6px 14px; }
  .conversation-search input { font-size: 16px; }
  .conversation-workspace .conversation-chat-panel { display: none; }
  .information-chat-open .main-column { padding: 10px 10px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .information-chat-open .mobile-brand, .information-chat-open .information-heading { display: none; }
  .conversation-workspace.has-active { height: calc(100dvh - 98px - env(safe-area-inset-bottom, 0px)); min-height: 280px; }
  .conversation-workspace.has-active .conversation-list-panel { display: none; }
  .conversation-workspace.has-active .conversation-chat-panel { display: flex; flex: 1; }
  .conversation-back { display: grid; flex: none; margin-left: -6px; }
  .conversation-chat-heading { display: grid; grid-template-columns: 32px 38px minmax(0, 1fr) 44px; min-height: 74px; padding: 12px; column-gap: 8px; row-gap: 3px; }
  .conversation-chat-heading .conversation-back { grid-column: 1; grid-row: 1 / span 2; }
  .conversation-chat-heading .conversation-avatar { grid-column: 2; grid-row: 1 / span 2; }
  .conversation-chat-heading .conversation-chat-name { grid-column: 3; grid-row: 1; }
  .conversation-chat-heading .conversation-encryption { grid-column: 3; grid-row: 2; justify-content: flex-start; font-size: 10px; }
  .conversation-encryption-icon { width: 20px; height: 20px; }
  .conversation-encryption-icon svg { width: 12px; height: 12px; }
  .conversation-chat-heading .conversation-management { grid-column: 4; grid-row: 1 / span 2; }
  .conversation-chat-name { gap: 2px; }
  .conversation-chat-name h2 { font-size: 17px; }
  .conversation-workspace .conversation-chat-heading .conversation-avatar { width: 38px; height: 38px; }
  .conversation-workspace .conversation-thread-scroll { padding: 16px 12px; gap: 18px; }
  .chat-message-row { gap: 8px; max-width: 94%; }
  .chat-message-bubble { font-size: 15px; padding: 10px 12px; }
  .conversation-workspace .conversation-compose { margin: 8px; padding: 5px 8px; gap: 3px; }
  .conversation-workspace .conversation-compose textarea { font-size: 16px; }
  .conversation-workspace .conversation-compose .button { min-width: 62px; }
}
.admin-controls { margin-top: 18px; }
.admin-controls .subtle-note { padding: 0 0 10px; }
.admin-conversation-list { margin-top: 4px; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form .full { grid-column: 1 / -1; }
.invite-code { font-size: 20px; font-family: ui-monospace, monospace; overflow-wrap: anywhere; background: #e9f5f0; padding: 16px; border-radius: 10px; user-select: all; }
.audit-entry { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; overflow-wrap: anywhere; }
.audit-entry:last-child { border: 0; }
.startup { display: grid; place-items: center; min-height: 100dvh; padding: 30px; color: var(--muted); }
.connection-error { max-width: 460px; margin: 18vh auto; padding: 30px; }
.connection-error .brand { margin-bottom: 28px; }
.toast { position: fixed; z-index: 40; bottom: 32px; left: 50%; transform: translateX(-50%); max-width: min(90vw, 500px); padding: 11px 20px; border-radius: 10px; background: #193737; color: white; font-size: 13px; box-shadow: 0 8px 28px #19373733; }
.toast[hidden] { display: none; }
dialog { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); width: min(92vw, 480px); max-height: 88dvh; padding: 26px; overflow-y: auto; box-shadow: 0 24px 90px #123a3533; }
dialog::backdrop { background: #153b345e; backdrop-filter: blur(3px); }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.modal-heading h2 { margin: 0; }
.modal-heading .icon-button { margin: -6px; }
.modal-description { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.password-reset-member { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.password-reset-member > strong { font-size: 14px; overflow-wrap: anywhere; }
.password-reset-account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; margin-top: 4px; }
.password-reset-account > span { flex: none; color: var(--muted); font-size: 12px; }
.password-reset-account code { min-width: 0; font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.password-reset-account .text-button { min-height: 44px; margin-left: auto; padding-inline: 10px; }
.password-visibility-toggle { min-height: 44px; justify-self: start; padding-inline: 10px; }
.password-reset-instructions { margin: 16px 0; font-size: 13px; color: var(--muted); }
dialog.image-viewer { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #000; color: #fff; }
dialog.image-viewer::backdrop { background: #000; }
.image-viewer-track { display: flex; width: 100%; height: 100%; touch-action: none; overscroll-behavior: contain; transition: transform .22s ease-out; }
.image-viewer-slide { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; flex: 0 0 100%; min-width: 0; min-height: 0; width: 100%; height: 100%; padding: calc(env(safe-area-inset-top, 0px) + 8px) 8px calc(env(safe-area-inset-bottom, 0px) + 8px); overflow: hidden; cursor: zoom-out; outline: none; }
.image-viewer-slide:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
.image-viewer-image { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.image-viewer.is-zoomed .image-viewer-track { touch-action: none; }
.image-viewer.is-zoomed .image-viewer-slide { cursor: grab; }
.image-viewer.is-panning .image-viewer-slide { cursor: grabbing; }
.image-viewer-count { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; transform: translateX(-50%); padding: 5px 9px; border-radius: 999px; background: #0009; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.review-images { display: grid; gap: 12px; }
.review-images img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 9px; background: var(--soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (min-width: 781px) and (max-width: 1050px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); padding: 48px 30px; gap: 36px; }
}
@media (max-width: 780px) {
  .auth-shell { grid-template-columns: 1fr; max-width: 480px; padding: 30px 22px 44px; gap: 25px; }
  .auth-story { min-height: 0; padding: 10px 0 8px; }
  .auth-wordmark { margin-bottom: 24px; font-size: 38px; letter-spacing: -1.5px; }
  .auth-story h1 { margin-top: 18px; font-size: 20px; letter-spacing: 3px; }
  .auth-word-cloud { max-width: 280px; aspect-ratio: 1.45; }
  .auth-panel { padding: 24px; border-radius: 16px; }
  .auth-keyword-circle { font-size: 33px; }
  .auth-keyword-private { font-size: 27px; }
  .auth-keyword-safe { font-size: 23px; }
  .auth-keyword-social, .auth-keyword-free { font-size: 25px; }
  .auth-keyword-money { font-size: 29px; }
  .auth-keyword-rejected { font-size: clamp(16px, 4.5vw, 19px); }
  .auth-keyword-rejected::before, .auth-keyword-rejected::after { height: 2.5px; }
  .auth-panel h2 { font-size: clamp(20px, 5.5vw, 25px); }
  .auth-panel .tag { flex: none; white-space: nowrap; }
  .app-layout { display: block; padding: 0; max-width: 600px; }
  .sidebar { display: none; }
  .main-column { padding: 18px 17px calc(95px + env(safe-area-inset-bottom, 0px)); }
  .mobile-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
  .mobile-brand .inbox-entry { width: 42px; flex: none; }
  .mobile-brand .inbox-entry-label { display: none; }
  .mobile-brand .brand-mark { width: 33px; height: 33px; border-radius: 9px; font-size: 22px; }
  .mobile-brand .brand-word { font-size: 27px; }
  .mobile-brand .brand-caption { display: none; }
  .page-heading { margin-bottom: 20px; }
  .admin-page-heading { flex-wrap: wrap; gap: 4px; }
  .admin-page-heading > div:first-child { width: 100%; }
  .admin-heading-tools { width: 100%; justify-content: space-between; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
  .admin-online { padding-left: 0; border-left: 0; }
  .admin-reserve-metrics { grid-template-columns: 1fr; gap: 11px; }
  .admin-reserve-metrics > div + div { padding: 11px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .page-heading h1 { font-size: 26px; }
  .page-heading p { font-size: 12px; }
  .page-heading:has(.sensitive-toggle) { display: block; }
  .page-heading:has(.sensitive-toggle) .page-heading-actions { justify-content: space-between; align-items: center; flex-wrap: nowrap; margin-top: 14px; }
  .sensitive-toggle-copy small { display: none; }
  .feed-toolbar { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .feed-switch { justify-self: start; }
  .search-box { width: 100%; }
  .admin-post-toolbar { flex-wrap: wrap; }
  .admin-post-toolbar .search-box { flex-basis: 100%; }
  .admin-post-toolbar select { width: 100%; }
  .inbox-heading .inbox-actions { flex: none; }
  .information-shortcuts { gap: 4px; padding-bottom: 18px; }
  .information-shortcut-icon { width: 52px; height: 52px; }
  .information-shortcut-label { font-size: 13px; }
  .information-conversations .conversation-list-item { gap: 10px; }
  .notification-item { gap: 8px; padding: 8px 6px; }
  .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .card { padding: 18px; border-radius: 13px; }
  .card.post { padding: 12px 14px; }
  .post-actions .reaction { min-height: 44px; }
  .profile-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px 6px; }
  .profile-stats .stat strong { font-size: 18px; }
  .profile-stats .stat-tip { grid-column: span 3; }
  .profile-stats .stat-amount-long strong { font-size: 16px; }
  .identity-profile-notice { align-items: flex-start; flex-direction: column; }
  .identity-profile-notice .button { align-self: flex-start; }
  .member-details-navigation { align-items: flex-start; flex-direction: column; gap: 5px; }
  .member-details-hero { align-items: flex-start; padding: 12px; }
  .member-details-hero .avatar { width: 58px; height: 58px; min-width: 58px; min-height: 58px; }
  .member-inviter-card .text-button { width: 100%; text-align: left; }
  .member-inviter-link { align-items: flex-start; flex-direction: column; }
  .profile-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
  .profile-post-tile:hover,
  .profile-post-grid .grid-tile:hover { transform: none; }
  .activity-metrics { grid-template-columns: 1fr; gap: 14px; }
  .activity-feed-notice { align-items: flex-start; }
  .admin-member-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; padding: 11px 12px; }
  .admin-user-head { grid-column: 1 / 3; grid-row: 1; padding-right: 64px; }
  .admin-member-menu, .admin-member-menu-placeholder { grid-column: 2; grid-row: 1; justify-self: end; width: 54px; }
  .admin-user-status { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; }
  .admin-member-balance { grid-column: 2; grid-row: 2; display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; }
  .earnings-pool-summary { align-items: flex-start; flex-direction: column; gap: 8px; }
  .earnings-pool-summary > p { text-align: left; }
  .earnings-category-grid { grid-template-columns: 1fr; }
  .claim-item-compact { grid-template-columns: minmax(0, 1fr) auto; }
  .welcome-strip { padding: 15px; border-radius: 12px; }
  .welcome-strip p { font-size: 13px; }
  .welcome-strip .button { font-size: 12px; min-height: 36px; padding: 6px 12px; flex: none; }
  .post-text { font-size: 14px; }
  .post .post-body { padding-inline: 6px; text-align: center; }
  .post .post-text { text-align: justify; text-align-last: left; }
  .post .post-text.post-text-short { text-align: center; text-align-last: center; text-wrap: balance; }
  .post .post-expand { min-height: 40px; padding: 8px 12px; }
  .paid-lock { padding: 14px; }
  .composer-type-list { grid-template-columns: 1fr; }
  .composer-type { column-gap: 14px; }
  .post-images img { height: 175px; }
  .post-images.triple img { height: auto; }
  .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fffefaf2; backdrop-filter: blur(15px); border-top: 1px solid var(--line); padding: 8px 10px calc(7px + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 5px; font-size: 10px; background: transparent; color: var(--muted); min-height: 48px; }
  .bottom-nav button.active { color: var(--teal); font-weight: 700; }
  .bottom-nav button .icon { height: 23px; width: 23px; }
  .bottom-nav .nav-activity-badge { position: absolute; top: 1px; left: calc(50% + 8px); margin: 0; }
  .toast { bottom: calc(85px + env(safe-area-inset-bottom, 0px)); width: max-content; }
  .empty { padding: 45px 20px; }
  .connection-error { margin: 15vh 18px; }
}
@media (max-width: 430px) {
  .external-social-empty { align-items: flex-start; flex-wrap: wrap; }
  .external-social-empty .button { margin-left: 45px; }
  .profile-head .avatar.large { width: 54px; height: 54px; font-size: 24px; }
  .profile-head h2 { font-size: 20px; }
  .profile-copy { order: 1; }
  .profile-identity-inline { order: 2; flex-basis: 100%; min-width: 0; max-width: none; margin: 7px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
  .profile-balance { order: 3; }
  .profile-balance { padding: 9px 10px; }
  .profile-balance-amount { font-size: 20px; }
  .two-fields { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 540px) {
  .admin-finance-cash, .admin-finance-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-finance-coins .admin-finance-stat:last-child { grid-column: 1 / -1; }
  .admin-finance-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-finance-filters { width: 100%; }
  .admin-finance-entry { gap: 8px; padding: 12px; }
  .admin-finance-amount { font-size: 16px; }
  .finance-query-grid, .finance-query-extra { grid-template-columns: minmax(0, 1fr); }
  .finance-query-extra label:last-child { grid-column: auto; }
  .finance-query-form { padding: 12px; }
  .finance-query-actions { width: 100%; justify-content: flex-end; }
  .finance-ledger-heading { align-items: flex-start; flex-direction: column; }
  .admin-finance-table-wrap { max-height: 65vh; }
  .finance-pagination { justify-content: space-between; gap: 10px; }
  .finance-pagination > div { width: 100%; justify-content: flex-end; }
  .wallet-page .wallet-heading { margin-bottom: 18px; gap: 8px; }
  .wallet-heading-title { gap: 12px; }
  .wallet-brand { font-size: 30px; }
  .wallet-brand::after { left: 24px; top: -5px; width: 5px; height: 10px; }
  .wallet-page .wallet-heading h1 { padding-left: 12px; font-size: 22px; }
  .wallet-page .wallet-heading .button { padding-inline: 9px; font-size: 11px; }
  .wallet-balance-hero { min-height: 150px; padding: 25px 82px 25px 22px; }
  .wallet-balance-amount { font-size: 46px; }
  .wallet-balance-decoration { right: 25px; top: 55px; }
  .wallet-balance-decoration .icon { width: 42px; height: 42px; }
  .wallet-balance-hero::before { right: -115px; }
  .wallet-balance-hero::after { right: -110px; }
  .wallet-page .wallet-actions { padding: 17px 5px; }
  .wallet-page .wallet-action { gap: 10px; padding-inline: 12px; }
  .wallet-page .wallet-action-icon { width: 34px; height: 34px; border-radius: 11px; }
  .wallet-action-copy strong { font-size: 14px; }
  .wallet-page .wallet-action-copy small { font-size: 10px; }
  .wallet-page .earnings-card { padding: 18px 16px; }
  .wallet-page .earnings-card > .section-title:first-child h2 { font-size: 21px; }
  .wallet-page .earnings-pool { padding: 15px; }
  .wallet-page .earnings-pool-summary { gap: 12px; }
  .wallet-page .earnings-category-grid { margin: 20px 0; }
  .wallet-page .earnings-category { flex-direction: column; align-items: center; gap: 8px; padding: 0 8px; text-align: center; }
  .wallet-page .earnings-category:first-child, .wallet-page .earnings-category:last-child { padding-inline: 8px; }
  .earnings-category-icon { width: 34px; height: 34px; }
  .wallet-page .earnings-category-copy > strong { font-size: 23px; }
  .wallet-page .revenue-log-toggle { padding-inline: 12px; }
}
@media (max-width: 360px) {
  .wallet-heading-title { gap: 8px; }
  .wallet-page .wallet-heading h1 { padding-left: 8px; font-size: 20px; }
  .wallet-page .wallet-heading .button { padding-inline: 7px; font-size: 10px; }
  .wallet-balance-hero { padding-left: 20px; padding-right: 68px; }
  .wallet-balance-amount { font-size: 40px; }
  .wallet-balance-decoration { right: 20px; }
  .wallet-balance-decoration .icon { width: 34px; height: 34px; }
  .wallet-page .wallet-action { gap: 7px; padding-inline: 10px; }
  .wallet-action-chevron { display: none; }
  .wallet-page .earnings-card { padding-inline: 14px; }
  .wallet-page .earnings-category { padding-inline: 5px; }
  .wallet-page .earnings-category:first-child, .wallet-page .earnings-category:last-child { padding-inline: 5px; }
  .wallet-page .earnings-category-copy > span, .wallet-page .earnings-category-copy > small { font-size: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .nav-item, .reaction { transition: background .15s, color .15s; }
  .conversation-encryption.encrypted .conversation-encryption-icon::before { animation: conversation-encryption-halo 2.8s ease-in-out infinite; }
  .conversation-encryption.encrypted .conversation-encryption-icon svg { animation: conversation-encryption-breathe 2.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-post-tile,
  .profile-post-tile-media,
  .profile-post-grid .grid-tile,
  .profile-post-grid .grid-tile-media { transition: none; }
}

.conversation-pin-mark { position: absolute; top: 4px; right: 10px; color: #64816c; font-size: 9px; line-height: 1.2; }
.conversation-list-item.pinned .conversation-meta { padding-top: 10px; }
.conversation-fixed-pin { padding: 8px; color: var(--muted); font-size: 13px; }
.follow-avatar-required { padding: 20px; border: 1px solid #d8aa59; border-radius: 12px; background: #fff5df; text-align: center; }
.follow-avatar-required strong { display: block; font-size: 19px; line-height: 1.6; color: #745020; }
.follow-avatar-required p { margin: 8px 0 18px; color: var(--muted); }
.follow-avatar-required .button { width: 100%; min-height: 46px; }

.pull-refresh { display: none; }
.beauty-preview { display: grid; gap: 14px; }
.beauty-video-shell { position: relative; overflow: hidden; border-radius: 16px; background: #182c26; aspect-ratio: 4/3; max-height: 52vh; }
.beauty-video-shell video { display: block; width: 100%; height: 100%; object-fit: contain; transform: scaleX(-1); }
.beauty-video-shell > span { position: absolute; bottom: 12px; left: 12px; padding: 5px 10px; border-radius: 20px; color: #fff; background: #152a22b0; font-size: 12px; }
.beauty-preview-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.beauty-preview-controls button { min-height: 44px; }
.beauty-strength, .live-beauty-controls label { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.beauty-strength input, .live-beauty-controls input { flex: 1; min-width: 60px; accent-color: var(--deep); height: 32px; padding: 0; }
.beauty-strength output, .live-beauty-controls output { min-width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
.beauty-preview-status { margin: 0; font-size: 13px; color: var(--deep); }
.beauty-preview > small { font-size: 12px; }
.live-beauty-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; margin-bottom: 10px; border-radius: 12px; background: var(--soft); }
.live-beauty-controls label { flex: 1; min-width: 190px; }
.live-beauty-controls small { color: var(--muted); font-size: 12px; }
.live-beauty-choice { display: flex; align-items: center; gap: 8px; }
.live-beauty-choice input { width: 18px; height: 18px; accent-color: var(--deep); }
@media (max-width: 600px) {
  .beauty-preview { gap: 12px; }
  .beauty-preview-controls .button { flex: 1; padding-inline: 10px; }
  .beauty-preview-controls .text-button { width: 100%; }
  .live-beauty-controls .button { min-height: 44px; }
  .live-beauty-controls small { width: 100%; }
}
@keyframes pull-refresh-spin { to { transform: rotate(360deg); } }
@media (max-width: 780px) {
  html.pull-refresh-enabled, html.pull-refresh-enabled body { overscroll-behavior-y: none; }
  .icon-button[data-action="refresh"],
  .icon-button[data-action="refresh-notifications"],
  .icon-button[data-action="refresh-admin"],
  .icon-button[data-action="refresh-conversations"],
  .icon-button[data-action="refresh-favorites"],
  .icon-button[data-action="member-page-refresh"] { display: none; }
  .pull-refresh:not([hidden]) { position: fixed; z-index: 30; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; display: flex; align-items: center; justify-content: center; gap: 9px; max-width: calc(100vw - 32px); padding: 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--deep); box-shadow: 0 5px 20px #24332f20; font-size: 13px; pointer-events: none; transform: translate(-50%, calc(var(--pull-distance, 0px) - 72px)); }
  .pull-refresh svg { width: 19px; height: 19px; flex: none; transform: rotate(var(--pull-rotation, 0deg)); }
  .pull-refresh[data-phase="ready"] { background: var(--soft); }
  .pull-refresh[data-phase="error"] { color: var(--danger); }
}
@media (prefers-reduced-motion: no-preference) {
  .pull-refresh[data-phase="loading"] svg { animation: pull-refresh-spin .8s linear infinite; }
}

/* Invitation confirmation uses the same restricted account and conversation routes. */
.app-layout.identity-waiting-layout { display: flex; flex-direction: column; max-width: 500px; min-height: 100dvh; gap: 0; padding: 36px 24px 22px; }
.identity-waiting-layout .sidebar, .identity-waiting-layout .mobile-brand { display: none; }
.identity-waiting-layout .main-column { width: 100%; padding: 0; }
.identity-waiting-page { width: 100%; }
.identity-waiting-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 12px 22px; color: var(--teal); font-size: 11px; letter-spacing: 1px; }
.identity-waiting-wordmark { color: var(--deep); font: 700 31px/1 Georgia, "Times New Roman", serif; letter-spacing: -.8px; }
.identity-waiting-card { padding: 25px 28px 28px; border: 1px solid #ebe5d8; border-radius: 24px; background: var(--paper); box-shadow: 0 12px 40px #5a4a320b; text-align: center; }
.identity-waiting-illustration { display: block; width: 230px; max-width: 100%; height: auto; margin: 0 auto 6px; }
.identity-waiting-card h1 { margin: 0; color: var(--deep); font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif; font-size: clamp(22px, 5.7vw, 27px); font-weight: 600; line-height: 1.45; letter-spacing: .5px; }
.identity-waiting-subtitle { margin: 6px 0 0; color: var(--teal); font-size: 13px; }
.identity-waiting-status { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: var(--deep); font-size: 11px; }
.identity-waiting-status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.identity-waiting-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 23px 0 17px; padding: 16px 8px; border-radius: 12px; background: #f0f2e7; }
.identity-waiting-steps li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #899186; font-size: 11px; }
.identity-waiting-steps .complete { color: var(--deep); }
.identity-waiting-steps .current { color: #a98343; }
.identity-waiting-step-icon { display: grid; place-items: center; width: 24px; height: 24px; }
.identity-waiting-step-icon .icon { width: 23px; height: 23px; }
.identity-waiting-steps .complete .identity-waiting-step-icon { border-radius: 50%; background: var(--deep); color: var(--paper); }
.identity-waiting-steps .complete .icon { width: 16px; height: 16px; }
.identity-waiting-step-dot { width: 12px; height: 12px; margin: 6px; border-radius: 50%; background: #cdd5c7; }
.identity-waiting-inviter { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px 12px; border: 1px solid #eee9de; border-radius: 12px; text-align: left; }
.identity-waiting-inviter > .avatar { width: 38px; height: 38px; min-width: 38px; font-size: 15px; }
.identity-waiting-inviter-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.identity-waiting-inviter-copy strong { color: var(--deep); font-size: 13px; overflow-wrap: anywhere; }
.identity-waiting-inviter-copy small { color: var(--muted); font-size: 10px; }
.identity-waiting-details { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 4px 0 4px 4px; font-size: 11px; }
.identity-waiting-details .icon { width: 15px; height: 15px; }
.identity-waiting-note { margin: 20px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.identity-waiting-actions { display: grid; gap: 11px; }
.identity-waiting-actions .button { width: 100%; min-height: 46px; border-radius: 24px; font-size: 13px; }
.identity-waiting-actions .secondary { border-color: #a6b6a7; background: transparent; font-weight: 500; }
.identity-waiting-settings { display: flex; align-items: center; justify-content: center; gap: 5px; width: fit-content; min-height: 44px; margin: 8px auto 0; padding: 6px 12px; color: var(--muted); font-size: 11px; }
.identity-waiting-settings .icon { width: 13px; height: 13px; }
.identity-waiting-layout .bottom-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: auto; padding: 12px 20px max(0px, env(safe-area-inset-bottom, 0px)); border: 0; background: transparent; backdrop-filter: none; }
.identity-waiting-layout .bottom-nav .nav-item { display: grid; justify-items: center; gap: 4px; min-height: 48px; padding: 5px; background: transparent; color: var(--muted); font-size: 11px; box-shadow: none; text-align: center; }
.identity-waiting-layout .bottom-nav .nav-item.active { color: var(--deep); }
.identity-waiting-layout .bottom-nav .icon { width: 22px; height: 22px; }
@media (max-width: 780px) {
  .app-layout.identity-waiting-layout { padding: calc(24px + env(safe-area-inset-top, 0px)) 22px 12px; }
  .identity-waiting-header { margin-bottom: 18px; }
  .identity-waiting-card { padding: 22px 22px 25px; border-radius: 22px; }
}
@media (max-width: 360px) {
  .app-layout.identity-waiting-layout { padding-left: 14px; padding-right: 14px; }
  .identity-waiting-card { padding: 18px 16px 21px; }
  .identity-waiting-illustration { width: 210px; }
  .identity-waiting-inviter { gap: 8px; padding: 8px; }
}

/* Paid live viewing */
[data-live-price-field][hidden] { display: none; }
.live-room-card > .live-room-price { color: var(--teal); font-weight: 600; }
.live-billing-status { margin: 0 0 12px; font-size: 12px; color: var(--teal); line-height: 1.7; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.live-paywall { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 20px; color: #fff; text-align: center; background: #152d27; }
.live-paywall strong { font-size: 22px; }
.live-paywall p { max-width: 280px; margin: 0; color: #d1e1d7; line-height: 1.8; font-size: 13px; }
.live-paywall-icon .icon { width: 28px; height: 28px; }
.live-payment-summary { display: grid; gap: 12px; }
.live-payment-summary > strong { color: var(--teal); font-size: 22px; }
.live-payment-summary > span { font-size: 14px; }
.live-payment-summary p { margin: 0; line-height: 1.8; font-size: 14px; }
.live-payment-summary small { color: var(--muted); }

.live-room-controls [hidden] { display: none; }

.post-video-editor { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100%; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #faf9f3; min-width: 0; }
.post-video-editor > * { min-width: 0; max-width: 100%; }
.video-editor-heading { gap: 10px; }
.video-editor-heading strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.video-editor-heading button { flex: none; }
.post-video-editor video, .uploaded-post-video video { display: block; width: 100%; min-width: 0; max-width: 100%; max-height: 520px; background: #172823; border-radius: 12px; object-fit: contain; }
.video-clip-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.video-trim { min-width: 0; width: 100%; font-size: 12px; color: var(--teal); user-select: none; -webkit-user-select: none; }
.video-trim > strong { display: block; font-size: 13px; }
.video-trim-viewport { width: 100%; overflow: hidden; border-radius: 8px; }
.video-trim-track { position: relative; width: calc(100% - 24px); height: 122px; margin: 0 12px; }
.video-trim-track::before { content: ''; position: absolute; top: 26px; left: 0; right: 0; height: 56px; border-radius: 5px; background: #d9e1da; }
.video-trim-track canvas { position: absolute; top: 26px; left: 0; width: 100%; height: 56px; pointer-events: none; border-radius: 5px; }
.video-trim-track::after { content: ''; position: absolute; top: 26px; left: 0; right: 0; height: 56px; border-radius: 5px; pointer-events: none; background: linear-gradient(to right, #14251d66 0 var(--trim-start), transparent var(--trim-start) var(--trim-end), #14251d66 var(--trim-end) 100%); }
.video-trim-selection { position: absolute; z-index: 1; top: 23px; height: 62px; min-width: 0; border: 3px solid var(--teal); border-radius: 5px; box-shadow: 0 0 0 1px #fff7; }
.video-trim-relative-start, .video-trim-relative-end { position: absolute; top: -24px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.video-trim-relative-start { left: -8px; }
.video-trim-relative-end { right: -8px; }
.video-trim-selection.compact .video-trim-relative-start, .video-trim-selection.compact .video-trim-relative-end { display: none; }
.video-trim-move { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #2f554730; color: white; cursor: grab; touch-action: none; }
.video-trim-move span { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); padding: 0 7px; line-height: 18px; border-radius: 6px; background: #203d32a3; font-size: 13px; letter-spacing: 2px; }
.video-trim-selection.dragging .video-trim-move { cursor: grabbing; }
.video-trim-handle { position: absolute; top: -3px; width: 22px; height: 62px; border: 0; border-radius: 5px; padding: 0; background: var(--teal); color: white; cursor: ew-resize; touch-action: none; }
.video-trim-handle.start { left: -12px; }
.video-trim-handle.end { right: -12px; }
.video-trim-handle span { display: block; width: 3px; height: 23px; margin: auto; border-radius: 3px; background: #fffdf8; }
.video-trim-selection.compact .video-trim-move { inset: auto; left: var(--grip-left); top: 65px; width: 82px; height: 28px; border-radius: 7px; background: var(--teal); }
.video-trim-selection.compact .video-trim-move span { position: static; display: block; transform: none; padding: 0; background: none; font-size: 12px; letter-spacing: 1px; line-height: 28px; white-space: nowrap; }
.video-trim-selection.compact .video-trim-handle { height: 31px; }
.video-trim-selection.compact .video-trim-handle.start { top: 28px; }
.video-trim-selection.compact .video-trim-handle span { height: 15px; }
.video-trim-frame-state { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.wallet-payment-panel { display: grid; gap: 16px; min-width: 0; padding-top: 12px; }
.wallet-payment-panel p { margin: 0; line-height: 1.7; }
.wallet-payment-badge { justify-self: start; padding: 4px 10px; border-radius: 20px; color: var(--teal); background: #e9efe7; font-size: 12px; }
.wallet-channel-options { display: grid; gap: 10px; }
.wallet-channel { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.wallet-channel:has(input:checked) { border-color: var(--teal); background: #eff4ed; }
.wallet-channel input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.wallet-channel span { flex: 1; font-weight: 600; }
.wallet-channel small { color: var(--muted); }
.wallet-payment-total { display: grid; gap: 5px; color: var(--teal); }
.wallet-payment-total strong { font-size: 30px; }
.wallet-payment-notice { padding: 12px; border-radius: 10px; color: var(--teal); background: #f3efdf; }
.wallet-payment-beta-note { font-size: 12px; }
.video-trim button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.video-trim-axis { display: flex; justify-content: space-between; color: var(--muted); padding: 0 12px; font-size: 11px; font-variant-numeric: tabular-nums; }
.video-trim .composer-media-note { margin: 5px 0 0; font-weight: 400; line-height: 1.6; }
.post-video-editor progress { width: 100%; accent-color: var(--teal); }
.uploaded-post-video { margin: 10px 0 4px; min-width: 0; }
.video-post-footer { padding: 6px 2px 0; }
.video-post-footer small { color: var(--muted); font-size: 11px; }
.post-video-editor [hidden] { display: none; }
@media (max-width: 780px) { .post-video-editor { padding: 10px; gap: 10px; } .post-video-editor video, .uploaded-post-video video { max-height: 420px; } }
/* Device account switching: credentials remain in HttpOnly session cookies. */
.profile-account-switch { display: grid; justify-items: center; gap: 5px; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--muted, #74817d); cursor: pointer; font: inherit; }
.profile-account-switch small { font-size: 11px; white-space: nowrap; }
.profile-account-switch:hover small { color: var(--primary, #267461); }
.profile-account-column { display: grid; justify-items: center; align-content: start; gap: 5px; width: 72px; flex: 0 0 72px; }
.profile-account-minis { display: flex; align-items: center; justify-content: center; max-width: 100%; height: 22px; cursor: default; }
.profile-account-minis[hidden] { display: none; }
.profile-account-mini { display: inline-flex; flex: 0 0 22px; width: 22px; height: 22px; position: relative; margin-left: -7px; border-radius: 50%; }
.profile-account-mini:first-child { margin-left: 0; }
.profile-account-mini .avatar { width: 22px; height: 22px; min-width: 22px; min-height: 22px; font-size: 10px; border: 1.5px solid var(--paper); box-shadow: none; }
@media (max-width: 780px) { .profile-account-column { width: 64px; flex-basis: 64px; } .profile-account-mini { margin-left: -8px; } }
.saved-accounts { min-width: 0; }
.saved-account-row { display: flex; align-items: center; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line, #e4ebe7); }
.saved-account-select { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 8px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.saved-account-select:hover { background: #f1f7f3; }
.saved-account-select[aria-current="true"] { opacity: 1; color: inherit; cursor: default; background: #f1f7f3; }
.saved-account-select .avatar { flex: 0 0 auto; }
.saved-account-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.saved-account-copy strong, .saved-account-copy small { overflow-wrap: anywhere; }
.saved-account-copy small { font-size: 12px; color: var(--muted, #74817d); }
.saved-account-status { flex: 0 0 auto; color: #327561; font-size: 12px; }
.saved-account-remove { flex: 0 0 34px; width: 34px; height: 34px; color: #84918a; }
.saved-account-empty { color: var(--muted, #74817d); padding: 12px 0; }
.saved-accounts-entry { margin-top: 14px; }
.saved-accounts > .subtle-note { margin: 16px 0; line-height: 1.6; }

/* My profile: the warm, compact overview keeps real account data and actions. */
.profile-overview { min-width: 0; color: var(--deep); }
.profile-overview-heading { margin-bottom: 20px; }
.profile-overview-heading h1 { margin-bottom: 6px; font-family: "Noto Serif SC", "Songti SC", SimSun, serif; font-size: 29px; letter-spacing: .02em; }
.profile-overview-heading .eyebrow { margin-bottom: 7px; font-size: 10px; letter-spacing: .15em; }
.profile-overview-heading > div > p:last-child { font-size: 12px; }
.profile-overview .profile-summary-card { padding: 22px 24px 17px; border-color: #e1ddcd; border-radius: 18px; background: #fffef9; box-shadow: 0 5px 20px #39513d08; }
.profile-overview .profile-head { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: start; gap: 18px; margin-bottom: 0; }
.profile-overview .profile-account-column { width: 84px; gap: 6px; }
.profile-overview .profile-account-switch { gap: 4px; }
.profile-overview .profile-account-switch > .avatar { width: 82px; height: 82px; min-width: 82px; min-height: 82px; font-size: 30px; }
.profile-overview .profile-account-switch small { font-size: 10px; color: #7f8b80; }
.profile-overview .profile-account-mini .avatar { width: 22px; height: 22px; min-width: 22px; min-height: 22px; }
.profile-overview .profile-copy { padding-top: 4px; }
.profile-overview .profile-copy h2 { margin-bottom: 4px; font-size: 24px; line-height: 1.4; }
.profile-overview .profile-copy > .muted { color: #7f887e; font-size: 12px; }
.profile-overview .profile-registration-id { margin-top: 6px; font-size: 11px; color: #92958b; }
.profile-overview .profile-wallet-entry { width: 128px; max-width: 128px; gap: 3px; margin: 3px 0 0; padding: 10px 12px; border: 1px solid #e8dec6; border-radius: 12px; background: #f8f3e7; }
.profile-overview .profile-wallet-label { color: #82775f; font-size: 11px; }
.profile-overview .profile-balance-amount { color: #455e46; font-size: 26px; line-height: 1.3; }
.profile-overview .profile-wallet-entry:hover { background: #f1ead9; border-color: #cbbb94; }
.profile-overview .profile-wallet-entry.has-pending-revenue { border-color: #d8c18d; }
.profile-overview .profile-wallet-entry .profile-wallet-claim { gap: 4px; padding: 3px 4px; border-radius: 5px; background: #eee3c5; font-size: 10px; }
.profile-overview .profile-wallet-claim .icon { width: 12px; height: 12px; }
.profile-overview .profile-introduction { gap: 9px; margin-top: 16px; }
.profile-overview .profile-bio { max-width: 100%; margin: 0; color: #566557; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-overview .profile-introduction-actions { gap: 10px 16px; }
.profile-overview .profile-introduction-actions > .button { margin-left: auto; min-height: 33px; padding: 5px 13px; border-color: #d3ddd0; border-radius: 8px; background: #fbfcf6; font-size: 11px; font-weight: 500; }
.profile-overview .profile-social-summary { flex-basis: 260px; gap: 9px; max-width: min(330px, 100%); }
.profile-overview .profile-social-summary .external-social-mark { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }
.profile-overview .profile-social-summary-copy { gap: 0; }
.profile-overview .profile-social-summary-copy strong { font-size: 12px; }
.profile-overview .profile-social-summary-copy small { font-size: 10px; }
.profile-overview .profile-social-result { margin: 10px 0 0; font-size: 12px; }
.profile-overview .profile-info-row { align-items: center; gap: 10px; margin: 12px 0; padding: 9px 0; border-top-color: #eeebdf; border-bottom-color: #eeebdf; }
.profile-overview .self-profile-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.profile-overview .self-profile-details > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; min-width: 0; font-size: 11px; }
.profile-overview .self-profile-details > div:last-child { flex: 1 1 180px; }
.profile-overview .self-profile-details > div > span { flex: none; color: #93988c; }
.profile-overview .self-profile-details strong { color: #55664f; font-weight: 500; }
.profile-overview .profile-tags { gap: 4px 7px; }
.profile-overview .profile-tags .tag { padding: 1px 6px; background: #f1f4e9; color: #6a7d58; font-size: 10px; }
.profile-overview .profile-settings-entry { width: 34px; height: 34px; color: #71846b; }
.profile-overview .profile-settings-entry .icon { width: 18px; height: 18px; }
.profile-overview .profile-identity-below { gap: 0; margin: 0; padding: 0; border: 0; }
.profile-overview .profile-identity-label { display: none; }
.profile-overview .profile-identity-below .identity-box { gap: 9px; padding: 12px 14px; border: 1px solid #e1ebdb; border-radius: 12px; background: #f0f6eb; }
.profile-overview .profile-identity-below .identity-box.pending { border-color: #e9dfbd; background: #fff8e5; }
.profile-overview .identity-box > .row { gap: 8px; align-items: start; }
.profile-overview .identity-box > .row strong { font-size: 12px; font-weight: 600; }
.profile-overview .identity-box > .row .row { align-items: center; }
.profile-overview .identity-box > .row .tag { padding: 1px 7px; font-size: 10px; }
.profile-overview .profile-identity-below .identity-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; }
.profile-overview .profile-identity-below .identity-fact { display: grid; align-content: start; gap: 2px; padding: 0; border-radius: 0; background: transparent; min-width: 0; }
.profile-overview .identity-fact small { margin: 0; color: #8a9782; font-size: 10px; }
.profile-overview .identity-fact strong { color: #526c49; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.profile-overview .profile-identity-below .identity-box .subtle-note { display: block; margin: 0; color: #8b9782; font-size: 10px; line-height: 1.6; }
.profile-overview .profile-stats { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin-top: 14px; padding-top: 13px; border-top-color: #eae8dd; }
.profile-overview .profile-stats .stat { display: flex; grid-column: auto; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 0; text-align: center; }
.profile-overview .profile-stats .stat strong { max-width: 100%; color: #365b43; font-size: 20px; font-weight: 600; line-height: 1.4; }
.profile-overview .profile-stats .stat span { max-width: 100%; color: #8a9385; font-size: 10px; }
.profile-overview .profile-stats .stat small { color: #9aa18f; font-size: 9px; line-height: 1.2; }
.profile-overview .profile-stats .stat-amount-long strong { font-size: 15px; }
.profile-overview > .activity-review { margin: 16px 0 18px; padding: 15px 18px; border: 1px solid #e1e5d8; border-radius: 14px; background: #fcfcf5; box-shadow: 0 3px 12px #39513d05; }
.profile-overview .activity-review-heading h2 { color: #496044; font-size: 14px; }
.profile-overview .activity-status-label { padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 500; }
.profile-overview .activity-summary { margin-top: 6px; font-size: 11px; }
.profile-overview .activity-review > .subtle-note { margin: 5px 0 0; color: #8d9685; font-size: 10px; }
.profile-overview .activity-deadline { margin-top: 5px; font-size: 11px; }
.profile-overview .activity-metrics { gap: 18px; margin-top: 12px; }
.profile-overview .activity-metric > div { gap: 6px; font-size: 11px; }
.profile-overview .activity-metric progress { height: 6px; margin-top: 6px; background: #e8ecdd; }
.profile-overview .activity-rule { margin-top: 10px; padding-top: 8px; border-top: 1px solid #ecede1; color: #909a85; font-size: 10px; line-height: 1.7; }
.profile-overview .profile-content { min-width: 0; margin-top: 16px; }
.profile-overview .profile-switch { gap: 0; margin: 0; padding: 0; border-bottom: 1px solid #dedfce; border-radius: 0; background: transparent; }
.profile-overview .profile-switch > button { position: relative; min-height: 44px; padding: 10px 18px 12px; border: 0; border-radius: 0; background: transparent; color: #969d8d; box-shadow: none; font-size: 12px; font-weight: 500; }
.profile-overview .profile-switch > button.active { color: #3d6247; }
.profile-overview .profile-switch > button.active::after { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; border-radius: 2px; background: #4c7050; content: ""; }
.profile-overview .profile-content-heading { margin: 15px 0 10px; }
.profile-overview .profile-content-heading h2 { color: #526449; font-size: 13px; font-weight: 500; }
.profile-overview .profile-content-heading small { color: #929a88; font-size: 10px; }
.profile-overview .profile-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.profile-overview .profile-post-tile { border-radius: 10px; }
.profile-overview .profile-post-text { position: absolute; inset: 0; display: grid; place-items: center; padding: 26px 12px 34px; overflow: hidden; background: #edf2e9; color: #355a45; font-size: 12px; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.profile-overview .invitations-card { margin-top: 18px; padding: 15px 18px; border-color: #e1e5d8; border-radius: 14px; background: #fffef9; }
.profile-overview .invitations-card > .section-title:first-child { margin: 0 0 9px; }
.profile-overview .invitations-card > .section-title h2 { color: #526449; font-size: 14px; }
.profile-overview .member-invite { padding: 0 0 12px; }
.profile-overview .member-invite h3 { font-size: 12px; }
.profile-overview .member-invite-code { margin-top: 7px; }
.profile-overview .invitation-summary-heading { font-size: 12px; }
.profile-overview .invitation-summary-meta { gap: 9px; font-size: 10px; }
.profile-prerequisite { padding-top: 5px; }
.profile-prerequisite-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 3px 0 14px; border-radius: 15px; background: #edf4e9; color: var(--deep); }
.profile-prerequisite-icon .icon { width: 24px; height: 24px; }
.profile-prerequisite > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.profile-prerequisite-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 24px; }
@media (max-width: 600px) {
  .profile-overview-heading { margin-bottom: 16px; }
  .profile-overview-heading h1 { font-size: 25px; }
  .profile-overview .profile-summary-card { padding: 17px 14px 15px; border-radius: 15px; }
  .profile-overview .profile-head { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 11px; }
  .profile-overview .profile-account-column { width: 70px; }
  .profile-overview .profile-account-switch > .avatar { width: 68px; height: 68px; min-width: 68px; min-height: 68px; font-size: 25px; }
  .profile-overview .profile-copy { padding-top: 1px; }
  .profile-overview .profile-copy h2 { font-size: 20px; }
  .profile-overview .profile-copy > .muted, .profile-overview .profile-registration-id { font-size: 10px; }
  .profile-overview .profile-wallet-entry { width: 100px; max-width: 100px; margin-top: 0; padding: 8px; }
  .profile-overview .profile-balance-amount { font-size: 22px; }
  .profile-overview .profile-wallet-label { gap: 4px; font-size: 10px; }
  .profile-overview .profile-wallet-entry .profile-wallet-claim { gap: 3px; padding: 3px 2px; font-size: 9px; }
  .profile-overview .profile-introduction { margin-top: 12px; }
  .profile-overview .profile-social-summary { flex-basis: 180px; }
  .profile-overview .profile-bio { font-size: 12px; }
  .profile-overview .profile-info-row { margin: 10px 0; }
  .profile-overview .self-profile-details { gap: 6px 14px; }
  .profile-overview .self-profile-details > div:last-child { flex-basis: 155px; }
  .profile-overview .profile-identity-below .identity-box { padding: 11px 12px; }
  .profile-overview .profile-identity-below .identity-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .profile-overview .profile-stats { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 5px; }
  .profile-overview .profile-stats .stat { grid-column: span 4; }
  .profile-overview .profile-stats .stat:nth-child(n+4) { grid-column: span 3; }
  .profile-overview .profile-stats .stat strong { font-size: 19px; }
  .profile-overview .profile-stats .stat-amount-long strong { font-size: 14px; }
  .profile-overview > .activity-review { padding: 13px 14px; }
  .profile-overview .activity-metrics { gap: 12px; }
  .profile-overview .activity-metric > div { flex-wrap: wrap; gap: 2px 6px; }
  .profile-overview .profile-switch > button { flex: 1; padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .profile-overview .profile-switch > button.active::after { right: 20%; left: 20%; }
  .profile-overview .profile-post-grid { gap: 4px; }
  .profile-overview .profile-post-tile { border-radius: 7px; }
  .profile-overview .invitations-card { padding: 13px 14px; }
}
@media (max-width: 360px) {
  .profile-overview .profile-head { grid-template-columns: 62px minmax(0, 1fr) 87px; gap: 8px; }
  .profile-overview .profile-account-column { width: 62px; }
  .profile-overview .profile-account-switch > .avatar { width: 60px; height: 60px; min-width: 60px; min-height: 60px; }
  .profile-overview .profile-copy h2 { font-size: 18px; }
  .profile-overview .profile-wallet-entry { width: 87px; max-width: 87px; padding: 7px 5px; }
  .profile-overview .profile-wallet-entry .profile-wallet-claim { flex-wrap: wrap; }
}
