/* PAC Products V12.7 — Midnight Charcoal theme.
   Brand: PAC cyan #00C0FF. This file intentionally does not style
   .pac-market-card fill, outlines, buttons or fonts: those remain
   under control of the administrator's saved Card Designer settings. */
:root {
  color-scheme: dark;
  --bg: #090a0c;
  --bg-2: #101113;
  --panel: #17191c;
  --panel2: #1d2024;
  --line: rgba(192,205,216,.14);
  --line-strong: rgba(192,205,216,.24);
  --text: #f4f6f9;
  --muted: #9ca4ae;
  --blue: #00c0ff;
  --bright: #00c0ff;
  --cyan: #00c0ff;
  --pac-brand-blue: #00c0ff;
}
html{background:#090a0c}
body{background:#090a0c;color:#f2f4f7}
body .ambient-one{background:radial-gradient(ellipse,rgba(0,192,255,.075),transparent 66%);opacity:.56}
body .ambient-two{background:radial-gradient(ellipse,rgba(0,192,255,.04),transparent 65%);opacity:.45}
body :is(button,input,select,textarea,a):focus-visible{outline:2px solid #00c0ff;outline-offset:3px}
::selection{background:rgba(0,192,255,.3);color:#fff}
/* BLACK storefront chrome: subdued, almost monochrome, without deleting PAC branding. */
body .announcement{background:linear-gradient(90deg,#0a0c0e,#181b1e 52%,#0a0c0e);border-bottom:1px solid #252a2e;color:#e0e5e9}
body .announcement a{color:#00c0ff;border-color:rgba(0,192,255,.55)}
body .site-header{background:rgba(10,11,13,.96);border-bottom:1px solid #292d32;box-shadow:0 8px 28px rgba(0,0,0,.28)}
body .desktop-nav a{color:#a2a7ae}
body .desktop-nav a:hover,body .desktop-nav a.nav-active{color:#f5f7f8}
body .desktop-nav a.nav-active:after{background:#00c0ff}
body .mobile-menu{background:#111316;border-color:#31363b}
body .discord-button,body .discord-button.account-active{background:#1b1e22;border:1px solid #363c43;color:#f1f4f7;box-shadow:none}
body .discord-button:hover{background:#262b2e;border-color:#00c0ff}
body .account-dropdown{background:#191c1f;border-color:#353a3e;box-shadow:0 25px 50px #000c}
body .account-dropdown a:hover,body .account-dropdown button:hover{background:#252a2d}
body .secondary-button,body .product-action:not(.add){background:#1c2023;border-color:#363d44;color:#ecf0f5}
body .secondary-button:hover{background:#272b30;border-color:#59828a}
body .primary-button:not(.product-action){background:linear-gradient(130deg,#007caf,#00b3ef);border-color:#00c0ff;color:#031217;box-shadow:0 8px 30px rgba(0,192,255,.1)}
body .primary-button:not(.product-action):hover{box-shadow:0 10px 35px rgba(0,192,255,.2)}
body .hero h1 span{background:linear-gradient(100deg,#00c0ff,#b8f0ff);-webkit-background-clip:text;background-clip:text;color:transparent}
body :is(.hero-description,.section-heading p,.catalog-hero p,.values-head p,.faq-heading p,.faq-answer p){color:#a5abb4}
body .eyebrow-tag{background:#191d20;border-color:#343a40;color:#a8b5bc}
body .stage-orbit{border-color:rgba(157,174,188,.10)}
body .preview-window{background:#161a1e;box-shadow:0 38px 100px #000b,0 0 0 1px #3e474e}
body .preview-topbar,body .preview-rail{background:#121518;border-color:#2c3439}
body .preview-tile,body .preview-chart{background:linear-gradient(135deg,#21252a,#171a1e);border-color:#333b41}
body .tile-glow{background:linear-gradient(130deg,#1d272c,#181e23)}
body .stage-chip{background:rgba(20,24,27,.96);border-color:#384a54}
body .rail-active{background:#163741;color:#00c0ff}
body .collection{background:transparent}
body .catalog-toolbar{border-color:#2d3339}
body .category-tabs button{background:#191c1f;border-color:#33383f;color:#c0c5cc}
body .category-tabs button:hover:not(.selected){background:#292e32;border-color:#58636b;color:#fff}
body .category-tabs button.selected{background:#18303a;border-color:#137ea0;color:#e7faff}
body .searchbox,body .searchbox input{background:#171a1e;border-color:#373d43;color:#f5f6f8}
body .searchbox input::placeholder{color:#818c95}
body .searchbox:focus-within{border-color:#00c0ff}
body .collection-end{border-color:#252b30;color:#838f9a}
body .catalog-hero{border-color:#262c31}
/* Only theme the surrounding surfaces of product cards. Designer-saved
   fill, outline, typography, price and button styles retain priority. */
body .product-grid{gap:18px}
body .product-grid .pac-market-card{box-shadow:0 14px 34px rgba(0,0,0,.32)}
body .product-grid .pac-market-card:hover{box-shadow:0 22px 42px rgba(0,0,0,.48)}
body .pac-market-card .pac-card-media,body .product-grid .pac-market-card .product-art{background-color:#101214}
body .pac-card-favorite{background:rgba(16,17,19,.83);border-color:#5c646b}
body .values-grid article,body .faq-item,body .faq-section details,body .discord-panel{background:linear-gradient(150deg,#1a1d20,#141618);border-color:#32373d;box-shadow:0 10px 25px #0003}
body .discord-panel-glow{opacity:.35}
body .site-footer{background:#0c0e10;border-top:1px solid #2b3035}
body .footer-bottom{border-color:#292e33;color:#959da8}
body .cart-drawer,body .product-dialog{background:#171a1d;border-color:#394047}
body .drawer-top,body .drawer-bottom{background:#17191c;border-color:#32383e}
body .cart-items{background:#14171a}
body .toast{background:#1e2327;border-color:#40494f}
/* Customer account and product details: square galleries remain intact. */
body .account-sidenav,body .account-surface,body .account-library article,body .account-fields>div,
body .account-field,body .account-note{background:#181a1e;border-color:#353a40}
body .account-sidenav a:hover,body .account-sidenav a.active{background:#252c31;color:#f2fbff}
body .account-action{background:#1f262a;border-color:#39434a}
body .pd-gallery-stage,body .pd-summary,body .pd-thumbnails,body .pd-features,body .pd-error{background:#181a1c;border-color:#353a41}
body .pd-main-image{object-fit:contain}
body .pd-arrow,body .pd-image-count{background:rgba(12,14,16,.89);border-color:#49545d}
body .pd-thumb{background:#101214;border-color:#343b40}
body .pd-thumb.active,body .pd-thumb.is-active{border-color:#00c0ff}
/* Admin dashboard - charcoal rather than deep navy */
body .shell,body .layout{background:#0a0b0d}
body .sidebar{background:#101214;border-right-color:#303439}
body .sidebar .side-link{color:#a7afb8}
body .sidebar .side-link.active,body .sidebar .side-link:hover{background:#22272b;border-color:#3b505b;color:#f4f8fa}
body .sidebar .sidebar-caption{color:#89939c}
body .sidebar .sidebar-bottom{border-top-color:#30363b}
body .sidebar .counter{background:#253039;color:#00c0ff}
body .workspace,body .main{background:radial-gradient(ellipse at 85% 0%,rgba(0,192,255,.035),transparent 38%),#0a0b0d}
body .topbar h1,body .page-header h1{color:#f4f6f9}
body .topbar p,body .section-header p,body .page-header p{color:#a5aeb7}
body .stat,body .recent-card,body .manage-section,body .empty-box,
body .metric,body .panel,body .privacy-note{
  background:#191b1e;
  border-color:#353b40;
  box-shadow:0 8px 28px rgba(0,0,0,.16)
}
body .stat.accent-stat,body .metric.accent{background:linear-gradient(145deg,#19272c,#191b1e);border-color:#3b6979}
body .stat small,body .metric small{color:#9fa7ae}
body .section-header,body .panel-head{border-color:#33393e}
body .recent-thumb,body .recent-card img{border-color:#3f4549}
body .table-scroll{background:#181b1e;border-color:#333b40}
body th{background:#22262a;color:#abb3bd;border-color:#32393e}
body td{border-color:#32373d;color:#b4bbc2}
body tbody tr:hover{background:#25292d}
body .manage-toolbar input,body .manage-toolbar select,body .controls select,
body .form-grid input:not([type=checkbox]),body .form-grid select,body .form-grid textarea,
body .grant-form input,body .grant-form select,
body .tag-select-row select,body .tag-select-row input,
body .gallery-url-row input{
  background:#121416;
  border-color:#3a4249;
  color:#f1f4f7
}
body :is(.manage-toolbar input,.manage-toolbar select,.controls select,.form-grid input,.form-grid textarea,.grant-form input,.grant-form select):focus{border-color:#00c0ff}
body .button.secondary,body .btn.secondary,body .table-button:not(.destructive){background:#24292d;border-color:#3f484f;color:#e1eaf0}
body .button.primary,body .btn.primary{background:#008fbe;border-color:#00c0ff;color:#031419}
body .button.primary:hover,body .btn.primary:hover{background:#00b5e5}
body .edit-modal,body .pac-v12-modal{background:#191c20;border-color:#47515b;box-shadow:0 32px 90px #000c}
body .modal-heading,body .pac-v12-header{border-color:#3b434a}
body .gallery-editor,body .digital-editor,body .grant-form,body .publish-row,
body .designer-settings,body .designer-preview-panel,body .pac-v12-group,
body .create-tag-row{background:#202327;border-color:#434b52}
body .gallery-item,body .gallery-preview,body .gallery-editor>input[type=file],body .gallery-url-row,
body .digital-editor input[type=file]{background:#16191c;border-color:#414850}
body .gallery-count,body .status,body .gallery-cover{border-color:#287a90}
body .gallery-editor small,body .gallery-hint{color:#adb7c0}
body .pac-v12-field input[type=text],body .pac-v12-field select,body .pac-v12-color input[type=color],
body .pac-v12-transparency input[type=number]{background:#14171a;border-color:#48525b;color:#eaf3f7}
body .pac-v12-preview,body .pac-v12-preview iframe{background:#0c0e10;border-color:#394047}
body .pac-v12-backdrop,body .modal-backdrop{background:rgba(0,0,0,.86)}
body .chart{background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#30363b calc(25% - 1px),#30363b 25%);border-color:#3c434a}
body .track{background:#2a3035}
body .place-row{color:#e2e7eb}
body .controls label,body .stat-label,body .eyebrow{color:#a9b8c1}
body .toggle,body .setting-rows{border-color:#353b42}
body .privacy-note{background:#181b1e}
/* Flat dark tablets and mobile nav; retain existing structural breakpoints. */
@media(max-width:800px){body .sidebar{background:#121416;border-bottom:1px solid #373e43}body .workspace,body .main{background:#0a0b0d}}
@media(prefers-reduced-motion:reduce){body .product-grid .pac-market-card{transition:none}}
