/* ============================================================
   Shared retro chrome — square corners + classic panels
   Themes: win95, win3x, dos, fallout, fallout-wasteland, pixel-quest
   ============================================================ */

html[data-theme="win95"] .pins-item,
html[data-theme="win95"] .info-media-item,
html[data-theme="win95"] .info-link-list a,
html[data-theme="win95"] .info-link-list button,
html[data-theme="win95"] .info-action,
html[data-theme="win95"] .info-note,
html[data-theme="win95"] .admin-stats,
html[data-theme="win95"] .branding-card,
html[data-theme="win95"] .branding-preview-wrap,
html[data-theme="win95"] .card,
html[data-theme="win95"] .console-item,
html[data-theme="win95"] .console-signed,
html[data-theme="win95"] .nav-badge,
html[data-theme="win95"] .role-pill,
html[data-theme="win95"] .role-select,
html[data-theme="win95"] .pill-ok,
html[data-theme="win95"] .pill-warn,
html[data-theme="win95"] .reply-bar,
html[data-theme="win95"] .reply-quote,
html[data-theme="win95"] .msg-ctx,
html[data-theme="win95"] .ui-dialog,
html[data-theme="win95"] dialog,
html[data-theme="win95"] .reaction-chip,
html[data-theme="win95"] .chip,
html[data-theme="win95"] .tab,
html[data-theme="win95"] .theme-opt,
html[data-theme="win95"] .btn-sm,
html[data-theme="win95"] .hdr-badge,
html[data-theme="win95"] .lock-pill,
html[data-theme="win95"] .pinned-bar,
html[data-theme="win95"] .pinned-bar-main,
html[data-theme="win95"] .pinned-ico,
html[data-theme="win95"] .unread-sep,
html[data-theme="win95"] .day-sep,
html[data-theme="win95"] .emoji-panel,
html[data-theme="win95"] .new-menu,
html[data-theme="win95"] .send-menu,
html[data-theme="win95"] .scan-video,
html[data-theme="win95"] #device-link-qr,
html[data-theme="win3x"] .pins-item,
html[data-theme="win3x"] .info-media-item,
html[data-theme="win3x"] .info-link-list a,
html[data-theme="win3x"] .info-link-list button,
html[data-theme="win3x"] .info-action,
html[data-theme="win3x"] .info-note,
html[data-theme="win3x"] .admin-stats,
html[data-theme="win3x"] .branding-card,
html[data-theme="win3x"] .branding-preview-wrap,
html[data-theme="win3x"] .card,
html[data-theme="win3x"] .console-item,
html[data-theme="win3x"] .console-signed,
html[data-theme="win3x"] .nav-badge,
html[data-theme="win3x"] .role-pill,
html[data-theme="win3x"] .role-select,
html[data-theme="win3x"] .pill-ok,
html[data-theme="win3x"] .pill-warn,
html[data-theme="win3x"] .reply-bar,
html[data-theme="win3x"] .reply-quote,
html[data-theme="win3x"] .msg-ctx,
html[data-theme="win3x"] .ui-dialog,
html[data-theme="win3x"] dialog,
html[data-theme="win3x"] .reaction-chip,
html[data-theme="win3x"] .chip,
html[data-theme="win3x"] .tab,
html[data-theme="win3x"] .theme-opt,
html[data-theme="win3x"] .btn-sm,
html[data-theme="win3x"] .hdr-badge,
html[data-theme="win3x"] .lock-pill,
html[data-theme="win3x"] .pinned-bar,
html[data-theme="win3x"] .pinned-bar-main,
html[data-theme="win3x"] .pinned-ico,
html[data-theme="win3x"] .unread-sep,
html[data-theme="win3x"] .day-sep,
html[data-theme="win3x"] .emoji-panel,
html[data-theme="win3x"] .new-menu,
html[data-theme="win3x"] .send-menu,
html[data-theme="dos"] .pins-item,
html[data-theme="dos"] .info-media-item,
html[data-theme="dos"] .info-link-list a,
html[data-theme="dos"] .info-link-list button,
html[data-theme="dos"] .info-action,
html[data-theme="dos"] .info-note,
html[data-theme="dos"] .admin-stats,
html[data-theme="dos"] .branding-card,
html[data-theme="dos"] .branding-preview-wrap,
html[data-theme="dos"] .card,
html[data-theme="dos"] .console-item,
html[data-theme="dos"] .console-signed,
html[data-theme="dos"] .nav-badge,
html[data-theme="dos"] .role-pill,
html[data-theme="dos"] .role-select,
html[data-theme="dos"] .pill-ok,
html[data-theme="dos"] .pill-warn,
html[data-theme="dos"] .reply-bar,
html[data-theme="dos"] .reply-quote,
html[data-theme="dos"] .msg-ctx,
html[data-theme="dos"] .ui-dialog,
html[data-theme="dos"] dialog,
html[data-theme="dos"] .reaction-chip,
html[data-theme="dos"] .chip,
html[data-theme="dos"] .tab,
html[data-theme="dos"] .theme-opt,
html[data-theme="dos"] .btn-sm,
html[data-theme="dos"] .hdr-badge,
html[data-theme="dos"] .lock-pill,
html[data-theme="dos"] .pinned-bar,
html[data-theme="dos"] .pinned-bar-main,
html[data-theme="dos"] .pinned-ico,
html[data-theme="fallout"] .pins-item,
html[data-theme="fallout"] .info-media-item,
html[data-theme="fallout"] .info-link-list a,
html[data-theme="fallout"] .info-link-list button,
html[data-theme="fallout"] .info-action,
html[data-theme="fallout"] .info-note,
html[data-theme="fallout"] .admin-stats,
html[data-theme="fallout"] .branding-card,
html[data-theme="fallout"] .branding-preview-wrap,
html[data-theme="fallout"] .card,
html[data-theme="fallout"] .console-item,
html[data-theme="fallout"] .console-signed,
html[data-theme="fallout"] .nav-badge,
html[data-theme="fallout"] .role-pill,
html[data-theme="fallout"] .role-select,
html[data-theme="fallout"] .pill-ok,
html[data-theme="fallout"] .pill-warn,
html[data-theme="fallout"] .reply-bar,
html[data-theme="fallout"] .reply-quote,
html[data-theme="fallout"] .msg-ctx,
html[data-theme="fallout"] .ui-dialog,
html[data-theme="fallout"] dialog,
html[data-theme="fallout"] .reaction-chip,
html[data-theme="fallout"] .chip,
html[data-theme="fallout"] .tab,
html[data-theme="fallout"] .theme-opt,
html[data-theme="fallout"] .btn-sm,
html[data-theme="fallout"] .hdr-badge,
html[data-theme="fallout"] .lock-pill,
html[data-theme="fallout"] .pinned-bar,
html[data-theme="fallout"] .pinned-bar-main,
html[data-theme="fallout"] .pinned-ico,
html[data-theme="pixel-quest"] .pins-item,
html[data-theme="pixel-quest"] .info-media-item,
html[data-theme="pixel-quest"] .info-link-list a,
html[data-theme="pixel-quest"] .info-link-list button,
html[data-theme="pixel-quest"] .info-action,
html[data-theme="pixel-quest"] .info-note,
html[data-theme="pixel-quest"] .admin-stats,
html[data-theme="pixel-quest"] .branding-card,
html[data-theme="pixel-quest"] .branding-preview-wrap,
html[data-theme="pixel-quest"] .card,
html[data-theme="pixel-quest"] .console-item,
html[data-theme="pixel-quest"] .console-signed,
html[data-theme="pixel-quest"] .nav-badge,
html[data-theme="pixel-quest"] .role-pill,
html[data-theme="pixel-quest"] .role-select,
html[data-theme="pixel-quest"] .pill-ok,
html[data-theme="pixel-quest"] .pill-warn,
html[data-theme="pixel-quest"] .reply-bar,
html[data-theme="pixel-quest"] .reply-quote,
html[data-theme="pixel-quest"] .msg-ctx,
html[data-theme="pixel-quest"] .ui-dialog,
html[data-theme="pixel-quest"] dialog,
html[data-theme="pixel-quest"] .reaction-chip,
html[data-theme="pixel-quest"] .chip,
html[data-theme="pixel-quest"] .tab,
html[data-theme="pixel-quest"] .theme-opt,
html[data-theme="pixel-quest"] .btn-sm,
html[data-theme="pixel-quest"] .hdr-badge,
html[data-theme="pixel-quest"] .lock-pill,
html[data-theme="pixel-quest"] .pinned-bar,
html[data-theme="pixel-quest"] .pinned-bar-main,
html[data-theme="pixel-quest"] .pinned-ico {
  border-radius: 0 !important;
}

/* —— Windows 95 / 3.x: raised & sunken chrome —— */
html[data-theme="win95"] .pins-item,
html[data-theme="win95"] .info-media-item,
html[data-theme="win95"] .info-link-list a,
html[data-theme="win95"] .info-link-list button,
html[data-theme="win95"] .info-action,
html[data-theme="win95"] .admin-stats,
html[data-theme="win95"] .branding-card,
html[data-theme="win95"] .role-pill,
html[data-theme="win95"] .console-signed,
html[data-theme="win95"] .nav-badge,
html[data-theme="win3x"] .pins-item,
html[data-theme="win3x"] .info-media-item,
html[data-theme="win3x"] .info-link-list a,
html[data-theme="win3x"] .info-link-list button,
html[data-theme="win3x"] .info-action,
html[data-theme="win3x"] .admin-stats,
html[data-theme="win3x"] .branding-card,
html[data-theme="win3x"] .role-pill,
html[data-theme="win3x"] .console-signed,
html[data-theme="win3x"] .nav-badge {
  background: #c0c0c0 !important;
  color: #000 !important;
  border-top: 2px solid #fff !important;
  border-left: 2px solid #fff !important;
  border-right: 2px solid #000 !important;
  border-bottom: 2px solid #000 !important;
  box-shadow: none !important;
}

html[data-theme="win95"] .pins-item .muted,
html[data-theme="win95"] .info-media-item,
html[data-theme="win3x"] .pins-item .muted,
html[data-theme="win3x"] .info-media-item {
  color: #000 !important;
}

html[data-theme="win95"] .pins-item strong,
html[data-theme="win3x"] .pins-item strong {
  color: #000 !important;
}

html[data-theme="win95"] .admin-stats,
html[data-theme="win95"] .branding-preview-wrap,
html[data-theme="win95"] .info-note,
html[data-theme="win3x"] .admin-stats,
html[data-theme="win3x"] .branding-preview-wrap,
html[data-theme="win3x"] .info-note {
  background: #fff !important;
  color: #000 !important;
  border-top: 2px solid #000 !important;
  border-left: 2px solid #000 !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
}

html[data-theme="win95"] .console-brand,
html[data-theme="win3x"] .console-brand {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 0.45rem 0.55rem !important;
  margin: 0 0 0.75rem !important;
  border: 0 !important;
}
html[data-theme="win3x"] .console-brand {
  background: #000080 !important;
}
html[data-theme="win95"] .console-brand h2,
html[data-theme="win95"] .console-brand .console-sub,
html[data-theme="win95"] .console-brand .muted,
html[data-theme="win3x"] .console-brand h2,
html[data-theme="win3x"] .console-brand .console-sub,
html[data-theme="win3x"] .console-brand .muted {
  color: #fff !important;
  text-shadow: none !important;
  font-family: Tahoma, "MS Sans Serif", sans-serif !important;
}

html[data-theme="win95"] .console-item.active,
html[data-theme="win3x"] .console-item.active {
  background: #000080 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-theme="win95"] .console-item:hover:not(.active),
html[data-theme="win3x"] .console-item:hover:not(.active) {
  background: #e8e8e8 !important;
  color: #000 !important;
}

html[data-theme="win95"] .console-back,
html[data-theme="win3x"] .console-back {
  color: #000 !important;
  border-radius: 0 !important;
}
html[data-theme="win95"] .console-main .muted,
html[data-theme="win95"] .card .muted,
html[data-theme="win95"] .card p,
html[data-theme="win95"] .card h3,
html[data-theme="win3x"] .console-main .muted,
html[data-theme="win3x"] .card .muted,
html[data-theme="win3x"] .card p,
html[data-theme="win3x"] .card h3 {
  color: #000 !important;
}

html[data-theme="win95"] .ui-dialog h3,
html[data-theme="win3x"] .ui-dialog h3,
html[data-theme="win95"] .pins-dialog h3,
html[data-theme="win3x"] .pins-dialog h3 {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%) !important;
  color: #fff !important;
  margin: -1.1rem -1.1rem 0.75rem !important;
  padding: 0.4rem 0.65rem !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  border-radius: 0 !important;
}
html[data-theme="win3x"] .ui-dialog h3,
html[data-theme="win3x"] .pins-dialog h3 {
  background: #000080 !important;
}

html[data-theme="win95"] .pill-ok,
html[data-theme="win3x"] .pill-ok {
  background: #c0c0c0 !important;
  color: #008000 !important;
}
html[data-theme="win95"] .pill-warn,
html[data-theme="win3x"] .pill-warn {
  background: #c0c0c0 !important;
  color: #800000 !important;
}

/* —— DOS / Fallout / Pixel: flat terminal panels —— */
html[data-theme="dos"] .pins-item,
html[data-theme="dos"] .info-media-item,
html[data-theme="dos"] .info-action,
html[data-theme="dos"] .admin-stats,
html[data-theme="dos"] .branding-card,
html[data-theme="dos"] .role-pill,
html[data-theme="dos"] .console-signed,
html[data-theme="dos"] .nav-badge,
html[data-theme="fallout"] .pins-item,
html[data-theme="fallout"] .info-media-item,
html[data-theme="fallout"] .info-action,
html[data-theme="fallout"] .admin-stats,
html[data-theme="fallout"] .branding-card,
html[data-theme="fallout"] .role-pill,
html[data-theme="fallout"] .console-signed,
html[data-theme="fallout"] .nav-badge,
html[data-theme="pixel-quest"] .pins-item,
html[data-theme="pixel-quest"] .info-media-item,
html[data-theme="pixel-quest"] .info-action,
html[data-theme="pixel-quest"] .admin-stats,
html[data-theme="pixel-quest"] .branding-card,
html[data-theme="pixel-quest"] .role-pill,
html[data-theme="pixel-quest"] .console-signed,
html[data-theme="pixel-quest"] .nav-badge {
  background: #001100 !important;
  color: inherit !important;
  border: 1px solid currentColor !important;
  box-shadow: none !important;
}

html[data-theme="fallout"] .pins-item,
html[data-theme="fallout"] .info-media-item,
html[data-theme="fallout"] .info-action,
html[data-theme="fallout"] .admin-stats,
html[data-theme="fallout"] .branding-card,
html[data-theme="fallout"] .role-pill,
html[data-theme="fallout"] .console-signed,
html[data-theme="fallout"] .nav-badge {
  background: #0f1f0f !important;
  border-color: #3cff6a !important;
  color: #3cff6a !important;
}

html[data-theme="pixel-quest"] .pins-item,
html[data-theme="pixel-quest"] .info-media-item,
html[data-theme="pixel-quest"] .info-action,
html[data-theme="pixel-quest"] .admin-stats,
html[data-theme="pixel-quest"] .branding-card,
html[data-theme="pixel-quest"] .role-pill,
html[data-theme="pixel-quest"] .console-signed,
html[data-theme="pixel-quest"] .nav-badge {
  background: #000044 !important;
  border-color: #55ffff !important;
  color: #55ffff !important;
}

html[data-theme="dos"] .console-brand,
html[data-theme="fallout"] .console-brand,
html[data-theme="pixel-quest"] .console-brand {
  border-radius: 0 !important;
  background: #0000aa !important;
  color: #fff !important;
  padding: 0.45rem 0.55rem !important;
  border: 0 !important;
  margin-bottom: 0.75rem !important;
}
html[data-theme="fallout"] .console-brand {
  background: #061406 !important;
  border-bottom: 1px solid #3cff6a !important;
}
html[data-theme="pixel-quest"] .console-brand {
  background: #000066 !important;
  border-bottom: 2px solid #55ffff !important;
}
html[data-theme="dos"] .console-brand h2,
html[data-theme="dos"] .console-brand .console-sub,
html[data-theme="dos"] .console-brand .muted,
html[data-theme="fallout"] .console-brand h2,
html[data-theme="fallout"] .console-brand .console-sub,
html[data-theme="fallout"] .console-brand .muted,
html[data-theme="pixel-quest"] .console-brand h2,
html[data-theme="pixel-quest"] .console-brand .console-sub,
html[data-theme="pixel-quest"] .console-brand .muted {
  color: #fff !important;
  text-shadow: none !important;
}

html[data-theme="dos"] .console-back,
html[data-theme="fallout"] .console-back,
html[data-theme="pixel-quest"] .console-back {
  color: inherit !important;
  border-radius: 0 !important;
}

html[data-theme="win95"] .info-header,
html[data-theme="win3x"] .info-header {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%) !important;
  color: #fff !important;
  border-bottom: 0 !important;
}
html[data-theme="win3x"] .info-header {
  background: #000080 !important;
}
html[data-theme="win95"] .info-header h3,
html[data-theme="win3x"] .info-header h3 {
  color: #fff !important;
}

/* Fallout Wasteland — soft square chrome (not CRT zero-radius) */
html[data-theme="fallout-wasteland"] .pins-item,
html[data-theme="fallout-wasteland"] .info-media-item,
html[data-theme="fallout-wasteland"] .info-link-list a,
html[data-theme="fallout-wasteland"] .info-link-list button,
html[data-theme="fallout-wasteland"] .info-action,
html[data-theme="fallout-wasteland"] .info-note,
html[data-theme="fallout-wasteland"] .admin-stats,
html[data-theme="fallout-wasteland"] .branding-card,
html[data-theme="fallout-wasteland"] .branding-preview-wrap,
html[data-theme="fallout-wasteland"] .card,
html[data-theme="fallout-wasteland"] .console-item,
html[data-theme="fallout-wasteland"] .console-signed,
html[data-theme="fallout-wasteland"] .nav-badge,
html[data-theme="fallout-wasteland"] .role-pill,
html[data-theme="fallout-wasteland"] .role-select,
html[data-theme="fallout-wasteland"] .pill-ok,
html[data-theme="fallout-wasteland"] .pill-warn,
html[data-theme="fallout-wasteland"] .reply-bar,
html[data-theme="fallout-wasteland"] .reply-quote,
html[data-theme="fallout-wasteland"] .msg-ctx,
html[data-theme="fallout-wasteland"] .ui-dialog,
html[data-theme="fallout-wasteland"] dialog,
html[data-theme="fallout-wasteland"] .reaction-chip,
html[data-theme="fallout-wasteland"] .chip,
html[data-theme="fallout-wasteland"] .tab,
html[data-theme="fallout-wasteland"] .theme-opt,
html[data-theme="fallout-wasteland"] .btn-sm,
html[data-theme="fallout-wasteland"] .hdr-badge,
html[data-theme="fallout-wasteland"] .lock-pill,
html[data-theme="fallout-wasteland"] .pinned-bar,
html[data-theme="fallout-wasteland"] .pinned-bar-main,
html[data-theme="fallout-wasteland"] .pinned-ico,
html[data-theme="fallout-wasteland"] .unread-sep,
html[data-theme="fallout-wasteland"] .day-sep,
html[data-theme="fallout-wasteland"] .emoji-panel,
html[data-theme="fallout-wasteland"] .new-menu,
html[data-theme="fallout-wasteland"] .send-menu {
  border-radius: 2px !important;
}
