/* AionsHome 全站草纸统一主题 2026-07-03 */
:root {
  --paper-bg: #f4ede3;
  --paper-bg-soft: #f4ede3;
  --paper-text: #3f3429;
  --paper-text-2: rgba(63, 52, 41, .72);
  --paper-text-3: rgba(90, 79, 66, .44);
  --paper-line: rgba(112, 82, 55, .28);
  --paper-line-strong: rgba(112, 82, 55, .44);
  --paper-accent: #8b7d6b;
  --bg: #f4ede3 !important;
  --surface: #f4ede3 !important;
  --surface2: #f4ede3 !important;
  --border: rgba(112, 82, 55, .26) !important;
  --text: #3f3429 !important;
  --text2: rgba(63, 52, 41, .72) !important;
  --text3: rgba(90, 79, 66, .44) !important;
  --accent: #8b7d6b !important;
  --user-bg: transparent !important;
  --ai-bg: transparent !important;
}

html,
body,
.app,
.phone-screen,
.chat-area,
.messages,
.sidebar,
.conv-list,
.room-list,
.settings-page,
.settings-content,
.sub-page,
.page,
.main,
main,
section {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: var(--paper-text) !important;
}

body::before,
body::after,
.phone-screen::before,
.phone-screen::after,
.chat-area::before,
.chat-area::after {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

* {
  text-shadow: none !important;
}

/* 统一文字颜色 */
body,
input,
textarea,
select,
button,
.msg-bubble,
.bubble,
.message-text,
.msg-content,
.card,
.panel,
.modal,
.settings-card,
.settings-panel,
.global-search-panel {
  color: var(--paper-text) !important;
}

.hint,
.help,
.sub-title,
.summary-desc,
.card-subtitle,
.message-meta,
.msg-role-name,
.msg-time,
.conv-count,
.type-badge,
.settings-card .hint,
.settings-card .summary-title span,
.thought-title,
.thought-template-content {
  color: var(--paper-text-3) !important;
}

/* 顶栏、底栏、输入栏统一草纸色 */
.chat-header,
.input-area,
.composer,
.sidebar-header,
.sidebar-footer,
.room-tabs,
.settings-dock,
.header,
.topbar,
.navbar,
.footer,
.bottom-bar,
.global-search-head,
.global-search-results,
.global-search-panel,
.settings-panel,
.modal,
.modal-content,
.drawer,
.popover,
.config-popup,
.plus-menu,
.msg-menu,
.msg-menu-dropdown,
.msg-feedback-popover,
.msg-reasoning-popover {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: var(--paper-text) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.chat-header,
.input-area,
.composer,
.sidebar,
.sidebar-header,
.sidebar-footer,
.settings-dock,
.settings-card,
.settings-panel,
.modal,
.global-search-panel,
.config-popup,
.plus-menu,
.msg-menu,
.msg-menu-dropdown,
.msg-feedback-popover {
  border-color: var(--paper-line) !important;
}

/* 聊天与聊天室：去气泡色块，整体像一张纸 */
.msg-bubble,
.message-row .bubble,
.bubble,
.msg-row.user .msg-bubble,
.msg-row.assistant .msg-bubble,
.message-row.user .msg-content .bubble,
.message-row.aion .msg-content .bubble,
.message-row.connor .msg-content .bubble {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--paper-text) !important;
}

.msg-row.system .system-notice,
.system-notice,
.notice,
.toast {
  background: rgba(112, 82, 55, .08) !important;
  color: var(--paper-text-2) !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
}

/* 输入控件 */
input,
textarea,
select,
.form-input,
.route-input,
.model-input,
.composer textarea,
.input-area textarea,
.input-area input,
.chat-input,
#globalSearchInput {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  color: var(--paper-text) !important;
  -webkit-text-fill-color: var(--paper-text) !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
  caret-color: var(--paper-text) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(90, 79, 66, .42) !important;
  -webkit-text-fill-color: rgba(90, 79, 66, .42) !important;
}

button,
.btn,
.action-btn,
.send-btn,
.config-btn,
.settings-btn,
.icon-btn,
.home-btn,
.menu-btn,
.global-search-trigger {
  box-shadow: none !important;
  text-shadow: none !important;
}

button:not(.primary):not(.send-btn),
.config-btn,
.settings-btn,
.icon-btn,
.home-btn,
.menu-btn,
.plus-btn,
.mic-btn,
.emoji-btn {
  background: transparent !important;
  color: var(--paper-text) !important;
  border-color: var(--paper-line) !important;
}

.send-btn,
.action-btn.primary,
.btn-save,
.global-search-trigger {
  background: var(--paper-accent) !important;
  color: #f4ede3 !important;
  border-color: transparent !important;
}

/* 设置页：卡片也统一纸色，只保留淡线 */
.settings-card,
.custom-route-card,
.model-row,
.field,
.card,
.panel {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
  color: var(--paper-text) !important;
}

.settings-card summary,
.settings-card summary *,
.settings-card label,
.settings-card .form-label,
.settings-card .summary-title,
.settings-card .summary-title * {
  color: var(--paper-text) !important;
  -webkit-text-fill-color: var(--paper-text) !important;
}

/* Thought 使用淡色 */
.thought-template,
.thought-template *,
.thought-title,
.thought-template-content,
.thought-bulb,
.thought-arrow {
  color: rgba(90, 79, 66, .42) !important;
  stroke: rgba(90, 79, 66, .42) !important;
}

/* 首页强制单色草纸 */
.phone-screen,
.clock-widget,
.app-pages,
.app-pages-track,
.app-page,
.dock,
.dock::before {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
.dock::before {
  border-color: var(--paper-line-strong) !important;
}

/* 滚动条 */
::-webkit-scrollbar-track { background: transparent !important; }
::-webkit-scrollbar-thumb { background: rgba(112, 82, 55, .22) !important; }

/* 2026-07-03 草纸主题补丁：压平顶栏/底栏/输入框/按钮残留色块 */
html,
body {
  background: #f4ede3 !important;
}

/* 首页：搜索按钮所在横向色带压掉 */
.phone-screen .global-search-trigger,
.global-search-trigger {
  background: transparent !important;
  color: var(--paper-text) !important;
  border: 1px solid var(--paper-line-strong) !important;
  box-shadow: none !important;
}
.phone-screen .global-search-trigger::before,
.phone-screen .global-search-trigger::after,
.global-search-trigger::before,
.global-search-trigger::after {
  background: transparent !important;
  box-shadow: none !important;
}

/* 所有疑似顶栏/标题栏区域都与页面同色 */
.chat-header,
.chatroom-header,
.page-header,
.sub-page-header,
.memory-header,
.settings-header,
.topbar,
.header,
.toolbar,
.titlebar,
.navbar,
.app-header,
.diary-header,
.room-header,
.panel-header,
.modal-header,
.card-header,
section > header,
main > header {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 聊天：底部输入栏、输入框和按钮都同色，只保留棕色边线 */
.input-area,
.input-wrap,
.composer,
.chat-composer,
.message-composer,
.input-shell,
.input-bar,
.reply-box,
.send-row,
.bottom-composer,
.footer-composer {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
}
.input-area textarea,
.input-area input,
.composer textarea,
.composer input,
.chat-composer textarea,
.message-composer textarea,
#messageInput,
#msgInput,
#chatInput,
#globalSearchInput,
.memory-search input,
.search-bar input,
.search-input,
.add-memory-input,
.manual-memory-input,
.settings-page input,
.settings-page textarea,
.settings-page select {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: var(--paper-text) !important;
  -webkit-text-fill-color: var(--paper-text) !important;
  border: 1px solid var(--paper-line-strong) !important;
  box-shadow: none !important;
}

/* 设置页：修掉卡片内一条条浅白输入区背景 */
.settings-page .settings-card,
.settings-page .settings-card *,
.settings-page .custom-route-card,
.settings-page .model-row,
.settings-page .field,
.settings-page .card-body,
.settings-page .settings-grid,
.settings-page .section-actions,
.settings-page .settings-dock,
.settings-page .dock-actions {
  box-shadow: none !important;
  background-image: none !important;
}
.settings-page .settings-card,
.settings-page .custom-route-card,
.settings-page .model-row,
.settings-page .field,
.settings-page .settings-dock {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  border-color: var(--paper-line) !important;
}
.settings-page .settings-dock {
  border: 1px solid var(--paper-line-strong) !important;
  border-radius: 999px !important;
}
.settings-page .action-btn,
.settings-page .btn-save,
.settings-page .btn-cancel,
.settings-page button {
  box-shadow: none !important;
  text-shadow: none !important;
}
.settings-page .btn-cancel,
.settings-page .action-btn:not(.primary) {
  background: #f4ede3 !important;
  color: var(--paper-text) !important;
  border: 1px solid var(--paper-line-strong) !important;
}
.settings-page .btn-save,
.settings-page .action-btn.primary {
  background: #9c8d7a !important;
  color: #f4ede3 !important;
  border-color: transparent !important;
}

/* 记忆库：搜索框、标签按钮、列表卡片、底部操作区压平 */
.memory-page,
.memory-page *,
.mem-page,
.memory-container,
.memory-list,
.memory-card,
.memory-item,
.memory-toolbar,
.memory-actions,
.memory-footer,
.memory-controls,
.memory-form,
.memory-filters,
.filter-tabs,
.filter-tab,
.tab-btn,
.pill-btn,
.search-box,
.search-row,
.add-memory-row,
.timeline-card,
.log-card,
.record-card {
  box-shadow: none !important;
  background-image: none !important;
}
.memory-card,
.memory-item,
.timeline-card,
.log-card,
.record-card,
.memory-toolbar,
.memory-actions,
.memory-footer,
.memory-controls,
.memory-form,
.memory-filters,
.filter-tabs,
.filter-tab,
.tab-btn,
.pill-btn,
.search-box,
.search-row,
.add-memory-row {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  border-color: var(--paper-line) !important;
  color: var(--paper-text) !important;
}
.memory-page button,
.memory-container button,
.mem-page button {
  background: #f4ede3 !important;
  color: var(--paper-text) !important;
  border-color: var(--paper-line-strong) !important;
  box-shadow: none !important;
}
.memory-page button.primary,
.memory-container button.primary,
.mem-page button.primary {
  background: #9c8d7a !important;
  color: #f4ede3 !important;
}

/* 聊天室：设置面板/按钮/输入框残留色块 */
.settings-overlay,
.persona-page-overlay,
.settings-panel,
.persona-panel,
.room-item,
.room-tab,
.sidebar-mem-btn,
.chat-search-form,
.chat-search-form input,
.header-actions button,
.reply-once-btn,
.ai-chat-btn,
.plus-menu,
.plus-menu-item {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: var(--paper-text) !important;
  border-color: var(--paper-line) !important;
  box-shadow: none !important;
}

/* 所有卡片/按钮上常见的白色半透明背景统一取消 */
[style*="rgba(255"],
[style*="#fff"],
[style*="white"] {
  box-shadow: none !important;
}

/* AionsHome 草纸主题硬覆盖 v2：压过页面内更高权重的白底/色块 */
html body,
html body[data-theme],
html body[data-theme="light"],
html body[data-theme="dark"],
html body .app,
html body .phone-screen,
html body .chat-area,
html body .messages,
html body .settings-page,
html body .settings-content,
html body .sub-page,
html body .page,
html body .content,
html body .main-content {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
}

/* 首页：去掉搜索区域周围任何横向底色 */
html body .phone-screen,
html body .clock-widget,
html body .global-search-trigger,
html body .app-pages,
html body .app-pages-track,
html body .app-page,
html body .page-dots,
html body .dock,
html body .dock::before {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}
html body .global-search-trigger {
  color: #3f3429 !important;
  background: transparent !important;
  border: 1px solid rgba(112,82,55,.36) !important;
  box-shadow: none !important;
}

/* 通用：所有输入框/选择框/文本域不许再白底 */
html body input,
html body textarea,
html body select,
html body option,
html body .form-input,
html body .route-input,
html body .model-input,
html body .custom-route-card input,
html body .custom-route-card textarea,
html body .settings-card input,
html body .settings-card textarea,
html body .settings-card select,
html body .settings-page input,
html body .settings-page textarea,
html body .settings-page select,
html body .mem-search,
html body .mem-add-input,
html body .mem-add-row input,
html body .mem-add-row textarea,
html body .mem-add-row select,
html body .composer textarea,
html body .input-area textarea,
html body .input-area input,
html body .chat-search-form input,
html body #globalSearchInput,
html body #memorySearch,
html body #newMemoryContent {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  border-color: rgba(112,82,55,.30) !important;
  box-shadow: none !important;
}

/* 设置页：压过 body[data-theme=light] 那些更具体的 input/card 背景 */
html body[data-theme="light"] .settings-card,
html body[data-theme="light"] .settings-dock,
html body[data-theme="light"] .settings-card .card-body,
html body[data-theme="light"] .settings-card .field,
html body[data-theme="light"] .settings-card .custom-route-card,
html body[data-theme="light"] .settings-card .route-card,
html body[data-theme="light"] .settings-card .form-input,
html body[data-theme="light"] .settings-card input,
html body[data-theme="light"] .settings-card textarea,
html body[data-theme="light"] .settings-card select,
html body .settings-page .settings-card,
html body .settings-page .settings-card .card-body,
html body .settings-page .settings-card .field,
html body .settings-page .settings-card .custom-route-card,
html body .settings-page .settings-card .route-card,
html body .settings-page .settings-card input,
html body .settings-page .settings-card textarea,
html body .settings-page .settings-card select,
html body .settings-page .settings-dock {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
}
html body .settings-page .settings-card,
html body .settings-page .settings-dock,
html body .settings-page input,
html body .settings-page textarea,
html body .settings-page select {
  border-color: rgba(112,82,55,.32) !important;
}
html body .settings-page .settings-dock {
  border-radius: 999px !important;
}
html body .settings-page .action-btn.primary,
html body .settings-page .btn-save,
html body .settings-page .section-actions .btn-save {
  background: #8b7d6b !important;
  background-color: #8b7d6b !important;
  color: #f4ede3 !important;
  -webkit-text-fill-color: #f4ede3 !important;
  box-shadow: none !important;
}
html body .settings-page .action-btn:not(.primary),
html body .settings-page .btn-cancel,
html body .settings-page .section-actions .btn-cancel {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  box-shadow: none !important;
}

/* 聊天页/聊天室：顶栏、底栏、输入区统一成纸色 */
html body .chat-header,
html body .input-area,
html body .composer,
html body .composer > *,
html body .chat-search-panel,
html body .chat-search-form,
html body .chat-search-results,
html body .sidebar,
html body .sidebar-header,
html body .sidebar-footer,
html body .room-tabs,
html body .sidebar-mem-btn,
html body .settings-overlay,
html body .settings-panel,
html body .persona-page-overlay,
html body .persona-panel {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .msg-bubble,
html body .bubble,
html body .message-row .bubble,
html body .msg-row .msg-bubble,
html body .voice-bubble {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
html body .plus-btn,
html body .mic-btn,
html body .emoji-btn,
html body .send-btn,
html body .composer .send-btn,
html body .input-area button {
  box-shadow: none !important;
  background-image: none !important;
}

/* 记忆库：搜索、tab、卡片、添加行和底部操作区全部纸色 */
html body .mem-page,
html body .memory-page,
html body .mem-wrap,
html body .mem-toolbar,
html body .mem-tabs,
html body .mem-tab,
html body .mem-tab.active,
html body .mem-list,
html body .mem-entry,
html body .mem-entry.mem-return-focus,
html body .mem-entry.mem-unresolved,
html body .mem-actions,
html body .mem-add-row,
html body .anchor-row,
html body .digest-row,
html body .source-panel,
html body .source-toolbar,
html body .source-content,
html body .source-overlay .source-panel {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #3f3429 !important;
}
html body .mem-tab,
html body .mem-tab.active,
html body .mem-entry,
html body .mem-search,
html body .mem-add-row input,
html body .mem-add-row textarea,
html body .mem-add-row select,
html body .anchor-row select,
html body .digest-row select {
  border-color: rgba(112,82,55,.32) !important;
}
html body .mem-entry + .mem-entry,
html body .mem-entry {
  border-color: rgba(112,82,55,.22) !important;
}
html body .mem-tab.active {
  color: #3f3429 !important;
  font-weight: 700 !important;
}
html body .mem-add-row button,
html body .btn-digest,
html body .compress-apply-btn,
html body .source-toolbar .source-save {
  background: #8b7d6b !important;
  color: #f4ede3 !important;
  border-color: #8b7d6b !important;
  box-shadow: none !important;
}

/* 浏览器/PWA 安全区、底部区域不要产生额外色块 */
html body .safe-area,
html body .bottom-safe,
html body .bottom-spacer,
html body .mobile-bottom,
html body .dock-spacer,
html body .footer-spacer {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
}

/* AionsHome 草纸主题 v3：精确修补顶部/底部栏与首页搜索横条 */
:root,
html,
body {
  --aion-safe-bg: #f4ede3 !important;
  --paper-bg: #f4ede3 !important;
}

/* common.css 子页面顶部：设置页、记忆库等 */
html.aion-app:not(.aion-iframe) .sub-page::before,
html body .sub-page::before,
html body .sub-page,
html body .top-bar,
html body .top-bar::before,
html body .top-bar::after,
html body .page-content,
html body .settings-page .top-bar,
html body .settings-page .page-content,
html body .settings-page .settings-content,
html body .memory-page .top-bar,
html body .memory-page .page-content,
html body .mem-page .top-bar,
html body .mem-page .page-content {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .top-bar {
  border-bottom-color: rgba(112,82,55,.18) !important;
}
html body .top-bar .back-btn,
html body .top-bar h2,
html body .top-bar h2 * {
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
}

/* 聊天页：顶部 header 和底部输入整条栏 */
html body .app,
html body .chat-area,
html body .chat-header,
html body .chat-header::before,
html body .chat-header::after,
html body .messages,
html body .input-area,
html body .input-area::before,
html body .input-area::after,
html body .chat-area > .input-area,
html body .chat-area > .chat-header {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .chat-header {
  border-bottom: 1px solid rgba(112,82,55,.12) !important;
}
html body .input-area {
  border-top: 1px solid rgba(112,82,55,.12) !important;
}
html body .input-wrap,
html body .input-container,
html body .composer-wrap,
html body .preview-area,
html body .preview-area.has-files,
html body .chat-toolbar,
html body .mobile-composer,
html body .input-row {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .input-area textarea,
html body .input-area input,
html body .input-area .text-input,
html body .input-area .message-input,
html body #msgInput,
html body #input,
html body textarea#messageInput {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  border-color: rgba(112,82,55,.30) !important;
  box-shadow: none !important;
}

/* 聊天室也同步 */
html body .composer,
html body .composer::before,
html body .composer::after,
html body .composer textarea,
html body .composer .plus-btn,
html body .composer .send-btn,
html body .chat-header .header-actions,
html body .chat-header .header-actions button {
  background-image: none !important;
  box-shadow: none !important;
}
html body .composer,
html body .composer textarea,
html body .chat-header {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
}

/* 首页：搜索按钮所在区域不要有整块浅色横条 */
html body .phone-screen,
html body .phone-screen > *,
html body .clock-widget,
html body .global-search-trigger,
html body .app-pages,
html body .app-pages::before,
html body .app-pages::after,
html body .app-pages-track,
html body .app-page,
html body .page-dots,
html body .dock,
html body .dock::before {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  filter: none !important;
  box-shadow: none !important;
}
html body .global-search-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  align-self: flex-start !important;
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  border: 1px solid rgba(112,82,55,.34) !important;
  color: #3f3429 !important;
}

/* 记忆库残留色块：徽标、卡片内标签、滚动容器 */
html body .mem-list,
html body .mem-entry,
html body .mem-entry *,
html body .mem-type,
html body .mem-importance,
html body .mem-count,
html body .memory-actions-row,
html body .anchor-row,
html body .mem-add-row {
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .mem-type {
  color: rgba(120,60,40,.78) !important;
  border: 1px solid rgba(112,82,55,.18) !important;
}

/* 设置页内部浅条块 */
html body .settings-card .field,
html body .settings-card .route-card,
html body .settings-card .custom-route-card,
html body .settings-card .settings-grid,
html body .settings-card .compact,
html body .settings-card .section-actions,
html body .settings-card .card-body {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* AionsHome 草纸主题 v4：独立页面与弹层补全 */
/* 全局更强：凡是常见 UI 容器都回到草纸色 */
html body [class*="header"],
html body [class*="Header"],
html body [class*="top-bar"],
html body [class*="toolbar"],
html body [class*="Toolbar"],
html body [class*="bar"],
html body [class*="Bar"],
html body [class*="footer"],
html body [class*="Footer"],
html body [class*="bottom"],
html body [class*="Bottom"],
html body [class*="composer"],
html body [class*="Composer"],
html body [class*="panel"],
html body [class*="Panel"],
html body [class*="card"],
html body [class*="Card"],
html body [class*="modal"],
html body [class*="Modal"],
html body [class*="drawer"],
html body [class*="Drawer"],
html body [class*="sheet"],
html body [class*="Sheet"],
html body [class*="list"],
html body [class*="List"],
html body [class*="item"],
html body [class*="Item"] {
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 但不要给正文文本强行加背景 */
html body p,
html body span,
html body strong,
html body em,
html body h1,
html body h2,
html body h3,
html body h4,
html body label,
html body small {
  background-color: transparent !important;
  background-image: none !important;
}

/* 朋友圈 */
html body .moments-page,
html body .moments-list,
html body .moment-card,
html body .moment-header,
html body .moment-content,
html body .moment-actions,
html body .moment-comments,
html body .comment-item,
html body .publish-modal,
html body .comment-modal,
html body .comment-action-sheet,
html body .comment-action-menu,
html body .publish-preview,
html body .publish-image-grid,
html body .load-more-btn {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .moment-card {
  border-color: rgba(112,82,55,.20) !important;
}
html body .publish-overlay,
html body .comment-overlay,
html body .comment-action-overlay {
  background: rgba(63,52,41,.20) !important;
}
html body .publish-fab,
html body .publish-modal-btn,
html body .comment-modal-btn {
  background: #8b7d6b !important;
  color: #f4ede3 !important;
  border-color: #8b7d6b !important;
}

/* 聊天室：空态、侧栏、设置弹层、记忆弹层 */
html body .sidebar-backdrop {
  background: rgba(63,52,41,.22) !important;
}
html body .empty-state,
html body .empty-room,
html body .room-empty,
html body .chat-empty,
html body .bottom-fade-overlay,
html body .settings-overlay,
html body .memory-overlay,
html body .persona-page-overlay,
html body .persona-history-modal,
html body .persona-page-panel,
html body .memory-panel,
html body .settings-panel,
html body .ambient-buffer-panel,
html body .persona-evolution-panel,
html body .persona-card,
html body .room-item,
html body .room-tab,
html body .sidebar-mem-btn,
html body .mem-card,
html body .mem-item,
html body .memory-search,
html body #memForm {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .bottom-fade-overlay {
  display: none !important;
}

/* 娱乐室 / playground */
html body .playground-page,
html body .pg-app,
html body .pg-main,
html body .pg-header,
html body .pg-card,
html body .pg-panel,
html body .pg-section,
html body .pg-tools,
html body .pg-tool,
html body .pg-tool-chip,
html body .pg-server-card,
html body .pg-empty,
html body .pg-console,
html body .pg-inputbar,
html body .pg-input-bar,
html body .pg-commandbar,
html body .pg-command-bar,
html body .pg-bottom,
html body .pg-footer {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .pg-tool-chip,
html body .pg-tool,
html body .pg-card {
  border-color: rgba(112,82,55,.24) !important;
}

/* 小剧场 / theater */
html body .theater-app,
html body .theater-page,
html body .theater-shell,
html body .tm-app,
html body .tm-shell,
html body .tm-chat,
html body .tm-header,
html body .tm-messages,
html body .tm-input,
html body .tm-input-area,
html body .tm-composer,
html body .tm-sidebar,
html body .tm-panel,
html body .tm-modal,
html body .stage,
html body .stage-chat,
html body .chat-container,
html body .chat-main,
html body .chat-input-area,
html body .message-input-area {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 斗地主 */
html body .doudizhu-page,
html body .game-page,
html body .game-root,
html body .game-table,
html body .table-panel,
html body .player-panel,
html body .player-card,
html body .hand-panel,
html body .card-area,
html body .game-controls,
html body .settlement-modal,
html body .result-modal,
html body .modal-card,
html body .round-result,
html body .game-dialog {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .modal-backdrop,
html body .game-overlay,
html body .overlay {
  background: rgba(63,52,41,.24) !important;
}
html body .playing-card,
html body .poker-card {
  background: #f4ede3 !important;
  border-color: rgba(112,82,55,.36) !important;
}

/* 活动日志 */
html body .activity-page,
html body .activity-root,
html body .activity-toolbar,
html body .activity-panel,
html body .activity-card,
html body .activity-log,
html body .activity-list,
html body .log-list,
html body .log-item,
html body .timeline,
html body .timeline-item,
html body .filter-row,
html body .filter-panel,
html body .ai-toggle,
html body .live-dot {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 定位地图 */
html body .location-page,
html body .location-root,
html body .location-card,
html body .location-grid,
html body .loc-card,
html body .loc-panel,
html body .map-panel,
html body .map-card,
html body .poi-list,
html body .poi-item,
html body .config-panel,
html body .config-row,
html body .sync-location,
html body .location-actions {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .sync-location,
html body .location-page button,
html body .location-root button {
  border-color: rgba(112,82,55,.34) !important;
}

/* 日程管理 */
html body .schedule-page,
html body .schedule-root,
html body .schedule-card,
html body .schedule-panel,
html body .schedule-list,
html body .schedule-empty,
html body .schedule-form,
html body .schedule-row,
html body .schedule-actions,
html body .calendar-card,
html body .empty-card {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 其它独立小页面兜底 */
html body .wishes-page,
html body .worldbook-page,
html body .health-page,
html body .monitor-page,
html body .camera-page,
html body .diary-page,
html body .reading-page,
html body .gift-page,
html body .fund-page,
html body .seeky-page,
html body .xhs-page,
html body .ghost-page,
html body .pet-page,
html body .card-list,
html body .content-card,
html body .form-card,
html body .status-card {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 边框统一淡棕 */
html body [class*="card"],
html body [class*="Card"],
html body [class*="panel"],
html body [class*="Panel"],
html body [class*="modal"],
html body [class*="Modal"],
html body [class*="input"],
html body [class*="Input"],
html body [class*="select"],
html body [class*="Select"],
html body [class*="btn"],
html body [class*="Btn"],
html body button,
html body input,
html body textarea,
html body select {
  border-color: rgba(112,82,55,.30) !important;
}

/* AionsHome 草纸主题 v5：最终纸色重置层
   原则：页面像一整张 #f4ede3 的纸；普通容器透明，控件同色纸底；文字统一深棕可读。 */
:root,
html,
body {
  --paper-bg: #f4ede3 !important;
  --paper-ink: #3f3429 !important;
  --paper-muted: rgba(90,79,66,.52) !important;
  --paper-faint: rgba(90,79,66,.34) !important;
  --paper-line: rgba(112,82,55,.30) !important;
  --paper-line-soft: rgba(112,82,55,.18) !important;
  --paper-accent: #8b7d6b !important;
  --bg: #f4ede3 !important;
  --surface: #f4ede3 !important;
  --surface2: #f4ede3 !important;
  --card: #f4ede3 !important;
  --panel: #f4ede3 !important;
  --border: rgba(112,82,55,.30) !important;
  --text: #3f3429 !important;
  --text2: rgba(90,79,66,.62) !important;
  --text3: rgba(90,79,66,.42) !important;
  --accent: #8b7d6b !important;
  --aion-safe-bg: #f4ede3 !important;
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  color: #3f3429 !important;
}

html,
body,
body > * {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
}

/* 普通布局容器全部透明，消除不同色块和缝隙 */
html body div,
html body main,
html body section,
html body article,
html body aside,
html body header,
html body footer,
html body nav,
html body form,
html body ul,
html body ol,
html body li,
html body table,
html body tbody,
html body thead,
html body tr,
html body td,
html body th,
html body details,
html body summary {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* 页面根、滚动区、顶部/底部安全区必须是纸色 */
html body .sub-page,
html body .page,
html body .page-content,
html body .content,
html body .main,
html body .app,
html body .phone-screen,
html body .chat-area,
html body .messages,
html body .top-bar,
html body .chat-header,
html body .input-area,
html body .composer,
html body .sidebar,
html body .settings-page,
html body .settings-content,
html body .memory-page,
html body .mem-page,
html body .moments-page,
html body .theater-page,
html body .playground-page,
html body .location-page,
html body .schedule-page,
html body .activity-page,
html body .doudizhu-page,
html body .wishes-page,
html body .worldbook-page,
html body .safe-area,
html body .bottom-safe,
html body .bottom-spacer,
html body .footer-spacer,
html.aion-app:not(.aion-iframe) .sub-page::before {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 文本统一可读：先全部深棕，再把次级类降淡 */
html body,
html body *:not(img):not(svg):not(path):not(video):not(canvas) {
  color: #3f3429 !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html body .muted,
html body .hint,
html body .help,
html body .desc,
html body .subtitle,
html body .sub-title,
html body .meta,
html body .time,
html body .date,
html body .count,
html body .empty,
html body .placeholder,
html body .secondary,
html body .message-meta,
html body .msg-time,
html body .msg-role-name,
html body .mem-meta,
html body .mem-count,
html body .form-hint,
html body .card-subtitle,
html body .summary-desc,
html body .thought-template,
html body .thought-template * {
  color: rgba(90,79,66,.50) !important;
  -webkit-text-fill-color: rgba(90,79,66,.50) !important;
}

/* 控件：同色纸底 + 淡棕边框，不再白底/灰底/彩色底 */
html body input,
html body textarea,
html body select,
html body button,
html body .btn,
html body .button,
html body .tab,
html body .tabs button,
html body .mem-tab,
html body .action-btn,
html body .icon-btn,
html body .back-btn,
html body .menu-btn,
html body .home-btn,
html body .settings-btn,
html body .plus-btn,
html body .send-btn,
html body .mic-btn,
html body .emoji-btn,
html body .publish-fab,
html body .form-input,
html body .route-input,
html body .model-input,
html body .memory-search,
html body .mem-search,
html body .comment-modal-input,
html body .publish-modal textarea,
html body .composer textarea,
html body .input-area textarea,
html body .input-area input,
html body .global-search-trigger {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  border-color: rgba(112,82,55,.30) !important;
  box-shadow: none !important;
  outline-color: rgba(112,82,55,.34) !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body input::placeholder,
html body textarea::placeholder {
  color: rgba(90,79,66,.38) !important;
  -webkit-text-fill-color: rgba(90,79,66,.38) !important;
  opacity: 1 !important;
}

/* 卡片/弹窗/抽屉/列表项：不允许再有白底或灰底，统一纸底/透明 */
html body .card,
html body .panel,
html body .modal,
html body .modal-content,
html body .drawer,
html body .sheet,
html body .popover,
html body .dropdown,
html body .menu,
html body .list,
html body .list-item,
html body .item,
html body .settings-card,
html body .custom-route-card,
html body .route-card,
html body .mem-entry,
html body .moment-card,
html body .comment-modal,
html body .publish-modal,
html body .settings-panel,
html body .memory-panel,
html body .persona-page-panel,
html body .pg-card,
html body .pg-panel,
html body .loc-card,
html body .schedule-card,
html body .activity-card,
html body .modal-card,
html body .result-modal,
html body .settlement-modal {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  border-color: rgba(112,82,55,.24) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 气泡、回复引用、代码块也不要白色块；只保留很淡边框 */
html body .msg-bubble,
html body .bubble,
html body .voice-bubble,
html body .reply-card,
html body .quote,
html body blockquote,
html body pre,
html body code,
html body .ai-reply,
html body .comment-content,
html body .moment-comment,
html body .claude-reply {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  box-shadow: none !important;
  border-color: rgba(112,82,55,.16) !important;
}

/* 高亮/标签/状态小块：不要白块，改成透明纸色 */
html body .tag,
html body .badge,
html body .label,
html body .chip,
html body .pill,
html body .mem-type,
html body .type-badge,
html body .status,
html body .status-card,
html body .tool-chip,
html body .pg-tool-chip {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: rgba(90,79,66,.62) !important;
  -webkit-text-fill-color: rgba(90,79,66,.62) !important;
  border-color: rgba(112,82,55,.20) !important;
  box-shadow: none !important;
}

/* 开关保留形状，但颜色收进棕灰体系 */
html body .toggle,
html body .switch,
html body .toggle-slider,
html body input[type="checkbox"] + span,
html body input[type="checkbox"] + .slider {
  background: rgba(139,125,107,.28) !important;
  border-color: rgba(112,82,55,.24) !important;
  box-shadow: none !important;
}
html body input:checked + .toggle-slider,
html body input:checked + .slider,
html body .toggle.on,
html body .switch.on,
html body .active-toggle {
  background: rgba(139,125,107,.68) !important;
}

/* 分隔线统一，避免中间出现异色缝隙 */
html body hr,
html body .divider,
html body .line,
html body [class*="divider"],
html body [class*="Divider"] {
  background: rgba(112,82,55,.18) !important;
  border-color: rgba(112,82,55,.18) !important;
  color: rgba(112,82,55,.18) !important;
}

/* overlay 允许半透明遮罩，但不再黑得突兀 */
html body .overlay,
html body .modal-backdrop,
html body .settings-overlay,
html body .memory-overlay,
html body .persona-page-overlay,
html body .publish-overlay,
html body .comment-overlay,
html body .source-overlay,
html body .sidebar-backdrop,
html body .game-overlay {
  background: rgba(63,52,41,.20) !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* 特殊页面：愿望池允许大背景，但去掉灰黑暗角 */
html body .wish-page,
html body .wishes-page,
html body .wish-root,
html body .wish-bg,
html body .wish-stage {
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* AionsHome 草纸主题 v6：局部例外——许愿池字体、Seeky 水族箱恢复海洋色 */
/* 许愿池：标题和按钮使用苹果默认字体，按钮字号小两号 */
html body .wish-title,
html body .wish-title h1,
html body .wish-title p,
html body .wish-fancy-btn,
html body .wish-scene-title,
html body .wish-scene-primary,
html body .wish-implement-option,
html body .wish-scene-link,
html body .wish-scene-cancel {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
  text-shadow: none !important;
}
html body .wish-title h1 {
  font-weight: 800 !important;
  font-size: clamp(48px, 14vw, 74px) !important;
  letter-spacing: -1.2px !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
}
html body .wish-title p {
  font-size: clamp(14px, 3.7vw, 18px) !important;
  font-weight: 500 !important;
  color: rgba(63,52,41,.76) !important;
  -webkit-text-fill-color: rgba(63,52,41,.76) !important;
}
html body .wish-fancy-btn {
  min-height: 58px !important;
  font-size: clamp(18px, 5vw, 24px) !important;
  font-weight: 700 !important;
  letter-spacing: -.2px !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
}
html body .wish-fancy-btn::before {
  background: #f4ede3 !important;
  filter: none !important;
  border: 1px solid rgba(112,82,55,.24) !important;
}

/* Seeky：只有水族箱内部恢复浅海洋色，外层页面继续草纸 */
html body .seeky-app .aquarium {
  background:
    radial-gradient(circle at 24% 14%, rgba(255,255,255,0.68), transparent 20%),
    radial-gradient(circle at 78% 12%, rgba(255,232,181,0.24), transparent 22%),
    linear-gradient(180deg, rgba(190,246,252,0.88) 0%, rgba(94,205,232,0.82) 45%, rgba(34,140,204,0.86) 82%),
    linear-gradient(0deg, rgba(239,207,139,0.95) 0 17%, transparent 17%) !important;
  background-color: #9de7f2 !important;
  border: 1px solid rgba(65,142,178,.22) !important;
  box-shadow:
    inset 0 24px 48px rgba(255,255,255,0.38),
    inset 0 -34px 42px rgba(8,76,129,0.22) !important;
  overflow: hidden !important;
}
html body .seeky-app .aquarium::before {
  background:
    linear-gradient(105deg, transparent 4%, rgba(255,255,255,0.32) 10%, transparent 17%),
    linear-gradient(112deg, transparent 42%, rgba(255,255,255,0.18) 48%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 18px) !important;
  opacity: 1 !important;
  mix-blend-mode: screen !important;
}
html body .seeky-app .aquarium::after {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 0 54px rgba(1,42,82,0.16) !important;
}
html body .seeky-app .tank-light {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.72), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.34), transparent) !important;
  opacity: .92 !important;
}
html body .seeky-app .tank-bubbles,
html body .seeky-app .tank-bubbles span,
html body .seeky-app .tank-plants,
html body .seeky-app .plant,
html body .seeky-app .plant::before,
html body .seeky-app .plant::after,
html body .seeky-app .tank-stones,
html body .seeky-app .fish,
html body .seeky-app .seeky-fish,
html body .seeky-app .pet-sprite,
html body .seeky-app .pet-status {
  background-image: revert-layer !important;
  box-shadow: revert-layer !important;
  opacity: 1 !important;
}
html body .seeky-app .tank-bubbles span {
  background: rgba(255,255,255,0.18) !important;
  border: 1px solid rgba(229,252,255,0.9) !important;
  box-shadow: inset 2px 2px 5px rgba(255,255,255,0.52) !important;
}
html body .seeky-app .plant,
html body .seeky-app .plant::before,
html body .seeky-app .plant::after {
  background: linear-gradient(180deg, rgba(123,221,166,0.95), rgba(27,139,111,0.9)) !important;
}
html body .seeky-app .tank-stones {
  background:
    radial-gradient(ellipse at 10% 68%, rgba(93,113,134,0.92) 0 22px, transparent 23px),
    radial-gradient(ellipse at 17% 76%, rgba(183,157,126,0.94) 0 18px, transparent 19px),
    radial-gradient(ellipse at 74% 70%, rgba(97,118,133,0.90) 0 20px, transparent 21px),
    radial-gradient(ellipse at 84% 75%, rgba(214,174,122,0.94) 0 17px, transparent 18px),
    repeating-radial-gradient(circle at 50% 100%, rgba(191,152,96,0.34) 0 2px, transparent 2px 8px) !important;
}
html body .seeky-app .pet-status {
  background: rgba(245,252,255,0.76) !important;
  color: #1474bf !important;
  -webkit-text-fill-color: #1474bf !important;
  border-color: rgba(40,152,240,0.28) !important;
}

/* AionsHome 草纸主题 v7：许愿池主操作改为纯文字按钮 */
html body .wish-actions {
  bottom: max(54px, env(safe-area-inset-bottom)) !important;
  width: min(82vw, 360px) !important;
  gap: 18px !important;
}
html body .wish-fancy-btn,
html body .wish-fancy-btn.secondary {
  min-height: 34px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(17px, 4.6vw, 22px) !important;
  font-weight: 700 !important;
  letter-spacing: -.2px !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
}
html body .wish-fancy-btn::before,
html body .wish-fancy-btn::after,
html body .wish-fancy-btn.secondary::before,
html body .wish-fancy-btn.secondary::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  border: none !important;
}
html body .wish-fancy-btn:active {
  transform: scale(.96) !important;
  opacity: .72 !important;
}

/* AionsHome 草纸主题 v8：许愿池彻底去氛围背景，只保留纯草纸色 */
html body .wish-page,
html body .wish-page::before,
html body .wish-page::after,
html body .wish-root,
html body .wish-bg,
html body .wish-stage {
  background: #f4ede3 !important;
  background-color: #f4ede3 !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html body .wish-page::before,
html body .wish-page::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}
html body .wish-pool-focus,
html body .wish-pool-focus::before,
html body .wish-pool-focus::after,
html body .wish-pool-focus.rippling::before,
html body .wish-pool-focus.rippling::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
  animation: none !important;
}
html body .wish-title,
html body .wish-title h1,
html body .wish-title p,
html body .wish-actions,
html body .wish-chrome,
html body .wish-icon-btn,
html body .wish-book-btn {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}
html body .wish-title {
  margin-top: clamp(52px, 10dvh, 96px) !important;
}
html body .wish-actions {
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 46px)) !important;
}

/* AionsHome 草纸主题 v9：许愿池标题试用隶书，减轻粗黑感 */
html body .wish-title h1 {
  font-family: "LiSu", "STLiti", "隶书", "隸書", "KaiTi", "STKaiti", "Kaiti SC", serif !important;
  font-weight: 400 !important;
  font-size: clamp(54px, 15vw, 82px) !important;
  letter-spacing: .08em !important;
  transform: translateX(.04em) !important;
  color: #3f3429 !important;
  -webkit-text-fill-color: #3f3429 !important;
  text-shadow: none !important;
}

/* APK 壳内：所有子页面顶栏整体上移一点，减少状态栏下方空隙 */
html.apk-shell body,
html.apk-shell .page,
html.apk-shell .app,
html.apk-shell .screen,
html.apk-shell .phone-screen {
  background: #f4ede3 !important;
}

html.apk-shell .topbar,
html.apk-shell .top-bar,
html.apk-shell .page-header,
html.apk-shell .header,
html.apk-shell .chat-header,
html.apk-shell .settings-header,
html.apk-shell .memory-header,
html.apk-shell .location-header,
html.apk-shell .worldbook-header,
html.apk-shell .moments-header,
html.apk-shell .activity-header,
html.apk-shell .schedule-header,
html.apk-shell .theater-header,
html.apk-shell .playground-header {
  padding-top: 4px !important;
  margin-top: -4px !important;
}

html.apk-shell main,
html.apk-shell .main,
html.apk-shell .content,
html.apk-shell .page-content,
html.apk-shell .settings-content,
html.apk-shell .memory-content,
html.apk-shell .location-content {
  padding-top: 0 !important;
}
