/* GENERADO por scripts/gen_dark_css.py a partir de style.css: no editar a mano.
   Los retoques a mano van en scripts/dark_overrides.css (se agregan al final). */

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #32363d;
  border: 2px solid transparent;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background-color: #3c4148;
}
@supports not selector(::-webkit-scrollbar) {
html[data-theme="dark"] * {
  scrollbar-color: #32363d transparent;
}
}
html[data-theme="dark"] body {
  background: #17191d;
  color: #dbdddf;
}
html[data-theme="dark"] .topbar {
  background: #1f2227;
  border-bottom: 1px solid #30343b;
}
html[data-theme="dark"] .pill-btn {
  border: none;
  background: transparent;
  color: #7ab8e1;
}
@media (hover: hover) {
html[data-theme="dark"] .pill-btn:hover {
  background: rgba(47, 154, 224, 0.12);
  color: #75a6e6;
}
}
html[data-theme="dark"] .pill-btn:disabled {
  background: transparent;
  color: #7ab8e1;
}
html[data-theme="dark"] .panel {
  background: #1f2227;
  border: 1px solid #30343b;
}
html[data-theme="dark"] .friends-group-friend.friend-active {
  background: #1a2a46;
  box-shadow: inset 0 0 0 1px #aecbfa;
}
html[data-theme="dark"] .friend-form input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .friend-form button {
  background: #1a73e8;
  color: #ffffff;
  border: none;
}
html[data-theme="dark"] .friend-form button:hover {
  background: #1558b0;
}
html[data-theme="dark"] .friend-chip {
  background: #1a1d21;
}
html[data-theme="dark"] .friend-chip:hover {
  background: #25282e;
}
html[data-theme="dark"] .friend-chip:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .crop-modal-actions button.danger {
  background: #471f1b;
  color: #e29692;
}
html[data-theme="dark"] .crop-modal-actions button.danger:hover {
  background: #582621;
}
html[data-theme="dark"] .friend-form button.secondary {
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .friend-form button.secondary:hover {
  background: #383c44;
}
html[data-theme="dark"] .remove-album-btn {
  border: none;
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .remove-album-btn:hover {
  background: #582621;
  color: #e29692;
}
html[data-theme="dark"] .panel h3 {
  color: #b8bdc3;
}
html[data-theme="dark"] .hint {
  color: #a8acb3;
}
html[data-theme="dark"] .friends-sort {
  color: #b8bdc3;
}
html[data-theme="dark"] .friends-sort-btn {
  color: #dbdddf;
  border: 1px solid transparent;
  background: #1a1d21
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357606a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center / 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .friends-sort-btn:hover,
html[data-theme="dark"] .friends-sort-btn[aria-expanded="true"] {
  background-color: #24282d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .friends-sort-btn:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .friends-sort-menu .chat-menu-item[aria-checked="true"] {
  color: #75a6e6;
}
html[data-theme="dark"] .friends-sort-menu .chat-menu-item[aria-checked="true"]::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
html[data-theme="dark"] .friends-count {
  color: #b8bdc3;
}
html[data-theme="dark"] .plan-info-btn {
  border: 1.5px solid currentColor;
  background: none;
  color: inherit;
}
html[data-theme="dark"] .plan-info-btn:hover,
html[data-theme="dark"] .plan-info-btn[aria-expanded="true"] {
  color: #75a6e6;
}
html[data-theme="dark"] .plan-info-pop {
  background: #1f2227;
  color: #dbdddf;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .plan-info-list {
  color: #b8bdc3;
}
html[data-theme="dark"] .plan-info-more {
  border: 0;
  background: none;
  color: #75a6e6;
}
html[data-theme="dark"] .status.error {
  background: #461f1a;
  color: #e29692;
  border: 1px solid #582621;
}
html[data-theme="dark"] .status.info {
  background: #181a1e;
  color: #8eb5e9;
  border: 1px solid #203755;
}
html[data-theme="dark"] .floating-notice {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .floating-notice-close {
  border: none;
  background: transparent;
  color: inherit;
}
html[data-theme="dark"] .floating-notice-close:hover {
  background: rgba(255, 255, 255, 0.084);
}
html[data-theme="dark"] .email-date {
  color: #a8acb3;
}
html[data-theme="dark"] .email-subject {
  color: inherit;
}
html[data-theme="dark"] .friend-summary-list li {
  border: 1px solid #30343b;
  background: #1f2227;
}
html[data-theme="dark"] .friend-summary-list li.chat-list-menu-open {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .friend-summary-list li.empty {
  border: none;
  background: none;
}
html[data-theme="dark"] .chat-search {
  border: 1px solid #383d44;
}
html[data-theme="dark"] .chat-search:focus {
  outline: 2px solid #582132;
  border-color: #e8457a;
}
html[data-theme="dark"] .chat-search-empty {
  color: #a8acb3;
}
html[data-theme="dark"] .friend-avatar {
  color: #ffffff;
}
html[data-theme="dark"] .friend-avatar-img {
  background: #30343b;
}
html[data-theme="dark"] .friend-avatar-loading {
  background: #1a1d21;
}
html[data-theme="dark"] .friend-avatar-img.is-loading {
  border: 2px solid #30343b;
  border-top-color: #1a73e8;
  background: #1a1d21;
  color: transparent;
}
html[data-theme="dark"] .avatar-color-0 {
  background: #1a73e8;
}
html[data-theme="dark"] .avatar-color-1 {
  background: #d93025;
}
html[data-theme="dark"] .avatar-color-2 {
  background: #188038;
}
html[data-theme="dark"] .avatar-color-3 {
  background: #e37400;
}
html[data-theme="dark"] .avatar-color-4 {
  background: #9334e6;
}
html[data-theme="dark"] .avatar-color-5 {
  background: #12736c;
}
html[data-theme="dark"] .avatar-color-6 {
  background: #c5221f;
}
html[data-theme="dark"] .avatar-color-7 {
  background: #3949ab;
}
html[data-theme="dark"] .skeleton-avatar {
  background: #393e46;
}
html[data-theme="dark"] .skeleton-bar {
  background: #393e46;
}
html[data-theme="dark"] .chat-updating {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-notices > * {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.37);
}
html[data-theme="dark"] .chat-notices .chat-updating {
  background: rgba(31, 34, 39, 0.95);
}
html[data-theme="dark"] .friend-summary-lastsent {
  color: #a8acb3;
}
html[data-theme="dark"] .album-card {
  color: inherit;
  border: 1px solid #1e2126;
}
html[data-theme="dark"] a.album-card.album-menu-open {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .album-thumb {
  background: #23272c;
}
html[data-theme="dark"] .album-card-skeleton {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .album-skeleton-thumb {
  background: #23272c;
}
html[data-theme="dark"] .loader {
  background: #1f2227;
}
html[data-theme="dark"] .loader:before {
  background: #265873;
  box-shadow: 20px -21px 0 3px #38b6f0;
}
html[data-theme="dark"] .loader:after {
  background: #38b6f0;
}
html[data-theme="dark"] .album-changed,
html[data-theme="dark"] .email-unread {
  background: #2f9ae0;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.77), 0 1px 3px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .album-date {
  color: #75a6e6;
}
html[data-theme="dark"] .album-subtitle {
  color: #a8acb3;
}
html[data-theme="dark"] .album-error {
  color: #e29692;
}
html[data-theme="dark"] .empty {
  color: #a8acb3;
}
html[data-theme="dark"] .session-info .session-initial {
  color: #ffffff;
}
html[data-theme="dark"] .session-info span {
  color: #b8bdc3;
}
html[data-theme="dark"] .connect-google-banner {
  background: #181a1e;
  border: 1px solid #203755;
  color: #8eb5e9;
}
html[data-theme="dark"] .connect-google-banner a.connect-btn {
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .connect-google-banner a.connect-btn:hover {
  background: #1558b0;
}
html[data-theme="dark"] .login-page {
  background: #17191d;
}
html[data-theme="dark"] .login-card {
  background: #1f2227;
  border: 1px solid #30343b;
}
html[data-theme="dark"] .login-form input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .login-form button {
  background: #1a73e8;
  color: #ffffff;
  border: none;
}
html[data-theme="dark"] .login-form button:hover {
  background: #1558b0;
}
html[data-theme="dark"] .login-note {
  color: #b8bdc3;
}
html[data-theme="dark"] .google-signin {
  background: #1f2227;
  color: #dfdfdf;
  border: 1px solid #7b848e;
}
html[data-theme="dark"] .google-signin:hover {
  background: #16181c;
}
html[data-theme="dark"] .login-toggle {
  background: none;
  border: none;
  color: #75a6e6;
}
html[data-theme="dark"] .login-verse {
  border-top: 1px solid #30343b;
}
html[data-theme="dark"] .login-verse-text {
  color: #b8bdc3;
}
html[data-theme="dark"] .login-verse-ref {
  color: #a8acb3;
}
html[data-theme="dark"] .crop-modal {
  background: rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .crop-modal-content {
  background: #1f2227;
}
html[data-theme="dark"] #crop-canvas {
  background: #30343b;
}
html[data-theme="dark"] .crop-modal-actions button {
  background: #1a73e8;
  color: #ffffff;
  border: none;
}
html[data-theme="dark"] .crop-modal-actions button:hover {
  background: #1558b0;
}
html[data-theme="dark"] .crop-modal-actions button.secondary {
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .crop-modal-actions button.secondary:hover {
  background: #383c44;
}
html[data-theme="dark"] .app-confirm-content {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .app-confirm-content h3 {
  color: #dbdddf;
}
html[data-theme="dark"] .app-confirm-message {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-send-undo {
  background: #343940;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .chat-send-undo button {
  border: none;
  background: rgba(31, 34, 39, 0.16);
  color: #8cc4ff;
}
html[data-theme="dark"] .chat-send-undo button:hover {
  background: rgba(31, 34, 39, 0.26);
}
html[data-theme="dark"] .chat-send-undo::after {
  background: #264c73;
}
html[data-theme="dark"] .app-confirm-dont-ask {
  color: #b8bdc3;
}
html[data-theme="dark"] .email-dates-list a {
  color: inherit;
}
html[data-theme="dark"] .mail-icon-received {
  color: #75a6e6;
}
html[data-theme="dark"] .mail-icon-sent {
  color: #b7ecc7;
}
html[data-theme="dark"] .email-dates-divider {
  border-top: 1px solid #32363d;
}
html[data-theme="dark"] .friend-info-email {
  color: #b8bdc3;
}
html[data-theme="dark"] .friend-info-details dt {
  color: #a8acb3;
}
html[data-theme="dark"] .friend-info-photo-btn {
  border: none;
  background: #1a73e8;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .friend-info-photo-btn:hover,
html[data-theme="dark"] .friend-info-photo-btn[aria-expanded="true"] {
  background: #1557b0;
}
html[data-theme="dark"] .chat-menu-item:disabled {
  color: #a8acb3;
  background: transparent;
}
html[data-theme="dark"] .mission-flags img {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .friend-info-details a {
  color: #75a6e6;
}
html[data-theme="dark"] .password-form input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .feedback-form select,
html[data-theme="dark"] .feedback-form textarea {
  border: 1px solid #353941;
  background: #1f2227;
}
html[data-theme="dark"] .feedback-hint {
  color: #b8bdc3;
}
html[data-theme="dark"] .profile-btn {
  background: none;
  border: none;
}
html[data-theme="dark"] .profile-btn:hover {
  background: #1b1e23;
}
html[data-theme="dark"] .profile-over-limit {
  color: #db7f7f;
}
html[data-theme="dark"] .profile-username {
  color: #b8bdc3;
}
html[data-theme="dark"] .profile-plan-link {
  background: none;
  border: none;
  color: inherit;
}
html[data-theme="dark"] .profile-note {
  color: #a8acb3;
}
html[data-theme="dark"] .modal-close-x {
  border: none;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .modal-close-x:hover {
  background: #1b1e23;
  color: #d8dadd;
}
html[data-theme="dark"] .friends-map {
  border: 1px solid #30343b;
  background: #1e374d;
  outline: none;
}
html[data-theme="dark"] .friends-map:focus-visible {
  box-shadow: 0 0 0 2px #1a73e8;
}
html[data-theme="dark"] .friends-map-pin {
  border: none;
  background: transparent;
}
html[data-theme="dark"] .friends-map-pin:focus-visible {
  outline: none;
}
html[data-theme="dark"] .friends-map-pin:focus-visible .friend-avatar {
  box-shadow: 0 0 0 3px #1a73e8;
}
html[data-theme="dark"] .friends-map-pin .friend-avatar {
  border: 2px solid #1f2227;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.77);
}
html[data-theme="dark"] .friends-map-pin-count {
  border: 2px solid #1f2227;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .friends-map-popup {
  background: #1f2227;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .friends-map-popup hr {
  border: none;
  border-top: 1px solid #30343b;
}
html[data-theme="dark"] .friends-map-zoom {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .friends-map-zoom button {
  border: none;
  background: #1f2227;
  color: #d6d6d6;
}
html[data-theme="dark"] .friends-map-zoom button + button {
  border-top: 1px solid #30343b;
}
html[data-theme="dark"] .friends-map-zoom button:hover {
  background: #1a1d21;
}
html[data-theme="dark"] .friends-map-attrib {
  background: rgba(31, 34, 39, 0.75);
  color: #c7c7c7;
}
html[data-theme="dark"] .friends-map-attrib a {
  color: inherit;
}
html[data-theme="dark"] .friends-map-unplaced {
  color: #bfc0c2;
}
html[data-theme="dark"] .friends-map-unplaced-friend {
  border: none;
  background: none;
  color: #75a6e6;
}
html[data-theme="dark"] .friends-group-country h4 {
  color: #a8acb3;
}
html[data-theme="dark"] .friends-group-mission > a {
  color: #75a6e6;
}
html[data-theme="dark"] .friends-group-friend {
  background: #1a1d21;
}
html[data-theme="dark"] .friends-group-friend:hover {
  background: #25282e;
}
html[data-theme="dark"] .friends-group-friend:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .email-dates-subject {
  color: #d8dadd;
}
html[data-theme="dark"] .email-dates-date {
  color: #a8acb3;
}
html[data-theme="dark"] .loading-circle {
  border: 3px solid #30343b;
  border-top-color: #1a73e8;
}
html[data-theme="dark"] .friend-form-modal-content {
  background: #17191d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .friend-form-avatar-empty {
  background: #2a2e34;
  color: #a8acb3;
}
html[data-theme="dark"] .chat-enabled .friend-summary-list li:not(.empty):not(.skeleton-row):hover {
  background: #1f2227;
}
html[data-theme="dark"] .chat-title-avatar-btn {
  border: none;
  background: none;
}
html[data-theme="dark"] .chat-title-avatar-btn:focus-visible {
  outline: 2px solid currentColor;
}
html[data-theme="dark"] .chat-menu-btn {
  border: none;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-menu-btn:hover,
html[data-theme="dark"] .chat-menu-btn[aria-expanded="true"] {
  background: #1b1e23;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-menu {
  border: 1px solid #373c43;
  background: #1f2227;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .chat-menu-item {
  border: none;
  background: transparent;
  color: #dbdddf;
}
html[data-theme="dark"] .chat-menu-item:hover,
html[data-theme="dark"] .chat-menu-item:focus-visible {
  background: #1a1d21;
  outline: none;
}
html[data-theme="dark"] .chat-to-bottom {
  border: none;
  background: #1f2227;
  color: #b8bdc3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .chat-to-bottom:hover {
  background: #1a1d21;
}
html[data-theme="dark"] .chat-list,
html[data-theme="dark"] .settings-chat-font-preview {
  background: var(--chat-bg, #1d374d);
}
html[data-theme="dark"] .chat-day {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .chat-bubble {
  filter: drop-shadow(0 1px 0.5px rgba(0, 0, 0, 0.178));
}
html[data-theme="dark"] .chat-received {
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-sent {
  background: #1d304d;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-bubble.chat-received::before,
html[data-theme="dark"] .chat-bubble.chat-sent::before {
  background: inherit;
}
html[data-theme="dark"] .chat-reaction {
  border: 1px solid #30343b;
  background: #1f2227;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .chat-reaction-mine {
  background: #1a2a46;
  border-color: #1e3150;
}
html[data-theme="dark"] .chat-reaction-count {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-html blockquote {
  border-left: 3px solid #41464e;
}
html[data-theme="dark"] .chat-html a {
  color: #75a6e6;
}
html[data-theme="dark"] .chat-missing {
  color: #a8acb3;
}
html[data-theme="dark"] .chat-time {
  color: #a8acb3;
}
html[data-theme="dark"] .chat-time:hover {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-list .empty {
  color: #a8acb3;
}
html[data-theme="dark"] .chat-compose-mode {
  color: #a8acb3;
}
html[data-theme="dark"] .chat-compose-beta {
  background: #4b3e1c;
  color: #faedc7;
}
html[data-theme="dark"] .chat-send-bar {
  background: #1a73e8;
}
html[data-theme="dark"] .chat-burst-now,
html[data-theme="dark"] .chat-burst-remove {
  border: 0;
  background: none;
  color: #74a2ec;
}
html[data-theme="dark"] .chat-burst-remove {
  background: #202429;
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-burst-remove:hover {
  background: #373c43;
}
html[data-theme="dark"] .chat-burst-edit {
  background: #202429;
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-burst-edit:hover {
  background: #373c43;
}
html[data-theme="dark"] .chat-bubble.chat-queued.is-editing {
  outline-color: #74a2ec;
}
html[data-theme="dark"] .chat-sending-status {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-compose input,
html[data-theme="dark"] .chat-compose textarea {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-compose input:focus,
html[data-theme="dark"] .chat-compose textarea:focus {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] #chat-compose-text.caret-hidden {
  caret-color: transparent;
}
html[data-theme="dark"] .chat-compose-row button {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .chat-compose-row .chat-record-btn {
  background: #1f2227;
  color: #75a6e6;
  border: 1px solid #373c43;
}
html[data-theme="dark"] .chat-compose-row .chat-record-btn:hover {
  background: #1f2227;
}
html[data-theme="dark"] .chat-compose-row .chat-subject-btn.is-active {
  background: #1a2a46;
  border-color: #1a73e8;
}
html[data-theme="dark"] .chat-swipe-reply-icon {
  background: rgba(31, 34, 39, 0.9);
  color: #b8bdc3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .chat-swipe-reply-icon.is-ready {
  color: #75a6e6;
}
html[data-theme="dark"] .chat-msg-menu-btn {
  border: none;
  background: transparent;
  color: #a8acb3;
}
html[data-theme="dark"] .chat-msg-menu-btn:hover,
html[data-theme="dark"] .chat-msg-menu-btn:focus-visible,
html[data-theme="dark"] .chat-msg-menu-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.112);
  color: #d8dadd;
}
html[data-theme="dark"] .chat-msg-menu {
  background: #1f2227;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .chat-msg-menu button {
  border: none;
  background: transparent;
  color: #d8dadd;
}

html[data-theme="dark"] .chat-msg-menu-time {
  color: #9aa0a6;
}
html[data-theme="dark"] .chat-msg-menu button:hover {
  background: #1b1e23;
}
html[data-theme="dark"] .chat-msg-menu button.danger {
  color: #e29692;
}
html[data-theme="dark"] .chat-msg-menu button.danger:hover {
  background: #471f1b;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-row {
  border-bottom: 1px solid #202328;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-grid {
  border-bottom: 1px solid #202328;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-btn.is-mine {
  background: #1a2a46;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-btn:disabled:hover {
  background: transparent;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-btn.is-mine:disabled:hover {
  background: #1a2a46;
}
html[data-theme="dark"] .chat-msg-menu .chat-react-more {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-react-note {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-react-toast {
  background: #32373d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .chat-react-undo {
  border: none;
  background: transparent;
  color: #8ab4f8;
}
html[data-theme="dark"] .chat-react-undo:hover {
  background: rgba(31, 34, 39, 0.1);
}
html[data-theme="dark"] .chat-compose-reply {
  border-left: 3px solid #1a73e8;
  background: #1d2025;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .chat-compose-reply-cancel {
  border: none;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-compose-reply-cancel:hover {
  background: rgba(255, 255, 255, 0.112);
}
html[data-theme="dark"] .chat-attach-meter {
  background: #22252a;
}
html[data-theme="dark"] .chat-attach-meter-fill {
  background: #1a73e8;
}
html[data-theme="dark"] .chat-attach-meter-fill.is-near {
  background: #e3a008;
}
html[data-theme="dark"] .chat-attach-meter-fill.is-full {
  background: #d1242f;
}
html[data-theme="dark"] .chat-attach-note {
  color: #edb5a2;
}
html[data-theme="dark"] .chat-attach-thumb.is-later {
  outline: 2px dashed #d1242f;
}
html[data-theme="dark"] .chat-attach-thumb-later {
  background: rgba(209, 36, 47, 0.85);
  color: #ffffff;
}
html[data-theme="dark"] .chat-attach-menu-item {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-attach-menu-item:hover {
  background: #1f2227;
}
html[data-theme="dark"] .chat-compose-row .chat-sticker-btn.is-active {
  background: #1a2a46;
  border-color: #1a73e8;
}
html[data-theme="dark"] .chat-sticker-panel {
  border: 1px solid #373c43;
  background: #1f2227;
}
html[data-theme="dark"] .chat-sticker-title {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-sticker-edit {
  border: 1px solid #373c43;
  background: transparent;
  color: #75a6e6;
}
html[data-theme="dark"] .chat-sticker-cell {
  border: 0;
  background: #1b1d22;
}
html[data-theme="dark"] .chat-sticker-new {
  border: 2px dashed #3d4c5c;
  background: transparent;
  color: #75a6e6;
}
html[data-theme="dark"] .chat-sticker-cell.is-loading::after {
  border: 3px solid #383d44;
  border-top-color: #1a73e8;
}
html[data-theme="dark"] .chat-sticker-crop-hint {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-sticker-crop-frame {
  border: 2px solid #1f2227;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.85);
}
html[data-theme="dark"] .chat-sticker-crop-zoom {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-sticker-crop-btn {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-sticker-crop-btn.is-primary {
  border-color: #1a73e8;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .chat-sticker-testing {
  background: #504a1e;
  color: #fae6c4;
}
html[data-theme="dark"] .chat-sticker-import-url {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-sticker-import-title {
  color: #d8dadd;
}
html[data-theme="dark"] .chat-sticker-pick {
  outline: 2px solid transparent;
}
html[data-theme="dark"] .chat-sticker-pick.is-selected {
  outline-color: #1a73e8;
}
html[data-theme="dark"] .chat-sticker-check {
  background: rgba(0, 0, 0, 0.42);
  color: transparent;
}
html[data-theme="dark"] .chat-sticker-pick.is-selected .chat-sticker-check {
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .chat-sticker-note.is-info {
  color: #b7ebc6;
}
html[data-theme="dark"] .chat-sticker-remove {
  background: rgba(209, 36, 47, 0.9);
  color: #ffffff;
}
html[data-theme="dark"] .chat-sticker-empty,
html[data-theme="dark"] .chat-sticker-note {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-sticker-note {
  color: #de7c83;
}
html[data-theme="dark"] .chat-attach-thumb {
  background: #22252a;
}
html[data-theme="dark"] .chat-attach-thumb.is-placeholder {
  outline: 2px dashed #1a73e8;
}
html[data-theme="dark"] .chat-attach-thumb.chat-attach-ghost {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .chat-attach-thumb-icon {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-attach-thumb-name {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-attach-thumb-badge {
  background: rgba(0, 0, 0, 0.66);
  color: #ffffff;
}
html[data-theme="dark"] .chat-attach-thumb-remove {
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
}
html[data-theme="dark"] .chat-attach-add {
  border: 2px dashed #3f4d5a;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-attach-add:hover {
  background: #1f2227;
}
html[data-theme="dark"] .chat-rec-dot {
  background: #d93025;
}
html[data-theme="dark"] .chat-rec-time {
  color: #d8dadd;
}
html[data-theme="dark"] .chat-recorder-paused .chat-rec-dot {
  background: #8a919b;
}
html[data-theme="dark"] .chat-recorder-paused .chat-rec-time {
  color: #a8acb3;
}
html[data-theme="dark"] .chat-recorder-ending .chat-rec-time {
  color: #df827c;
}
html[data-theme="dark"] .chat-rec-progress {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-rec-primary {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .chat-rec-secondary {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-compose-grant {
  color: #75a6e6;
}
html[data-theme="dark"] .legal-page a {
  color: #75a6e6;
}
html[data-theme="dark"] .legal-page code {
  background: #22252b;
}
html[data-theme="dark"] .legal-lead {
  color: #b8bdc3;
}
html[data-theme="dark"] .legal-button {
  background: #1a73e8;
  color: #ffffff !important;
}
html[data-theme="dark"] .legal-button:hover {
  background: #1558b0;
}
html[data-theme="dark"] button.legal-button {
  border: none;
}
html[data-theme="dark"] .install-note {
  background: #1a1c21;
}
html[data-theme="dark"] .legal-footer {
  border-top: 1px solid #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .login-links a {
  color: #b8bdc3;
}
html[data-theme="dark"] .account-text {
  color: #dbdddf;
}
html[data-theme="dark"] .account-text a {
  color: #75a6e6;
}
html[data-theme="dark"] .settings-item-count {
  background: #24272d;
  color: #b8bdc3;
}
html[data-theme="dark"] .sessions-list {
  border: 1px solid #292d33;
}
html[data-theme="dark"] .sessions-item,
html[data-theme="dark"] .sessions-loading {
  color: #dbdddf;
}
html[data-theme="dark"] .sessions-loading {
  color: #b4bac0;
}
html[data-theme="dark"] .sessions-item + .sessions-item {
  border-top: 1px solid #1e2025;
}
html[data-theme="dark"] .sessions-details {
  color: #b4bac0;
}
html[data-theme="dark"] .sessions-current {
  background: #22252a;
  color: #b7e8c2;
}
html[data-theme="dark"] .sessions-revoke {
  border: none;
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .sessions-revoke:hover {
  background: #383c44;
}
html[data-theme="dark"] .storage-modal-content .account-usage-list {
  border: 1px solid #292d33;
}
html[data-theme="dark"] .account-usage-list {
  color: #dbdddf;
}
html[data-theme="dark"] .account-usage-list .usage-sub {
  color: #b4bac0;
}
html[data-theme="dark"] body.home-page::before {
  background-color: #1a3446;
}
html[data-theme="dark"] body.home-page .login-page {
  background: transparent;
}
html[data-theme="dark"] .chat-file-link {
  color: inherit;
}
html[data-theme="dark"] .chat-photo {
  background: #23262b;
}
html[data-theme="dark"] .chat-photo.chat-photo-jar {
  background: transparent;
}
html[data-theme="dark"] .chat-bubble.chat-jar-bubble {
  background: var(--jar-bg);
  --jar-bg: #3a1f2a;
  --jar-ink: #ff9fbf;
}
html[data-theme="dark"] .chat-bubble.chat-jar-coins {
  --jar-bg: #362d14;
  --jar-ink: #f5cf5c;
}
html[data-theme="dark"] .chat-bubble.chat-jar-planes {
  --jar-bg: #162b3d;
  --jar-ink: #8ccaf7;
}
html[data-theme="dark"] .chat-photo.chat-sticker {
  background: transparent;
}
html[data-theme="dark"] .chat-photo.is-loading::after {
  border: 3px solid #383d44;
  border-top-color: #1a73e8;
}
html[data-theme="dark"] .chat-album .chat-album-tile {
  border-color: #2b2f35;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .chat-album-more {
  background: rgba(0, 0, 0, 0.54);
  color: #ffffff;
}
html[data-theme="dark"] .photo-viewer {
  background: #000000;
}
html[data-theme="dark"] .photo-viewer.is-loading::after {
  border: 4px solid rgba(31, 34, 39, 0.25);
  border-top-color: #1f2227;
}
html[data-theme="dark"] .photo-viewer-close {
  border: none;
  background: rgba(31, 34, 39, 0.15);
  color: #ffffff;
}
html[data-theme="dark"] .photo-viewer-close:hover {
  background: rgba(31, 34, 39, 0.3);
}
html[data-theme="dark"] .photo-viewer-nav {
  border: none;
  background: rgba(0, 0, 0, 0.54);
  color: #ffffff;
}
html[data-theme="dark"] .photo-viewer-nav:hover {
  background: rgba(31, 34, 39, 0.3);
}
html[data-theme="dark"] .photo-viewer-count {
  color: rgba(255, 255, 255, 0.8);
}
html[data-theme="dark"] .photo-viewer-btn {
  background: rgba(31, 34, 39, 0.15);
  color: #ffffff;
}
html[data-theme="dark"] .photo-viewer-btn:hover {
  background: rgba(31, 34, 39, 0.28);
}
html[data-theme="dark"] .chat-audio-play {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
@media (hover: hover) {
html[data-theme="dark"] .chat-audio-play:hover {
  background: #1765cc;
}
}
html[data-theme="dark"] .chat-audio-play:active {
  background: #1765cc;
}
html[data-theme="dark"] .chat-audio-play:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .chat-audio-play .loading-circle {
  border-color: rgba(31, 34, 39, 0.4);
  border-top-color: #1f2227;
}
html[data-theme="dark"] .chat-audio-seek {
  accent-color: #1a73e8;
}
html[data-theme="dark"] .chat-audio-time {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-audio-speed {
  border: 1px solid #213656;
  background: rgba(31, 34, 39, 0.6);
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-audio-speed.is-fast {
  border-color: #1a73e8;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .chat-audio-speed:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .chat-audio-msg {
  color: #e07d7b;
}
html[data-theme="dark"] .chat-video {
  background: #353941;
}
html[data-theme="dark"] .chat-video-play {
  border: none;
  background: rgba(0, 0, 0, 0.66);
  color: #ffffff;
}
html[data-theme="dark"] .chat-video:hover .chat-video-play {
  background: rgba(0, 0, 0, 0.84);
}
html[data-theme="dark"] .video-viewer-player,
html[data-theme="dark"] .video-viewer-poster {
  background: #3a3f47;
}
html[data-theme="dark"] .video-viewer-msg {
  background: rgba(31, 34, 39, 0.12);
  color: #ffffff;
}
html[data-theme="dark"] .chat-transcribe-btn {
  border: 1px solid #213656;
  background: rgba(31, 34, 39, 0.6);
  color: #75a6e6;
}
html[data-theme="dark"] .chat-transcribe-btn:hover:not(:disabled) {
  background: #1a2a46;
}
html[data-theme="dark"] .chat-transcribe-btn:disabled {
  color: #a8acb3;
  border-color: #373c43;
}
html[data-theme="dark"] .chat-transcript-loading {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-typing-dots span {
  background: #1a73e8;
}
html[data-theme="dark"] .chat-transcript-skeleton span {
  background: linear-gradient(90deg, #292d33 25%, #191c20 50%, #292d33 75%);
}
html[data-theme="dark"] .chat-transcript-text {
  color: #cbced1;
}
html[data-theme="dark"] .chat-transcript-error {
  color: #e07d7b;
}
html[data-theme="dark"] .chat-audio.is-saved .chat-audio-time::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23188038' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme="dark"] .settings-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme="dark"] .settings-modal-content::-webkit-scrollbar-thumb {
  background: #32363d;
}
html[data-theme="dark"] .settings-modal-content::-webkit-scrollbar-thumb:hover {
  background: #3c4148;
}
@supports not selector(::-webkit-scrollbar) {
html[data-theme="dark"] .settings-modal-content {
  scrollbar-color: #32363d transparent;
}
}
html[data-theme="dark"] .settings-section + .settings-section {
  border-top: 1px solid #22252b;
}
html[data-theme="dark"] .settings-item {
  border: none;
  background: none;
  color: #dbdddf;
}
html[data-theme="dark"] .settings-item:hover {
  background: #1a1d21;
}
html[data-theme="dark"] .settings-item-danger {
  color: #e29692;
}
html[data-theme="dark"] .settings-item-danger:hover {
  background: #461f1a;
}
html[data-theme="dark"] .settings-version {
  color: #a7adb4;
}
html[data-theme="dark"] .whatsnew-lang-note {
  color: #a7adb4;
}
html[data-theme="dark"] .whatsnew-version + .whatsnew-version {
  border-top: 1px solid #22252b;
}
html[data-theme="dark"] .whatsnew-toggle {
  border: 0;
  background: none;
  color: inherit;
}
html[data-theme="dark"] .whatsnew-plus {
  border: 1px solid #373c43;
  color: #b8bdc3;
}
html[data-theme="dark"] .whatsnew-toggle:hover .whatsnew-plus {
  background: #191c20;
}
html[data-theme="dark"] .whatsnew-date {
  color: #a7adb4;
}
html[data-theme="dark"] .whatsnew-meta {
  color: #a7adb4;
}
html[data-theme="dark"] .whatsnew-group h5 {
  color: #b8bdc3;
}
html[data-theme="dark"] .whatsnew-group li {
  color: #dbdddf;
}
html[data-theme="dark"] .settings-summary-value {
  color: #b8bdc3;
}
html[data-theme="dark"] .settings-collapsible > summary::after {
  border-right: 2px solid #57606a;
  border-bottom: 2px solid #57606a;
}
html[data-theme="dark"] .settings-hint {
  color: #b8bdc3;
}
html[data-theme="dark"] .settings-toggle {
  border-top: 1px solid #22252b;
}
html[data-theme="dark"] .settings-toggle input {
  accent-color: #1a73e8;
}
html[data-theme="dark"] .settings-toggle + .settings-hint {
  border-top: 1px solid #22252b;
}
html[data-theme="dark"] .settings-usage {
  color: #d8dadd;
}
html[data-theme="dark"] .chat-file-size {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-reply {
  border: none;
  border-left: 3px solid #1a73e8;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
}
html[data-theme="dark"] .chat-sent .chat-reply {
  border-left-color: #188038;
}
html[data-theme="dark"] .chat-reply-author {
  color: #75a6e6;
}
html[data-theme="dark"] .chat-sent .chat-reply-author {
  color: #b7ecc7;
}
html[data-theme="dark"] .chat-reply-text {
  color: #b8bdc3;
}
html[data-theme="dark"] .view-nav {
  background: #1f2227;
  border-color: #30343b;
}
html[data-theme="dark"] .view-nav-btn {
  border: none;
  background: none;
  color: #b8bdc3;
}
html[data-theme="dark"] .view-nav-btn[aria-current="page"] {
  color: #75a6e6;
  background: rgba(26, 115, 232, 0.12);
}
@media (hover: hover) {
html[data-theme="dark"] .view-nav-btn:hover {
  color: #75a6e6;
}
}
@media (min-width: 641px) {
html[data-theme="dark"] .topbar {
  background: transparent;
  border: none;
}
}
html[data-theme="dark"] .view-nav-badge {
  background: #2f9ae0;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.77), 0 1px 3px rgba(0, 0, 0, 0.61);
}
html[data-theme="dark"] .fab {
  border: none;
  background: #1a73e8;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .fab:hover {
  background: #1558b0;
}
html[data-theme="dark"] .fab:focus-visible {
  outline: 3px solid #264873;
}
html[data-theme="dark"] .shop-tabs {
  background: #1a1d21;
}
html[data-theme="dark"] .shop-tab {
  border: none;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-tab:hover {
  color: #dbdddf;
}
html[data-theme="dark"] .shop-tab[aria-selected="true"] {
  background: #1f2227;
  color: #75a6e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .shop-tab:focus-visible {
  outline: 2px solid #1a73e8;
}
html[data-theme="dark"] .shop-intro,
html[data-theme="dark"] .shop-muted {
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-card {
  border: 1px solid #30343b;
}
html[data-theme="dark"] .shop-card.current {
  border-color: #1a73e8;
  background: rgba(26, 115, 232, 0.06);
}
html[data-theme="dark"] .shop-icon {
  color: #75a6e6;
}
html[data-theme="dark"] .shop-card-title {
  color: #dbdddf;
}
html[data-theme="dark"] .shop-desc {
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-price {
  color: #75a6e6;
}
html[data-theme="dark"] .shop-features {
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-current-label {
  color: #8eb5e9;
}
html[data-theme="dark"] .shop-qty {
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-qty-input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .shop-buy {
  background: #1a73e8;
  color: #ffffff;
  border: none;
}
html[data-theme="dark"] .shop-buy:hover {
  background: #1558b0;
}
html[data-theme="dark"] .shop-buy:disabled {
  background: #30343b;
  color: #a8acb3;
}
html[data-theme="dark"] .shop-field {
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-field select,
html[data-theme="dark"] .shop-field textarea {
  border: 1px solid #353941;
  color: #dbdddf;
  background: #1f2227;
}
html[data-theme="dark"] .shop-request {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .shop-request-kind,
html[data-theme="dark"] .shop-request-date {
  color: #a8acb3;
}
html[data-theme="dark"] .shop-request-title {
  color: #dbdddf;
}
html[data-theme="dark"] .shop-badge-pending {
  background: #4b3e1c;
  color: #f9e3b8;
}
html[data-theme="dark"] .shop-badge-approved {
  background: #1c4a29;
  color: #b7ebc6;
}
html[data-theme="dark"] .shop-badge-rejected {
  background: #461f1a;
  color: #e29692;
}
html[data-theme="dark"] .shop-badge-cancelled {
  background: #1a1d21;
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-cancel {
  border: none;
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .shop-cancel:hover {
  background: #383c44;
}
html[data-theme="dark"] .chat-broadcast {
  color: #b8bdc3;
}
@media (min-width: 901px) {
html[data-theme="dark"] .friend-pane-empty {
  color: #b8bdc3;
}
html[data-theme="dark"] .friend-pane .friend-info-modal-content {
  background: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .friend-pane .friend-info-header {
  background: linear-gradient(160deg, rgba(30, 56, 79, 0.9), rgba(31, 34, 39, 0.85));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .friend-pane .friend-info-header .friend-avatar {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .friend-pane .friend-info-header h3 {
  color: #dbdddf;
}
html[data-theme="dark"] .friend-pane .friend-info-details {
  background: rgba(31, 34, 39, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .friend-pane .friend-info-details dt,
html[data-theme="dark"] .friend-pane .friend-info-details dd {
  border-top: 1px solid #1e2126;
}
html[data-theme="dark"] .friend-pane .friend-info-details dt:first-of-type,
html[data-theme="dark"] .friend-pane .friend-info-details dt:first-of-type + dd {
  border-top: none;
}
html[data-theme="dark"] .friend-pane .friend-info-details dt {
  color: #a7adb4;
}
html[data-theme="dark"] .friend-pane .friend-info-details dd {
  color: #dbdddf;
}
html[data-theme="dark"] .friend-pane .friend-info-details .email-date {
  color: #a7adb4;
}
html[data-theme="dark"] .friend-pane .friend-info-albums a {
  background: #1a2a46;
}
html[data-theme="dark"] .chat-pane-empty {
  color: #b8bdc3;
}
html[data-theme="dark"] .chat-pane .chat-modal-content {
  background: transparent;
}
html[data-theme="dark"] .chat-enabled .friend-summary-list li.chat-active:not(.empty):not(.skeleton-row),
html[data-theme="dark"] .chat-enabled .friend-summary-list li.chat-active:not(.empty):not(.skeleton-row):hover {
  background: #1a2a46;
}
}
html[data-theme="dark"] .chat-read-more {
  border: none;
  background: none;
  color: #75a6e6;
}
html[data-theme="dark"] .friends-group-extra {
  color: #a8acb3;
}
html[data-theme="dark"] .lastsent-subject {
  color: inherit;
}
html[data-theme="dark"] .lastsent-reaction {
  background: #1f2227;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .friend-summary-list .email-subject-row {
  color: #a8acb3;
}
html[data-theme="dark"] .summary-count {
  color: #b8bdc3;
}
html[data-theme="dark"] .summary-broadcast {
  color: #b8bdc3;
}
html[data-theme="dark"] .game-card {
  border: 1px solid #30343b;
  background: #1f2227;
  color: inherit;
}
html[data-theme="dark"] .game-card:hover {
  background: #1a1d21;
  border-color: #373c43;
}
html[data-theme="dark"] .game-card-icon {
  color: #75a6e6;
}
html[data-theme="dark"] .game-card-text strong {
  color: #dbdddf;
}
html[data-theme="dark"] .game-card-text small {
  color: #b8bdc3;
}
html[data-theme="dark"] .sil-score {
  color: #b8bdc3;
}
html[data-theme="dark"] .sil-score strong {
  color: #dbdddf;
}
html[data-theme="dark"] .sil-stage {
  background: #1a1d21;
}
html[data-theme="dark"] #sil-shape {
  fill: #75a6e6;
}
html[data-theme="dark"] #sil-svg.is-right #sil-shape {
  fill: #9be4ba;
}
html[data-theme="dark"] #sil-svg.is-wrong #sil-shape {
  fill: #e29692;
}
html[data-theme="dark"] .sil-loading {
  color: #b8bdc3;
}
html[data-theme="dark"] .sil-hint {
  background: #483d1b;
  color: #fcf2d5;
}
html[data-theme="dark"] .sil-msg {
  color: #b8bdc3;
}
html[data-theme="dark"] .sil-msg.is-right {
  color: #9be4ba;
}
html[data-theme="dark"] .sil-msg.is-wrong {
  color: #e29692;
}
html[data-theme="dark"] .sil-suggest {
  border: 1px solid #30343b;
  background: #1f2227;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .sil-suggest li {
  color: #dbdddf;
}
html[data-theme="dark"] .sil-suggest li[aria-selected="true"],
html[data-theme="dark"] .sil-suggest li:hover {
  background: #1a2a46;
  color: #8eb5e9;
}
html[data-theme="dark"] .sil-form input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .sil-form input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
html[data-theme="dark"] .sil-form button {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .sil-form button:hover:not(:disabled) {
  background: #1558b0;
}
html[data-theme="dark"] .sil-secondary {
  border: none;
  background: #30343b;
  color: #b8bdc3;
}
html[data-theme="dark"] .sil-secondary:hover:not(:disabled) {
  background: #383c44;
}
html[data-theme="dark"] .jar-click.sil-next {
  background: #1a73e8;
}
html[data-theme="dark"] .jar-click.sil-next:hover {
  background: #1558b0;
}
html[data-theme="dark"] .sil-end-title {
  color: #dbdddf;
}
html[data-theme="dark"] .sil-end-best {
  color: #b8bdc3;
}
html[data-theme="dark"] .apo-frame {
  background: #1a1d21;
}
html[data-theme="dark"] #flg-photo {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .apo-credit {
  color: #a8acb3;
}
html[data-theme="dark"] .apo-credit a {
  color: inherit;
}
html[data-theme="dark"] .apo-option {
  border: 1px solid #353941;
  background: #1f2227;
  color: #dbdddf;
}
html[data-theme="dark"] .apo-option:hover:not(:disabled) {
  border-color: #1a73e8;
  background: #1a2a46;
}
html[data-theme="dark"] .apo-option.is-right {
  border-color: #1f9d55;
  background: #202429;
  color: #c6f0d8;
}
html[data-theme="dark"] .apo-option.is-wrong {
  border-color: #a8271f;
  background: #461f1a;
  color: #e29692;
}
html[data-theme="dark"] .jar-back {
  border: none;
  background: none;
  color: #b8bdc3;
}
html[data-theme="dark"] .jar-back:hover {
  color: #dbdddf;
}
html[data-theme="dark"] .jar-heart {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.29));
}
html[data-theme="dark"] .jar-full {
  color: #75a6e6;
}
html[data-theme="dark"] .jar-click {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .jar-click:hover {
  background: #1558b0;
}
html[data-theme="dark"] .jar-send-open {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .jar-send-open:hover:not(:disabled) {
  background: #1558b0;
}
html[data-theme="dark"] .jar-send {
  background: #1f2227;
}
html[data-theme="dark"] .jar-send-label {
  color: #b8bdc3;
}
html[data-theme="dark"] .jar-send-friends {
  border: 1px solid #30343b;
}
html[data-theme="dark"] .jar-send-friend + .jar-send-friend {
  border-top: 1px solid #1d1f24;
}
html[data-theme="dark"] .jar-send-friend:hover {
  background: #1a1d21;
}
html[data-theme="dark"] .jar-send-friend input {
  accent-color: #1a73e8;
}
html[data-theme="dark"] .jar-send-friend small {
  color: #a8acb3;
}
html[data-theme="dark"] .jar-send-search {
  border: 1px solid #383d44;
}
html[data-theme="dark"] .jar-send-search:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
html[data-theme="dark"] .jar-send-empty {
  color: #a8acb3;
}
html[data-theme="dark"] .jar-mode {
  background: #1a1d21;
}
html[data-theme="dark"] .jar-mode button {
  border: none;
  background: none;
  color: #b8bdc3;
}
html[data-theme="dark"] .jar-mode button:hover {
  color: #dbdddf;
}
html[data-theme="dark"] .jar-mode button[aria-pressed="true"] {
  background: #1f2227;
  color: #75a6e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .wrd-len {
  color: #b8bdc3;
}
html[data-theme="dark"] .wrd-cell {
  border: 2px solid #353941;
  background: #1f2227;
  color: #dbdddf;
}
html[data-theme="dark"] .wrd-cell.is-filled {
  border-color: #8b949e;
}
html[data-theme="dark"] .wrd-cell.is-right,
html[data-theme="dark"] .wrd-cell.is-near,
html[data-theme="dark"] .wrd-cell.is-miss {
  color: #ffffff;
}
html[data-theme="dark"] .wrd-cell.is-right {
  border-color: #1f9d55;
  background: #1f9d55;
}
html[data-theme="dark"] .wrd-cell.is-near {
  border-color: #d4a017;
  background: #d4a017;
}
html[data-theme="dark"] .wrd-cell.is-miss {
  border-color: #8b949e;
  background: #8b949e;
}
html[data-theme="dark"] .wrd-guide {
  color: #75a6e6;
}
html[data-theme="dark"] .wrd-key {
  border: none;
  background: #282c31;
  color: #dbdddf;
}
html[data-theme="dark"] .wrd-key[data-key="⏎"] {
  background: #343940;
  color: #ffffff;
}
html[data-theme="dark"] .wrd-key.is-right {
  background: #1f9d55;
  color: #ffffff;
}
html[data-theme="dark"] .wrd-key.is-near {
  background: #d4a017;
  color: #ffffff;
}
html[data-theme="dark"] .wrd-key.is-miss {
  background: #8b949e;
  color: #ffffff;
}
html[data-theme="dark"] .settings-lang-btn {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #dbdddf;
}
html[data-theme="dark"] .settings-lang-btn:hover {
  background: #1a1d21;
}
html[data-theme="dark"] .settings-lang-btn[aria-pressed="true"] {
  border-color: #1a73e8;
  background: #1a2a46;
  color: #75a6e6;
}
html[data-theme="dark"] .settings-subtitle {
  color: #b8bdc3;
}
html[data-theme="dark"] .settings-subtitle .menu-icon {
  color: #75a6e6;
}
html[data-theme="dark"] .settings-wallpaper-swatch {
  border: 1px solid #373c43;
}
html[data-theme="dark"] .settings-wallpaper-swatch[aria-pressed="true"] {
  outline: 3px solid #1a73e8;
}
html[data-theme="dark"] .settings-wallpaper-swatch:focus-visible {
  outline: 3px solid #1a73e8;
}
html[data-theme="dark"] .wp-plane-color {
  border: 2px solid #1f2227;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .wp-plane-color[aria-pressed="true"],
html[data-theme="dark"] .wp-plane-color:focus-visible {
  box-shadow: 0 0 0 3px #1a73e8;
}
html[data-theme="dark"] .wallpaper-preview {
  border: 1px solid #373c43;
}
html[data-theme="dark"] .wallpaper-preview-bubble {
  color: #dbdddf;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .wallpaper-preview-bubble.is-in {
  background: #1f2227;
}
html[data-theme="dark"] .wallpaper-preview-bubble.is-out {
  background: #244c1d;
}
html[data-theme="dark"] .wallpaper-confirm {
  background: #1a2a46;
}
html[data-theme="dark"] .wallpaper-confirm span {
  color: #dbdddf;
}
html[data-theme="dark"] .settings-wallpaper-swatch.is-general {
  color: #dbdddf;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .settings-wallpaper-swatch.wp-pick {
  border: 1.5px dashed #9aa4af;
  background: #1f2227;
  color: #abb3ba;
}
html[data-theme="dark"] .settings-wallpaper-swatch.wp-pick:hover {
  border-color: #1a73e8;
  color: #75a6e6;
}
html[data-theme="dark"] .login-lang button {
  border: none;
  background: none;
  color: #b8bdc3;
}
html[data-theme="dark"] .login-lang button[aria-pressed="true"] {
  color: #75a6e6;
}
html[data-theme="dark"] .icon-flame {
  color: #ec8c6f;
  fill: #ffb74d;
}
html[data-theme="dark"] .icon-heart {
  color: #e6749b;
  fill: #f06292;
}
html[data-theme="dark"] .icon-coin {
  color: #efd18a;
  fill: #ecca6f;
}
html[data-theme="dark"] .icon-trophy {
  color: #f3cc68;
}
html[data-theme="dark"] .icon-bulb {
  color: #f3cc68;
}
html[data-theme="dark"] .icon-hand {
  color: #e2b878;
}
html[data-theme="dark"] .icon-check {
  color: #b7ecc7;
}
html[data-theme="dark"] .menu-icon {
  color: #a7adb4;
}
html[data-theme="dark"] .settings-section h4 .menu-icon {
  color: #75a6e6;
}
html[data-theme="dark"] .settings-item-danger .menu-icon {
  color: inherit;
}
html[data-theme="dark"] .profile-mission-empty {
  color: #a8acb3;
}
html[data-theme="dark"] .profile-mission input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .panel[data-section] {
  background: transparent;
  border-color: transparent;
}
html[data-theme="dark"] .friend-summary-list li:not(.empty) {
  border: none;
  background: rgba(31, 34, 39, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .friend-summary-list .friend-summary-avatar .friend-avatar {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .friend-summary-list .friend-summary-name {
  color: #dbdddf;
}
html[data-theme="dark"] .chat-enabled .friend-summary-list li:not(.empty):not(.skeleton-row):hover {
  background: rgba(31, 34, 39, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .friend-summary-list li:not(.empty):not(.skeleton-row):has(.email-unread) {
  background: rgba(31, 54, 81, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178), inset 0 0 0 1px rgba(110, 165, 240, 0.75);
}
html[data-theme="dark"] .chat-enabled .friend-summary-list li:not(.empty):not(.skeleton-row):has(.email-unread):hover {
  background: #203855;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242), inset 0 0 0 1px rgba(110, 165, 240, 0.85);
}
html[data-theme="dark"] .chat-enabled .friend-summary-list li.chat-active:not(.empty):not(.skeleton-row),
html[data-theme="dark"] .chat-enabled .friend-summary-list li.chat-active:not(.empty):not(.skeleton-row):hover {
  background: linear-gradient(160deg, rgba(30, 56, 79, 0.9), rgba(31, 34, 39, 0.85));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178), inset 0 0 0 1px rgba(174, 203, 250, 0.7);
}
html[data-theme="dark"] .friends-group-friend {
  background: rgba(31, 34, 39, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
  color: #dbdddf;
}
html[data-theme="dark"] .friends-group-text .friends-group-sub {
  color: #a8acb3;
}
html[data-theme="dark"] .friends-group-friend .friend-avatar {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .friends-group-friend:hover {
  background: rgba(31, 34, 39, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .friends-group-friend.friend-active,
html[data-theme="dark"] .friends-group-friend.friend-active:hover {
  background: linear-gradient(160deg, rgba(30, 56, 79, 0.9), rgba(31, 34, 39, 0.85));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178), inset 0 0 0 1px rgba(174, 203, 250, 0.7);
}
html[data-theme="dark"] .album-card,
html[data-theme="dark"] .album-card-skeleton {
  border: none;
  background: rgba(31, 34, 39, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] a.album-card:hover {
  background: rgba(31, 34, 39, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .album-card:has(.album-changed) {
  background: rgba(31, 54, 81, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178), inset 0 0 0 1px rgba(110, 165, 240, 0.75);
}
html[data-theme="dark"] a.album-card:has(.album-changed):hover {
  background: #203855;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242), inset 0 0 0 1px rgba(110, 165, 240, 0.85);
}
html[data-theme="dark"] .album-card .album-title,
html[data-theme="dark"] .album-card-skeleton .album-title {
  color: #dbdddf;
}
html[data-theme="dark"] .friends-map {
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .friends-map-pin .friend-avatar {
  border: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.53);
}
html[data-theme="dark"] .friends-map-pin:focus-visible .friend-avatar {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 0 0 5px #1a73e8;
}
html[data-theme="dark"] .friends-map-popup {
  background: rgba(31, 34, 39, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .crop-modal .friend-info-modal-content {
  background: #17191d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .crop-modal .friend-info-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme="dark"] .crop-modal .friend-info-modal-content::-webkit-scrollbar-thumb {
  background: #32363d;
  border: none;
}
html[data-theme="dark"] .crop-modal .friend-info-modal-content::-webkit-scrollbar-thumb:hover {
  background: #3c4148;
}
@supports not selector(::-webkit-scrollbar) {
html[data-theme="dark"] .crop-modal .friend-info-modal-content {
  scrollbar-color: #32363d transparent;
}
}
html[data-theme="dark"] .crop-modal .friend-info-header {
  background: linear-gradient(160deg, rgba(30, 56, 79, 0.9), rgba(31, 34, 39, 0.85));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .crop-modal .friend-info-header .friend-avatar {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.29);
}
html[data-theme="dark"] .crop-modal .friend-info-header h3 {
  color: #dbdddf;
}
html[data-theme="dark"] .crop-modal .friend-info-details {
  background: #1f2227;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] .crop-modal .friend-info-details dt,
html[data-theme="dark"] .crop-modal .friend-info-details dd {
  border-top: 1px solid #1e2126;
}
html[data-theme="dark"] .crop-modal .friend-info-details dt:first-of-type,
html[data-theme="dark"] .crop-modal .friend-info-details dt:first-of-type + dd {
  border-top: none;
}
html[data-theme="dark"] .crop-modal .friend-info-details dt {
  color: #a7adb4;
}
html[data-theme="dark"] .crop-modal .friend-info-details dd {
  color: #dbdddf;
}
html[data-theme="dark"] .crop-modal .friend-info-details .email-date {
  color: #a7adb4;
}
html[data-theme="dark"] .crop-modal .friend-info-albums a {
  background: #1a2a46;
}
@media (max-width: 400px) {
html[data-theme="dark"] .crop-modal .friend-info-details dd {
  border-top: none;
}
}
html[data-theme="dark"] .ptr-indicator {
  background: #1f2227;
  color: #b8bdc3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .ptr-indicator.ready {
  color: #75a6e6;
}
@media (max-width: 900px) {
html[data-theme="dark"] body.chat-open[data-view="gmail"] .chat-pane {
  border: none;
}
html[data-theme="dark"] body.chat-open[data-view="gmail"] .chat-pane .chat-list-wrap::before {
  background: var(--chat-bg, #1d374d);
}
html[data-theme="dark"][data-theme="dark"] body.chat-open[data-view="gmail"] .chat-pane .chat-list-wrap::before {
  background: var(--chat-bg, #1d374d);
}
html[data-theme="dark"] body.chat-open[data-view="gmail"] .chat-pane .chat-list {
  background: transparent;
}
html[data-theme="dark"] .chat-pane .chat-modal-content {
  background: transparent;
}
html[data-theme="dark"] .chat-back-btn {
  border: none;
  background: transparent;
  color: #d8dadd;
}
html[data-theme="dark"] .chat-back-btn:active {
  background: #1b1e23;
}
}
html[data-theme="dark"] .pull-refresh {
  background: #1f2227;
  color: #a8acb3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.37);
}
html[data-theme="dark"] .pull-refresh.is-ready,
html[data-theme="dark"] .pull-refresh.is-loading {
  color: #75a6e6;
}
html[data-theme="dark"] .mic-denied-btn {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
html[data-theme="dark"] .text-format {
  border: 1px solid #373c43;
  background: #1f2227;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.338);
}
html[data-theme="dark"] .text-format-sub {
  border-top: 1px solid #282c31;
}
html[data-theme="dark"] .text-format-menu .text-format-sub {
  background: #1f2227;
}
html[data-theme="dark"] .text-format-item {
  border: none;
  background: transparent;
  color: #dbdddf;
}
html[data-theme="dark"] .text-format-item:not(:disabled):hover,
html[data-theme="dark"] .text-format-item:focus-visible,
html[data-theme="dark"] .text-format-item:not(:disabled):active,
html[data-theme="dark"] .text-format-open .text-format-txt {
  background: #1a1d21;
  outline: none;
}
html[data-theme="dark"] .text-format-glyph {
  color: #a7adb4;
}
html[data-theme="dark"] .text-format-bar .text-format-glyph {
  color: #dbdddf;
}
html[data-theme="dark"] .text-format-caret {
  color: #a7adb4;
}
html[data-theme="dark"] .admin-badge {
  color: #8eb5e9;
  background: #181a1e;
}
html[data-theme="dark"] .admin-badge.is-admin {
  color: #ab90cc;
  background: #1a1d21;
}
html[data-theme="dark"] .admin-badge.is-pending {
  color: #f9e3b8;
  background: #4b3e1c;
}
html[data-theme="dark"] .admin-badge.is-approved,
html[data-theme="dark"] .admin-badge.is-resolved {
  color: #b7ebc6;
  background: #202429;
}
html[data-theme="dark"] .admin-badge.is-rejected,
html[data-theme="dark"] .admin-badge.is-bug {
  color: #e29692;
  background: #461f1a;
}
html[data-theme="dark"] .admin-badge.is-cancelled,
html[data-theme="dark"] .admin-badge.is-other {
  color: #b8bdc3;
  background: #1e2126;
}
html[data-theme="dark"] .admin-badge.is-open {
  color: #f9e3b8;
  background: #4b3e1c;
}
html[data-theme="dark"] .admin-back-link {
  background: #1e2126;
  color: #dbdddf;
}
html[data-theme="dark"] .admin-back-link:hover {
  background: #30343b;
}
html[data-theme="dark"] .admin-body .topbar {
  background: #1f2227;
  border-bottom: 1px solid #30343b;
}
html[data-theme="dark"] .admin-page-status {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .admin-tabs {
  background: #22252b;
}
html[data-theme="dark"] .admin-tab {
  color: #b8bdc3;
}
html[data-theme="dark"] .admin-tab:hover {
  color: #dbdddf;
}
html[data-theme="dark"] .admin-tab.active {
  background: #1f2227;
  color: #dbdddf;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.21);
}
html[data-theme="dark"] .admin-tab-count {
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .admin-search,
html[data-theme="dark"] .admin-select {
  border: 1px solid #353941;
  background: #1f2227;
  color: #dbdddf;
}
html[data-theme="dark"] .admin-search:focus,
html[data-theme="dark"] .admin-select:focus,
html[data-theme="dark"] .admin-reset-form input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
html[data-theme="dark"] .admin-empty {
  color: #a8acb3;
}
html[data-theme="dark"] .admin-row {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .admin-row:hover {
  border-color: #353941;
}
html[data-theme="dark"] .admin-avatar {
  background: #1f2227;
  color: #8eb5e9;
}
html[data-theme="dark"] .admin-meta {
  color: #b8bdc3;
}
html[data-theme="dark"] .admin-user-agent {
  color: #a8acb3;
}
html[data-theme="dark"] .admin-note {
  background: #17191d;
  color: #dbdddf;
}
html[data-theme="dark"] .admin-btn {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .admin-btn:hover {
  background: #1558b0;
}
html[data-theme="dark"] .admin-btn.secondary {
  background: #1e2126;
  color: #dbdddf;
}
html[data-theme="dark"] .admin-btn.secondary:hover,
html[data-theme="dark"] .admin-btn.secondary.active {
  background: #30343b;
}
html[data-theme="dark"] .admin-btn.danger {
  background: #461f1a;
  color: #e29692;
}
html[data-theme="dark"] .admin-btn.danger:hover {
  background: #4e221d;
}
html[data-theme="dark"] .admin-reset-form input {
  border: 1px solid #353941;
}
html[data-theme="dark"] .admin-badge.is-support {
  color: #c7f3f5;
  background: #1c474a;
}
html[data-theme="dark"] .traffic-kpi {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .traffic-kpi-value {
  color: #dbdddf;
}
html[data-theme="dark"] .traffic-kpi-label {
  color: #b8bdc3;
}
html[data-theme="dark"] .traffic-kpi.is-warn {
  border-color: #735e26;
  background: #453a1a;
}
html[data-theme="dark"] .traffic-kpi.is-warn .traffic-kpi-value {
  color: #f9e3b8;
}
html[data-theme="dark"] .traffic-kpi.is-bad {
  border-color: #592722;
  background: #1f2227;
}
html[data-theme="dark"] .traffic-kpi.is-bad .traffic-kpi-value {
  color: #e29692;
}
html[data-theme="dark"] .traffic-chart {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .traffic-bar-bg {
  fill: transparent;
}
html[data-theme="dark"] .traffic-chart g:hover .traffic-bar-bg {
  fill: #f2f4f7;
}
html[data-theme="dark"] .traffic-bar {
  fill: #75a6e6;
}
html[data-theme="dark"] .traffic-bar-err {
  fill: #df827c;
}
html[data-theme="dark"] .traffic-top-bar {
  border: none;
  background: #1e2126;
}
html[data-theme="dark"] .traffic-top-bar::-webkit-progress-bar {
  background: #1e2126;
}
html[data-theme="dark"] .traffic-top-bar::-webkit-progress-value {
  background: #1a73e8;
}
html[data-theme="dark"] .traffic-top-bar::-moz-progress-bar {
  background: #1a73e8;
}
html[data-theme="dark"] .traffic-mini-btn {
  border: none;
  background: #461f1a;
  color: #e29692;
}
html[data-theme="dark"] .traffic-mini-btn:hover {
  background: #4e221d;
}
html[data-theme="dark"] .traffic-table-wrap {
  border: 1px solid #1e2126;
}
html[data-theme="dark"] .traffic-table th,
html[data-theme="dark"] .traffic-table td {
  border-bottom: 1px solid #191c20;
}
html[data-theme="dark"] .traffic-table th {
  background: #17191d;
  color: #b8bdc3;
}
html[data-theme="dark"] .traffic-status {
  color: #b7ebc6;
}
html[data-theme="dark"] .traffic-status.is-4xx {
  color: #f9e3b8;
}
html[data-theme="dark"] .traffic-status.is-429 {
  color: #f6c492;
}
html[data-theme="dark"] .traffic-status.is-5xx {
  color: #e29692;
}
html[data-theme="dark"] .traffic-slow {
  color: #e29692;
}
html[data-theme="dark"] #settings-modal .settings-modal-content {
  background: #17191d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] #settings-modal .settings-modal-content > h3 {
  color: #dbdddf;
}
html[data-theme="dark"] #settings-modal .settings-section {
  border: none;
  background: #1f2227;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.178);
}
html[data-theme="dark"] #settings-modal .settings-section + .settings-section {
  border-top: none;
}
html[data-theme="dark"] #settings-modal .settings-collapsible:not([open]):hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] #settings-modal .settings-section h4 .menu-icon {
  background: #1a2a46;
  color: #75a6e6;
}
html[data-theme="dark"] #settings-modal .settings-toggle {
  border-top-color: #1e2126;
}
html[data-theme="dark"] #settings-modal .settings-toggle + .settings-hint {
  border-top-color: #1e2126;
}
html[data-theme="dark"] #settings-modal .settings-item:hover {
  background: #17191d;
}
html[data-theme="dark"] #settings-modal .settings-item-danger:hover {
  background: #461f1a;
}
html[data-theme="dark"][data-bubble-color]:not([data-bubble-color="default"]) .chat-sent,
html[data-theme="dark"][data-bubble-color]:not([data-bubble-color="default"]) .wallpaper-preview-bubble.is-out {
  background: var(--my-bubble);
}
html[data-theme="dark"] .bubble-color-swatch {
  border: 1px solid #373c43;
  background: var(--my-bubble);
}
html[data-theme="dark"] .bubble-color-swatch[aria-pressed="true"],
html[data-theme="dark"] .bubble-color-swatch:focus-visible {
  outline: 3px solid #1a73e8;
}
html[data-theme="dark"] .bubble-color-swatches.is-locked .bubble-color-swatch[aria-pressed="true"] {
  outline: none;
}
html[data-theme="dark"][data-page-bg]:not([data-page-bg="default"]) body {
  background: var(--page-bg);
}
html[data-theme="dark"] .brand-logo-tint {
  background: var(--logo-color, #4aa8e0);
}
html[data-theme="dark"] .page-bg-swatch {
  background: var(--page-bg);
}
html[data-theme="dark"] .logo-color-swatch {
  background: var(--logo-color);
}
html[data-theme="dark"] .pin-lock {
  background: #17191d;
}
html[data-theme="dark"] .pin-lock-card {
  background: #1f2227;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.242);
}
html[data-theme="dark"] .pin-lock-card h3 {
  color: #dbdddf;
}
html[data-theme="dark"] .pin-lock-card input,
html[data-theme="dark"] .pin-settings-form input {
  border: 1px solid #373c43;
  background: #1f2227;
  color: #dbdddf;
}
html[data-theme="dark"] .pin-lock-error {
  color: #e29692;
}
html[data-theme="dark"] #pin-lock-submit {
  border: none;
  background: #1a73e8;
  color: #ffffff;
}
html[data-theme="dark"] .pin-lock-forgot {
  border: none;
  background: transparent;
  color: #b8bdc3;
}
html[data-theme="dark"] .pin-settings-form .settings-hint {
  color: #e29692;
}
html[data-theme="dark"] input[type="checkbox"] {
  border: 2px solid #646c75;
  background: #1f2227 center / 12px 12px no-repeat;
}
html[data-theme="dark"] input[type="checkbox"]:hover:not(:disabled) {
  border-color: #1a73e8;
}
html[data-theme="dark"] input[type="checkbox"]:checked {
  border-color: #1a73e8;
  background-color: #1a73e8;
}
html[data-theme="dark"] input[type="checkbox"]:focus-visible {
  outline: 2px solid #1a73e8;
}

/* Retoques a mano del modo oscuro: se agregan al final de frontend/dark.css
   al correr scripts/gen_dark_css.py. */

/* Mapa de fondo: continentes oscuros (world-map-dark.svg es world-map.svg
   con otro fill) sobre un mar un poco más oscuro. */
html[data-theme="dark"] body.home-page::before {
  background-color: #15222f;
  background-image: url("world-map-dark.svg");
}

/* Color de fondo de la página (Configuración → Estilos): tonos oscuros. */
html[data-theme="dark"] [data-page-bg="default"],
html[data-theme="dark"][data-page-bg="default"] { --page-bg: #17191d; }
html[data-theme="dark"] [data-page-bg="blue"],
html[data-theme="dark"][data-page-bg="blue"] { --page-bg: #141c2a; }
html[data-theme="dark"] [data-page-bg="green"],
html[data-theme="dark"][data-page-bg="green"] { --page-bg: #141e17; }
html[data-theme="dark"] [data-page-bg="teal"],
html[data-theme="dark"][data-page-bg="teal"] { --page-bg: #121d1c; }
html[data-theme="dark"] [data-page-bg="purple"],
html[data-theme="dark"][data-page-bg="purple"] { --page-bg: #1b1725; }
html[data-theme="dark"] [data-page-bg="pink"],
html[data-theme="dark"][data-page-bg="pink"] { --page-bg: #22161e; }
html[data-theme="dark"] [data-page-bg="orange"],
html[data-theme="dark"][data-page-bg="orange"] { --page-bg: #221a12; }
html[data-theme="dark"] [data-page-bg="yellow"],
html[data-theme="dark"][data-page-bg="yellow"] { --page-bg: #1f1c12; }
html[data-theme="dark"] [data-page-bg="gray"],
html[data-theme="dark"][data-page-bg="gray"] { --page-bg: #1d1f23; }
html[data-theme="dark"] .page-bg-swatch {
  background: var(--page-bg);
}

/* Tutorial de bienvenida */
html[data-theme="dark"] .tour-card {
  background: #1f2227;
  color: #e6e7e9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .tour-card p,
html[data-theme="dark"] .tour-skip,
html[data-theme="dark"] .tour-back {
  color: #a8acb3;
}
html[data-theme="dark"] .tour-skip:hover,
html[data-theme="dark"] .tour-back:hover {
  background: #30343b;
}
html[data-theme="dark"] .tour-dot {
  background: #444a53;
}
html[data-theme="dark"] .tour-dot.is-active {
  background: #4c8df6;
}
html[data-theme="dark"] .tour-hole {
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
}
