/* MINERALNAYA Dashboard 7.9.460 - OWNED components only.
   No generic .mnr-modal, .mnrpd-shell on foreign plugin pages, or body-wide button overrides. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned{
  --mnrfix-page:#a71c24;--mnrfix-panel:#831821;--mnrfix-card:#69131d;
  --mnrfix-ink:#fff;--mnrfix-muted:#f3cbd0;--mnrfix-line:rgba(255,255,255,.21);
  --mnrfix-soft:rgba(255,255,255,.075);--mnrfix-action:#ff2433;
  --brand-bg:var(--mnrfix-page);--brand-panel:var(--mnrfix-panel);--brand-panel-2:var(--mnrfix-card);
  --brand-line:var(--mnrfix-line);--brand-muted:var(--mnrfix-muted);
}
html[data-mnrpd-brand-theme="black"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned{
  --mnrfix-page:#08090c;--mnrfix-panel:#17191e;--mnrfix-card:#1e2127;
  --mnrfix-ink:#fff;--mnrfix-muted:#c0c5ce;--mnrfix-line:rgba(255,255,255,.15);
  --mnrfix-soft:rgba(255,255,255,.06);--mnrfix-action:#f7192c;
}
/* Only this Dashboard's app roots and actual dialogs. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned .mnrpd-shell[data-mnrpd-cabinet],
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned .mnrpd-shell[data-mnrpd-global-host]{--pd-bg:var(--mnrfix-page);--pd-card:var(--mnrfix-panel);--pd-line:var(--mnrfix-line);--pd-text:#fff}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-shell[data-mnrpd-brand-dashboard] .mnrpd-main,
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-shell[data-mnrpd-brand-dashboard] .mnrpd-canvas{background:var(--mnrfix-page)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-shell[data-mnrpd-brand-dashboard] :is(.mnrpd-balance-stage,.mnrpd-metric-dock>a,.mnrpd-command-links>a,.mnrpd-community-reminder,.mnrpd-covers-reminder,.mnrpd-feedback-reward-cta,.mnrpd-upcoming){background:var(--mnrfix-panel)!important;border:1px solid var(--mnrfix-line)!important;box-shadow:0 10px 25px rgba(56,0,8,.12)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-shell[data-mnrpd-brand-dashboard] :is(.mnrpd-metric-dock>a,.mnrpd-command-links>a):hover{background:var(--mnrfix-card)!important;transform:translateY(-2px);border-color:rgba(255,255,255,.4)!important}
/* Promotion launch / slider: brand burgundy, never an unmotivated black slab.
   Images on individual news slides remain untouched. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-stories-launch-banner,
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-news-slide:not(.has-cover),
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-news-slide:not(.has-cover) .mnrpd-news-slide-media{
 background:linear-gradient(118deg,#68111c,#8e1721 57%,#4d101a)!important;
 border-color:var(--mnrfix-line)!important;
}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-news-slide.has-cover{background-color:#5a1019!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-news-slide.has-cover .mnrpd-news-slide-media{background-image:linear-gradient(90deg,rgba(76,8,18,.97) 0%,rgba(76,8,18,.79) 45%,rgba(76,8,18,.22) 100%),var(--mnrpd-news-image)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-news-slide :is(h2,h3,p){color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account :is(.mnrpd-news-viewport,.mnrpd-stories-launch-wrap){border-color:var(--mnrfix-line)!important}
/* News headline strip on the home dashboard. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account :is(.mnd-important-news,.mnrpd-news-panel,.mnrpd-news-ticker){background:#6c101a!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account :is(.mnd-important-news,.mnrpd-news-panel) :is(h2,h3,p,small,span){color:#fff!important}
/* Profile popup: white icon was invisible on pale control from the old theme. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-profile-menu{background:#66111a!important;border:1px solid var(--mnrfix-line)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-profile-menu .mnrpd-profile-balance{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 background:#851a24!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important;
}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-profile-menu .mnrpd-profile-balance>i{
 display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;
 border:1px solid rgba(255,255,255,.2)!important;border-radius:12px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;
}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-profile-menu .mnrpd-profile-balance>i svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-profile-menu .mnrpd-profile-balance :is(strong,small){color:#fff!important}
/* Premium has a layered dark surface in either theme, not a flat dark-red box. */
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-dialog{
 background:linear-gradient(158deg,#191b25 0%,#101218 58%,#1b101a 100%)!important;
 border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;
 box-shadow:0 28px 86px rgba(0,0,0,.40)!important;
}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-center{color:#fff!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-mark{background:linear-gradient(135deg,#101c39,#172b52)!important;border:1px solid rgba(89,182,255,.32)!important;box-shadow:0 8px 24px rgba(40,118,239,.16)!important;overflow:hidden!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-brand-logo{display:block!important;width:36px!important;height:41px!important;max-width:75%!important;max-height:75%!important;object-fit:contain!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium :is(.mnrpd-premium-center-state,.mnrpd-premium-overview article,.mnrpd-premium-start article,.mnrpd-premium-feature-group,.mnrpd-premium-value-grid article,.mnrpd-premium-benefits>div,.mnrpd-premium-benefits-center>div,.mnrpd-premium-activity,.mnrpd-premium-activity-stats span,.mnrpd-premium-paid-period){background:#22232e!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;color:#fff!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-value{background:linear-gradient(120deg,#242235,#361520)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium :is(h2,h3,h4,strong,b){color:#fff!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium :is(.mnrpd-premium-overview small,.mnrpd-premium-value-grid small,.mnrpd-premium-start p,.mnrpd-premium-center-copy p){color:#d0cfdf!important}
html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-center-state{background:#23253b!important;border-color:rgba(89,182,255,.34)!important}
/* Crystals modal is 100% Dashboard-owned.  Keep its recognizable dark contrast,
   but the red theme now has garnet surfaces instead of the old black cards. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals .mnr-dialog{background:#6d111b!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals .mnr-head{background:#8b1721!important;border-bottom:1px solid var(--mnrfix-line)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals .mnr-body{background:#71121d!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals :is(.mnr-crystals-hero>div,.mnr-crystals-level-card,.mnr-crystals-box,.mnr-crystals-progress-card,.mnr-crystals-chip,.mnr-crystals-slot-btn,.mnr-crystals-history-card){background:#8d1c26!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals :is(.mnr-crystals-value,.mnr-crystals-level-name,.mnr-crystals-progress-value,.mnr-title,h4){color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals :is(.mnr-crystals-label,.mnr-crystals-hint,.mnr-crystals-progress-sub,.mnr-crystals-progress-foot,.mnr-crystals-progress-meta,.mnr-crystals-next,.mnr-crystals-box ul){color:#f2c7ce!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals :is(.mnr-table,.mnr-table td){background:#871b24!important;color:#fff!important;border-color:var(--mnrfix-line)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account #mnr-modal-crystals .mnr-table th{background:#65111a!important;color:#fff!important}
/* Royalty body & shell: fix the 300px black hole from an inherited root canvas. */
/* /royalty/ now owns its red palette and layout in royalty-red-469.css.
   Removed older high-specificity global rules that forced double frames. */
/* Community page is owned by Dashboard (not the release-list plugin). */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community,
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community .mnrpd-community-canvas{background:var(--mnrfix-page)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community :is(.mnrpd-community-stories,.mnrpd-feed,.mnrpd-feed-compose,.mnrpd-feed-post,.mnrpd-community-story-upload-dialog,.mnrpd-community-engagement-dialog){background:#7f1720!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community :is(.mnrpd-feed-compose textarea,.mnrpd-feed-compose select,.mnrpd-feed-comment-form input){background:#6a121b!important;color:#fff!important;border:1px solid var(--mnrfix-line)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community :is(.mnrpd-feed-compose textarea,.mnrpd-feed-comment-form input)::placeholder{color:#f3cad0!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community :is(.mnrpd-community-story-head p,.mnrpd-feed-head p,.mnrpd-feed-post-head small,.mnrpd-feed-release-copy small,.mnrpd-feed-release-copy em){color:var(--mnrfix-muted)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community :is(.mnrpd-feed-post,.mnrpd-feed-compose){box-shadow:0 10px 24px rgba(54,0,8,.11)!important}
/* Telegram is THIS plugin's integrations/telegram.php, not a generic dialog. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnr-tg-soft-dialog{background:linear-gradient(155deg,#68111a,#8b1c26)!important;border:1px solid var(--mnrfix-line)!important;color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnr-tg-soft-dialog :is(h2,p,.mnr-tg-soft-kicker){color:#fff!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnr-tg-soft-list span{background:rgba(255,255,255,.09)!important;color:#fff!important;border-color:var(--mnrfix-line)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnr-tg-soft-primary{background:#fff!important;color:#851b22!important;box-shadow:none!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnr-tg-soft-icon{background:rgba(255,255,255,.12)!important;color:#fff!important}
/* Header/sidebar motions remain local, and reduced-motion preferences respected. */
body.mnrpd-theme-owned .mnrpd-sidebar [data-mnrpd-icon-motion] svg{transform-origin:center;transition:transform .22s ease}
body.mnrpd-theme-owned .mnrpd-sidebar [data-mnrpd-icon-motion]:is(:hover,:focus-visible) svg{transform:scale(1.10) translateY(-1px)}
@media(prefers-reduced-motion:reduce){body.mnrpd-theme-owned .mnrpd-sidebar [data-mnrpd-icon-motion] svg{transition:none!important;transform:none!important}}
@media(max-width:760px){html[data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-owned #mnr-modal-premium .mnrpd-premium-center-hero .mnrpd-premium-mark{width:54px!important;height:54px!important}}

/* Collapsed top-news ticker also belongs to Feature Launch. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-stories-launch-wrap.is-collapsed .mnrpd-stories-launch-reopen{
 background:linear-gradient(100deg,#611019,#78141e)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:0 8px 25px rgba(55,0,8,.14)!important}
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-account .mnrpd-stories-launch-wrap :is(.mnrpd-stories-launch-reopen,.mnrpd-stories-launch-banner) :is(h3,p,strong,span){color:#fff!important}
/* Body layout of royalty retains its own fixed sidebar; reset inherited root gap, NOT foreign release pages. */
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-community .mnrpd-community-shell.is-dark .mnrpd-community-canvas{background:var(--mnrfix-page)!important}
/* Royalties legacy @media(min-width:1501px) capped the entire main content
   to 1224px and right-aligned it, leaving an enormous black gap after sidebar. */
@media(min-width:1501px){
html[data-mnrpd-brand-theme="red"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-royalty .mnrpd-royalties-shell.mnd > .mnrpd-main,
html[data-mnrpd-brand-theme="black"][data-mnrpd-brand-theme][data-mnrpd-brand-theme][data-mnrpd-brand-theme] body.mnrpd-theme-royalty .mnrpd-royalties-shell.mnd > .mnrpd-main{
 width:100%!important;max-width:none!important;justify-self:stretch!important;
}
}
