/*
 * Góc Nhỏ - Sáng trắng / đen.
 * Only the soft/light theme is changed. Dark and pink keep their original palettes.
 * Media, purchased skins and gameplay surfaces retain their existing styling.
 */
.public-theme-picker { display: inline-flex; align-items: center; gap: 5px; color: #aab5c1; }
.public-theme-picker select { min-height: 30px; padding: 3px 7px; border: 1px solid #46515d; border-radius: 6px; background: #171c22; color: #e7edf3; }

html[data-theme="soft"] {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #f5f5f5;
  --line: #d4d4d4;
  --line-soft: #e5e5e5;
  --text: #000000;
  --muted: #525252;
  --green: #262626;
  --blue: #262626;
  --orange: #262626;
  --pink: #262626;
  --danger: #262626;
  --role-admin: #262626;
  --role-smod: #262626;
  --role-mod: #262626;
  --role-member: #262626;
  accent-color: #000000;
}

html[data-theme="soft"] body {
  background: #ffffff !important;
  color: var(--text);
  font-weight: 500;
}
html[data-theme="soft"] .ambient-one { background: #d4d4d4; opacity: .22; }
html[data-theme="soft"] .ambient-two { background: #d4d4d4; opacity: .18; }
html[data-theme="soft"] .app-shell {
  border-inline-color: #d4d4d4 !important;
  background: #ffffff !important;
  box-shadow: 0 0 36px rgba(0, 0, 0, .08) !important;
}

/* Header, navigation and member strip. */
html[data-theme="soft"] .site-header {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #fafafa, #f5f5f5 72%) !important;
}
html[data-theme="soft"] .brand strong { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .brand small { color: #525252 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(.header-refresh-button, .header-menu-button) {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #ffffff, #f5f5f5) !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .main-nav { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .nav-item { border-right-color: #e5e5e5 !important; color: #262626 !important; text-shadow: none !important; }
html[data-theme="soft"] .nav-item:hover { background: #f5f5f5 !important; color: #171717 !important; }
html[data-theme="soft"] .nav-item.active {
  background: linear-gradient(180deg, #f5f5f5, #e5e5e5) !important;
  color: #262626 !important;
  box-shadow: inset 0 -3px #525252 !important;
}
html[data-theme="soft"] .profile-strip { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .profile-copy :is(strong, b) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .profile-copy p { color: #525252 !important; }
html[data-theme="soft"] .rank { border-color: #d4d4d4 !important; background: #f5f5f5 !important; color: #262626 !important; }

/* Common surfaces shared by home, feed, messages and settings. */
html[data-theme="soft"] :is(
  .panel, .feed-card, .notification-list, .auth-panel, .global-chatbox-panel,
  .direct-inbox-panel, .direct-conversation-panel, .group-chat-panel, .chat-panel,
  .profile-panel:not(.has-profile-skin), .shop-list, .inventory-list,
  .game-room-catalog, .game-demo-grid, .game-catalog-grid,
  .site-announcement-panel, .site-featured-card, .site-announcement-card,
  .site-announcement-list, .content-pagination
) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: none;
}
html[data-theme="soft"] .panel-title {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #fafafa, #f5f5f5) !important;
  color: #262626 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .panel-title :is(strong, span) { color: #262626; }
html[data-theme="soft"] .panel-title :is(small, button) { color: #525252 !important; }
html[data-theme="soft"] :is(.room-card, .clock-card, .statistics-card, .ranking-card, .shop-item, .inventory-item, .gift-card) {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.room-card, .clock-card):hover {
  border-color: #a3a3a3 !important;
  background: #fafafa !important;
}
html[data-theme="soft"] .room-card > svg { color: #525252 !important; }
html[data-theme="soft"] .room-card :is(strong, span) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(
  .quick-menu, .quick-links, .feed-tabs, .member-filter-tabs, .message-inbox-tabs,
  .ranking-tabs, .ranking-periods, .room-tabs, .shop-tabs, .shop-filter
) { border-color: #e5e5e5 !important; background: #fafafa !important; }
html[data-theme="soft"] :is(.quick-menu, .quick-links) button {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #262626 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button:hover { background: #f5f5f5 !important; color: #171717 !important; }
html[data-theme="soft"] :is(
  .feed-tabs button, .member-filter-tabs button, .message-inbox-tabs button,
  .ranking-tabs button, .ranking-periods button, .room-tabs button,
  .shop-tabs button, .shop-filter button
) { color: #262626; }
html[data-theme="soft"] :is(
  .feed-tabs button.active, .member-filter-tabs button.active, .message-inbox-tabs button.active,
  .ranking-tabs button.active, .ranking-periods button.active, .room-tabs button.active,
  .shop-tabs button.active, .shop-filter button.active
) { background: #f5f5f5 !important; color: #262626 !important; }

/* Announcements and the home welcome block. */
html[data-theme="soft"] :is(.site-announcement-card, .site-featured-card):not(.promoted-announcement) .site-announcement-body { background: #ffffff !important; }
html[data-theme="soft"] :is(.site-announcement-card, .site-featured-card):not(.promoted-announcement) .site-announcement-content { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .site-announcement-meta { color: #525252 !important; }
html[data-theme="soft"] .home-welcome-decoration { background: radial-gradient(circle at center, rgba(82, 82, 82, .16), transparent 66%) !important; }
html[data-theme="soft"] :is(.home-welcome-clock, .home-welcome-date) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .global-announcement-bar:not([data-source="jackpot"]) {
  border-color: #d4d4d4 !important;
  background: linear-gradient(110deg, rgba(250, 250, 250, .98), rgba(245, 245, 245, .98)) !important;
  color: #171717 !important;
  box-shadow: 0 10px 30px rgba(38, 38, 38, .22), 0 0 0 1px rgba(82, 82, 82, .10) !important;
}
html[data-theme="soft"] .global-announcement-bar:not([data-source="jackpot"])::before,
html[data-theme="soft"] .global-announcement-bar:not([data-source="jackpot"])::after { opacity: .12; }
html[data-theme="soft"] .global-announcement-bar:not([data-source="jackpot"]) .global-announcement-text { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .global-announcement-bar:not([data-source="jackpot"]) :is(.global-announcement-icon, .global-announcement-pause, .global-announcement-close) { color: #262626 !important; text-shadow: none !important; }

/* Forms and interactive controls. */
html[data-theme="soft"] :is(input, textarea, select) { color-scheme: light; }
html[data-theme="soft"] :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  textarea, select
) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  caret-color: #262626 !important;
  text-shadow: none !important;
  box-shadow: none;
}
html[data-theme="soft"] :is(input, textarea)::placeholder { color: #525252 !important; opacity: 1; }
html[data-theme="soft"] select option { background: #ffffff; color: #171717; }
html[data-theme="soft"] :is(input, textarea, select):focus {
  border-color: #525252 !important;
  box-shadow: 0 0 0 3px rgba(82, 82, 82, .18) !important;
  outline: 0;
}
html[data-theme="soft"] input:-webkit-autofill,
html[data-theme="soft"] textarea:-webkit-autofill,
html[data-theme="soft"] select:-webkit-autofill {
  -webkit-text-fill-color: #171717 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}
html[data-theme="soft"] :is(.global-chat-composer, .composer, .content-composer, .comment-form, .feed-composer) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
}
html[data-theme="soft"] :is(.composer-actions button, .primary-button) {
  border-color: #262626 !important;
  background: linear-gradient(180deg, #525252, #262626) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.composer-actions button, .primary-button):hover {
  background: linear-gradient(180deg, #525252, #262626) !important;
}
html[data-theme="soft"] button:focus-visible,
html[data-theme="soft"] a:focus-visible { outline: 3px solid rgba(82, 82, 82, .33); outline-offset: 2px; }

/* Chat, messages, inbox and notifications. */
html[data-theme="soft"] :is(.global-chat-list, .room-chat-list, .chat-messages, .comment-list, .direct-message-list, .group-message-list, .party-message-list) {
  background-color: #fafafa !important;
}
html[data-theme="soft"] :is(.global-chat-message, .member-item, .friend-request-item, .notification-item, .conversation-row, .ranking-row, .received-gift, .friend-row, .blocked-member-item) {
  border-color: #e5e5e5 !important;
  background-color: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .global-chat-message:nth-child(even) { background: #fafafa !important; }
html[data-theme="soft"] :is(.global-chat-content, .global-chat-status, .global-chat-member-stats, .member-copy strong, .conversation-copy strong, .notification-summary strong) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(.member-copy span, .member-location, .member-online-state, .conversation-preview, .conversation-list-time, .notification-copy p) { color: #525252 !important; }
html[data-theme="soft"] #member-list .member-item { min-height: 82px; }
html[data-theme="soft"] #member-list .member-copy > .user-identity-top > strong {
  color: #171717 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
}
html[data-theme="soft"] #member-list .member-level-mood,
html[data-theme="soft"] #member-list .user-nick-meta {
  color: #262626 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
html[data-theme="soft"] #member-list :is(.member-level-mood, .user-nick-meta) > b { color: #262626 !important; }
html[data-theme="soft"] #member-list :is(.member-level-mood, .user-nick-meta) > i { color: #525252 !important; }
html[data-theme="soft"] #member-list :is(.member-level-mood, .user-nick-meta) > em { color: #262626 !important; font-weight: 650 !important; }
html[data-theme="soft"] #member-list .member-online-state {
  color: #262626 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
html[data-theme="soft"] #member-list .member-online-state b { color: #262626 !important; font-weight: 850 !important; }
html[data-theme="soft"] #member-list .user-nick.has-nick-background:not(.has-custom-name-style) .user-nick-text {
  -webkit-text-stroke-color: rgba(0, 0, 0, .78) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .88), 0 0 3px rgba(0, 0, 0, .55) !important;
}
html[data-theme="soft"] #member-list .member-chat-button {
  border-color: #a3a3a3 !important;
  background: #f5f5f5 !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] #member-list .member-chat-button:hover { background: #f5f5f5 !important; color: #171717 !important; }

/* Site-wide readability pass. These selectors intentionally avoid custom
   profile/message/party skins and the actual game boards. */
html[data-theme="soft"] .view:not([data-page$="-game"]) :is(
  .panel:not(.has-profile-skin):not(.party-room-panel),
  .feed-card, .notification-list, .member-list, .direct-inbox-panel,
  .group-inbox, .shop-list, .inventory-list, .admincp-content
) :is(p, small, time, label, legend, dt, dd, li):not(
  .message-bubble *, .direct-message-bubble *, .group-message-bubble *,
  .has-profile-skin *, .party-theme-pink *,
  [data-direct-theme]:not([data-direct-theme="default"]) *,
  [data-background-skin]:not([data-background-skin="default"]) *
) {
  color: #262626 !important;
  font-weight: 600;
  text-shadow: none !important;
}
html[data-theme="soft"] .view:not([data-page$="-game"]) :is(
  .panel:not(.has-profile-skin):not(.party-room-panel),
  .feed-card, .notification-list, .member-list, .direct-inbox-panel,
  .group-inbox, .shop-list, .inventory-list, .admincp-content
) :is(h1, h2, h3, h4, h5, h6):not(.has-profile-skin *, .party-theme-pink *) {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(
  .feed-content, .rich-content, .post-mood, .site-announcement-content,
  .comment-body, .profile-bio, .profile-about, .terms-content,
  .contact-content, .settings-section-copy
) {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(
  .feed-author-meta, .feed-post-state, .feed-card time, .post-mood,
  .comment-meta, .comment-actions, .notification-copy, .notification-copy p,
  .conversation-preview, .conversation-list-time, .conversation-user-meta,
  .group-member-copy span, .friend-row span, .received-gift span,
  .shop-item small, .inventory-item small, .gift-card small,
  .statistics-note, .statistics-person-copy span, .statistics-person-copy small,
  .statistics-staff-person small, .empty-state, .empty-state p,
  .content-pagination span, .composer-actions > span, .composer-login,
  .profile-form small, .settings-form small, .auth-form small
) {
  color: #262626 !important;
  font-weight: 600;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(
  .feed-author strong, .comment-author strong, .notification-summary strong,
  .conversation-copy strong, .group-member-copy strong, .friend-row strong,
  .received-gift strong, .shop-item strong, .inventory-item strong,
  .gift-card strong, .statistics-person-copy strong, .statistics-staff-person strong
) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(
  .member-filter-tabs, .feed-tabs, .message-inbox-tabs, .ranking-tabs,
  .ranking-periods, .room-tabs, .shop-tabs, .shop-filter
) button { font-weight: 750 !important; }
html[data-theme="soft"] :is(.content-pagination button, .square-action, .member-item > button:not(.member-copy)) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.content-pagination button, .square-action, .member-item > button:not(.member-copy)):hover { background: #f5f5f5 !important; color: #171717 !important; }

/* Nicknames are decorative user assets. Add a dark edge in the light theme so
   pastel and animated colours stay recognizable without disappearing. */
html[data-theme="soft"] .user-nick:not(.has-nick-background):not(.has-custom-name-style) > .user-nick-text {
  -webkit-text-stroke: .45px rgba(23, 23, 23, .68) !important;
  paint-order: stroke fill;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .96), 0 0 2px rgba(23, 23, 23, .55) !important;
  filter: saturate(1.15) contrast(1.1);
}
html[data-theme="soft"] .user-nick.has-nick-background:not(.has-custom-name-style) .user-nick-text {
  -webkit-text-stroke: .45px rgba(0, 0, 0, .78) !important;
  paint-order: stroke fill;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .88), 0 0 3px rgba(0, 0, 0, .52) !important;
}
html[data-theme="soft"] :is(.user-nick-meta, .user-identity-mood) > b { color: #262626 !important; }
html[data-theme="soft"] :is(.user-nick-meta, .user-identity-mood) > i { color: #525252 !important; }
html[data-theme="soft"] :is(.user-nick-meta, .user-identity-mood) > em { color: #262626 !important; font-weight: 650 !important; }
html[data-theme="soft"] :is(.message-bubble, .comment-body, .direct-message:not(.own) .direct-message-bubble, .group-message:not(.own) .group-message-bubble) {
  border-color: #e5e5e5 !important;
  background: #ffffff !important;
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.message.own .message-bubble, .direct-message.own .direct-message-bubble, .group-message.own .group-message-bubble) {
  border-color: #525252 !important;
  background: linear-gradient(145deg, #525252, #262626) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Direct messages: default light bubbles need dark text. Paid message frames
   retain their own matched dark/light palette instead of being half recolored. */
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message:not(.own) .direct-message-bubble {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message:not(.own) .direct-message-text,
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message:not(.own) .direct-message-text *:not(.bbcode-rainbow):not(.bbcode-nick) {
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message:not(.own) :is(.direct-message-time, .direct-message-time-only, .direct-message-recalled, .direct-reply-quote span) {
  color: #262626 !important;
  -webkit-text-fill-color: #262626 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message.own .direct-message-text,
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message.own .direct-message-text *:not(.bbcode-rainbow):not(.bbcode-nick) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-message.own :is(.direct-message-time, .direct-message-time-only) { color: #f5f5f5 !important; -webkit-text-fill-color: #f5f5f5 !important; }

html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message-list { background: var(--mf-list-bg) !important; }
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message:not(.own) .direct-message-bubble {
  border-color: var(--mf-in-border) !important;
  background: var(--mf-in-bg) !important;
  color: var(--mf-in-text) !important;
  box-shadow: inset 0 0 12px color-mix(in srgb, var(--mf-in-border) 10%, transparent), 0 3px 9px rgba(0, 0, 0, .28) !important;
}
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message.own .direct-message-bubble {
  border-color: var(--mf-own-border) !important;
  background: var(--mf-own-bg) !important;
  color: var(--mf-own-text) !important;
}
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message:not(.own) .direct-message-text,
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message:not(.own) .direct-message-text *:not(.bbcode-rainbow):not(.bbcode-nick) {
  color: var(--mf-in-text) !important;
  -webkit-text-fill-color: var(--mf-in-text) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .68) !important;
}
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message.own .direct-message-text,
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-message.own .direct-message-text *:not(.bbcode-rainbow):not(.bbcode-nick) {
  color: var(--mf-own-text) !important;
  -webkit-text-fill-color: var(--mf-own-text) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .68) !important;
}
html[data-theme="soft"] #direct-conversation-panel[data-message-frame] .direct-compose-dock {
  border-color: var(--mf-control-border) !important;
  background: color-mix(in srgb, var(--message-frame-surface) 86%, #000000) !important;
}

/* Group/party default bubbles use the same readable pairing. Custom bubble
   skins continue to use their own --gb text and surface variables. */
html[data-theme="soft"] #group-chat-panel:not([data-bubble-skin]) .group-message:not(.own) .direct-message-text,
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) .party-message:not(.own) .direct-message-text { color: #171717 !important; -webkit-text-fill-color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] #group-chat-panel:not([data-bubble-skin]) .group-message.own .direct-message-text,
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) .party-message.own .direct-message-text { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
html[data-theme="soft"] :is(.direct-compose-dock, .group-compose-dock, .chat-form) { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] #direct-conversation-panel:not([data-direct-theme]) .direct-message-list,
html[data-theme="soft"] #direct-conversation-panel[data-direct-theme="default"] .direct-message-list,
html[data-theme="soft"] #group-chat-panel:not([data-background-skin]) .group-message-list,
html[data-theme="soft"] #group-chat-panel[data-background-skin="default"] .group-message-list {
  background: radial-gradient(circle at 18% 8%, rgba(82, 82, 82, .12), transparent 31%), #fafafa !important;
}

/* Menus, dialogs, toasts and overlays. */
html[data-theme="soft"] :is(.modal-card, .account-menu-panel, .account-switch-card, .quick-pm-window, .quick-pm-inbox, .bbcode-dialog, .photo-source-card) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: 0 20px 60px rgba(23, 23, 23, .27) !important;
}
html[data-theme="soft"] .modal-backdrop { background: rgba(23, 23, 23, .46) !important; }
html[data-theme="soft"] .modal-close { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] :is(.account-menu-list, .account-switch-list, .quick-pm-inbox-list, .conversation-options-menu, .direct-quick-menu, .feed-card-menu-popover, .post-options-menu, .profile-options-menu) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  box-shadow: 0 12px 32px rgba(23, 23, 23, .20) !important;
}
html[data-theme="soft"] :is(.account-menu-list > button, .conversation-options-menu button, .direct-quick-menu button, .feed-card-menu-popover button, .post-options-menu button, .profile-options-menu button) {
  border-color: #e5e5e5 !important;
  background: #ffffff !important;
  color: #262626 !important;
}
html[data-theme="soft"] :is(.account-menu-list > button, .conversation-options-menu button, .direct-quick-menu button, .feed-card-menu-popover button, .post-options-menu button, .profile-options-menu button):hover {
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .account-menu-panel .account-menu-list { padding: 0 !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list > button {
  border-bottom-color: #e5e5e5 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .account-menu-panel .account-menu-list > button:nth-of-type(even) { background: #fafafa !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list > button:hover { background: #f5f5f5 !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list > button strong {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .account-menu-panel .account-menu-list > button small {
  color: #262626 !important;
  font-weight: 650 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .account-menu-panel .account-menu-list > button > svg:first-child { color: #525252 !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list > button > svg:last-child { color: #525252 !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list hr {
  height: 7px !important;
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .account-menu-panel .account-menu-list > button.danger-menu-item strong,
html[data-theme="soft"] .account-menu-panel .account-menu-list > button.danger-menu-item > svg:first-child { color: #262626 !important; }
html[data-theme="soft"] .account-menu-panel .account-menu-list > button.danger-menu-item small { color: #262626 !important; }
html[data-theme="soft"] :is(.toast, .notification-toast) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: 0 10px 30px rgba(23, 23, 23, .24) !important;
}

/* Live stream, media widgets and compact chat docks. Video itself stays black
   to preserve its colour and contrast; all controls around it are softened. */
html[data-theme="soft"] :is(.home-live-stream, .home-live-stream-manager) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: 0 10px 28px rgba(38, 38, 38, .16) !important;
}
html[data-theme="soft"] .home-live-stream > header,
html[data-theme="soft"] .home-live-stream-manager > summary {
  border-color: #e5e5e5 !important;
  background: linear-gradient(180deg, #fafafa, #f5f5f5) !important;
}
html[data-theme="soft"] :is(.home-live-stream > header span, .home-live-stream-manager > summary span, .home-live-stream-toggle strong) { color: #171717 !important; }
html[data-theme="soft"] :is(.home-live-stream > footer, .home-live-stream-manager > summary small, .home-live-stream-toggle small, .home-live-stream-manager form label small) { color: #525252 !important; }
html[data-theme="soft"] .home-live-stream-manager[open] > summary { border-color: #d4d4d4 !important; }
html[data-theme="soft"] .home-live-stream-manager form > label:not(.home-live-stream-toggle) { color: #262626 !important; }
html[data-theme="soft"] .home-live-stream-toggle > i { border-color: #d4d4d4 !important; background: #f5f5f5 !important; }
html[data-theme="soft"] .home-live-stream-toggle > i::after { background: #525252 !important; }
html[data-theme="soft"] .home-live-stream-toggle input:checked ~ i { border-color: #525252 !important; background: #e5e5e5 !important; }
html[data-theme="soft"] .home-live-stream-toggle input:checked ~ i::after { background: #262626 !important; }
html[data-theme="soft"] :is(.direct-conversation-head, .room-chat-composer) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(.feed-inline-video, .feed-inline-video-toggle, .feed-inline-video-expand) { border-color: #d4d4d4 !important; }

/* Fixed legacy surfaces. */
html[data-theme="soft"] :is(
  .home-welcome-decoration, .home-fixed-greeting, .love-chatbox-panel,
  .love-chat-blocked-section, .quick-pm-head, .quick-pm-messages,
  .quick-pm-form, .quick-pm-inbox-head, .search-box, .statistics-note,
  .statistics-member-list, .statistics-staff-list, .composer-login,
  .composer-media-preview, .composer-style-panel, .direct-compose-dock,
  .direct-message-form, .group-inbox, .group-invite-section,
  .group-discover-section, .group-chat-tools, .group-compose-dock,
  .group-message-form, .group-member-list, .group-members-summary,
  .group-manage-summary, .group-avatar-settings, .group-skin-section,
  .direct-theme-summary, .direct-theme-note
) {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.quick-pm-messages, .statistics-member-list, .statistics-staff-list) { background: #fafafa !important; }
html[data-theme="soft"] :is(.group-row:hover, .group-discover-row:hover, .group-invite-row:hover) { background-color: #f5f5f5 !important; }
html[data-theme="soft"] :is(
  .skeleton-post, .skeleton-list-row, .skeleton-online-row, .skeleton-global-chat,
  .skeleton-announcement-featured, .skeleton-announcement, .skeleton-room,
  .skeleton-party-room, .skeleton-game-room, .skeleton-history,
  .detail-composer-skeleton
) { border-color: #e5e5e5 !important; background: #fafafa !important; }
html[data-theme="soft"] .skeleton-shape { background: linear-gradient(100deg, #f5f5f5 25%, #fafafa 42%, #f5f5f5 60%) !important; }

/* Home quick links. */
html[data-theme="soft"] .quick-menu-panel :is(.quick-menu, .quick-links, .menu-grid) { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .quick-menu-panel .clock-card { border-color: #d4d4d4 !important; background: linear-gradient(145deg, #fafafa, #f5f5f5) !important; }
html[data-theme="soft"] .quick-menu-panel .clock-card strong { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] .quick-menu-panel .clock-card span { color: #525252 !important; }
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button {
  border-color: #e5e5e5 !important;
  background: linear-gradient(180deg, #ffffff, #fafafa) !important;
  color: #262626 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button:hover { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #171717 !important; }
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button:is(.active, [aria-current="page"]) { border-color: #525252 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button svg { color: #525252 !important; }

/* Profile and wall. Purchased profile skins remain untouched. */
html[data-theme="soft"] .view[data-page="profile"] :is(#profile-info-panel, #profile-wall-panel, #profile-gifts-panel),
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) { border-color: #d4d4d4 !important; background: #ffffff !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-cover { border-color: #d4d4d4 !important; background-color: #f5f5f5 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) :is(.profile-identity, .profile-actions) { border-color: #e5e5e5 !important; background: #fafafa !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats { border-color: #d4d4d4 !important; background: #e5e5e5 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button { background: linear-gradient(160deg, #ffffff, #f5f5f5) !important; color: #262626 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button:hover { background: #f5f5f5 !important; color: #171717 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats b { color: #171717 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-actions button:not(.gift-action):not(.coin-action):not(.friend-accept-action):not(.profile-block-action):not(.follow-action):not(.profile-marriage-action) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] #profile-info-panel .profile-info-grid { border-color: #d4d4d4 !important; background: #f5f5f5 !important; }
html[data-theme="soft"] #profile-info-panel .profile-info-grid::after,
html[data-theme="soft"] #profile-info-panel .profile-info-grid p,
html[data-theme="soft"] .profile-detail-loading #profile-info-panel .profile-info-grid p { border-color: #e5e5e5 !important; background: #ffffff !important; color: #262626 !important; }
html[data-theme="soft"] #profile-info-panel .profile-info-grid p:nth-child(even) { background: #fafafa !important; }
html[data-theme="soft"] #profile-info-panel .profile-info-grid :is(b, .profile-relationship-value) { color: #171717 !important; }
html[data-theme="soft"] #profile-info-panel .profile-info-grid svg { color: #525252 !important; }
html[data-theme="soft"] #profile-wall-panel :is(#wall-composer-mount, .feed-list, .content-pagination) { border-color: #e5e5e5 !important; background-color: #fafafa !important; }
html[data-theme="soft"] #profile-wall-panel .post-composer,
html[data-theme="soft"] .profile-edit-actions { border-color: #e5e5e5 !important; background: #fafafa !important; }

/* Party room. Custom room themes keep their decorative styling. */
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) :is(.party-room-head, .party-stage, .party-mic-column, .party-chat, .party-message-form) { border-color: #d4d4d4 !important; background-color: #fafafa !important; }
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) .party-room-head { background: linear-gradient(135deg, #f5f5f5, #fafafa) !important; }
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) .party-room-heading strong { color: #262626 !important; text-shadow: none !important; }
html[data-theme="soft"] .party-room-panel:not(.party-theme-pink) .party-message-list { background: radial-gradient(circle at 15% 6%, rgba(82, 82, 82, .13), transparent 31%), #fafafa !important; }

/* Admin control panel. */
html[data-theme="soft"] :is(.admincp-content, .admincp-sidebar, .admin-floating-card, .admin-floating-body) { border-color: #d4d4d4 !important; background-color: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(.admincp-topbar, .admin-floating-card > header) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] .admincp-sidebar button { border-color: #e5e5e5 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .admincp-sidebar button:hover,
html[data-theme="soft"] .admincp-sidebar button.active { background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.admin-global-announcement-form, .admin-global-announcement-row) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] .admin-global-announcement-copy strong { color: #171717 !important; }
html[data-theme="soft"] .admin-global-announcement-copy span { color: #525252 !important; }
html[data-theme="soft"] .admin-global-announcement-actions button { border-color: #d4d4d4 !important; background: #ffffff !important; color: #262626 !important; }

/* Forum. */
html[data-theme="soft"] .forum-view { color: #171717 !important; --forum-accent: #525252; --forum-accent-2: #525252; --forum-warm: #525252; }
html[data-theme="soft"] :is(.forum-hero, .forum-editor-panel > header, .forum-rules-head, .forum-moderation-screen > header) { border-color: #d4d4d4 !important; background: linear-gradient(135deg, #fafafa, #ffffff) !important; }
html[data-theme="soft"] :is(.forum-hero h1, .forum-editor-panel > header strong, .forum-rules-head h2, .forum-moderation-screen h2, .forum-topic-copy h3, .forum-post-content, .forum-topic-head h2, .forum-mod-section > h3) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(.forum-hero p, .forum-editor-panel > header span, .forum-rules-head p, .forum-moderation-screen p, .forum-topic-excerpt, .forum-topic-byline, .forum-reply-meta) { color: #525252 !important; }
html[data-theme="soft"] :is(.forum-topic-row, .forum-topic-card, .forum-reply-card, .forum-filter-panel, .forum-category-panel, .forum-leader-panel, .forum-mod-row, .forum-rules-list li) { border-color: #e5e5e5 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .forum-topic-row:hover { background: #fafafa !important; }
html[data-theme="soft"] :is(.forum-main-nav, .forum-leader-tabs, .forum-post-footer, .forum-category-section-head) { border-color: #e5e5e5 !important; background: #fafafa !important; }
html[data-theme="soft"] :is(.forum-main-nav button, .forum-leader-tabs button, .forum-post-actions button, .forum-mod-actions button, .forum-editor-panel > header > button, .forum-moderation-screen > header > button, .forum-category-modal-close) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] :is(.forum-main-nav button.active, .forum-leader-tabs button.active) { background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.forum-profile-card, .forum-reaction-users-modal .modal-card) { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .forum-profile-card > header { border-color: #d4d4d4 !important; background: rgba(250, 250, 250, .96) !important; }
html[data-theme="soft"] :is(.forum-profile-card > header h2, .forum-reaction-users-modal h2, .forum-rules-list strong) { color: #171717 !important; }
html[data-theme="soft"] .forum-rules-list p { color: #525252 !important; }
html[data-theme="soft"] .forum-rules-list .forum-rule-warning { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .forum-rules-list .forum-rule-penalty { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .forum-view :is(.forum-topic-copy, .forum-post-main, .forum-author-column, .forum-leader-row, .forum-category-section, .forum-profile-summary) :is(p, span, small, time, li, dd) { color: #262626 !important; font-weight: 600; text-shadow: none !important; }
html[data-theme="soft"] .forum-view :is(.forum-topic-copy, .forum-post-main, .forum-author-column, .forum-leader-row, .forum-category-section, .forum-profile-summary) :is(h1, h2, h3, h4, strong) { color: #171717 !important; text-shadow: none !important; }

/* Dating directory and profile editor. */
html[data-theme="soft"] .dating-view { --dating-bg: #fafafa; --dating-line: #d4d4d4; --dating-red: #262626; --dating-rose: #525252; color: #171717; }
html[data-theme="soft"] :is(.dating-panel, .dating-profile-form, .dating-card, .dating-detail-card, .dating-filters, .dating-empty, .dating-safety-note, .dating-photo-fieldset, .dating-contact-gate, .dating-stat) { border-color: #e5e5e5 !important; background: #ffffff !important; color: #171717 !important; box-shadow: none !important; }
html[data-theme="soft"] :is(.dating-hero, .dating-form-heading, .dating-filter-heading) { border-color: #d4d4d4 !important; background: linear-gradient(135deg, #f5f5f5, #fafafa) !important; }
html[data-theme="soft"] :is(.dating-hero h1, .dating-form-heading strong, .dating-card-copy h2, .dating-detail-copy h1, .dating-empty strong) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(.dating-hero p, .dating-card-copy > p, .dating-card-copy li, .dating-card-expectation, .dating-detail-copy, .dating-list-summary small, .dating-form-grid label > small) { color: #525252 !important; }
html[data-theme="soft"] .dating-card-photo { background: #f5f5f5 !important; }
html[data-theme="soft"] .dating-profile-modal-backdrop { background: rgba(23, 23, 23, .48) !important; }
html[data-theme="soft"] :is(.dating-sort-actions button, .dating-pagination button, .dating-photo-actions button) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] :is(.dating-sort-actions .is-active, .dating-pagination button.active) { border-color: #525252 !important; background: #f5f5f5 !important; color: #262626 !important; box-shadow: none !important; }
html[data-theme="soft"] .dating-view :is(.dating-card-copy, .dating-detail-copy, .dating-form-grid, .dating-list-summary, .dating-safety-note) :is(p, span, small, label, dt, dd, li) { color: #262626 !important; font-weight: 600; text-shadow: none !important; }
html[data-theme="soft"] .dating-view :is(.dating-card-copy, .dating-detail-copy, .dating-form-grid, .dating-list-summary) :is(h1, h2, h3, strong) { color: #171717 !important; text-shadow: none !important; }

/* Game catalogue and shared game lobbies. */
html[data-theme="soft"] :is(.game-room-catalog, .game-demo-grid, .game-catalog-grid) { border-color: #d4d4d4 !important; background: radial-gradient(circle at 100% 0, rgba(82, 82, 82, .13), transparent 38%), #fafafa !important; }
html[data-theme="soft"] .game-demo-tile { border-color: #e5e5e5 !important; background: linear-gradient(160deg, #ffffff, #fafafa) !important; color: #171717 !important; box-shadow: inset 0 1px rgba(255, 255, 255, .5) !important; }
html[data-theme="soft"] .game-demo-tile:hover,
html[data-theme="soft"] .game-demo-tile:focus-visible { border-color: #a3a3a3 !important; background: linear-gradient(160deg, #fafafa, #f5f5f5) !important; }
html[data-theme="soft"] .game-demo-tile strong { color: #171717 !important; }
html[data-theme="soft"] .game-demo-tile small { color: #525252 !important; }
html[data-theme="soft"] .game-demo-tile em { border-color: #d4d4d4 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .game-demo-tile.game-closed,
html[data-theme="soft"] .game-demo-tile.game-closed:hover { border-color: #e5e5e5 !important; background: linear-gradient(160deg, #fafafa, #f5f5f5) !important; opacity: .78; }
html[data-theme="soft"] :is(
  .group-form-body, .group-settings-form, .group-invite-form,
  .party-form-body, .profile-form, .settings-form, .auth-form,
  .caro-create-form, .ludo-create-form,
  .race-create-form, .loto-create-form,
  .caro-settings-card, .ludo-settings-card,
  .race-dialog-card, .loto-dialog-card
) { border-color: #e5e5e5 !important; background-color: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(
  .caro-room-card, .ludo-room-card, .race-room-card, .loto-room-card, .caro-history-row, .ludo-history-row, .race-history-row, .loto-history-row
) { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] :is(
  .anonymous-room-panel, .drama-room-panel, .anonymous-room-head,
  .drama-room-head, .anonymous-message-list, .drama-message-list,
  .ludo-party-chat, .race-party-chat, .loto-party-chat
) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(form.game-ludo-chat-form, .drama-message-form, .party-message-form) { border-color: #e5e5e5 !important; background: #fafafa !important; }

/* Extra game families loaded after the main theme file. Keep boards/playing
   fields recognizable, but make every surrounding lobby and dialog daylight. */
html[data-theme="soft"] :is(
  .caro-room-section, .caro-ranking-panel, .caro-settings-card, .caro-rules-modal-card,
  .colat-room-section, .colat-ranking-panel, .colat-settings-card, .colat-rules-modal-card,
  .ludo-game-panel, .ludo-ranking-panel, .ludo-settings-card, .race-betting-panel, .race-bot-panel, .race-rules-card,
  .loto-draw-panel, .loto-members-card, .loto-rules-card,
  .danh-lo-control-card, .danh-lo-machine-card,
  .danh-lo-history-panel, .danh-lo-history-tabs-card,
  .gold-community-card, .gold-play-card, .gold-pot-card, .gold-ticket-panel,
  .gold-history-card, .gold-history-panel, .gold-history-tabs-card
) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(
  .caro-list-toolbar, .caro-arena-head, .caro-form-heading, .caro-section-head,
  .colat-list-toolbar, .colat-arena-head, .colat-form-heading, .colat-section-head,
  .ludo-toolbar, .ludo-arena-head, .ludo-form-heading, .ludo-room-titlebar,
  .race-toolbar, .race-arena-head,
  .loto-toolbar, .loto-room-head,
  .danh-lo-head, .gold-game-head
) {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #fafafa, #f5f5f5) !important;
  color: #262626 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(
  .caro-my-room-card, .caro-invite-card, .colat-my-room-card, .colat-invite-card,
  .ludo-my-room-card, .race-my-room-card,
  .loto-my-room-card, .race-bot-card, .race-animal-card,
  .danh-lo-history-card, .gold-history-row
) {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(
  .caro-room-list, .caro-ranking-list, .caro-game-history,
  .colat-room-list, .colat-ranking-list, .colat-game-history,
  .ludo-room-list, .ludo-ranking-list, .ludo-game-history, .race-room-list, .race-bot-list,
  .race-chat-list, .race-game-history,
  .loto-room-list, .loto-game-history,
  .danh-lo-history, .gold-community-list, .gold-history-list
) { border-color: #e5e5e5 !important; background-color: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(
  .caro-public-rooms-empty, .colat-public-rooms-empty, .ludo-public-rooms-empty, .race-public-rooms-empty,
  .loto-public-rooms-empty,
  .caro-history-empty, .colat-history-empty
) { border-color: #e5e5e5 !important; background: #fafafa !important; color: #525252 !important; }
html[data-theme="soft"] :is(.gold-game-shell, .danh-lo-shell) { border-color: #d4d4d4 !important; background-color: #fafafa !important; color: #171717 !important; }

/* Restaurant inside Farm. The illustrated floor remains original; menus,
   kitchen, inventory and management panels follow the soft palette. */
html[data-theme="soft"] :is(.restaurant-panel, .restaurant-panel-inner, .restaurant-exchange-panel) {
  border-color: #a3a3a3 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: 0 16px 45px rgba(23, 23, 23, .22) !important;
}
html[data-theme="soft"] :is(
  .restaurant-card, .restaurant-floor-card, .restaurant-theme-card,
  .restaurant-exchange-card, .restaurant-cooking-slot
) { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] :is(
  .restaurant-menu-list, .restaurant-cook-list, .restaurant-customer-list,
  .restaurant-stock-list, .restaurant-shared-stock-list, .restaurant-log-list,
  .restaurant-session-history
) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] .restaurant-panel-close { border-color: #525252 !important; background: #262626 !important; color: #ffffff !important; }
html[data-theme="soft"] .restaurant-transfer-form { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }

/* Farm: keep the illustrated map intact, lighten the shell, tools and dialogs. */
html[data-theme="soft"] .farm-lite { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] .farm-lite-title { border-color: #d4d4d4 !important; background: linear-gradient(#fafafa, #f5f5f5) !important; }
html[data-theme="soft"] .farm-lite-title strong { color: #262626 !important; text-shadow: none !important; }
html[data-theme="soft"] .farm-lite-title a { border-color: #d4d4d4 !important; background: #ffffff !important; color: #262626 !important; }
html[data-theme="soft"] .farm-lite-status { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .farm-lite-status > span,
html[data-theme="soft"] .farm-lite-player,
html[data-theme="soft"] .farm-lite-status > button { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .farm-map-hint { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .farm-map-stage,
html[data-theme="soft"] .farm-map-viewport,
html[data-theme="soft"] .farm-map-scroll-space { border-color: #d4d4d4 !important; background-color: #f5f5f5 !important; }
html[data-theme="soft"] .farm-options { border-color: #a3a3a3 !important; background: rgba(250, 250, 250, .96) !important; box-shadow: 0 -5px 16px rgba(23, 23, 23, .19) !important; }
html[data-theme="soft"] .farm-options h2 { color: #262626 !important; }
html[data-theme="soft"] :is(.farm-option-all, .farm-options-grid label) { color: #262626 !important; }
html[data-theme="soft"] .farm-option-all small { color: #525252 !important; }
html[data-theme="soft"] .farm-quick-links button { border-color: #d4d4d4 !important; background: #ffffff !important; color: #262626 !important; }
html[data-theme="soft"] .farm-lite-dialog { background: rgba(23, 23, 23, .48) !important; }
html[data-theme="soft"] .farm-lite-dialog > section { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; box-shadow: 0 18px 55px rgba(23, 23, 23, .28) !important; }
html[data-theme="soft"] .farm-lite-dialog header { border-color: #d4d4d4 !important; background: linear-gradient(#fafafa, #f5f5f5) !important; }
html[data-theme="soft"] .farm-lite-dialog header strong { color: #262626 !important; }
html[data-theme="soft"] .farm-lite-dialog header small { color: #525252 !important; }
html[data-theme="soft"] .farm-lite-dialog header button { border-color: #d4d4d4 !important; background: #ffffff !important; color: #262626 !important; }
html[data-theme="soft"] .farm-dialog-body { background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .farm-dialog-footer { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] :is(.farm-card, .farm-stock, .farm-neighbor-card, .farm-level-row, .farm-catalog-table-wrap, .farm-cooking-slot, .farm-animal-detail, .farm-gate-panel) { border-color: #e5e5e5 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] :is(.farm-card small, .farm-card p, .farm-stock small, .farm-section-title small, .farm-empty, .farm-gate-note) { color: #525252 !important; }
html[data-theme="soft"] .farm-section-title { border-color: #e5e5e5 !important; }
html[data-theme="soft"] .farm-section-title strong { color: #262626 !important; }
html[data-theme="soft"] :is(.farm-catalog-table th, .farm-catalog-table td) { border-color: #e5e5e5 !important; }
html[data-theme="soft"] .farm-catalog-table th { background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .farm-catalog-table tr:nth-child(even) td { background: #fafafa !important; }
html[data-theme="soft"] .farm-loading-center > small { color: #f5f5f5 !important; }

/* Daily tasks use their own dark palette in the base stylesheet. */
html[data-theme="soft"] .daily-tasks-body {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #fafafa, #fafafa) !important;
  color: #171717 !important;
}
html[data-theme="soft"] .daily-tasks-loading,
html[data-theme="soft"] .daily-tasks-reset { color: #525252 !important; }
html[data-theme="soft"] .daily-tasks-reset svg { color: #525252 !important; }
html[data-theme="soft"] .daily-online-task {
  border-color: #d4d4d4 !important;
  background: linear-gradient(135deg, #f5f5f5, #fafafa) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75) !important;
}
html[data-theme="soft"] .daily-online-task > header strong { color: #171717 !important; }
html[data-theme="soft"] .daily-online-task > header b { color: #262626 !important; }
html[data-theme="soft"] .daily-online-task > header svg { color: #525252 !important; }
html[data-theme="soft"] .daily-online-progress {
  background: #e5e5e5 !important;
  box-shadow: inset 0 0 0 1px #d4d4d4 !important;
}
html[data-theme="soft"] .daily-online-progress > i {
  background: linear-gradient(90deg, #525252, #a3a3a3, #d4d4d4) !important;
  box-shadow: 0 0 8px rgba(82, 82, 82, .28) !important;
}
html[data-theme="soft"] .daily-online-milestones::before { background: #d4d4d4 !important; }
html[data-theme="soft"] .daily-online-milestone { color: #525252 !important; }
html[data-theme="soft"] .daily-online-milestone > i {
  border-color: #a3a3a3 !important;
  background: #ffffff !important;
  color: #525252 !important;
}
html[data-theme="soft"] .daily-online-milestone.is-ready > i {
  border-color: #525252 !important;
  background: #fafafa !important;
  color: #262626 !important;
  box-shadow: 0 0 9px rgba(82, 82, 82, .25) !important;
}
html[data-theme="soft"] .daily-online-milestone.is-claimed > i {
  border-color: #525252 !important;
  background: #fafafa !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .daily-online-milestone strong { color: #171717 !important; }
html[data-theme="soft"] :is(.daily-online-milestone small, .daily-task-copy b) { color: #262626 !important; }
html[data-theme="soft"] :is(.daily-online-milestone button, .daily-task-row > button) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.daily-online-milestone button:not(:disabled), .daily-task-row > button:not(:disabled)) {
  border-color: #262626 !important;
  background: linear-gradient(180deg, #525252, #262626) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(38, 38, 38, .2) !important;
}
html[data-theme="soft"] :is(.daily-online-milestone.is-claimed button, .daily-task-row.is-claimed > button) {
  border-color: #a3a3a3 !important;
  background: #f5f5f5 !important;
  color: #262626 !important;
  opacity: 1 !important;
}
html[data-theme="soft"] .daily-task-row {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: 0 1px 2px rgba(23, 23, 23, .06) !important;
}
html[data-theme="soft"] .daily-task-row > i {
  background: #f5f5f5 !important;
  color: #525252 !important;
}
html[data-theme="soft"] .daily-task-copy strong { color: #171717 !important; }
html[data-theme="soft"] .daily-task-copy small { color: #525252 !important; }
html[data-theme="soft"] .daily-task-mini-progress { background: #e5e5e5 !important; }
html[data-theme="soft"] .daily-task-mini-progress i { background: linear-gradient(90deg, #525252, #a3a3a3) !important; }
html[data-theme="soft"] .daily-task-row.is-claimed {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
}
html[data-theme="soft"] .daily-task-row.is-claimed > i { color: #262626 !important; background: #f5f5f5 !important; }

/* Store, inventory and transaction history also ship with fixed dark colours. */
html[data-theme="soft"] .header-inventory-button {
  border-color: #d4d4d4 !important;
  background: linear-gradient(180deg, #ffffff, #f5f5f5) !important;
  color: #262626 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .shop-hero {
  border-color: #d4d4d4 !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(38, 38, 38, .12), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(82, 82, 82, .10), transparent 38%),
    linear-gradient(135deg, #fafafa, #fafafa) !important;
}
html[data-theme="soft"] .shop-hero-action {
  border-color: #d4d4d4 !important;
  background: linear-gradient(145deg, #ffffff, #fafafa) !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .shop-hero-action:hover { border-color: #a3a3a3 !important; background: #f5f5f5 !important; }
html[data-theme="soft"] .shop-hero-action > svg:first-child { color: #525252 !important; }
html[data-theme="soft"] .shop-hero-action > svg:last-child { color: #525252 !important; }
html[data-theme="soft"] .shop-hero-action small { color: #525252 !important; }
html[data-theme="soft"] .shop-hero-action strong { color: #171717 !important; }
html[data-theme="soft"] .shop-wallet {
  border-color: #a3a3a3 !important;
  background: linear-gradient(145deg, #fafafa, #f5f5f5) !important;
  color: #262626 !important;
}
html[data-theme="soft"] .shop-wallet > svg:first-child,
html[data-theme="soft"] .shop-wallet strong { color: #262626 !important; }
html[data-theme="soft"] .shop-wallet strong svg { color: #525252 !important; }
html[data-theme="soft"] .shop-panel { border-color: #d4d4d4 !important; background: #ffffff !important; }
html[data-theme="soft"] .shop-mode-tabs { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .shop-mode-tabs button {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #262626 !important;
}
html[data-theme="soft"] .shop-mode-tabs button.active {
  background: #f5f5f5 !important;
  color: #262626 !important;
  box-shadow: inset 0 -3px #525252 !important;
}
html[data-theme="soft"] .shop-mode-tabs b { background: #e5e5e5 !important; color: #262626 !important; }
html[data-theme="soft"] .shop-category-tabs {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
}
html[data-theme="soft"] .shop-category-tabs button {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #262626 !important;
}
html[data-theme="soft"] .shop-category-tabs button:hover { border-color: #a3a3a3 !important; background: #fafafa !important; }
html[data-theme="soft"] .shop-category-tabs button.active {
  border-color: #525252 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .shop-list { background: #fafafa !important; }
html[data-theme="soft"] .shop-item {
  border-color: #d4d4d4 !important;
  background: linear-gradient(145deg, #ffffff, #fafafa) !important;
  color: #171717 !important;
}
html[data-theme="soft"] .shop-item.rarity-rare { border-color: #d4d4d4 !important; }
html[data-theme="soft"] .shop-item.rarity-epic { border-color: #a3a3a3 !important; }
html[data-theme="soft"] .shop-item.rarity-legendary {
  border-color: #d4d4d4 !important;
  background: linear-gradient(145deg, #ffffff, #f5f5f5) !important;
}
html[data-theme="soft"] .shop-rarity {
  border-color: #d4d4d4 !important;
  background: rgba(250, 250, 250, .96) !important;
  color: #262626 !important;
  box-shadow: 0 2px 6px rgba(23, 23, 23, .15) !important;
}
html[data-theme="soft"] .rarity-rare .shop-rarity { border-color: #a3a3a3 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .rarity-epic .shop-rarity { border-color: #525252 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .rarity-legendary .shop-rarity { border-color: #a3a3a3 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .shop-preview:not(.profile-skin-preview) {
  border-color: #d4d4d4 !important;
  background: radial-gradient(circle at 30% 30%, #fafafa, #e5e5e5 72%) !important;
}
html[data-theme="soft"] .shop-preview:not(.profile-skin-preview):hover {
  border-color: #a3a3a3 !important;
  background: radial-gradient(circle at 30% 30%, #fafafa, #e5e5e5 72%) !important;
}
html[data-theme="soft"] :is(.shop-demo-stage.avatar-demo small, .shop-demo-identity > small) { color: #262626 !important; }
html[data-theme="soft"] .shop-demo-stage.avatar-demo strong { color: #171717 !important; }
html[data-theme="soft"] .shop-demo-identity > em,
html[data-theme="soft"] .shop-preview-expand { color: #262626 !important; }
html[data-theme="soft"] .shop-item-copy > strong { color: #171717 !important; }
html[data-theme="soft"] .shop-item-copy > small { color: #262626 !important; }
html[data-theme="soft"] .shop-item-copy > p { color: #525252 !important; }
html[data-theme="soft"] .shop-lifetime { border-color: #a3a3a3 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .shop-lifetime.permanent { border-color: #a3a3a3 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .shop-lifetime.expiring { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .shop-item-action,
html[data-theme="soft"] .shop-modal-action { border-color: #525252 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.shop-item-action.owned, .shop-modal-action.owned) { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.shop-item-action.equip, .shop-modal-action.equip) { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.shop-item-action.equipped, .shop-modal-action.equipped) { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .shop-item-action.insufficient { border-color: #d4d4d4 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] :is(.shop-item-action.privilege, .shop-modal-action.privilege) { border-color: #525252 !important; background: linear-gradient(90deg, #f5f5f5, #e5e5e5) !important; color: #262626 !important; }
html[data-theme="soft"] .shop-note { border-color: #e5e5e5 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .shop-note svg { color: #525252 !important; }
html[data-theme="soft"] .shop-pagination { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .shop-pagination > small { color: #262626 !important; }
html[data-theme="soft"] .shop-pagination > small b { color: #262626 !important; }
html[data-theme="soft"] .shop-pagination button { border-color: #d4d4d4 !important; background: #ffffff !important; color: #262626 !important; }
html[data-theme="soft"] :is(.shop-pagination button:hover:not(:disabled), .shop-pagination button.active) { border-color: #525252 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .coin-history-summary { border-color: #d4d4d4 !important; background: #d4d4d4 !important; }
html[data-theme="soft"] .coin-history-summary > span { background: #fafafa !important; }
html[data-theme="soft"] .coin-history-summary small { color: #525252 !important; }
html[data-theme="soft"] .coin-history-summary strong { color: #171717 !important; }
html[data-theme="soft"] .coin-history-summary > span:first-child strong { color: #262626 !important; }
html[data-theme="soft"] .coin-history-list { background: #ffffff !important; }
html[data-theme="soft"] .coin-history-item { border-color: #e5e5e5 !important; color: #171717 !important; }
html[data-theme="soft"] .coin-history-direction { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .coin-history-item.positive .coin-history-direction { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .coin-history-item.negative .coin-history-direction { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .coin-history-item > div strong { color: #171717 !important; }
html[data-theme="soft"] :is(.coin-history-item > div small, .coin-history-item time, .coin-history-origin) { color: #525252 !important; }
html[data-theme="soft"] .coin-history-source { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .coin-history-source.unresolved { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .coin-history-balance-change b { color: #262626 !important; }
html[data-theme="soft"] .coin-history-note { border-color: #d4d4d4 !important; background: #fafafa !important; color: #525252 !important; }
html[data-theme="soft"] .shop-modal-demo { background: #fafafa !important; }
html[data-theme="soft"] .shop-modal-demo .shop-demo-stage:not(.profile-skin-demo) {
  border-color: #d4d4d4 !important;
  background: radial-gradient(circle at 25% 20%, rgba(163, 163, 163, .12), transparent 34%), radial-gradient(circle at 80% 80%, rgba(82, 82, 82, .11), transparent 35%), linear-gradient(145deg, #fafafa, #f5f5f5) !important;
}
html[data-theme="soft"] .shop-modal-info { background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .shop-modal-info > small { color: #525252 !important; }
html[data-theme="soft"] .shop-modal-info > p { color: #262626 !important; }
html[data-theme="soft"] .shop-modal-rarity { background: #fafafa !important; box-shadow: none !important; }
html[data-theme="soft"] .shop-modal-note { color: #525252 !important; }

/* The transaction modal is mounted at the end of body. Keep an ID-scoped
   fallback so its fixed dark component colours cannot win over the theme. */
html[data-theme="soft"] #coin-history-modal .coin-history-card {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] #coin-history-modal .coin-history-summary {
  border-color: #d4d4d4 !important;
  background: #d4d4d4 !important;
}
html[data-theme="soft"] #coin-history-modal .coin-history-summary > span { background: #fafafa !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-summary small { color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-summary strong { color: #171717 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-summary > span:first-child strong { color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-list { background: #ffffff !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item {
  border-color: #e5e5e5 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] #coin-history-modal .coin-history-item:nth-child(even) { background: #fafafa !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item > div strong { color: #171717 !important; }
html[data-theme="soft"] #coin-history-modal :is(.coin-history-item > div small, .coin-history-item time, .coin-history-origin, .coin-history-balance-change b) { color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-source { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-direction { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item.positive .coin-history-direction { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item.negative .coin-history-direction { border-color: #a3a3a3 !important; background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item > b { color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-item.positive > b { color: #262626 !important; }
html[data-theme="soft"] #coin-history-modal .coin-history-note { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }

/* Footer and install prompt. */
html[data-theme="soft"] .app-shell > footer.site-footer { border-color: #d4d4d4 !important; background: linear-gradient(180deg, #fafafa, #f5f5f5) !important; color: #262626 !important; }
html[data-theme="soft"] .site-footer > nav { border-color: #e5e5e5 !important; background: #fafafa !important; }
html[data-theme="soft"] .site-footer > nav button { color: #262626 !important; }
html[data-theme="soft"] .site-footer > nav button:hover { color: #171717 !important; }
html[data-theme="soft"] .site-footer > nav i { color: #525252 !important; }
html[data-theme="soft"] .app-shell > footer.site-footer :is(strong, span) { color: #262626 !important; }
html[data-theme="soft"] .app-shell > footer.site-footer small { color: #525252 !important; }
html[data-theme="soft"] .footer-theme-picker { color: #262626 !important; }
html[data-theme="soft"] .footer-theme-picker > :is(svg, i) { color: #525252 !important; }
html[data-theme="soft"] .footer-theme-picker select { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] .pwa-install-footer { border-color: #d4d4d4 !important; background: radial-gradient(circle at 0 0, rgba(82, 82, 82, .15), transparent 48%), #fafafa !important; color: #171717 !important; }

/* Public homepage, SEO articles, login and registration. */
html[data-theme="soft"] .public-shell { border-color: #d4d4d4 !important; background: rgba(255, 255, 255, .97) !important; }
html[data-theme="soft"] .public-header { border-color: #d4d4d4 !important; background: linear-gradient(180deg, #fafafa, #f5f5f5) !important; }
html[data-theme="soft"] :is(.auth-stage, .auth-form, .auth-form-body, .seo-landing-stage, .seo-public-article) { border-color: #e5e5e5 !important; background-color: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] :is(.auth-card-title, .auth-welcome-title) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] :is(.auth-hero, .seo-landing-card, .seo-landing-features > *, .public-quick-links a, .seo-public-copy, .seo-public-faq article, .seo-public-links a, .seo-public-breadcrumb) { border-color: #e5e5e5 !important; background: #fafafa !important; color: #171717 !important; box-shadow: none !important; }
html[data-theme="soft"] :is(.seo-landing-card h1, .seo-landing-features h2, .public-quick-links strong, .seo-public-copy h2, .seo-public-faq h2, .seo-public-faq h3, .auth-form label, .auth-switch) { color: #171717 !important; text-shadow: none !important; }
html[data-theme="soft"] :is(.seo-landing-card p, .seo-landing-card small, .seo-landing-features p, .public-quick-links small, .seo-public-copy p, .seo-public-faq p, .auth-form label > small) { color: #525252 !important; }
html[data-theme="soft"] :is(.seo-public-breadcrumb a, .seo-public-links a, .public-quick-links a, .auth-switch a, .public-footer a) { color: #262626 !important; }
html[data-theme="soft"] :is(.auth-check, .auth-options, .auth-divider) { color: #262626 !important; }
html[data-theme="soft"] :is(.google-link-panel, .google-link-summary, .google-registration-note) { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; }
html[data-theme="soft"] .google-existing-account { border-color: #a3a3a3 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] :is(.google-auth-note, .google-link-summary small, .google-registration-note small) { color: #525252 !important; }
html[data-theme="soft"] :is(.google-link-summary strong, .google-registration-note strong) { color: #171717 !important; }
html[data-theme="soft"] .public-guest :is(.seo-landing-card, .seo-landing-features, .public-quick-links, .seo-public-copy, .seo-public-faq, .auth-form) :is(p, small, label, li) { color: #262626 !important; font-weight: 600; text-shadow: none !important; }
html[data-theme="soft"] .registration-terms-card { border-color: #d4d4d4 !important; background: #ffffff !important; color: #171717 !important; }
html[data-theme="soft"] :is(.registration-terms-content, .registration-terms-status, .registration-terms-actions) { border-color: #e5e5e5 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .public-footer { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .public-footer small { color: #262626 !important; }
html[data-theme="soft"] .seo-home-auth-actions a { border-color: #d4d4d4 !important; background: #fafafa !important; color: #171717 !important; box-shadow: none !important; }
html[data-theme="soft"] .seo-home-auth-actions a.is-login { border-color: #262626 !important; background: #525252 !important; color: #ffffff !important; }
html[data-theme="soft"] .seo-home-more > summary { border-color: #d4d4d4 !important; background: #fafafa !important; color: #262626 !important; }
html[data-theme="soft"] .seo-home-more-content, html[data-theme="soft"] .seo-home-public-links { border-color: #e5e5e5 !important; }
html[data-theme="soft"] .seo-home-intro h2 { color: #171717 !important; }
html[data-theme="soft"] .seo-home-intro p { color: #262626 !important; }
html[data-theme="soft"] .seo-home-public-links a { color: #262626 !important; }
html[data-theme="soft"] .seo-home-public-note { color: #262626 !important; }
html[data-theme="soft"] :is(.home-intro-hero, .home-intro-feature, .home-intro-highlights, .home-intro-links, .home-intro-feature-grid article, .home-intro-highlights article, .home-intro-links > nav > a) { border-color: #e5e5e5 !important; background: #fafafa !important; color: #171717 !important; box-shadow: none !important; }
html[data-theme="soft"] .home-intro-hero h1 { color: #262626 !important; }
html[data-theme="soft"] :is(.home-intro-feature h2, .home-intro-feature h3, .home-intro-highlights h2, .home-intro-highlights h3, .home-intro-links h2, .home-intro-links strong) { color: #171717 !important; }
html[data-theme="soft"] :is(.home-intro-hero p, .home-intro-hero small, .home-intro-feature p, .home-intro-highlights p, .home-intro-links small) { color: #262626 !important; }
html[data-theme="soft"] :is(.home-intro-feature > header > span, .home-intro-highlights article > span) { background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .public-theme-picker { display: inline-flex; align-items: center; gap: 5px; color: #262626; }
html[data-theme="soft"] .public-theme-picker select { min-height: 30px; padding: 3px 7px; border: 1px solid #d4d4d4 !important; border-radius: 6px; background: #ffffff !important; color: #171717 !important; }

/* Preserve readable colours when the party intentionally dims the stage. */
html[data-theme="soft"] body.party-lights-off .party-room-panel:not(.party-theme-pink) { color-scheme: light; }

@media (max-width: 560px) {
  html[data-theme="soft"] .app-shell { box-shadow: none !important; }
  html[data-theme="soft"] .modal-card,
  html[data-theme="soft"] .dating-profile-form,
  html[data-theme="soft"] .farm-lite-dialog > section { box-shadow: 0 12px 36px rgba(23, 23, 23, .22) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="soft"] .ambient { display: none; }
}

/* Account security follows the low-glare blue-green palette. */
html[data-theme="soft"] .quick-links .quick-access-history-link,
html[data-theme="soft"] .account-menu-list > .account-access-history-link {
  border-color: #d4d4d4 !important;
  background: linear-gradient(90deg, #f5f5f5, #fafafa) !important;
  color: #262626 !important;
}
html[data-theme="soft"] :is(.quick-access-history-link, .account-access-history-link) svg,
html[data-theme="soft"] .account-access-history-link strong { color: #262626 !important; }
html[data-theme="soft"] :is(.quick-access-history-link, .account-access-history-link) > b {
  background: #525252 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(.access-security-current, .access-pin-form, .access-pin-toggle-form, .access-pin-delete-form, .access-ip-row, .access-history-row) {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.access-pin-form, .access-pin-toggle-form, .access-pin-delete-form) input {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.access-pin-form, .access-pin-toggle-form, .access-pin-delete-form) button {
  border-color: #a3a3a3 !important;
  background: linear-gradient(180deg, #f5f5f5, #e5e5e5) !important;
  color: #262626 !important;
}
html[data-theme="soft"] :is(.access-security-current, .access-ip-row, .access-history-row) > svg {
  background: #f5f5f5 !important;
  color: #262626 !important;
}
html[data-theme="soft"] .access-secondary-settings > .panel-title > b { background: #f5f5f5; color: #262626; }
html[data-theme="soft"] .access-secondary-settings > .panel-title > b.enabled { background: #f5f5f5; color: #262626; }
html[data-theme="soft"] .access-secondary-settings > .panel-title > b.disabled { background: #f5f5f5; color: #262626; }
html[data-theme="soft"] .access-security-delay { border-color: #d4d4d4; background: #fafafa; color: #262626; }
html[data-theme="soft"] .access-ip-copy b { background: #f5f5f5; color: #262626; }
html[data-theme="soft"] .access-ip-copy b.current { background: #f5f5f5; color: #262626; }
html[data-theme="soft"] :is(.access-ip-copy em, .access-history-copy em) { color: #525252; }
html[data-theme="soft"] .access-ip-row.is-blocked { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] .access-ip-row.is-blocked > svg,
html[data-theme="soft"] .access-failure-panel .access-history-row > svg { background: #f5f5f5 !important; color: #262626 !important; }
html[data-theme="soft"] .account-secondary-gate { background: rgba(23, 23, 23, .88); }
html[data-theme="soft"] .account-secondary-card {
  border-color: #d4d4d4;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  color: #171717;
  box-shadow: 0 28px 80px rgba(23, 23, 23, .35);
}
html[data-theme="soft"] .account-secondary-icon { border-color: #d4d4d4; background: #f5f5f5; color: #262626; }
html[data-theme="soft"] .account-secondary-card :is(h2, p, label) { color: #171717; }
html[data-theme="soft"] .account-secondary-card input { border-color: #d4d4d4; background: #ffffff; color: #171717; }
html[data-theme="soft"] .account-secondary-card > small { color: #262626; }
html[data-theme="soft"] .account-secondary-logout { color: #525252; }

/* White/black application chrome. Layout, assets and other themes are unchanged.
   Keep primary actions inverted, secondary controls light, and focus/unread states visible. */
html[data-theme="soft"] .ambient { display: none; }
html[data-theme="soft"] .site-header { background: #ffffff !important; }
html[data-theme="soft"] .brand strong { color: #000000 !important; }
html[data-theme="soft"] .brand small { color: #525252 !important; }
html[data-theme="soft"] .panel-title {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #000000 !important;
}
html[data-theme="soft"] .panel-title :is(span, strong, small, button, svg) {
  color: #000000 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .profile-strip { background: #ffffff !important; }
html[data-theme="soft"] .profile-strip :is(.header-meta-button, .header-mood-button, .header-inventory-button) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .profile-strip .profile-meta-row :is(button, button b, button span, button svg),
html[data-theme="soft"] .profile-strip .header-inventory-button > svg {
  color: #000000 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.header-actions, .bottom-app-nav) .badge {
  border-color: #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button) {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button):is(:hover, :focus-visible) {
  border-color: #262626 !important;
  background: #262626 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button) :is(span, b, svg) { color: inherit !important; }
html[data-theme="soft"] :is(button, a):focus-visible { outline: 2px solid #000000; outline-offset: 3px; }
html[data-theme="soft"] .theme-choice-light { background: #ffffff; color: #000000; }
html[data-theme="soft"] .theme-choice-dark { background: #000000; color: #ffffff; }

/* Home controls added after the original daylight theme. */
html[data-theme="soft"] :is(.quick-menu-toggle, .daily-tasks-open-label, .quick-temporary-room-link, .quick-hot-badge),
html[data-theme="soft"] .quick-menu-panel .quick-links .quick-link-duo > a,
html[data-theme="soft"] .quick-menu-panel .quick-links .quick-admincp-link {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.quick-menu-toggle, .quick-temporary-room-link):hover,
html[data-theme="soft"] .quick-menu-panel .quick-links .quick-link-duo > a:hover { background: #e5e5e5 !important; }
html[data-theme="soft"] :is(.quick-temporary-room-link, .quick-link-duo, .quick-admincp-link, .quick-hot-badge) :is(svg, strong, span, b) { color: #000000 !important; text-shadow: none !important; }
html[data-theme="soft"] #home-rooms .room-card,
html[data-theme="soft"] #home-rooms .room-card.room-card-roomad {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] #home-rooms .room-card:is(:hover, :focus-visible) { border-color: #000000 !important; background: #f5f5f5 !important; }
html[data-theme="soft"] #home-rooms .room-card :is(strong, span, svg) { color: #000000 !important; text-shadow: none !important; filter: none !important; }
html[data-theme="soft"] #home-rooms .room-card.room-card-roomad::before,
html[data-theme="soft"] #home-rooms .room-card.room-card-roomad::after { background: none !important; box-shadow: none !important; }
html[data-theme="soft"] #home-rooms .room-card.room-card-special::after { background: radial-gradient(circle, rgba(0,0,0,.04), transparent 67%) !important; }
html[data-theme="soft"] .home-welcome-decoration { background: #ffffff !important; }
html[data-theme="soft"] .home-welcome-ribbon :is(span, i) { color: #525252 !important; text-shadow: none !important; }

/* Feed actions and generated summary cards, not posted media or purchased skins. */
html[data-theme="soft"] .wall-post-launcher {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .wall-post-launcher-copy {
  background: #f5f5f5 !important;
  color: #000000 !important;
}
html[data-theme="soft"] .wall-post-launcher-copy :is(strong, small),
html[data-theme="soft"] .wall-post-launcher > svg { color: #000000 !important; text-shadow: none !important; }
html[data-theme="soft"] .feed-filters button {
  border-color: transparent !important;
  background: transparent !important;
  color: #000000 !important;
}
html[data-theme="soft"] .feed-filters button:hover { border-color: #d4d4d4 !important; background: #f5f5f5 !important; }
html[data-theme="soft"] .feed-filters button.active {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(.feed-create-action, .feed-sound-action, .feed-quick-hide-button, .feed-more-button, .feed-like-extra, .feed-source-link, .feed-forum-share, .feed-party-share),
html[data-theme="soft"] .feed-author .feed-visibility {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.feed-like-extra, .feed-source-link, .feed-forum-share, .feed-party-share, .feed-visibility) :is(span, b, svg, strong, small, p, em) { color: #000000 !important; text-shadow: none !important; }
html[data-theme="soft"] .feed-actions .feed-heart-button b { border-color: #d4d4d4 !important; background: #fafafa !important; color: #000000 !important; }
html[data-theme="soft"] .feed-actions .feed-heart-button.liked { border-color: #000000 !important; background: #000000 !important; color: #ffffff !important; }
html[data-theme="soft"] .feed-actions .feed-heart-button.liked :is(b, svg) { border-color: #000000 !important; background: #000000 !important; color: #ffffff !important; }
html[data-theme="soft"] .feed-party-share-art { border-color: #d4d4d4 !important; background: #f5f5f5 !important; color: #000000 !important; }
html[data-theme="soft"] .feed-party-share-art :is(b, em),
html[data-theme="soft"] .feed-party-share-art::before,
html[data-theme="soft"] .feed-party-share-art::after { border-color: #d4d4d4 !important; box-shadow: none !important; }
html[data-theme="soft"] .feed-party-share-art em { background: #fafafa !important; color: #000000 !important; }
html[data-theme="soft"] .feed-heading-actions .feed-create-action:is(:hover, :focus-visible) { background: #e5e5e5 !important; color: #000000 !important; }

/* Menus, compact chat controls and default conversation chrome. */
html[data-theme="soft"] :is(.quick-pm-settings-menu, .profile-wall-music-current, .profile-wall-music-current > article, .profile-wall-music-results > button, .profile-wall-music-upload > button, .profile-wall-music-transfer, .profile-wall-music-search label, .profile-wall-music-empty) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.quick-pm-settings-menu, .global-chat-message-tools) button,
html[data-theme="soft"] :is(.direct-more-button, .direct-back-button, .direct-message-expiry-setting) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.quick-pm-settings-menu, .global-chat-message-tools) button:hover { background: #e5e5e5 !important; }
html[data-theme="soft"] :is(.quick-pm-settings-menu, .global-chat-message-tools) button svg,
html[data-theme="soft"] .quick-pm-settings-menu :is(strong, small, label),
html[data-theme="soft"] .direct-user-copy :is(strong, small, span):not(.user-nick *) { color: #000000 !important; }
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-typing-bubble { border-color: #d4d4d4 !important; background: #fafafa !important; }
html[data-theme="soft"] #direct-conversation-panel:not([data-message-frame]) .direct-typing-bubble i { background: #525252 !important; }
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-actions button {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #000000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.profile-wall-music-card) :is(strong, b, p, small, span, label) { color: #000000 !important; text-shadow: none !important; }
html[data-theme="soft"] .settings-form > label:not(.switch-setting) small { color: #525252 !important; }
html[data-theme="soft"] .public-guest .public-community-nav a { color: #000000 !important; }
/* Public introduction uses the same neutral palette as the signed-in shell. */
html[data-theme="soft"] .seo-landing-kicker,
html[data-theme="soft"] .home-intro-feature-grid article > svg,
html[data-theme="soft"] .home-intro-links > nav > a > svg,
html[data-theme="soft"] .seo-home-benefits article > svg,
html[data-theme="soft"] .seo-landing-features :is(article, section) > svg {
  color: #000000 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .seo-home-auth-actions a.is-login,
html[data-theme="soft"] .seo-landing-actions a.seo-landing-primary {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .seo-home-auth-actions a.is-login:hover,
html[data-theme="soft"] .seo-landing-actions a.seo-landing-primary:hover {
  background: #262626 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .site-header > .bottom-app-nav { box-shadow: 0 -2px 12px rgba(0,0,0,.06) !important; }
html[data-theme="soft"] .site-header > .bottom-app-nav .nav-home-icon { box-shadow: 0 0 0 1px #d4d4d4, 0 4px 12px rgba(0,0,0,.12) !important; }

/* Stronger light-mode chat text. Override the pastel metadata children too,
   without flattening nickname colours, BBCode, avatar frames or posted media. */
html[data-theme="soft"] .global-chat-content { font-weight: 700 !important; }
html[data-theme="soft"] :is(.global-chat-energy, .global-chat-energy > span, .global-chat-level, .global-chat-member-stats, .global-chat-member-stats > span, .global-chat-member-stats b) {
  color: #171717 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.global-chat-status, .global-chat-status > span, .global-chat-status > em) {
  color: #262626 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .global-chat-content-row .chat-relative-time {
  color: #404040 !important;
  font-weight: 600 !important;
}
html[data-theme="soft"] .global-chat-author .user-nick:not(.has-custom-name-style):not(.has-nick-background) > .user-nick-text { font-weight: 800 !important; }

/* Loading states follow the selected light palette, including legacy Home
   cards and all templates marked loading-skeleton. Real content is untouched. */
html[data-theme="soft"] .skeleton-card {
  border-color: #d4d4d4 !important;
  background: linear-gradient(90deg, #e5e5e5, #f5f5f5, #e5e5e5) !important;
  background-size: 200% 100% !important;
}
html[data-theme="soft"] .loading-skeleton {
  border-color: #e5e5e5 !important;
  background: #fafafa !important;
  color: #525252 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .skeleton-shape,
html[data-theme="soft"] .profile-detail-loading .profile-info-grid p::before { background: #e5e5e5 !important; }
html[data-theme="soft"] .skeleton-shape::after,
html[data-theme="soft"] .profile-detail-loading .profile-info-grid p::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65) 50%, transparent) !important;
}
html[data-theme="soft"] .detail-loading .direct-user-avatar,
html[data-theme="soft"] .detail-loading .group-chat-head .group-avatar,
html[data-theme="soft"] .header-profile-loading #header-avatar,
html[data-theme="soft"] .profile-detail-loading .profile-wall-avatar {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .auth-feedback.loading {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #262626 !important;
}
html[data-theme="soft"] .auth-feedback.loading :is(strong, span, svg),
html[data-theme="soft"] .initial-state-recovery,
html[data-theme="soft"] .initial-state-recovery :is(strong, small, svg) { color: #262626 !important; }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="soft"] .skeleton-card { animation: none; }
}

/* Feed actions must not inherit the dark theme's pale labels and heart outline.
   Target only these controls so avatar previews, media and liked state survive. */
html[data-theme="soft"] .feed-actions :is(.feed-stat-button, .feed-share-button) {
  border-color: #a3a3a3 !important;
  background: #fafafa !important;
  color: #000000 !important;
  font-size: 12px;
  font-weight: 700 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-stat-button, .feed-share-button) :is(b, span, svg) {
  color: #000000 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-stat-button, .feed-share-button):is(:hover, :focus-visible) {
  border-color: #525252 !important;
  background: #e5e5e5 !important;
}
html[data-theme="soft"] .feed-actions .feed-heart-button:not(.liked),
html[data-theme="soft"] .feed-actions .feed-heart-button:not(.liked) :is(b, svg) {
  color: #000000 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .feed-actions .feed-heart-button:not(.liked):is(:hover, :focus-visible) {
  background: #f5f5f5 !important;
}

/* Comprehensive paired-palette repair for audited light-mode UI surfaces. */
/* Plain information pages: repair the surface and its foreground together.
   This fragment is additive and never targets images, QR codes or purchased skins. */
html[data-theme="soft"] :is(.legal-page-intro, .admin-rules-intro, .contact-page-hero) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.legal-page-intro, .admin-rules-intro, .contact-page-hero) strong {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.legal-page-intro, .admin-rules-intro) > :is(i, svg),
html[data-theme="soft"] .contact-admin-mark {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .contact-admin-mark :is(i, svg),
html[data-theme="soft"] .contact-page-hero > div > span {
  color: #171717 !important;
}
html[data-theme="soft"] :is(.legal-terms-content, .admin-rules-card) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .admin-rules-card header {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .admin-rules-card header :is(strong, i, svg),
html[data-theme="soft"] .admin-rules-card ul,
html[data-theme="soft"] .admin-rules-card li::marker {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .admin-rules-warning {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .admin-rules-warning :is(span, i, svg),
html[data-theme="soft"] :is(.legal-page-note, .contact-safety-note) :is(i, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] .contact-method-list :is(a, button),
html[data-theme="soft"] .contact-page-actions button:not(.primary-button) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .contact-method-list :is(a, button):hover,
html[data-theme="soft"] .contact-page-actions button:not(.primary-button):hover {
  border-color: #171717 !important;
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .contact-method-list :is(a, button) :is(strong, i, svg),
html[data-theme="soft"] .contact-page-actions button:not(.primary-button) :is(i, svg) {
  color: #171717 !important;
}

/* This bounded scope matches the older readability rule's specificity.
   Keep it limited to plain pages so rich content and user-selected skins are untouched. */
html[data-theme="soft"] .view:is([data-page="terms"], [data-page="admin-rules"], [data-page="contact"], [data-page="topup"], [data-page="find-home"])
  .panel:not(.has-profile-skin):not(.party-room-panel)
  :is(p, small, label, li):not(
    .message-bubble *, .direct-message-bubble *, .group-message-bubble *,
    .has-profile-skin *, .party-theme-pink *,
    [data-direct-theme]:not([data-direct-theme="default"]) *,
    [data-background-skin]:not([data-background-skin="default"]) *
  ) {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .view:is([data-page="terms"], [data-page="admin-rules"], [data-page="contact"], [data-page="topup"], [data-page="find-home"])
  .panel:not(.has-profile-skin):not(.party-room-panel)
  :is(
    .legal-page-intro p, .admin-rules-intro p, .contact-page-hero p,
    .legal-page-note, .contact-safety-note, .contact-method-list small,
    .topup-hero p, .topup-hero small, .topup-closed p,
    .topup-package small, .topup-history-row small,
    .topup-history-toolbar small, .topup-compact-note, .topup-safety-note
  ):not(
    .message-bubble *, .direct-message-bubble *, .group-message-bubble *,
    .has-profile-skin *, .party-theme-pink *,
    [data-direct-theme]:not([data-direct-theme="default"]) *,
    [data-background-skin]:not([data-background-skin="default"]) *
  ) {
  color: #525252 !important;
  text-shadow: none !important;
}

/* Footer picker, search and floating navigation are application chrome. */
html[data-theme="soft"] .footer-theme-picker {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .app-shell > footer.site-footer .footer-theme-picker > span,
html[data-theme="soft"] .footer-theme-picker > :is(i, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] .home-search-form button {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .home-search-form button:hover { background: #525252 !important; }
html[data-theme="soft"] .home-search-form button :is(i, svg, span) { color: inherit !important; }
html[data-theme="soft"] .back-to-top {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: 0 7px 22px rgba(23, 23, 23, .15) !important;
}
html[data-theme="soft"] .back-to-top:hover {
  border-color: #171717 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .back-to-top:focus-visible { outline: 2px solid #171717 !important; }
html[data-theme="soft"] .back-to-top :is(i, svg) { color: inherit !important; }

/* Installation text, instructions and controls; brand image remains unchanged. */
html[data-theme="soft"] .pwa-install-footer {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .pwa-install-footer-copy strong { color: #171717 !important; }
html[data-theme="soft"] .pwa-install-footer-copy span { color: #525252 !important; }
html[data-theme="soft"] .pwa-install-footer > button {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .pwa-install-footer > button :is(span, i, svg) { color: inherit !important; }
html[data-theme="soft"] .pwa-install-guide-body > p { color: #171717 !important; }
html[data-theme="soft"] .pwa-install-guide-body li {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .pwa-install-guide-body li::before {
  background: #171717 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .pwa-install-guide-body > small { color: #525252 !important; }
html[data-theme="soft"] .pwa-install-guide-body > small :is(i, svg) { color: #171717 !important; }
html[data-theme="soft"] .pwa-install-guide-actions {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
}

/* Donate page and payment dialog: no changes to amounts, QR/logo images or actions. */
html[data-theme="soft"] :is(
  .topup-hero-icon, .topup-hero > aside, .topup-admin-preview, .topup-closed,
  .topup-compact-form, .topup-package, .topup-donate-note, .topup-notice,
  .topup-history-compact, .topup-history-row, .topup-payment-card,
  .topup-payment-fields p, .topup-bank-details > p
) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(
  .topup-notice > header, .topup-history-toolbar, .topup-payment-card > header,
  .topup-payment-note, .topup-payment-compact-actions
) {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.topup-qr, .topup-qr-compact) { border-color: #d4d4d4 !important; }
html[data-theme="soft"] .topup-package:is(:hover, .active) {
  border-color: #171717 !important;
  background: #f5f5f5 !important;
  box-shadow: inset 0 0 0 1px #171717 !important;
}
html[data-theme="soft"] .topup-package > :is(i, svg) { filter: none !important; }
html[data-theme="soft"] :is(
  .topup-hero, .topup-admin-preview, .topup-closed, .topup-package-section,
  .topup-package, .topup-donate-note, .topup-notice, .topup-history-compact,
  .topup-payment-fields, .topup-bank-details, .topup-payment-card > header,
  .topup-payment-note
) :is(strong, b, i, svg) {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(
  .topup-hero > div > span, .topup-package > span,
  .topup-package-section > header span, .topup-user-history > header span,
  .topup-history-row em, .topup-history-row strong span,
  .topup-payment-fields p > span, .topup-payment-fields p > em,
  .topup-bank-details > p > span, .topup-qr small, .topup-qr-compact small
) {
  color: #525252 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .topup-history-compact > summary {
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.topup-history-compact > summary > b, .topup-history-row > b) {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .topup-notice li::marker { color: #171717 !important; }
html[data-theme="soft"] :is(
  .topup-small-button, .topup-history-toolbar button, .topup-user-history > header button,
  .topup-payment-fields p > button, .topup-bank-details > p > button,
  .topup-payment-card > header button, .topup-payment-compact-actions button:not(.primary-button),
  .topup-qr-save
) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(
  .topup-small-button, .topup-history-toolbar button, .topup-qr-save,
  .topup-payment-fields p > button, .topup-payment-compact-actions button:not(.primary-button)
):hover {
  border-color: #171717 !important;
  background: #f5f5f5 !important;
}
html[data-theme="soft"] :is(
  .topup-small-button, .topup-history-toolbar button, .topup-user-history > header button,
  .topup-payment-fields p > button, .topup-bank-details > p > button,
  .topup-payment-card > header button, .topup-payment-compact-actions button:not(.primary-button),
  .topup-qr-save
) :is(i, svg, span) { color: inherit !important; }
html[data-theme="soft"] :is(.contact-page-actions, .topup-donate-actions, .topup-payment-compact-actions) .primary-button :is(i, svg, span, b) {
  color: #ffffff !important;
}
html[data-theme="soft"] .topup-payment-fields p.important,
html[data-theme="soft"] .topup-bank-details > p.important {
  border-color: #171717 !important;
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .topup-payment-note:is(.completed, .rejected, .processing) {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}

/* Success UI retains motion while removing text-clipped and dark-panel palette debt. */
html[data-theme="soft"] .topup-success-celebration { background: rgba(23, 23, 23, .5) !important; }
html[data-theme="soft"] .topup-success-celebration > section {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: 0 26px 80px rgba(23, 23, 23, .3) !important;
}
html[data-theme="soft"] .topup-success-celebration > section::before { background: none !important; }
html[data-theme="soft"] .topup-success-check {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .topup-success-check :is(i, svg) { color: inherit !important; }
html[data-theme="soft"] .topup-success-celebration section > :is(small, strong, p) {
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #171717 !important;
  filter: none !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .topup-success-celebration section > em { color: #525252 !important; }
html[data-theme="soft"] .topup-success-particles i { background: #525252 !important; }

/* Light-mode account and messaging chrome. Content, avatars and paid skins stay intact. */
html[data-theme="soft"] .switch-setting {
  border-color: #d4d4d4 !important;
}
html[data-theme="soft"] .switch-setting strong,
html[data-theme="soft"] #settings-form .switch-setting strong {
  color: #171717 !important;
}
html[data-theme="soft"] .switch-setting small,
html[data-theme="soft"] #settings-form .switch-setting small {
  color: #525252 !important;
}
html[data-theme="soft"] .switch-setting > i,
html[data-theme="soft"] .waiting-notification-setting > i {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .switch-setting > i::after,
html[data-theme="soft"] .waiting-notification-setting > i::after {
  background: #171717 !important;
}
html[data-theme="soft"] .switch-setting input:checked + i,
html[data-theme="soft"] .waiting-notification-setting input:checked + i {
  border-color: #171717 !important;
  background: #171717 !important;
}
html[data-theme="soft"] .switch-setting input:checked + i::after,
html[data-theme="soft"] .waiting-notification-setting input:checked + i::after {
  background: #fff !important;
}
html[data-theme="soft"] .switch-setting input:focus-visible + i,
html[data-theme="soft"] .waiting-notification-setting input:focus-visible + i {
  outline: 2px solid #171717;
  outline-offset: 3px;
}
html[data-theme="soft"] .web-push-settings,
html[data-theme="soft"] .notification-preferences-settings {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .web-push-heading,
html[data-theme="soft"] .notification-preferences-heading,
html[data-theme="soft"] .web-push-settings .web-push-master {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .web-push-heading :is(strong, svg),
html[data-theme="soft"] .notification-preferences-heading :is(strong, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] #settings-form .web-push-heading small,
html[data-theme="soft"] #settings-form .notification-preferences-heading small {
  color: #525252 !important;
}
html[data-theme="soft"] .web-push-options,
html[data-theme="soft"] .notification-preferences-settings > .switch-setting + .switch-setting {
  border-color: #d4d4d4 !important;
}
html[data-theme="soft"] .notification-preferences-settings > .switch-setting {
  background: #fff !important;
}
html[data-theme="soft"] .web-push-device-status,
html[data-theme="soft"] .web-push-device-status.ready,
html[data-theme="soft"] .web-push-device-status.blocked {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #525252 !important;
}
html[data-theme="soft"] .web-push-device-status :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .web-push-device-actions button {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .web-push-device-actions button:hover {
  background: #000 !important;
}
html[data-theme="soft"] .web-push-device-actions button.danger {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .web-push-device-actions button.danger:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] #settings-form .web-push-device-actions button :is(span, svg) {
  color: inherit !important;
}

/* Inbox actions and ordinary list rows, not purchased conversation frames. */
html[data-theme="soft"] .message-inbox-title-actions button {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .message-inbox-title-actions button:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .message-inbox-title-actions .conversation-density-toggle::after {
  border-color: #fff !important;
  background: #525252 !important;
  box-shadow: 0 0 0 1px #d4d4d4 !important;
}
html[data-theme="soft"] .message-inbox-title-actions .conversation-density-toggle[aria-pressed="true"] {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .message-inbox-title-actions .conversation-density-toggle[aria-pressed="true"]::after {
  border-color: #171717 !important;
  background: #fff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .panel-title .message-inbox-title-actions button :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .message-inbox-tabs button b,
html[data-theme="soft"] .message-inbox-tabs button b.has-unread {
  background: #171717 !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .waiting-notification-setting {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .waiting-notification-setting-icon,
html[data-theme="soft"] .waiting-notification-setting.is-muted .waiting-notification-setting-icon {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .waiting-notification-setting strong {
  color: #171717 !important;
}
html[data-theme="soft"] #direct-inbox-panel .waiting-notification-setting small {
  color: #525252 !important;
}
html[data-theme="soft"] .conversation-row:not([data-message-frame]) > .conversation-item {
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .conversation-row:not([data-message-frame]).pinned,
html[data-theme="soft"] .conversation-row:not([data-message-frame]).pinned > .conversation-item,
html[data-theme="soft"] .conversation-row:not([data-message-frame]).unread > .conversation-item {
  background: #fafafa !important;
  box-shadow: inset 3px 0 #171717 !important;
}
html[data-theme="soft"] .conversation-row:not([data-message-frame]) > .conversation-item:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .conversation-list-actions button,
html[data-theme="soft"] .conversation-list-actions button.danger,
html[data-theme="soft"] .conversation-list-actions button.active-block,
html[data-theme="soft"] .conversation-list-actions button.active-pin {
  color: #171717 !important;
}
html[data-theme="soft"] .conversation-list-actions button:hover,
html[data-theme="soft"] .conversation-list-actions button + button::before,
html[data-theme="soft"] .conversation-row:not([data-message-frame]) .conversation-meta {
  color: #525252 !important;
}
html[data-theme="soft"] .conversation-row:not([data-message-frame]) .conversation-meta b {
  background: #171717 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Compact PM controls and inbox only; message bubbles keep their content styling. */
html[data-theme="soft"] :is(.quick-pm-back, .quick-pm-fullscreen, .quick-pm-minimize, .quick-pm-settings),
html[data-theme="soft"] .quick-pm-inbox-head button {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.quick-pm-back, .quick-pm-fullscreen, .quick-pm-minimize, .quick-pm-settings):hover,
html[data-theme="soft"] .quick-pm-inbox-head button:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .quick-pm-fullscreen[aria-pressed="true"],
html[data-theme="soft"] .quick-pm-settings[aria-expanded="true"] {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .quick-pm-person > strong,
html[data-theme="soft"] .quick-pm-person > .quick-pm-title,
html[data-theme="soft"] .quick-pm-title > strong,
html[data-theme="soft"] .quick-pm-inbox-head > span,
html[data-theme="soft"] .quick-pm-inbox-head > span > svg,
html[data-theme="soft"] .quick-pm-inbox-name > strong {
  color: #171717 !important;
}
html[data-theme="soft"] .quick-pm-person > #quick-pm-status,
html[data-theme="soft"] .quick-pm-inbox-side time,
html[data-theme="soft"] .quick-pm-inbox-empty,
html[data-theme="soft"] .quick-pm-inbox-preview,
html[data-theme="soft"] .quick-pm-inbox-item.unread .quick-pm-inbox-preview {
  color: #525252 !important;
}
html[data-theme="soft"] .quick-pm-inbox-item {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .quick-pm-inbox-item.unread {
  background: #fafafa !important;
}
html[data-theme="soft"] .quick-pm-inbox-item:hover,
html[data-theme="soft"] .quick-pm-inbox-item:focus-visible {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .quick-pm-inbox-side > b {
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .quick-pm-inbox-all {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .quick-pm-inbox-all:hover {
  background: #f5f5f5 !important;
}

/* System notification text, not actor nicknames or their custom descendants. */
html[data-theme="soft"] .notification-icon {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .notification-summary > span,
html[data-theme="soft"] .notification-summary > strong.notification-title,
html[data-theme="soft"] .notification-destination {
  color: #171717 !important;
}
html[data-theme="soft"] #notification-list .notification-summary time,
html[data-theme="soft"] .notification-arrow {
  color: #525252 !important;
}
html[data-theme="soft"] .notification-item.unread {
  background: #fafafa !important;
  box-shadow: inset 2px 0 #171717 !important;
}
html[data-theme="soft"] .notification-item:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .notification-unread-dot {
  background: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .toast span {
  color: #525252 !important;
}
html[data-theme="soft"] .top-web-alert {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16) !important;
}
html[data-theme="soft"] .top-web-alert::before,
html[data-theme="soft"] .top-web-alert.is-mention::before,
html[data-theme="soft"] .top-web-alert.is-group::before {
  background: #171717 !important;
}
html[data-theme="soft"] .top-web-alert-link:hover,
html[data-theme="soft"] .top-web-alert-close:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .top-web-alert-visual:not(:has(img)) {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .top-web-alert-copy strong {
  color: #171717 !important;
}
html[data-theme="soft"] .top-web-alert-copy span {
  color: #525252 !important;
}
html[data-theme="soft"] .top-web-alert-close {
  border-color: #d4d4d4 !important;
  color: #171717 !important;
}

/* Linked accounts. Avatar surfaces and images are intentionally not overridden. */
html[data-theme="soft"] .account-switch-intro,
html[data-theme="soft"] .account-switch-form {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .account-switch-intro > svg {
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .account-switch-intro strong,
html[data-theme="soft"] .account-switch-identity strong,
html[data-theme="soft"] .account-switch-form header :is(span, svg),
html[data-theme="soft"] .account-switch-form label > span {
  color: #171717 !important;
}
html[data-theme="soft"] .account-switch-intro small,
html[data-theme="soft"] .account-switch-identity small,
html[data-theme="soft"] .account-switch-form header small,
html[data-theme="soft"] .account-switch-form > p,
html[data-theme="soft"] .account-switch-form > p > svg,
html[data-theme="soft"] .account-switch-loading,
html[data-theme="soft"] .account-switch-error {
  color: #525252 !important;
}
html[data-theme="soft"] .account-switch-item {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .account-switch-item.is-current {
  background: #fafafa !important;
  box-shadow: inset 3px 0 #171717 !important;
}
html[data-theme="soft"] .account-switch-actions em,
html[data-theme="soft"] .account-switch-unlink {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .account-switch-unlink:hover {
  background: #fafafa !important;
}
html[data-theme="soft"] .account-switch-go,
html[data-theme="soft"] .account-switch-form > button[type="submit"] {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .account-switch-go:hover,
html[data-theme="soft"] .account-switch-form > button[type="submit"]:hover {
  background: #000 !important;
  filter: none;
}
html[data-theme="soft"] .account-switch-actions button :is(span, svg),
html[data-theme="soft"] .account-switch-form > button[type="submit"] :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .account-switch-password button {
  color: #525252 !important;
}

/* Access history includes the separately loaded access-tabs.css surfaces. */
html[data-theme="soft"] .access-ip-guide-note,
html[data-theme="soft"] .access-browser-note {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #525252 !important;
}
html[data-theme="soft"] .access-ip-guide-note :is(strong, svg),
html[data-theme="soft"] .access-ip-guide-note > span,
html[data-theme="soft"] .access-browser-note a,
html[data-theme="soft"] .account-secondary-feedback {
  color: #171717 !important;
}
html[data-theme="soft"] .access-ip-action,
html[data-theme="soft"] .access-ip-action.unblock,
html[data-theme="soft"] .access-ip-action.safe,
html[data-theme="soft"] .access-ip-action.history,
html[data-theme="soft"] .access-ip-copy b.blocked,
html[data-theme="soft"] .access-history-new {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .access-ip-action :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .access-ip-row.is-current > svg,
html[data-theme="soft"] .access-ip-row.is-blocked > svg,
html[data-theme="soft"] .access-failure-panel .access-history-row > svg,
html[data-theme="soft"] .access-browser-icon {
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .access-history-view .access-section-tabs,
html[data-theme="soft"] .access-browser-card,
html[data-theme="soft"] .access-advanced,
html[data-theme="soft"] .access-ip-history-card,
html[data-theme="soft"] .access-ip-history-card > header {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .access-history-view .access-section-tabs button {
  background: #fff !important;
  color: #525252 !important;
}
html[data-theme="soft"] .access-history-view .access-section-tabs button[aria-selected="true"] {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .access-history-view .access-section-tabs button[aria-selected="true"] :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .access-section-tabs button:focus-visible,
html[data-theme="soft"] .access-browser-card > summary:focus-visible,
html[data-theme="soft"] .access-advanced > summary:focus-visible {
  outline-color: #171717 !important;
}
html[data-theme="soft"] .access-browser-copy > strong,
html[data-theme="soft"] .access-browser-toggle,
html[data-theme="soft"] .access-browser-logins h3,
html[data-theme="soft"] .access-browser-logins li > svg,
html[data-theme="soft"] .access-browser-logins li strong,
html[data-theme="soft"] .access-browser-overview dd {
  color: #171717 !important;
}
html[data-theme="soft"] .access-browser-badges b,
html[data-theme="soft"] .access-browser-badges :is(.familiar, .unfamiliar, .current) {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .access-browser-detail,
html[data-theme="soft"] .access-browser-logins li,
html[data-theme="soft"] .access-advanced-content,
html[data-theme="soft"] .access-ip-history-events > article {
  border-color: #d4d4d4 !important;
}
html[data-theme="soft"] .access-browser-overview dt,
html[data-theme="soft"] .access-browser-logins > p,
html[data-theme="soft"] .access-browser-logins li small,
html[data-theme="soft"] .access-advanced > summary small,
html[data-theme="soft"] .access-advanced-toggle,
html[data-theme="soft"] .access-ip-history-card header small,
html[data-theme="soft"] .access-ip-history-overview small,
html[data-theme="soft"] .access-ip-history-events article :is(small, em) {
  color: #525252 !important;
}
html[data-theme="soft"] .access-history-view .access-browser-confirm,
html[data-theme="soft"] .access-ip-history-overview > span {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .access-history-view .access-browser-confirm :is(p, label) {
  color: #525252 !important;
}
html[data-theme="soft"] .access-history-view .access-browser-confirm button {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .access-history-view .access-browser-confirm button :is(span, svg),
html[data-theme="soft"] .access-ip-history-card > header button :is(span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .access-ip-history-card > header button {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .access-ip-history-overview strong,
html[data-theme="soft"] .access-ip-history-events article strong,
html[data-theme="soft"] .access-ip-history-events > article > svg,
html[data-theme="soft"] .access-ip-history-events > article.is-failure > svg {
  color: #171717 !important;
}

/* Photo chooser chrome. The image grid, image overlays and media remain untouched. */
html[data-theme="soft"] .photo-source-backdrop [role="dialog"] > .photo-source-head {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .photo-source-head > span,
html[data-theme="soft"] .photo-source-head :is(strong, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] .photo-source-backdrop [role="dialog"] > .photo-source-head > button,
html[data-theme="soft"] .photo-source-actions > button,
html[data-theme="soft"] .photo-source-actions > button[data-photo-source-choice="goc-nho"] {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .photo-source-actions > button:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .photo-source-actions :is(strong, svg),
html[data-theme="soft"] .photo-source-permission-note :is(strong, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] .photo-source-actions small,
html[data-theme="soft"] .photo-source-permission-note small,
html[data-theme="soft"] .photo-source-card > p {
  color: #525252 !important;
}
html[data-theme="soft"] .photo-source-permission-note {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .direct-nickname-dialog {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .direct-nickname-title h2,
html[data-theme="soft"] .direct-nickname-dialog label {
  color: #171717 !important;
}
html[data-theme="soft"] .direct-nickname-title small,
html[data-theme="soft"] .direct-nickname-dialog p {
  color: #525252 !important;
}
html[data-theme="soft"] .direct-nickname-close,
html[data-theme="soft"] .direct-nickname-actions button,
html[data-theme="soft"] .direct-nickname-notice {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .direct-nickname-actions .direct-nickname-save {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}
html[data-theme="soft"] .direct-nickname-dialog input:focus {
  border-color: #171717 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .12) !important;
}

/* BBCode controls only. Color swatches, rich text and rainbow previews are excluded. */
html[data-theme="soft"] .bbcode-dialog > header,
html[data-theme="soft"] .bbcode-workspace > nav,
html[data-theme="soft"] .bbcode-options {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .bbcode-dialog > header strong {
  color: #171717 !important;
}
html[data-theme="soft"] .bbcode-dialog > header button,
html[data-theme="soft"] .bbcode-workspace > nav button,
html[data-theme="soft"] .bbcode-font-list button,
html[data-theme="soft"] .bbcode-choice-grid button,
html[data-theme="soft"] .bbcode-extra-list button,
html[data-theme="soft"] .bbcode-emoji-grid button {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .bbcode-workspace > nav button:hover,
html[data-theme="soft"] .bbcode-font-list button:hover,
html[data-theme="soft"] .bbcode-choice-grid button:hover,
html[data-theme="soft"] .bbcode-extra-list button:hover,
html[data-theme="soft"] .bbcode-emoji-grid button:hover {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .bbcode-workspace > nav button.active {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
}

/* Authentication feedback states retain their words and icons, without colored panels. */
html[data-theme="soft"] .auth-feedback,
html[data-theme="soft"] .auth-feedback.loading,
html[data-theme="soft"] .auth-feedback.success {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .auth-feedback :is(strong, svg),
html[data-theme="soft"] .auth-feedback.loading :is(strong, svg),
html[data-theme="soft"] .auth-feedback.success :is(strong, svg) {
  color: #171717 !important;
}
html[data-theme="soft"] .auth-feedback span,
html[data-theme="soft"] .auth-feedback.loading span,
html[data-theme="soft"] .auth-feedback.success span {
  color: #525252 !important;
}

/* Audited community/list chrome only. Keep all artwork, nickname effects,
   paid profile/message skins, cover media and gameplay palettes unchanged. */

/* Legacy active tabs had neutral surfaces but retained blue/green borders. */
html[data-theme="soft"] :is(
  .feed-tabs, .member-filter-tabs, .message-inbox-tabs, .ranking-tabs,
  .ranking-periods, .room-tabs, .shop-tabs, .shop-filter
) button.active {
  border-color: #171717 !important;
  box-shadow: none !important;
}

/* Rankings render .ranking-item, not the legacy .ranking-row class. */
html[data-theme="soft"] :is(.ranking-list, .ranking-item) {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}
html[data-theme="soft"] .ranking-item:is(.rank-position-1, .rank-position-2, .rank-position-3) {
  background: #fafafa !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .ranking-position,
html[data-theme="soft"] .ranking-person > strong,
html[data-theme="soft"] .ranking-score > strong {
  color: #171717 !important;
}
html[data-theme="soft"] .ranking-person > span,
html[data-theme="soft"] .ranking-score > span,
html[data-theme="soft"] .ranking-score > small {
  color: #525252 !important;
  font-weight: 600;
}
html[data-theme="soft"] .clan-ranking-rewards {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .clan-ranking-rewards > span,
html[data-theme="soft"] .clan-ranking-rewards > span > b,
html[data-theme="soft"] .clan-ranking-rewards > span > em {
  color: #171717 !important;
}
html[data-theme="soft"] .clan-ranking-rewards > i { color: #525252 !important; }

/* Friends and requests: these nested controls are not covered by the generic
   .member-item > button theme rule. Preserve author/avatar children. */
html[data-theme="soft"] .friends-overview-tabs {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .friends-overview-tabs button,
html[data-theme="soft"] .friend-request-actions button {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .friends-overview-tabs button:hover,
html[data-theme="soft"] .friend-request-actions button:hover {
  border-color: #525252 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .friends-overview-tabs button.active {
  border-color: #525252 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
  box-shadow: inset 0 -2px #525252 !important;
}
html[data-theme="soft"] .friends-overview-tabs button > b {
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .friends-overview-tabs button.active > b {
  background: #e5e5e5 !important;
  color: #171717 !important;
}

/* Hidden-online modal: foregrounds are paired with their actual light surface. */
html[data-theme="soft"] .hidden-online-card {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .hidden-online-card > .panel-title,
html[data-theme="soft"] .hidden-online-intro,
html[data-theme="soft"] .hidden-online-footer {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .hidden-online-card > .panel-title > span,
html[data-theme="soft"] .hidden-online-card > .panel-title > span > svg,
html[data-theme="soft"] .hidden-online-intro > svg {
  color: #171717 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .hidden-online-intro :is(p, strong) { color: #171717 !important; }
html[data-theme="soft"] .hidden-online-intro span,
html[data-theme="soft"] .hidden-online-presence,
html[data-theme="soft"] .hidden-online-presence > svg { color: #525252 !important; }
html[data-theme="soft"] .hidden-online-list {
  background: #ffffff !important;
  scrollbar-color: #525252 #f5f5f5;
}
html[data-theme="soft"] .hidden-online-item {
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .hidden-online-item:hover { background: #fafafa !important; }
html[data-theme="soft"] .hidden-online-badge,
html[data-theme="soft"] .hidden-online-footer button,
html[data-theme="soft"] .hidden-online-card > .panel-title .modal-close {
  border-color: #d4d4d4 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .hidden-online-footer button:hover,
html[data-theme="soft"] .hidden-online-card > .panel-title .modal-close:hover {
  border-color: #525252 !important;
  background: #fafafa !important;
  color: #171717 !important;
}

/* Remaining list metadata and store labels. Do not touch .shop-demo-stage. */
html[data-theme="soft"] .statistics-staff-rank { color: #525252 !important; }
html[data-theme="soft"] .shop-modal-rarity {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .shop-pagination > div > span { color: #525252 !important; }

/* Pages already use semantic theme tokens. Only these verified fixed-color
   controls need a correction; cover/avatar/media and page posts are excluded. */
html[data-theme="soft"] .page-link-import-result .page-link-fallback {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
}
html[data-theme="soft"] .page-link-import-result .page-link-fallback:hover {
  border-color: #525252 !important;
  background: #f5f5f5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .page-link-fallback strong { color: #171717 !important; }
html[data-theme="soft"] .page-link-fallback small,
html[data-theme="soft"] .page-link-fallback > svg { color: #525252 !important; }
html[data-theme="soft"] .page-schedule-picker input {
  color-scheme: light !important;
  border-color: #d4d4d4 !important;
  background: #ffffff !important;
  color: #171717 !important;
}

/* Neutral controls must not inherit the dark theme's blue hover glow. */
html[data-theme="soft"] :is(
  .content-pagination button, .global-chat-rail-handle,
  .global-chat-rail-pages button, .conversation-item,
  .conversation-options-toggle, .conversation-options-menu button,
  .message-inbox-title-actions button, .global-chat-focus-actions > button,
  .global-chat-focus-popover > header > button, .global-chat-here-person,
  .back-to-top
) {
  filter: none !important;
}

/* Page numbers: bold white-on-black current page, neutral hover, faded arrows. */
html[data-theme="soft"] :is(.content-pagination button, .global-chat-rail-pages > button) {
  border-color: #d4d4d4 !important;
  background: #fafafa !important;
  color: #171717 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(.content-pagination button, .global-chat-rail-pages > button):hover:not(:disabled) {
  border-color: #525252 !important;
  background: #e5e5e5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.content-pagination button, .global-chat-rail-pages > button):is(.active, [aria-current="page"]) {
  border-color: #171717 !important;
  background: #171717 !important;
  color: #fff !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
html[data-theme="soft"] :is(.content-pagination button, .global-chat-rail-pages > button):disabled:not(.active):not([aria-current="page"]) {
  opacity: .5 !important;
}
html[data-theme="soft"] .content-pagination button svg {
  color: inherit !important;
}

/* Inbox ellipsis and menu icons use the same light control palette. */
html[data-theme="soft"] .conversation-options-toggle {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .conversation-options-toggle:is(:hover, [aria-expanded="true"]) {
  border-color: #525252 !important;
  background: #e5e5e5 !important;
  color: #171717 !important;
}
html[data-theme="soft"] :is(.conversation-options-toggle, .conversation-options-menu button) svg {
  color: inherit !important;
}

/* Purchased frames retain their artwork. Only ordinary text on the dark
   frame surface changes; custom nicknames, badges and avatars are excluded. */
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) .conversation-row[data-message-frame] > .conversation-item {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) .conversation-row[data-message-frame] > .conversation-item:hover {
  background: rgba(255, 255, 255, .05) !important;
}
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) .conversation-row[data-message-frame] .conversation-copy :is(
  .user-identity-top > strong, .conversation-user-meta,
  .conversation-user-meta > b, .conversation-user-meta > i,
  .conversation-user-meta > em, .conversation-preview, .conversation-list-time
) {
  color: #fff !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) .conversation-row[data-message-frame] .user-nick:not(.has-custom-name-style):not(.has-nick-background) > .user-nick-text {
  color: #fff !important;
  -webkit-text-stroke-width: 0 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) .conversation-row[data-message-frame] .conversation-meta b {
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}

/* Home chat utility buttons, including their full-screen counterparts. */
html[data-theme="soft"] .global-chat-focus-actions > button,
html[data-theme="soft"] .global-chat-focus-popover > header > button {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .global-chat-focus-actions > button:is(:hover, [aria-expanded="true"]),
html[data-theme="soft"] .global-chat-focus-popover > header > button:hover {
  border-color: #525252 !important;
  background: #e5e5e5 !important;
}
html[data-theme="soft"] .panel-title .global-chat-focus-actions > button :is(span, svg),
html[data-theme="soft"] .global-chat-focus-popover > header > button svg,
html[data-theme="soft"] .home-live-stream-manager > summary svg {
  color: inherit !important;
}
html[data-theme="soft"] .global-chat-focus-actions > button b {
  border-color: #fff !important;
  background: #171717 !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-theme="soft"] body.global-chat-focus-mode #home-global-chat-panel > .global-chat-focus-toolbar,
html[data-theme="soft"] .global-chat-focus-popover,
html[data-theme="soft"] .global-chat-focus-popover > header {
  border-color: #d4d4d4 !important;
  background: #fff !important;
  color: #171717 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .global-chat-focus-popover > header strong,
html[data-theme="soft"] .global-chat-here-person strong,
html[data-theme="soft"] .global-chat-here-meta,
html[data-theme="soft"] .global-chat-here-meta > :is(b, i, em) {
  color: #171717 !important;
}
html[data-theme="soft"] .global-chat-focus-popover > header span,
html[data-theme="soft"] .global-chat-here-person :is(small, svg),
html[data-theme="soft"] .global-chat-focus-empty-list,
html[data-theme="soft"] .global-chat-focus-empty-list svg {
  color: #525252 !important;
}
html[data-theme="soft"] .global-chat-here-person {
  border-color: #d4d4d4 !important;
  color: #171717 !important;
}
html[data-theme="soft"] .global-chat-here-person:hover {
  background: #f5f5f5 !important;
}
html[data-theme="soft"] .global-chat-here-avatar > i {
  border-color: #fff !important;
}
html[data-theme="soft"] :is(
  .content-pagination button, .global-chat-rail-pages button,
  .conversation-options-toggle, .conversation-options-menu button,
  .global-chat-focus-actions > button, .global-chat-focus-popover > header > button
):focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}


/* ===== CODE MOI TU GEMINI - THEM VAO 14/10/2026 (giu nguyen cac rule cu phia tren) ===== */
/* ==========================================================================
   GÓC NHỎ - GIAO DIỆN SÁNG (CHUẨN MÀU ẢNH DEMO TRANG CHỦ & TIN NHẮN)
   Dán đè toàn bộ nội dung này vào file: soft-theme.css
   ========================================================================== */

html[data-theme="soft"] {
  color-scheme: light;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --line: #cbd5e1;
  --line-soft: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;

  /* Giữ đúng tông màu thương hiệu như ảnh Demo */
  --green: #15803d;       /* Tiêu đề Phòng cộng đồng, Menu nhanh, Tin nhắn */
  --blue: #0284c7;        /* Tìm thành viên, Quản lý trang, Cửa hàng... */
  --orange: #d97706;      /* Điểm danh, Bữa tiệc, Làm mới */
  --pink: #db2777;        /* Tab Home, Trái tim */
  --danger: #dc2626;      /* Room Ad, Khung Admin */

  --role-admin: #dc2626;
  --role-smod: #9333ea;
  --role-mod: #0284c7;
  --role-member: #15803d;
}

/* 1. NỀN TỔNG THỂ & KHUNG WEB */
html[data-theme="soft"] body {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
html[data-theme="soft"] .ambient { display: none !important; }
html[data-theme="soft"] .app-shell {
  background: #f1f5f9 !important;
  border-inline-color: #cbd5e1 !important;
  box-shadow: none !important;
}

/* 2. HEADER, 5 TAB ĐIỀU HƯỚNG & THANH ADMIN / XU / CẤP 54 */
html[data-theme="soft"] .site-header {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
html[data-theme="soft"] .brand strong {
  color: #0f172a !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .brand small {
  color: #64748b !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.header-refresh-button, .header-menu-button) {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

/* 5 Tab: Home, Trực tuyến, Bảng tin, Thông báo, Tin nhắn */
html[data-theme="soft"] .main-nav {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
html[data-theme="soft"] .nav-item {
  border-right-color: #e2e8f0 !important;
  color: #64748b !important;
  font-weight: 600;
}
html[data-theme="soft"] .nav-item.active {
  background: linear-gradient(180deg, #fdf2f8, #fce7f3) !important;
  color: #db2777 !important;
}
html[data-theme="soft"] .nav-item.active::after {
  background: #db2777 !important;
  box-shadow: none !important;
}

/* Khung Admin, 340.687 xu, Cấp 54 */
html[data-theme="soft"] .profile-strip {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html[data-theme="soft"] .header-coin-button {
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
  color: #92400e !important;
}
html[data-theme="soft"] .header-coin-button > svg { color: #d97706 !important; }
html[data-theme="soft"] .header-coin-button > b { color: #b45309 !important; }

html[data-theme="soft"] .header-level-display {
  background: #f3e8ff !important;
  border-color: #c084fc !important;
  color: #7e22ce !important;
}
html[data-theme="soft"] .header-level-display > svg { color: #7e22ce !important; }
html[data-theme="soft"] .header-level-display > b { color: #7e22ce !important; }

html[data-theme="soft"] .header-mood-button { color: #0f172a !important; }
html[data-theme="soft"] .header-inventory-button {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #4c1d95 !important;
  box-shadow: none !important;
}

/* 3. CÁC KHỐI PANEL & TIÊU ĐỀ XANH LÁ (Phòng cộng đồng, Menu nhanh, Nhiệm vụ, Thông báo) */
html[data-theme="soft"] :is(.panel, .feed-card, .direct-inbox-panel, .direct-conversation-panel, .chat-panel) {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="soft"] .panel-title {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #15803d !important;
  text-shadow: none !important;
}
html[data-theme="soft"] .panel-title > span { color: #15803d !important; }
html[data-theme="soft"] .panel-title small { color: #64748b !important; }
html[data-theme="soft"] button:is(.refresh-action, .text-action) {
  color: #d97706 !important;
  font-weight: 700;
}

/* 4. 8 Ô PHÒNG CỘNG ĐỒNG */
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04) !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) > svg {
  color: #f59e0b !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) strong {
  color: #d97706 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) span {
  color: #64748b !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) span svg {
  color: #0284c7 !important;
}

/* Riêng ô Room Ad màu hồng đỏ nhạt */
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) {
  background: linear-gradient(145deg, #fdf2f8, #fce7f3) !important;
  border-color: #f9a8d4 !important;
}
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) > svg {
  color: #db2777 !important;
  filter: none !important;
}
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) strong {
  color: #db2777 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) span {
  color: #db2777 !important;
}

/* 5. MENU NHANH & ĐỒNG HỒ 12:54 */
html[data-theme="soft"] .quick-menu-toggle {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="soft"] .quick-menu {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
html[data-theme="soft"] .clock-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html[data-theme="soft"] .clock-card strong { color: #0f172a !important; }
html[data-theme="soft"] .clock-card span { color: #64748b !important; }
html[data-theme="soft"] .daily-tasks-open-label {
  border: 1.5px solid #0284c7 !important;
  color: #0284c7 !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
}

html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0284c7 !important;
  font-weight: 600;
}
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button:hover {
  background: #f0f9ff !important;
  color: #0284c7 !important;
}
html[data-theme="soft"] .quick-menu-panel :is(.quick-links, .menu-grid) button svg {
  color: #0284c7 !important;
}

/* 6. TRANG TIN NHẮN (INBOX, KHUNG ADMIN, TIN CHƯA ĐỌC) - Y HỆT ẢNH DEMO 2 */
html[data-theme="soft"] .message-inbox-title-actions button {
  background: #2f5e41 !important;
  border-color: #166534 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .message-inbox-title-actions .conversation-density-toggle {
  background: #2c4c6b !important;
  border-color: #1e3a5f !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .message-inbox-tabs {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
html[data-theme="soft"] .message-inbox-tabs button {
  color: #1e293b !important;
  font-weight: 700;
}
html[data-theme="soft"] .message-inbox-tabs button.active {
  background: #2c4c6b !important;
  border-color: #1e3a5f !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .message-inbox-tabs button b {
  background: #cbd5e1 !important;
  color: #1e293b !important;
}

/* Các dòng tin nhắn thường */
html[data-theme="soft"] .conversation-row {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html[data-theme="soft"] .conversation-item {
  background: transparent !important;
  color: #0f172a !important;
}
html[data-theme="soft"] .conversation-copy strong {
  color: #15803d !important;
  font-size: 14px;
}
html[data-theme="soft"] .conversation-copy span {
  color: #0f172a !important;
  font-size: 13px;
}
html[data-theme="soft"] .conversation-meta {
  color: #1e293b !important;
  font-style: italic;
}

/* Tin nhắn chưa đọc (hoahue4: nền xanh lá nhạt + chữ vàng đồng đậm) */
html[data-theme="soft"] .conversation-row.unread,
html[data-theme="soft"] .conversation-row:has(.conversation-item.unread),
html[data-theme="soft"] .conversation-item.unread {
  background: linear-gradient(90deg, #dcfce7 0%, #f0fdf4 100%) !important;
  box-shadow: inset 4px 0 #16a34a !important;
}
html[data-theme="soft"] .conversation-item.unread .conversation-copy strong {
  color: #15803d !important;
}
html[data-theme="soft"] .conversation-item.unread .conversation-copy span {
  color: #a16207 !important;
  font-weight: 800 !important;
}
html[data-theme="soft"] .conversation-meta b {
  background: #22c55e !important;
  color: #ffffff !important;
}

/* Khung tin nhắn ADMIN (Killen, JIN: nền hồng phấn nhạt + viền đỏ) */
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) :is(
  .conversation-row[data-message-frame],
  .conversation-row[data-message-frame-theme],
  .conversation-row.is-admin
) {
  background: linear-gradient(145deg, #fff1f2, #ffe4e6) !important;
  border: 1.5px solid #e11d48 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.1) !important;
  margin: 6px 6px 8px !important;
}
html[data-theme="soft"] :is(#conversation-list, #waiting-conversation-list) :is(
  .conversation-row[data-message-frame],
  .conversation-row[data-message-frame-theme],
  .conversation-row.is-admin
) .conversation-copy :is(.conversation-preview, .conversation-list-time, span) {
  color: #0f172a !important;
  text-shadow: none !important;
}

/* Nút 3 chấm bên phải tin nhắn */
html[data-theme="soft"] .conversation-options-toggle {
  background: #cbd5e1 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* 7. CHÂN TRANG & TRANG TRÍ TRÁI TIM */
html[data-theme="soft"] :is(.home-welcome-decoration, .home-fixed-greeting) {
  background: #ffffff !important;
  color: #0f172a !important;
}
html[data-theme="soft"] :is(.home-welcome-clock, .home-welcome-date) {
  color: #0f172a !important;
}
html[data-theme="soft"] .app-shell > footer {
  background: #f8fafc !important;
  border-top-color: #cbd5e1 !important;
  color: #475569 !important;
}
/* 2026-10-16: light text/font pass. Icons, SVGs and layout stay unchanged. */
html[data-theme="soft"] {
  --font-vietnamese: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-teen: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --text: #1b2732;
  --muted: #5f6a75;
  --green: #1d5b34;
  --blue: #286d92;
  --orange: #8f6d1a;
  --pink: #b3436b;
  --danger: #a33f50;
}
html[data-theme="soft"] body {
  font-family: var(--font-vietnamese);
  font-weight: 400;
  color: var(--text);
}
html[data-theme="soft"] :is(
  .brand strong, .brand small, .nav-item span,
  .profile-copy :is(strong, b, p), .panel-title,
  .panel-title :is(small, button),
  .room-card :is(strong, span),
  .quick-menu button, .quick-links button,
  .home-welcome-clock, .home-welcome-date,
  .site-announcement-content, .site-announcement-meta,
  .global-chat-content, .global-chat-status,
  .member-copy strong, .conversation-copy strong, .notification-summary strong,
  .member-copy span, .member-location, .member-online-state,
  .conversation-preview, .conversation-list-time, .notification-copy p
) {
  font-family: var(--font-vietnamese);
  text-shadow: none;
}
html[data-theme="soft"] .brand strong,
html[data-theme="soft"] .profile-copy :is(strong, b),
html[data-theme="soft"] .panel-title,
html[data-theme="soft"] .room-card strong,
html[data-theme="soft"] .home-welcome-clock,
html[data-theme="soft"] :is(.member-copy strong, .conversation-copy strong, .notification-summary strong) {
  color: #1b2732 !important;
  font-weight: 700;
}
html[data-theme="soft"] .brand small,
html[data-theme="soft"] .profile-copy p,
html[data-theme="soft"] .panel-title :is(small, button),
html[data-theme="soft"] .home-welcome-date,
html[data-theme="soft"] .site-announcement-meta,
html[data-theme="soft"] :is(.member-copy span, .member-location, .member-online-state, .conversation-preview, .conversation-list-time, .notification-copy p) {
  color: #5f6a75 !important;
  font-weight: 400;
}
html[data-theme="soft"] .nav-item span {
  color: #1b2732 !important;
  font-weight: 600;
}
html[data-theme="soft"] .nav-item.active span {
  color: #b3436b !important;
}
html[data-theme="soft"] .room-card span {
  color: #286d92 !important;
  font-weight: 400;
}
html[data-theme="soft"] :is(.quick-menu button, .quick-links button) {
  color: #1f3340 !important;
  font-weight: 500;
}
html[data-theme="soft"] :is(.global-chat-content, .global-chat-status) {
  color: #1b2732 !important;
}
html[data-theme="soft"] .site-footer > nav button,
html[data-theme="soft"] .app-shell > footer.site-footer :is(strong, span, small) {
  font-family: var(--font-vietnamese);
}

/* 2026-10-16: step 2 readability + Facebook-like light canvas.
   Keep layout dimensions and all existing icons/SVGs unchanged. */
html[data-theme="soft"] {
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #e4e6eb;
  --line: #d9dce1;
  --line-soft: #e4e6eb;
  --text: #1c1e21;
  --muted: #65676b;
  --green: #176b3a;
  --blue: #1877f2;
  --orange: #9a7918;
  --pink: #b3436b;
  --danger: #c93b3b;
  --role-admin: #c93b3b;
  --role-smod: #6c4ab6;
  --role-mod: #1877f2;
  --role-member: #176b3a;
  accent-color: #1877f2;
}
html[data-theme="soft"] body {
  background: #f0f2f5 !important;
  color: #1c1e21 !important;
  font-size: 15px;
  line-height: 1.45;
}
html[data-theme="soft"] .ambient-one,
html[data-theme="soft"] .ambient-two {
  background: #cfd4dc !important;
  opacity: .18 !important;
}
html[data-theme="soft"] .app-shell {
  background: #f0f2f5 !important;
  border-inline-color: #d9dce1 !important;
  box-shadow: 0 0 30px rgba(31, 41, 55, .10) !important;
}
html[data-theme="soft"] .site-header,
html[data-theme="soft"] .main-nav,
html[data-theme="soft"] .classic-app-nav,
html[data-theme="soft"] .profile-strip {
  background: #ffffff !important;
  border-color: #d9dce1 !important;
}
html[data-theme="soft"] .brand strong {
  color: #1c1e21 !important;
  font-size: 21px;
}
html[data-theme="soft"] .brand small {
  color: #65676b !important;
  font-size: 12px;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item {
  color: #1c1e21 !important;
  font-size: 14px;
  border-right-color: #e4e6eb !important;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item:hover {
  background: #f7f8fa !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item.active {
  background: #fff4f8 !important;
  color: #b3436b !important;
  box-shadow: inset 0 -3px #d94b7a !important;
}
html[data-theme="soft"] .profile-strip {
  background: #ffffff !important;
}
html[data-theme="soft"] .profile-copy :is(strong, b) {
  color: #1c1e21 !important;
  font-size: 17px;
}
html[data-theme="soft"] .profile-copy p {
  color: #4b5563 !important;
  font-size: 14px;
}
html[data-theme="soft"] .rank {
  border-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #1c1e21 !important;
  font-size: 13px;
}
html[data-theme="soft"] :is(
  .panel, .feed-card, .notification-list, .auth-panel, .global-chatbox-panel,
  .direct-inbox-panel, .direct-conversation-panel, .group-chat-panel, .chat-panel,
  .profile-panel:not(.has-profile-skin), .shop-list, .inventory-list,
  .game-room-catalog, .game-demo-grid, .game-catalog-grid,
  .site-announcement-panel, .site-featured-card, .site-announcement-card,
  .site-announcement-list, .content-pagination
) {
  background: #ffffff !important;
  border-color: #d9dce1 !important;
  color: #1c1e21 !important;
  box-shadow: 0 1px 3px rgba(31, 41, 55, .08) !important;
}
html[data-theme="soft"] .panel-title {
  background: #f7f8fa !important;
  border-color: #e4e6eb !important;
  color: #176b3a !important;
  font-size: 18px;
}
html[data-theme="soft"] .panel-title :is(strong, span) {
  color: #176b3a !important;
}
html[data-theme="soft"] .panel-title :is(small, button) {
  color: #65676b !important;
  font-size: 14px;
}
html[data-theme="soft"] :is(
  .room-card, .clock-card, .statistics-card, .ranking-card, .shop-item, .inventory-item, .gift-card
) {
  background: #f7f8fa !important;
  border-color: #d9dce1 !important;
  color: #1c1e21 !important;
  box-shadow: 0 1px 3px rgba(31, 41, 55, .12) !important;
}
html[data-theme="soft"] :is(.room-card, .clock-card):hover {
  border-color: #b9c2cf !important;
  background: #eef0f2 !important;
}
html[data-theme="soft"] .room-card :is(strong, span) {
  font-size: 15px;
}
html[data-theme="soft"] .room-card strong {
  color: #1c1e21 !important;
}
html[data-theme="soft"] .room-card span {
  color: #52606d !important;
  font-size: 12px;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links, .feed-tabs, .member-filter-tabs, .message-inbox-tabs, .ranking-tabs, .ranking-periods, .room-tabs, .shop-tabs, .shop-filter) {
  background: #f7f8fa !important;
  border-color: #d9dce1 !important;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button {
  background: #ffffff !important;
  border-color: #e4e6eb !important;
  color: #1c1e21 !important;
  font-size: 15px;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button:hover {
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] :is(
  .feed-tabs button, .member-filter-tabs button, .message-inbox-tabs button,
  .ranking-tabs button, .ranking-periods button, .room-tabs button,
  .shop-tabs button, .shop-filter button
) {
  color: #4b5563 !important;
  font-size: 14px;
}
html[data-theme="soft"] :is(
  .feed-tabs button.active, .member-filter-tabs button.active, .message-inbox-tabs button.active,
  .ranking-tabs button.active, .ranking-periods button.active, .room-tabs button.active,
  .shop-tabs button.active, .shop-filter button.active
) {
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] .clock-card strong,
html[data-theme="soft"] .home-welcome-clock {
  color: #1c1e21 !important;
  font-size: 28px;
}
html[data-theme="soft"] .clock-card span,
html[data-theme="soft"] .home-welcome-date {
  color: #4b5563 !important;
  font-size: 14px;
}
html[data-theme="soft"] :is(.site-announcement-content, .global-chat-content) {
  color: #1c1e21 !important;
  font-size: 15px;
}
html[data-theme="soft"] :is(.site-announcement-meta, .global-chat-status, .conversation-list-time, .notification-copy p) {
  color: #65676b !important;
  font-size: 13px;
}
html[data-theme="soft"] :is(.global-chat-list, .room-chat-list, .chat-messages, .comment-list, .direct-message-list, .group-message-list, .party-message-list) {
  background: #f0f2f5 !important;
}
html[data-theme="soft"] :is(.global-chat-message, .member-item, .friend-request-item, .notification-item, .conversation-row, .ranking-row, .received-gift, .friend-row, .blocked-member-item) {
  background: #ffffff !important;
  border-color: #e4e6eb !important;
}
html[data-theme="soft"] :is(.member-copy strong, .conversation-copy strong, .notification-summary strong) {
  color: #1c1e21 !important;
  font-size: 15px;
}
html[data-theme="soft"] :is(.member-copy span, .member-location, .member-online-state, .conversation-preview) {
  color: #65676b !important;
  font-size: 13px;
}
html[data-theme="soft"] :is(input, textarea, select) {
  border-color: #d9dce1 !important;
  background: #ffffff !important;
  color: #1c1e21 !important;
  font-size: 15px;
}
html[data-theme="soft"] :is(input, textarea)::placeholder {
  color: #65676b !important;
}
html[data-theme="soft"] :is(.global-chat-composer, .composer, .content-composer, .comment-form, .feed-composer) {
  background: #f7f8fa !important;
  border-color: #d9dce1 !important;
}
html[data-theme="soft"] :is(.site-footer, .app-shell > footer) {
  background: #e4e6eb !important;
  border-top-color: #d9dce1 !important;
  color: #4b5563 !important;
}


/* 2026-10-16: step 2 fine tune after live review. */
html[data-theme="soft"] body,
html[data-theme="soft"] main,
html[data-theme="soft"] .app-shell {
  background: #e4e6eb !important;
}
html[data-theme="soft"] body {
  font-size: 16px;
  line-height: 1.5;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item {
  font-size: 15px;
}
html[data-theme="soft"] .room-card :is(strong, span) {
  font-size: 15px;
}
html[data-theme="soft"] .room-card span {
  font-size: 13px;
}
html[data-theme="soft"] :is(.feed-tabs button, .member-filter-tabs button, .message-inbox-tabs button, .ranking-tabs button, .ranking-periods button, .room-tabs button, .shop-tabs button, .shop-filter button) {
  font-size: 15px;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button {
  font-size: 15px;
}
html[data-theme="soft"] :is(.global-chat-list, .room-chat-list, .chat-messages, .comment-list, .direct-message-list, .group-message-list, .party-message-list) {
  background: #e9ebef !important;
}
html[data-theme="soft"] :is(.site-announcement-content, .global-chat-content) {
  font-size: 16px;
}
html[data-theme="soft"] :is(.member-copy strong, .conversation-copy strong, .notification-summary strong) {
  font-size: 16px;
}
html[data-theme="soft"] :is(input, textarea, select) {
  font-size: 16px;
}


/* 2026-10-16: profile strip and quick-menu link correction. */
html[data-theme="soft"] .profile-copy > div {
  font-size: 15px;
}
html[data-theme="soft"] .profile-copy strong,
html[data-theme="soft"] #header-name {
  font-size: 15px !important;
}
html[data-theme="soft"] .profile-copy .rank {
  font-size: 11px !important;
}
html[data-theme="soft"] .profile-copy p,
html[data-theme="soft"] .profile-copy p > span:not(.header-profile-meta-skeleton),
html[data-theme="soft"] .profile-copy p :is(.header-meta-button, .header-mood-button) {
  font-size: 12px !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link {
  border-top: 1px solid #e4e6eb !important;
  background: #fff4f8 !important;
  color: #b3436b !important;
  font-family: var(--font-vietnamese) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link:hover {
  background: #fdebf0 !important;
  color: #9f315d !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link svg {
  color: #b3436b !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link {
  border-top: 1px solid #e4e6eb !important;
  background: #ffffff !important;
  color: #1877f2 !important;
  font-family: var(--font-vietnamese) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link:hover {
  background: #e7f3ff !important;
  color: #1468d5 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link svg {
  color: #1877f2 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-hot-badge {
  border: 0 !important;
  background: #c93b3b !important;
  color: #ffffff !important;
  font-size: 8px !important;
  box-shadow: none !important;
}


/* Ensure link labels follow their light-theme accent colors. */
html[data-theme="soft"] .quick-menu-left .quick-dating-link :is(span, strong) {
  color: #b3436b !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link :is(svg, span, strong, b) {
  color: #1877f2 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link .quick-hot-badge {
  color: #ffffff !important;
}


/* 2026-10-16: light-theme typography cleanup.
   Restore per-announcement sizes and keep decorative names readable. */
html[data-theme="soft"] .site-announcement-content {
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.45;
}
html[data-theme="soft"] .announcement-size-small .site-announcement-content {
  font-size: 11px !important;
}
html[data-theme="soft"] .announcement-size-normal .site-announcement-content {
  font-size: 13px !important;
}
html[data-theme="soft"] .announcement-size-large .site-announcement-content {
  font-size: 16px !important;
}
html[data-theme="soft"] .announcement-size-xlarge .site-announcement-content {
  font-size: 19px !important;
}
html[data-theme="soft"] .announcement-bold .site-announcement-content {
  font-weight: 700 !important;
}
html[data-theme="soft"] .global-chat-content {
  font-weight: 500 !important;
  line-height: 1.5;
}
html[data-theme="soft"] :is(.global-chat-energy, .global-chat-energy > span, .global-chat-level, .global-chat-member-stats, .global-chat-member-stats > span, .global-chat-member-stats b) {
  font-weight: 500 !important;
}
html[data-theme="soft"] :is(.global-chat-status, .global-chat-status > span, .global-chat-status > em) {
  font-weight: 400 !important;
}


/* 2026-10-16: light controls and smiley picker. Keep existing sizing and icons. */
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button) {
  border-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #1c1e21 !important;
  text-shadow: none !important;
  box-shadow: 0 1px 2px rgba(28,30,33,.08) !important;
}
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button):is(:hover, :focus-visible) {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] :is(.header-login-button, .primary-button, .auth-submit, .composer-actions button) :is(span, b, svg) {
  color: inherit !important;
}
html[data-theme="soft"] :is(.composer-submit-group button[type="submit"], .composer-submit-group .direct-send-button, .composer-actions .submit-post) {
  border-color: #1877f2 !important;
  background: #1877f2 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(.composer-submit-group button[type="submit"], .composer-submit-group .direct-send-button, .composer-actions .submit-post):is(:hover, :focus-visible) {
  border-color: #1468d5 !important;
  background: #1468d5 !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(.composer-actions .post-tools button, .composer-actions .composer-inline-tools button) {
  border-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #4b5563 !important;
}
html[data-theme="soft"] :is(.composer-actions .post-tools button, .composer-actions .composer-inline-tools button):is(:hover, :focus-visible) {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] :is(button, a):focus-visible {
  outline-color: #1877f2 !important;
}

/* Smiley picker: retain the original layout, spacing, and icon cells. */
html[data-theme="soft"] .symbol-picker-card {
  border-color: #d9dce1 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(28,30,33,.16) !important;
}
html[data-theme="soft"] .symbol-picker-card > header {
  border-bottom-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #1c1e21 !important;
}
html[data-theme="soft"] .symbol-picker-card > header button {
  border-color: #c9ccd1 !important;
  background: #ffffff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] .symbol-picker-search input {
  border-color: #ccd0d5 !important;
  background: #ffffff !important;
  color: #1c1e21 !important;
}
html[data-theme="soft"] .symbol-picker-search input::placeholder {
  color: #65676b !important;
}
html[data-theme="soft"] :is(.symbol-picker-toolbar, .symbol-picker-browser, .symbol-picker-results) {
  background: #ffffff !important;
}
html[data-theme="soft"] .symbol-picker-toolbar button {
  border-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #4b5563 !important;
}
html[data-theme="soft"] .symbol-picker-toolbar button:first-child {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] .symbol-picker-toolbar .smiley-category-delete {
  border-color: #f0b8bf !important;
  background: #fff5f6 !important;
  color: #c0394b !important;
}
html[data-theme="soft"] .symbol-picker-toolbar button:is(:hover, :focus-visible) {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] .symbol-picker-browser {
  border-top-color: #d9dce1 !important;
}
html[data-theme="soft"] .symbol-picker-groups {
  border-right-color: #d9dce1 !important;
  background: #f7f8fa !important;
  scrollbar-color: #b8c0cc transparent !important;
}
html[data-theme="soft"] .symbol-picker-groups button {
  border-color: #d9dce1 !important;
  background: #ffffff !important;
  color: #4b5563 !important;
}
html[data-theme="soft"] .symbol-picker-groups button b {
  border-color: #d9dce1 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .symbol-picker-groups button.active {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  color: #1877f2 !important;
}
html[data-theme="soft"] .symbol-picker-grid {
  border-top-color: #d9dce1 !important;
  background: #f0f2f5 !important;
  scrollbar-color: #b8c0cc transparent !important;
}
html[data-theme="soft"] .symbol-picker-grid button {
  border-color: #e4e6eb !important;
  background: #ffffff !important;
  color: #4b5563 !important;
}
html[data-theme="soft"] .symbol-picker-grid button:hover {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
}
html[data-theme="soft"] .symbol-picker-grid .smiley-image-button.smiley-picked {
  border-color: #1877f2 !important;
  background: #e7f3ff !important;
  box-shadow: inset 0 0 0 2px rgba(24,119,242,.18), 0 0 10px rgba(24,119,242,.18) !important;
}
html[data-theme="soft"] .symbol-picker-empty {
  color: #65676b !important;
}
html[data-theme="soft"] .symbol-picker-card > footer {
  border-top-color: #d9dce1 !important;
  background: #f7f8fa !important;
  color: #65676b !important;
}
html[data-theme="soft"] .symbol-picker-card > footer span.error {
  color: #c0394b !important;
}
/* 2026-10-16: calm grey / blue / white palette for the light theme. */
html[data-theme="soft"] {
  --bg: #edf2f7 !important;
  --surface: #ffffff !important;
  --surface-2: #f7f9fc !important;
  --surface-3: #eef3f8 !important;
  --line: #d7e0ea !important;
  --line-soft: #e5ebf2 !important;
  --text: #243447 !important;
  --muted: #64758a !important;
  --green: #2e5f85 !important;
  --blue: #2f80ed !important;
  --orange: #b47b2c !important;
  --pink: #d65a7c !important;
  --danger: #c8545e !important;
  accent-color: #2f80ed !important;
}
html[data-theme="soft"] body,
html[data-theme="soft"] main,
html[data-theme="soft"] .app-shell {
  background: #edf2f7 !important;
  color: #243447 !important;
}
html[data-theme="soft"] :is(.panel, .feed-card, .comments-modal-card, .modal-card) {
  border-color: #d7e0ea !important;
  background: #ffffff !important;
  color: #243447 !important;
  box-shadow: 0 2px 8px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] .panel-title {
  border-color: #e2e9f1 !important;
  background: #f7f9fc !important;
  color: #2e5f85 !important;
}
html[data-theme="soft"] .panel-title :is(span, strong) {
  color: #2e5f85 !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) > svg {
  color: #4e8ac7 !important;
}

/* Feed header, menu, and swipe controls. */
html[data-theme="soft"] :is(.feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button) {
  border: 1px solid #d7e0ea !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  color: #58708a !important;
  box-shadow: 0 1px 2px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] :is(.feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button):is(:hover, :focus-visible, [aria-expanded="true"]) {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] .feed-card-menu-popover {
  border-color: #d7e0ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(50, 76, 105, .16) !important;
}
html[data-theme="soft"] .feed-card-menu-popover button {
  border-radius: 7px !important;
  background: transparent !important;
  color: #40566e !important;
}
html[data-theme="soft"] .feed-card-menu-popover button:hover {
  background: #eaf3ff !important;
  color: #2f80ed !important;
}

/* Feed action row: quiet pills with a blue hover state. */
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button) {
  border-color: #d7e0ea !important;
  background: #ffffff !important;
  color: #58708a !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button) :is(b, span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button):is(:hover, :focus-visible) {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] .feed-actions .feed-heart-button.liked,
html[data-theme="soft"] .feed-actions .feed-heart-button.liked :is(b, svg) {
  border-color: #efb2bf !important;
  background: #fff1f4 !important;
  color: #d34d6b !important;
}

/* Comments modal: soft list, balanced reaction pills, and rounded composer controls. */
html[data-theme="soft"] #comments-modal .comment-list {
  background: #f1f5f9 !important;
}
html[data-theme="soft"] #comments-modal .comment-item {
  border-bottom-color: #e2e9f1 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] #comments-modal .comment-body > p {
  color: #2f4053 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction {
  border-color: #d7e0ea !important;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  color: #58708a !important;
  padding: 4px 9px !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction:hover {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-heart.active {
  border-color: #efb2bf !important;
  background: #fff1f4 !important;
  color: #d34d6b !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-haha.active {
  border-color: #e8cf9a !important;
  background: #fff8e8 !important;
  color: #a56d18 !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-sad.active {
  border-color: #a9c9ec !important;
  background: #edf5ff !important;
  color: #2f6fad !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-preview,
html[data-theme="soft"] #comments-modal .comment-reaction-kind {
  border-color: #d7e0ea !important;
  background: #f7f9fc !important;
  color: #58708a !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-avatar,
html[data-theme="soft"] #comments-modal .comment-reaction-avatar.has-avatar-frame {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 1px #b9c9d9, 0 2px 5px rgba(50, 76, 105, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-extra {
  border-color: #ffffff !important;
  background: #eaf3ff !important;
  color: #2f6fad !important;
  box-shadow: 0 0 0 1px #b9c9d9, 0 2px 5px rgba(50, 76, 105, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-form {
  border-top-color: #d7e0ea !important;
  background: #f7f9fc !important;
  padding: 11px !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-actions {
  gap: 8px !important;
  margin-top: 9px !important;
}
html[data-theme="soft"] #comments-modal .comment-form .post-tools > button,
html[data-theme="soft"] #comments-modal .comment-form .composer-symbol-tools > button {
  border-color: #d7e0ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #4f6b86 !important;
  box-shadow: 0 1px 2px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] #comments-modal .comment-form .post-tools > button:hover,
html[data-theme="soft"] #comments-modal .comment-form .composer-symbol-tools > button:hover {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-submit-group > button,
html[data-theme="soft"] #comments-modal .comment-form .submit-post {
  border-color: #2f80ed !important;
  border-radius: 8px !important;
  background: #2f80ed !important;
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(47, 128, 237, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-submit-group > button:hover,
html[data-theme="soft"] #comments-modal .comment-form .submit-post:hover {
  border-color: #246bc9 !important;
  background: #246bc9 !important;
}
html[data-theme="soft"] #comments-modal .comment-form :is(button, svg, span) {
  text-shadow: none !important;
}

/* Calm colours for the remaining composer controls outside the modal. */
html[data-theme="soft"] :is(.post-tools button, .composer-symbol-tools > button, .feed-create-action, .feed-sound-action, .feed-more-button) {
  border-radius: 8px !important;
}
/* 2026-10-16: calm grey / blue / white palette for the light theme. */
html[data-theme="soft"] {
  --bg: #edf2f7 !important;
  --surface: #ffffff !important;
  --surface-2: #f7f9fc !important;
  --surface-3: #eef3f8 !important;
  --line: #d7e0ea !important;
  --line-soft: #e5ebf2 !important;
  --text: #243447 !important;
  --muted: #64758a !important;
  --green: #2e5f85 !important;
  --blue: #2f80ed !important;
  --orange: #b47b2c !important;
  --pink: #d65a7c !important;
  --danger: #c8545e !important;
  accent-color: #2f80ed !important;
}
html[data-theme="soft"] body,
html[data-theme="soft"] main,
html[data-theme="soft"] .app-shell {
  background: #edf2f7 !important;
  color: #243447 !important;
}
html[data-theme="soft"] :is(.panel, .feed-card, .comments-modal-card, .modal-card) {
  border-color: #d7e0ea !important;
  background: #ffffff !important;
  color: #243447 !important;
  box-shadow: 0 2px 8px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] .panel-title {
  border-color: #e2e9f1 !important;
  background: #f7f9fc !important;
  color: #2e5f85 !important;
}
html[data-theme="soft"] .panel-title :is(span, strong) {
  color: #2e5f85 !important;
}
html[data-theme="soft"] .feed-filters button.active {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) > svg {
  color: #4e8ac7 !important;
}

/* Feed header, menu, and swipe controls. */
html[data-theme="soft"] :is(.feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button) {
  border: 1px solid #d7e0ea !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  color: #58708a !important;
  box-shadow: 0 1px 2px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] :is(.feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button):is(:hover, :focus-visible, [aria-expanded="true"]) {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] .feed-card-menu-popover {
  border-color: #d7e0ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(50, 76, 105, .16) !important;
}
html[data-theme="soft"] .feed-card-menu-popover button {
  border-radius: 7px !important;
  background: transparent !important;
  color: #40566e !important;
}
html[data-theme="soft"] .feed-card-menu-popover button:hover {
  background: #eaf3ff !important;
  color: #2f80ed !important;
}

/* Feed action row: quiet pills with a blue hover state. */
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button) {
  border-color: #d7e0ea !important;
  background: #ffffff !important;
  color: #58708a !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button) :is(b, span, svg) {
  color: inherit !important;
}
html[data-theme="soft"] .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button):is(:hover, :focus-visible) {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] .feed-actions .feed-heart-button.liked,
html[data-theme="soft"] .feed-actions .feed-heart-button.liked :is(b, svg) {
  border-color: #efb2bf !important;
  background: #fff1f4 !important;
  color: #d34d6b !important;
}

/* Comments modal: soft list, balanced reaction pills, and rounded composer controls. */
html[data-theme="soft"] #comments-modal .comment-list {
  background: #f1f5f9 !important;
}
html[data-theme="soft"] #comments-modal .comment-item {
  border-bottom-color: #e2e9f1 !important;
  background: #ffffff !important;
}
html[data-theme="soft"] #comments-modal .comment-body > p {
  color: #2f4053 !important;
  text-shadow: none !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction {
  border-color: #d7e0ea !important;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  color: #58708a !important;
  padding: 4px 9px !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction:hover {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-heart.active {
  border-color: #efb2bf !important;
  background: #fff1f4 !important;
  color: #d34d6b !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-haha.active {
  border-color: #e8cf9a !important;
  background: #fff8e8 !important;
  color: #a56d18 !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction.reaction-sad.active {
  border-color: #a9c9ec !important;
  background: #edf5ff !important;
  color: #2f6fad !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-preview,
html[data-theme="soft"] #comments-modal .comment-reaction-kind {
  border-color: #d7e0ea !important;
  background: #f7f9fc !important;
  color: #58708a !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-avatar,
html[data-theme="soft"] #comments-modal .comment-reaction-avatar.has-avatar-frame {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 1px #b9c9d9, 0 2px 5px rgba(50, 76, 105, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-reaction-extra {
  border-color: #ffffff !important;
  background: #eaf3ff !important;
  color: #2f6fad !important;
  box-shadow: 0 0 0 1px #b9c9d9, 0 2px 5px rgba(50, 76, 105, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-form {
  border-top-color: #d7e0ea !important;
  background: #f7f9fc !important;
  padding: 11px !important;
}
html[data-theme="soft"] #comments-modal .comment-form textarea {
  border-radius: 10px !important;
  padding: 10px 12px !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-actions {
  gap: 8px !important;
  margin-top: 9px !important;
}
html[data-theme="soft"] #comments-modal .comment-form .post-tools > button,
html[data-theme="soft"] #comments-modal .comment-form .composer-symbol-tools > button {
  border-color: #d7e0ea !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #4f6b86 !important;
  box-shadow: 0 1px 2px rgba(50, 76, 105, .08) !important;
}
html[data-theme="soft"] #comments-modal .comment-form .post-tools > button:hover,
html[data-theme="soft"] #comments-modal .comment-form .composer-symbol-tools > button:hover {
  border-color: #8bb8e8 !important;
  background: #eaf3ff !important;
  color: #2f80ed !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-submit-group > button,
html[data-theme="soft"] #comments-modal .comment-form .submit-post {
  border-color: #2f80ed !important;
  border-radius: 8px !important;
  background: #2f80ed !important;
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(47, 128, 237, .18) !important;
}
html[data-theme="soft"] #comments-modal .comment-form .composer-submit-group > button:hover,
html[data-theme="soft"] #comments-modal .comment-form .submit-post:hover {
  border-color: #246bc9 !important;
  background: #246bc9 !important;
}
html[data-theme="soft"] #comments-modal .comment-form :is(button, svg, span) {
  text-shadow: none !important;
}

/* Calm colours for the remaining composer controls outside the modal. */
html[data-theme="soft"] :is(.post-tools button, .composer-symbol-tools > button, .feed-create-action, .feed-sound-action, .feed-more-button) {
  border-radius: 8px !important;
}
/* 2026-10-16: final visual consistency pass.
   Preserve the existing layout, dimensions and icons; unify typography,
   soften accents, and give structural borders a clearer slate-blue edge. */
html[data-theme="soft"] {
  --bg: #e9eff5 !important;
  --surface: #ffffff !important;
  --surface-2: #f5f8fb !important;
  --surface-3: #eaf0f5 !important;
  --line: #c4d0dd !important;
  --line-soft: #d6e0ea !important;
  --text: #263746 !important;
  --muted: #647789 !important;
  --blue: #3d78ad !important;
  --blue-strong: #2e6da4 !important;
  --green: #527b78 !important;
  --orange: #9a7650 !important;
  --pink: #c0617c !important;
  --danger: #b45260 !important;
  accent-color: #3d78ad !important;
}

/* One readable system font for site chrome and regular content. */
html[data-theme="soft"] :is(
  body, button, input, textarea, select, option,
  .brand, .nav-item, .profile-copy, .panel-title, .room-card,
  .quick-menu button, .quick-links button,
  .site-announcement-content, .site-announcement-meta,
  .global-chat-content, .global-chat-status,
  .global-chat-energy, .global-chat-member-stats,
  .feed-card, .modal-card, .comments-modal-card,
  .comment-body, .comment-form, .site-footer
) {
  font-family: var(--font-vietnamese) !important;
}
html[data-theme="soft"] body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
html[data-theme="soft"] :is(main, .app-shell) {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* Structural surfaces: a slightly stronger line improves separation without
   changing the existing card sizes or spacing. */
html[data-theme="soft"] :is(
  .app-shell, .site-header, .main-nav, .classic-app-nav, .profile-strip,
  .panel, .feed-card, .notification-list, .auth-panel,
  .global-chatbox-panel, .home-global-chat-panel,
  .direct-inbox-panel, .direct-conversation-panel, .group-chat-panel,
  .chat-panel, .profile-panel, .shop-list, .inventory-list,
  .site-announcement-panel, .site-announcement-card, .site-announcement-list,
  .modal-card, .comments-modal-card, .content-pagination,
  .quick-menu, .quick-links, .feed-tabs, .member-filter-tabs,
  .message-inbox-tabs, .ranking-tabs, .room-tabs, .shop-tabs
) {
  border-color: var(--line) !important;
}
html[data-theme="soft"] :is(
  .panel, .feed-card, .notification-list, .auth-panel,
  .global-chatbox-panel, .home-global-chat-panel,
  .direct-inbox-panel, .direct-conversation-panel, .group-chat-panel,
  .chat-panel, .profile-panel, .shop-list, .inventory-list,
  .site-announcement-panel, .site-announcement-card, .modal-card,
  .comments-modal-card
) {
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: 0 2px 8px rgba(58, 82, 105, .09) !important;
}
html[data-theme="soft"] :is(
  .panel-title, .feed-card-header, .site-announcement-panel > header,
  .global-chatbox-panel > header, .home-global-chat-panel > header
) {
  border-color: var(--line-soft) !important;
  background: var(--surface-2) !important;
  color: #3f6079 !important;
}
html[data-theme="soft"] :is(.panel-title, .panel-title strong, .panel-title span) {
  color: #3f6079 !important;
}

/* Navigation uses one blue active state; the original icons are untouched. */
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item {
  border-color: var(--line-soft) !important;
  color: #344b60 !important;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item:hover {
  background: #edf4fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item.active {
  background: #e8f2fb !important;
  color: var(--blue-strong) !important;
  box-shadow: inset 0 -3px #4b86b8 !important;
}
html[data-theme="soft"] :is(.main-nav, .classic-app-nav) .nav-item.active :is(span, svg, i) {
  color: var(--blue-strong) !important;
}

/* Room tiles and quick links share the same quiet blue accent. */
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) {
  border-color: var(--line) !important;
  background: var(--surface-2) !important;
  color: #36536b !important;
  box-shadow: 0 1px 3px rgba(58, 82, 105, .10) !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card):hover {
  border-color: #8fb3d2 !important;
  background: #edf4fb !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) :is(svg, i) {
  color: #4b86b8 !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) strong {
  color: #3b5c75 !important;
}
html[data-theme="soft"] :is(.room-card, #home-rooms .room-card) span {
  color: #718598 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link {
  border-color: var(--line-soft) !important;
  background: #f2f0f5 !important;
  color: #6c5d78 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-dating-link :is(span, strong, svg) {
  color: #6c5d78 !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link {
  border-color: var(--line-soft) !important;
  background: #edf4fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] .quick-menu-left .quick-temporary-room-link :is(span, strong, b, svg) {
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] .quick-menu-left .quick-hot-badge {
  background: #c75a67 !important;
  color: #ffffff !important;
}

/* Profile chips, status pills and ordinary controls. */
html[data-theme="soft"] :is(
  .rank, .header-meta-button, .header-mood-button,
  .global-chat-member-stats, .global-chat-level,
  .comment-reaction, .comment-reaction-preview, .comment-reaction-kind
) {
  border-color: var(--line) !important;
  background: var(--surface-2) !important;
  color: #526a7e !important;
}
html[data-theme="soft"] :is(input, textarea, select) {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: var(--text) !important;
  font-family: var(--font-vietnamese) !important;
}
html[data-theme="soft"] :is(input, textarea, select)::placeholder {
  color: #7b8d9d !important;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button {
  border-color: var(--line-soft) !important;
  color: #3d5d75 !important;
}
html[data-theme="soft"] :is(.quick-menu, .quick-links) button:hover {
  background: #eaf3fb !important;
  color: var(--blue-strong) !important;
}

/* Keep action controls light; blue is reserved for the primary action. */
html[data-theme="soft"] :is(
  .feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button,
  .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button),
  .global-chat-focus-actions > button, .global-chat-focus-popover > header > button,
  .post-tools button, .composer-symbol-tools > button,
  .feed-create-action, .feed-sound-action
) {
  border-color: var(--line) !important;
  background: var(--surface-2) !important;
  color: #526a7e !important;
  box-shadow: 0 1px 2px rgba(58, 82, 105, .08) !important;
}
html[data-theme="soft"] :is(
  .feed-quick-hide-button, .feed-more-button, .feed-swipe-open-button,
  .feed-actions :is(.feed-heart-button, .feed-stat-button, .feed-share-button),
  .global-chat-focus-actions > button, .post-tools button,
  .composer-symbol-tools > button, .feed-create-action, .feed-sound-action
):is(:hover, :focus-visible, [aria-expanded="true"]) {
  border-color: #8fb3d2 !important;
  background: #eaf3fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] :is(
  .composer-submit-group button[type="submit"],
  .composer-submit-group .direct-send-button,
  .composer-actions .submit-post,
  .pwa-install-footer > button,
  .account-switch-go, .account-switch-form > button[type="submit"],
  .restaurant-panel-close
) {
  border-color: var(--blue-strong) !important;
  background: var(--blue-strong) !important;
  color: #ffffff !important;
}
html[data-theme="soft"] :is(
  .composer-submit-group button[type="submit"],
  .composer-submit-group .direct-send-button,
  .composer-actions .submit-post,
  .pwa-install-footer > button,
  .account-switch-go, .account-switch-form > button[type="submit"],
  .restaurant-panel-close
):is(:hover, :focus-visible) {
  border-color: #255b8c !important;
  background: #255b8c !important;
}

/* Welcome and chat text use the same slate hierarchy. */
html[data-theme="soft"] :is(.home-welcome-decoration, .home-fixed-greeting) {
  border-color: var(--line-soft) !important;
  background: #ffffff !important;
  color: #49667d !important;
}
html[data-theme="soft"] :is(.home-welcome-clock, .home-welcome-date) {
  color: #3b566d !important;
}
html[data-theme="soft"] :is(.site-announcement-content, .global-chat-content) {
  color: #2f4355 !important;
}
html[data-theme="soft"] :is(.site-announcement-meta, .global-chat-status, .conversation-list-time) {
  color: #718496 !important;
}
html[data-theme="soft"] :is(.global-chat-list, .room-chat-list, .chat-messages, .comment-list) {
  background: #edf2f7 !important;
}
html[data-theme="soft"] :is(.global-chat-message, .comment-item, .member-item, .notification-item, .conversation-row) {
  border-color: var(--line-soft) !important;
  background: #ffffff !important;
}

/* Focus and popovers follow the same border/accent system. */
html[data-theme="soft"] :is(.feed-card-menu-popover, .symbol-picker-card, .global-chat-focus-popover) {
  border-color: var(--line) !important;
  background: #ffffff !important;
}
html[data-theme="soft"] :is(button, a, input, textarea, select):focus-visible {
  outline-color: #5a92bf !important;
}
html[data-theme="soft"] .app-shell > footer.site-footer {
  border-color: var(--line) !important;
  background: #f0f4f8 !important;
  color: #62788b !important;
}
/* Profile statistics: keep the seven original cells, unify their visual weight. */
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats {
  border-color: var(--line) !important;
  background: var(--line) !important;
}
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button {
  border-color: var(--line-soft) !important;
  background: #ffffff !important;
  color: #60798d !important;
}
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button:hover {
  background: #edf4fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button > svg,
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button:nth-child(n) > svg {
  color: #5a8ab2 !important;
}
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats b {
  color: #2e4559 !important;
  font-family: var(--font-vietnamese) !important;
}
html[data-theme="soft"] #profile-main-panel:not(.has-profile-skin) .profile-stats button > span {
  color: #6d8293 !important;
  font-family: var(--font-vietnamese) !important;
}
/* Temporary-room standalone page: bring its separate stylesheet into the same
   light slate-blue system without changing its compact layout. */
html[data-theme="soft"] .temporary-standalone-shell,
html[data-theme="soft"] .temporary-standalone-main {
  background: var(--bg) !important;
  color: var(--text) !important;
}
html[data-theme="soft"] .temporary-standalone-header {
  border-color: var(--line) !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .temporary-standalone-nav > a {
  border-color: var(--line) !important;
  background: var(--surface-2) !important;
  color: #48657d !important;
}
html[data-theme="soft"] .temporary-standalone-nav > a:hover {
  border-color: #8fb3d2 !important;
  background: #eaf3fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] .temporary-standalone-account > b {
  background: #5a8ab2 !important;
}
html[data-theme="soft"] .temporary-standalone-account small,
html[data-theme="soft"] .temporary-standalone-account strong {
  color: #60788b !important;
}
html[data-theme="soft"] .temporary-room-list,
html[data-theme="soft"] .temporary-room-stage {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: var(--text) !important;
}
html[data-theme="soft"] .temporary-list-head {
  border-color: var(--line) !important;
  background: #f3f7fb !important;
  color: #2f4355 !important;
}
html[data-theme="soft"] .temporary-list-head span,
html[data-theme="soft"] .temporary-list-subhead span {
  color: #4d83af !important;
}
html[data-theme="soft"] .temporary-list-head h1,
html[data-theme="soft"] .temporary-list-subhead h2 {
  color: #314b62 !important;
}
html[data-theme="soft"] .temporary-list-head p,
html[data-theme="soft"] .temporary-list-subhead p {
  color: #718496 !important;
}
html[data-theme="soft"] .temporary-list-actions .refresh-action {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: #4f6d84 !important;
}
html[data-theme="soft"] .temporary-list-actions .refresh-action:hover {
  border-color: #8fb3d2 !important;
  background: #eaf3fb !important;
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] .temporary-list-actions .primary-button {
  border-color: var(--blue-strong) !important;
  background: var(--blue-strong) !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .temporary-list-section + .temporary-list-section,
html[data-theme="soft"] .temporary-room-card {
  border-color: var(--line-soft) !important;
}
html[data-theme="soft"] .temporary-list-subhead,
html[data-theme="soft"] .temporary-my-rooms .temporary-list-subhead {
  border-color: var(--line-soft) !important;
  background: #eaf1f7 !important;
  color: #314b62 !important;
}
html[data-theme="soft"] .temporary-room-card,
html[data-theme="soft"] .temporary-room-card-saved {
  background: #ffffff !important;
  color: #314b62 !important;
}
html[data-theme="soft"] .temporary-room-card:hover,
html[data-theme="soft"] .temporary-room-card-saved:hover {
  background: #f1f6fb !important;
  border-color: #9bbbd6 !important;
}
html[data-theme="soft"] .temporary-room-card p,
html[data-theme="soft"] .temporary-room-last-visit {
  color: #718496 !important;
}
html[data-theme="soft"] .temporary-room-card p b {
  color: #8a9aaa !important;
}
html[data-theme="soft"] .temporary-room-chip {
  background: #eaf3fb !important;
  color: #3e739c !important;
}
html[data-theme="soft"] .temporary-room-chip.private {
  background: #f2f0f5 !important;
  color: #6c5d78 !important;
}
html[data-theme="soft"] .temporary-empty {
  background: #ffffff !important;
  color: #415a70 !important;
}
html[data-theme="soft"] .temporary-empty :is(h3, p) {
  color: inherit !important;
}
html[data-theme="soft"] .temporary-room-enter {
  border-color: #2f6da4 !important;
  background: #3d78ad !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .temporary-room-enter:hover {
  border-color: #255b8c !important;
  background: #255b8c !important;
}
/* Dating directory: replace the legacy dark/pale contrast with the shared light palette. */
html[data-theme="soft"] .dating-view {
  --dating-bg: #f5f8fb !important;
  --dating-line: #c4d0dd !important;
  --dating-red: #3d78ad !important;
  --dating-rose: #c0617c !important;
  color: var(--text) !important;
}
html[data-theme="soft"] .dating-panel {
  border-color: var(--line) !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .dating-hero {
  border-color: var(--line) !important;
  background: #f3f7fb !important;
}
html[data-theme="soft"] .dating-back-home {
  border-color: var(--line) !important;
  background: #edf3f8 !important;
  color: #4f6d84 !important;
}
html[data-theme="soft"] .dating-hero small,
html[data-theme="soft"] .dating-filter-heading > span {
  color: #4d83af !important;
}
html[data-theme="soft"] .dating-hero h1,
html[data-theme="soft"] .dating-list-summary strong,
html[data-theme="soft"] .dating-card-copy h2,
html[data-theme="soft"] .dating-card-copy h2 a {
  color: #314b62 !important;
  font-family: var(--font-vietnamese) !important;
}
html[data-theme="soft"] .dating-hero p,
html[data-theme="soft"] .dating-card-copy > p,
html[data-theme="soft"] .dating-card-copy li,
html[data-theme="soft"] .dating-card-expectation,
html[data-theme="soft"] .dating-list-summary small {
  color: #6b7f90 !important;
}
html[data-theme="soft"] .dating-my-profile-button {
  border-color: #2f6da4 !important;
  background: #3d78ad !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(47, 109, 164, .18) !important;
}
html[data-theme="soft"] :is(.dating-filters, .dating-card, .dating-empty, .dating-safety-note, .dating-stat) {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: #314b62 !important;
}
html[data-theme="soft"] .dating-filters {
  background: #f7f9fc !important;
}
html[data-theme="soft"] .dating-filter-heading > button,
html[data-theme="soft"] .dating-card-open {
  color: var(--blue-strong) !important;
}
html[data-theme="soft"] .dating-filters label,
html[data-theme="soft"] .dating-detail-location,
html[data-theme="soft"] .dating-detail-breadcrumb {
  color: #6b7f90 !important;
}
html[data-theme="soft"] .dating-filters select {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: #314b62 !important;
}
html[data-theme="soft"] .dating-card-photo {
  background: #edf2f7 !important;
}
html[data-theme="soft"] .dating-card-copy li {
  border-color: var(--line) !important;
  background: #f5f8fb !important;
}
html[data-theme="soft"] .dating-stat {
  background: #f5f8fb !important;
  color: #526f85 !important;
}
html[data-theme="soft"] .dating-level-badge {
  border-color: #b9c9d7 !important;
  background: #edf3f8 !important;
  color: #4f7390 !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .dating-level-badge small,
html[data-theme="soft"] .dating-level-badge b {
  color: #4f7390 !important;
}
html[data-theme="soft"] .dating-pagination button {
  border-color: var(--line) !important;
  background: #f5f8fb !important;
  color: #587489 !important;
}
html[data-theme="soft"] .dating-pagination button[aria-current="page"] {
  border-color: #3d78ad !important;
  background: #3d78ad !important;
  color: #ffffff !important;
}
html[data-theme="soft"] .dating-view :is(.dating-card-copy, .dating-detail-copy, .dating-form-grid, .dating-list-summary) :is(p, span, small, label, dt, dd, li) {
  text-shadow: none !important;
}
/* Room Ad keeps its identity through the label, while matching the calm room palette. */
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) {
  background: #eef4fa !important;
  border-color: #a9c3da !important;
}
html[data-theme="soft"] :is(.room-card.room-card-roomad, #home-rooms .room-card.room-card-roomad) :is(svg, strong, span) {
  color: #4b789d !important;
}
/* 2026-10-16: heading hierarchy for the light palette. */
html[data-theme="soft"] main :is(h1, h2, h3, h4) {
  font-family: var(--font-vietnamese) !important;
  text-shadow: none !important;
}
html[data-theme="soft"] main :is(h1) {
  color: #2f6da4 !important;
}
html[data-theme="soft"] main :is(h2) {
  color: #3d6e8f !important;
}
html[data-theme="soft"] main :is(h3, h4) {
  color: #4d7894 !important;
}
html[data-theme="soft"] :is(
  .panel-title, .site-announcement-panel > header,
  .global-chatbox-panel > header, .home-global-chat-panel > header,
  .temporary-list-head, .temporary-list-subhead
) {
  color: #3d6682 !important;
}
html[data-theme="soft"] :is(
  .panel-title strong, .panel-title span,
  .temporary-list-head h1, .temporary-list-subhead h2,
  .dating-hero h1, .profile-panel .profile-name
) {
  color: #2f6da4 !important;
}
html[data-theme="soft"] :is(
  .room-card strong, .quick-menu button strong,
  .site-announcement-card h3, .feed-card h3,
  .notification-item h3
) {
  color: #4d7894 !important;
}
html[data-theme="soft"] :is(.panel-title small, .panel-title button) {
  color: #718496 !important;
}
/* Distinct but related colors for the main home section headings. */
html[data-theme="soft"] [data-page="home"] > .panel > .panel-title {
  color: #3d6682 !important;
}
html[data-theme="soft"] [data-page="home"] > .quick-menu-panel > .panel-title {
  color: #4d7894 !important;
}
html[data-theme="soft"] [data-page="home"] > .daily-tasks-panel .daily-tasks-title {
  color: #4f7d79 !important;
}
html[data-theme="soft"] [data-page="home"] > .announcement-panel > .panel-title {
  color: #5c7085 !important;
}
html[data-theme="soft"] [data-page="home"] > .global-chatbox-panel > .panel-title {
  color: #426d8b !important;
}
html[data-theme="soft"] [data-page="home"] > .panel > .panel-title > span,
html[data-theme="soft"] [data-page="home"] > .panel > .panel-title > span :is(svg, i) {
  color: inherit !important;
}
/* Daily tasks: restore a clear sky-blue accent so the feature does not look
   unfinished in the light theme. Layout and task controls stay unchanged. */
html[data-theme="soft"] .daily-tasks-panel {
  border-color: #a9d2ea !important;
  background: #ffffff !important;
}
html[data-theme="soft"] .daily-tasks-title {
  background: #f1f9fe !important;
  color: #2f7fae !important;
}
html[data-theme="soft"] .daily-tasks-title > span,
html[data-theme="soft"] .daily-tasks-title > span :is(svg, i) {
  color: #2f8ab9 !important;
}
html[data-theme="soft"] .daily-tasks-title:hover {
  background: #e8f5fc !important;
}
html[data-theme="soft"] .daily-tasks-title > div > small {
  color: #55788d !important;
}
html[data-theme="soft"] .daily-tasks-title > div > small.has-reward {
  color: #2f80ad !important;
}
html[data-theme="soft"] .daily-tasks-open-label {
  border-color: #8fc6e4 !important;
  background: #e5f4fc !important;
  color: #2f80ad !important;
}
html[data-theme="soft"] .daily-tasks-open-label:hover {
  border-color: #5aa9d3 !important;
  background: #d8effb !important;
  color: #246b93 !important;
}
html[data-theme="soft"] .daily-tasks-modal-card {
  border-color: #9fc8df !important;
  background: #ffffff !important;
  box-shadow: 0 24px 90px rgba(39, 99, 132, .28) !important;
}
html[data-theme="soft"] .daily-tasks-modal-card > .panel-title {
  border-color: #b9d9ea !important;
  background: linear-gradient(135deg, #eff9fe, #e4f2fa) !important;
}
html[data-theme="soft"] .daily-tasks-modal-card > .panel-title > span,
html[data-theme="soft"] .daily-tasks-modal-card > .panel-title > span :is(svg, i) {
  color: #2f7fae !important;
}
html[data-theme="soft"] .daily-tasks-modal-card > .panel-title > button {
  border-color: #b5d3e3 !important;
  background: #ffffff !important;
  color: #397fa7 !important;
}
html[data-theme="soft"] .daily-tasks-modal-card > .panel-title > button:hover {
  border-color: #5aa9d3 !important;
  background: #e8f5fc !important;
  color: #246b93 !important;
}
html[data-theme="soft"] .daily-tasks-body {
  background: #f7fbfe !important;
  color: #36566b !important;
}
html[data-theme="soft"] .daily-tasks-reset {
  color: #5b7e92 !important;
}
html[data-theme="soft"] .daily-tasks-reset svg {
  color: #3f9dcc !important;
}
html[data-theme="soft"] .daily-online-task {
  border-color: #b4d7e8 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(58, 126, 164, .08) !important;
}
html[data-theme="soft"] .daily-online-task > header strong {
  color: #315a72 !important;
}
html[data-theme="soft"] .daily-online-task > header b {
  color: #2f80ad !important;
}
html[data-theme="soft"] .daily-online-task > header svg {
  color: #3f9dcc !important;
}
html[data-theme="soft"] .daily-online-progress {
  background: #d8eaf4 !important;
}
html[data-theme="soft"] .daily-online-progress > i {
  background: linear-gradient(90deg, #3c9ed0, #70d5f2) !important;
}
html[data-theme="soft"] .daily-online-milestones::before {
  background: #b5d8e9 !important;
}
html[data-theme="soft"] .daily-online-milestone {
  color: #58788b !important;
}
html[data-theme="soft"] .daily-online-milestone > i {
  border-color: #8fbfd8 !important;
  background: #ffffff !important;
  color: #4f87a5 !important;
}
html[data-theme="soft"] .daily-online-milestone.is-ready > i {
  border-color: #55a9d2 !important;
  background: #e8f6fc !important;
  color: #2f80ad !important;
  box-shadow: 0 0 12px rgba(63, 157, 204, .24) !important;
}
html[data-theme="soft"] .daily-online-milestone.is-claimed > i {
  border-color: #75b9d8 !important;
  background: #e6f5fb !important;
  color: #2f80ad !important;
  box-shadow: none !important;
}
html[data-theme="soft"] .daily-online-milestone strong {
  color: #365a70 !important;
}
html[data-theme="soft"] .daily-online-milestone small,
html[data-theme="soft"] .daily-task-copy b {
  color: #3e86aa !important;
}
html[data-theme="soft"] :is(.daily-online-milestone button, .daily-task-row > button) {
  border-color: #9bc9e1 !important;
  background: #ffffff !important;
  color: #347da5 !important;
}
html[data-theme="soft"] :is(.daily-online-milestone button, .daily-task-row > button):not(:disabled):hover {
  border-color: #5aa9d3 !important;
  background: #e8f5fc !important;
  color: #246b93 !important;
}
html[data-theme="soft"] :is(.daily-online-milestone.is-claimed button, .daily-task-row.is-claimed > button) {
  border-color: #85bfd9 !important;
  background: #e8f5fc !important;
  color: #347da5 !important;
}
html[data-theme="soft"] .daily-task-row {
  border-color: #c3dce9 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(58, 126, 164, .06) !important;
}
html[data-theme="soft"] .daily-task-row > i {
  border-color: #b5d8e9 !important;
  background: #eef8fc !important;
  color: #3c91bb !important;
}
html[data-theme="soft"] .daily-task-copy strong {
  color: #315a72 !important;
}
html[data-theme="soft"] .daily-task-copy small {
  color: #6d8797 !important;
}
html[data-theme="soft"] .daily-task-mini-progress {
  background: #dcecf4 !important;
}
html[data-theme="soft"] .daily-task-mini-progress i {
  background: linear-gradient(90deg, #3c9ed0, #70d5f2) !important;
}
html[data-theme="soft"] .daily-task-row.is-claimed {
  border-color: #9ac8dc !important;
  background: #f0f9fd !important;
}
html[data-theme="soft"] .daily-task-row.is-claimed > i {
  border-color: #85bfd9 !important;
  background: #e2f3fa !important;
  color: #2f80ad !important;
}
/* Small sky-blue marker keeps the collapsed daily-task panel visible on the home page. */
html[data-theme="soft"] .daily-tasks-title {
  box-shadow: inset 3px 0 #56acd4 !important;
  color: #2f80ad !important;
}
