/* NunnakiBox open layout: structural panels only. Inputs, media, seats and instrument controls retain their styles. */
body :is(.card,.world,.world-grid,.earth-panel,.jump-panel,.tv-panel,.tv-panel aside,.links-orbit,.lab-orbit,.room-workspace,.message-layout,.token-room,.channel-room,.studio-room,.desk-stats,.stat-tile,.hall-frame,.event-door,.events-hero,.crowd-table78,.crowd-column78,.crowd-row78,.row-preview78,.crowd-show68,.crowd-events68,.crowd-board68,.presentation119,.presentation-head119,.presentation-author119,.presentation-main119,.post-unlock119,.reward-store,.competition-entry,.control-section74,.slot-studio105,.saved-show105 article,.spotlight>div,.spotlight aside,.event-card,.empty,.find,.navigation-drawer,.production-studio,.instrument-section130,.groove-workstation131,.sample-browser131,.groove-console131,.slot-studio105 section,main>section){
 border-left:0!important;border-right:0!important;border-inline:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;
 border-top-width:0!important;border-bottom:1px solid #33465b!important;
}
/* Folded sections keep their original frame. Only an expanded section opens out. */
body details[open]{border-left:0!important;border-right:0!important;border-inline:0!important;border-top-width:0!important;border-bottom:1px solid #33465b!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
body details[open]>:is(div,section,article,form,aside):not(.screen):not(.stream-player):not(.daw-track-screen):not(.production-mixer):not(.eq-board):not(.eq-bank130){border-left:0!important;border-right:0!important;border-inline:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important}
/* Navigation tabs become text tabs with a clear selected underline. */
body :is(nav button,nav .button,nav a.button,[role=tab],.category-bar button,#event-filters button,.collection-links button,.jump-doors>button,.tv-panel aside>button){
 border:0!important;border-bottom:1px solid #48617a!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;min-height:40px;
}
body :is(nav button,nav .button,nav a.button,[role=tab],.category-bar button,#event-filters button,.collection-links button,.jump-doors>button,.tv-panel aside>button):is(.active,[aria-selected=true],[aria-pressed=true]){border-bottom:3px solid #81c9ef!important;color:#c6eaff!important}
body :is(nav button,nav .button,nav a.button,[role=tab],.category-bar button,#event-filters button):hover{border-bottom-color:#9bdbff!important;color:#c6eaff!important}
body :is(nav button,nav .button,nav a.button,[role=tab],.category-bar button,#event-filters button):focus-visible{outline:2px solid #9bdbff!important;outline-offset:3px}
/* Replies stay nested; the vertical thread rail is removed. */
body :is(.thread-children119,.crowd-replies126,.comment-replies,.post-replies,.thread-replies,.replies){border-left:0!important;border-right:0!important;border-inline:0!important;box-shadow:none!important}
body :is(.thread-comment119,.crowd-entry126){border-left:0!important;border-right:0!important;border-inline:0!important;border-radius:0!important;background:transparent!important;border-bottom:1px solid #33465b!important}
/* Equipment and viewing surfaces remain readable and functional. */
body .production-studio .mix-strip,body .production-studio .clip-timeline,body .production-studio .clip-timeline>div{border-radius:4px}
/* TV frames also open out. Keep the playback background; remove the enclosure. */
body :is(.screen,.screen111,.stream-player,.tv-screen,.channel-screen,.lounge-screen,.station-screen,.hall-frame,.nb-shell,.nb-stage,.nb-stage-content,.nb-screen-home103,#lobby-tv,#nbox-hall-preview,.nb-chat){border-left:0!important;border-right:0!important;border-inline:0!important;border-top-width:0!important;border-bottom:1px solid #33465b!important;border-radius:0!important;box-shadow:none!important}
body :is(.screen,.screen111,.stream-player,.tv-screen,.channel-screen,.lounge-screen,.station-screen,.nb-stage-content,#lobby-tv) :is(video,iframe){border-left:0!important;border-right:0!important;border-inline:0!important;border-radius:0!important;box-shadow:none!important}
body :is(.chat-bubble,.nb-chat-message){border-left:0!important;border-right:0!important;border-inline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border-bottom:1px solid #33465b!important}
/* Comments show profile pictures instead of printed names. */
body .crowd-author126>strong,body .comment-author119>strong,body .thread-comment119>.reply-to119{display:none!important}
body :is(.comment-avatar133,.comment-author119>img,.comment-author119>span){width:36px;height:36px;object-fit:cover;flex:none;border:0;border-radius:50%}
body .comment-row78 .row-mark78{background:transparent!important;border:0!important;box-shadow:none!important}
body .comment-author119>span{font-size:0!important;background:#192c3d!important;position:relative}
body .comment-author119>span:before{content:'●';font-size:24px;color:#9ab8cd;line-height:1}
