/* Supplied phone artwork. Every rule is restricted to the existing 760px
   phone breakpoint; desktop assets and business component styles stay intact. */
@media (max-width: 760px) {
  :root { --mobile-gold: #f7d784; --mobile-nav-height: calc(60px + env(safe-area-inset-bottom)); }
  .mobile-ui-active [hidden] { display: none !important; }
  .mobile-ui-active { background-color: #020a12; }
  .mobile-ui-active .whys-icp-footer { position: relative; inset: auto; z-index: 1; margin: 0 0 var(--mobile-nav-height); padding: 8px; background: #020a12; font-size: 10px; }
  .mobile-ui-active .whys-icp-footer a { color: #e8cf91; }
  body:has(.auth-panel) .whys-icp-footer { display: none; }
  .mobile-ui-active .unified-center-launcher { bottom: calc(var(--mobile-nav-height) + 12px); right: 12px; z-index: 85; width: 40px; height: 40px; }
  .whys-mobile-nav { position: fixed; z-index: 90; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); box-sizing: border-box; height: var(--mobile-nav-height); padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); background: #030c12 url('/assets/mobile-ui/home/下方图标底层.png') center / 100% 100% no-repeat; }
  .whys-mobile-nav a, .whys-mobile-nav button, .whys-mobile-nav button:hover:not(:disabled) { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; margin: 0; border: 0; padding: 0; background: transparent; box-shadow: none; color: #ecedef; text-decoration: none; font: 500 11px/1.25 'Microsoft YaHei', 'PingFang SC', sans-serif; cursor: pointer; }
  .whys-mobile-nav :is(a,button)::before { content: ''; display: block; width: 36px; height: 32px; background: center / auto 28px no-repeat; }
  .whys-mobile-nav .nav-home::before { background-image: url('/assets/mobile-ui/home/下方-首页未选中.png'); }
  .whys-mobile-nav .nav-dinner::before { background-image: url('/assets/mobile-ui/home/下方-吃饭未选中.png'); }
  .whys-mobile-nav .nav-planet::before { background-image: url('/assets/mobile-ui/home/下部-星球未选中.png'); }
  .whys-mobile-nav .nav-chat::before { background-image: url('/assets/mobile-ui/home/下部-聊天未选中.png'); }
  .whys-mobile-nav .nav-account::before { background-image: url('/assets/mobile-ui/home/下部-我的未选中.png'); }
  .whys-mobile-nav .is-active { color: var(--mobile-gold); }
  .whys-mobile-nav .nav-home.is-active::before { background-image: url('/assets/mobile-ui/home/下方-首页选择.png'); }
  .whys-mobile-nav .nav-dinner.is-active::before { background-image: url('/assets/mobile-ui/home/下方-吃饭选中.png'); }
  .whys-mobile-nav .nav-chat.is-active::before { background-image: url('/assets/mobile-ui/home/下部-聊天选中.png'); }
  .whys-mobile-nav .nav-account.is-active::before { background-image: url('/assets/mobile-ui/home/下部-我的选中.png'); }
  .mobile-games { width: min(420px, calc(100% - 24px)); max-height: calc(100dvh - 32px); box-sizing: border-box; overflow: auto; padding: 18px; border: 1px solid #8f794c; border-radius: 16px; background: #03111e; color: #ffe5a1; }
  .mobile-games::backdrop { background: #000b; }
  .mobile-games h2 { margin: 0 0 16px; font-size: 20px; }
  .mobile-games-close, .mobile-games-close:hover:not(:disabled) { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #ffe5a1; font-size: 26px; cursor: pointer; }
  .mobile-game { display: block; margin-top: 12px; padding: 105px 14px 14px; border: 1px solid #7a7148; border-radius: 13px; background-position: center; background-size: cover; color: white; text-decoration: none; }
  .mobile-game--farm { background-image: linear-gradient(transparent, #03121ddd 68%), url('/assets/farm/pc-v2/farm-world-mobile-v2.webp'); }
  .mobile-game--fishery { background-image: linear-gradient(transparent, #03121ddd 68%), url('/assets/fishery/whys-fishery-world-v1.webp'); }
  .mobile-game h3 { margin: 0; font-size: 22px; }
  .mobile-game p { margin: 7px 0 12px; font-size: 13px; line-height: 1.6; }
  .mobile-game > span { display: block; border-radius: 20px; padding: 9px; text-align: center; background: linear-gradient(#fff0a6, #efad34); color: #16180a; font-weight: 700; }

  /* Authentication: native inputs retain their labels, validation and state. */
  .auth-backdrop { padding: 0; background: #020a12; overflow: auto; }
  .auth-panel, .auth-panel--login, .auth-panel--register { container-type: inline-size; width: 100%; min-height: 100dvh; height: auto; overflow: visible; padding: 1px 0 22px; background-color: #020a12; background-image: url('/assets/mobile-ui/login/背景.png'); background-image: image-set(url('/assets/mobile-ui/login/背景-20261024.webp') type('image/webp'), url('/assets/mobile-ui/login/背景.png') type('image/png')); background-position: center top; background-size: 100% auto; background-repeat: no-repeat; }
  .auth-panel--register, .auth-panel[aria-label="找回密码"] { background-image: url('/assets/mobile-ui/auth/背景.png'); }
  .auth-panel__form, .auth-panel--register .auth-panel__form { position: relative; inset: auto; box-sizing: border-box; width: calc(100% - 32px); max-width: 460px; margin: min(91vw, 380px) auto 0; padding: 20px 16px; border: 0; border-radius: 12px; background: url('/assets/mobile-ui/login/登录框底层.png') center / 100% 100% no-repeat; color: #ecdfc2; }
  .auth-panel--register .auth-panel__form, .auth-panel[aria-label="找回密码"] .auth-panel__form { margin-top: min(82vw, 340px); }
  .auth-panel__form::before, .auth-signature-motion { display: none; }
  .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 15px; border: 0; background: url('/assets/mobile-ui/login/密码验证码选择底框.png') center / 100% 100% no-repeat; }
  .auth-tabs button { min-height: 42px; border: 0; padding: 0; color: transparent; font-size: 0; background: transparent; }
  .auth-tabs button.is-active { color: transparent; background: url('/assets/mobile-ui/login/密码登录.png') center / 100% 100% no-repeat; }
  .auth-tabs button:nth-child(2).is-active { background-image: url('/assets/mobile-ui/login/验证码登录.png'); }
  .auth-panel[aria-label="找回密码"] .auth-tabs { display: block; background: none; }
  .auth-panel[aria-label="找回密码"] .auth-tabs button { background: none; color: #f6d99e; font-size: 18px; }
  .auth-form { grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; box-sizing: border-box; padding-inline: 5px; }
  .auth-panel :is(.auth-field,.auth-phone-field,.auth-code-row,.auth-field input,.auth-phone-field__region) { box-sizing: border-box; max-width: 100%; }
  .auth-panel .auth-field { margin: 0; }
  .auth-panel .auth-field { min-height: 46px; border: 0; border-radius: 25px; background: url('/assets/mobile-ui/login/手机号框.png') center / 100% 100% no-repeat; box-shadow: none; }
  .auth-panel .auth-field__icon { visibility: hidden; width: 22px; height: 22px; margin-left: 17px; }
  .auth-panel .auth-field input { height: 46px; padding: 0 9px; font-size: 16px; background: transparent; }
  .auth-panel .auth-field input::placeholder { font-size: 12px; color: #a1aeba; }
  .auth-panel .auth-field:has(input[autocomplete="current-password"]), .auth-panel .auth-field:has(input[autocomplete="new-password"]) { background-image: url('/assets/mobile-ui/login/密码框.png'); }
  .auth-panel .auth-form > .auth-field:has(.lucide-music-2) { background-image: url('/assets/mobile-ui/auth/抖音昵称.png'); }
  .auth-panel .auth-form > .auth-field:has(.lucide-message-circle) { background-image: url('/assets/mobile-ui/auth/微信号.png'); }
  .auth-phone-field { grid-template-columns: 34% minmax(0, 1fr); gap: 6px; }
  .auth-phone-field .auth-field { background-image: url('/assets/mobile-ui/auth/手机号.png'); }
  .auth-phone-field__region { border: 0; background: url('/assets/mobile-ui/auth/手机号前置.png') center / 100% 100% no-repeat; padding: 0 10px; font-size: 11px; }
  .auth-code-row { grid-template-columns: minmax(0, 1fr) 34%; gap: 6px; }
  .auth-code-row .auth-field { background-image: url('/assets/mobile-ui/login/验证码登录-验证码框.png'); }
  .auth-panel .code-button { border: 1px solid #776239; background: #201c14; color: #f1d68f; font-size: 11px; min-height: 44px; }
  .auth-panel .field-eye { width: 38px; height: 44px; background: url('/assets/mobile-ui/login/密码显示数字.png') center / 25px auto no-repeat; }
  .auth-panel .field-eye[aria-label="隐藏密码"] { background-image: url('/assets/mobile-ui/login/密码不显示数字.png'); }
  .auth-panel .field-eye svg { visibility: hidden; }
  .auth-submit { min-height: 44px; height: auto; aspect-ratio: 528 / 73; width: 88%; margin: 5px auto 0; border: 0; box-shadow: none; color: transparent; font-size: 0; background: url('/assets/mobile-ui/login/登录.png') center / 100% 100% no-repeat; }
  .auth-panel--register .auth-submit { background-image: url('/assets/mobile-ui/auth/注册账号.png'); }
  .auth-panel[aria-label="找回密码"] .auth-submit { background-image: url('/assets/mobile-ui/auth/重置密码.png'); }
  .auth-submit:disabled { background-image: none; font-size: 16px; color: #241c0a; background-color: #d3ad67; }
  .auth-switch { margin-top: 14px; font-size: 12px; }
  .auth-legal { margin-top: 12px; font-size: 10px; }
  .auth-forgot { margin-top: 10px; min-height: 28px; }
  .auth-consent { font-size: 11px; }
  .auth-panel .auth-field:focus-within { outline: 1px solid #e4bc70; outline-offset: 2px; }

  /* Header and home panels. Preserve the menu and every existing action. */
  .app-shell { padding: 0; }
  .cosmic-stage { width: 100%; min-height: 100dvh; padding: 68px 13px 18px; background: #020a12; isolation: isolate; }
  .cosmic-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/performance-oct23/cfad50d468634e4c.webp") center top / 100% auto no-repeat; filter: brightness(var(--home-brightness, 1.1)); }
  .topbar { position: absolute; inset: 0 0 auto; height: 62px; padding: 0 12px; background: transparent; border: 0; backdrop-filter: none; }
  .topbar__plate, .stage-bg { display: none; }
  .brand { margin: 0; gap: 7px; color: #ffe5a3; font-size: 16px; }
  .brand img, .chat-nav-brand img { content: url('/assets/mobile-ui/home/上层-名字前logo.png'); width: 32px; height: 28px; border: 0; border-radius: 0; object-fit: contain; }
  .topbar .notification-button { margin-left: auto; width: 36px; height: 40px; background: url('/assets/mobile-ui/home/上层-消息.png') center / 22px auto no-repeat; }
  .notification-button svg { visibility: hidden; }
  .topbar .mobile-menu-button { display: grid; width: 36px; height: 40px; }
  .mobile-ui-active :is(.topbar, .dinner-nav, .chat-nav) .audio-settings-button { order: 4; width: 38px; height: 40px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #e8d8ae; font-size: 27px; }
  .cosmic-stage > .mobile-nav { top: 62px; z-index: 40; }
  .cosmic-stage .reveal-surface { opacity: 1; filter: none; transform: none; }
  .cosmic-stage .identity-card, .cosmic-stage .growth-card, .cosmic-stage .announcements, .cosmic-stage .mission-console { position: relative; inset: auto; width: 100%; height: auto; border: 0; border-radius: 0; margin: 10px 0 0; box-shadow: none; background-color: transparent; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
  .cosmic-stage .panel__asset, .announcement-plate, .mission-plate { display: none; }
  .cosmic-stage .identity-card { order: 1; min-height: 134px; padding: 16px 18px; background-image: url("/assets/performance-oct23/60e7541e6d381672.webp"); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
  .identity-card__top { grid-column: 1; grid-row: 1 / 4; height: auto; gap: 9px; }
  .identity-card h2 { margin: 0 0 6px; font-size: 15px; color: #ffe3a0; overflow-wrap: anywhere; }
  .avatar-lockup { flex: 0 0 62px; width: 62px; height: 62px; border: 0; border-radius: 0; background: url('/assets/mobile-ui/home/1头像框.png') center / contain no-repeat; box-shadow: none; }
  .avatar-lockup .avatar-disc { display: none; }
  .avatar-lockup .avatar-layer { inset: 6px; width: 50px; height: 50px; border-radius: 50%; }
  .identity-card > p { margin: 0; font-size: 10px; color: #ccc5b4; }
  .identity-card > strong { font-size: 32px; line-height: 1; color: #ffe3a0; }
  .identity-card > span { margin: 0; font-size: 9px; color: #ccc5b4; }
  .identity-card .progress-track { grid-column: 1 / -1; height: 10px; margin: 4px 0 0; border: 0; background: url('/assets/mobile-ui/home/1进度条底层.png') center / 100% 100% no-repeat; }
  .progress-track i { background: url('/assets/mobile-ui/home/1进度条.png') left center / auto 100% no-repeat; border-radius: 6px; }
  .identity-status { font-size: 10px; color: #f5d58f; }
  .hero-orbit { order: 2; position: relative; inset: auto; height: clamp(200px, 59vw, 360px); width: calc(100% + 26px); margin: 4px -13px 0; background: transparent; }
  .hero-layer--mango { content: url("/assets/performance-oct23/0720af7b5aa1cfba.webp"); inset: 6% auto auto 28%; width: 44%; height: auto; }
  .hero-orbit .orbit-ring { content: url("/assets/mobile-ui/home/中间-环绕星团.loading.webp"); left: 3%; top: 30%; width: 94%; }
  .hero-orbit .planet-orbiting { content: url('/assets/mobile-ui/home/中间-小星球.png'); left: 76%; top: 7%; width: 20%; }
  .days-counter { order: 3; position: relative; inset: auto; width: min(210px, 62%); align-self: center; height: 76px; margin: -18px 0 0; }
  .days-counter img { content: url('/assets/mobile-ui/home/中间-陪伴麦穗标.png'); object-fit: contain; }
  .days-counter p { top: 4px; font-size: 13px; }
  .days-counter__value { top: 26px; }
  .days-counter strong { font-size: 33px; }
  .days-counter span { font-size: 13px; }
  .memory-constellation { order: 4; position: static; height: auto; margin-top: 8px; }
  .memory-constellation__nodes { height: clamp(200px, 59vw, 360px); top: 210px; bottom: auto; }
  .memory-constellation__summary { position: static; inset: auto; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; transform: none; }
  .memory-constellation__summary > button { display: block; min-width: 0; max-width: none; width: 100%; min-height: 68px; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 0; font-size: 0; color: transparent; background: center / contain no-repeat; box-shadow: none; backdrop-filter: none; }
  .memory-constellation__summary > button > * { visibility: hidden; }
  .memory-constellation__overview { background-image: url('/assets/mobile-ui/home/中间-足迹星图.png') !important; }
  .memory-constellation__event { background-image: url('/assets/mobile-ui/home/中间-纪念天数.png') !important; }
  .companion-tool--mood { background-image: url('/assets/mobile-ui/home/中间-心情点亮.png') !important; }
  .companion-tool--archive { background-image: url('/assets/mobile-ui/home/中间-星河记忆.png') !important; }
  .mango-easter-trigger { top: 220px; height: 190px; }
  .cosmic-stage .announcements { order: 5; min-height: 150px; padding: 45px 15px 30px; background-image: url("/assets/mobile-ui/home/2公告底层.loading.webp"); }
  .announcements h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .announcements li { height: 25px; gap: 10px; }
  .announcements time { font-size: 10px; color: #e0bd72; }
  .announcements li button { font-size: 12px; color: #f2e8d0; }
  .more-button { position: absolute; inset: auto 14px 6px auto; width: 72px; margin: 0; min-height: 24px; }
  .more-button img { content: url('/assets/mobile-ui/home/2查看更多.png'); }
  .cosmic-stage .mission-console { order: 6; min-height: 234px; padding: 16px 15px; background-image: url("/assets/mobile-ui/home/3资格确认底层.loading.webp"); }
  .mission-summary { position: relative; inset: auto; width: 100%; padding-right: 104px; }
  .mission-summary > span { font-size: 9px; color: #d7bd80; }
  .mission-summary h2 { font-size: 23px; margin: 5px 0; }
  .mission-summary p { font-size: 10px; line-height: 1.5; }
  .mission-summary > button { position: absolute; right: 0; top: 24px; width: 104px; min-height: 40px; }
  .mission-steps { position: static; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; overflow: visible; margin: 14px 0 0; padding: 0; }
  .mission-steps button { min-width: 0; height: 92px; background: url('/assets/mobile-ui/home/3芒果框未进行.png') center / 100% 100% no-repeat; }
  .mission-steps button.is-done, .mission-steps button.is-current { background-image: url('/assets/mobile-ui/home/3芒果框已完成.png'); }
  .mission-steps img { display: none; }
  .mission-steps span { margin: 6px 0 0; font-size: 11px; }
  .mission-steps b { margin-top: 31px; font-size: 10px; }
  .mission-steps small { margin-top: 2px; font-size: 8px; }
  .cosmic-stage .growth-card { order: 7; padding: 14px 16px; background-image: url("/assets/performance-oct23/60e7541e6d381672.webp"); }
  .growth-card > h2 { margin: 0 0 6px; font-size: 13px; }
  .growth-card__content { gap: 10px; }
  .growth-card__content h3 { font-size: 14px; margin: 2px 0 6px; }
  .growth-card__content p { font-size: 11px; margin: 4px 0; }
  .growth-meter { width: 30px; height: 86px; }
  .condition-grid { margin-top: 8px; gap: 5px; }
  .condition-grid :is(span,button) { height: auto; min-height: 34px; padding: 5px; font-size: 10px; }

  /* Dinner: flow order matches the phone reference, without moving DOM nodes. */
  .dinner-page { background: #020a12 url('/assets/performance-oct23/7c24a9710b84a84b.webp') center top / 100% auto no-repeat; overflow-x: hidden; }
  .dinner-page::before { display: none; }
  .dinner-nav { display: flex; height: 60px; margin: 0; padding: 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .dinner-nav .brand span { font-size: 16px; }
  .dinner-nav nav { display: none; }
  .dinner-nav .nav-actions { display: flex; margin-left: auto; }
  .dinner-nav #userBadge { display: none; }
  .dinner-layout { display: flex; flex-direction: column; gap: 10px; height: auto; min-height: 0; padding: 0 15px 18px; }
  .left-panel, .left-content, .right-panel { display: contents; }
  .map-stage { order: 1; width: 100%; flex: none; min-height: 0; height: auto; aspect-ratio: 684 / 610; background: none; overflow: visible; }
  .stage-title { top: 5px; left: 0; font-size: 10px; opacity: .75; }
  .map-shell { left: 0; top: 20px; width: 100%; aspect-ratio: 684 / 560; transform: none; }
  .orbit-art { width: 100%; top: 50%; filter: none; }
  .orbit-art img { content: url('/assets/performance-oct23/04014cd538322044.webp'); }
  .china-map { content: url('/assets/mobile-ui/dinner/中间-中国地图.png'); }
  .map-flag { content: url('/assets/mobile-ui/dinner/中间-旗子.png'); width: 20px; height: 28px; }
  .province-label { min-width: 16px; min-height: 16px; padding: 1px; font-size: 7px; background: #0004; }
  .map-hint { bottom: 0; margin: 0; padding: 4px 10px; font-size: 9px; }
  .landmark-card { order: 2; width: 156px; height: 66px; aspect-ratio: auto; }
  .landmark-card > img { content: url('/assets/mobile-ui/dinner/中间-当前定位.png'); object-fit: fill; }
  .landmark-card > div { padding: 26px 8px 6px 42px; min-height: 0; }
  .landmark-card small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .landmark-card strong { margin: 0; font-size: 13px; }
  .landmark-card span { font-size: 8px; margin-top: 2px; }
  .right-panel::before, .right-panel::after { display: none; }
  .status-copy { order: 3; min-height: 102px; margin: 0; padding: 18px 13px 10px; background: url('/assets/mobile-ui/dinner/报名饭局底层.png') center / 100% 100% no-repeat; }
  .status-copy .eyebrow { display: none; }
  .status-copy h2 { margin: 0 0 5px; font-size: 22px; color: #fff0c4; text-shadow: 0 1px 5px #000; }
  .status-copy p { color: #fff1cd; font-size: 11px; line-height: 1.55; text-shadow: 0 1px 5px #000; }
  .region-card { order: 4; width: 100%; height: auto; aspect-ratio: auto; margin: 0; padding: 0 2px; }
  .region-card > img { display: none; }
  .region-values { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: #ecd9ad; font-size: 11px; }
  .signup-button { order: 5; align-self: flex-end; width: 124px; aspect-ratio: 229 / 63; min-height: 38px; margin: -2px 0 0; }
  .signup-button > img { content: url('/assets/mobile-ui/dinner/报名饭局.png'); }
  .signup-button > span { color: transparent; font-size: 0; padding: 0; }
  .signup-button[data-action="cancel"] > img, .signup-button:disabled > img { visibility: hidden; }
  .signup-button[data-action="cancel"], .signup-button:disabled { aspect-ratio: auto; border: 1px solid #c6a252; border-radius: 20px; background: linear-gradient(#ffe8a0, #dba34b); }
  .signup-button[data-action="cancel"] > span, .signup-button:disabled > span { color: #231b0d; font-size: 12px; }
  .registration-state { order: 6; min-height: 0; margin: 0; font-size: 11px; text-align: left; color: #cbbd9e; }
  .rules-card { order: 7; width: 100%; height: auto; aspect-ratio: 683 / 253; min-height: 140px; margin-top: 2px; }
  .rules-card > img { content: url('/assets/performance-oct23/fbdc03c198090dab.webp'); }
  .rules-card ul { inset: 23% 6% 8% 15%; font-size: 10px; line-height: 1.5; }
  .history-card { order: 8; min-height: 0; height: auto; padding-top: 27px; margin-top: 5px; }
  .history-card > img { content: url('/assets/mobile-ui/dinner/历史饭局.png'); inset: 0 auto auto 0; width: 94px; height: 20px; object-fit: contain; }
  .history-list { position: static; overflow: visible; display: grid; gap: 7px; }
  .history-item { min-height: 61px; padding: 10px 12px; border: 0; background: url('/assets/mobile-ui/dinner/历史饭局-底框.png') center / 100% 100% no-repeat; }
  .history-item strong { font-size: 12px; }
  .history-item span { font-size: 10px; }
  .dinner-page .modal { z-index: 200; }
  .dinner-page .toast { bottom: calc(var(--mobile-nav-height) + 12px); }
  .control-page.mobile-ui-active .control-shell { padding-bottom: 20px; }

  /* Chat list and room use the same existing controls and messages. */
  .mobile-chat { background: #020a12 url("/assets/performance-oct23/773114c3229ebaea.webp") center top / 100% auto no-repeat; }
  .mobile-chat .chat-shell { display: flex; flex-direction: column; width: 100%; min-height: 100dvh; padding: 0 0 var(--mobile-nav-height); }
  .mobile-chat .chat-nav { display: flex; flex-wrap: nowrap; min-height: 60px; margin: 0; padding: 0 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .mobile-chat .chat-nav-brand { padding: 0; color: #ffe3a1; font-size: 16px; }
  .mobile-chat .chat-nav-links { display: none; }
  .mobile-chat .chat-nav-account { margin: 0 5px 0 auto; border: 0; border-radius: 0; background: url('/assets/mobile-ui/home/下部-我的未选中.png') center / 23px auto no-repeat; }
  .mobile-chat-banner { margin: 0 12px 10px; aspect-ratio: 710 / 202; background: url("/assets/mobile-ui/chat/1聊天上部装饰.loading.webp") center / contain no-repeat; }
  .mobile-current-room, .mobile-current-room:hover:not(:disabled) { margin: 0 15px; width: calc(100% - 30px); display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 7px 12px; color: #fff0c8; border: 0; background: url('/assets/mobile-ui/chat/聊天框-选择.png') center / 100% 100% no-repeat; text-align: left; cursor: pointer; }
  .mobile-chat .chat-layout { display: block; margin: 0 15px; min-height: 0; }
  .mobile-chat .conversation-sidebar { width: 100%; height: auto; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .mobile-chat .conversation-head { min-height: 32px; }
  .mobile-chat #refresh-rooms { width: auto; padding: 4px 10px; font-size: 11px; }
  .mobile-chat .room-list { display: flex; flex-direction: column; gap: 7px; padding: 0; overflow: visible; }
  .mobile-chat .room-entry, .mobile-chat .room-entry:hover:not(:disabled) { display: flex; gap: 12px; min-height: 78px; padding: 7px 12px; border: 0; box-shadow: none; background: url('/assets/mobile-ui/chat/聊天框-未选中.png') center / 100% 100% no-repeat; }
  .mobile-chat .room-entry.active, .mobile-chat .room-entry.active:hover:not(:disabled) { background-image: url('/assets/mobile-ui/chat/聊天框-选择.png'); }
  .mobile-chat .room-entry-avatar { flex: 0 0 58px; width: 58px; height: 58px; border: 0; border-radius: 50%; background: url('/assets/mobile-ui/chat/头像框-未选择.png') center / contain no-repeat; color: #e6d4ae; font-size: 20px; }
  .mobile-chat .room-entry.active .room-entry-avatar, .mobile-current-room .room-entry-avatar { background-image: url('/assets/mobile-ui/chat/头像框-选择.png'); }
  .mobile-chat .room-entry-copy strong { font-size: 14px; }
  .mobile-chat .room-entry-copy small { font-size: 11px; }
  .mobile-chat[data-mobile-chat-view="list"] :is(.chat-header,.group-banner,.messages-panel,.room-sidebar,#welcome-card) { display: none; }
  .mobile-chat[data-mobile-chat-view="list"] #notice:not([hidden]) { order: 9; margin: 12px 15px; }
  .mobile-chat[data-mobile-chat-view="room"] { background-image: url("/assets/performance-oct23/11d8d95c3f8fd308.webp"); }
  .mobile-chat[data-mobile-chat-view="room"] :is(.chat-nav,.mobile-chat-banner,.mobile-current-room,.conversation-sidebar,.whys-mobile-nav,.whys-icp-footer) { display: none; }
  .mobile-chat[data-mobile-chat-view="room"] .chat-shell { height: 100dvh; min-height: 0; padding: 0; overflow-x: hidden; overflow-y: auto; }
  .mobile-chat .chat-header { flex: none; display: grid; grid-template-columns: 32px minmax(0,1fr) 38px; gap: 6px; min-height: 76px; margin: 0; padding: 8px 10px; border: 0; border-radius: 0; background: url('/assets/mobile-ui/chat/2聊天上部.png') center / 100% 100% no-repeat; box-shadow: none; }
  .mobile-chat .group-identity { grid-column: 2; grid-row: 1 / 3; min-width: 0; }
  .mobile-chat .back-link, .mobile-chat .group-identity .eyebrow { display: none; }
  .mobile-chat .group-title-row { align-items: center; gap: 8px; margin: 0; }
  .mobile-chat .group-avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; }
  .mobile-chat .group-title-row > div:last-child { min-width: 0; }
  .mobile-chat .chat-header h1 { font-size: 14px; color: #ffe3a1; }
  .mobile-chat .chat-header p { margin: 4px 0 0; font-size: 10px; line-height: 1.4; max-height: 28px; overflow: auto; color: #b5c1c6; }
  .mobile-chat-back, .mobile-chat-more, .mobile-chat :is(.mobile-chat-back, .mobile-chat-more):hover:not(:disabled) { align-self: center; min-width: 0; width: 32px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent center / contain no-repeat; cursor: pointer; transform: none; }
  .mobile-chat .mobile-chat-back, .mobile-chat .mobile-chat-back:hover:not(:disabled) { grid-column: 1; grid-row: 1 / 3; background-image: url('/assets/mobile-ui/chat/2上部退出.png'); background-size: 13px auto; }
  .mobile-chat .mobile-chat-more, .mobile-chat .mobile-chat-more:hover:not(:disabled) { grid-column: 3; grid-row: 1 / 3; background-image: url('/assets/mobile-ui/chat/2上部点点.png'); background-size: 28px auto; }
  .mobile-chat .room-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; font-size: 9px; }
  .mobile-chat .room-meta > span { font-size: 9px; padding: 0 4px; }
  .mobile-chat .room-actions { display: none; width: 100%; margin: 0; padding: 6px 0; gap: 6px; }
  .mobile-chat .room-actions .icon-command { width: auto; min-width: 42px; height: 32px; padding: 0 10px; font-size: 12px; }
  .mobile-chat .group-banner { flex: none; min-height: 38px; margin: 2px 12px 5px; padding: 7px 10px 7px 34px; border: 0; border-radius: 0; background: url('/assets/mobile-ui/chat/2上部喇叭.png') center / 100% 100% no-repeat; box-shadow: none; }
  .mobile-chat .banner-mark { display: none; }
  .mobile-chat .group-banner p { font-size: 10px; color: #e5d7b6; }
  .mobile-chat .banner-rule { width: auto; height: auto; font-size: 9px; color: #c6ac74; background: none; }
  .mobile-chat #notice { flex: none; margin: 4px 12px; padding: 7px 9px; font-size: 11px; }
  .mobile-chat #welcome-card { flex: none; max-height: 130px; overflow: auto; margin: 4px 12px; padding: 8px; gap: 8px; font-size: 11px; }
  .mobile-chat #welcome-card p { font-size: 11px; }
  .mobile-chat #welcome-card-ack { width: 86px; flex: none; margin: 0; padding: 8px; font-size: 11px; }
  .mobile-chat[data-mobile-chat-view="room"] .chat-layout { display: flex; align-items: stretch; flex: 1 0 280px; min-height: 280px; margin: 0; }
  .mobile-chat .messages-panel { flex: 1; display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: hidden; }
  .mobile-chat .messages-toolbar { flex: none; flex-direction: row; align-items: center; gap: 5px; padding: 3px 12px; min-height: 36px; border: 0; background: #020b1280; }
  .mobile-chat .toolbar-left { gap: 6px; min-height: 28px; }
  .mobile-chat .toolbar-tab { font-size: 10px; }
  .mobile-chat .history-button { font-size: 10px; padding: 4px 6px; }
  .mobile-chat .message-search { width: 45%; }
  .mobile-chat .message-search input { height: 30px; min-height: 30px; font-size: 12px; }
  .mobile-chat .messages { flex: 1; min-height: 0; padding: 10px 12px; content-visibility: visible; contain-intrinsic-size: none; }
  .mobile-chat .empty-state { flex: 1; min-height: 0; margin: 0; padding: 28px; background: none; color: #c0b99f; font-size: 12px; }
  .mobile-chat .messages:empty { flex: 0; padding: 0; }
  .mobile-chat .message { grid-template-columns: 46px minmax(0,1fr); gap: 8px; border: 0; padding: 9px 0; }
  .mobile-chat .message-self { grid-template-columns: minmax(0,1fr) 46px; }
  .mobile-chat .message-avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #6b707a; background: #30313f url('/assets/mobile-ui/chat/2头像框.png') center / contain no-repeat; }
  .mobile-chat .message-self .message-avatar { background-image: url('/assets/mobile-ui/chat/2头像框自己.png'); }
  .mobile-chat .message-head { gap: 4px; font-size: 10px; }
  .mobile-chat .message-name, .mobile-chat .message-level { font-size: 10px; }
  .mobile-chat .message-time { font-size: 8px; }
  .mobile-chat .message-bubble { min-height: 42px; max-width: 100%; margin-top: 4px; padding: 12px 13px; border: 1px solid #334551; border-radius: 12px; background: #020d12 url('/assets/mobile-ui/chat/2聊天框.png') center / 100% 100% no-repeat; color: #ece4d0; font-size: 14px; }
  .mobile-chat .message-self .message-bubble { border-color: #f5d589; background: #fbd777 url('/assets/mobile-ui/chat/2聊天框自己.png') center / 100% 100% no-repeat; color: #33250c; }
  .mobile-chat .message-attachment :is(img,video,audio) { max-width: 100%; }
  .mobile-chat .composer { flex: none; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #283a44; background: #030b12 url('/assets/mobile-ui/chat/2下部底框.png') center / 100% 100% no-repeat; }
  .mobile-chat .composer-tools { min-height: 32px; gap: 9px; margin-bottom: 5px; }
  .mobile-chat .tool-button { width: 30px; height: 30px; border: 0; border-radius: 0; color: transparent; font-size: 0; background-position: center; background-size: contain; }
  .mobile-chat #emoji-button { background-image: url('/assets/mobile-ui/chat/2表情.png'); }
  .mobile-chat #voice-button { background-image: url('/assets/mobile-ui/chat/2语音.png'); }
  .mobile-chat #voice-button.recording { background-color: #773c3c; border-radius: 50%; }
  .mobile-chat #file-button { background-image: url('/assets/mobile-ui/chat/2增加添加加号.png'); }
  .mobile-chat .composer-label { font-size: 9px; }
  .mobile-chat .composer-row { grid-template-columns: minmax(0,1fr) 50px; gap: 6px; }
  .mobile-chat .composer textarea { height: 42px; min-height: 42px; max-height: 96px; resize: vertical; padding: 10px; border: 0; background: url('/assets/mobile-ui/chat/2输入框.png') center / 100% 100% no-repeat; font-size: 16px; }
  .mobile-chat #send-button { width: 50px; min-height: 42px; padding: 8px; border: 0; border-radius: 8px; background: #f0c66c; color: #251b0b; font-size: 12px; white-space: nowrap; }
  .mobile-chat .room-sidebar { display: none; }
  .mobile-chat.mobile-chat-tools .room-actions { display: flex; flex-wrap: wrap; }
  .mobile-chat.mobile-chat-tools .room-sidebar { display: block; width: 100%; height: auto; max-height: none; margin: 0 10px 10px; padding: 0; overflow-y: auto; }
  .mobile-chat.mobile-chat-tools .messages-panel { display: none; }
  .mobile-chat[data-mobile-chat-view="room"] .unified-center-launcher { right: 12px; bottom: 118px; width: 34px; height: 34px; opacity: .9; }
}
