.sx-app {
    --sx-bg: #1a1a1a;
    --sx-surface: #242127;
    --sx-panel: #302b34;
    --sx-border: #514450;
    --sx-pink: #ff69b4;
    --sx-pink-hover: #ff1493;
    --sx-muted: #c6bfc7;
    --sx-green: #a2d6bd;
    display: block;
    padding: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    letter-spacing: 0;
}
.sx-app *, .sx-app *::before, .sx-app *::after { box-sizing: border-box; }
.sx-app [hidden] { display: none !important; }
.sx-app a { color: var(--sx-pink); text-decoration: none; }
.sx-app a:hover { text-decoration: underline; }
.sx-app button, .sx-app input, .sx-app textarea, .sx-app select { font: inherit; letter-spacing: 0; }
.sx-app button, .sx-app .sx-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: auto; min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid transparent;
    border-radius: 5px; background: var(--sx-pink); color: #21131c; font-weight: bold;
    cursor: pointer; text-decoration: none;
}
.sx-app button:hover, .sx-app .sx-button:hover { background: var(--sx-pink-hover); text-decoration: none; }
.sx-app a.sx-button, .sx-app a.sx-button:hover { color: #21131c !important; }
.sx-app button:disabled { opacity: .5; cursor: wait; }
.sx-app .sx-secondary { background: var(--sx-panel); color: #fff; border-color: var(--sx-border); }
.sx-app .sx-secondary:hover { background: #433741; }
.sx-app .sx-danger { background: transparent; color: #ffa5ad; border-color: #80525b; }
.sx-app .sx-danger:hover { background: #552731; }
.sx-app .sx-icon-button { flex-shrink: 0; width: 44px; height: 44px; min-height: 44px; padding: 10px; }
.sx-app svg { width: 20px; height: 20px; flex-shrink: 0; }
.sx-icons-ready .sx-icon-fallback { display: none; }
.sx-app :focus-visible { outline: 2px solid var(--sx-green); outline-offset: 3px; }
.sx-header { min-height: 76px; padding: 14px max(20px, calc((100% - 1120px) / 2)); display: flex; align-items: center; gap: 16px; background: rgba(20, 16, 21, .85); border-bottom: 1px solid var(--sx-border); }
.sx-app .sx-back { color: #fff; background: transparent; border-color: var(--sx-border); }
.sx-brand { font-size: 24px; font-weight: bold; white-space: nowrap; }
.sx-brand small { margin-left: 10px; color: var(--sx-muted); font-size: 12px; }
.sx-header-actions { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 14px; }
.sx-credits { color: var(--sx-muted); white-space: nowrap; }
.sx-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 48px; }
.sx-page-heading, .sx-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sx-catalog-description { max-width: 760px; margin: -8px 0 22px; color: var(--sx-muted); }
.sx-app h1 { margin: 0; font-size: 28px; color: #fff; overflow-wrap: anywhere; }
.sx-app h2 { font-size: 20px; margin: 0 0 12px; color: #fff; }
.sx-app h3 { font-size: 16px; margin: 20px 0 10px; }
.sx-app p { line-height: 1.55; overflow-wrap: anywhere; }
.sx-app label { display: block; color: var(--sx-muted); font-size: 14px; line-height: 1.4; }
.sx-app input:not([type=checkbox]), .sx-app textarea, .sx-app select {
    display: block; width: 100%; min-width: 0; padding: 11px 12px; margin: 6px 0 18px;
    border: 1px solid var(--sx-border); border-radius: 5px; background: #18151b; color: #fff;
}
.sx-app input::placeholder, .sx-app textarea::placeholder { color: #aaa1ac; }
.sx-app textarea { resize: vertical; }
.sx-search { width: 280px; }
.sx-search input { margin: 0 !important; }
.sx-character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sx-character-card { min-width: 0; border: 1px solid var(--sx-border); border-radius: 8px; overflow: hidden; background: var(--sx-surface); display: flex; flex-direction: column; }
.sx-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #18151b; }
.sx-portrait-wrap { position: relative; }
.sx-network-overlay { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(155, 18, 36, .76); color: #fff; padding: 20px; text-align: center; }
.sx-network-overlay svg { width: 56px; height: 56px; color: #ffe06a; }
.sx-network-overlay .sx-icon-fallback { color: #ffe06a; font-size: 48px; }
.sx-network-overlay strong { font-size: 20px; }
.sx-network-overlay [data-network-countdown] { font-size: 18px; font-variant-numeric: tabular-nums; }
.sx-app .sx-bio-toggle { display: none; position: absolute; z-index: 3; top: 8px; right: 8px; background: rgba(36, 33, 39, .92); }
.sx-bio-overlay { position: absolute; z-index: 2; inset: 6px; overflow: auto; padding: 12px; border: 1px solid #ffffff50; border-radius: 5px; background: rgba(20, 16, 21, .94); color: #fff; }
.sx-bio-overlay p { margin: 0; font-size: 13px; line-height: 1.4; }
.sx-character-info { padding: 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sx-character-info h2 { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.sx-character-info h2 small { font-size: 14px; line-height: 26px; color: var(--sx-muted); font-weight: normal; }
.sx-availability { display: flex; align-items: center; gap: 7px; min-height: 22px; margin-bottom: 10px; color: var(--sx-green); font-size: 12px; font-variant-numeric: tabular-nums; }
.sx-lamp { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #69ce8e; }
.sx-availability.is-offline { color: #f5a2a2; }
.sx-availability.is-offline .sx-lamp { background: #ef7474; }
.sx-character-info p { margin: 0 0 20px; font-size: 14px; color: var(--sx-muted); }
.sx-card-actions { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sx-price { font-size: 12px; color: var(--sx-muted); }
.sx-empty { padding: 50px 0; text-align: center; color: var(--sx-muted); }
.sx-coming-soon-card { min-width: 0; }
.sx-placeholder-portrait { display: grid; width: 100%; aspect-ratio: 4 / 5; place-items: center; border-bottom: 1px solid var(--sx-border); background: #18151b; color: var(--sx-muted); }
.sx-placeholder-portrait span { font-size: 88px; line-height: 1; font-weight: 300; }
.sx-coming-soon-card .sx-character-info p { display: block; }
.sx-status { border-left: 3px solid var(--sx-pink); padding: 10px 14px; margin: 0 0 20px; color: #ffd7e9; background: #32232f; }
.sx-status.is-success { border-color: var(--sx-green); color: var(--sx-green); }
.sx-dialog { width: min(420px, calc(100% - 32px)); border: 1px solid var(--sx-border); border-radius: 8px; background: var(--sx-surface); color: #fff; padding: 24px; }
.sx-dialog::backdrop, .sx-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.sx-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.sx-moderator-popup { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 14px; border: 0; background: rgba(10, 8, 12, .62); color: #fff; z-index: 5; }
.sx-moderator-popup[open] { display: grid; place-items: center; }
.sx-moderator-popup-card { width: min(340px, 100%); margin: 0; padding: 20px; border: 1px solid var(--sx-pink); border-radius: 8px; background: var(--sx-surface); box-shadow: 0 16px 42px #0009; }
.sx-moderator-popup-card p { margin: 0; }
.sx-chat-stage { display: flex; justify-content: center; align-items: flex-start; }
.sx-ad-slot { width: min(728px, 100%); margin: 0 auto 20px; }
.sx-ad-label { display: block; color: var(--sx-muted); font-size: 10px; line-height: 15px; text-align: center; }
.sx-ad-slot iframe { display: block; width: 100%; height: 90px; border: 0; background: transparent; }
.sx-chat-has-ad .sx-phone { height: min(780px, calc(100dvh - 280px)); }
@media (min-width: 768px) { .sx-ad-slot[data-desktop-enabled="0"] { display: none; } }
@media (max-width: 767px) {
    .sx-ad-slot { width: 300px; max-width: calc(100vw - 16px); position: relative; left: 50%; transform: translateX(-50%); margin-left: 0; margin-right: 0; }
    .sx-ad-slot[data-mobile-enabled="0"] { display: none; }
    .sx-ad-slot iframe { height: 50px; }
}
.sx-phone { position: relative; width: 430px; max-width: 100%; height: min(780px, calc(100dvh - 135px)); min-height: 340px; display: flex; flex-direction: column; border: 9px solid #0c0c0f; outline: 1px solid #635d65; border-radius: 36px; overflow: hidden; background: #18151b; box-shadow: 0 18px 50px #0007; }
.sx-phone-speaker { width: 70px; height: 6px; border-radius: 3px; background: #57515b; margin: 12px auto 8px; flex-shrink: 0; }
.sx-chat-header { display: flex; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--sx-border); }
.sx-chat-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; background: var(--sx-panel); }
.sx-chat-header h1 { font-size: 18px; flex: 1; min-width: 0; }
.sx-level { font-size: 11px; color: var(--sx-green); white-space: nowrap; padding-right: 4px; }
.sx-messages { padding: 20px 12px; flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(circle at 1px 1px, #ffffff06 1px, transparent 0) 0 0 / 18px 18px; }
.sx-message { max-width: 88%; min-width: 50px; background: #332b38; border: 1px solid #4a3d50; padding: 10px 12px; border-radius: 8px; align-self: flex-start; overflow-wrap: anywhere; }
.sx-message.is-user { background: #5b2445; border-color: #854163; align-self: flex-end; }
.sx-message.is-moderator { max-width: 96%; background: #25212a; border: 1px solid var(--sx-pink); color: #f1dbe8; align-self: center; text-align: center; font-size: 12px; }
.sx-message.is-notice { max-width: 96%; background: #25212a; border-color: #716578; color: #eee5ef; align-self: center; text-align: center; font-size: 12px; }
.sx-message.is-pending { opacity: .6; }
.sx-message p { white-space: pre-wrap; margin: 0; font-size: 14px; line-height: 1.5; }
.sx-message time { display: block; text-align: right; font-size: 10px; color: #d1bfcf; margin-top: 6px; }
.sx-app .sx-image-attachment { display: block; padding: 0; border: 0; margin-top: 8px; background: transparent; width: 100%; }
.sx-app .sx-image-attachment:hover { background: transparent; }
.sx-image-attachment img { display: block; width: 230px; max-width: 100%; max-height: 300px; object-fit: contain; border-radius: 5px; }
.sx-typing { display: flex; gap: 10px; align-items: center; min-height: 30px; padding: 6px 16px; color: var(--sx-muted); font-size: 12px; }
.sx-offline { margin: 0; padding: 10px 16px; border-top: 1px solid var(--sx-border); color: var(--sx-muted); font-size: 13px; text-align: center; overflow-wrap: anywhere; flex-shrink: 0; }
.sx-app .sx-network-message { margin: 0; padding: 10px 14px; background: #5a202b; color: #ffe8a6; font-size: 13px; text-align: center; flex-shrink: 0; }
.sx-dots { display: flex; gap: 3px; }
.sx-dots span { width: 5px; height: 5px; background: var(--sx-pink); border-radius: 50%; animation: sx-typing 1.2s infinite; }
.sx-dots span:nth-child(2) { animation-delay: .15s; }
.sx-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes sx-typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.sx-composer { display: flex; gap: 8px; align-items: flex-end; padding: 12px 10px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--sx-border); }
.sx-app .sx-composer textarea { flex: 1; margin: 0; min-height: 44px; max-height: 110px; resize: none; font-size: 16px; }
.sx-lightbox { width: max-content; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 48px 12px 12px; border: 1px solid var(--sx-border); border-radius: 8px; background: #17151b; }
.sx-lightbox img { display: block; max-width: min(100%, 1000px); max-height: calc(100dvh - 100px); width: auto; height: auto; object-fit: contain; }
.sx-app .sx-lightbox-close { position: absolute; top: 3px; right: 6px; background: transparent; color: #fff; }
.sx-admin-nav { display: flex; gap: 28px; padding: 0 0 16px; margin-bottom: 24px; border-bottom: 1px solid var(--sx-border); }
.sx-admin-nav a { padding: 6px 0; color: var(--sx-muted); }
.sx-admin-nav a[aria-current] { color: var(--sx-pink); border-bottom: 2px solid var(--sx-pink); }
.sx-admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
.sx-admin-list { border-right: 1px solid var(--sx-border); padding-right: 20px; }
.sx-new-character { width: 100% !important; margin-bottom: 16px !important; }
.sx-admin-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 10px; border-bottom: 1px solid var(--sx-border); color: #fff !important; overflow-wrap: anywhere; }
.sx-admin-row.is-selected { background: #422736; }
.sx-state { font-size: 10px; color: var(--sx-muted); flex-shrink: 0; }
.sx-state.is-active { color: var(--sx-green); }
.sx-app .sx-switch { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sx-switch input { width: 18px; height: 18px; accent-color: var(--sx-pink); margin: 0; }
.sx-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.sx-save-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.sx-admin-section { border-top: 1px solid var(--sx-border); padding-top: 24px; margin-top: 28px; }
.sx-muted { color: var(--sx-muted); font-size: 14px; }
.sx-upload-controls { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.sx-app .sx-upload-controls button { margin-bottom: 18px; }
.sx-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
.sx-photo-item { min-width: 0; margin: 0; border: 1px solid var(--sx-border); border-radius: 5px; overflow: hidden; background: var(--sx-surface); }
.sx-photo-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.sx-photo-item figcaption { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; font-size: 12px; color: var(--sx-muted); }
.sx-app .sx-photo-item .sx-icon-button { width: 32px; height: 32px; min-height: 32px; padding: 6px; border: 0; }
.sx-settings { max-width: 540px; }
.sx-settings h1 { margin-bottom: 24px; }
.sx-stats-filters { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--sx-border); padding-bottom: 20px; }
.sx-stats-filters > label:first-child { flex: 1; max-width: 360px; }
.sx-stats-filters select { margin-bottom: 0; }
.sx-app .sx-stats-check { display: flex; align-items: center; gap: 8px; }
.sx-stats-check input { width: 18px; height: 18px; accent-color: var(--sx-pink); }
.sx-stats-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.sx-stats-metrics > div { border-left: 2px solid var(--sx-border); padding-left: 12px; }
.sx-stats-metrics dt, .sx-stats-details dt { font-size: 12px; color: var(--sx-muted); }
.sx-stats-metrics dd { margin: 8px 0 0; font-size: 28px; font-weight: bold; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sx-stats-section { border-top: 1px solid var(--sx-border); padding-top: 22px; margin-top: 28px; }
.sx-stats-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.sx-stats-details dd { margin: 7px 0 0; font-size: 20px; font-variant-numeric: tabular-nums; }
.sx-stats-details small { font-size: 12px; color: var(--sx-green); margin-left: 6px; }
.sx-stats-chart { height: 160px; display: flex; gap: 4px; align-items: end; border-bottom: 1px solid var(--sx-border); margin-top: 20px; }
.sx-stats-bar { height: 100%; flex: 1; min-width: 0; display: flex; align-items: end; }
.sx-stats-bar span { display: block; width: 100%; background: var(--sx-green); border-radius: 2px 2px 0 0; }
.sx-stats-chart-labels { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; color: var(--sx-muted); }
.sx-stats-daily { margin-top: 18px; }
.sx-stats-daily summary { color: var(--sx-muted); cursor: pointer; }
.sx-stats-hours { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.sx-stats-hours > div { border-bottom: 1px solid var(--sx-border); padding: 8px 0; }
.sx-stats-hours span { display: block; font-size: 11px; color: var(--sx-muted); }
.sx-stats-hours strong { display: block; margin-top: 5px; font-size: 16px; }
.sx-stats-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.sx-stats-heading h2 { margin: 0; }
.sx-stats-scroll { max-width: 100%; overflow-x: auto; }
.sx-stats-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.sx-stats-table th, .sx-stats-table td { padding: 12px 10px; border-bottom: 1px solid var(--sx-border); text-align: right; }
.sx-stats-table th:first-child { text-align: left; min-width: 140px; max-width: 180px; white-space: normal; overflow-wrap: anywhere; }
.sx-stats-table thead { color: var(--sx-muted); }
.sx-failure-output { max-width: 420px; max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.sx-stats-note { margin-top: 28px; }
.sx-image-workshop { padding: 16px 0; margin-bottom: 24px; border-bottom: 1px solid var(--sx-border); }
.sx-generation-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sx-generation-tabs [aria-selected="false"] { background: var(--sx-panel); color: #fff; }
.sx-generation-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sx-generation-controls label { min-width: 85px; }
.sx-generation-controls select { margin-bottom: 0; }
.sx-selected-template { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.sx-selected-template img { width: 80px; height: 120px; object-fit: contain; background: #18151b; }
.sx-generated-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.sx-generated-item { margin: 0; min-width: 0; border: 1px solid var(--sx-border); border-radius: 5px; overflow: hidden; }
.sx-app .sx-generated-enlarge { display: block; width: 100%; padding: 0 !important; border: 0; border-radius: 0; background: #18151b; }
.sx-generated-enlarge img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: contain; }
.sx-generated-item figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; }
.sx-generated-item small { width: 100%; color: var(--sx-muted); }
.sx-generated-item label { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.sx-generated-item button { max-width: 100%; overflow-wrap: anywhere; }
.sx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
    .sx-stats-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sx-stats-hours { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sx-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .sx-admin-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
    .sx-form-grid { grid-template-columns: minmax(0, 1fr); }
    .sx-upload-controls { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 560px) {
    .sx-generated-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-chat-has-ad .sx-phone { height: calc(100dvh - 195px); }
    .sx-stats-filters > label:first-child { flex-basis: 100%; max-width: none; }
    .sx-stats-metrics, .sx-stats-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-stats-metrics dd { font-size: 24px; }
    .sx-stats-hours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sx-stats-chart { gap: 3px; }
    .sx-admin-nav { gap: 20px; }
    .sx-app .sx-shell button { font-size: inherit !important; padding: 10px 16px !important; min-height: 44px !important; line-height: 1.2 !important; }
    .sx-app .sx-icon-button { padding: 10px !important; }
    .sx-app .sx-image-attachment { padding: 0 !important; }
    .sx-app .sx-photo-item .sx-icon-button { width: 44px; height: 44px; padding: 10px !important; }
    .sx-header { min-height: 64px; padding: 10px 12px; gap: 10px; }
    .sx-brand { font-size: 20px; }
    .sx-brand small { display: block; margin: 0; font-size: 10px; }
    .sx-header-actions { gap: 10px; font-size: 12px; }
    .sx-shell { width: calc(100% - 24px); padding: 12px 0 24px; }
    .sx-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sx-character-card .sx-portrait { aspect-ratio: 4 / 3; object-position: center 30%; }
    .sx-coming-soon-card .sx-placeholder-portrait { aspect-ratio: 4 / 3; }
    .sx-character-info { padding: 8px; }
    .sx-character-info h2 { align-items: flex-start; gap: 4px; margin: 0 0 5px; font-size: 14px; line-height: 1.2; }
    .sx-character-info h2 small { flex: 0 0 auto; font-size: 10px; line-height: 1.2; }
    .sx-character-info .sx-availability { min-height: 16px; gap: 5px; margin-bottom: 6px; font-size: 10px; }
    .sx-character-info p { display: none; }
    .sx-coming-soon-card .sx-character-info p { display: block; margin-bottom: 8px; font-size: 10px; line-height: 1.3; }
    .sx-character-card .sx-card-actions { flex-wrap: nowrap; gap: 4px; }
    .sx-character-card .sx-card-actions .sx-button { min-width: 0; min-height: 44px; padding: 6px !important; gap: 4px; font-size: 11px !important; }
    .sx-character-card .sx-card-actions .sx-button svg { width: 15px; height: 15px; }
    .sx-character-card .sx-price { font-size: 10px; white-space: nowrap; }
    .sx-app .sx-bio-toggle { display: inline-flex; top: 5px; right: 5px; }
    .sx-bio-overlay { inset: 4px; padding: 8px; }
    .sx-bio-overlay p { font-size: 12px; }
    .sx-page-heading { align-items: stretch; flex-direction: column; gap: 10px; margin-bottom: 12px; }
    .sx-ad-slot { margin-bottom: 12px; }
    .sx-search { width: 100%; }
    .sx-app h1 { font-size: 24px; }
    .sx-admin-layout { grid-template-columns: minmax(0, 1fr); }
    .sx-admin-list { border-right: 0; border-bottom: 1px solid var(--sx-border); padding: 0 0 20px; max-height: 260px; overflow-y: auto; }
    .sx-phone { width: 100%; height: calc(100dvh - 100px); min-height: 300px; border: 0; outline: 1px solid var(--sx-border); border-radius: 8px; box-shadow: none; }
    .sx-phone-speaker { display: none; }
    .sx-chat-header h1 { font-size: 18px; }
    .sx-chat-stage { margin: -4px 0 -12px; }
}
@media (prefers-reduced-motion: reduce) { .sx-dots span { animation: none; } }