/* The home palette and header apply to every menu destination. */
body.mini-world-shell.lumivo-theme {
  --ink:var(--neon-text);
  --muted:var(--neon-muted);
  --line:var(--neon-line);
  --surface:var(--neon-panel);
  --world-ink:var(--neon-text);
  --world-muted:var(--neon-muted);
  --world-cyan:var(--neon-accent);
  --world-purple:var(--neon-accent);
  --arcade-ink:var(--neon-text);
  --arcade-muted:var(--neon-muted);
  --arcade-surface:var(--neon-panel);
  --arcade-subtle:var(--neon-panel-hi);
  --arcade-stroke:var(--neon-line);
  --arcade-accent:var(--neon-accent);
}
body.mini-world-shell.lumivo-theme #pageMain {
  max-width:1280px!important;
  min-width:0;
  padding:24px 0 36px!important;
  margin-inline:auto!important;
  background:none!important;
  color:var(--neon-text)!important;
  border:0!important;
  box-shadow:none!important;
  font:400 1rem/1.6 Geist,system-ui,sans-serif;
}
body.mini-world-shell.lumivo-theme #pageMain .page-heading {
  padding:22px 24px!important;
  margin:0 0 22px!important;
  background:var(--neon-panel)!important;
  border:1px solid var(--neon-line)!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #pageMain .page-heading h1 {
  margin:8px 0 0!important;
  color:var(--neon-text)!important;
  font-size:clamp(1.65rem,3vw,2.4rem)!important;
  line-height:1.2!important;
  letter-spacing:-.035em!important;
}
body.mini-world-shell.lumivo-theme #pageMain .page-heading p {
  margin:12px 0 0!important;
  color:var(--neon-muted)!important;
  font-size:.75rem!important;
  letter-spacing:.12em!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(.page-surface,#modalBody) {
  padding:0!important;
  background:none!important;
  color:var(--neon-text)!important;
  border:0!important;
  box-shadow:none!important;
  min-width:0;
}
body.mini-world-shell.lumivo-theme #pageMain :is(
  .boutique-hero,.boutique-wallet,.boutique-toolbar,.boutique-filters,.boutique-item,.boutique-footnote,.boutique-search,
  .kid-collection-hero,.kid-parent-note,.kid-collection-card,.kid-gentle-note,
  .earn-balance,.video-card,.club-gift,.reward-card,.rewards-card,.quest,.badge-card,
  .rank-intro,.rank-controls,.rank-filters,.rank-kpis>div,.my-rank,.rank-row,.rank-empty,
  .ranking-empty,.my-rank-pending,.rank-pagination,.table-wrap,.leaderboard-table,
  .player-podium,.podium-footer,.player-directory,
  .account-section,.account-numbers>div,.account-loading,.login-options,.google-help,
  .settings-group,.settings-card,.preference-card,.preferences-panel,.editorial-page,
  .mission-card,.profile-pane,.contact-card,.phone-contact,.settings-block,.privacy-card,
  .style-preview,.collection-summary,.profile-current-style,.profile-receipt,.profile-result,.record-card,
  .optional-signin,.score-share-action,.profile-kpis>div,.member-kpis>div,
  .stat-row,.username-card,.phone-card,.profile-collection,.insight-identity,.contact-panel
) {
  background:var(--neon-panel)!important;
  border:1px solid var(--neon-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(.earn-methods,.reward-grid,.rewards-grid,.account-grid)>article,
body.mini-world-shell.lumivo-theme #pageMain .earn-methods>article,
body.mini-world-shell.lumivo-theme #pageMain .account-links>a {
  background:var(--neon-panel)!important;
  border-color:var(--neon-line)!important;
  box-shadow:none!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(h1,h2,h3,h4,strong,b) {
  color:var(--neon-text)!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  letter-spacing:normal;
}
body.mini-world-shell.lumivo-theme #pageMain :is(p,small,label,.notice,.rank-note,.video-status,.boutique-count,.podium-preview-note) {
  color:var(--neon-muted)!important;
  text-shadow:none!important;
  line-height:1.6!important;
}
body.mini-world-shell.lumivo-theme #pageMain p { font-size:1rem!important; }
body.mini-world-shell.lumivo-theme #pageMain :is(label,button,summary) { font-size:.875rem!important; }
body.mini-world-shell.lumivo-theme #pageMain small { font-size:.8125rem!important; }
body.mini-world-shell.lumivo-theme #pageMain a {
  color:var(--neon-accent)!important;
  text-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(button:not(.boutique-art):not(.cover),.secondary,.start,.primary,.podium-all) {
  min-height:42px;
  background:var(--neon-panel-hi)!important;
  color:var(--neon-text)!important;
  border:1px solid var(--neon-line)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-weight:600!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(.start,.primary,.podium-all),
body.mini-world-shell.lumivo-theme #pageMain button:is(.active,.selected,[aria-pressed="true"]) {
  background:#ebbe79!important;
  border-color:#ebbe79!important;
  color:#261c11!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(.start,.primary,.podium-all) :is(span,b,strong),
body.mini-world-shell.lumivo-theme #pageMain button:is(.active,.selected,[aria-pressed="true"]) :is(span,b,small) {
  color:#261c11!important;
}
body.mini-world-shell.lumivo-theme #pageMain button:disabled {
  opacity:.5;
  cursor:default;
}
body.mini-world-shell.lumivo-theme #pageMain :is(input:not([type="checkbox"]):not([type="range"]):not([type="radio"]),select,textarea) {
  min-height:44px;
  background:var(--neon-panel-hi)!important;
  color:var(--neon-text)!important;
  border:1px solid var(--neon-line)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-size:.875rem!important;
  color-scheme:dark;
}
body.mini-world-shell.lumivo-theme[data-neon-theme="light"] #pageMain :is(input,select,textarea) { color-scheme:light; }
body.mini-world-shell.lumivo-theme #pageMain :is(input[type="checkbox"],input[type="radio"],progress) { accent-color:var(--neon-accent); }
body.mini-world-shell.lumivo-theme :is(#pageMain,#games) :is(button,a,input,select,summary,textarea):focus-visible {
  outline:2px solid var(--neon-accent)!important;
  outline-offset:3px!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(th,td,.stat-row,.setting-line,.modern-setting,.podium-pagination,.boutique-content>div) {
  border-color:var(--neon-line)!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .boutique-art,
body.mini-world-shell.lumivo-theme #pageMain .kid-collection-card .cover {
  border:0!important;
}
/* Keep the item's own artwork and the equipped player cover legible. */
body.mini-world-shell.lumivo-theme #pageMain .podium-card :is(h3,b,strong) { color:inherit!important; }
body.mini-world-shell.lumivo-theme #pageMain .podium-card :is(small,.podium-details) { color:#e9dff5!important; }
body.mini-world-shell.lumivo-theme #pageMain .kid-collection-card .card-info>button {
  background:#ebbe79!important;
  border-color:#ebbe79!important;
  color:#261c11!important;
}
body.mini-world-shell.lumivo-theme #pageMain .kid-collection-card .card-info>button span { color:inherit!important; }

/* The full games directory uses the same cards and controls as the home catalog. */
body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain {
  display:block!important;
  max-width:1280px!important;
  padding:24px 0 36px!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain>#games {
  background:none!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain>:not(#games) { display:none!important; }
body.mini-world-shell.lumivo-theme #games :is(h2,h3) {
  color:var(--neon-text)!important;
  text-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #games :is(.filters,.library-toolbar,.library-pagination,.game-stats-info,.mega-search) {
  color:var(--neon-muted)!important;
  background:var(--neon-panel)!important;
  border-color:var(--neon-line)!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #games :is(.filters button,.library-toolbar button,.library-toolbar select,.library-pagination button,.game-stats-info button,.home-more-genres summary,#gameSearch) {
  color:var(--neon-text)!important;
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-line)!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-size:.875rem!important;
}
body.mini-world-shell.lumivo-theme #games .filters button.active,
body.mini-world-shell.lumivo-theme #games [aria-current="page"] {
  border-color:var(--neon-accent)!important;
  color:var(--neon-accent)!important;
}
body.mini-world-shell.lumivo-theme #games .mega-search>label {
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-line)!important;
  color:var(--neon-muted)!important;
}
body.mini-world-shell.lumivo-theme #games #gameSearch {
  background:none!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme :is(#pageMain,#games) input::placeholder {
  color:var(--neon-muted)!important;
  opacity:1;
}
body.mini-world-shell.lumivo-theme #pageMain [hidden] { display:none!important; }
@media(max-width:600px) {
  body.mini-world-shell.lumivo-theme #pageMain { padding-top:16px!important; }
  body.mini-world-shell.lumivo-theme #pageMain .page-heading { padding:18px!important; }
  body.mini-world-shell.lumivo-theme #pageMain :is(.boutique-toolbar,.boutique-filters) { flex-wrap:wrap; }
  body.mini-world-shell.lumivo-theme #pageMain .boutique-search { flex:1 1 100%; }
}

body.mini-world-shell.lumivo-theme #pageMain :is(th,.rank-pagination,.preference-intro,.settings-intro) {
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-line)!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #pageMain :is(.ranking-empty,.my-rank-pending,.rank-intro) a {
  color:var(--neon-accent)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .ranking-empty .start { color:#261c11!important; }

/* Explicitly win over the older grid and flex display declarations. */
body.mini-world-shell.lumivo-theme :is(#homeMain,#pageMain)[hidden] {
  display:none!important;
}
body.mini-world-shell.lumivo-theme #games :is(.continue-shelf,#recentGames,.continue-card) {
  background:var(--neon-panel)!important;
  border-color:var(--neon-line)!important;
  box-shadow:none!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #games :is(.continue-shelf,#recentGames) :is(h3,b) {
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #games :is(.continue-shelf,#recentGames) :is(p,small,span) {
  color:var(--neon-muted)!important;
}
body.mini-world-shell.lumivo-theme #games :is(.continue-shelf,#recentGames) button {
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-line)!important;
  box-shadow:none!important;
  color:var(--neon-text)!important;
}
body.mini-world-shell.lumivo-theme #games .library-density {
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-line)!important;
}

/* Editorial links are distinct from the play control. */
.curated-guide{display:block;margin-top:.75rem;color:var(--neon-accent,#ebbe79);font-size:.875rem;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
body.lumivo-theme .upgrade-card .curated-guide{padding:.5rem 0}

/* A compact navigation and a readable, consistent ten-game catalog. */
body.mini-world-shell.lumivo-theme header.arcade-header {
  grid-template-columns:auto auto minmax(180px,1fr) auto!important;
  column-gap:24px!important;row-gap:12px!important;
  min-height:88px!important;padding:18px 22px!important;
  overflow:visible!important;
}
body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation { overflow:visible;gap:4px!important; }
body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation a {
  min-height:44px!important;padding:10px 14px!important;font-size:14px!important;line-height:1.3!important;
}
body.mini-world-shell.lumivo-theme header.arcade-header .header-actions {
  gap:8px!important;min-width:0;align-items:center;
}
body.mini-world-shell.lumivo-theme header.arcade-header .header-actions>:is(a,.language-menu>summary),
body.mini-world-shell.lumivo-theme header.arcade-header .language-menu>summary,
body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences>summary {
  height:44px!important;min-height:44px!important;border-radius:10px!important;
  font-size:14px!important;line-height:1.3!important;padding:10px 12px!important;
}
body.mini-world-shell.lumivo-theme header.arcade-header .header-actions>.login-button {
  background:var(--neon-accent)!important;color:var(--neon-bg)!important;
  border-color:var(--neon-accent)!important;font-weight:650!important;
}
body.mini-world-shell.lumivo-theme header.arcade-header .login-button :is(span,svg) { color:inherit!important; }
body.mini-world-shell.lumivo-theme header.arcade-header .wallet-button { gap:6px!important;font-variant-numeric:tabular-nums; }
body.mini-world-shell.lumivo-theme header.arcade-header .neon-search {
  height:44px;min-height:44px;border-radius:10px;padding:0 14px;gap:10px;
}
body.mini-world-shell.lumivo-theme header.arcade-header .neon-search #neon-search { height:42px!important;font-size:14px!important;line-height:1.4; }
.neon-preferences { position:relative;flex:none; }
body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences>summary {
  display:grid;place-items:center;width:44px;list-style:none;cursor:pointer;
  color:var(--neon-muted);background:var(--neon-panel-hi);border:1px solid var(--neon-line);
}
.neon-preferences>summary::-webkit-details-marker { display:none; }
.neon-preferences>summary svg { width:19px;height:19px; }
.neon-preferences[open]>summary { outline:2px solid var(--neon-accent);outline-offset:2px; }
.neon-preferences-panel {
  position:absolute;z-index:80;right:0;top:calc(100% + 12px);width:248px;
  display:grid;gap:4px;padding:10px;border:1px solid var(--neon-line);border-radius:14px;
  background:var(--neon-panel);box-shadow:0 16px 48px #0004;color:var(--neon-text);
}
.neon-menu-title { padding:7px 10px 9px;color:var(--neon-muted);font-size:12px;font-weight:600; }
body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences-panel>:is(a,button) {
  display:flex!important;align-items:center;justify-content:flex-start;gap:10px!important;
  min-height:44px!important;width:100%!important;padding:10px!important;border:0!important;
  border-radius:8px!important;background:transparent!important;color:var(--neon-text)!important;
  font:500 14px/1.5 Geist,system-ui,sans-serif!important;text-align:start;text-decoration:none;
}
body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences-panel>:is(a,button):hover { background:var(--neon-panel-hi)!important; }
.neon-preferences-panel :is(svg,button>span:first-child) { flex:none;width:20px;height:20px;text-align:center; }
body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences-panel>.neon-mobile-bonus { display:none!important; }
body.mini-world-shell.lumivo-theme header.arcade-header .language-menu>div { min-width:180px;padding:8px;background:var(--neon-panel);border-color:var(--neon-line);border-radius:12px;z-index:81; }
body.mini-world-shell.lumivo-theme header.arcade-header .language-menu>div button { min-height:44px;padding:10px;font-size:14px;color:var(--neon-text); }
body.mini-world-shell.lumivo-theme :is(#homeMain,#pageMain) { font-size:16px;line-height:1.6; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards>article { display:flex;flex-direction:column;border-radius:16px!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .cover { flex:none;aspect-ratio:1.6!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info { flex:1;min-width:0;gap:10px;padding:clamp(12px,1.5vw,18px)!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info>small { white-space:normal!important;overflow-wrap:anywhere;font:550 12px/1.5 Geist,system-ui,sans-serif!important;letter-spacing:.025em!important;text-transform:none; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info h3 { font-size:18px!important;line-height:1.35!important;min-height:2.7em!important;font-weight:650!important;overflow-wrap:anywhere; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info>p { display:block!important;margin:0!important;color:var(--neon-muted)!important;font:400 14px/1.6 Geist,system-ui,sans-serif!important;min-height:3.2em;height:auto!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;-webkit-line-clamp:unset!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .game-activity { margin-top:auto!important;padding-top:12px!important;gap:8px!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .game-activity b { font-size:15px!important;line-height:1.4!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .game-activity small { font-size:12px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info>button { display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;font-size:14px!important;border-radius:10px!important;margin-top:4px!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info>button svg { width:16px;height:16px; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .curated-guide { margin:0!important;padding:3px 0!important;font-size:13px!important;line-height:1.6;text-align:center; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .favorite-toggle { width:40px!important;height:40px!important;min-height:40px!important;top:10px!important;right:10px!important;font-size:20px!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards [hidden] { display:none!important; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .cover .library-saved-tag { font-size:11px!important;line-height:1.4!important;padding:5px 9px!important;white-space:normal;overflow-wrap:anywhere;transform:none!important;background:var(--neon-panel)!important;color:var(--neon-text)!important;border-color:var(--neon-line)!important; }
body.mini-world-shell.lumivo-theme :is(.neon-panel p,.neon-profile-bottom,.neon-panel-head>a,#neon-leaders li,.neon-resume-cards small) { font-size:13px!important;line-height:1.55; }
body.mini-world-shell.lumivo-theme .neon-panel { padding:20px; }
body.mini-world-shell.lumivo-theme .neon-panel h2 { font-size:18px;line-height:1.4; }
body.mini-world-shell.lumivo-theme :is(.continue-copy>b,#recentGames button) { font-size:14px!important;line-height:1.5; }
body.mini-world-shell.lumivo-theme .continue-copy :is(small,i) { font-size:12px!important;line-height:1.5; }
body.mini-world-shell.lumivo-theme #games :is(.filters button,.library-toolbar button,.library-toolbar select,.home-more-genres summary) { min-height:44px;font-size:14px!important;line-height:1.4!important; }
@media(min-width:1001px) {
 body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain #games .cards { grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important; }
}
@media(max-width:1100px) {
 body.mini-world-shell.lumivo-theme header.arcade-header { grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;padding:16px 20px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .arcade-brand { grid-column:1;grid-row:1; }
 body.mini-world-shell.lumivo-theme header.arcade-header .header-actions { grid-column:2;grid-row:1; }
 body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation { grid-column:1;grid-row:2; }
 body.mini-world-shell.lumivo-theme header.arcade-header .neon-search { grid-column:2;grid-row:2;min-width:200px; }
}
@media(max-width:760px) {
 body.mini-world-shell.lumivo-theme header.arcade-header { padding:14px!important;gap:12px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation a { padding:10px 11px!important; }
 body.mini-world-shell.lumivo-neon #homeMain #games .cards,
 body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain #games .cards { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important; }
}
@media(max-width:600px) {
 body.mini-world-shell.lumivo-theme header.arcade-header { grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;padding:12px!important;gap:12px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .header-actions { gap:6px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .header-actions>.wallet-button { display:none!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences-panel>.neon-mobile-bonus { display:flex!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .header-actions>.login-button { width:40px!important;min-width:40px!important;padding:9px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .login-button>span { display:none!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .language-menu>summary { padding:9px!important;font-size:13px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .mini-world-logo { gap:8px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .mini-world-logo i { width:34px!important;height:34px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .mini-world-logo small { font-size:17px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation { grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%; }
 body.mini-world-shell.lumivo-theme header.arcade-header .arcade-navigation a { justify-content:center;min-width:0;padding:10px 6px!important;font-size:14px!important; }
 body.mini-world-shell.lumivo-theme header.arcade-header .neon-search { grid-column:1/-1;grid-row:3;min-width:0; }
 body.mini-world-shell.lumivo-theme header.arcade-header .neon-preferences-panel { right:-48px;width:min(248px,calc(100vw - 48px)); }
}
@media(max-width:519px) {
 body.mini-world-shell.lumivo-neon #homeMain #games .cards,
 body.mini-world-shell.lumivo-theme:not(.lumivo-neon) #homeMain #games .cards,
 body.mini-world-shell.lumivo-theme #homeMain #games .cards:not(.library-compact) { grid-template-columns:minmax(0,1fr)!important;gap:18px!important; }
 body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info h3 { min-height:0!important;font-size:20px!important; }
 body.mini-world-shell.lumivo-theme #homeMain #games .cards .card-info>p { min-height:0; }
 body.mini-world-shell.lumivo-theme .neon-panel { padding:18px; }
}

body.mini-world-shell.lumivo-neon #neon-catalog-menu button { font-size:14px!important;line-height:1.4!important;min-height:44px; }
body.mini-world-shell.lumivo-theme #homeMain #games .cards .cover .play { display:none!important; }

/* Account receipts and badges use the same surfaces as the page. */
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases {
  display:grid;
  gap:16px;
  padding:clamp(14px,2.2vw,28px)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases .profile-section-title { margin:0; }
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases .profile-section-title h3 {
  margin:4px 0 0;
  font-size:clamp(1.125rem,2vw,1.5rem);
}
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases .profile-section-title>span {
  color:var(--neon-muted);
  font-size:.875rem;
}
body.mini-world-shell.lumivo-theme #pageMain .receipt-search {
  min-height:46px;
  gap:10px;
  margin:0;
  padding:0 12px;
  border:1px solid var(--neon-line);
  border-radius:10px;
  background:var(--neon-panel-hi);
  color:var(--neon-muted)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases .receipt-search input[type="search"] {
  flex:1;
  min-width:0;
  padding:0;
  border:0!important;
  background:transparent!important;
}
body.mini-world-shell.lumivo-theme #pageMain .receipt-search:focus-within {
  outline:2px solid var(--neon-accent);
  outline-offset:2px;
}
body.mini-world-shell.lumivo-theme #pageMain .receipt-search input:focus-visible { outline:none!important; }
body.mini-world-shell.lumivo-theme #pageMain #profileReceipts { display:grid;gap:10px;min-width:0; }
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:clamp(8px,1.5vw,16px);
  padding:clamp(10px,1.5vw,16px);
  background:var(--neon-panel-hi)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt b { display:block;font-size:.9375rem;overflow-wrap:anywhere; }
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt :is(small,code) { margin-top:2px;color:var(--neon-muted); }
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt code {
  max-width:100%;
  font-size:.75rem;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt>strong {
  font-size:.875rem;
  font-variant-numeric:tabular-nums;
}
body.mini-world-shell.lumivo-theme #pageMain .profile-receipt>button { width:42px;min-width:42px;padding:0; }
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases>.notice {
  margin:0;
  font-size:.875rem!important;
  overflow-wrap:anywhere;
}
body.mini-world-shell.lumivo-theme #pageMain :is(#profileAdventureBadges,#profileTournamentBadges) {
  display:grid;
  gap:8px;
  padding:clamp(14px,2vw,22px);
}
body.mini-world-shell.lumivo-theme #pageMain .profile-purchases>.profile-current-style { margin:0; }
body.mini-world-shell.lumivo-theme #pageMain :is(#profileAdventureBadges,#profileTournamentBadges) :is(h3,p) { margin:0; }
body.mini-world-shell.lumivo-theme #pageMain :is(#profileAdventureBadges,#profileTournamentBadges) a { justify-self:start; }
body.mini-world-shell.lumivo-theme #pageMain .profile-current-style .adventure-badges span {
  border-color:var(--neon-line);
  background:var(--neon-panel-hi);
  color:var(--neon-text);
}

/* Align the settings shell with the page heading, with one shared panel rhythm. */
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio {
  --pref-ink:var(--neon-text);
  --pref-muted:var(--neon-muted);
  --pref-line:var(--neon-line);
  --pref-padding:clamp(14px,2vw,24px);
  --pref-gap:clamp(12px,1.6vw,20px);
  width:100%;
  max-width:none;
}
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio :is(.preference-intro,.preference-card,.preference-install,.preference-note,aside) {
  min-width:0;
  margin:0;
  padding:var(--pref-padding)!important;
  background:var(--neon-panel)!important;
  border:1px solid var(--neon-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-intro {
  gap:var(--pref-gap)!important;
  margin-bottom:var(--pref-gap)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-intro h2 {
  margin:4px 0;
  font-size:clamp(1.25rem,2.5vw,1.75rem)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-layout {
  grid-template-columns:minmax(10rem,14rem) minmax(0,1fr);
  gap:var(--pref-gap);
}
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio aside { padding:10px!important; }
body.mini-world-shell.lumivo-theme #pageMain .preference-sidebar-note {
  margin:10px 4px 0;
  padding:0;
  font-size:.8125rem!important;
  text-align:start;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button {
  min-width:0;
  min-height:46px;
  padding:8px 10px;
  text-align:start;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button>b {
  min-width:0;
  font-size:.875rem;
  line-height:1.3;
  overflow-wrap:anywhere;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button[aria-selected=true],
body.mini-world-shell.lumivo-theme #pageMain .preference-languages button.selected {
  color:var(--neon-text)!important;
  background:color-mix(in srgb,var(--neon-panel-hi) 90%,var(--neon-accent))!important;
  border-color:var(--neon-accent)!important;
  box-shadow:none!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-languages button.selected :is(b,small,span) { color:inherit!important; }
body.mini-world-shell.lumivo-theme #pageMain #preference-panel { display:grid;gap:var(--pref-gap);min-width:0; }
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio :is(h3,dt) {
  font-size:1rem;
  line-height:1.4;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-heading { margin-bottom:14px; }
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio :is(.preference-switch,.preference-test,.preference-data>div,.preference-equipped>div) {
  border-color:var(--neon-line);
}
body.mini-world-shell.lumivo-theme #pageMain .preference-copy b { font-size:.9375rem; }
body.mini-world-shell.lumivo-theme #pageMain .preference-copy small { max-width:none; }
body.mini-world-shell.lumivo-theme #pageMain .preference-control>span { color:var(--neon-muted);font-size:.75rem; }
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio :is(.preference-intro-icon,.preference-icon,.preference-equipped-art:not(.cover-art)) {
  background:var(--neon-panel-hi);
  border-color:var(--neon-line);
  color:var(--neon-accent)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio input[role=switch] {
  background:var(--neon-panel-hi)!important;
  border-color:var(--neon-muted)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio input[role=switch]:checked {
  background:var(--neon-accent)!important;
  border-color:var(--neon-accent)!important;
}
body.mini-world-shell.lumivo-theme #pageMain .preferences-studio input[role=switch]:checked::after { background:var(--neon-bg); }
body.mini-world-shell.lumivo-theme #pageMain .preference-languages {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
body.mini-world-shell.lumivo-theme #pageMain .preference-languages button { min-height:58px;padding:10px 12px; }
body.mini-world-shell.lumivo-theme #pageMain .preference-languages b { display:block;font-size:.875rem;overflow-wrap:anywhere; }
body.mini-world-shell.lumivo-theme #pageMain .preference-install { flex-wrap:wrap; }
body.mini-world-shell.lumivo-theme #pageMain .preference-install>div { flex:1 1 12rem;min-width:0; }
body.mini-world-shell.lumivo-theme #pageMain .preference-install>button { max-width:none;margin:0; }
body.mini-world-shell.lumivo-theme #pageMain .preference-data dd { color:var(--neon-muted);font-size:.875rem; }
body.mini-world-shell.lumivo-theme #pageMain .preference-text-link { font-size:.875rem!important; }
body.mini-world-shell.lumivo-theme #pageMain .preference-actions a { font-size:.875rem; }
body.mini-world-shell.lumivo-theme #pageMain .preference-actions .preference-primary {
  background:var(--neon-accent);
  color:var(--neon-bg)!important;
}
@media (max-width:760px) {
  body.mini-world-shell.lumivo-theme #pageMain .preference-layout { grid-template-columns:minmax(0,1fr); }
  body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button { padding:7px 4px; }
  body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button>span:first-child { flex:none; }
}
@media (max-width:400px) {
  body.mini-world-shell.lumivo-theme #pageMain .preference-tabs button>span:first-child { display:none; }
  body.mini-world-shell.lumivo-theme #pageMain .preference-languages { grid-template-columns:minmax(0,1fr); }
  body.mini-world-shell.lumivo-theme #pageMain .profile-receipt { grid-template-columns:auto minmax(0,1fr) auto; }
  body.mini-world-shell.lumivo-theme #pageMain .profile-receipt>button { grid-column:3;grid-row:2;justify-self:end; }
  body.mini-world-shell.lumivo-theme #pageMain .profile-receipt>strong { align-self:center; }
}
