/* Generated by build-millida-theme.cjs. Local DESIGN SHA-256 76f898b77aba91b8346cdd1753f2d0e36ad01b2c3f2aa401c19515a72c1a9210. */
:root, html[data-bs-theme="light"] {
  --mr-millida-bg: #f6f7f7;
  --mr-millida-surface-1: #ffffff;
  --mr-millida-surface-2: #e9ebeb;
  --mr-millida-surface-3: #dfe2e1;
  --mr-millida-raised: #ffffff;
  --mr-millida-inset: #e9ebeb;
  --mr-millida-border-subtle: rgb(32 36 35 / 12%);
  --mr-millida-border-strong: rgb(32 36 35 / 24%);
  --mr-millida-fg: #202423;
  --mr-millida-fg-muted: #565e5b;
  --mr-millida-dock-bg: var(--mr-millida-bg);
  --mr-millida-dock-surface-1: var(--mr-millida-surface-1);
  --mr-millida-dock-fg: var(--mr-millida-fg);
  --mr-millida-dock-fg-muted: var(--mr-millida-fg-muted);
  --mr-millida-dock-shadow: 0 8px 24px -8px rgb(32 36 35 / 16%);
  --mr-millida-fg-faint: #69726d;
  --mr-millida-accent: #0267fd;
  --mr-millida-accent-strong: #0755b8;
  --mr-millida-accent-hover: #075bd4;
  --mr-millida-accent-pressed: #064db4;
  --mr-millida-accent-soft: rgb(2 103 253 / 13%);
  --mr-millida-on-accent: #ffffff;
  --mr-millida-link: #0755b8;
  --mr-millida-focus: #0755b8;
  --mr-millida-disabled: #e9ebeb;
  --mr-millida-disabled-foreground: #6e7672;
  --mr-millida-placeholder: #565e5b;
  --mr-millida-field: #e9ebeb;
  --mr-millida-brand-mark: #0267fd;
  --mr-millida-brand-context-bg: #161718;
  --mr-millida-brand-context-surface-1: #232426;
  --mr-millida-brand-context-surface-2: #2e2f33;
  --mr-millida-brand-context-surface-3: #37393d;
  --mr-millida-brand-context-field: #2e2f33;
  --mr-millida-brand-context-fg: #edefee;
  --mr-millida-brand-context-muted: #b3b6b4;
  --mr-millida-brand-context-faint: #909592;
  --mr-millida-brand-context-placeholder: #a3a7a5;
  --mr-millida-brand-context-border: rgb(237 239 238 / 14%);
  --mr-millida-selection: #cdddff;
  --mr-millida-scrim: rgb(22 23 24 / 56%);
  --mr-millida-skeleton: #e1e4e2;
  --mr-millida-shadow-raised: 0 1px 2px rgb(32 36 35 / 8%);
  --mr-millida-depth-highlight: rgb(255 255 255 / 90%);
  --mr-millida-depth-shade: rgb(0 0 0 / 10%);
  --mr-millida-depth-edge: rgb(32 36 35 / 12%);
  --mr-millida-depth-panel: inset 0 0 0 1px var(--mr-millida-border-subtle), inset 0 2px var(--mr-millida-depth-highlight), inset 0 -3px var(--mr-millida-depth-shade);
  --mr-millida-depth-action: inset 0 3px rgb(255 255 255 / 34%), inset 0 -7px rgb(0 0 0 / 30%), inset 3px 0 rgb(255 255 255 / 12%), inset -3px 0 rgb(0 0 0 / 16%), inset 0 0 0 2px rgb(0 0 0 / 16%);
  --mr-millida-depth-action-pressed: none;
  --mr-millida-depth-muted: inset 0 1px var(--mr-millida-depth-highlight), inset 0 -2px var(--mr-millida-depth-edge);
  --mr-millida-depth-field: inset 0 2px 2px var(--mr-millida-depth-edge);
  --mr-millida-shadow-popover: 0 8px 24px rgb(32 36 35 / 16%);
  --mr-millida-font-sans: 'MR Geist', 'MR Manrope', system-ui, sans-serif;
}
html[data-bs-theme="dark"] {
  --mr-millida-bg: #161718;
  --mr-millida-surface-1: #232426;
  --mr-millida-surface-2: #2e2f33;
  --mr-millida-surface-3: #37393d;
  --mr-millida-raised: #37393d;
  --mr-millida-inset: #131314;
  --mr-millida-border-subtle: rgb(237 239 238 / 10%);
  --mr-millida-border-strong: rgb(237 239 238 / 14%);
  --mr-millida-fg: #edefee;
  --mr-millida-fg-muted: #b3b6b4;
  --mr-millida-dock-bg: #161718;
  --mr-millida-dock-surface-1: #232426;
  --mr-millida-dock-fg: #edefee;
  --mr-millida-dock-fg-muted: #9c9d9e;
  --mr-millida-dock-shadow: 0 8px 24px -8px rgb(0 0 0 / 28%);
  --mr-millida-fg-faint: #909592;
  --mr-millida-accent: #0267fd;
  --mr-millida-accent-strong: #8ab8ff;
  --mr-millida-accent-hover: #075bd4;
  --mr-millida-accent-pressed: #064db4;
  --mr-millida-accent-soft: rgb(2 103 253 / 13%);
  --mr-millida-on-accent: #ffffff;
  --mr-millida-link: #8ab8ff;
  --mr-millida-focus: #8ab8ff;
  --mr-millida-disabled: #2e2f33;
  --mr-millida-disabled-foreground: #909592;
  --mr-millida-placeholder: #a3a7a5;
  --mr-millida-field: #2e2f33;
  --mr-millida-brand-mark: #0267fd;
  --mr-millida-selection: #153e7a;
  --mr-millida-scrim: rgb(0 0 0 / 72%);
  --mr-millida-skeleton: #2e2f33;
  --mr-millida-shadow-raised: 0 1px 2px rgb(0 0 0 / 18%);
  --mr-millida-depth-highlight: rgb(255 255 255 / 7%);
  --mr-millida-depth-shade: rgb(0 0 0 / 32%);
  --mr-millida-depth-edge: rgb(0 0 0 / 22%);
  --mr-millida-shadow-popover: 0 8px 24px rgb(0 0 0 / 42%);
}
/* Old component names consume the new palette; old value declarations are retired. */
:root {
  --mr-reference-font-family: var(--mr-millida-font-sans);
  --mr-rhythm-panel-radius: 0px;
  --mr-rhythm-feature-radius: 0px;
  --mr-reference-density-control-radius: 0px;
  --mr-reference-density-chip-radius: 0px;
  --mr-rhythm-panel-bg: var(--mr-millida-surface-1);
  --mr-rhythm-panel-border: var(--mr-millida-border-subtle);
  --mr-rhythm-panel-shadow: var(--mr-millida-depth-panel);
  --mr-rhythm-header-bg: var(--mr-millida-bg);
  --mr-rhythm-header-border: var(--mr-millida-border-subtle);
  --mr-soft-block-bg: var(--mr-millida-surface-2);
  --mr-soft-block-border: var(--mr-millida-border-subtle);
  --mr-soft-block-accent-bg: var(--mr-millida-accent-soft);
  --mr-soft-block-accent-border: var(--mr-millida-accent-strong);
  --mr-reference-card-radius: 0px;
  --mr-reference-control-radius: 0px;
  --mr-reference-search-radius: 0px;
  --mr-reference-badge-radius: 0px;
  --mr-reference-chip-radius: 0px;
  --mr-visual-panel-bg: var(--mr-millida-surface-1);
  --mr-visual-panel-border: var(--mr-millida-border-subtle);
  --mr-reference-v3-detail-surface-bg: var(--mr-millida-surface-1);
  --mr-reference-v3-detail-surface-border: var(--mr-millida-border-subtle);
  --mr-reference-v3-header-control-bg: var(--mr-millida-surface-2);
  --mr-reference-v4-panel-bg: var(--mr-millida-surface-1);
  --mr-reference-v4-panel-border: var(--mr-millida-border-subtle);
  --mr-reference-v4-soft-bg: var(--mr-millida-surface-2);
  --mr-reference-v4-soft-border: var(--mr-millida-border-subtle);
  --mr-reference-v4-header-control-bg: var(--mr-millida-surface-2);
  --mr-reference-v4-control-border: var(--mr-millida-border-subtle);
  --mr-visual-canvas: var(--mr-millida-bg);
  --mr-visual-muted-bg: var(--mr-millida-surface-2);
  --mr-visual-active-bg: var(--mr-millida-accent-soft);
}

/* Millida V2: local adaptation of mcDev shared pixel controls, faces and fonts.
 * Geometry, content order, server MOTDs and semantic success/error colors stay
 * with their existing components. See docs/MILLIDA_STYLE_MIGRATION_20261015.md.
 */
@font-face {
  font-family: 'MR Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/millida/geist.woff2') format('woff2');
}
@font-face {
  font-family: 'MR Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('fonts/millida/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'MR Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('fonts/millida/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root, html[data-bs-theme] {
  --bs-body-bg: var(--mr-millida-bg);
  --bs-body-color: var(--mr-millida-fg);
  --bs-body-font-family: var(--mr-millida-font-sans);
  --bs-secondary-color: var(--mr-millida-fg-muted);
  --bs-tertiary-color: var(--mr-millida-fg-faint);
  --bs-secondary-bg: var(--mr-millida-surface-2);
  --bs-tertiary-bg: var(--mr-millida-surface-1);
  --bs-emphasis-color: var(--mr-millida-fg);
  --bs-border-color: var(--mr-millida-border-subtle);
  --bs-link-color: var(--mr-millida-link);
  --bs-link-hover-color: var(--mr-millida-accent-strong);
  --bs-primary: var(--mr-millida-accent);
  --bs-primary-rgb: 2,103,253;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-pill: 0;
  --mr-site-muted: var(--mr-millida-surface-2);
  --mr-site-border: var(--mr-millida-border-subtle);
  --mr-visual-panel-bg: var(--mr-millida-surface-1);
  --mr-rhythm-header-bg: var(--mr-millida-bg);
  --mr-millida-cut: .3125rem;
  --mr-millida-shape: polygon(0 var(--mr-millida-cut),var(--mr-millida-cut) var(--mr-millida-cut),var(--mr-millida-cut) 0,calc(100% - var(--mr-millida-cut)) 0,calc(100% - var(--mr-millida-cut)) var(--mr-millida-cut),100% var(--mr-millida-cut),100% calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) 100%,var(--mr-millida-cut) 100%,var(--mr-millida-cut) calc(100% - var(--mr-millida-cut)),0 calc(100% - var(--mr-millida-cut)));
  color-scheme: light;
  scrollbar-color: var(--mr-millida-fg-faint) var(--mr-millida-bg);
}
html[data-bs-theme="dark"] { color-scheme: dark; }
html[data-bs-theme] body {
  background: var(--mr-millida-bg);
  color: var(--mr-millida-fg);
  font-family: var(--mr-millida-font-sans);
  caret-color: var(--mr-millida-accent-strong);
}
::selection { background: var(--mr-millida-selection); color: var(--mr-millida-fg); }
html[data-bs-theme] body :is(h1,h2,h3,h4,h5,h6,.mr-service-page,.mr-server-detail-page,.mr-site-frame) {
  font-family: var(--mr-millida-font-sans);
}
html[data-bs-theme] body :is(h1,h2,h3) { letter-spacing: -.025em; }
html[data-bs-theme] body :is(.mr-reference-card,.mr-people-rating-page) {
  --mr-ref-body: var(--mr-millida-font-sans);
  --mr-ref-display: var(--mr-millida-font-sans);
  --mr-ref-border: var(--mr-millida-border-subtle);
  --mr-ref-muted: var(--mr-millida-surface-2);
  --mr-ref-secondary: var(--mr-millida-fg-muted);
  --mr-ref-blue: var(--mr-millida-link);
  --mr-ref-blue-bg: var(--mr-millida-accent-soft);
  --mr-ref-blue-border: var(--mr-millida-accent-strong);
}
html[data-bs-theme] body :is(.mr-topbar,.mr-mobile-topbar) {
  background: var(--mr-millida-bg);
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-subtle);
}
html[data-bs-theme] body :is(.mr-topbar-online,.mr-topbar-online strong) { color: var(--mr-millida-link); }
html[data-bs-theme] body :is(.mr-topbar-search,.mr-catalog-filter-search) {
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  background: var(--mr-millida-field);
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body :is(.mr-topbar-search-input,.mr-catalog-filter-search input) { color: var(--mr-millida-fg); font-family: var(--mr-millida-font-sans); }
html[data-bs-theme] body :is(.mr-topbar-search-input,.mr-catalog-filter-search input)::placeholder { color: var(--mr-millida-placeholder); }
html[data-bs-theme] body :is(.mr-topbar-mtock-entry,.mr-mobile-mtock-entry) {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-accent-strong);
  border-color: transparent;
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-panel);
}
html[data-bs-theme] body :is(.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle) {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-color: transparent;
}
/* Controls retain their existing dimensions and icon markup. No clipping on
 * dropdown/panel containers: menus, ranks and focusable children can overflow. */
html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link) {
  --mr-millida-cut: .3125rem;
  --mr-millida-shape: polygon(0 var(--mr-millida-cut),var(--mr-millida-cut) var(--mr-millida-cut),var(--mr-millida-cut) 0,calc(100% - var(--mr-millida-cut)) 0,calc(100% - var(--mr-millida-cut)) var(--mr-millida-cut),100% var(--mr-millida-cut),100% calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) 100%,var(--mr-millida-cut) 100%,var(--mr-millida-cut) calc(100% - var(--mr-millida-cut)),0 calc(100% - var(--mr-millida-cut)));
  border-radius: 0;
  clip-path: var(--mr-millida-shape);
  font-family: var(--mr-millida-font-sans);
  --mr-millida-control-face: var(--mr-millida-depth-panel);
  box-shadow: var(--mr-millida-control-face);
  touch-action: manipulation;
  transition: transform 120ms ease-out;
}
html[data-bs-theme] body :is(.mr-server-card-copy-type,.mr-server-card-copy-icon) { color: var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-server-card-copy-line:is(:hover,:focus-visible) :is(.mr-server-card-copy-type,.mr-server-card-copy-icon) { color: var(--mr-millida-link); }
html[data-bs-theme] body :is(.btn-primary,.btn-success) {
  --bs-btn-bg: var(--mr-millida-accent);
  --bs-btn-border-color: var(--mr-millida-accent);
  --bs-btn-color: var(--mr-millida-on-accent);
  --bs-btn-hover-bg: var(--mr-millida-accent-hover);
  --bs-btn-hover-border-color: var(--mr-millida-accent-hover);
  --bs-btn-hover-color: var(--mr-millida-on-accent);
  --bs-btn-active-bg: var(--mr-millida-accent-pressed);
  --bs-btn-active-border-color: var(--mr-millida-accent-pressed);
  --bs-btn-active-color: var(--mr-millida-on-accent);
  --mr-millida-control-face: var(--mr-millida-depth-action);
  background: var(--bs-btn-bg);
  color: var(--bs-btn-color);
  border-color: var(--bs-btn-border-color);
}
html[data-bs-theme] body :is(.btn-primary,.btn-success):hover {
  background: var(--bs-btn-hover-bg); color: var(--bs-btn-hover-color);
}
html[data-bs-theme] body :is(.btn-primary,.btn-success):active {
  background: var(--bs-btn-active-bg); color: var(--bs-btn-active-color);
}
html[data-bs-theme] body :is(.btn-light,.btn-secondary,.btn-outline-secondary,.mr-server-card-copy-line,.page-link) {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-color: transparent;
}
html[data-bs-theme] body :is(.btn-danger,.btn-outline-danger) { --mr-millida-control-face: var(--mr-millida-depth-action); }
html[data-bs-theme] body :is(.form-control,.form-select) {
  font-family: var(--mr-millida-font-sans);
  background-color: var(--mr-millida-field);
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-strong);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body :is(.form-control,.form-select):focus {
  border-color: var(--mr-millida-focus);
  outline: 2px solid var(--mr-millida-focus); outline-offset: 2px;
}
html[data-bs-theme] body :is(.form-control,.form-select)::placeholder { color: var(--mr-millida-placeholder); opacity: 1; }
/* Bootstrap floating labels own their placeholder visibility. */
html[data-bs-theme] body .form-floating > .form-control::placeholder { color: transparent; opacity: 0; }
html[data-bs-theme] body .mr-auth-form .form-floating > label::after { background-color: var(--mr-millida-field); }
html[data-bs-theme] body :is(.form-control,.form-select).is-invalid { border-color: var(--bs-form-invalid-border-color,#dc3545); }
html[data-bs-theme] body :is(.form-control,.form-select).is-valid { border-color: var(--bs-form-valid-border-color,#198754); }
html[data-bs-theme] body :is(.form-control,.form-select):disabled { background-color: var(--mr-millida-disabled); color: var(--mr-millida-disabled-foreground); }
html[data-bs-theme] body :is(.dropdown-menu,.modal-content,.offcanvas,.popover) {
  background-color: var(--mr-millida-surface-1);
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  box-shadow: var(--mr-millida-shadow-popover);
}
html[data-bs-theme] body .dropdown-item { color: var(--mr-millida-fg); }
html[data-bs-theme] body .dropdown-item:is(:hover,:focus) { background: var(--mr-millida-surface-2); }
html[data-bs-theme] body .dropdown-item:is(.active,:active),
html[data-bs-theme] body .page-item.active .page-link { background: var(--mr-millida-accent); color: var(--mr-millida-on-accent); }
html[data-bs-theme] body .mr-auth-form a:not(.btn) { color: var(--mr-millida-link); }
/* A separate painted face preserves ranks, dropdowns and keyboard outlines
 * outside the panel. Do not clip the interactive card itself. */
html[data-bs-theme] body :is(.mr-service-panel,.mr-reference-card,.mr-server-detail-hero,.mr-server-side-card,.mr-server-content-card,.mr-analytics-panel,.mr-pricing-panel,.mr-server-soft-detail-card,.mr-account-card,.mr-server-social-card,.mr-article-card) {
  position: relative;
  isolation: isolate;
  --mr-millida-cut: .625rem;
  --mr-millida-shape: polygon(0 var(--mr-millida-cut),var(--mr-millida-cut) var(--mr-millida-cut),var(--mr-millida-cut) 0,calc(100% - var(--mr-millida-cut)) 0,calc(100% - var(--mr-millida-cut)) var(--mr-millida-cut),100% var(--mr-millida-cut),100% calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) calc(100% - var(--mr-millida-cut)),calc(100% - var(--mr-millida-cut)) 100%,var(--mr-millida-cut) 100%,var(--mr-millida-cut) calc(100% - var(--mr-millida-cut)),0 calc(100% - var(--mr-millida-cut)));
  --mr-millida-panel-paint: var(--mr-millida-surface-1);
  background: transparent !important;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
}
html[data-bs-theme] body :is(.mr-service-panel,.mr-reference-card,.mr-server-detail-hero,.mr-server-side-card,.mr-server-content-card,.mr-analytics-panel,.mr-pricing-panel,.mr-server-soft-detail-card,.mr-account-card,.mr-server-social-card,.mr-article-card)::after {
  content: '';
  display: block;
  position: absolute;
  width: auto;
  height: auto;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  clip-path: var(--mr-millida-shape);
  background: var(--mr-millida-panel-paint);
  border-radius: 0;
  opacity: 1;
  box-shadow: var(--mr-millida-depth-panel);
}

/* An open in-place popover must escape the panel's isolated painted face.
 * Keep its DOM ancestry: reaction handlers resolve their owning surface there.
 * Only the open panel rises; closing restores normal document paint order.
 * Bootstrap dialogs remain portalled to body above this non-modal layer. */
html[data-bs-theme] body :is(.mr-service-panel,.mr-reference-card,.mr-server-detail-hero,.mr-server-side-card,.mr-server-content-card,.mr-analytics-panel,.mr-pricing-panel,.mr-server-soft-detail-card,.mr-account-card,.mr-server-social-card,.mr-article-card):has(:is(.mr-reaction-popover:not([hidden]),.mr-comment-reaction-picker:not([hidden]),.dropdown-menu.show)) {
  z-index: 1040;
}
html[data-bs-theme] body .mr-reference-card.has-card-glow {
  --mr-millida-panel-paint: linear-gradient(rgba(var(--mr-card-glow-color),.18),rgba(var(--mr-card-glow-color),.18)),var(--mr-millida-surface-1);
}
html[data-bs-theme] body .mr-reference-card.has-card-glow::before {
  content:''; position:absolute; inset:5px auto 5px 0; width:4px;
  background:rgb(var(--mr-card-glow-color)); opacity:1; animation:none;
  border:0; border-radius:0; padding:0; mask:none; -webkit-mask:none;
  pointer-events:none; z-index:0;
}
html[data-bs-theme] body :is(.mr-service-panel,.mr-reference-card,.mr-server-detail-hero,.mr-server-side-card,.mr-server-content-card,.mr-analytics-panel,.mr-pricing-panel,.mr-server-soft-detail-card,.mr-account-card,.mr-server-social-card,.mr-article-card) :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link) { --mr-millida-cut: .3125rem; }
html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link):focus-visible {
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 2px var(--mr-millida-bg),inset 0 0 0 4px var(--mr-millida-focus),var(--mr-millida-control-face);
}
html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link):active:not(:disabled):not([aria-disabled="true"]) {
  --mr-millida-control-face: var(--mr-millida-depth-action-pressed);
  transform: translateY(2px);
}
html[data-bs-theme] body :is(.btn,.page-link):is(:disabled,.disabled,[aria-disabled="true"]) {
  background: var(--mr-millida-disabled); color: var(--mr-millida-disabled-foreground);
  --mr-millida-control-face: var(--mr-millida-depth-muted);
  opacity: 1; transform: none;
}
@media (hover:hover) and (pointer:fine) {
  html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line):hover:not(:disabled):not(.disabled):not([aria-disabled="true"]):not(:active) { transform: translateY(-2px); }
}
@media (prefers-reduced-motion:reduce) {
  html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link) { transition: none; }
  html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link):is(:hover,:active) { transform: none !important; }
}
@media (forced-colors:active) {
  html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link) { clip-path: none; border: 1px solid ButtonText; }
  html[data-bs-theme] body :is(.btn,.mr-catalog-filter-trigger,.mr-topbar-search-page-link,.mr-theme-toggle,.mr-server-card-vote-button,.mr-server-card-copy-line,.page-link):focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* Derived complexes keep the shared card shell and ordinary mode URLs. */
.mr-server-complex-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.2rem .45rem; font-size:.75rem; color:var(--mr-millida-fg); background:var(--mr-millida-surface-2); }
.mr-server-complex-members { font-size:.8125rem; margin:.5rem 0; min-width:0; }
.mr-server-complex-members summary { cursor:pointer; font-weight:600; }
.mr-server-complex-members summary:focus-visible { outline:2px solid var(--mr-millida-focus); outline-offset:3px; }
.mr-server-complex-members ul { display:grid; gap:.5rem; padding:0; margin:.5rem 0; list-style:none; }
.mr-server-complex-members li { display:grid; gap:.125rem; min-width:0; }
.mr-server-complex-members :is(a,code) { overflow-wrap:anywhere; }
.mr-server-complex-context { margin:.35rem 0; font-size:.75rem; color:var(--mr-millida-fg-muted); }
.mr-server-complex-select-label { display:grid; gap:.25rem; min-width:0; font-size:.75rem; }
.mr-server-complex-select-label select { width:100%; min-width:0; max-width:100%; }


/* Shared page families; layout stays in their existing component sheets. */
@font-face {
  font-family: 'MR JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/millida/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'MR JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/millida/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root { --bs-font-monospace: 'MR JetBrains Mono',ui-monospace,monospace; }
:root,html[data-bs-theme="light"] {
  --bs-body-bg-rgb: 246,247,247;
  --bs-body-color-rgb: 32,36,35;
  --bs-link-color-rgb: 7,85,184;
}
html[data-bs-theme="dark"] {
  --bs-body-bg-rgb: 22,23,24;
  --bs-body-color-rgb: 237,239,238;
  --bs-link-color-rgb: 138,184,255;
}
/* Bootstrap text utilities carry !important; preserve that utility contract
 * with the readable link token rather than the button-fill color in dark mode. */
html[data-bs-theme] body .text-primary { color: var(--mr-millida-link) !important; }
html[data-bs-theme] body .text-info { color: var(--bs-info-text-emphasis) !important; }
html[data-bs-theme] body .text-success { color: var(--bs-success-text-emphasis) !important; }
html[data-bs-theme] body .text-warning { color: var(--bs-warning-text-emphasis) !important; }
html[data-bs-theme] body .text-danger { color: var(--bs-danger-text-emphasis) !important; }
html[data-bs-theme] body :is(.btn-outline-primary,.btn-outline-success) {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-link);
  border-color: var(--mr-millida-border-subtle);
}
html[data-bs-theme] body :is(.btn-outline-primary,.btn-outline-success):hover {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-link);
}
html[data-bs-theme] body :is(code,kbd,pre,samp) { font-family: var(--bs-font-monospace); }
html[data-bs-theme] body :is(.mr-server-detail-hero,.mr-server-ip-summary-card,.mr-server-sticky-copy-card,.mr-server-social-card) {
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-subtle);
}
html[data-bs-theme] body :is(.mr-server-detail-tagline,.mr-server-detail-copy-stats,.mr-server-ip-summary,.mr-server-social-copy,.mr-server-social-audience) {
  color: var(--mr-millida-fg-muted);
}
html[data-bs-theme] body :is(.mr-server-ip-summary,.mr-server-detail-copy-stats,.mr-server-social-copy) strong { color: var(--mr-millida-fg); }
html[data-bs-theme] body :is(.mr-server-detail-copy-label,.mr-server-detail-copy-line .form-control) {
  color: var(--mr-millida-fg);
  background: var(--mr-millida-field);
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-field);
}
/* Sticky positioning belongs to the original rule; changing position here
 * would move the block and break the owner's layout constraint. */
html[data-bs-theme] body .mr-server-sticky-copy-card {
  background: var(--mr-millida-surface-1);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-panel);
}
html[data-bs-theme] body :is(.mr-server-owner-link,.mr-server-ip-summary-item i) { color: var(--mr-millida-link); }
html[data-bs-theme] body .mr-server-owner-pill strong { color: var(--mr-millida-fg); }
html[data-bs-theme] body .mr-server-detail-rank {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-muted);
}
html[data-bs-theme] body .mr-server-detail-rank small { color: var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-reference-card .mr-server-card-copy-line.is-bedrock :is(.mr-server-card-copy-type,.mr-server-card-copy-icon) { color: var(--mr-millida-link); }
html[data-bs-theme] body .mr-server-copy-integrity-note,
html[data-bs-theme] body :is(.mr-server-ip-summary-card,.mr-server-sticky-copy-card) .mr-copy-integrity-note {
  color: var(--mr-millida-fg);
  background: var(--mr-millida-surface-2);
}
html[data-bs-theme] body :is(.mr-server-ip-summary-card,.mr-server-sticky-copy-card) .mr-copy-integrity-note span { color: var(--mr-millida-fg-muted); }
html[data-bs-theme] body :is(.mr-service-stat,.mr-server-content-filter,.mr-server-content-card-source-chip,.mr-server-owner-pill) {
  border-radius: 0;
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  box-shadow: var(--mr-millida-depth-muted);
}
html[data-bs-theme] body .mr-server-content-filter:is(.active,:hover),
html[data-bs-theme] body .mr-server-content-card-source-chip:hover {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-link);
}
html[data-bs-theme] body :is(.mr-analytics-table-shell,.mr-server-chart-shell) {
  background: var(--mr-millida-surface-1);
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body :is(.mr-service-panel,.mr-account-card,.mr-analytics-panel,.mr-pricing-panel) .card {
  background: var(--mr-millida-surface-2);
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body :is(.mr-server-analytics-widget,.mr-server-backlink-status) {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-subtle);
  border-radius: 0;
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body .mr-server-analytics-widget-grid > * {
  background: var(--mr-millida-surface-1);
  border-radius: 0;
  border-color: var(--mr-millida-border-subtle);
}
html[data-bs-theme] body .mr-copy-integrity-note {
  background: var(--mr-millida-accent-soft);
  border-color: transparent;
  border-radius: 0;
}
html[data-bs-theme] body .mr-copy-integrity-note > i { color: var(--mr-millida-link); }
html[data-bs-theme] body .mr-server-detail-hero .btn-info {
  background: var(--mr-millida-accent);
  color: var(--mr-millida-on-accent);
  border-color: transparent;
  --mr-millida-control-face: var(--mr-millida-depth-action);
}
html[data-bs-theme] body .mr-server-detail-hero .btn-info:hover { background: var(--mr-millida-accent-hover); }
html[data-bs-theme] body .mr-server-detail-hero .btn-info:active { background: var(--mr-millida-accent-pressed); }
html[data-bs-theme] body .mr-server-detail-hero .btn-outline-warning {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-color: transparent;
}
html[data-bs-theme] body .mr-auth-form button[class^="TelegramButton"] {
  border-radius: 0;
  clip-path: polygon(0 5px,5px 5px,5px 0,calc(100% - 5px) 0,calc(100% - 5px) 5px,100% 5px,100% calc(100% - 5px),calc(100% - 5px) calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 5px),0 calc(100% - 5px));
  box-shadow: var(--mr-millida-depth-action);
  background: var(--mr-millida-accent);
  color: var(--mr-millida-on-accent);
  font-family: var(--mr-millida-font-sans);
}
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target,.mr-status-platform-tabs label > span) {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-radius: 0;
  border-color: transparent;
  box-shadow: var(--mr-millida-depth-panel);
  font-family: var(--mr-millida-font-sans);
  transition: transform 120ms ease-out;
  clip-path: polygon(0 5px,5px 5px,5px 0,calc(100% - 5px) 0,calc(100% - 5px) 5px,100% 5px,100% calc(100% - 5px),calc(100% - 5px) calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 5px),0 calc(100% - 5px));
}
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target).is-active,
html[data-bs-theme] body .mr-status-platform-tabs input:checked + span {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target):focus-visible,
html[data-bs-theme] body .mr-status-platform-tabs input:focus-visible + span {
  box-shadow: inset 0 0 0 2px var(--mr-millida-bg),inset 0 0 0 4px var(--mr-millida-focus),var(--mr-millida-depth-panel);
  outline: 2px solid transparent;
}
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-period,.mr-pricing-target) :is(i,strong,span) { color: inherit; }
html[data-bs-theme] body :is(.mr-pricing-selection,.mr-pricing-summary,.mr-payment-method-button) { border-radius: 0; }
html[data-bs-theme] body .mr-article-card img { border-radius: 0; }
html[data-bs-theme] body .mr-article-card-footer a { color: var(--mr-millida-link) !important; }
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target):is(:disabled,[aria-disabled="true"]) {
  background: var(--mr-millida-disabled);
  color: var(--mr-millida-disabled-foreground);
  box-shadow: var(--mr-millida-depth-muted);
  transform: none;
}
@media (hover:hover) and (pointer:fine) {
  html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target):hover:not(:disabled):not([aria-disabled="true"]) { transform: translateY(-2px); }
}
html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target):active:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(2px);
  box-shadow: none;
}
@media (prefers-reduced-motion:reduce) {
  html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target,.mr-status-platform-tabs label > span) { transition: none; transform: none !important; }
}
@media (forced-colors:active) {
  html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target,.mr-status-platform-tabs label > span,.mr-auth-form button[class^="TelegramButton"]) { clip-path: none; border: 1px solid ButtonText; }
  html[data-bs-theme] body :is(.mr-promotion-product,.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target,.mr-auth-form button[class^="TelegramButton"]):focus-visible,
  html[data-bs-theme] body .mr-status-platform-tabs input:focus-visible + span { outline: 2px solid Highlight; outline-offset: 2px; }
}
html[data-bs-theme] body .mr-auth-form button[class^="TelegramButton"]:focus-visible {
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 2px var(--mr-millida-bg),inset 0 0 0 4px var(--mr-millida-focus),var(--mr-millida-depth-action);
}

/* Explicit legacy radii found in the 42-route rendered survey. These are
 * component surfaces, not a global reset: avatars, crop handles and animated
 * spinners retain their functional geometry. No layout dimensions change. */
html[data-bs-theme] body :is(.mr-topbar-online,.mr-discovery-pause-control,
  .mr-discovery-pulse-item,.mr-service-sidebar-link,.mr-catalog-active-chip,
  .mr-catalog-reset-link,.mr-server-card-copy-status,.mr-new-server-row,
  .mr-server-card-favorite-button,.mr-server-detail-copy-button,.mr-contact-link,
  .mr-video-provider,.mr-video-play,.mr-play-here-toggle,.mr-reaction-button,
  .mr-reaction-tool,.mr-content-video-play,.mr-article-preview,.mr-article-nav-link,
  .mr-analytics-period,.mr-analytics-live,.mr-pricing-position-shift,
  .mr-server-reference-date,.mr-footer-social-link,.mr-owner-cockpit-owned-server,
  .mr-owner-cockpit-monitoring-row,.mr-mtock-entry),
html[data-bs-theme] body .mr-catalog-quick-row a,
html[data-bs-theme] body .mr-analytics-segments button {
  border-radius: 0;
}
html[data-bs-theme] body :is(.mr-new-servers-block,.mr-seo-intent-metric,
  .mr-server-detail-metric,.mr-server-content-source-sort-proof,
  .mr-server-content-reference-metric-accent,.mr-server-content-wipe-date,
  .mr-content-liquidity-metric,.mr-pricing-selected-server,.mr-pricing-selected-icon,
  .mr-pricing-target-summary,.mr-add-precheck-panel,.mr-crossplay-form,
  .mr-server-reference-content-list,.mr-analytics-segments,.mr-footer-social,
  .mr-owner-panel,.mr-owner-mode,.mr-owner-video-card) {
  border-radius: 0;
  background: var(--mr-millida-surface-2);
  border-color: var(--mr-millida-border-subtle);
  box-shadow: var(--mr-millida-depth-muted);
}
html[data-bs-theme] body :is(.mr-server-content-card-media,.mr-recharts-skeleton) {
  border-radius: 0;
}
html[data-bs-theme] body :is(.mr-catalog-search,.mr-analytics-search,.mr-server-detail-copy-input) {
  border-radius: 0;
  background: var(--mr-millida-field);
  color: var(--mr-millida-fg);
  border-color: var(--mr-millida-border-subtle);
  box-shadow: var(--mr-millida-depth-field);
}
html[data-bs-theme] body :is(.mr-discovery-pause-control,.mr-discovery-pulse-item,
  .mr-catalog-active-chip,.mr-catalog-reset-link,.mr-reaction-button,.mr-reaction-tool,
  .mr-article-nav-link,.mr-analytics-period,.mr-pricing-position-shift,
  .mr-footer-social-link),
html[data-bs-theme] body .mr-catalog-quick-row a,
html[data-bs-theme] body .mr-analytics-segments button {
  background: var(--mr-millida-surface-2);
  color: var(--mr-millida-fg);
  border-color: transparent;
  box-shadow: var(--mr-millida-depth-muted);
}
html[data-bs-theme] body :is(.mr-discovery-pause-control,.mr-discovery-pulse-item,
  .mr-catalog-active-chip,.mr-catalog-reset-link,.mr-reaction-button,.mr-reaction-tool,
  .mr-article-nav-link,.mr-analytics-period,.mr-footer-social-link):is(:hover,.active,.is-active),
html[data-bs-theme] body .mr-catalog-quick-row a:is(:hover,.active),
html[data-bs-theme] body .mr-analytics-segments button.active,
html[data-bs-theme] body .mr-service-sidebar-link:is(:hover,.active),
html[data-bs-theme] body .mr-owner-cockpit-owned-server.active {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-link);
  box-shadow: var(--mr-millida-depth-muted);
}
html[data-bs-theme] body :is(.mr-discovery-pause-control,.mr-discovery-pulse-item,
  .mr-service-sidebar-link,.mr-reaction-button,.mr-reaction-tool,.mr-article-nav-link,
  .mr-analytics-period,.mr-footer-social-link,.mr-owner-cockpit-owned-server):focus-visible,
html[data-bs-theme] body .mr-catalog-quick-row a:focus-visible,
html[data-bs-theme] body .mr-analytics-segments button:focus-visible {
  outline: 2px solid var(--mr-millida-focus);
  outline-offset: -2px;
}
/* Existing payment-provider utility rules are important too. Keep the
 * selected method distinct while matching both account and pricing views. */
html[data-bs-theme] body .mr-payment-method-button {
  border-radius: 0 !important;
  background: var(--mr-millida-surface-2) !important;
}
html[data-bs-theme] body .mr-payment-method-button.border-primary {
  background: var(--mr-millida-accent-soft) !important;
}
html[data-bs-theme] body .mr-service-sidebar.is-reference-spacing .mr-service-sidebar-link {
  border-radius: 0;
}
/* Inline monochrome SVGs otherwise default to black in the dark footer. */
html[data-bs-theme] body .mr-footer-social-link svg { fill: currentColor; }
html[data-bs-theme] body .mr-service-sidebar.is-reference-spacing .mr-service-sidebar-link:is(:hover,.active) {
  background: var(--mr-millida-accent-soft);
  color: var(--mr-millida-link);
  box-shadow: var(--mr-millida-depth-muted);
}
/* Let the explanatory caption wrap below its heading on narrow screens.
 * Its intrinsic word width must not enlarge the whole document. */
.mr-server-comment-heading { flex-wrap: wrap; }
.mr-server-comment-heading > p { min-width: 0; overflow-wrap: anywhere; }

/* Nested detail, owner and feed components have their own high-specificity
 * and important radius rules. Retire their shapes explicitly, without
 * touching avatar circles, status dots or spinner arcs. */
html[data-bs-theme] body :is(.mr-topbar-auth-action,.mr-topbar-profile-action,
  .mr-icon-button,.mr-server-detail-copy-input,.mr-server-detail-copy-button,
  .mr-server-owner-link,.mr-video-teaser-card,.mr-server-reference-source,
  .mr-server-tags-more,.mr-server-social-icon,.mr-server-social-cta,
  .mr-server-social-audience,.mr-server-media-trust-badge,.mr-server-owner-quality-risk,
  .mr-server-complaints-count,.mr-server-complaint-login,.mr-server-comment,
  .mr-analytics-profile-pill,.mr-pricing-recent-scroll,.mr-pricing-purchase-chip,
  .mr-pricing-proof,.mr-pricing-proof-source,.mr-pricing-proof-card,
  .mr-mtock-entry,.mr-owner-cockpit-score,.mr-owner-cockpit-check,
  .mr-owner-cockpit-free-stars-item,.mr-owner-platform,.badge,.nav-link),
html[data-bs-theme] body .mr-infinite-scroll-action-group .btn,
html[data-bs-theme] body .mr-seo-intent-hub-card-meta > span,
html[data-bs-theme] body .mr-server-detail-page .table-responsive,
html[data-bs-theme] body .mr-server-comment-main-editor .form-control,
html[data-bs-theme] body .mr-server-owner-quality-legend li,
html[data-bs-theme] body .mr-server-bottom-navigation-card [class$="Container"],
html[data-bs-theme] body .mr-server-content-reference-metrics > div,
html[data-bs-theme] body .mr-server-content-news-card-meta > :is(time,span,a),
html[data-bs-theme] body .mr-server-content-card video,
html[data-bs-theme] body .mr-server-content-pagination > :is(a,span),
html[data-bs-theme] body .mr-server-content-detail-source-body-head > strong,
html[data-bs-theme] body .mr-server-content-reference-chip-strip > a,
html[data-bs-theme] body .mr-pricing-proof-card > i,
html[data-bs-theme] body .mr-server-widget-empty > i,
html[data-bs-theme] body .mr-mtock-entry > strong,
html[data-bs-theme] body .mr-server-editor-nav > a,
html[data-bs-theme] body .mr-owner-cockpit-server-actions > span,
html[data-bs-theme] body .mr-owner-cockpit-monitoring-meta > span,
html[data-bs-theme] body .mr-owner-cockpit-check > i,
html[data-bs-theme] body .mr-owner-cockpit-action > i,
html[data-bs-theme] body .mr-owner-cockpit-mini-list > li,
html[data-bs-theme] body .mr-owner-cockpit-next-list > a,
html[data-bs-theme] body .mr-owner-density > button,
html[data-bs-theme] body .mr-owner-filters > a {
  border-radius: 0 !important;
}

@font-face { font-family:'MR JetBrains Mono'; font-style:normal; font-weight:100 800; font-display:swap; src:url('fonts/millida/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'MR JetBrains Mono'; font-style:normal; font-weight:100 800; font-display:swap; src:url('fonts/millida/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
:root { --mr-millida-font-mono:'MR JetBrains Mono',monospace; }
/* MCRATING-OWNER-ANNOTATIONS-20261016: measured mk-input, mk-pill, mk-copy-ip,
 * mk-metrics and mk-sdet. The outer service sidebar is deliberately not targeted. */
html[data-bs-theme] body :is(.mr-topbar-search,.mr-catalog-search) {
  position:relative; isolation:isolate; border:0; background:transparent; box-shadow:none;
}
html[data-bs-theme] body :is(.mr-topbar-search,.mr-catalog-search)::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:var(--mr-millida-surface-2); --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape);
}
html[data-bs-theme] body :is(.mr-topbar-search-input,.mr-catalog-search input) {
  min-height:46px; padding-block:0; border:0; background:transparent; box-shadow:none; font-size:14px;
}
html[data-bs-theme] body .mr-topbar-search-input { min-height:40px; }
html[data-bs-theme] body :is(.form-control,.form-select):not(.mr-topbar-search-input):not(.mr-server-detail-copy-input) {
  min-height:46px; border:1px solid transparent; border-radius:0; background-color:var(--mr-millida-surface-2);
  color:var(--mr-millida-fg); --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); box-shadow:none; font-size:14px;
}
html[data-bs-theme] body textarea.form-control { min-height:112px; }
html[data-bs-theme] body :is(.form-control,.form-select):focus {
  outline:0; box-shadow:inset 0 0 0 2px var(--mr-millida-focus);
}
html[data-bs-theme] body :is(.mr-topbar-search,.mr-catalog-search):focus-within::before {
  box-shadow:inset 0 0 0 2px var(--mr-millida-focus);
}
html[data-bs-theme] body :is(.mr-catalog-quick-row a,.mr-filter-chip,.mr-catalog-active-chip,.mr-server-tag-chip,.mr-server-card-tag-vote,.mr-server-card-tag-more) {
  display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:4px 12px;
  font-size:13px; font-weight:600; line-height:1.5; border:0; border-radius:0;
  background:color-mix(in srgb,var(--mr-millida-fg) 10%,transparent); color:var(--mr-millida-fg-muted);
  --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); box-shadow:none; transform:none;
}
html[data-bs-theme] body :is(.mr-catalog-quick-row a,.mr-filter-chip,.mr-catalog-active-chip,.mr-server-tag-chip,.mr-server-card-tag-vote,.mr-server-card-tag-more):is(:hover,.active,[aria-pressed="true"]) {
  color:var(--mr-millida-fg); background:color-mix(in srgb,var(--mr-millida-fg) 16%,transparent); transform:none;
}
html[data-bs-theme] body :is(.mr-catalog-quick-row a,.mr-filter-chip,.mr-catalog-active-chip,.mr-server-tag-chip):focus-visible {
  outline:0; box-shadow:inset 0 0 0 2px var(--mr-millida-focus);
}
html[data-bs-theme] body .mr-server-card-copy-line {
  min-height:48px; padding:0 16px; gap:10px; border:0; border-radius:0;
  background:var(--mr-millida-bg); color:var(--mr-millida-fg);
  font-family:var(--mr-millida-font-mono); font-size:14px; font-weight:700;
  --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); box-shadow:inset 0 -3px 0 rgb(0 0 0 / .3);
}
html[data-bs-theme] body .mr-server-card-copy-line .mr-server-card-copy-address { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; }
html[data-bs-theme] body .mr-server-card-copy-line .bi-clipboard { color:#5ec64d; }
html[data-bs-theme] body .mr-catalog-live-summary {
  display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px; padding:0; border:0; background:transparent; box-shadow:none;
}
html[data-bs-theme] body .mr-catalog-live-item {
  display:inline-flex; flex:0 1 auto; align-items:center; gap:6px; min-height:36px; padding:6px 12px;
  border:0; border-radius:0; background:color-mix(in srgb,var(--mr-millida-fg) 7%,transparent);
  --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); color:var(--mr-millida-fg-muted); font-size:13px; line-height:1.4;
}
html[data-bs-theme] body .mr-catalog-live-item strong { font-size:16px; color:var(--mr-millida-fg); }
html[data-bs-theme] body .mr-catalog-live-item.is-online { background:color-mix(in srgb,#5ec64d 15%,transparent); color:#3e992e; }
html[data-bs-theme="dark"] body .mr-catalog-live-item.is-online { color:#68d957; }
html[data-bs-theme] body .mr-catalog-live-item.is-online strong { color:inherit; }
html[data-bs-theme] body .mr-server-detail-hero { padding:0; }
.mr-server-detail-cover { width:100%; aspect-ratio:5.5; min-height:100px; overflow:hidden; background:var(--mr-millida-surface-2); }
.mr-server-detail-cover img { width:100%; height:100%; object-fit:contain; }
html[data-bs-theme] body .mr-server-detail-hero-content { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; padding:24px; }
html[data-bs-theme] body .mr-server-detail-identity { grid-column:1/-1; align-items:center; }
html[data-bs-theme] body .mr-server-detail-icon { width:96px; max-width:96px; height:96px; object-fit:cover; flex-shrink:0; border-radius:0; }
html[data-bs-theme] body .mr-server-detail-title { font-size:clamp(22px,2.2vw,32px); line-height:1.15; font-weight:800; overflow-wrap:anywhere; }
.mr-server-detail-primary-copy { display:grid; gap:10px; min-width:0; align-self:start; }
.mr-server-hero-copy {
  display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:0; width:100%; min-height:76px;
  padding:12px 20px; color:#10230b; background:#5ec64d; border:0; border-radius:0;
  --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); box-shadow:inset 0 -5px 0 rgb(0 0 0 / .2),inset 0 3px 0 rgb(255 255 255 / .25); cursor:pointer;
}
.mr-server-hero-copy:hover { background:#72d45f; }
.mr-server-hero-copy:focus-visible { outline:0; box-shadow:inset 0 0 0 3px var(--mr-millida-focus); }
.mr-server-hero-copy-address { display:grid; gap:3px; min-width:0; text-align:left; }
.mr-server-hero-copy-address small { font-size:11px; text-transform:uppercase; font-weight:700; opacity:.75; }
.mr-server-hero-copy-address strong { font-size:clamp(16px,2vw,25px); line-height:1.2; overflow-wrap:anywhere; }
.mr-server-hero-copy-action { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; background:rgb(0 0 0 / .1); --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); font-size:13px; font-weight:700; flex-shrink:0; }
html[data-bs-theme] body .mr-server-detail-actions { align-self:center; }
.mr-server-overview-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin:24px 0; }
.mr-server-overview-metrics > div { padding:16px; min-width:0; background:var(--mr-millida-surface-1); --mr-millida-cut:5px; clip-path:var(--mr-owner-control-shape); }
.mr-server-overview-metrics dt { font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--mr-millida-fg-muted); }
.mr-server-overview-metrics dd { margin:6px 0 0; font-size:18px; font-weight:750; overflow-wrap:anywhere; }
.mr-server-overview-metrics dd small { display:block; margin-top:3px; font-size:12px; font-weight:500; color:var(--mr-millida-fg-muted); }
.mr-server-overview-metrics > div:first-child { background:color-mix(in srgb,#5ec64d 18%,var(--mr-millida-surface-1)); }
@media (min-width:992px) {
  .mr-server-detail-grid > .mr-server-detail-content { width:100%; }
}
@media (max-width:767.98px) {
  html[data-bs-theme] body .mr-server-detail-hero-content { grid-template-columns:minmax(0,1fr); padding:16px; gap:16px; }
  html[data-bs-theme] body .mr-server-detail-icon { width:64px; max-width:64px; height:64px; }
  html[data-bs-theme] body .mr-server-detail-actions { width:100%; }
  .mr-server-overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mr-server-overview-metrics > div { padding:12px; }
  .mr-server-hero-copy { padding:12px; gap:8px; }
  .mr-server-hero-copy-action { padding:8px; }
}
@media (forced-colors:active) {
  html[data-bs-theme] body :is(.form-control,.form-select,.mr-server-hero-copy,.mr-catalog-live-item,.mr-catalog-quick-row a,.mr-server-tag-chip) { clip-path:none; border:1px solid CanvasText; }
}

html[data-bs-theme] body .mr-reference-card .mr-server-card-tag-list { max-height:70px; }
html[data-bs-theme] body .mr-catalog-quick-row a { --mr-millida-control-face:none; box-shadow:none; }
html[data-bs-theme] body .mr-catalog-search input { width:100%; min-width:0; min-height:46px; padding:0 16px 0 40px; outline:0; }
@media (max-width:767.98px) {
 .mr-server-hero-copy-address small,.mr-server-overview-metrics dt { font-size:12px; }
}

:root { --mr-owner-control-shape:polygon(0 5px,5px 5px,5px 0,calc(100% - 5px) 0,calc(100% - 5px) 5px,100% 5px,100% calc(100% - 5px),calc(100% - 5px) calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,5px calc(100% - 5px),0 calc(100% - 5px)); }
html[data-bs-theme] body .mr-catalog-search > i { position:absolute; left:16px; top:50%; transform:translateY(-50%); pointer-events:none; }

/* Owner follow-up 2026-10-16: distinct painted metrics, measured from Millida. */
html[data-bs-theme="dark"] body .mr-catalog-live-item.is-servers { background:#232426; }
html[data-bs-theme="light"] body .mr-catalog-live-item.is-servers { background:#e0e5e2; }
html[data-bs-theme] body .mr-catalog-live-item.is-online { background:rgb(94 198 77 / .17); color:#286c1e; }
html[data-bs-theme="dark"] body .mr-catalog-live-item.is-online { color:#70d55f; }
html[data-bs-theme] body .mr-catalog-live-item.is-online :is(strong,i) { color:inherit; }

.mr-server-detail-grid > .mr-server-detail-content { order:0; }
.mr-server-detail-grid > .mr-server-detail-aside { order:1; }

/* Long public names and native-size banners must never widen the detail shell. */
html[data-bs-theme] body .mr-server-detail-shell { grid-template-columns:minmax(0,1fr); }
html[data-bs-theme] body .mr-server-detail-shell > * { min-width:0; max-width:100%; }
html[data-bs-theme] body .mr-server-detail-cover img { min-width:0; max-width:100%; }
.mr-catalog-filter-close { display:none; }
.mr-metric-label-short { display:none; }

@media (max-width:767.98px) {
  html[data-bs-theme] body .mr-catalog-live-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  html[data-bs-theme] body .mr-catalog-live-item { min-width:0; min-height:36px; padding:6px 8px; gap:4px; flex-direction:row; justify-content:flex-start; font-size:12px; }
  html[data-bs-theme] body .mr-catalog-live-item strong { font-size:14px; }
  html[data-bs-theme] body .mr-catalog-live-item > span[data-short] { font-size:12px; }
  html[data-bs-theme] body .mr-catalog-live-item > span[data-short]::after { display:none; content:none; }
  html[data-bs-theme] body .mr-metric-label-short { display:inline; font-size:12px; }
  html[data-bs-theme] body .mr-metric-label-full { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  html[data-bs-theme] body .mr-catalog-live-item:nth-child(n+3) { background:transparent; min-height:28px; padding-block:2px; }
  html[data-bs-theme] body .mr-server-detail-hero-content { gap:12px; padding:12px; }
  html[data-bs-theme] body .mr-server-detail-identity { align-items:flex-start; gap:12px; }
  html[data-bs-theme] body .mr-server-detail-identity > .min-w-0 { flex:1; min-width:0; }
  html[data-bs-theme] body .mr-server-detail-cover { min-height:0; }
  html[data-bs-theme] body .mr-server-detail-title { font-size:22px; text-align:left; }
  html[data-bs-theme] body .mr-server-detail-tagline { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; white-space:normal; overflow-wrap:anywhere; text-align:left; }
  .mr-server-hero-copy { min-height:64px; }
  .mr-server-hero-copy-address { flex:1; }
  .mr-server-hero-copy-address strong { font-size:16px; }
  .mr-server-hero-copy-action { width:36px; height:36px; justify-content:center; padding:8px; font-size:0; }
  .mr-server-hero-copy-action i { font-size:18px; }
  .mr-server-overview-metrics { margin:16px 0; }
  html[data-bs-theme] body .mr-main-banner .mr-main-description { display:none; }
  html[data-bs-theme] body .mr-catalog-active-filters.is-empty { display:none; }
  html[data-bs-theme] body .mr-catalog-filter-toolbar { gap:6px; }
  html[data-bs-theme] body .mr-catalog-filter-trigger { min-height:44px; }
  html[data-bs-theme] body .mr-catalog-search { order:-1; }
  html[data-bs-theme] body :is(input.form-control,textarea.form-control,.form-select,.mr-catalog-search input,.mr-topbar-search-input,[data-mr-filter-search]) { font-size:16px!important; }
  html[data-bs-theme] body .mr-catalog-filter-menu { position:fixed!important; inset:auto 12px 12px!important; width:auto; min-width:0; max-width:none; max-height:calc(100dvh - 96px); transform:none!important; overflow:auto; overscroll-behavior:contain; z-index:1050; }
  html[data-bs-theme] body .mr-catalog-filter-close { display:flex; align-items:center; justify-content:flex-end; width:100%; min-height:44px; padding:6px 10px; position:sticky; top:0; z-index:2; border:0; color:var(--mr-millida-fg); background:var(--mr-millida-surface-2); font:inherit; font-size:14px; font-weight:600; line-height:1.4; }
  html[data-bs-theme] body .mr-reference-card { padding:12px; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-grid { gap:10px; }
  html[data-bs-theme] body .mr-reference-card:not([data-mr-server-card-variant="people-rating"]) .mr-server-card-grid { grid-template-areas:'icon text' 'badges badges' 'connect connect' 'motd motd' 'tags tags' 'vote actions'; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-title-row { gap:5px; margin-bottom:5px; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-title { font-size:14px; line-height:1.3; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-description { -webkit-line-clamp:2!important; line-clamp:2; max-height:39px!important; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-summary-footer { gap:5px; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-mini-badge { min-height:28px; }
  html[data-bs-theme] body .mr-reference-card .mr-server-card-expand-button { min-height:44px; }
}


/* MCRATING-REFERENCE-B-20261018: measured Millida controls and owner annotations.
 * Base sizes are shared; compact controls retain a separate 32px density tier. */
html[data-bs-theme] body .btn:not(.btn-link) {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; height:auto; padding:12px 24px 16px; font-size:14px; font-weight:650; line-height:1.25;
  --mr-millida-cut:5px;
}

html[data-bs-theme] body .btn.btn-sm:not(.btn-link) { min-height:40px; padding:8px 14px 10px; font-size:13px; }
/* Retire the legacy mobile service-panel rule forcing .26rem !important. */
html[data-bs-theme] body .mr-service-panel .btn:not(.btn-link) { padding-block:12px 16px!important; }
html[data-bs-theme] body .mr-service-panel .btn.btn-sm:not(.btn-link) { padding-block:8px 10px!important; }

/* B04/B05/B07/B08/B11–B14. Painted faces never clip their interaction layer. */
html[data-bs-theme] body .mr-discovery-pulse-item {
  min-height:40px; gap:8px; padding:6px 12px; border:0; border-radius:0;
  background:var(--mr-millida-surface-2); box-shadow:var(--mr-millida-depth-muted);
  clip-path:var(--mr-owner-control-shape);
}
.mr-discovery-avatar { width:24px; height:24px; object-fit:cover; image-rendering:pixelated; flex:none; }
html[data-bs-theme] body :is(.mr-card-glow-option,.mr-card-glow-preview,.mr-pricing-purchase-chip.is-card-glow) {
  background:linear-gradient(rgba(var(--mr-card-glow-color),.18),rgba(var(--mr-card-glow-color),.18)),var(--mr-millida-surface-1);
  border-color:rgba(var(--mr-card-glow-color),.5); border-radius:0;
  box-shadow:var(--mr-millida-depth-muted); color:var(--mr-millida-fg);
}
html[data-bs-theme] body .mr-card-glow-option.is-active { outline:2px solid rgb(var(--mr-card-glow-color)); outline-offset:2px; }
html[data-bs-theme] body .mr-server-content-stack { gap:24px; }
html[data-bs-theme] body :is(.mr-server-content-card,.mr-server-side-card) { padding:20px; }
html[data-bs-theme] body .mr-server-tags-section-list { display:flex; flex-wrap:wrap; gap:8px; }
html[data-bs-theme] body .mr-tag-feedback-chip {
  display:inline-flex; max-width:100%; gap:2px; padding:0; overflow:visible;
  border:0; border-radius:0; background:transparent; box-shadow:none;
}
html[data-bs-theme] body .mr-tag-feedback-divider { display:none; }
.mr-tag-feedback-status:empty { display:none; }
.mr-tag-feedback-status { font-size:13px; color:var(--mr-millida-fg-muted); }
html[data-bs-theme] body :is(.mr-tag-feedback-link,.mr-tag-feedback-button) {
  min-height:32px; padding:4px 8px; border:0; border-radius:0; line-height:1.3;
  background:var(--mr-millida-surface-2)!important; color:var(--mr-millida-fg-muted);
  clip-path:var(--mr-owner-control-shape); box-shadow:none;
}
html[data-bs-theme] body .mr-tag-feedback-link { flex:1 1 auto; max-width:230px; white-space:normal; overflow-wrap:anywhere; }
html[data-bs-theme] body .mr-tag-feedback-button { flex:none; min-width:36px; gap:4px; font-size:12px; }
html[data-bs-theme] body .mr-tag-feedback-button:is(:hover,[aria-pressed="true"]) { color:var(--mr-millida-fg); background:var(--mr-millida-accent-soft)!important; }
html[data-bs-theme] body .mr-tag-feedback-like[aria-pressed="true"] { color:var(--bs-success-text-emphasis); }
html[data-bs-theme] body .mr-tag-feedback-dislike[aria-pressed="true"] { color:var(--bs-danger-text-emphasis); }
html[data-bs-theme] body :is(.mr-tag-feedback-link,.mr-tag-feedback-button):focus-visible { outline:0; box-shadow:inset 0 0 0 2px var(--mr-millida-focus)!important; }
html[data-bs-theme] body .mr-server-reference-content-columns { display:none; }
html[data-bs-theme] body .mr-server-reference-content-list { display:grid; gap:12px; }
html[data-bs-theme] body .mr-server-reference-content-row {
  display:grid; grid-template-columns:44px minmax(0,1fr) auto;
  grid-template-areas:'avatar identity date' 'avatar copy copy' '. type source';
  gap:6px 12px; padding:14px; margin:0; border:1px solid var(--mr-millida-border-subtle);
  border-radius:0; background:var(--mr-millida-surface-1); box-shadow:var(--mr-millida-depth-muted);
  clip-path:var(--mr-owner-control-shape); align-items:start;
}
.mr-server-reference-avatar { grid-area:avatar; width:44px; height:44px; object-fit:cover; image-rendering:pixelated; align-self:start; }
.mr-server-reference-identity { grid-area:identity; min-width:0; overflow-wrap:anywhere; font-weight:700; color:var(--mr-millida-fg); text-decoration:none; }
html[data-bs-theme] body .mr-server-reference-copy { grid-area:copy; min-width:0; }
html[data-bs-theme] body .mr-server-reference-copy > a { text-decoration:none; }
html[data-bs-theme] body :is(.mr-server-reference-copy > a,.mr-server-reference-identity):hover { text-decoration:underline; }
html[data-bs-theme] body .mr-server-reference-date {
  grid-area:date; display:flex; flex-direction:row; align-items:center; justify-content:flex-start;
  gap:4px; width:auto; min-width:0; min-height:0; padding:0; background:none; border:0; box-shadow:none;
}
html[data-bs-theme] body .mr-server-reference-date :is(strong,small,.mr-server-reference-year) { font-size:12px; font-weight:500; color:var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-server-reference-date strong { order:-1; }
html[data-bs-theme] body .mr-server-reference-type { grid-area:type; justify-self:start; }
html[data-bs-theme] body .mr-server-reference-source { grid-area:source; justify-self:end; max-width:none; }
html[data-bs-theme] body .mr-server-comment-section { padding:0; }
html[data-bs-theme] body [data-mr-comment-editor] { padding:20px; background:var(--mr-millida-surface-2); }
.mr-review-editor-help { color:var(--mr-millida-fg-muted); font-size:14px; line-height:1.6; margin:0 0 16px; }
html[data-bs-theme] body .mr-server-comment-main-editor textarea { min-height:160px; }
html[data-bs-theme] body .mr-server-comment-empty { padding:32px 16px; text-align:center; color:var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-server-tab-pills { gap:8px; padding:2px 0; margin:0 0 16px; }
html[data-bs-theme] body .mr-server-tab-pills .nav-link {
  min-height:36px; padding:8px 12px!important; border:0; border-radius:0;
  background:var(--mr-millida-surface-2); color:var(--mr-millida-fg-muted); clip-path:var(--mr-owner-control-shape);
}
html[data-bs-theme] body .mr-server-tab-pills .nav-link.active { background:var(--mr-millida-accent-soft); color:var(--mr-millida-fg); }
html[data-bs-theme] body .mr-server-ranking-board .table { --bs-table-bg:transparent; font-size:13px; }
html[data-bs-theme] body .mr-server-ranking-board .table td { padding:10px 8px; vertical-align:middle; }
html[data-bs-theme] body .mr-server-ranking-board .bg-warning-subtle { background:color-mix(in srgb,#5ec64d 16%,var(--mr-millida-surface-1))!important; }
html[data-bs-theme] body .mr-server-related-section { margin-top:24px; }
html[data-bs-theme] body .mr-server-related-section .mr-similar-server-list-items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
html[data-bs-theme] body .mr-similar-server-card { min-width:0; padding:12px; border-radius:0; background:var(--mr-millida-surface-1); box-shadow:var(--mr-millida-depth-muted); }
html[data-bs-theme] body .mr-similar-server-card-body { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:10px; align-items:center; padding:0; }
.mr-similar-server-avatar { width:40px; height:40px; object-fit:cover; image-rendering:pixelated; }
.mr-similar-server-copy { display:grid; gap:4px; min-width:0; }
.mr-similar-server-copy strong { font-size:13px; color:var(--mr-millida-fg); overflow-wrap:anywhere; }
.mr-similar-server-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-similar-server-status { display:flex; align-items:center; gap:4px; font-size:12px; color:var(--mr-millida-fg-muted); }
html[data-bs-theme] body .mr-similar-server-status.is-online { color:var(--bs-success-text-emphasis); }
@media (max-width:991.98px) {
  html[data-bs-theme] body .mr-server-related-section .mr-similar-server-list-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767.98px) {
  html[data-bs-theme] body :is(.mr-server-content-card,.mr-server-side-card) { padding:16px; }
  html[data-bs-theme] body .mr-server-content-stack { gap:16px; }
  html[data-bs-theme] body :is(.mr-tag-feedback-link,.mr-tag-feedback-button) { min-height:44px; }
  html[data-bs-theme] body .mr-tag-feedback-button { min-width:44px; padding-inline:6px; }
  html[data-bs-theme] body .mr-server-reference-content-row { grid-template-columns:32px minmax(0,1fr); grid-template-areas:'avatar identity' 'avatar date' 'copy copy' 'type source'; gap:6px 8px; padding:12px; }
  .mr-server-reference-avatar { width:32px; height:32px; }
  html[data-bs-theme] body [data-mr-comment-editor] { padding:12px; }
  html[data-bs-theme] body .mr-server-comment-form-actions .btn { width:100%; white-space:normal; }
}
@media (max-width:575.98px) {
  html[data-bs-theme] body .mr-server-related-section .mr-similar-server-list-items { grid-template-columns:minmax(0,1fr); }
}

/* B15/B16: account menu in the native top layer, player passport beside servers. */
body.mr-account-menu-open { overflow:hidden; }
html[data-bs-theme] body dialog.mr-account-menu {
  position:fixed; inset:64px max(16px,calc((100vw - 1440px)/2)) auto auto;
  margin:0; width:360px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 80px);
  padding:12px; border:1px solid var(--mr-millida-border-subtle); border-radius:0;
  color:var(--mr-millida-fg); background:var(--mr-millida-surface-2);
  box-shadow:var(--mr-millida-depth-panel),0 16px 40px rgb(0 0 0/.3); overflow:auto; overscroll-behavior:contain;
}
.mr-account-menu::backdrop { background:rgb(0 0 0/.3); }
.mr-account-menu-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-bottom:12px; }
.mr-account-menu-head > a { display:flex; gap:12px; align-items:center; min-width:0; color:inherit; text-decoration:none; }
.mr-account-menu-head img { flex:none; width:44px; height:44px; image-rendering:pixelated; }
.mr-account-menu-head span { display:grid; gap:4px; min-width:0; overflow-wrap:anywhere; }
.mr-account-menu-head small { color:var(--mr-millida-fg-muted); font-size:12px; }
.mr-account-menu-head > button { flex:none; width:44px; height:44px; }
.mr-account-menu-balance { display:flex; gap:12px; padding:16px; align-items:center; background:var(--mr-millida-surface-1); color:var(--mr-millida-fg-muted); text-decoration:none; }
.mr-account-menu-balance span { display:grid; font-size:12px; gap:3px; }
.mr-account-menu-balance strong { font-size:22px; color:var(--bs-success-text-emphasis); }
.mr-account-menu-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0; }
.mr-account-menu-grid a { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 12px; color:var(--mr-millida-fg-muted); background:var(--mr-millida-surface-1); clip-path:var(--mr-owner-control-shape); text-decoration:none; font-size:13px; overflow-wrap:anywhere; }
.mr-account-menu-grid a:hover { color:var(--mr-millida-fg); background:var(--mr-millida-accent-soft); }
.mr-account-menu-grid a:focus-visible { outline:0; box-shadow:inset 0 0 0 2px var(--mr-millida-focus); }
.mr-account-menu form > .btn { width:100%; }
html[data-bs-theme] body .mr-profile-shell { display:grid; grid-template-columns:minmax(250px,320px) minmax(0,1fr); align-items:start; gap:24px; }
html[data-bs-theme] body .mr-profile-hero { display:flex; flex-direction:column; align-items:stretch; gap:16px; padding:20px; background:var(--mr-millida-surface-1); border:0; border-radius:0; box-shadow:var(--mr-millida-depth-panel); clip-path:var(--mr-owner-control-shape); }
html[data-bs-theme] body .mr-topbar-profile-action { width:40px; height:40px; padding:6px; border:0; border-radius:0; background:var(--mr-millida-surface-2); clip-path:var(--mr-owner-control-shape); }
html[data-bs-theme] body .mr-profile-pill .mr-topbar-avatar { width:28px; height:28px; border-radius:0; image-rendering:pixelated; }
html[data-bs-theme] body .mr-profile-body { min-width:0; }
html[data-bs-theme] body .mr-profile-public-stack { display:grid; gap:20px; }
html[data-bs-theme] body .mr-profile-public-stack > :is(article,section) { min-width:0; padding:20px; border:0; background:var(--mr-millida-surface-1); box-shadow:var(--mr-millida-depth-panel); clip-path:var(--mr-owner-control-shape); }
html[data-bs-theme] body :is(.mr-profile-owned-server-grid,.mr-profile-play-here-grid) { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
html[data-bs-theme] body :is(.mr-profile-owned-server-card,.mr-profile-play-here-card) { padding:12px; border:0; background:var(--mr-millida-surface-2); clip-path:var(--mr-owner-control-shape); }
html[data-bs-theme] body :is(.mr-profile-owned-server-card,.mr-profile-play-here-card):hover { background:var(--mr-millida-accent-soft); }
html[data-bs-theme] body .mr-profile-hero .mr-profile-title { font-size:26px; line-height:1.2; overflow-wrap:anywhere; }
html[data-bs-theme] body .mr-profile-hero :is(.mr-profile-title-row,.mr-profile-meta,.mr-profile-inline-summary) { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
html[data-bs-theme] body .mr-profile-skin { min-width:0; max-width:100%; }
html[data-bs-theme] body .mr-profile-skin .mr-native-skin-stage { height:320px; min-height:320px; background:color-mix(in srgb,#5ec64d 12%,var(--mr-millida-surface-1)); }
.mr-profile-skin [data-profile-skin-placeholder] { width:96px; height:96px; object-fit:cover; image-rendering:pixelated; align-self:center; justify-self:center; }
.mr-profile-skin [data-skin-status] { font-size:12px; }
.mr-profile-skin [data-skin-flat] { width:170px; height:272px; }
html[data-bs-theme] body .mr-people-rating-history-next { right:0; }
html[data-bs-theme] body .mr-play-here-label { min-height:28px; display:inline-flex; align-items:center; }
html[data-bs-theme] body .mr-profile-avatar-upload { width:32px; height:32px; }
html[data-bs-theme] body .mr-account-overview-native-card:has(> .mr-profile-skin) { display:grid; grid-template-columns:minmax(200px,280px) minmax(0,1fr); gap:20px; }
.mr-account-overview-native-card > .mr-profile-skin { grid-row:1/4; }
@media (max-width:991.98px) {
  html[data-bs-theme] body .mr-profile-shell { grid-template-columns:minmax(0,1fr); gap:16px; }
  html[data-bs-theme] body .mr-profile-skin .mr-native-skin-stage { height:300px; min-height:300px; }
}
@media (max-width:767.98px) {
  html[data-bs-theme] body dialog.mr-account-menu { top:56px; right:12px; max-height:calc(100dvh - 68px); }
  html[data-bs-theme] body .mr-account-menu-grid a { font-size:12px; padding:8px; gap:6px; }
  .mr-account-menu-grid .bi { flex:none; width:16px; }
  html[data-bs-theme] body .btn.btn-sm:not(.btn-link) { min-height:44px; }
  html[data-bs-theme] body .mr-play-here-label { min-height:44px; }
  html[data-bs-theme] body :is(.mr-profile-avatar-upload,.mr-people-rating-history-next) { width:44px; height:44px; }
  .mr-mobile-header-row:has([data-mr-account-menu-open]) .mr-mobile-online-pill { display:inline-flex; }
  .mr-mobile-profile-action { width:44px; height:44px; flex:none; padding:8px; }
  .mr-mobile-profile-action img { image-rendering:pixelated; }
  html[data-bs-theme] body .mr-profile-hero { padding:16px; }
  html[data-bs-theme] body .mr-profile-public-stack > :is(article,section) { padding:16px; }
  html[data-bs-theme] body .mr-account-overview-native-card:has(> .mr-profile-skin) { grid-template-columns:minmax(0,1fr); }
  .mr-account-overview-native-card > .mr-profile-skin { grid-row:auto; }
  html[data-bs-theme] body .mr-server-ranking-board .mr-leaderboard-server-name { white-space:normal; overflow-wrap:anywhere; max-width:none; }
  html[data-bs-theme] body .mr-server-ranking-board .mr-leaderboard-server-icon { width:24px; height:24px; min-width:24px; }
}
html[data-bs-theme] body :is(.btn-primary,.btn-success) {
  --bs-btn-bg:#5ec64d; --bs-btn-color:#06200e; --bs-btn-border-color:transparent;
  --bs-btn-hover-bg:#70d55f; --bs-btn-hover-color:#06200e; --bs-btn-hover-border-color:transparent;
  --bs-btn-active-bg:#4eaf3f; --bs-btn-active-color:#06200e; --bs-btn-active-border-color:transparent;
  --mr-millida-control-face:inset 0 3px 0 rgb(255 255 255/.34),inset 0 -7px 0 rgb(0 0 0/.30),inset 3px 0 0 rgb(255 255 255/.12),inset -3px 0 0 rgb(0 0 0/.16),inset 0 0 0 2px rgb(0 0 0/.16);
  background:var(--bs-btn-bg); color:var(--bs-btn-color); border-color:transparent;
}
html[data-bs-theme] body .mr-catalog-filter-toolbar { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
html[data-bs-theme] body .mr-catalog-filter-toolbar > * { width:100%; min-width:0; max-width:none; }
html[data-bs-theme] body .mr-catalog-filter-toolbar :is(.mr-catalog-filter-trigger,.mr-catalog-search) {
  width:100%; min-width:0; min-height:44px; margin:0; padding:0 12px; box-sizing:border-box;
}
html[data-bs-theme] body .mr-catalog-filter-trigger { justify-content:space-between; }
html[data-bs-theme] body .mr-catalog-search input { min-width:0; width:100%; }
html[data-bs-theme] body .mr-server-detail-action-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
html[data-bs-theme] body .mr-server-detail-action-buttons > .btn { width:100%; padding-inline:16px; }
html[data-bs-theme] body .mr-server-detail-actions { min-width:0; }
html[data-bs-theme] body .mr-server-detail-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
html[data-bs-theme] body :is(.mr-server-detail-metric,.mr-server-detail-rank) { min-width:0; min-height:40px; padding:6px 8px; justify-content:center; }
html[data-bs-theme] body .mr-server-detail-cover { aspect-ratio:auto; min-height:0; padding:0; margin:0; }
html[data-bs-theme] body .mr-server-detail-cover img { display:block; width:100%; height:auto; object-fit:cover; }
html[data-bs-theme] body .mr-server-detail-hero:has(> .mr-server-detail-cover) .mr-server-detail-icon {
  margin-top:-56px; align-self:flex-start; border:4px solid var(--mr-millida-surface-1); position:relative; z-index:1;
}
html[data-bs-theme] body .mr-theme-toggle { width:36px; min-width:36px; height:36px; padding:0; display:inline-grid; place-items:center; }
html[data-bs-theme] body :is(.mr-theme-toggle-glyph,.mr-mobile-theme-toggle-icons) { display:inline-grid; place-items:center; width:24px; height:24px; padding:0; background:none; border:0; box-shadow:none; }
html[data-bs-theme] body [data-mr-theme-toggle] [data-mr-theme-icon] { width:24px; height:24px; align-items:center; justify-content:center; font-size:19px; opacity:1; color:var(--mr-millida-fg); }
html[data-bs-theme] body [data-mr-theme-toggle][data-mr-theme="dark"] [data-mr-theme-icon="dark"],
html[data-bs-theme] body [data-mr-theme-toggle][data-mr-theme="light"] [data-mr-theme-icon="light"] { display:none; }
html[data-bs-theme] body [data-mr-theme-toggle][data-mr-theme="dark"] [data-mr-theme-icon="light"],
html[data-bs-theme] body [data-mr-theme-toggle][data-mr-theme="light"] [data-mr-theme-icon="dark"] { display:inline-flex; }
@media (min-width:768px) and (max-width:1199.98px) {
  html[data-bs-theme] body .mr-catalog-filter-toolbar { grid-template-columns:repeat(4,minmax(0,1fr)); }
  html[data-bs-theme] body .mr-catalog-filter-toolbar > .mr-catalog-search { grid-column:1/-1; order:-1; }
}
@media (max-width:767.98px) {
  html[data-bs-theme] body .mr-catalog-filter-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-bs-theme] body .mr-catalog-filter-toolbar > .mr-catalog-search { grid-column:1/-1; order:-1; }
  html[data-bs-theme] body .mr-server-detail-hero:has(> .mr-server-detail-cover) .mr-server-detail-icon { width:80px; max-width:80px; height:80px; margin-top:-40px; }
  html[data-bs-theme] body .mr-server-detail-identity { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; align-items:start; }
  html[data-bs-theme] body .mr-server-detail-identity > .min-w-0 { width:100%; }
  html[data-bs-theme] body .mr-server-detail-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-bs-theme] body .mr-server-detail-rank { grid-column:1/-1; min-height:28px; flex-direction:row; gap:6px; }
  html[data-bs-theme] body .mr-server-detail-action-buttons > .btn { padding-inline:12px; }
  html[data-bs-theme] body .mr-server-detail-action-buttons { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:768px) {
  html[data-bs-theme] body .mr-reference-card .mr-server-card-expand-button { min-height:32px; }
}

/* Owner bdf99df8: the ribbon crosses a full header face, starts flush at
 * its top and returns behind its lower edge. Reference: 7d2a8273 PNG. */
:root { --mr-shell-sticky-top:88px; scroll-padding-top:88px; }
html[data-bs-theme] body :is(.mr-topbar,.mr-mobile-topbar) {
  --mr-header-face:72px;
  background:var(--mr-millida-surface-1); color:var(--mr-millida-fg);
  border:0; box-shadow:inset 0 -4px 0 rgb(0 0 0/.15),0 4px 0 rgb(0 0 0/.10);
  overflow:visible;
}
/* The lower face belongs to the whole header and covers the return of the
 * ribbon. It is a painted depth layer, never an interactive overlay. */
html[data-bs-theme] body :is(.mr-topbar,.mr-mobile-topbar)::after {
  content:""; position:absolute; left:0; right:0; top:100%; height:8px; z-index:3; pointer-events:none;
  background:linear-gradient(180deg,color-mix(in srgb,var(--mr-millida-surface-1) 78%,#000),color-mix(in srgb,var(--mr-millida-surface-1) 92%,#000));
  box-shadow:0 3px 4px rgb(0 0 0/.12);
}
html[data-bs-theme] body .mr-topbar-inner { height:72px; min-height:72px; padding-block:0; }
html[data-bs-theme] body .mr-topbar-inner > .mr-topbar-nav { height:72px; align-self:stretch; }
html[data-bs-theme] body .mr-topbar-nav > .nav-item { display:flex; align-items:center; height:72px; }
html[data-bs-theme] body .mr-topbar-nav > .nav-item:has(> .mr-topbar-mtock-entry) { align-items:flex-start; }
html[data-bs-theme] body .mr-topbar-spacer { min-height:80px; }
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) {
  position:relative; isolation:isolate; display:inline-flex; flex-direction:column;
  align-items:center; justify-content:flex-start; align-self:flex-start;
  flex:0 0 56px; width:56px; min-width:56px; height:72px; min-height:72px;
  gap:4px; margin:0 6px; padding:12px 0 14px; box-sizing:border-box;
  background:transparent; color:#fff; border:0; box-shadow:none; border-radius:0;
  clip-path:none; text-decoration:none; overflow:visible; z-index:1;
}
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::before,
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::after {
  content:""; position:absolute; pointer-events:none; z-index:-1;
  clip-path:inset(0);
}
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::before { inset:0; background:var(--mr-ribbon-edge,#56d86a); }
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::after {
  inset:0 2px; background:linear-gradient(155deg,var(--mr-ribbon-light,#11783d),var(--mr-ribbon-dark,#03452d));
  box-shadow:inset 2px 0 rgb(255 255 255/.12);
}
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) > i { font-size:20px; line-height:22px; }
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) :is(.mr-mtock-entry-label,.mr-online-badge-label) {
  display:block; font-size:12px; line-height:16px; letter-spacing:.15px; font-weight:800;
}
/* The visible bend darkens toward the underside; its last8px and the rear
 * continuation are occluded by the full-width header lower face above. */
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) :is(.mr-mtock-entry-label,.mr-online-badge-label)::before {
  content:""; position:absolute; top:calc(var(--mr-header-face) - 8px); left:0; right:0;
  height:16px; z-index:0; pointer-events:none;
  background:linear-gradient(180deg,var(--mr-ribbon-light,#11783d),var(--mr-ribbon-dark,#03452d) 42%,var(--mr-ribbon-back,#012516));
  clip-path:polygon(0 0,100% 0,100% 40%,calc(100% - 4px) 70%,calc(100% - 8px) 100%,8px 100%,4px 70%,0 40%);
}
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) :is(.mr-mtock-entry-label,.mr-online-badge-label)::after {
  content:""; position:absolute; top:var(--mr-header-face); left:4px; right:4px;
  height:8px; z-index:-2; pointer-events:none; background:var(--mr-ribbon-back,#012516);
}
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge):hover { color:#fff; background:transparent; }
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge):hover::after { background:linear-gradient(155deg,var(--mr-ribbon-hover,#168447),var(--mr-ribbon-dark,#065b38)); }
html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge):focus-visible { outline:2px solid var(--mr-millida-focus); outline-offset:-4px; box-shadow:none; }
@media (max-width:767.98px) {
  :root { --mr-shell-sticky-top:72px; scroll-padding-top:72px; }
  html[data-bs-theme] body .mr-mobile-topbar { --mr-header-face:56px; height:56px; min-height:56px; padding-block:0; align-items:center; }
  html[data-bs-theme] body .mr-mobile-topbar-spacer { min-height:64px; }
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) { flex-basis:48px; width:48px; min-width:48px; height:56px; min-height:56px; padding-top:6px; gap:3px; margin-inline:4px; }
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) > i { font-size:18px; line-height:20px; }
}
@media (forced-colors:active) {
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) { color:LinkText; border:1px solid LinkText; }
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::before,
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge)::after,
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) :is(.mr-mtock-entry-label,.mr-online-badge-label)::before,
  html[data-bs-theme] body a:is(.mr-topbar-mtock-entry,.mr-header-online-badge) :is(.mr-mtock-entry-label,.mr-online-badge-label)::after { display:none; }
}

/* Owner follow-up 2026-10-18: one detail column, no duplicate sidebar. */
html[data-bs-theme] body .mr-server-detail-grid > .mr-server-detail-content { width:100%; }
html[data-bs-theme] body .mr-server-detail-icon {
  background:color-mix(in srgb,var(--mr-millida-surface-1) 35%,transparent);
  backdrop-filter:blur(16px) saturate(.8); -webkit-backdrop-filter:blur(16px) saturate(.8);
  overflow:hidden; isolation:isolate;
}
html[data-bs-theme] body .mr-server-detail-favorite {
  --bs-btn-bg:#a9424c; --bs-btn-color:#fff; --bs-btn-hover-bg:#91343e;
  --bs-btn-hover-color:#fff; --bs-btn-active-bg:#7c2b35; --bs-btn-active-color:#fff;
  --mr-millida-control-face:inset 0 3px 0 rgb(255 255 255/.24),inset 0 -5px 0 rgb(0 0 0/.24),inset 2px 0 rgb(255 255 255/.10),inset -2px 0 rgb(0 0 0/.14);
  width:100%; min-height:44px; gap:8px; background:var(--bs-btn-bg); color:#fff;
  border:0; margin:0; padding:10px 14px; font-weight:700;
}
html[data-bs-theme] body .mr-server-detail-favorite:hover { background:var(--bs-btn-hover-bg); }
html[data-bs-theme] body .mr-server-detail-favorite.is-favorite { background:#81323f; }
.mr-server-favorite-count { padding:2px 7px; background:rgb(0 0 0/.16); font-variant-numeric:tabular-nums; }
.mr-server-review-rating { padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--mr-millida-border); }
html[data-bs-theme] body .mr-play-here-toggle {
  width:48px; min-width:48px; height:48px; min-height:48px; padding:4px;
  justify-content:center; border-radius:0; background:transparent; box-shadow:none; clip-path:none;
}
html[data-bs-theme] body .mr-play-here-toggle .mr-play-here-block {
  display:block; flex:0 0 36px; width:36px; height:36px; border-radius:0;
  background:url('/img/grass_block_side.png') center/100% 100% no-repeat;
  image-rendering:pixelated; transform:none; transition:none;
  box-shadow:inset 3px 3px rgb(255 255 255/.2),inset -4px -4px rgb(0 0 0/.28),0 3px 0 rgb(0 0 0/.22);
}
html[data-bs-theme] body .mr-play-here-toggle[aria-pressed="true"] { background:transparent; }
html[data-bs-theme] body .mr-play-here-toggle[aria-pressed="true"]::after {
  content:'✓'; position:absolute; right:0; bottom:0; width:20px; height:20px;
  display:grid; place-items:center; background:#347c32; color:#fff; font-size:16px; font-weight:800;
  border:2px solid var(--mr-millida-surface-1);
}
html[data-bs-theme] body .mr-play-here-toggle:hover .mr-play-here-block { filter:brightness(1.12); }
html[data-bs-theme] body .mr-server-comment-main-editor .form-label { display:block; margin:0 0 8px; font-size:14px; font-weight:700; }
html[data-bs-theme] body .mr-server-comment-section .mr-server-comment-main-editor textarea.form-control {
  min-height:160px; padding:14px 16px; line-height:1.6; font-size:16px; resize:vertical;
  background:var(--mr-millida-bg); color:var(--mr-millida-fg);
  border:1px solid color-mix(in srgb,var(--mr-millida-fg) 36%,var(--mr-millida-surface-2));
  box-shadow:inset 2px 2px 0 rgb(0 0 0/.12); border-radius:0; clip-path:none;
}
html[data-bs-theme] body .mr-server-comment-section .mr-server-comment-main-editor textarea.form-control:focus {
  border-color:var(--mr-millida-focus); outline:2px solid var(--mr-millida-focus); outline-offset:2px;
}
html[data-bs-theme] body .mr-server-comment-section .mr-server-comment-main-editor textarea.form-control::placeholder { color:var(--mr-millida-fg-muted); opacity:1; }
html[data-bs-theme] body .mr-comment-character-limit { display:block; margin-top:8px; font-size:12px; }

/* Owner D01-D19: the existing Millida faces, with fewer nested surfaces. */
html[data-bs-theme] body a.mr-header-online-badge {
  --mr-ribbon-edge:#6ab9ef; --mr-ribbon-light:#215c96; --mr-ribbon-dark:#163b67;
  --mr-ribbon-hover:#2b6ca8; --mr-ribbon-back:#102844;
  flex-basis:72px; width:72px; min-width:72px; gap:2px; padding:4px 0 6px;
}
html[data-bs-theme] body a.mr-header-online-badge > i { font-size:16px; line-height:16px; }
html[data-bs-theme] body a.mr-header-online-badge .mr-header-online-count {
  display:block; min-width:4ch; font-size:18px; font-weight:800; line-height:22px;
  text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; letter-spacing:0;
  color:#fff;
}
html[data-bs-theme] body a.mr-header-online-badge .mr-online-counter-digit { display:inline; margin:0; padding:0; }
html[data-bs-theme] body a.mr-header-online-badge .mr-online-counter-gap { display:inline; }
html[data-bs-theme] body a.mr-header-online-badge .mr-online-badge-label { font-size:12px; line-height:14px; }
html[data-bs-theme] body .mr-topbar-inner > .mr-header-online-badge { align-self:flex-start; margin-left:auto; margin-right:0; }
html[data-bs-theme] body .mr-topbar-inner > .mr-topbar-nav { margin-left:4px; }
html[data-bs-theme] body :is(.mr-service-panel,.mr-analytics-panel,.mr-account-card) {
  padding:clamp(16px,2vw,24px);
}
html[data-bs-theme] body :is(.mr-service-panel,.mr-analytics-panel,.mr-account-card) > :is(h1,h2,h3,h4,h5,h6) {
  margin:0 0 12px; line-height:1.35;
}
html[data-bs-theme] body .mr-server-comment-heading {
  padding:16px 20px; gap:8px 20px; border:0; align-items:baseline;
}
html[data-bs-theme] body .mr-server-comment-heading :is(h2,p) { margin:0; }
html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) .mr-server-board {
  padding:0; border:0; box-shadow:none; background:transparent; border-radius:0;
}
html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) :is(.table-responsive,table) {
  border:0; box-shadow:none; background:transparent; border-radius:0; margin-bottom:0;
}
html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) table {
  --bs-table-bg:transparent; --bs-table-striped-bg:transparent; --bs-table-border-color:var(--mr-millida-border-subtle);
}
html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) :is(th,td) {
  padding:12px; border-width:0 0 1px; border-color:var(--mr-millida-border-subtle); box-shadow:none;
}
html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) tbody tr:last-child > td { border-bottom:0; }
html[data-bs-theme] body .mr-server-tab-pills { gap:8px; margin:0 0 16px; padding:0; }
html[data-bs-theme] body .mr-server-tab-pills .nav-link { min-height:40px; padding:10px 14px!important; }
html[data-bs-theme] body .mr-server-chart-shell { padding:0; border:0; background:transparent; box-shadow:none; }
html[data-bs-theme] body .mr-server-chart-shell .nav-underline { gap:8px; }
html[data-bs-theme] body .mr-server-chart-shell .nav-link { min-height:40px; padding:10px 16px; }
html[data-bs-theme] body .mr-server-chart-shell .mr-recharts-canvas { padding:8px 0; }
html[data-bs-theme] body .mr-server-card-promo-group { display:inline-flex; align-items:center; flex:0 0 auto; gap:8px; max-width:100%; }
html[data-bs-theme] body .mr-server-card-title-row .mr-server-card-mtock-badge { flex:0 0 auto; align-self:center; margin:0; }

html[data-bs-theme] body .mr-pricing-layout { display:block; }
html[data-bs-theme] body .mr-pricing-checkout { width:100%; max-width:none; padding:clamp(16px,3vw,32px); gap:20px; }
html[data-bs-theme] body .mr-pricing-heading { margin-bottom:0; }
html[data-bs-theme] body .mr-pricing-heading p { margin:8px 0 0; max-width:65ch; }
html[data-bs-theme] body .mr-pricing-field { margin-bottom:0; }
html[data-bs-theme] body .mr-pricing-selected-server {
  display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:12px 16px;
  padding:16px; margin-top:12px; background:var(--mr-millida-surface-2); border:0;
}
html[data-bs-theme] body .mr-pricing-selection-preview { grid-column:1 / -1; min-width:0; padding-top:16px; border-top:1px solid var(--mr-millida-border-subtle); }
html[data-bs-theme] body .mr-pricing-selected-server.is-empty .mr-pricing-selection-preview { display:none; }
html[data-bs-theme] body .mr-pricing-selection-preview [data-mr-pricing-rating-surface] {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,1fr); align-items:center; gap:12px 24px;
}
html[data-bs-theme] body .mr-pricing-selection-preview [hidden] { display:none!important; }
html[data-bs-theme] body .mr-pricing-target-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; }
html[data-bs-theme] body .mr-pricing-target-summary { padding:0; margin:0; background:transparent; border:0; }
html[data-bs-theme] body .mr-pricing-position-shift { grid-column:2; grid-row:1 / 3; padding:12px 16px; margin:0; background:var(--mr-millida-surface-1); border:0; }
html[data-bs-theme] body .mr-pricing-ranking-details { grid-column:1 / -1; padding-top:4px; }
html[data-bs-theme] body .mr-pricing-ranking-details > summary { cursor:pointer; min-height:36px; padding:8px 0; color:var(--mr-millida-link); font-size:13px; }
html[data-bs-theme] body .mr-pricing-amount-control { display:flex; flex-wrap:wrap; gap:12px; background:transparent; border:0; padding:0; }
html[data-bs-theme] body .mr-pricing-amount-control input { flex:1 1 160px; min-width:0; padding:12px 16px; background:var(--mr-millida-surface-2); }
html[data-bs-theme] body .mr-pricing-amount-presets { display:flex; flex-wrap:wrap; gap:8px; padding:0; }
html[data-bs-theme] body :is(.mr-pricing-chip,.mr-pricing-period,.mr-pricing-target,.mr-promotion-product) {
  min-height:44px; padding:10px 16px 14px; font-size:14px; line-height:1.35;
}
html[data-bs-theme] body .mr-pricing-target { min-width:0; padding-inline:8px; }
html[data-bs-theme] body .mr-pricing-selected-stats [data-mr-selected-server-position] { display:none; }
html[data-bs-theme] body .mr-pricing-period-list { display:flex; flex-wrap:wrap; gap:10px; }
html[data-bs-theme] body .mr-pricing-summary { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; padding:20px 0; border:0; border-top:1px solid var(--mr-millida-border-subtle); background:transparent; }
html[data-bs-theme] body .mr-pricing-summary > div { flex:1 1 90px; min-width:0; }
html[data-bs-theme] body .mr-pricing-summary strong { overflow:visible; white-space:normal; }
html[data-bs-theme] body .mr-pricing-summary > div:last-child strong { font-size:22px; color:var(--mr-millida-fg); }
html[data-bs-theme] body [data-mr-payment-method-count="1"] { display:none!important; }
@media (max-width:359.98px) {
  html[data-bs-theme] body .mr-mobile-header-row:has([data-mr-account-menu-open]) .mr-mobile-logo .mr-brand-text { font-size:12px; }
  html[data-bs-theme] body .mr-mobile-header-row:has([data-mr-account-menu-open]) a.mr-header-online-badge { flex-basis:54px; width:54px; min-width:54px; }
}
@media (max-width:767.98px) {
  html[data-bs-theme] body a.mr-header-online-badge { flex-basis:58px; width:58px; min-width:58px; padding:2px 0 8px; gap:0; margin-inline:2px; }
  html[data-bs-theme] body a.mr-header-online-badge > i { font-size:12px; line-height:12px; }
  html[data-bs-theme] body a.mr-header-online-badge .mr-header-online-count { font-size:16px; line-height:18px; }
  html[data-bs-theme] body .mr-mobile-logo { min-width:0; flex:1 1 auto; }
  html[data-bs-theme] body .mr-mobile-logo .mr-brand { font-size:clamp(12px,4vw,16px); }
  html[data-bs-theme] body .mr-server-comment-heading { padding:16px; }
  html[data-bs-theme] body .mr-pricing-selection-preview [data-mr-pricing-rating-surface] { grid-template-columns:minmax(0,1fr); }
  html[data-bs-theme] body .mr-pricing-position-shift { grid-column:auto; grid-row:auto; }
  html[data-bs-theme] body .mr-pricing-selected-server { grid-template-columns:36px minmax(0,1fr); padding:12px; gap:12px; }
  html[data-bs-theme] body .mr-pricing-selected-stats { grid-column:2; display:flex; gap:16px; }
  html[data-bs-theme] body .mr-pricing-selected-icon { width:36px; height:36px; }
  html[data-bs-theme] body .mr-pricing-amount-presets { width:100%; }
  html[data-bs-theme] body .mr-pricing-summary { gap:16px; }
  html[data-bs-theme] body :is(.mr-server-signal-card-ranking,.mr-server-signal-card-favorite-tags,.mr-server-signal-card-votes) :is(th,td) { padding:10px 8px; }
}
