           .loading-spinner {
               display: none;
               width: 16px;
               height: 16px;
               border: 2px solid rgba(0, 0, 0, 0.2);
               border-top-color: var(--accent-color);
               border-radius: 50%;
               animation: spin 1s linear infinite;
               margin: 0 8px;
           }

           @keyframes spin {
               to {
                   transform: rotate(360deg);
               }
           }

           #shared-history-viewer-content {
               display: flex;
               flex-direction: column;
               gap: 20px;
               padding: 15px;
           }

           #music-player-overlay {
               position: absolute;
               top: 0;
               left: 0;
               width: 100%;
               height: 100%;
               z-index: 50;
               display: flex;
               justify-content: center;
               align-items: flex-start;
               padding-top: 60px;
               background-color: rgba(0, 0, 0, 0.3);
               opacity: 0;
               visibility: hidden;
               transform: translateY(-50px);
               transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
           }

           #music-player-overlay.visible {
               opacity: 1;
               visibility: visible;
               transform: translateY(0);
           }

           .music-player-window {
               width: 70%;
               min-height: 420px;
               background-color: rgba(255, 255, 255, 0.6);
               backdrop-filter: blur(20px);
               -webkit-backdrop-filter: blur(20px);
               border-radius: 25px;
               box-shadow: 0 8px 32px 0 rgba(25, 25, 25, 0.37);
               border: 1px solid rgba(255, 255, 255, 0.18);
               padding: 25px;
               display: flex;
               flex-direction: column;
               align-items: center;
               color: #1f1f1f;
               position: relative;
               justify-content: space-between;
               padding-bottom: 15px;
           }

           .music-player-top-actions {
               position: absolute;
               top: 15px;
               left: 15px;
               right: 15px;
               width: calc(100% - 30px);
               display: flex;
               justify-content: space-between;
               align-items: center;
           }

           .top-left-cluster {
               display: flex;
               align-items: center;
               gap: 15px;
           }

           #music-return-btn,
           #music-exit-btn {
               background: none;
               border: none;
               font-size: 28px;
               font-weight: 300;
               cursor: pointer;
               color: #555;
               padding: 5px;
               line-height: 1;
           }

           #music-exit-btn {
               font-size: 24px;
               font-weight: 400;
           }

           .music-progress-bar-container {
               width: 100%;
               display: flex;
               align-items: center;
               gap: 10px;
               margin-top: 25px;
               margin-bottom: 10px;
           }

           .time-display {
               font-size: 11px;
               color: #888;
               width: 35px;
               text-align: center;
               flex-shrink: 0;
               font-family: 'SF Mono', 'Menlo', monospace;
           }

           .progress-bar {
               flex-grow: 1;
               height: 5px;
               background-color: #e5e5e5;
               border-radius: 2.5px;
               cursor: pointer;
           }

           .progress-bar-fill {
               width: 0%;
               height: 100%;
               background-color: #333;
               border-radius: 2.5px;
           }

           #music-lyrics-container {
               width: 100%;
               height: 192px;
               overflow: hidden;
               position: relative;
               -webkit-mask-image: linear-gradient(transparent, black 20%, black 80%, transparent);
               mask-image: linear-gradient(transparent, black 20%, black 80%, transparent);
           }

           #music-lyrics-list {
               display: flex;
               flex-direction: column;
               align-items: center;
               transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
           }

           .lyric-line {
               padding: 4px 0;
               font-size: 14px;
               color: #666;
               text-align: center;
               line-height: 1.5;
               transition: all 0.5s ease;
               opacity: 0.7;
               transform: scale(0.95);
           }

           .lyric-line.active {
               font-size: 16px;
               color: #000;
               opacity: 1;
               transform: scale(1);
           }

           .music-player-controls-wrapper {
               width: 100%;
               display: flex;
               flex-direction: column;
               gap: 10px;
           }

           .music-controls {
               margin-top: 0;
           }

           .music-controls svg {
               display: block;
               pointer-events: none;
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn {
               color: rgba(255, 255, 255, 0.85);
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn:hover {
               color: #fff;
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn.active {
               color: #0a84ff;
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn.text-btn {
               border-color: rgba(255, 255, 255, 0.25);
               color: rgba(255, 255, 255, 0.85);
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn.text-btn:hover {
               border-color: rgba(255, 255, 255, 0.5);
               color: #fff;
           }

           #phone-screen.dark-mode .music-controls .secondary-control-btn.text-btn.active {
               background-color: var(--accent-color, #0a84ff);
               border-color: var(--accent-color, #0a84ff);
               color: #fff;
           }

           #phone-screen.dark-mode .music-controls .play-pause-btn {
               background-color: rgba(255, 255, 255, 0.12);
               color: #fff;
           }

           #music-return-btn,
           #music-exit-btn,
           #music-playlist-btn {
               position: relative;
           }

           #music-return-btn {
               top: -2px;
           }

           #music-playlist-btn {
               top: -3px;
           }

           .playlist-item-actions {
               display: flex;
               align-items: center;
               gap: 15px;
           }

           .playlist-action-btn {
               font-size: 18px;
               color: #888;
               cursor: pointer;
               transition: color 0.2s;
           }

           .playlist-action-btn:hover {
               color: #000;
           }

           .delete-track-btn {
               font-size: 24px;
               color: #ff3b30;
           }

           .delete-track-btn:hover {
               color: #c00;
           }

           .lyrics-btn {
               font-weight: 500;
           }

           .message-bubble .avatar {
               width: 34px;
               height: 34px;
               border-radius: 20%;
               object-fit: cover;
               flex-shrink: 0;
           }

           .recalled-message-placeholder {
               align-self: center;
               padding: 4px 12px;
               margin: 5px 0;
               background-color: rgba(0, 0, 0, 0.1);
               color: var(--text-secondary);
               font-size: 12px;
               border-radius: 10px;
               text-align: center;
               max-width: 80%;
               cursor: pointer;
           }

           #phone-screen.dark-mode .recalled-message-placeholder {
               background-color: rgba(255, 255, 255, 0.15);
           }

           @keyframes recall-animation {
               from {
                   opacity: 1;
                   transform: scale(1);
               }

               to {
                   opacity: 0;
                   transform: scale(0.8);
               }
           }

           .message-wrapper.recalled-animation {
               animation: recall-animation 0.3s ease-out forwards;
           }

           .recalled-message-placeholder {
               white-space: nowrap;
               display: inline-block;
               padding: 4px 12px;
           }

           .world-book-group-container {
               border-bottom: 1px solid var(--border-color);
           }

           .world-book-group-container:first-child {
               border-top: 1px solid var(--border-color);
           }

           .world-book-group-header {
               display: flex;
               align-items: center;
               padding: 12px 15px;
               cursor: pointer;
               background-color: #f7f7f7;
           }

           .world-book-group-header .arrow {
               font-size: 14px;
               margin-right: 8px;
               transition: transform 0.2s ease;
           }

           .world-book-group-header.collapsed .arrow {
               transform: rotate(-90deg);
           }

           .world-book-group-header .group-name {
               font-weight: 600;
               font-size: 15px;
           }

           .world-book-group-content {
               max-height: 1000px;
               overflow: hidden;
               transition: max-height 0.3s ease-in-out;
           }

           .world-book-group-content.collapsed {
               max-height: 0;
           }

           #phone-screen.dark-mode .world-book-group-header {
               background-color: #1c1c1e;
           }

           .chat-list-item.pinned {
               background-color: #f0f2f5;
           }

           #phone-screen.dark-mode .chat-list-item.pinned {
               background-color: #2c2c2e;
           }

           #chat-input-area {
               display: flex;
               flex-direction: column;
               flex-shrink: 0;
               background-color: var(--secondary-bg);
           }

           #chat-input-actions-top {
               flex-shrink: 0;
               padding-bottom: 8px;
           }

           #chat-input-main-row {
               flex-shrink: 0;
           }

           #chat-input-area {
               position: relative;
               z-index: 20;
               flex-shrink: 0;
               padding: 8px;
               background-color: rgba(247, 247, 247, 0.8);
               backdrop-filter: blur(10px);
               -webkit-backdrop-filter: blur(10px);
               border-top: 1px solid var(--border-color);
               display: flex;
               flex-direction: column;
               gap: 5px;
           }

           #chat-at-mention-popup {
               bottom: 100%;
               left: 8px;
               right: 8px;
               width: auto;
               margin-bottom: 5px;
           }

           #announcement-board-modal .modal-content {
               height: 70%;
               background-color: #f0f2f5;
           }

           #announcement-board-content {
               padding: 15px;
               flex-grow: 1;
               overflow-y: auto;
               display: flex;
               flex-direction: column;
               gap: 15px;
           }

           #announcement-board-content .message-wrapper {
               max-width: 100%;
               align-self: center;
           }

           #announcement-board-content .timestamp {
               display: none;
           }

           .announcement-item-wrapper {
               position: relative;
               padding: 10px;
               background-color: white;
               border-radius: 12px;
               box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
           }

           .announcement-item-actions {
               position: absolute;
               top: 15px;
               right: 15px;
               font-size: 20px;
               font-weight: bold;
               color: var(--text-secondary);
               cursor: pointer;
               padding: 5px;
               line-height: 1;
               border-radius: 50%;
           }

           .announcement-item-actions:hover {
               background-color: #f0f0f0;
           }

           .pinned-indicator {
               position: absolute;
               top: -8px;
               left: -8px;
               width: 28px;
               height: 28px;
               background-color: #ffc107;
               color: white;
               border-radius: 50%;
               display: flex;
               align-items: center;
               justify-content: center;
               font-size: 16px;
               box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
               border: 2px solid white;
           }

           .reposted-content-wrapper {
               background-color: #f7f7f8;
               border: 1px solid var(--border-color);
               border-radius: 8px;
               padding: 10px;
               margin-top: 10px;
           }

           #phone-screen.dark-mode .reposted-content-wrapper {
               background-color: #2c2c2e;
               border-color: #38383a;
           }

           .reposted-content-wrapper .post-footer,
           .reposted-content-wrapper .post-feedback-icons,
           .reposted-content-wrapper .post-likes-section {
               display: none;
           }

           .reposted-content-wrapper .post-header {
               margin-bottom: 8px;
           }

           .reposted-content-wrapper .post-avatar {
               width: 32px;
               height: 32px;
           }

           .reposted-content-wrapper .post-nickname {
               font-size: 14px;
           }

           .location-share-card {
               width: 230px;
               border-radius: 10px;
               overflow: hidden;
               background-color: var(--secondary-bg);
               border: 1px solid #f0f0f0;
               box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
               cursor: pointer;
           }

           .card-text-area {
               padding: 12px;
               border-bottom: 1px solid #f0f0f0;
           }

           .card-text-primary {
               font-size: 16px;
               font-weight: 600;
               color: #222;
               margin-bottom: 4px;
               white-space: nowrap;
               overflow: hidden;
               text-overflow: ellipsis;
           }

           .card-text-secondary {
               font-size: 12px;
               color: #a0a0a0;
           }

           .card-map-area {
               height: 100px;
               display: flex;
               justify-content: center;
               align-items: center;
               background-size: cover;
               background-position: center;
               background-color: #FFF0F5;
           }

           .message-bubble.user .location-share-card .card-map-area {
               background-color: #F0FFF8;
           }

           .card-pin-icon {
               font-size: 40px;
               color: #FF6B6B;
               text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
           }

           @keyframes breathing-light {
               0% {
                   box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
               }

               50% {
                   box-shadow: 0 0 18px 4px rgba(0, 123, 255, 0.8);
               }

               100% {
                   box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
               }
           }

           .chat-list-item .avatar.is-acting {
               animation: breathing-light 2s ease-in-out infinite;
               border: 1.5px solid rgba(0, 123, 255, 0.7);
           }

           .comment-sticker-btn {
               background: none;
               border: none;
               padding: 5px;
               cursor: pointer;
               color: var(--text-secondary);
               transition: all 0.2s ease-in-out;
               display: flex;
               align-items: center;
               justify-content: center;
           }

           .comment-sticker-btn:hover {
               color: var(--text-primary);
           }

           .comment-sticker-btn svg {
               width: 22px;
               height: 22px;
               fill: none;
               stroke: currentColor;
               stroke-width: 2;
               stroke-linecap: round;
               stroke-linejoin: round;
           }

           #qzone-sticker-panel {
               position: absolute;
               width: 280px;
               height: 200px;
               background-color: rgba(255, 255, 255, 0.95);
               backdrop-filter: blur(10px);
               -webkit-backdrop-filter: blur(10px);
               border: 1px solid var(--border-color);
               border-radius: 12px;
               box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
               z-index: 1010;
               display: none;
               flex-direction: column;
               overflow: hidden;
           }

           #qzone-sticker-grid {
               flex-grow: 1;
               overflow-y: auto;
               padding: 10px;
               display: grid;
               grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
               gap: 10px;
           }

           #qzone-sticker-grid .sticker-item {
               position: relative;
               aspect-ratio: 1 / 1;
               background-color: white;
               border-radius: 8px;
               background-size: contain;
               background-repeat: no-repeat;
               background-position: center;
               cursor: pointer;
               box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
           }

           .comment-text .comment-sticker {
               max-width: 100px;
               max-height: 100px;
               display: block;
               background-color: transparent;
           }

           .comment-item .comment-text:has(.comment-sticker) {
               line-height: 1;
           }

           .change-frame-btn {
               padding: 6px 10px;
               border: 1px solid #ccc;
               background-color: #f0f0f0;
               border-radius: 5px;
               cursor: pointer;
               font-size: 13px;
               margin-left: 10px;
           }

           #avatar-frame-modal .modal-content {
               height: 70%;
           }

           #avatar-frame-modal .modal-body {
               padding: 0;
               display: flex;
               flex-direction: column;
           }

           .frame-tabs {
               display: flex;
               border-bottom: 1px solid var(--border-color);
               flex-shrink: 0;
           }

           .frame-tab {
               flex: 1;
               padding: 12px;
               text-align: center;
               font-weight: 500;
               cursor: pointer;
               color: var(--text-secondary);
               border-bottom: 2px solid transparent;
           }

           .frame-tab.active {
               color: var(--accent-color);
               border-bottom-color: var(--accent-color);
           }

           .frame-content {
               flex-grow: 1;
               overflow-y: auto;
               padding: 15px;
           }

           .frame-grid {
               display: grid;
               grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
               gap: 15px;
           }

           .frame-item {
               aspect-ratio: 1 / 1;
               border: 2px solid transparent;
               border-radius: 10px;
               cursor: pointer;
               background-color: #f0f0f0;
               background-size: cover;
               background-position: center;
               padding: 5px;
               transition: all 0.2s ease;
               position: relative;
           }

           .frame-item.selected {
               border-color: var(--accent-color);
               transform: scale(1.05);
           }

           .frame-item .preview-avatar {
               width: 100%;
               height: 100%;
               border-radius: 50%;
               object-fit: cover;
           }

           .frame-item .preview-frame {
               position: absolute;
               top: -7px;
               left: 0;
               width: 100%;
               height: 100%;
           }

           .avatar-group {
               width: 34px;
               flex-shrink: 0;
               position: relative;
               transition: width 0.2s ease;
           }

           .avatar-group.has-frame {
               width: 34px;
           }

           .message-bubble .avatar {
               width: 34px;
               height: 34px;
               border-radius: 20%;
               object-fit: cover;
           }

           .avatar-with-frame {
               position: relative;
               width: 38px;
               height: 38px;
               margin: 0 auto;
               transition: all 0.2s ease;
           }

           .avatar-group.has-frame .avatar-with-frame {
               width: 43px;
               height: 43px;
           }

           .avatar-with-frame .avatar-img {
               position: absolute;
               top: 0;
               left: 0;
               width: 100%;
               height: 100%;
               border-radius: 50%;
               object-fit: cover;
               z-index: 1;
           }

           .avatar-with-frame .avatar-frame {
               position: absolute;
               width: 120%;
               height: 120%;
               top: 50%;
               left: 50%;
               transform: translate(-50%, -50%);
               z-index: 2;
               pointer-events: none;
           }

           .message-bubble {
               flex: 1;
               min-width: 0;
               display: flex;
               align-items: flex-start;
               gap: 12px;
               max-width: 100%;
           }

           .message-bubble.user {
               flex-direction: row-reverse;
           }

           .message-bubble .content {
               flex: 1;
               min-width: 0;
               overflow-wrap: break-word;
               word-wrap: break-word;
               position: relative;
               font-size: var(--chat-font-size, 16px);
               padding: 8px 12px;
               line-height: 1.5;
           }

           .message-bubble .avatar-group {
               flex-shrink: 0 !important;
           }

           #chat-interface-screen .message-bubble .avatar-group.has-frame .avatar-with-frame {
               width: 34px !important;
               height: 34px !important;
           }

           #chat-interface-screen .message-bubble .avatar-with-frame .avatar-img {
               width: 100% !important;
               height: 100% !important;
           }

           .message-bubble.is-link-share .content,
           .message-bubble.is-transfer .content,
           .message-bubble.is-waimai-request .content,
           .message-bubble.is-red-packet .content,
           .message-bubble.is-poll .content,
           .message-bubble.is-location-share .content,
           .message-bubble.is-sticker .content,
           .message-bubble.is-ai-image .content {
               display: flex;
               justify-content: center;
               align-items: center;
           }

           #chat-list-screen .avatar-frame {
               display: none;
           }

           #chat-list-screen .avatar-group {
               width: 45px;
               height: 45px;
           }

           #chat-list-screen .avatar-group.has-frame .avatar-with-frame,
           #chat-list-screen .avatar-group.has-frame .avatar-img {
               width: 45px;
               height: 45px;
           }

           #chat-list-screen .avatar-img,
           #chat-list-screen .avatar {
               border-radius: 50%;
           }

           #chat-list .chat-list-item .avatar-group {
               margin-right: 15px !important;
           }

           #chat-list .chat-list-item .avatar {
               margin-right: 0;
           }

           .comment-item {
               cursor: pointer;
               transition: background-color 0.2s;
               display: flex;
               justify-content: space-between;
               align-items: flex-start;
               gap: 8px;
               padding: 4px 6px;
               margin: 0 -6px;
               border-radius: 4px;
           }

           .comment-item:hover {
               background-color: #f0f2f5;
           }

           #phone-screen.dark-mode .comment-item:hover {
               background-color: #2c2c2e;
           }

           .comment-item .comment-text {
               flex-grow: 1;
               word-break: break-word;
           }

           .legacy-comment-item {
               line-height: 1.5;
               padding: 4px 6px;
               color: var(--text-secondary);
           }

           .message-bubble.is-link-share .content,
           .message-bubble.is-transfer .content,
           .message-bubble.is-waimai-request .content,
           .message-bubble.is-red-packet .content,
           .message-bubble.is-poll .content,
           .message-bubble.is-location-share .content,
           .message-bubble.is-sticker .content,
           .message-bubble.is-ai-image .content {
               display: flex;
               justify-content: center;
               align-items: center;
           }

           #chat-interface-screen .message-bubble .avatar-group.has-frame .avatar-with-frame {
               width: 34px !important;
               height: 34px !important;
           }

           #chat-interface-screen .message-bubble .avatar-with-frame .avatar-img {
               width: 100% !important;
               height: 100% !important;
           }

           .message-bubble.is-sticker,
           .message-bubble.is-voice-message,
           .message-bubble.is-transfer,
           .message-bubble.is-ai-image,
           .message-bubble.is-waimai-request,
           .message-bubble.is-red-packet,
           .message-bubble.is-poll,
           .message-bubble.is-link-share,
           .message-bubble.is-location-share {
               flex: initial;
               min-width: auto;
           }

           .message-bubble.is-sticker .content,
           .message-bubble.is-voice-message .content,
           .message-bubble.is-transfer .content,
           .message-bubble.is-ai-image .content,
           .message-bubble.is-waimai-request .content,
           .message-bubble.is-red-packet .content,
           .message-bubble.is-poll .content,
           .message-bubble.is-link-share .content,
           .message-bubble.is-location-share .content {
               flex: initial;
               padding: 0;
               background: transparent;
               box-shadow: none;
               border: none;
               backdrop-filter: none;
               -webkit-backdrop-filter: none;
           }

           #announcement-board-content .message-wrapper {
               align-self: flex-start !important;
           }

           #announcement-board-content .message-bubble.user {
               flex-direction: row !important;
           }

           #announcement-board-content .message-wrapper.user {
               flex-direction: row !important;
           }

           #chat-interface-screen>.header {
               position: absolute !important;
               top: 0;
               left: 0;
               width: 100%;
               z-index: 100 !important;
           }

           #chat-interface-screen #chat-messages {
               margin-top: 0 !important;
           }

           #music-player-overlay {
               z-index: 200 !important;
           }

           #chat-interface-screen {
               position: relative !important;
               height: 100%;
               width: 100%;
               overflow: hidden;
           }

           #chat-interface-screen>.header {
               position: absolute !important;
               top: 0;
               left: 0;
               right: 0;
               width: auto !important;
               z-index: 100 !important;
           }

           #chat-interface-screen #chat-input-area {
               position: absolute !important;
               bottom: 0;
               left: 0;
               right: 0;
               width: auto !important;
               z-index: 100 !important;
               padding-bottom: calc(8px + env(safe-area-inset-bottom));
           }

           #chat-interface-screen #chat-messages {
               height: 100% !important;
               width: 100% !important;
               overflow-y: auto !important;
               box-sizing: border-box !important;
               margin-top: 0 !important;
               padding-top: calc(120px + env(safe-area-inset-top)) !important;
               padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
           }

           .post-deleted-placeholder {
               align-self: center;
               padding: 4px 12px;
               margin: 5px 0;
               background-color: rgba(0, 0, 0, 0.1);
               color: var(--text-secondary);
               font-size: 12px;
               border-radius: 10px;
               text-align: center;
               max-width: 80%;
               cursor: pointer;
           }

           #phone-screen.dark-mode .post-deleted-placeholder {
               background-color: rgba(255, 255, 255, 0.15);
           }

           .spoiler {
               background-color: #333;
               color: #333;
               padding: 0 4px;
               border-radius: 4px;
               cursor: pointer;
               transition: all 0.2s ease-in-out;
           }

           .spoiler:hover,
           .spoiler:active {
               background-color: #e0e0e0;
               color: inherit;
           }

           .memory-action-btn {
               background: none;
               border: none;
               cursor: pointer;
               padding: 5px;
               border-radius: 50%;
               display: flex;
               align-items: center;
               justify-content: center;
               transition: background-color 0.2s;
           }

           .memory-action-btn svg {
               width: 18px;
               height: 18px;
               stroke: var(--text-secondary);
               transition: stroke 0.2s;
           }

           .memory-action-btn:hover {
               background-color: #e9ecef;
           }

           #phone-screen.dark-mode .memory-action-btn:hover {
               background-color: #38383a;
           }

           .memory-action-btn.edit-memory-btn:hover svg {
               stroke: var(--accent-color);
           }

           .memory-action-btn.delete-memory-btn:hover svg {
               stroke: #ff3b30;
           }

           #sticker-grid.management-mode .sticker-item::after {
               content: '';
               position: absolute;
               top: 0;
               left: 0;
               width: 100%;
               height: 100%;
               border: 3px solid transparent;
               border-radius: 10px;
               box-sizing: border-box;
               transition: border-color 0.2s;
           }

           #sticker-grid.management-mode .sticker-item.selected::after {
               border-color: var(--accent-color);
           }

           #sticker-grid.management-mode .sticker-item .delete-btn {
               display: block;
               background-color: rgba(0, 0, 0, 0.5);
               color: white;
               border: 1px solid white;
           }

           #sticker-action-bar {
               display: none;
               padding: 10px 15px;
               padding-bottom: calc(10px + env(safe-area-inset-bottom));
               background-color: rgba(247, 247, 247, 0.9);
               backdrop-filter: blur(10px);
               -webkit-backdrop-filter: blur(10px);
               border-top: 1px solid var(--border-color);
           }

           #sticker-action-bar button {
               width: 100%;
               padding: 12px;
               border-radius: 8px;
               border: none;
               font-size: 16px;
               font-weight: 600;
               cursor: pointer;
               background-color: #ff3b30;
               color: white;
           }

           #ai-response-editor-container {
               display: flex;
               flex-direction: column;
               gap: 15px;
           }

           .ai-response-editor-block {
               background-color: #f9f9f9;
               border: 1px solid var(--border-color);
               border-radius: 8px;
               padding: 12px;
           }

           .ai-response-editor-block textarea {
               width: 100%;
               min-height: 80px;
               resize: vertical;
               border: 1px solid #ccc;
               border-radius: 6px;
               padding: 8px;
               font-size: 14px;
               font-family: monospace;
               box-sizing: border-box;
           }

           .ai-response-editor-block .format-helpers {
               margin-top: 8px;
               margin-bottom: 0;
           }

           .ai-response-editor-block .delete-block-btn {
               float: right;
               margin-top: -5px;
               background: none;
               border: none;
               color: #ff3b30;
               font-size: 20px;
               cursor: pointer;
           }

           #phone-screen.dark-mode .ai-response-editor-block {
               background-color: #2c2c2e;
               border-color: #38383a;
           }

           #phone-screen.dark-mode .ai-response-editor-block textarea {
               background-color: #1c1c1e;
               color: #f0f0f0;
               border-color: #4a4a4e;
           }

           .offline-dialogue {
               font-weight: 500;
           }

           .offline-description {
               display: block;
               color: inherit;
               font-style: normal;
               margin-top: 4px;
               white-space: pre-wrap;
               line-height: 1.6;
           }

           .offline-description em {
               color: var(--text-secondary);
           }

           #phone-screen.dark-mode .offline-description {
               color: inherit;
           }

           .offline-continuous {
               white-space: pre-wrap;
               line-height: 1.8;
               word-break: break-word;
           }
