/* Scoped to the ReModernized player theme. Reuse its palette in the native modules. */
:root[data-reverse-theme="remodernized"] .rm-grid{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.9fr);grid-template-areas:"summary content" "extras content";grid-template-rows:min-content 1fr;gap:18px 22px}
:root[data-reverse-theme="remodernized"] .rm-summary{grid-area:summary}
:root[data-reverse-theme="remodernized"] .rm-content{grid-area:content}
:root[data-reverse-theme="remodernized"] .rm-extras{grid-area:extras}
:root[data-reverse-theme="remodernized"] :is(.rm-summary,.rm-content,.rm-extras){display:flex;flex-direction:column;min-width:0;gap:18px}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.rm-card,.rm-section,.profile-panel,.panel-content,.rv-profile-song,.profile-carousel-frame){width:100%;max-width:100%;min-width:0}
:root[data-reverse-theme="remodernized"] .rm-content :is(.profile-events-heading,.feedback-controls,.profile-comments-controls){flex-wrap:wrap}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.rm-card-head,.profile-comments-heading,.legacy-panel-header){height:auto;min-width:0;flex-wrap:wrap;row-gap:4px}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.profile-event-list,.profile-comment-body,.profile-comment-copy,.profile-comment-content,.profile-event-description,.rm-person,.rv-profile-song p){overflow-wrap:anywhere}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.profile-bio-shell,.profile-interest-tags,.profile-comments,.guestbook,.rv-profile-song){background-color:var(--rm-card);color:#e7eaf7}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.profile-panel-heading,.profile-panel-body,.feedback-controls,.rv-profile-song h3,.rv-song-title){color:#f7f8ff}
:root[data-reverse-theme="remodernized"] .rm-grid :is(.profile-comment,.profile-friend,.profile-guestbook-entry,.profile-comment-card){color:#e7eaf7;background-color:var(--rm-card-2);border-color:var(--rm-line)}
:root[data-reverse-theme="remodernized"] .rm-details .rv-sumo{--sumo-paper:var(--rm-card);--sumo-ink:#f5f6ff;--sumo-soft:var(--rm-card-2);--sumo-muted:#c8cee4;--sumo-line:#394363;--sumo-accent:#acdfff;color:var(--sumo-ink);background:var(--rm-card-2);border-color:var(--sumo-line)}
:root[data-reverse-theme="remodernized"] .rm-details .rv-sumo :is(.rv-sumo-profile-heading,.rv-minigames-game-link,.rv-minigames-rank-detail,.rv-minigames-rank-message){color:var(--sumo-muted)}
:root[data-reverse-theme="remodernized"] .rm-details .rv-minigames-rank-outbreak .rv-minigames-rank-title>strong{color:var(--tier-night,#f6a3aa);background:none}
:root[data-reverse-theme="remodernized"] .rm-details .rv-minigames-rank-exclusive .rv-minigames-rank-title>strong{background:none;color:#ffdca4}
:root[data-reverse-theme="remodernized"] .rm-details .rv-minigames-rank-outbreak.rv-minigames-rank-exclusive .rv-minigames-rank-title>strong{color:var(--tier-night,#ff9fad)}
:root[data-reverse-theme="remodernized"] .rm-extras .rv-profile-song{padding:14px 17px}
:root[data-reverse-theme="remodernized"] .rm-grid .rv-profile-song iframe{display:block;max-width:100%;border-radius:11px}
:root[data-reverse-theme="remodernized"] .rm-grid .rv-profile-song a{color:#a4e6ff}
:root[data-reverse-theme="remodernized"] .rm-grid .rv-profile-song button{background:#23304b;color:#f6f9ff;border:1px solid #445471}
:root[data-reverse-theme="remodernized"] .rm-grid .rm-showcase .rm-gallery{padding:clamp(12px,1.7vw,22px)}
:root[data-reverse-theme="remodernized"] .rm-profile .rm-name-row h1{font-size:clamp(36px,5.5vw,72px)}
:root[data-reverse-theme="remodernized"] .rm-profile .rm-hero{min-height:255px;padding:60px 0 32px}
:root[data-reverse-theme="remodernized"] .rm-profile .rm-avatar{width:clamp(110px,12vw,164px);height:clamp(110px,12vw,164px)}
:root[data-reverse-theme="remodernized"] .rm-profile :is(.rm-actions,.rm-identity){min-width:0}
:root[data-reverse-theme="remodernized"] .rm-grid .rating :is(.rating-stars,.rating-copy){min-width:0;max-width:100%}
:root[data-reverse-theme="remodernized"] .rm-details img[alt="vPoints"]{filter:brightness(0) invert(.94)}
:root[data-reverse-theme="remodernized"] .rm-grid :is(textarea,input:not([type=checkbox],[type=radio]),select){min-width:0;max-width:100%;color:#f3f6ff;background-color:#0c1128}
:root[data-reverse-theme="remodernized"] .rm-grid :is(textarea,input,select)::placeholder{color:#b7c2d9}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-wardrobe,.rv-thread-dialog){color-scheme:dark;--thread-ink:#f2f4ff;--thread-muted:#b9c3df;--thread-line:#364262;--thread-sheet:#121b35;font-family:var(--rm-font);color:var(--thread-ink);border-color:var(--thread-line);background:var(--rm-card)}
:root[data-reverse-theme="remodernized"] .rv-thread-head{background:linear-gradient(115deg,#182942,#1f2143 60%,#34233e);border-color:var(--thread-line)}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-drawer,.rv-thread-grid li,.rv-thread-category-nav,.rv-thread-wallet,.rv-thread-dialog){background:var(--thread-sheet);color:var(--thread-ink);border-color:var(--thread-line)}
:root[data-reverse-theme="remodernized"] .rv-thread-wallet{box-shadow:none}
:root[data-reverse-theme="remodernized"] .rv-thread-wardrobe :is(h1,h2,h3,strong),:root[data-reverse-theme="remodernized"] .rv-thread-dialog :is(h2,strong){color:var(--thread-ink)}
:root[data-reverse-theme="remodernized"] .rv-thread-category-icon,:root[data-reverse-theme="remodernized"] .rv-thread-badge{background:#2a2849;color:#e6c6fc}
:root[data-reverse-theme="remodernized"] .rv-thread-wallet svg{color:#caa8ff}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-wardrobe,.rv-thread-dialog) :is(button,select,input){background:var(--rm-card-2);color:var(--thread-ink);border-color:var(--thread-line)}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-wardrobe,.rv-thread-dialog) button:is(.rv-thread-primary,[aria-pressed=true]){background:#a8dcfc;color:#081528;border-color:#a8dcfc}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-wardrobe,.rv-thread-dialog) button:hover:not(:disabled){background:#253956;color:#fff;border-color:#8094b5}
:root[data-reverse-theme="remodernized"] :is(.rv-thread-wardrobe,.rv-thread-dialog) .rv-thread-art{background:radial-gradient(ellipse at 45% 42%,#34445c,#263047);border-color:var(--thread-line)}
:root[data-reverse-theme="remodernized"] .rv-thread-wardrobe .rv-thread-grid .rv-thread-item:hover{color:#fff;background:#1a2841;box-shadow:inset 0 0 0 2px #9ac9ed}
:root[data-reverse-theme="remodernized"] .rv-thread-price{color:#e8c0f1}
:root[data-reverse-theme="remodernized"] .rv-thread-receipt{background:#163e38;color:#c7ffe5}
:root[data-reverse-theme="remodernized"] .rv-thread-filters :is(input,select){background:#101830;color:#f3f6ff;border-color:#526080}
:root[data-reverse-theme="remodernized"] .nav-link[href="/clothing/"],:root[data-reverse-theme="remodernized"] .nav-link[href="/economy/"]{background-color:transparent;color:#cbd2e7;border-color:transparent}
:root[data-reverse-theme="remodernized"] .nav-link[href="/clothing/"]:is(.prime,:hover,:focus-visible),:root[data-reverse-theme="remodernized"] .nav-link[href="/economy/"]:is(:hover,:focus-visible){background:#202d49;color:#fff}
@media(max-width:780px){
 :root[data-reverse-theme="remodernized"] .rm-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"summary" "content" "extras";grid-template-rows:auto;gap:16px}
 :root[data-reverse-theme="remodernized"] .rm-grid>.rm-stack{gap:14px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-hero{min-height:0;padding:32px 0 22px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-identity-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 15px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-avatar{width:clamp(74px,18vw,108px);height:clamp(74px,18vw,108px);border-radius:17px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-avatar img{border-radius:14px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-name-row{column-gap:7px;row-gap:3px}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-name-row h1{font-size:clamp(28px,7vw,50px);margin:6px 0}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-actions{grid-column:1/-1;justify-content:flex-start;width:100%}
 :root[data-reverse-theme="remodernized"] .rm-profile .rm-wrap{width:calc(100% - 28px)}
 :root[data-reverse-theme="remodernized"] .rm-tabs a{min-height:40px;display:grid;place-items:center}
 :root[data-reverse-theme="remodernized"] .rm-grid .rm-section>section>div:nth-child(2){padding:13px}
 :root[data-reverse-theme="remodernized"] .rv-thread-wardrobe{width:calc(100% - 24px);margin-block:18px}
}
@media(max-width:420px){:root[data-reverse-theme="remodernized"] .rm-people-grid{grid-template-columns:minmax(0,1fr)}:root[data-reverse-theme="remodernized"] .rm-grid .rm-shots{gap:8px}}

