/* Shared visual foundations. Weekday accents and Thai-time ambience remain dynamic. */
:root {
  --ui-canvas:#f4f6f8;
  --ui-surface:#ffffff;
  --ui-soft:#eef2f6;
  --ui-input:#f6f8fa;
  --ui-text:#233247;
  --ui-secondary:#58687b;
  --ui-muted:#5d6d81;
  --ui-border:#dce3eb;
  --ui-shadow:0 3px 16px #213c5b05;
  --ui-radius:18px;
  --ui-space:24px;
  --ambient-surface:var(--ui-surface);
  --ambient-raised:var(--ui-soft);
  --ambient-input:var(--ui-input);
  --ambient-text:var(--ui-text);
  --ambient-muted:var(--ui-muted);
  --ambient-border:var(--ui-border);
  --bg:var(--ui-canvas);
  --white:var(--ui-surface);
  --ink:var(--ui-text);
  --muted:var(--ui-muted);
  --line:var(--ui-border);
}
html[data-ambient-mode="dark"] {
  --ui-canvas:#101721;
  --ui-surface:#192331;
  --ui-soft:#202e3e;
  --ui-input:#141e2b;
  --ui-text:#edf2f7;
  --ui-secondary:#c1ccd9;
  --ui-muted:#a7b6c8;
  --ui-border:#344357;
  --ui-shadow:none;
  --ambient-surface:var(--ui-surface);
  --ambient-raised:var(--ui-soft);
  --ambient-input:var(--ui-input);
  --ambient-text:var(--ui-text);
  --ambient-muted:var(--ui-muted);
  --ambient-border:var(--ui-border);
  --bg:var(--ui-canvas);
  --white:var(--ui-surface);
  --ink:var(--ui-text);
  --muted:var(--ui-muted);
  --line:var(--ui-border);
}
body {font-size:15px;line-height:1.75;background:var(--ui-canvas);color:var(--ui-text)}
button,input,textarea,select {font-family:inherit}
button:disabled {cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid var(--ambient-accent,#3966a6);outline-offset:3px;
}
input::placeholder,textarea::placeholder {color:var(--ui-muted)!important;opacity:1}
svg {flex-shrink:0}
.header {
  height:80px;padding:0 max(32px,calc((100vw - 1304px)/2));gap:32px;
  background:var(--ui-surface);border-color:var(--ui-border);backdrop-filter:none;
}
.header .brand {min-width:224px;font-size:25px;gap:11px;letter-spacing:-.5px;color:var(--ui-text)}
.brand-mark {width:42px;height:42px;border-radius:13px}
.header .brand small {font-size:10px;line-height:1.6;color:var(--ui-muted);margin-top:1px;letter-spacing:0}
.search-box {height:44px;max-width:440px;border:1px solid var(--ui-border);background:var(--ui-input);border-radius:12px;gap:10px}
.search-box:focus-within {border-color:var(--ambient-accent,#3966a6)}
.search-box input {font-size:13px;background:transparent!important;box-shadow:none}
.search-box svg {width:18px;color:var(--ui-muted)}
.search-box kbd {font-size:11px;color:var(--ui-muted);border-color:var(--ui-border)}
.header-actions {gap:9px}
.header-actions .icon-button {width:40px;height:40px;background:var(--ui-soft);border-radius:12px;color:var(--ui-secondary)}
.header-actions .icon-button:hover {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 12%,var(--ui-soft))}
.header-profile {gap:8px;padding-left:5px}
.header-profile img {width:38px;height:38px;object-fit:cover;border-radius:50%}
.ambient-clock {font-size:12px;padding:7px 8px;margin-right:3px;color:var(--ui-secondary);gap:7px}
.notification-dot {background:var(--ambient-accent,#3966a6)}
.app-shell {max-width:1368px;grid-template-columns:224px minmax(0,1fr) 264px;gap:28px;padding:28px 32px 48px}
#main,.identity-copy,.post-head>div {min-width:0}
.sidebar {top:108px;height:calc(100dvh - 108px);padding-bottom:24px;scrollbar-width:thin;scrollbar-color:var(--ui-border) transparent}
.identity {
  padding:16px;margin:0 0 20px;gap:10px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);
  background:var(--ui-surface);align-items:flex-start;box-shadow:var(--ui-shadow);
}
.identity .avatar-wrap,.identity .avatar-wrap img {width:46px;height:46px}
.identity .avatar-wrap img {object-fit:cover;border-radius:50%}
.identity .avatar-wrap i {background:#55ab83;border-color:var(--ui-surface)}
.identity>span:last-child {top:26px;right:16px;color:var(--ui-muted)}
.identity-copy {width:100%;min-width:0}
.identity strong {font-size:15px;font-weight:600;padding:4px 0;line-height:1.9;overflow:visible;white-space:normal;overflow-wrap:anywhere}
.identity small {font-size:11px;line-height:1.7;color:var(--ui-muted)}
.identity .evolution-identity {margin:5px 0 9px;max-width:100%}
.identity .evolution-badge {font-size:11.5px;max-width:100%}
.side-caption {font-size:11px;letter-spacing:0;color:var(--ui-muted);padding:0 12px;margin:16px 0 9px}
.main-nav {display:grid;gap:3px}
.nav-item {font-size:14px;min-height:44px;padding:10px 12px;border-radius:11px;gap:12px;color:var(--ui-secondary)}
.nav-item svg {width:20px;height:20px;stroke-width:1.6}
.nav-item.active {font-weight:600;background:color-mix(in srgb,var(--ambient-accent,#3966a6) 12%,var(--ui-surface));color:var(--ambient-accent,#3966a6)}
.nav-item:hover {background:var(--ui-soft)}
.nav-indicator {height:5px;width:5px}
.nav-item .bot-badge {font-size:9px;padding:0 5px}
.side-divider {margin:22px 10px;border-color:var(--ui-border)}
.side-invite {margin:22px 0 0;padding:16px;border:1px solid var(--ui-border);border-radius:14px;background:transparent}
.invite-heading {display:flex;align-items:center;gap:8px}
.invite-heading svg {width:18px;height:18px;color:var(--ambient-accent,#3966a6)}
.side-invite strong {font-size:12px;line-height:1.7;color:var(--ui-secondary);margin:0;font-weight:500}
.side-invite p {font-size:11px;line-height:1.8;color:var(--ui-muted);margin:7px 0 12px}
.side-invite button {font-size:12px;background:var(--ui-surface);border:1px solid var(--ui-border);color:var(--ui-secondary);padding:8px 11px;border-radius:8px}
.sidebar-footer {padding:0 10px;font-size:11px;color:var(--ui-muted)}
.community-credit {margin:22px 0 10px;padding-top:16px;border-color:var(--ui-border)}
.community-credit strong,.sidebar-footer p,.sidebar-footer button,.sidebar-footer>small {font-size:10px;color:var(--ui-muted);line-height:1.8}
.welcome-row {margin:0 0 20px;align-items:center;gap:16px}
.section-kicker {font-size:11px;letter-spacing:0;color:var(--ui-muted);line-height:1.7}
.welcome-row h1 {font-size:25px;font-weight:600;line-height:1.5;margin:3px 0 0;color:var(--ui-text)}
.date-label {font-size:12px;color:var(--ui-muted);gap:7px}
.page-header {margin:0 0 24px;gap:16px}
.page-header h1 {font-size:27px;font-weight:600;line-height:1.5;color:var(--ui-text)}
.page-header p,.page-description {font-size:13px;line-height:1.8;color:var(--ui-muted);margin-top:6px}
.hero.pt-hero {height:224px;padding:28px 30px;margin-bottom:20px;border-radius:20px;background:var(--ambient-sky,linear-gradient(110deg,#284760,#50808e));border:1px solid #ffffff0f}
.pt-hero:after {background:linear-gradient(90deg,var(--ambient-cover,#253b54),transparent 88%);opacity:.72}
.pt-hero .hero-background {inset:auto -22px -25px auto;width:71%;height:110%;object-fit:contain;object-position:right center;opacity:.92;filter:none}
.pt-hero .hero-content {max-width:69%;position:relative;z-index:2}
.pt-hero .hero-label {font-size:11px;line-height:1.6;letter-spacing:0;color:#e3ebf4;margin-bottom:12px}
.pt-hero h2 {font-size:31px;font-weight:600;line-height:1.5;letter-spacing:-.5px;color:#fff}
.pt-hero p {font-size:13px;line-height:1.8;color:#e1e8f0;margin-top:7px;max-width:100%}
.pt-hero button {font-size:12px;min-height:40px;padding:9px 14px;margin-top:18px;border-radius:10px;background:#f1f5f9;color:#243a51;gap:16px;font-weight:500}
.pt-hero button:hover {background:#fff}
.ambient-orb {width:50px;height:50px;right:20px;top:17px;z-index:1}
.ambient-orb>svg,html[data-sky="night"] .ambient-orb>svg {width:31px;height:31px;stroke-width:1.5}
html[data-sky="noon"] .ambient-orb {width:56px;height:56px}
html[data-sky="noon"] .ambient-orb>svg {width:36px;height:36px}
html[data-sky="night"] .pt-hero .hero-background {opacity:.82}
.section-heading {margin:24px 0 12px;gap:12px;align-items:center}
.section-heading h2 {font-size:15px;font-weight:600;color:var(--ui-text)}
.small-note,.helper-text,.section-heading>span {font-size:11px;line-height:1.8;color:var(--ui-muted)}
.stories {gap:10px;margin-bottom:20px}
.stories:not(.stories-empty) {display:flex;max-width:100%;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:4px;scrollbar-color:var(--ui-border) transparent}
.stories:not(.stories-empty) .story {flex:0 0 104px;width:104px;height:146px;scroll-snap-align:start}
.stories:not(.stories-empty) .story-label {font-size:10px;line-height:1.8;left:9px;right:9px;bottom:10px;overflow-wrap:anywhere}
.stories-empty {padding:12px;gap:15px;border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:var(--ui-radius);align-items:center;min-height:78px}
.stories-empty .story-create {height:52px;width:52px;min-width:52px;border-radius:50%;flex-shrink:0}
.stories-empty .story-create>img {height:100%;width:100%;filter:brightness(.65)}
.stories-empty .story-create .create-plus {bottom:50%;transform:translate(-50%,50%);width:26px;height:26px}
.stories-empty .story-create .story-label {display:none}
.story-create .create-plus {width:28px;height:28px;bottom:30px;background:var(--ambient-accent,#3966a6);color:var(--ambient-button-text,#fff);border:2px solid var(--ui-surface)}
.story-create .create-plus svg {width:16px;height:16px;stroke:currentColor;color:currentColor}
.story-create .story-label {font-size:10px;color:#fff;bottom:8px;line-height:1.5}
.story.story-create {background:var(--ui-soft)}
.story:after {background:linear-gradient(transparent 25%,#122238b8)}
.story-empty-copy {padding:0;background:transparent;color:var(--ui-muted)}
.story-empty-copy>span {display:none}
.story-empty-copy strong {font-size:13px;font-weight:500;color:var(--ui-secondary)}
.story-empty-copy p {font-size:12px;line-height:1.8;margin:3px 0 0;color:var(--ui-muted)}
.card {border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)}
.composer {padding:18px 20px 8px;margin-bottom:22px}
.composer-top {padding-bottom:16px;gap:12px}
.composer-top .avatar {width:42px;height:42px;border-radius:50%;object-fit:cover}
.compose-prompt {background:var(--ui-input);border:1px solid var(--ui-border);border-radius:12px;font-size:14px;min-height:46px;padding:10px 14px;color:var(--ui-muted);overflow-wrap:anywhere}
.compose-prompt:hover {border-color:color-mix(in srgb,var(--ambient-accent,#3966a6) 50%,var(--ui-border))}
.composer-actions {padding:10px 0 1px;border-color:var(--ui-border);gap:8px}
.composer-actions button {font-size:12px;min-height:36px;padding:6px 5px;gap:7px;color:var(--ui-secondary)}
.composer-actions svg {width:17px;height:17px}
.composer-actions button.small-primary {background:var(--ambient-accent,#3966a6);color:var(--ambient-button-text,#fff);font-size:12px;padding:8px 12px;border-radius:9px;margin-left:auto}
.post {margin:0 0 20px;overflow:hidden}
.post-head {padding:20px 22px 14px;gap:12px;align-items:center}
.post-head>div {flex:1}
.post-avatar {width:42px;height:42px;padding:0;background:transparent;border-radius:50%;overflow:hidden;flex-shrink:0}
.post-avatar img {width:100%;height:inherit;object-fit:cover;border-radius:inherit;object-position:center 27%}
.post-author {font-size:15px;line-height:1.9;font-weight:600;padding:2px 0;color:var(--ui-text);max-width:100%;overflow-wrap:anywhere;text-align:left}
.post-meta {font-size:11px;line-height:1.7;color:var(--ui-muted);gap:5px;flex-wrap:wrap}
.post-more {width:32px;height:32px;display:grid;place-items:center;border-radius:9px;color:var(--ui-muted);align-self:flex-start;margin-right:-5px}
.post-more:hover {background:var(--ui-soft)}
.post-more svg {width:19px;height:19px}
.post-text {font-size:15px;line-height:1.95;padding:0 22px 18px;color:var(--ui-text)}
.post-media {max-height:560px;object-fit:contain;background:var(--ui-input)}
.post-stats {padding:12px 22px;font-size:12px;line-height:1.6;color:var(--ui-muted);border-color:var(--ui-border)}
.reaction-dot {background:var(--ambient-accent,#3966a6);color:var(--ambient-button-text,#fff);width:18px;height:18px;font-size:10px}
.post-actions {margin:0 16px;border-color:var(--ui-border);gap:2px;padding:4px 0}
.post-actions>button {font-size:12px;line-height:1.5;min-height:44px;padding:10px 6px;gap:7px;border-radius:9px;color:var(--ui-secondary)}
.post-actions>button:hover {background:var(--ui-soft)}
.post-actions>button.selected {color:var(--ambient-accent,#3966a6)}
.post-actions>button.selected svg {fill:color-mix(in srgb,var(--ambient-accent,#3966a6) 17%,transparent)}
.post-actions svg {width:18px;height:18px}
.post-actions>button:last-child {min-width:40px}
.evolution-byline {margin:4px 0 4px;max-width:100%}
.evolution-badge {font-family:inherit;letter-spacing:0;border-radius:9px}
.evolution-badge.is-compact {font-size:11px;line-height:1.65;padding:3px 7px 3px 4px}
.evo-badge-name {min-width:0}
.evolution-badge.ev-stage-3 {box-shadow:none}
html[data-ambient-mode="dark"] .evolution-badge:not(.ev-stage-4) {
  background:color-mix(in srgb,var(--ev) 11%,var(--ui-surface));
  color:color-mix(in srgb,var(--ev) 42%,#fff);
  border-color:color-mix(in srgb,var(--ev) 38%,var(--ui-border));
}
.evolution-badge.ev-stage-4 {box-shadow:0 0 0 1px color-mix(in srgb,var(--ev-glow) 12%,transparent),0 3px 12px #0e152326}
.comments-section {background:var(--ui-input);padding:16px 22px;border-color:var(--ui-border)}
.comment-bubble {font-size:14px;line-height:1.8;background:var(--ui-soft);color:var(--ui-text);border-radius:12px}
.comment-bubble strong {font-size:12px;line-height:1.9}
.comment-form {gap:9px}
.comment-form input {min-height:42px;font-size:14px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface)}
.comment-form button {min-width:36px;min-height:40px;color:var(--ambient-accent,#3966a6)}
.post-poll {margin:4px 22px 18px;padding:18px;background:var(--ui-input);border-color:var(--ui-border);border-radius:13px}
.poll-kicker {font-size:11px;color:var(--ambient-accent,#3966a6)}
.poll-kicker>span,.poll-footer,.poll-privacy {font-size:11px;color:var(--ui-muted);line-height:1.8}
.post-poll h3 {font-size:16px;font-weight:500;color:var(--ui-text);line-height:1.9;margin:10px 0 16px}
.poll-choice {min-height:48px;padding:11px 13px;background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text);border-radius:10px}
.poll-label {font-size:14px;line-height:1.8;color:inherit}
.poll-percent {font-size:12px}.poll-percent small {font-size:11px;opacity:1;color:var(--ui-muted)}
.poll-choice.is-selected {border-color:var(--ambient-accent,#3966a6);background:var(--ui-surface);color:var(--ui-text)}
.poll-fill {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 10%,var(--ui-surface))}
html[data-ambient-mode="dark"] .poll-fill {background:color-mix(in srgb,var(--ambient-accent) 13%,var(--ui-surface))}
.poll-choice.is-selected .poll-fill,html[data-ambient-mode="dark"] .poll-choice.is-selected .poll-fill {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 18%,var(--ui-surface))}
.post-math .katex {font-size:1.12em}
.break-teaser {margin:0 0 22px;padding:13px 16px;border:1px solid var(--ui-border);border-radius:13px;background:var(--ui-surface);gap:12px}
.break-teaser-icon {width:36px;height:36px;background:color-mix(in srgb,var(--ambient-accent,#3966a6) 9%,var(--ui-surface));color:var(--ambient-accent,#3966a6)}
.break-teaser strong {font-size:13px;font-weight:500;color:var(--ui-text)}
.break-teaser small {font-size:11px;color:var(--ui-muted)}
.break-teaser-arrow {color:var(--ui-muted)}
.profile-cover {height:160px;border-radius:20px 20px 0 0;background:var(--ambient-sky,linear-gradient(120deg,#28455f,#526e85));overflow:hidden;border:1px solid #ffffff0f}
.profile-cover:before {background:linear-gradient(105deg,var(--ambient-cover,#263c57),transparent 90%);opacity:.6}
.profile-cover:after {display:block;content:"";position:absolute;inset:auto -25px -120px auto;width:360px;height:360px;border-radius:50%;border:1px solid #ffffff25;box-shadow:0 0 0 38px #ffffff08,0 0 0 76px #ffffff05;transform:none}
.profile-cover-copy {top:28px;left:28px;z-index:1}
.profile-cover-copy>small {font-size:11px;line-height:1.8;letter-spacing:0;color:#d4dfec}
.profile-cover-copy>strong {font-size:28px;line-height:1.6;font-weight:500;color:#fff;margin-top:8px}
.profile-summary {padding:0 26px 26px;margin-bottom:22px;background:var(--ui-surface);border-color:var(--ui-border);border-radius:0 0 20px 20px;box-shadow:var(--ui-shadow)}
.profile-main-photo {width:104px;height:104px;border:5px solid var(--ui-surface);margin-top:-43px;object-fit:cover}
.profile-edit-button {top:18px;right:22px;font-size:12px;min-height:38px}
.profile-summary h1 {font-size:24px;line-height:1.9;color:var(--ui-text);font-weight:600;margin-top:12px;overflow-wrap:anywhere}
.owner-tag {font-size:10px;line-height:1.6;font-weight:500;padding:3px 7px;margin-left:6px;vertical-align:middle;border-radius:6px}
.evolution-profile {margin:9px 0 12px}
.profile-username {font-size:13px;color:var(--ui-secondary);line-height:1.8;margin-top:6px}
.profile-summary>p {font-size:14px;line-height:1.9;color:var(--ui-secondary);margin-top:5px;overflow-wrap:anywhere}
.profile-summary .profile-facts {margin-top:16px;gap:12px 18px;flex-wrap:wrap;font-size:12px;line-height:1.8;color:var(--ui-muted)}
.profile-facts small {font-size:11px;color:var(--ui-muted)}
.community-presence {font-size:12px;line-height:1.8;color:var(--ui-muted)}
.community-presence.is-online {color:#367b61}
html[data-ambient-mode="dark"] .community-presence.is-online {color:#91cdb2}
.audit-profile-link {font-size:12px;margin-top:18px;min-height:40px;color:var(--ui-secondary);border-color:var(--ui-border)}
.rightbar {top:108px}
.right-card,.saichong-card {padding:20px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);margin-bottom:22px;box-shadow:var(--ui-shadow)}
.saichong-card-heading {gap:11px}
.saichong-card-heading>img {width:42px;height:42px;border-radius:13px}
.saichong-card-heading h2 {font-size:17px;font-weight:600;color:var(--ui-text);line-height:1.6}
.saichong-card-heading small {font-size:11px;color:var(--ui-muted)}
.saichong-card>p {font-size:12px;color:var(--ui-muted);line-height:1.9;margin:16px 0}
.saichong-visit {font-size:12px;line-height:1.5;min-height:40px;padding:9px 10px;border-radius:9px;background:var(--ui-soft);border-color:var(--ui-border);color:var(--ui-secondary)}
.community-gacha-link {font-size:12px;min-height:42px;color:var(--ui-secondary)}
.bot-manage-link {font-size:11px;min-height:32px;margin:4px auto 0;color:var(--ui-muted)}
.bot-badge {font-size:9px;border-radius:5px;line-height:1.6}
.online-heading {font-size:13px;font-weight:500;line-height:1.7;color:var(--ui-secondary);padding:0 3px;margin:22px 0 12px}
.online-count {font-size:10px;background:var(--ui-soft);color:var(--ui-secondary);padding:1px 6px}
.contacts>p {font-size:12px;color:var(--ui-muted);line-height:1.8;padding:0 3px}
.contacts+.text-button,.rightbar>.text-button {font-size:12px;min-height:40px;padding:8px 3px}
.contact {padding:10px 3px;gap:10px}
.contact strong {font-size:13px;color:var(--ui-text)}
.contact small {font-size:11px;color:var(--ui-muted)}
.contact:has(.evolution-contact) {position:relative;grid-template-rows:auto auto;gap:4px 10px;padding:12px 3px}
.contact:has(.evolution-contact)>.contact-avatar {grid-row:1/3;width:34px;height:34px}
.contact:has(.evolution-contact)>strong {grid-column:2;grid-row:1;align-self:end;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.contact:has(.evolution-contact)>.evolution-contact {grid-column:2;grid-row:2;align-self:start}
.contact:has(.evolution-contact)>small {position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.contact-avatar i {background:#55ab83;border-color:var(--ui-canvas)}
.content-grid {gap:16px}
.people-card {padding:24px 18px}
.people-card h3,.people-card h3 button {font-size:16px;line-height:1.9;color:var(--ui-text);overflow-wrap:anywhere}
.people-card p,.people-card .member-online {font-size:12px;line-height:1.8;color:var(--ui-muted)}
.people-card .people-avatar {width:76px;height:76px;margin-bottom:14px;background:var(--ui-soft)}
.member-search {background:var(--ui-surface);border-color:var(--ui-border);border-radius:12px}
.member-search input {font-size:14px;color:var(--ui-text)}
.primary-button,.secondary-button,.outline-button {font-size:13px;line-height:1.6;padding:10px 15px;min-height:42px;border-radius:10px;font-weight:500}
.primary-button {background:var(--ambient-accent,#3966a6);border-color:var(--ambient-accent,#3966a6);color:var(--ambient-button-text,#fff)}
.primary-button:hover {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 88%,#27374b)}
.secondary-button,.outline-button {background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-secondary)}
.outline-button:hover,.secondary-button:hover {background:var(--ui-soft)}
.text-button {font-size:12px;line-height:1.7;color:var(--ambient-accent,#3966a6)}
.empty-state h2 {font-size:20px;color:var(--ui-text)}
.empty-state p {font-size:14px;line-height:1.9;color:var(--ui-muted)}
.empty-state>span {background:var(--ui-soft);color:var(--ui-muted)}
.load-end {font-size:12px;color:var(--ui-muted);padding:22px 10px}
.modal-backdrop {background:#08121f99;backdrop-filter:blur(3px)}
.modal {border:1px solid var(--ui-border);border-radius:20px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 22px 90px #050e242e}
.modal-title {padding:20px 24px;border-color:var(--ui-border)}
.modal-title h2 {font-size:19px;font-weight:600;color:var(--ui-text)}
.modal-body,.compose-scroll {padding:24px}
.close-button {min-width:34px;min-height:34px;border-radius:10px;color:var(--ui-secondary);background:var(--ui-soft)}
.modal-user strong {font-size:14px;line-height:1.9;color:var(--ui-text);overflow-wrap:anywhere}
.form-field label {font-size:13px;font-weight:500;line-height:1.7;color:var(--ui-secondary)}
.form-field input,.form-field textarea,.form-field select {font-size:15px;line-height:1.6;min-height:44px;padding:11px 13px;border-radius:10px;background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-text)}
.form-field small,.small-note,.ai-disclosure {font-size:11px;line-height:1.8;color:var(--ui-muted)}
.settings-row {padding:19px 0;gap:16px;border-color:var(--ui-border)}
.settings-row strong {font-size:14px;line-height:1.8;font-weight:500;color:var(--ui-text)}
.settings-row small {font-size:12px;line-height:1.8;color:var(--ui-muted)}
.body-copy {font-size:14px;line-height:1.95;color:var(--ui-secondary)}
.post-textarea {font-size:16px;line-height:1.9;color:var(--ui-text)}
.compose-tools,.compose-sticky-footer {background:var(--ui-surface);border-color:var(--ui-border)}
.compose-sticky-footer {padding:14px 24px 20px}
.compose-tools button {font-size:12px;color:var(--ui-secondary)}
.post-extra-tools button,.math-insert button {font-size:12px;color:var(--ui-secondary);background:var(--ui-input);border-color:var(--ui-border);min-height:38px}
.compose-math,.compose-poll {background:var(--ui-input);border-color:var(--ui-border)}
.compose-math p,.compose-poll label,.compose-poll>small {color:var(--ui-muted);font-size:12px}
.compose-poll input,.compose-poll select {font-size:15px;line-height:1.6;min-height:44px;background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}
.compose-poll input::placeholder {font-size:13px}
.floating-panel {top:72px;right:max(24px,calc((100vw - 1304px)/2));border-color:var(--ui-border);border-radius:14px;background:var(--ui-surface);box-shadow:0 14px 48px #0e223a24}
.profile-menu button {font-size:13px;min-height:44px;color:var(--ui-secondary)}
.notification-row p {font-size:13px;line-height:1.8;color:var(--ui-secondary)}
.notification-row small {font-size:11px;color:var(--ui-muted)}
.dm-window {background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text);border-radius:18px;box-shadow:0 18px 70px #050e2440}
.dm-top,.dm-thread-head,.dm-compose {background:var(--ui-surface);border-color:var(--ui-border)}
.dm-sidebar,.dm-history,.dm-connection {background:var(--ui-input);border-color:var(--ui-border)}
.dm-top strong {font-size:17px;color:var(--ui-text)}
.dm-person-copy strong {font-size:14px;color:var(--ui-text)}
.dm-person-copy small,.dm-list-note,.dm-compose-note,.dm-connection {font-size:11px;line-height:1.8;color:var(--ui-muted)}
.dm-search {background:var(--ui-soft);border-color:var(--ui-border)}
.dm-search input {font-size:14px;color:var(--ui-text);background:transparent!important}
.dm-person:hover,.dm-person.is-selected {background:var(--ui-soft)}
.dm-message p {font-size:15px;line-height:1.85;background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
.dm-message.is-mine p {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 12%,var(--ui-surface));color:var(--ui-text);border-color:var(--ui-border)}
.dm-compose textarea {background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-text)}
.dm-compose>button {background:var(--ambient-accent,#3966a6);color:var(--ambient-button-text,#fff)}
.break-hero,.creative-hero,.saichong-welcome,.evo-current-card {border-radius:20px;padding:28px 30px}
.creative-hero {background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
.break-hero {min-height:224px;background:var(--ambient-sky,linear-gradient(110deg,#284760,#50808e))}
.break-hero h1,.creative-hero h1,.saichong-welcome h1,.evo-current-card h1 {font-size:30px;line-height:1.55;font-weight:600}
.break-hero p {font-size:13px;color:#e1e8f0;line-height:1.9}
.break-hero .section-kicker,.break-hero-note {font-size:11px;color:#d4dfeb;line-height:1.8}
.break-game,.creative-machine,.creative-result,.evo-journal {padding:24px}
.break-mode-switch,.evo-tabs {background:var(--ui-soft);border-color:var(--ui-border);border-radius:12px;padding:5px}
.break-mode-switch button,.evo-tabs button {font-size:13px;min-height:42px;border-radius:9px;color:var(--ui-secondary)}
.break-mode-switch button[aria-pressed="true"],.evo-tabs button[aria-pressed="true"] {background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}
.break-categories button,.creative-genres button {font-size:12px;min-height:36px;background:var(--ui-surface);color:var(--ui-secondary);border-color:var(--ui-border)}
.break-categories button[aria-pressed="true"],.creative-genres button[aria-pressed="true"] {background:color-mix(in srgb,var(--ambient-accent,#3966a6) 10%,var(--ui-surface));color:var(--ambient-accent,#3966a6);border-color:var(--ambient-accent,#3966a6)}
.break-question-heading h2 {font-size:21px;color:var(--ui-text);line-height:1.6}
.break-hints li,.break-options button {background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-text);font-size:14px}
.break-hints p,.break-options button {font-size:14px;line-height:1.8;color:var(--ui-secondary)}
.break-hints .is-covered p {color:var(--ui-muted)}
.break-hints .is-covered>span {color:var(--ui-muted);background:var(--ui-soft)}
.break-score,.break-source small,.break-footnote,.break-next .small-note,.break-feedback {font-size:11px;line-height:1.8;color:var(--ui-muted)}
.break-game-actions button,.break-next button {font-size:12px;min-height:38px}
.break-guess-form label {font-size:12px;color:var(--ui-secondary)}
.break-guess-form input {font-size:15px;min-height:44px;background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-text)}
.break-guess-form button {font-size:13px}
.break-notice,.break-waiting,.break-answer {background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-secondary)}
.break-notice,.break-waiting p,.break-answer>span,.break-answer p,.break-source small {font-size:12px;color:var(--ui-muted);line-height:1.9}
.break-waiting strong,.break-answer strong {color:var(--ui-text)}
.break-source>span {background:var(--ui-soft);color:var(--ui-secondary);font-size:11px}
.break-source>span.from-ai {background:color-mix(in srgb,#589e87 10%,var(--ui-surface));color:var(--ui-secondary)}
.break-answer.is-solved {background:color-mix(in srgb,#589e87 8%,var(--ui-surface));border-color:color-mix(in srgb,#589e87 45%,var(--ui-border))}
.break-answer.is-solved strong {color:var(--ui-text)}
.creative-hero p,.saichong-welcome>p,.evo-current-card p {font-size:14px;line-height:1.9;color:var(--ui-secondary)}
.creative-hero h1 em {color:var(--ambient-accent,#3966a6)}
.creative-props>div {background:var(--ui-input);border-color:var(--ui-border)}
.creative-props strong {font-size:14px;color:var(--ui-text)}
.creative-props small,.creative-source small,.creative-share-note,.creative-footnote {font-size:11px;color:var(--ui-muted);line-height:1.9}
.creative-mission {background:var(--ui-input);border-color:var(--ambient-accent,#3966a6)}
.creative-mission>span,.creative-source,.creative-notice {color:var(--ui-secondary)}
.creative-notice {background:var(--ui-input);font-size:13px;line-height:1.9}
.creative-story,.creative-question,.creative-mission p {font-size:15px;line-height:1.95;color:var(--ui-text)}
.evo-current-card,.evo-path-card,.evo-mystery-card,.evo-season-strip {background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}
.evo-current-card h1,.evo-path-copy>strong,.evo-round-note strong,.evo-gallery-heading h2 {color:var(--ui-text)}
.evo-current-card p,.evo-path-copy>small,.evo-round-note,.evo-season-strip,.evo-page-heading,.evo-catalog-footnote {color:var(--ui-muted);font-size:12px;line-height:1.9}
.evo-countdown,.evo-season-strip strong {font-size:12px;color:var(--ui-secondary)}
.evo-current-emblem {color:var(--ambient-accent,#3966a6)}
.evo-current-card .evolution-badge {max-width:100%;white-space:normal}
.evo-path-card:hover {transform:none;border-color:var(--ev)}
.evo-member-view {background:var(--ui-surface)}
.auth-layout {background:var(--ui-surface);color:var(--ui-text)}
.auth-story {background:var(--ambient-sky,linear-gradient(140deg,#243d56,#4b6e7d));padding:52px 11%}
.auth-story .brand {color:#fff}
.auth-story .brand small {color:#e0e8f0}
.auth-headline {margin-top:64px}
.auth-headline h1 {font-size:44px;font-weight:500;line-height:1.45;letter-spacing:-.8px;color:#fff}
.auth-headline em {color:#d1e7eb}
.auth-headline .eyebrow,.auth-headline p {color:#e0e8f0;font-size:14px;line-height:1.9;letter-spacing:0}
.auth-headline .eyebrow {font-size:12px}
.auth-image {height:240px;margin:24px -10% 0;overflow:hidden}
.auth-image img {width:100%;max-width:100%;height:100%;transform:none;object-fit:contain;object-position:center;border:0;border-radius:0;filter:none}
.auth-image>span {display:none}
.auth-content {padding:48px;min-width:0;background:var(--ui-surface)}
.auth-form-wrap {width:400px;max-width:100%}
.auth-form-wrap h2 {font-size:30px;font-weight:600;line-height:1.5;color:var(--ui-text)}
.auth-description {font-size:14px;line-height:1.9;color:var(--ui-muted);margin:10px 0 26px}
.lan-tag {font-size:11px;border-radius:7px;background:var(--ui-soft);border-color:var(--ui-border);color:var(--ui-secondary);letter-spacing:0}
.auth-tabs {background:var(--ui-soft);border-radius:12px;margin-bottom:24px;padding:5px}
.auth-tabs button {font-size:14px;min-height:42px;border-radius:9px;color:var(--ui-secondary)}
.auth-tabs button.active {background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow)}
.auth-form-wrap .form-field label {font-size:13px;color:var(--ui-secondary)}
.auth-form-wrap .form-field input {font-size:15px;padding:12px 14px;min-height:46px;border-radius:10px;background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-text)}
.auth-form-wrap .form-field small,.auth-storage {font-size:11px;line-height:1.9;color:var(--ui-muted)}
.auth-form-wrap .primary-button {font-size:14px;min-height:46px}
.audit-collection-notice {background:var(--ui-input);border-color:var(--ui-border);padding:15px;border-radius:10px}
.audit-collection-notice strong,.audit-collection-notice p {font-size:11px;line-height:1.9;color:var(--ui-muted)}
.auth-error {font-size:13px;line-height:1.8;color:#a63144;background:#fff0f2;border-radius:8px}
html[data-ambient-mode="dark"] .auth-error {color:#ffb1bc;background:#462637}
.host-tool-card,.member-admin-card {border-color:var(--ui-border);background:var(--ui-surface);border-radius:14px;color:var(--ui-text)}
.host-tool-card p,.host-tool-card small,.member-admin-card p,.member-admin-summary,.member-admin-row small {color:var(--ui-muted);line-height:1.9}
.member-admin-row strong {color:var(--ui-text)}
.storage-status,.bot-status-details,.ai-feedback,.ai-result {background:var(--ui-input);border-color:var(--ui-border);color:var(--ui-secondary)}
.storage-status strong,.ai-feedback strong {color:var(--ui-text)}
.ai-feedback p,.ai-retry-note,.bot-status-details,.bot-status-details strong {color:var(--ui-muted);font-size:12px;line-height:1.9}
.host-tool-heading h2,.host-download-heading,.host-choice strong,.host-review-title {color:var(--ui-text)}
.host-tools-intro,.host-lock-banner,.host-review-counts,.host-command,.member-admin-panel {background:var(--ui-input);color:var(--ui-secondary);border-color:var(--ui-border)}
.host-tool-heading p,.host-choice p,.host-tool-copy,.host-job p,.host-download-row small,.host-help-steps,.host-space-estimate,.host-review-counts>div,.host-review-counts dd,.host-check,.host-help-link,.member-admin-row>div>span,.member-protected {font-size:12px;color:var(--ui-muted);line-height:1.9}
.member-admin-panel input {font-size:15px;background:var(--ui-input);color:var(--ui-text);border-color:var(--ui-border);border-radius:10px;min-height:44px}
.member-admin-panel form>label {font-size:13px;color:var(--ui-secondary)}
.member-admin-summary {font-size:12px}
.member-admin-row strong {font-size:14px;line-height:1.8}
.host-review-counts>div,.host-review-counts dd {font-size:13px}
.cloud-audit>header {align-items:center;flex-wrap:wrap}
.cloud-audit header a {font-size:13px;color:var(--ui-muted)}
.cloud-audit h1 {font-size:28px;line-height:1.6;color:var(--ui-text);margin-top:8px}
.cloud-audit .card {padding:24px}
.cloud-audit p {font-size:12px;line-height:1.9;color:var(--ui-muted)}
.cloud-audit table {font-size:13px;line-height:1.8}
.cloud-audit th {font-size:12px;font-weight:500;color:var(--ui-muted);background:var(--ui-input)}
.cloud-audit td,.cloud-audit th {border-color:var(--ui-border)}
.mobile-bottom {background:var(--ui-surface);border-color:var(--ui-border);backdrop-filter:none}
.mobile-bottom>button {color:var(--ui-secondary)}
.mobile-bottom>button small {font-size:10px}
.mobile-bottom .mobile-compose {border-radius:13px;box-shadow:none}
.mobile-bottom button.active {color:var(--ambient-accent,#3966a6)}
#toast {font-size:13px;line-height:1.7;border-radius:12px;background:var(--ui-text);color:var(--ui-surface);box-shadow:0 8px 30px #050e2433}
@media(min-width:1600px) {
  .app-shell {max-width:1368px;gap:28px}
  .hero.pt-hero {height:224px}
}
@media(max-width:1250px) {
  .app-shell {grid-template-columns:204px minmax(0,1fr) 248px;gap:24px;padding:24px}
  .header {padding:0 24px;gap:24px}
  .header .brand {min-width:204px}
  .identity {padding:14px}
  .identity>span:last-child {right:14px}
  .hero.pt-hero {padding:27px 26px}
  .pt-hero h2 {font-size:29px}
  .ambient-clock {font-size:11px;margin-right:0;padding:6px 2px}
}
@media(max-width:1180px) {
  .app-shell {max-width:1056px;grid-template-columns:208px minmax(0,1fr);gap:26px}
  .rightbar {display:none}
  .header .brand {min-width:200px}
  .search-box {max-width:440px}
}
@media(max-width:900px) {
  .header {gap:20px}
  .header .brand {min-width:190px}
  .app-shell {grid-template-columns:192px minmax(0,1fr);gap:22px}
  .identity {padding:13px}
  .identity strong {font-size:14px}
  .nav-item {font-size:13px;gap:10px}
  .hero.pt-hero {height:220px;padding:25px}
  .pt-hero h2 {font-size:27px}
  .pt-hero .hero-content {max-width:72%}
  .pt-hero .hero-background {width:77%;right:-55px;opacity:.7}
  .pt-hero p {font-size:12px}
}
@media(max-width:760px) {
  .header {height:68px;padding:0 18px;gap:16px}
  .header .brand {min-width:0;font-size:23px;gap:9px}
  .header .brand small {font-size:9px;margin-top:0}
  .brand-mark {width:36px;height:36px;border-radius:11px}
  .header-actions {gap:7px}
  .header-actions .icon-button {width:36px;height:36px;border-radius:10px}
  .header-actions>.icon-button[data-action="messages"] {display:grid}
  .header .search-box {height:40px}
  .app-shell {display:block;max-width:720px;padding:22px 18px 98px}
  .sidebar {display:none}
  .sidebar.mobile-open {width:282px;top:68px;height:calc(100dvh - 68px);background:var(--ui-canvas);padding:18px 16px 90px;box-shadow:10px 0 40px #050e2430}
  .sidebar.mobile-open .identity {padding:16px}
  .sidebar.mobile-open .identity strong {font-size:15px}
  .sidebar.mobile-open .nav-item {font-size:14px;min-height:46px}
  .sidebar.mobile-open .evolution-badge {font-size:12px}
  .rightbar {display:none}
  .welcome-row h1 {font-size:24px}
  .welcome-row {margin-bottom:18px}
  .date-label {font-size:11px}
  .hero.pt-hero {height:212px;padding:25px;border-radius:18px}
  .pt-hero .hero-content {max-width:72%}
  .pt-hero h2 {font-size:29px}
  .pt-hero p {font-size:12px;line-height:1.8;max-width:245px}
  .pt-hero button {font-size:12px;min-height:40px;margin-top:16px}
  .pt-hero .hero-background {width:75%;right:-40px;bottom:-22px;opacity:.8}
  .ambient-orb {width:44px;height:44px;top:14px;right:15px}
  .ambient-orb>svg,html[data-sky="night"] .ambient-orb>svg {width:28px;height:28px}
  html[data-sky="noon"] .ambient-orb {width:48px;height:48px}
  html[data-sky="noon"] .ambient-orb>svg {width:32px;height:32px}
  .card,.stories-empty {border-radius:16px}
  .composer {padding:17px 18px 8px;margin-bottom:20px}
  .composer-actions button {font-size:12px}
  .post-head {padding:18px 18px 13px;gap:11px}
  .post-text {font-size:15px;padding:0 18px 17px}
  .post-stats {padding:12px 18px;font-size:11px}
  .post-actions {margin:0 12px}
  .post-actions>button {font-size:12px;gap:6px;padding:9px 5px}
  .post-actions svg {width:18px;height:18px}
  .post-poll {margin:4px 18px 17px;padding:15px}
  .comments-section {padding:15px 18px}
  .profile-cover {height:142px}
  .profile-cover-copy {left:23px;top:25px}
  .profile-cover-copy>strong {font-size:26px}
  .profile-summary {padding:0 22px 23px}
  .profile-main-photo {width:96px;height:96px;margin-top:-39px}
  .profile-summary h1 {font-size:23px}
  .profile-edit-button {right:18px;top:16px;min-height:38px}
  .page-header h1 {font-size:25px}
  .content-grid {gap:14px}
  .modal {border-radius:18px}
  .modal-title {padding:18px 20px}
  .modal-body,.compose-scroll {padding:20px}
  .compose-sticky-footer {padding:13px 20px 18px}
  .form-field input,.form-field textarea,.form-field select,.compose-poll input,.compose-poll select,.comment-form input {font-size:16px}
  .floating-panel {top:62px;right:16px;max-width:calc(100% - 32px)}
  .break-hero,.creative-hero,.saichong-welcome,.evo-current-card {padding:25px 23px;border-radius:18px}
  .break-hero h1,.creative-hero h1,.saichong-welcome h1,.evo-current-card h1 {font-size:28px}
  .break-hero {min-height:212px}
  .break-game,.creative-machine,.creative-result,.evo-journal {padding:21px 18px}
  .auth-layout {display:block}
  .auth-story {min-height:0;padding:26px 26px 32px}
  .auth-headline {margin-top:28px}
  .auth-headline h1 {font-size:32px;margin-top:12px;line-height:1.45}
  .auth-headline p {font-size:13px;line-height:1.9;margin-top:10px}
  .auth-image {display:none}
  .auth-content {padding:30px 26px 46px}
  .auth-form-wrap {width:100%;max-width:440px}
  .auth-form-wrap h2 {font-size:27px}
  .auth-form-wrap .form-field input {font-size:16px}
  .auth-story .brand {font-size:24px}
  .dm-window {border-radius:0}
}
@media(max-width:490px) {
  .header {padding:0 14px;gap:10px}
  .header .brand {font-size:22px;gap:8px}
  .header .brand small {font-size:8px}
  .header .brand-mark {width:35px;height:35px}
  .header-actions {gap:6px}
  .header-actions .icon-button {width:34px;height:34px}
  .header .search-box {display:none}
  .app-shell {padding:20px 14px 98px}
  .welcome-row {gap:10px}
  .welcome-row h1 {font-size:23px}
  .date-label {font-size:11px;max-width:none}
  .date-label svg {display:none}
  .section-kicker {font-size:10px}
  .hero.pt-hero {height:216px;padding:23px 21px}
  .pt-hero .hero-content {max-width:88%}
  .pt-hero h2 {font-size:27px;line-height:1.5}
  .pt-hero p {font-size:12px;max-width:210px;line-height:1.85}
  .pt-hero .hero-background,html[data-sky="night"] .pt-hero .hero-background {width:94%;right:-72px;bottom:-27px;opacity:.42}
  .pt-hero:after {background:linear-gradient(90deg,var(--ambient-cover,#253b54) 5%,transparent 95%);opacity:.7}
  .pt-hero .hero-label {font-size:11px;margin-bottom:11px}
  .pt-hero button {font-size:12px;margin-top:14px;min-height:39px}
  .stories-empty {min-height:76px;gap:14px;padding:11px 12px}
  .stories-empty .story-create {width:50px;min-width:50px;height:50px}
  .stories:not(.stories-empty) .story {flex-basis:94px;width:94px;height:132px}
  .story-empty-copy strong {font-size:13px}
  .story-empty-copy p {font-size:12px;max-width:none}
  .section-heading h2 {font-size:14px}
  .section-heading .small-note {font-size:10px}
  .story-section-tools {gap:8px}
  .composer {padding:16px 15px 7px}
  .composer-top {gap:10px}
  .composer-top .avatar {width:38px;height:38px}
  .compose-prompt {font-size:14px;min-height:44px;padding:10px 12px}
  .composer-actions {gap:5px}
  .composer-actions button {font-size:11px;gap:5px;min-height:36px}
  .composer-actions button svg {width:16px;height:16px}
  .composer-actions button:last-child {display:none}
  .post-head {padding:17px 16px 12px;gap:10px}
  .post-avatar {width:40px;height:40px}
  .post-author {font-size:14px;line-height:2}
  .post-meta {font-size:11px}
  .post-text {padding:0 16px 16px;font-size:15px}
  .post-stats {padding:11px 16px;font-size:11px;gap:8px;flex-wrap:wrap}
  .post-actions {margin:0 10px}
  .post-actions>button {font-size:11px;gap:5px;min-height:44px;padding:8px 4px}
  .post-actions svg {width:17px;height:17px}
  .post-poll {margin:4px 15px 16px;padding:14px}
  .poll-label {font-size:14px}
  .poll-kicker {font-size:10px}
  .poll-percent,.poll-footer,.poll-privacy {font-size:11px}
  .comments-section {padding:14px 16px}
  .comment-bubble {font-size:14px}
  .profile-summary {padding:0 20px 22px}
  .profile-summary h1 {font-size:22px}
  .profile-main-photo {width:92px;height:92px}
  .profile-edit-button {font-size:11px;padding:8px 10px}
  .owner-tag {font-size:9px;margin-left:3px}
  .profile-facts {gap:9px 12px}
  .profile-facts small {font-size:10px}
  .break-teaser {padding:12px 14px;gap:10px}
  .break-teaser strong {font-size:13px}.break-teaser small {font-size:11px}
  .break-hero h1,.creative-hero h1,.saichong-welcome h1,.evo-current-card h1 {font-size:27px}
  .break-hero p {font-size:13px}
  .break-question-heading h2 {font-size:20px}
  .break-talk-question {font-size:22px;line-height:1.8}
  .break-hints p,.break-options button {font-size:13px}
  .break-categories button {font-size:11px}
  .break-guess-form input {font-size:16px}
  .evo-current-card p {font-size:13px;max-width:100%}
  .evo-current-emblem {opacity:.12;pointer-events:none}
  .auth-story {padding:25px 24px 29px}
  .auth-headline h1 {font-size:31px}
  .auth-content {padding:29px 24px 44px}
}
@media(prefers-contrast:more) {
  :root {--ui-muted:#4c5b6d;--ui-border:#99a7b8}
  html[data-ambient-mode="dark"] {--ui-text:#fff;--ui-muted:#d2dce8;--ui-border:#7b8fa8}
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
