/* SOEMIRU v1.71.0 — restored dark companion UI. */
:root{
  --soemiru-bg:#060817;
  --soemiru-panel:#0d1026;
  --soemiru-card:#15182f;
  --soemiru-text:#f7f4ff;
  --soemiru-muted:#9fa4c1;
  --soemiru-line:rgba(181,174,255,.18);
}
html,body{background:#060817;color:var(--soemiru-text)}
.nx-app-preview,.nx-app-shell{background:radial-gradient(circle at 85% 0,rgba(255,96,190,.12),transparent 30%),radial-gradient(circle at 5% 12%,rgba(107,83,255,.16),transparent 34%),#060817!important;color:var(--soemiru-text)!important}
.nx-app-topbar{background:rgba(6,8,23,.88)!important;border-color:var(--soemiru-line)!important;color:#fff!important;backdrop-filter:blur(18px)}
.nx-home-today,.nx-world-next,.nx-instructor-select,.nx-quick-panel,.nx-chat-card{background:rgba(16,18,43,.9)!important;border-color:var(--soemiru-line)!important;color:#fff!important;box-shadow:0 20px 55px rgba(0,0,0,.25)!important}
.nx-home-today small,.nx-home-today span,.nx-world-next span,.nx-instructor-select span,.nx-section-head>span{color:var(--soemiru-muted)!important}
.nx-home-latest,.nx-home-actions button,.nx-instructor-card{background:#101329!important;border-color:var(--soemiru-line)!important;color:#fff!important}
.nx-home-actions-companion{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.nx-home-actions-companion button{min-width:0}
.nx-home-actions-companion strong{color:#fff!important}
.nx-bottom-nav-companion{grid-template-columns:repeat(4,1fr)!important;background:rgba(5,7,21,.96)!important;border-color:var(--soemiru-line)!important;box-shadow:0 -18px 50px rgba(0,0,0,.32)!important}
.nx-insights-bottom{grid-template-columns:repeat(4,1fr)!important;background:rgba(5,7,21,.96)!important;color:#fff!important}
.nx-bottom-nav-companion button{color:#7f86a7!important}
.nx-bottom-nav-companion button.is-active{color:#fff!important}
.nx-talk-hub,.nx-talk-shop{background:radial-gradient(circle at 85% -5%,rgba(255,96,190,.15),transparent 32%),radial-gradient(circle at 10% 12%,rgba(107,83,255,.16),transparent 32%),#060817!important;color:#fff!important}
.nx-talk-row,.nx-talk-search,.nx-talk-notice,.nx-shop-card{background:#11142b!important;border-color:var(--soemiru-line)!important;color:#fff!important}
.nx-talk-row strong,.nx-talk-header h2,.nx-talk-shop h2{color:#fff!important}
.nx-talk-preview,.nx-talk-time,.nx-talk-presence{color:var(--soemiru-muted)!important}
.nx-record-fullscreen,.nx-home-record-summary,[data-nx-open-record],[data-nx-nav-record]{display:none!important}
.nx-memory-card.is-achievement,[data-nx-memory-filter="achievement"],.nx-memory-detail-stats{display:none!important}
@media(max-width:520px){
  .nx-home-actions-companion{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .nx-bottom-nav-companion{height:68px!important}
}

/* The shortcode is the whole application. Remove WordPress theme chrome only
   on its page, while keeping SOEMIRU's own legal footer inside the app. */
body.nexus-app-page .wp-site-blocks>header,
body.nexus-app-page .wp-site-blocks>footer,
body.nexus-app-page header.site-header,
body.nexus-app-page footer.site-footer,
body.nexus-app-page .site-header,
body.nexus-app-page .site-footer,
body.nexus-app-page .wp-block-post-title,
body.nexus-app-page .entry-title,
body.nexus-app-page .page-title{display:none!important}
body.nexus-app-page .wp-site-blocks,
body.nexus-app-page .wp-site-blocks>main,
body.nexus-app-page .wp-block-post-content,
body.nexus-app-page .entry-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.nexus-app-page .wp-site-blocks>main,
body.nexus-app-page .wp-site-blocks>main>.wp-block-group{gap:0!important}

/* v1.92: the product has one visual language again. Hide controls left by an
   older cached build while JavaScript clears the saved light preference. */
.so-theme-toggle,[data-so-theme-toggle],.so-theme-setting{display:none!important}
