/*
 * v484 — open starfield layout for every admin tool
 *
 * Page-sized wrappers are layout containers, not cards. Individual controls,
 * rows, forms, statistics, previews, and action cards keep their own surfaces.
 */

/* Guarantee that every admin page root stays open to the shared starfield. */
html body.ll-admin-shell
  :where(
    .admin-main,
    .admin-store-main,
    .admin-orders-section,
    .admin-subscriptions-section,
    .staff-admin-page,
    .staff-shell,
    .delivery-main,
    .banner-manager-content,
    .security-main,
    .death-main,
    .death-dashboard,
    .page-shell,
    main.page,
    main.shell
  ){
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body.ll-admin-shell
  :where(
    .admin-main,
    .admin-store-main,
    .admin-orders-section,
    .admin-subscriptions-section,
    .staff-admin-page,
    .staff-shell,
    .delivery-main,
    .banner-manager-content,
    .security-main,
    .death-main,
    .death-dashboard,
    .page-shell,
    main.page,
    main.shell
  )::before,
html body.ll-admin-shell
  :where(
    .admin-main,
    .admin-store-main,
    .admin-orders-section,
    .admin-subscriptions-section,
    .staff-admin-page,
    .staff-shell,
    .delivery-main,
    .banner-manager-content,
    .security-main,
    .death-main,
    .death-dashboard,
    .page-shell,
    main.page,
    main.shell
  )::after{
  content:none!important;
  display:none!important;
}

/*
 * Feedback Manager
 * The two large working sections used to read as full-page background cards.
 */
html body.ll-admin-shell[data-admin-active-route="feedback"]
  .admin-main > .admin-panel{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html body.ll-admin-shell[data-admin-active-route="feedback"]
  .admin-main > .admin-panel::before,
html body.ll-admin-shell[data-admin-active-route="feedback"]
  .admin-main > .admin-panel::after{
  content:none!important;
  display:none!important;
}

html body.ll-admin-shell[data-admin-active-route="feedback"]
  .admin-main > .admin-panel > .panel-head{
  padding-inline:4px!important;
  border:0!important;
  border-bottom:1px solid rgba(15,104,234,.18)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/*
 * Security Blocks
 * Keep each block record as a card, but remove the card surrounding the list.
 */
html body.ll-admin-shell[data-admin-active-route="security"]
  main.page > .panel{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html body.ll-admin-shell[data-admin-active-route="security"]
  main.page > .panel::before,
html body.ll-admin-shell[data-admin-active-route="security"]
  main.page > .panel::after{
  content:none!important;
  display:none!important;
}

html body.ll-admin-shell[data-admin-active-route="security"]
  main.page > .panel > .panel-head{
  padding-inline:4px!important;
  border:0!important;
  border-bottom:1px solid rgba(15,104,234,.18)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body.ll-admin-shell[data-admin-active-route="security"]
  main.page > .panel > .content{
  padding-inline:0!important;
  background:transparent!important;
}

/*
 * Death History
 * The history panel is the whole page workspace; its search and result cards
 * remain styled individually.
 */
html body.ll-admin-shell[data-admin-active-route="death"]
  .page-shell > #deathHistoryPanel.panel{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html body.ll-admin-shell[data-admin-active-route="death"]
  .page-shell > #deathHistoryPanel.panel::before,
html body.ll-admin-shell[data-admin-active-route="death"]
  .page-shell > #deathHistoryPanel.panel::after{
  content:none!important;
  display:none!important;
}

html body.ll-admin-shell[data-admin-active-route="death"]
  .page-shell > #deathHistoryPanel.panel > .panel-head{
  padding-inline:4px!important;
  border:0!important;
  border-bottom:1px solid rgba(15,104,234,.18)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body.ll-admin-shell[data-admin-active-route="death"]
  .page-shell > #deathHistoryPanel.panel > .death-history-wrap{
  padding-inline:0!important;
  background:transparent!important;
}

/*
 * Delivery Servers
 * Rows remain separate cards; the large list backing is removed.
 */
html body.ll-admin-shell.admin-delivery-servers-page
  .delivery-main > .delivery-panel{
  padding-inline:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html body.ll-admin-shell.admin-delivery-servers-page
  .delivery-main > .delivery-panel::before,
html body.ll-admin-shell.admin-delivery-servers-page
  .delivery-main > .delivery-panel::after{
  content:none!important;
  display:none!important;
}

/*
 * Product editor
 * Remove the two tall backing panels while preserving their inner fields,
 * price adjuster, thumbnail, collapsible settings, and command cards.
 */
html body.ll-admin-shell.admin-store-item-page
  .editor-product-reference-card,
html body.ll-admin-shell.admin-store-item-page
  .admin-editor-settings-card{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html body.ll-admin-shell.admin-store-item-page
  .editor-product-reference-card::before,
html body.ll-admin-shell.admin-store-item-page
  .editor-product-reference-card::after,
html body.ll-admin-shell.admin-store-item-page
  .admin-editor-settings-card::before,
html body.ll-admin-shell.admin-store-item-page
  .admin-editor-settings-card::after{
  content:none!important;
  display:none!important;
}

/*
 * Store, Orders, and Subscriptions already use discrete cards. These resets
 * prevent an older stylesheet from restoring a page-sized backing surface.
 */
html body.ll-admin-shell.admin-orders-page
  .admin-orders-section,
html body.ll-admin-shell.admin-orders-page
  .admin-orders-section > .wrap,
html body.ll-admin-shell.admin-subscriptions-page
  .admin-subscriptions-section,
html body.ll-admin-shell.admin-subscriptions-page
  .admin-subscriptions-section > .wrap,
html body.ll-admin-shell.store-manager-v470
  .store-v470-shell,
html body.ll-admin-shell.store-manager-v470
  .store-v470-page,
html body.ll-admin-shell.store-manager-v470
  .store-v470-product-area{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body.ll-admin-shell.admin-orders-page
  .admin-orders-section::before,
html body.ll-admin-shell.admin-orders-page
  .admin-orders-section::after,
html body.ll-admin-shell.admin-subscriptions-page
  .admin-subscriptions-section::before,
html body.ll-admin-shell.admin-subscriptions-page
  .admin-subscriptions-section::after,
html body.ll-admin-shell.store-manager-v470
  .store-v470-shell::before,
html body.ll-admin-shell.store-manager-v470
  .store-v470-shell::after,
html body.ll-admin-shell.store-manager-v470
  .store-v470-page::before,
html body.ll-admin-shell.store-manager-v470
  .store-v470-page::after,
html body.ll-admin-shell.store-manager-v470
  .store-v470-product-area::before,
html body.ll-admin-shell.store-manager-v470
  .store-v470-product-area::after{
  content:none!important;
  display:none!important;
}

@media(max-width:980px){
  html body.ll-admin-shell[data-admin-active-route="feedback"]
    .admin-main > .admin-panel > .panel-head,
  html body.ll-admin-shell[data-admin-active-route="security"]
    main.page > .panel > .panel-head,
  html body.ll-admin-shell[data-admin-active-route="death"]
    .page-shell > #deathHistoryPanel.panel > .panel-head{
    padding-inline:0!important;
  }
}
