/* SMAIS CAST dark-mode color layer. Generated from the existing CSS without changing layout rules. */

/* Generated color overrides for the existing shared shell. */
@media (prefers-color-scheme: dark) {
.setup-icon-input:focus + .form-help,
.setup-icon-button:focus-visible{outline:3px solid rgba(212,175,55,0.35)}
th,
td{border-bottom:1px solid rgba(255,255,255,0.08)}
.dashboard-user-line{border-bottom:1px solid rgba(255,255,255,0.08)}
.rules-modal-head{border-bottom:1px solid rgba(255,255,255,0.09)}
.attraction-modal-head{border-bottom:1px solid rgba(255,255,255,0.1)}
.teleport-modal-header{border-bottom:1px solid rgba(218,184,95,0.16)}
.dashboard-rank-main{border-bottom:1px solid rgba(218,184,95,0.2)}
.dashboard-profile-single-card .dashboard-rank-main{border-bottom:1px solid rgba(218,184,95,0.22)}
.dashboard-profile-info-item + .dashboard-profile-info-item{border-left:1px solid rgba(255,255,255,0.08)}
.rules-modal-head{border-bottom:1px solid rgba(218,184,95,0.16)}
.notice-modal-head{border-bottom:1px solid rgba(219,183,90,0.16)}
.notification-dashboard-notice{border-top:1px solid rgba(219,183,90,0.18)}
.admin-notice-detail-head{border-bottom:1px solid rgba(212,175,55,0.18)}
.dashboard-profile-flip-card:focus-visible{outline:2px solid rgba(160,123,34,0.78)}
.dashboard-profile-back-list{border-top:1px solid rgba(218,184,95,0.22);border-bottom:1px solid rgba(218,184,95,0.22)}
.cast-list-filter-button{border-right:1px solid rgba(255,255,255,0.1)}
.passkey-login-panel{border-top:1px solid rgba(255,255,255,0.18)}
.native-screen.dashboard-page .passkey-first-modal-head{border-bottom:1px solid rgba(218,184,95,0.16)}
.material-file-list{border-top:1px solid rgba(255,255,255,0.07)}
.material-file-row{border-bottom:1px solid rgba(255,255,255,0.055)}
.material-dialog-header{border-bottom:1px solid rgba(255,255,255,0.08)}
.material-modal-loading span{border-top-color:rgba(212,175,55,0.95)}
.native-screen.material-share-page .material-album-preview{border-bottom:1px solid rgba(255,255,255,0.08)}
.server-info-minecraft-input{outline:2px solid rgba(255,255,255,0.18)}
th,td{border-bottom:1px solid rgba(214,173,85,0.13)}
.admin-weekly-under-head:focus-visible{outline:2px solid rgba(240,199,111,0.78)}
.admin-weekly-under-.native-screen{border-top:1px solid rgba(218,166,69,0.18)}
.admin-points-page .admin-points-adjust-form input:focus{outline:2px solid rgba(220,184,92,0.16)}
.admin-approval-card[id^="build-report-"]:target,
.admin-build-recent-panel tr[id^="build-report-"]:target{outline:3px solid rgba(197,150,40,0.72)}
.we-sheet-head,
#weBlockSheet .we-sheet-head,
#weOperationSheet .we-sheet-head,
#weDetailSheet .we-sheet-head,
#weConfirmSheet .we-sheet-head,
#weModeSheet .we-sheet-head,
#weOtherModeSheet .we-sheet-head{border-bottom:1px solid rgba(255,216,148,0.18)}
.we-sheet-head,
#weBlockSheet .we-sheet-head,
#weOperationSheet .we-sheet-head,
#weDetailSheet .we-sheet-head,
#weConfirmSheet .we-sheet-head,
#weModeSheet .we-sheet-head,
#weOtherModeSheet .we-sheet-head{border-bottom:1px solid rgba(255,205,126,0.22)}
.we-sheet-head,
#weBlockSheet .we-sheet-head,
#weOperationSheet .we-sheet-head,
#weDetailSheet .we-sheet-head,
#weConfirmSheet .we-sheet-head,
#weModeSheet .we-sheet-head,
#weOtherModeSheet .we-sheet-head{border-bottom:1px solid rgba(255,232,184,0.16)}
@media (min-width: 760px){.native-screen.webedit-page .we-sheet-panel,
  .native-screen.webedit-page .we-sheet-panel.compact,
  .native-screen.webedit-page .we-sheet-panel.block-panel{border-bottom:1px solid rgba(255,255,255,0.13)}}
@media (max-width: 759px){.native-screen.webedit-page .we-sheet-panel,
  .native-screen.webedit-page .we-sheet-panel.compact,
  .native-screen.webedit-page .we-sheet-panel.block-panel,
  .native-screen.webedit-page #weBlockSheet .we-sheet-panel,
  .native-screen.webedit-page #weOperationSheet .we-sheet-panel,
  .native-screen.webedit-page #weDetailSheet .we-sheet-panel,
  .native-screen.webedit-page #weConfirmSheet .we-sheet-panel,
  .native-screen.webedit-page #weModeSheet .we-sheet-panel,
  .native-screen.webedit-page #weOtherModeSheet .we-sheet-panel{border-bottom:1px solid rgba(255,255,255,0.13)}}
.point-exchange-admin-note{border-top:1px solid rgba(255,255,255,0.08)}
.guest-control-chevron,.guest-person-chevron{border-right:1.5px solid rgba(255,255,255,0.6);border-bottom:1.5px solid rgba(255,255,255,0.6)}
.guest-control-.native-screen{border-top:1px solid rgba(255,255,255,0.07)}
.guest-person-select{border-right:1px solid rgba(255,255,255,0.065)}
.guest-person-details{border-top:1px solid rgba(255,255,255,0.07)}
.guest-whitelist-schedule-block{border-top:1px solid rgba(255,255,255,0.08)}
.guest-whitelist-schedule-error{border-top:1px solid rgba(255,255,255,0.06)}
.id-manage-details{border-top:1px solid rgba(255,255,255,0.08)}
.technical-details[open] summary{border-bottom:1px solid rgba(255,255,255,0.07)}
.discord-chevron{border-right:1.5px solid rgba(255,255,255,0.55);border-bottom:1.5px solid rgba(255,255,255,0.55)}
.discord-collapsible-.native-screen{border-top:1px solid rgba(255,255,255,0.07)}
.discord-notification-details{border-top:1px solid rgba(255,255,255,0.07)}
.nc-skip:focus{background:#161b22}
.nc-appbar{background:rgba(27,33,42,0.96);border-bottom:1px solid rgba(48,56,65,0.6)}
.nc-tabbar{background:rgba(22,27,34,0.97)}
.nc-tab{color:#abb5c2}
.nc-offline{background:#534216;color:#efc980}
.nc-toast{color:#ffffff}
.native-screen label,.native-screen legend{color:#f0f2f7}
.nc-list{background:#161b22}
.nc-list-row{background:#161b22}
.nc-list-row>.nc-icon:last-child{color:#abb5c2}
.nc-icon-tile{color:#ffffff}
.native-screen input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]),.native-screen select,.native-screen textarea{border:1px solid #303841;background:#161b22}
.nc-primary,.native-screen .cast-primary-button,.native-screen .we-primary,.native-screen button[type="submit"],.native-screen .button-link:not(.secondary){color:#ffffff}
.nc-secondary,.native-screen .button-link.secondary,.native-screen .cast-back-link,.native-screen .profile-small-button{background:#161b22}
.native-screen .cast-danger-button,.nc-danger{color:#ffffff!important}
.native-screen input[type="search"],.nc-search{background:#1b212a!important}
.nc-info{background:#161b22}
.nc-info>section,.nc-info>article,.nc-info>div{background:#161b22!important}
.nc-logout{border:1px solid #303841;color:#d9979b;background:#161b22}
.nc-setting-group{background:#161b22}
.native-screen .error,.native-screen .cast-message.is-error,.native-screen .point-exchange-message.is-error,.nc-error{background:#1b212a;color:#de919a}
.native-screen .success,.native-screen .cast-message.is-success,.native-screen .point-exchange-message.is-success{background:#1b212a;color:#94dbb5;border:1px solid #303841}
.nc-submitting:after{border:2px solid rgba(255,255,255,0.4);border-top-color:#ffffff}
.nc-skeleton{background:linear-gradient(90deg,#1b212a 20%,#161b22 50%,#1b212a 80%)}
.nc-welcome p{color:#d6dee8}
.nc-cast-card{color:#ffffff;border:1px solid rgba(255,255,255,0.031)}
.nc-cast-card-shade{background:linear-gradient(90deg,rgba(20,41,58,0.918),rgba(23,35,55,0.6) 60%,rgba(25,47,57,0.439))}
.nc-cast-card-content{color:#ffffff}
.nc-avatar{background:#202730;border:2px solid rgba(255,255,255,0.439)}
.nc-cast-card-person strong{color:#ffffff}
.nc-week-row{background:#161b22}
.nc-quick{background:#161b22}
.nc-quick>.nc-icon{color:#abb5c2}
.nc-notices,.nc-notice-list{background:#161b22}
.nc-notice-row{background:#161b22}
.nc-notice-icon{color:#ffffff}
.nc-notice-row time{color:#abb5c2}
.nc-week-details{background:#161b22}
.nc-password>button{color:#d6dee8}
.nc-auth-footer{color:#abb5c2}
.nc-auth .passkey-login-panel{background:#161b22}
.nc-auth .passkey-status{color:#d6dee8}
.pwa-login-blocked .auth-login-page{background:linear-gradient(180deg,rgba(20,37,53,0.439),rgba(19,34,46,0.867)),url(../image/area/castle_front.webp) 59% 25%/cover fixed!important;color:#ffffff}
.pwa-login-blocked .nc-auth-brand>span{color:#ffffff}
.pwa-login-blocked .nc-auth h1{color:#ffffff}
.nc-install-list{background:rgba(22,27,34,0.937)}
.nc-install-list summary .nc-icon:last-child{color:#abb5c2}
.nc-support{background:rgba(22,27,34,0.922)}
.pwa-login-blocked #pwaSupportBox{background:rgba(22,27,34,0.929)}
.nc-wizard-progress>span{background:#202730;color:#abb5c2}
.nc-wizard-progress>span.is-complete{color:#ffffff}
.setup-icon-preview-card{background:#161b22}
.nc-avatar-large{border:3px solid #ffffff}
.native-screen .profile-rank-hero{background:#161b22}
.profile-point-exchange-link{color:#e4c28b}
.point-exchange-balance{border:1px solid #917230}
.point-exchange-card{background:#161b22}
.point-exchange-card-image{background:#161b22}
.point-exchange-disabled{background:#1b212a}
.point-exchange-history-item{background:#161b22}
.native-screen .teleport-launch-panel{background:#161b22}
.teleport-panel-trigger{background:#161b22}
.teleport-panel-trigger>.nc-icon:last-child{color:#abb5c2}
.teleport-modal-backdrop,.attraction-modal-backdrop,.we-sheet-backdrop,.history-detail-backdrop,.history-detail-modal-backdrop,.cast-member-modal-backdrop,.application-modal-backdrop,.point-exchange-confirm-backdrop{background:rgba(23,32,46,0.4)}
.teleport-modal-box,.attraction-modal-panel,.we-sheet-panel,.history-detail-panel,.history-detail-modal-panel,.cast-member-modal-panel,.application-modal-panel,.point-exchange-confirm-panel{background:#161b22}
.teleport-modal-box:before,.attraction-modal-panel:before,.we-sheet-panel:before,.history-detail-panel:before,.cast-member-modal-panel:before,.point-exchange-confirm-panel:before{background:#202730}
.teleport-modal-header,.attraction-modal-head,.we-sheet-head,.history-detail-head,.cast-member-modal-head,.application-modal-head{background:#161b22}
.teleport-modal-close,.attraction-modal-close,.we-close,.history-detail-close,.cast-member-modal-close,.application-modal-close{background:#1b212a;color:#d6dee8}
.teleport-modal-choice-grid,.teleport-choice-grid,.teleport-player-grid{background:#161b22}
.teleport-choice-card,.teleport-player-card{background:#161b22!important}
.teleport-choice-card.is-selected,.teleport-choice-card.is-active,.teleport-player-card.is-selected,.teleport-player-card.is-active{background:#1b212a!important}
.teleport-choice-card:not(.is-selected):not(.is-active):hover,.teleport-player-card:not(.is-selected):not(.is-active):hover{background:#161b22!important}
.teleport-choice-card:after,.teleport-player-card:after{border:1.5px solid #303841}
.teleport-choice-card.is-selected:after,.teleport-choice-card.is-active:after,.teleport-player-card.is-selected:after,.teleport-player-card.is-active:after{background:#161b22}
.attraction-type-chip,.cast-list-filter-button,.material-view-tab{background:#161b22!important;color:#d6dee8}
.attraction-type-chip.is-active,.cast-list-filter-button.is-active,.material-view-tab.is-active{color:#e6c589!important}
.attraction-card-grid{background:#161b22}
.native-screen .attraction-card{background:#161b22!important}
.attraction-card-type{color:#ceb78d!important}
.attraction-lock-overlay,.attraction-empty-overlay{background:#1b212a!important;color:#d6dee8!important}
.nc-controller-notice{background:#1b212a;color:#d6dee8}
.native-screen .attraction-command-button{background:#1b212a;color:#d8bf97;border:1px solid #303841}
.attraction-command-button.nc-command-start{color:#ffffff!important}
.attraction-command-button.nc-command-stop{background:#7e5c1b!important;color:#e9c587!important}
.attraction-command-button.nc-command-danger{color:#ffffff!important}
.nc-confirm,.nc-notice-detail{background:#161b22}
.nc-confirm::backdrop,.nc-notice-detail::backdrop,dialog::backdrop{background:rgba(23,32,46,0.4)}
.nc-sheet-handle{background:#202730}
.nc-confirm p{color:#d6dee8}
.point-exchange-confirm-product-image{background:#161b22}
.point-exchange-confirm-actions button{background:#161b22}
.point-exchange-confirm-submit{color:#ffffff}
.nc-segments{background:#202730}
.nc-segments>button{color:#d6dee8}
.nc-segments>button[aria-selected="true"]{background:#161b22}
.we-step-row,.we-paste-inline{background:#161b22}
.we-step-icon{background:#1b212a}
.we-bottom-tool{background:#161b22;color:#d6dee8}
.we-bottom-tool.is-danger{background:#161b22;border-color:#303841}
.we-operation,.we-op-button,.we-operation-button,.we-mode,.we-mode-button,.we-other-mode-button{background:#161b22}
.we-block-option,.we-block-card{background:#161b22}
.we-inline-action,.we-more,.we-add-more-block,.we-add-more{background:#161b22}
.we-block-preview>*,.we-selected-block{background:#1b212a;color:#d6c29a;border:1px solid #303841}
.we-block-scroll-top{background:#161b22}
.we-confirm-preview{background:#1b212a;color:#d6c19a}
.cast-list-grid{background:#161b22}
.cast-list-card{background:#161b22}
.cast-list-edition,.cast-list-rank,.cast-list-training-badge,.cast-list-area-tag{background:#1b212a;color:#d6dee8}
.native-screen .admin-empty-guide{border:1px dashed #303841}
.native-screen .admin-empty-guide h2{color:#abb5c2}
.native-screen .nc-data-table{background:#161b22}
.nc-data-table thead th{background:#1b212a}
.native-screen .admin-permission-grid label,.native-screen .permission-grid label,.native-screen .profile-area-choice-grid label{background:#161b22}
.native-screen .admin-filter-tabs>a,.native-screen .admin-filter-tabs>button,.native-screen .guest-tab,.native-screen .smais-id-tab{background:#161b22;color:#d6dee8}
.native-screen .smais-id-detail-card,.native-screen .guest-panel,.native-screen .discord-notify-card{background:#161b22}
.native-screen [class*="status-pill"],.native-screen [class*="status-badge"]{color:#dbc694}
.native-screen .nc-switch{background:#202730}
.native-screen .nc-switch:before{background:#161b22}
.nc-material-upload{border:1px solid #8a6f38}
.nc-material-upload .material-file-picker-icon{background:#161b22}
.nc-material-upload small{color:#ceb98d}
.material-chip-scroller a,.material-chip{background:#161b22}
.material-chip-scroller .is-active{color:#dac295}
.material-item-card,.material-asset-card{background:#161b22}
.material-album-card{background:#161b22}
.material-album-open-hit{background:#161b22}
.material-album-thumb{background:#1b212a}
.material-empty-card{border:1px dashed #303841;background:#161b22}
.material-album-dialog{background:#161b22}
.material-album-dialog-close{background:#1b212a;color:#d6dee8}
.material-photo-viewer{color:#ffffff!important}
.material-photo-viewer button{color:#ffffff!important}
.material-photo-viewer-panel{color:#ffffff!important}
.material-photo-viewer-info-popover,.material-photo-info-panel{border-color:rgba(255,255,255,0.133)!important}
.material-upload-review-dialog{color:#ffffff}
.material-upload-review-top{color:#ffffff}
.material-upload-review-panel{background:#161b22}
.material-upload-review-panel button{border:1px solid #87703a}
.material-upload-review-panel .material-submit-button{color:#ffffff}
.material-review-choice-list button{background:#161b22}
.material-upload-progress{background:#1b212a}
.material-upload-progress-track{background:#202730}
.nc-map-drawer{background:#161b22}
.map-player-card{background:#161b22}
.guide-panel>section,.guide-panel>article{background:#161b22}
.server-info-edition-card{background:#161b22}
.server-info-minecraft-card{background:#161b22}
.server-info-copy-button{background:#161b22}
.server-info-static-input{background:#161b22}
.native-screen .smais-point-mobile section,.native-screen .smais-point-mobile article{background:#161b22}
.native-screen .smais-point-mobile a{color:#f0f2f7}
.history-entry-card{background:#161b22}
.build-week-status,.build-inline-status{color:#d8c498}
.progress-type-card{background:#161b22}
.leave-request-stat{background:#161b22}
@media (max-width:639px){.nc-data-table tr{background:#161b22}
.nc-data-table td{border-bottom:1px solid #303841}}
@media (min-width:1100px){.nc-shell{border-left:1px solid #303841;border-right:1px solid #303841}
body{background:#1b212a}}
@media (prefers-reduced-motion:reduce){.nc-skeleton{background:#1b212a}}
.native-screen .attraction-card:after{color:#abb5c2}
.native-screen .nc-password>button{color:#d6dee8!important}
.native-screen .admin-attraction-permission-item{background:#161b22}
.native-screen .application-card,.native-screen .weekly-ranking-toggle,.native-screen .cast-ranking-toggle{background:#161b22!important}
.native-screen .admin-stat-card,.native-screen .reserve-stat{background:#161b22}
.native-screen .nc-screen-segments button{background:#161b22}
:where(.native-screen) button{background:#161b22}
.native-screen .teleport-modal-close,.native-screen .attraction-modal-close,.native-screen .we-close,.native-screen .history-detail-close,.native-screen .cast-member-modal-close,.native-screen .application-modal-close{background:#1b212a;color:#d6dee8}
.native-screen .we-choice{background:#161b22!important}
.native-screen .cast-member-modal-box{background:#161b22}
.native-screen .cast-weekly-ranking-toggle{background:#161b22!important}
.native-screen .material-photo-viewer-dialog{color:#ffffff}
.native-screen .material-photo-viewer button{background:rgba(35,40,48,0.851);color:#ffffff}
.native-screen .material-photo-viewer .material-photo-viewer-delete-button{color:#ffffff}
.native-screen .material-photo-viewer-info-panel{border:1px solid rgba(255,255,255,0.133);color:#ffffff}
.native-screen .material-photo-viewer-info-panel dt{color:#abb5c2}
.native-screen .material-photo-viewer-info-panel dd{color:#ffffff}
.native-screen .teleport-choice-card[aria-pressed="true"]:after,.native-screen .teleport-player-card[aria-pressed="true"]:after{background:#161b22}
.native-screen .admin-activity-stat,.native-screen .guest-stat-grid>*{background:#161b22!important}
.native-screen .point-exchange-admin-summary>a{background:#1b212a!important}
.native-screen .detail-grid>.detail-card{background:#161b22!important}
.native-screen .detail-hero{background:#161b22!important}
.native-screen .parade-lock-target-link{background:#161b22!important}
.nc-login-loader{background:#161b22;color:#f0f2f7}
.nc-login-loader-name{color:#d6bd85!important}
.nc-login-loader h2{color:#f0f2f7!important}
.nc-login-loader-line{background:#202730}
.nc-admin-command-center{background:#161b22}
.nc-admin-menu-search{background:#1b212a}
.nc-admin-menu-search:focus-within{background:#161b22}
.nc-admin-menu-search>.nc-icon{color:#d6dee8}
.nc-admin-quick-links a{background:#161b22}
.native-screen .nc-admin-sticky-filter{border:1px solid rgba(48,56,65,0.95)!important;background:rgba(22,27,34,0.94)!important}
.native-screen .nc-admin-sticky-filter input,.native-screen .nc-admin-sticky-filter select{background:#161b22!important}
.nc-admin-to-top{border:1px solid rgba(48,56,65,0.9)!important;background:rgba(22,27,34,0.94)!important}
@media (max-width:720px){.native-screen.sm-admin-page .sm-admin-table tr,.native-screen.sm-admin-page .nc-data-table tr{background:#161b22!important}
.native-screen.sm-admin-page .sm-admin-table td,.native-screen.sm-admin-page .nc-data-table td{border-bottom:1px solid #303841!important}}
.nc-orientation-guard{background:rgba(27,33,42,0.98)}
.nc-orientation-guard-card{color:#f0f2f7}
.nc-orientation-phone{border:4px solid #303841;background:#161b22}
.nc-orientation-phone:before{background:#252d37}
.nc-orientation-guard-card p{color:#d6dee8}
.native-screen .profile-area-choice-grid .profile-area-choice{background:#161b22!important}
.native-screen .profile-area-choice-grid .profile-area-choice>input:checked+span{color:#e2c68d!important}
.native-screen.smais-id-admin-page .id-flash{background:#161b22!important}
.native-screen.smais-id-admin-page .id-flash.ok{background:#1b212a!important;border-color:#303841!important;color:#9ad6b1!important}
.native-screen.smais-id-admin-page .id-flash.error{background:#161b22!important;border-color:#303841!important;color:#d699a0!important}
.native-screen.smais-id-admin-page .id-total,.native-screen.smais-id-admin-page .id-search-form{background:#161b22!important}
.native-screen.smais-id-admin-page .id-search-form input{background:#161b22!important}
.native-screen.smais-id-admin-page .id-search-form input:focus{background:#161b22!important}
.native-screen.smais-id-admin-page .id-search-form button,.native-screen.smais-id-admin-page .id-search-form a{background:#161b22!important}
.native-screen.smais-id-admin-page .id-search-form button{border-color:#303841!important;color:#ffffff!important}
.native-screen.smais-id-admin-page .id-account-card{background:#161b22!important}
.native-screen.smais-id-admin-page .id-avatar{color:#e2c78d!important}
.native-screen.smais-id-admin-page .id-lock-badge,.native-screen.smais-id-admin-page .detail-badge{background:#1b212a!important;color:#d6dee8!important}
.native-screen.smais-id-admin-page .id-lock-badge{background:#1b212a!important;color:#d6999f!important}
.native-screen.smais-id-admin-page .detail-badge.is-gold{color:#e3c98c!important}
.native-screen.smais-id-admin-page .detail-badge.is-blue{background:#1b212a!important;color:#9ab4d6!important}
.native-screen.smais-id-admin-page .detail-badge.is-danger{background:#1b212a!important;color:#dc9393!important}
.native-screen.smais-id-admin-page .id-account-identity p{color:#d6dee8!important}
.native-screen.smais-id-admin-page .id-account-state>div{background:#161b22!important}
.native-screen.smais-id-admin-page .id-open-hint{color:#dbc594!important}
.native-screen.smais-id-admin-page .id-manage-details>summary{color:#d6dee8!important}
.native-screen.smais-id-admin-page .id-edit-form,.native-screen.smais-id-admin-page .id-unlock-form{background:#161b22!important}
.native-screen.smais-id-admin-page .id-edit-form label{color:#d6dee8!important}
.native-screen.smais-id-admin-page .id-edit-form input,.native-screen.smais-id-admin-page .id-edit-form textarea{background:#161b22!important}
.native-screen.smais-id-admin-page .id-edit-form button,.native-screen.smais-id-admin-page .id-unlock-form button{background:#161b22!important}
.native-screen.smais-id-admin-page .id-empty{background:#161b22!important}
.native-screen.smais-id-detail-page .detail-info-grid>div,.native-screen.smais-id-detail-page .detail-info-list>div,.native-screen.smais-id-detail-page .detail-creator-list>div{background:#161b22!important}
.native-screen.smais-id-detail-page .admin-memo-form textarea{background:#161b22!important}
.native-screen .admin-retire-panel{border-color:rgba(183,128,26,0.24)!important;background:linear-gradient(180deg,rgba(22,27,34,0.98),rgba(22,27,34,0.98))!important}
.native-screen .cast-retire-button{border:1px solid rgba(169,113,12,0.28);color:#ffffff}
.native-screen .admin-retired-summary::after{color:#d6dee8}
.native-screen .admin-retired-summary-copy strong{color:#f0f2f7}
.native-screen .admin-retired-count{background:#1b212a;color:#d6dee8}
.native-screen .admin-retired-section-body{border-top:1px solid var(--nc-line,#303841)}
.native-screen .admin-retired-empty{border:1px dashed #303841;color:#d6dee8}
.native-screen .admin-retired-list{border:1px solid #303841;background:#161b22}
.native-screen .admin-retired-row{border-bottom:1px solid #303841;background:#161b22}
.native-screen .admin-retired-row:active{background:#161b22}
.native-screen .admin-retired-avatar{background:#1b212a}
.native-screen .admin-retired-row-title{color:#f0f2f7}
.native-screen .admin-retired-row-copy small{color:#d6dee8}
.native-screen .admin-retired-chevron{color:#abb5c2}
.native-screen .admin-retired-modal-toolbar{border-bottom:1px solid #303841;background:rgba(22,27,34,0.96)}
.native-screen .admin-retired-modal-toolbar h2{color:#f0f2f7}
.native-screen .admin-retired-profile-avatar{background:#1b212a}
.native-screen .admin-retired-profile-copy h3{color:#f0f2f7}
.native-screen .admin-retired-profile-copy p{color:#d6dee8}
.native-screen .admin-retired-meta-card{border:1px solid #303841;background:#161b22}
.native-screen .admin-retired-meta-card span{color:#d6dee8}
.native-screen .admin-retired-meta-card strong{color:#f0f2f7}
.native-screen .admin-retired-detail-section{border-top:1px solid #303841}
.native-screen .admin-retired-detail-section>h3{color:#f0f2f7}
.native-screen .admin-retired-detail-grid,
.native-screen .admin-retired-history-record dl{border:1px solid #303841}
.native-screen .admin-retired-detail-grid dt,
.native-screen .admin-retired-detail-grid dd,
.native-screen .admin-retired-history-record dt,
.native-screen .admin-retired-history-record dd{border-bottom:1px solid #303841}
.native-screen .admin-retired-detail-grid dt,
.native-screen .admin-retired-history-record dt{background:#161b22;color:#d6dee8}
.native-screen .admin-retired-detail-grid dd,
.native-screen .admin-retired-history-record dd{background:#161b22;color:#f0f2f7}
.native-screen .admin-retired-history-group{border:1px solid #303841;background:#161b22}
.native-screen .admin-retired-history-group>summary{color:#f0f2f7}
.native-screen .admin-retired-history-group>summary small{color:#d6dee8}
.native-screen .admin-retired-security-note{background:#1b212a;color:#d6dee8}
.native-screen .admin-retired-detail-grid,
.native-screen .admin-retired-history-record dl{border:1px solid #303841}
.native-screen .admin-retired-detail-grid>div,
.native-screen .admin-retired-history-record dl>div{border-bottom:1px solid #303841}
.native-screen .admin-retired-detail-grid>div.admin-retired-detail-wide dt{border-bottom:1px solid #303841!important}
.native-screen .admin-retired-history-record h4{color:#abb5c2}
html.nc-ipad-standalone,
body.nc-ipad-standalone{background:#161b22}
body.nc-tablet-device:not(.nc-gated) .nc-tabbar{background:rgba(22,27,34,0.98)}
}

/* Generated color overrides for route-specific styles. */
@media (prefers-color-scheme: dark) {
.guest-view-tabs{border:1px solid var(--nc-line,#303841);background:#1b212a}
.guest-view-tab{color:var(--nc-muted,#d6dee8)}
.guest-view-tab.is-active{background:#161b22;color:var(--nc-text,#f0f2f7)}
.guest-reset-card .guest-reset-button{background:#161b22;color:#d69999}
.guest-reset-card .guest-reset-button:hover{background:#1b212a}
.guest-history-head p{color:var(--nc-muted,#d6dee8)}
.guest-history-search{border:1px solid var(--nc-line,#303841);background:#161b22}
.guest-history-search>span{color:#abb5c2}
.guest-history-search input{color:var(--nc-text,#f0f2f7)!important}
.guest-history-search input::placeholder{color:#abb5c2}
.guest-history-search-count{color:var(--nc-muted,#d6dee8)}
.guest-history-batch{border:1px solid var(--nc-line,#303841);background:#161b22}
.guest-history-range{color:var(--nc-text,#f0f2f7)}
.guest-history-summary-meta strong{color:#d6dee8}
.guest-history-summary-meta small{color:#abb5c2}
.guest-history-list{border-top:1px solid var(--nc-line,#303841);background:#161b22}
.guest-history-person{border:1px solid #303841;background:#161b22}
.guest-history-person-main strong{color:var(--nc-text,#f0f2f7)}
.guest-history-person-main span{color:var(--nc-muted,#d6dee8)}
.guest-history-person-meta{color:#d6dee8}
.ride-config-back{border:1px solid #303841}
.ride-config-toolbar,.ride-config-card{border:1px solid #3d5871}
.ride-config-map.is-empty:after{color:#8db0ce}
.ride-config-marker{border:2px solid #303841;color:#ffffff}
.ride-config-marker.is-selected{background:#7e661b;color:#f0f2f7;border-color:#ffffff}
.ride-config-point{border:1px solid #3d5971}
.ride-config-empty{color:#8db0ce}
.ride-config-marker:focus-visible{outline:1px solid rgba(255,255,255,0.8)!important}
.application-group+.application-group{border-top:1px solid var(--nc-line,#303841)}
.application-group-head span{color:#cfb78c}
.application-group-head h3{color:var(--nc-text,#f0f2f7)}
.application-group-head>strong{color:#d6dee8}
.application-group.is-past .application-group-head span{color:#d6dee8}
.applications-search{border:1px solid var(--nc-line,#303841);background:#161b22}
.applications-search>span{color:#abb5c2}
.applications-search input{color:var(--nc-text,#f0f2f7)!important}
.applications-search input::placeholder{color:#abb5c2}
.material-submit-spinner{border-top-color:#ffffff}
.material-video-lazy-button:focus-visible{outline:2px solid rgba(216,183,95,0.9)}
.material-gallery-viewer-button:focus-visible{outline:2px solid rgba(216,183,95,0.9)}
.material-photo-viewer-loading span{border-top-color:rgba(216,183,95,0.95)}
@media (max-width:520px){.material-dialog-footer-gallery{border-top:1px solid rgba(255,255,255,0.12)}}
.material-upload-review-panel{border-top:1px solid rgba(255,255,255,0.12)}
@media (min-width:880px){.material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
.material-upload-review-panel{border-top:1px solid rgba(255,255,255,0.12)}
@media (min-width:760px){.material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
.material-review-list-panel-head{border-bottom:1px solid rgba(255,255,255,0.1)}
@media (min-width:760px) and (max-width:1180px){.native-screen.material-share-page .material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
.material-submit-spinner{border-top-color:#ffffff}
.material-video-lazy-button:focus-visible{outline:2px solid rgba(216,183,95,0.9)}
.material-gallery-viewer-button:focus-visible{outline:2px solid rgba(216,183,95,0.9)}
.material-photo-viewer-loading span{border-top-color:rgba(216,183,95,0.95)}
@media (max-width:520px){.material-dialog-footer-gallery{border-top:1px solid rgba(255,255,255,0.12)}}
.material-upload-review-panel{border-top:1px solid rgba(255,255,255,0.12)}
@media (min-width:880px){.material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
.material-upload-review-panel{border-top:1px solid rgba(255,255,255,0.12)}
@media (min-width:760px){.material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
.material-review-list-panel-head{border-bottom:1px solid rgba(255,255,255,0.1)}
@media (min-width:760px) and (max-width:1180px){.native-screen.material-share-page .material-upload-review-panel{border-left:1px solid rgba(255,255,255,0.12)}}
html.nc-gated-root body.nc-gated .nc-shell{background:#1b212a!important}
html.nc-gated-root body.nc-gated .native-screen.nc-onboarding-page{background:#1b212a!important}
.smais-onboarding{background:radial-gradient(circle at 6% 12%,rgba(121,97,32,0.24),transparent 27%),
    radial-gradient(circle at 95% 10%,rgba(76,153,199,0.14),transparent 25%),
    linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-onboarding-special,
.nc-login-loader{color:#ffffff}
.smais-onboarding-special-glow,
.nc-login-loader-glow{border:1px solid rgba(211,172,86,0.24)}
.smais-onboarding-special-stage h1,
.nc-login-loader-stage h1{color:#ffffff!important}
.smais-story-progress span{background:rgba(255,255,255,0.14)}
.smais-story-frame{border:1px solid rgba(255,255,255,0.92);background:rgba(22,27,34,0.76)}
.smais-story-media-wrap{background:linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-story-media{background:#1b212a}
video.smais-story-media{background:#1b212a}
.smais-story-copy{background:#161b22}
.smais-story-slide.is-focus-bottom .smais-story-media{background:#1b212a}
.smais-story-slide.is-landscape .smais-story-media-wrap{background:linear-gradient(180deg,#1b212a 0%,#202730 100%)}
.smais-story-slide.is-landscape .smais-story-media{background:#202730}
.smais-story-finale-shell{background:linear-gradient(160deg,#161b22 0%,#1b212a 70%,#1b212a 100%)}
.smais-story-finale-shell:before{background:radial-gradient(circle,rgba(206,170,90,0.22),transparent 68%)}
.smais-story-finale-mark span{color:#f0f2f7}
.smais-story-start{color:#ffffff!important}
.smais-story-hint{color:#d6dee8!important}
html.nc-gated-root body.nc-gated .nc-shell{background:#1b212a!important}
html.nc-gated-root body.nc-gated .native-screen.nc-onboarding-page{background:#1b212a!important}
.smais-onboarding{background:radial-gradient(circle at 6% 12%,rgba(121,97,32,0.24),transparent 27%),
    radial-gradient(circle at 95% 10%,rgba(76,153,199,0.14),transparent 25%),
    linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-onboarding-special{color:#ffffff}
.smais-onboarding-special-glow{border:1px solid rgba(211,172,86,0.24)}
.smais-onboarding-special-stage h1{color:#ffffff!important}
.smais-story-progress span{background:rgba(255,255,255,0.14)}
.smais-story-frame{border:1px solid rgba(255,255,255,0.92);background:rgba(22,27,34,0.76)}
.smais-story-media-wrap{background:linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-story-media{background:#1b212a}
video.smais-story-media{background:#1b212a}
.smais-story-copy{background:#161b22}
.smais-story-slide.is-focus-bottom .smais-story-media{background:#1b212a}
.smais-story-slide.is-landscape .smais-story-media-wrap{background:linear-gradient(180deg,#1b212a 0%,#202730 100%)}
.smais-story-slide.is-landscape .smais-story-media{background:#202730}
.smais-story-finale-shell{background:linear-gradient(160deg,#161b22 0%,#1b212a 70%,#1b212a 100%)}
.smais-story-finale-shell:before{background:radial-gradient(circle,rgba(206,170,90,0.22),transparent 68%)}
.smais-story-finale-mark span{color:#f0f2f7}
.smais-story-start{color:#ffffff!important}
.smais-story-hint{color:#d6dee8!important}
html.nc-gated-root body.nc-gated .nc-shell{background:#1b212a!important}
html.nc-gated-root body.nc-gated .native-screen.nc-onboarding-page{background:#1b212a!important}
.smais-onboarding{background:radial-gradient(circle at 6% 12%,rgba(121,97,32,0.24),transparent 27%),
    radial-gradient(circle at 95% 10%,rgba(76,153,199,0.14),transparent 25%),
    linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-onboarding-special{color:#ffffff}
.smais-onboarding-special-glow{border:1px solid rgba(211,172,86,0.24)}
.smais-onboarding-special-stage h1{color:#ffffff!important}
.smais-story-progress span{background:rgba(255,255,255,0.14)}
.smais-story-frame{border:1px solid rgba(255,255,255,0.92);background:rgba(22,27,34,0.76)}
.smais-story-media-wrap{background:linear-gradient(180deg,#161b22 0%,#1b212a 100%)}
.smais-story-media{background:#1b212a}
video.smais-story-media{background:#1b212a}
.smais-story-motion{background:#1b212a}
.smais-story-copy{background:#161b22}
.smais-story-slide.is-focus-bottom .smais-story-media-wrap{background:#1b212a}
.smais-story-slide.is-focus-bottom .smais-story-motion{background:#1b212a}
.smais-story-slide.is-focus-bottom .smais-story-motion>.smais-story-media{background:#1b212a}
.smais-story-slide.is-landscape .smais-story-media-wrap{background:linear-gradient(180deg,#1b212a 0%,#202730 100%)}
.smais-story-slide.is-landscape .smais-story-motion{background:#202730}
.smais-story-slide.is-landscape .smais-story-media{background:#202730}
.smais-story-finale-shell{background:linear-gradient(160deg,#161b22 0%,#1b212a 70%,#1b212a 100%)}
.smais-story-finale-shell:before{background:radial-gradient(circle,rgba(206,170,90,0.22),transparent 68%)}
.smais-story-finale-mark span{color:#f0f2f7}
.smais-finale-accent{color:#e6b275!important}
.smais-story-start{color:#ffffff!important}
.smais-story-hint{color:#d6dee8!important}
}

/* Final semantic palette and shared controls. */
/*
 * SMAIS CAST - system dark mode
 * Additive theme layer. Layout, navigation, scrolling and page logic are not changed.
 * The browser switches this layer live with prefers-color-scheme.
 */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --nc-bg: #0d1117;
    --nc-surface: #161b22;
    --nc-text: #f0f3f6;
    --nc-muted: #9aa4b2;
    --nc-line: #303841;
    --nc-gold: #d8b85f;
    --nc-gold-soft: #2b2416;
    --nc-danger: #ff7b86;
    --nc-blue: #68a9e8;
  }

  html, body, .nc-shell { background: var(--nc-bg); color: var(--nc-text); }
  .nc-appbar { background: rgba(13,17,23,.96); border-bottom-color: rgba(48,56,65,.9); }
  .nc-tabbar { background: rgba(22,27,34,.97); border-top-color: var(--nc-line); }
  .nc-tab { color: #8d97a5; }
  .nc-tab.is-active { color: var(--nc-gold); }
  .nc-list, .nc-list-row { background: var(--nc-surface); }
  .native-screen label, .native-screen legend { color: #c7cdd6; }
  .native-screen input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]),
  .native-screen select,
  .native-screen textarea { background: #111820; border-color: var(--nc-line); color: var(--nc-text); }
  .native-screen input::placeholder, .native-screen textarea::placeholder { color: #737e8c; opacity: 1; }
  .nc-skip:focus { background: var(--nc-surface); color: var(--nc-text); }
  .nc-offline { background: #2b2416; color: #f0cc7a; box-shadow: 0 4px 20px #0005; }
  .nc-toast { background: #273241; color: #fff; box-shadow: 0 12px 40px #0007; }
  .nc-toast.is-error { background: #652c35; }
  .nc-orientation-guard { background: rgba(13,17,23,.98); }
  .nc-orientation-phone { background: #161b22; border-color: #7f8996; }
  .nc-orientation-phone:before { background: #596573; }
  .smais-story-frame { border-color: rgba(255,255,255,.16); }
  .smais-story-progress span { background: rgba(255,255,255,.12); }
  ::selection { background: rgba(216,184,95,.28); color: var(--nc-text); }
  * { scrollbar-color: #3d4652 #111820; }
}
