:root {
  --bg-start: #f3f3f3;
  --bg-end: #dedede;
  --phone-border: #111111;
  --screen-bg-1: #fbfbfb;
  --screen-bg-2: #efefef;
  --screen-bg-3: #dddddd;
  --text-main: #111111;
  --text-soft: #5f5f5f;
  --text-faint: #8a8a8a;
  --white: #ffffff;
  --line-soft: rgba(17, 17, 17, 0.12);
  --shadow-main: 0 24px 50px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.06);
  --dock-bg: rgba(255, 255, 255, 0.26);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.92);
  --icon-size: 58px;
  --dock-icon-size: 54px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text-main);
  background: transparent;
  min-height: 100vh;
}

button {
  font: inherit;
}

.phone-shell {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: block;
  padding: 0;
}

.phone-frame {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
}

.phone-notch {
  display: none;
}

.phone-screen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom)) 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(180deg, var(--screen-bg-1), var(--screen-bg-2) 58%, var(--screen-bg-3));
  display: flex;
  flex-direction: column;
}

.screen-page {
  display: none;
  flex: 1;
  min-height: 0;
}

.screen-page.active {
  display: flex;
  flex-direction: column;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  padding: 4px 2px 10px;
}

.status-bar,
.status-bar span,
#status-time,
#status-battery {
  color: var(--text-soft) !important;
  text-shadow: none !important;
}

.app-grid-section {
  flex: 1;
  padding-top: 12px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 12px;
}

.home-app-grid {
  display: grid;
  gap: 18px;
}

.home-app-row {
  display: grid;
  gap: 12px;
}

.home-app-row-five {
  grid-template-columns: repeat(5, 1fr);
}

.home-app-row-four {
  grid-template-columns: repeat(4, 1fr);
}

.empty-slot {
  visibility: hidden;
}

.app-item,
.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-button,
.app-link {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.app-button .app-icon,
.app-button .app-name,
.app-link .app-icon,
.app-link .app-name {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .app-button:hover .app-icon,
  .app-button:hover .app-name,
  .app-link:hover .app-icon,
  .app-link:hover .app-name {
    transform: translateY(-2px);
  }
}

.app-icon,
.dock-icon,
.feature-tab-icon {
  display: grid;
  place-items: center;
  color: #111111;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  user-select: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.app-icon {
  width: clamp(52px, 14vw, var(--icon-size));
  height: clamp(52px, 14vw, var(--icon-size));
  border-radius: 18px;
  font-size: clamp(16px, 4.2vw, 18px);
  margin-bottom: 8px;
}

.dock-icon {
  width: clamp(46px, 13vw, var(--dock-icon-size));
  height: clamp(46px, 13vw, var(--dock-icon-size));
  border-radius: 16px;
  font-size: clamp(14px, 4vw, 16px);
  margin-bottom: 6px;
}

.app-name,
.dock-name {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-main);
}

.dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 10px 8px 6px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  margin-top: auto;
}

.home-indicator {
  width: 132px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  margin: 14px auto 0;
}

body:has(.phone-screen > .card-page) .phone-screen {
  padding: 0;
}

body:has(.phone-screen > .card-page) .card-page {
  width: 100%;
  min-height: 100%;
}

body:has(.phone-screen > .card-page) .home-indicator,
body:has(.phone-screen > .card-page) .phone-notch,
body:has(.phone-screen > .card-page) .phone-frame::before,
body:has(.phone-screen > .card-page) .phone-frame::after {
  display: none !important;
}

.card-page {
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.single-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  padding-left: 6px;
}

.header-action-btn {
  margin-left: auto;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  padding: 9px 12px;
  font-size: 12px;
  cursor: pointer;
  display: none;
  white-space: nowrap;
}

.header-action-btn.visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-main);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  margin-left: 4px;
}

.back-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.card-header-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-header-title strong {
  font-size: 16px;
}

.card-header-title span {
  font-size: 12px;
  color: var(--text-soft);
}

.feature-tabs,
.feature-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.two-tab-bottom-nav {
  grid-template-columns: repeat(2, 1fr);
}

.feature-tab {
  border: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feature-tab.active {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.feature-tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 14px;
}

.feature-tab-text {
  font-size: 12px;
  color: var(--text-main);
}

.card-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.card-content-with-bottom-nav {
  padding-bottom: 12px;
}

.feature-bottom-nav {
  margin-top: auto;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.feature-panel {
  display: none;
}

.feature-panel.active {
  display: block;
}

.content-card {
  background: var(--card-bg);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.content-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.content-tip {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-soft);
}

.mini-tool-grid {
  display: grid;
  gap: 10px;
}

.mini-tool {
  background: var(--card-strong);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-tool strong {
  font-size: 14px;
}

.mini-tool span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}

.wordcard-builder {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.builder-block {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 12px;
}

.builder-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.builder-head strong {
  font-size: 14px;
}

.builder-head span,
.builder-tip,
.api-config-note span,
.preview-section-head span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}

.builder-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.builder-input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-main);
  outline: none;
}

.builder-input:focus {
  border-color: rgba(17, 17, 17, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.textarea-input {
  min-height: 108px;
  resize: vertical;
}

.builder-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.primary-btn {
  background: #111111;
  color: #ffffff;
}

.soft-btn {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d0d0d0;
}

.builder-tip {
  margin: 8px 0 0;
}

.api-config-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.95);
  border: 1px dashed rgba(59, 130, 246, 0.28);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-config-note strong,
.preview-section-head strong {
  font-size: 13px;
}

.import-export-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.import-label {
  display: inline-flex;
}

.import-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preview-section {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 12px;
}

.preview-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.category-showcase,
.edit-card-list,
.stats-list,
.move-card-list {
  display: grid;
  gap: 12px;
}

.category-block,
.edit-card-item,
.stats-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 12px;
}

.category-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.category-block-head strong,
.stats-item strong {
  font-size: 14px;
}

.category-block-head span,
.stats-item span {
  font-size: 12px;
  color: var(--text-soft);
}

.edit-card-form {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
}

.edit-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.move-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.move-card-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.move-action-column {
  display: flex;
  align-items: flex-end;
}

.search-block {
  margin-bottom: 12px;
}

.avatar-edit-section {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}

.avatar-edit-preview {
  display: flex;
  justify-content: center;
}

.avatar-edit-form {
  display: grid;
  gap: 8px;
}

.upload-avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.large-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.small-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.stats-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.modal-actions-row {
  margin-top: 14px;
  justify-content: flex-end;
}

.card-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111111;
  font-size: 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.interactive-card-list {
  display: grid;
  gap: 10px;
}

.interactive-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-soft);
}

.interactive-card-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.4;
  word-break: break-all;
}

.delete-card-btn {
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.empty-card-state {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.preview-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.preview-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(99, 102, 241, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-main);
}

.chat-list,
.group-list,
.friend-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.chat-person,
.group-item {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.chat-person {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.chat-person.active,
.group-item.active {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(239, 246, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.avatar-pair {
  display: flex;
  align-items: center;
  margin-right: 2px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.avatar + .avatar {
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.avatar-self {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.avatar-other {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.avatar.large {
  width: 40px;
  height: 40px;
}

.chat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-meta strong {
  font-size: 14px;
}

.chat-meta span {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.chat-preview,
.group-preview,
.chat-window {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 12px;
}

.chat-preview-top,
.group-preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.chat-preview-top p,
.group-preview-head span {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.bubble-row {
  display: flex;
  margin-bottom: 10px;
}

.bubble-row.left {
  justify-content: flex-start;
}

.bubble-row.right {
  justify-content: flex-end;
}

.bubble {
  max-width: 82%;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.bubble-row.left .bubble {
  background: #ffffff;
  color: var(--text-main);
}

.bubble-row.right .bubble {
  background: linear-gradient(135deg, #f9a8d4, #c4b5fd);
  color: #1e1b4b;
}

.group-item {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.member-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.95);
  color: #1d4ed8;
  font-size: 12px;
}

.friend-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.object-card {
  min-height: 100%;
}

.friend-chat-topbar {
  margin-bottom: 10px;
}

.mini-back-btn {
  border: none;
  border-radius: 12px;
  background: rgba(219, 234, 254, 0.95);
  color: #1d4ed8;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.friend-row {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.friend-row.active {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(239, 246, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.friend-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.friend-row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.friend-row-meta strong {
  font-size: 14px;
}

.friend-row-meta span {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.friend-row-arrow {
  font-size: 22px;
  color: #94a3b8;
  line-height: 1;
}

.chat-window-head {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.chat-window-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-window-title strong {
  display: block;
  font-size: 14px;
}

.chat-window-title span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-soft);
}

.chat-window-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.chat-action-btn {
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}

.danger-action-btn {
  background: #111111;
  color: #ffffff;
}

.chat-window-body {
  display: grid;
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 2px;
}

.chat-input-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-head strong {
  font-size: 16px;
}

.modal-close-btn {
  border: none;
  background: rgba(241, 245, 249, 1);
  color: #334155;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-soft);
}

.modal-submit-btn {
  width: 100%;
}

.hidden {
  display: none !important;
}

.icon-blue,
.icon-pink,
.icon-purple,
.icon-orange,
.icon-green,
.icon-cyan,
.icon-red,
.icon-yellow,
.icon-indigo,
.icon-teal,
.icon-rose,
.icon-sky,
.icon-lime,
.icon-violet,
.icon-amber,
.icon-mint,
.icon-navy,
.icon-coral,
.icon-grape,
.icon-silver {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(228, 228, 228, 0.18));
  color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 480px) {
  .phone-shell,
  .phone-frame,
  .phone-screen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
  }

  .phone-screen {
    padding: max(16px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom)) 12px;
  }

  .app-grid {
    gap: 16px 8px;
  }

  .home-app-grid {
    gap: 16px;
  }

  .home-app-row {
    gap: 8px;
  }

  .app-icon {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }

  .dock-icon {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .app-name,
  .dock-name,
  .feature-tab-text,
  .preview-item,
  .mini-tool span,
  .chat-meta span,
  .bubble,
  .content-tip,
  .member-tag,
  .builder-head span,
  .builder-tip,
  .api-config-note span,
  .preview-section-head span,
  .builder-input,
  .builder-btn,
  .card-chip,
  .interactive-card-text,
  .delete-card-btn,
  .empty-card-state,
  .friend-row-meta span,
  .chat-window-title span,
  .form-label,
  .header-action-btn,
  .mini-back-btn,
  .chat-action-btn,
  .category-block-head span,
  .stats-item span {
    font-size: 11px;
  }

  .builder-form,
  .import-export-row,
  .modal-form-row,
  .chat-input-bar,
  .edit-card-form,
  .avatar-edit-section {
    grid-template-columns: 1fr;
  }

  .move-card-row,
  .move-action-column {
    align-items: flex-start;
  }

  .upload-avatar {
    width: 64px;
    height: 64px;
  }

  .import-export-row {
    display: grid;
  }

  .interactive-card-item,
  .friend-row,
  .chat-window-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-tabs,
  .feature-bottom-nav {
    gap: 6px;
  }

  .feature-tab {
    padding: 8px 4px;
    border-radius: 14px;
  }

  .feature-tab-icon {
    width: 34px;
    height: 34px;
  }

  .content-card {
    padding: 12px;
    border-radius: 18px;
  }

  .chat-person {
    padding: 10px;
  }
}
