/* XDAY NOCTURNE / staging visual parity with the current owner preview.
   Presentation only. Native SellAuth commerce state and forms are untouched. */
:root {
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2,.72,.18,1);
}
body.xday-nocturne { background:#09070e; font-family:var(--body); color:#f5f2f8; background-image:linear-gradient(180deg,#090710 0%,#07060b 80%); }
body.xday-nocturne p,body.xday-nocturne button,body.xday-nocturne input { font-family:var(--body); }
body.xday-nocturne h1,body.xday-nocturne h2,body.xday-nocturne h3,
body.xday-nocturne .font-heading { font-family:var(--display); font-weight:700; }
body.xday-nocturne .sa-section-title { font-family:var(--display); font-size:clamp(2.6rem,5.2vw,4.9rem); letter-spacing:.003em; line-height:.98; }
body.xday-nocturne .sa-section-eyebrow,body.xday-nocturne .sa-section-subtitle { font-family:var(--body); }
body.xday-nocturne .sa-section-subtitle { color:#aaa3af; font-size:14px; line-height:1.7; }
body.xday-nocturne .component { scroll-margin-top:90px; }
body.xday-nocturne .sa-header { border-color:#ffffff10; }
body.xday-nocturne .sa-navbar--floating-pill > div > div { background:#0c0a11eb; border:1px solid #65507466; border-radius:10px; box-shadow:0 14px 30px #0005; }
body.xday-nocturne .sa-navbar-logo { font-family:var(--body); letter-spacing:.005em; font-weight:700; font-size:1.2rem; }
body.xday-nocturne .sa-navbar-logo img.xday-v9-brand-logo,
body.xday-nocturne .sa-footer img.xday-v9-brand-logo { display:block; width:39px; height:39px; object-fit:contain; border-radius:0; filter:none; }
body.xday-nocturne .sa-navbar-link { font-family:var(--body); font-weight:600; letter-spacing:.05em; font-size:.73rem; }
body.xday-nocturne .xday-global-glow { display:none; }
body.xday-nocturne .xday-cursor-light { opacity:0!important; }
body.xday-nocturne .xday-v9-intro-logo { display:block; width:89px; height:89px; object-fit:contain; margin:0 auto 14px; }
body.xday-nocturne .xday-intro-word { font-family:var(--display); letter-spacing:.08em; }

/* First fold: the final XDAY two-column arrangement, not the old 3D mini-console. */
body.xday-nocturne .sa-hero--centered { border-bottom:1px solid #6652781f; }
.xday-v9-hero-wrap { padding-top:105px; padding-bottom:109px; }
.xday-v9-hero-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:clamp(35px,4vw,68px); align-items:center; }
.xday-v9-hero-copy { min-width:0; max-width:570px; }
.xday-v9-trust { display:inline-flex; align-items:center; gap:10px; color:#c4b4d0; font:500 12px/1.45 var(--body); }
.xday-v9-trust::before { content:''; width:6px; height:6px; background:#b17be7; border-radius:50%; }
body.xday-nocturne .xday-v9-title { margin:27px 0 26px; font:700 clamp(4.3rem,6.15vw,6.55rem)/.9 var(--display); text-transform:uppercase; letter-spacing:.003em; color:#f3edf7; text-wrap:balance; }
.xday-v9-title span { color:#b97bed; }
.xday-v9-lede { max-width:490px; margin:0; color:#aaa1b4; font:400 15px/1.75 var(--body); }
.xday-v9-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:32px; }
.xday-v9-actions a { display:inline-flex; justify-content:center; align-items:center; padding:0 25px; min-height:47px; font:600 12px var(--body); text-decoration:none; transition:background .2s,border-color .2s; }
.xday-v9-primary { color:#fff; background:#8550cd; border:1px solid #8550cd; }
.xday-v9-primary:hover { background:#9d65e4; border-color:#9d65e4; }
.xday-v9-secondary { color:#ddd2e7; border:1px solid #4a3e55; background:#121019; }
.xday-v9-secondary:hover { border-color:#866a9c; background:#1b1425; }
.xday-v9-hero-interface { min-width:0; width:100%; }
.xday-v9-hero-interface .demo-panel.xday-lab { width:100%; max-width:none; border-color:#6c5c766e; border-radius:11px; box-shadow:0 22px 65px #0007; }
.xday-v9-hero-interface .xday-lab .lab-app { grid-template-columns:170px minmax(0,1fr); height:490px; min-height:490px; }
.xday-v9-hero-interface .xday-lab .lab-titlebar { background:#100e16; }
.xday-v9-hero-interface .xday-lab .lab-official-logo { width:22px; height:22px; display:block; object-fit:contain; }
.xday-v9-hero-interface .xday-lab .lab-workspace { background:#14101a; }
.xday-v9-hero-interface .xday-lab .lab-row { background:#1b1621; border-color:transparent; box-shadow:none; }
.xday-v9-hero-interface .xday-lab .lab-row-primary { background:#211a2a; border-color:#725a7e57; }
.xday-v9-hero-interface .xday-lab .lab-preview-badge { display:none; }
.xday-v9-hero-interface .xday-lab .lab-nav-btn[aria-selected="true"] { background:#241b2c; }
.xday-v9-hero-interface .xday-lab .lab-nav-btn[aria-selected="true"] .lab-nav-icon { background:#47304f; color:#dbc0eb; }
.xday-v9-hero-interface .xday-lab .lab-nav-text strong { font:600 12px/1.3 var(--body); }
.xday-v9-hero-interface .xday-lab .lab-nav-text small { font:400 10px/1.3 var(--body); }
.xday-v9-hero-interface .xday-lab .lab-panel-title { font:700 20px/1.15 var(--display); letter-spacing:.01em; }
.xday-v9-hero-interface .xday-lab .lab-row-label { font:600 12px/1.35 var(--body); }
.xday-v9-hero-interface .xday-lab .lab-row-desc { font:400 11px/1.5 var(--body); color:#afa5b9; }

/* Image-first categories; dynamic category URLs and permissions retained. */
body.xday-nocturne .sa-categories { background:#08070d; }
body.xday-nocturne .sa-categories-items { gap:15px; }
body.xday-nocturne .xday-v9-category { display:block; position:relative; min-height:300px; overflow:hidden; border:1px solid #483a536c; border-radius:5px; background:#15121a; box-shadow:none; isolation:isolate; transform:none; }
body.xday-nocturne .xday-v9-category:hover { border-color:#8f729e91; box-shadow:none; transform:none; }
.xday-v9-category-media { position:absolute; z-index:-1; inset:0; display:block; }
.xday-v9-category-media img { width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(.76) brightness(.74) contrast(1.07); transition:transform .5s var(--ease),filter .5s; }
.xday-v9-category:hover .xday-v9-category-media img { transform:scale(1.05); filter:saturate(.9) brightness(.82) contrast(1.03); }
.xday-v9-category::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,#09070c00 15%,#08060d3d 48%,#08060de8 100%); }
.xday-v9-category-copy { position:absolute; bottom:23px; left:21px; right:21px; display:flex; flex-direction:column; gap:5px; }
.xday-v9-category-copy strong { font:700 29px/1 var(--display); letter-spacing:.01em; text-transform:uppercase; color:#fff; }
.xday-v9-category-copy > span { font:500 12px/1.5 var(--body); color:#c5bad0; }

/* Restraint on the existing commerce cards. Keep real products and disabled states. */
body.xday-nocturne .sa-product-card { border:1px solid #493d5266; border-radius:6px; box-shadow:none; background:#15121c; transform:none; }
body.xday-nocturne .sa-product-card:hover { border-color:#796889; box-shadow:none; transform:translateY(-3px); }
body.xday-nocturne .sa-product-card::after,body.xday-nocturne .sa-product-card-media::before,body.xday-nocturne .sa-product-card-media::after { display:none; }
body.xday-nocturne .sa-product-card-media { background:#0c0a10; }
body.xday-nocturne .sa-product-card-media img { object-fit:cover; filter:saturate(.82) brightness(.9); }
body.xday-nocturne .sa-product-card-title { font:700 22px/1.12 var(--display); letter-spacing:.01em; }
body.xday-nocturne .sa-product-card-price { font-family:var(--body); color:#dbc0ee; }
body.xday-nocturne .sa-myvouches iframe { border:1px solid #4f405b44; border-radius:4px; background:#08070d; }
body.xday-nocturne .sa-myvouches,body.xday-nocturne .sa-categories,body.xday-nocturne .sa-products { padding-top:76px; padding-bottom:84px; }
body.xday-nocturne .sa-footer { background:#07060a; }

@media(max-width:1100px) {
  .xday-v9-hero-grid { grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr); gap:24px; }
  body.xday-nocturne .xday-v9-title { font-size:clamp(3.8rem,6.7vw,5.3rem); }
  .xday-v9-hero-interface .xday-lab .lab-app { grid-template-columns:140px minmax(0,1fr); }
}
@media(max-width:850px) {
  .xday-v9-hero-wrap { padding-top:75px; padding-bottom:70px; }
  .xday-v9-hero-grid { grid-template-columns:1fr; gap:42px; }
  .xday-v9-hero-copy { max-width:680px; }
  body.xday-nocturne .xday-v9-title { font-size:clamp(4.4rem,10vw,6rem); }
  .xday-v9-hero-interface .xday-lab .lab-app { grid-template-columns:175px minmax(0,1fr); }
}
@media(max-width:560px) {
  body.xday-nocturne .sa-navbar-logo img.xday-v9-brand-logo { width:35px; height:35px; }
  .xday-v9-hero-wrap { padding-top:43px; padding-bottom:62px; }
  body.xday-nocturne .xday-v9-title { margin:19px 0 18px; font-size:clamp(3.65rem,15vw,5.2rem); line-height:.91; }
  .xday-v9-lede { font-size:13px; line-height:1.7; }
  .xday-v9-trust { font-size:10px; }
  .xday-v9-actions { gap:9px; margin-top:24px; }
  .xday-v9-actions a { min-height:44px; padding:0 17px; font-size:11px; }
  .xday-v9-hero-grid { gap:34px; }
  .xday-v9-hero-interface .demo-panel.xday-lab { margin:0; }
  .xday-v9-hero-interface .xday-lab .lab-app { display:block; height:auto; min-height:0; }
  .xday-v9-hero-interface .xday-lab .lab-sidebar { padding:8px; border-right:0; border-bottom:1px solid #392d43; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
  .xday-v9-hero-interface .xday-lab .lab-nav { display:flex; gap:4px; width:max-content; }
  .xday-v9-hero-interface .xday-lab .lab-nav-btn { flex:none; width:112px; min-height:49px; gap:6px; padding:6px; }
  .xday-v9-hero-interface .xday-lab .lab-nav-text strong { font-size:10px; }
  .xday-v9-hero-interface .xday-lab .lab-nav-text small { font-size:8px; }
  .xday-v9-hero-interface .xday-lab .lab-nav-icon { width:28px; height:28px; }
  .xday-v9-hero-interface .xday-lab .lab-workspace { padding:16px 12px 15px; min-height:450px; }
  .xday-v9-hero-interface .xday-lab .lab-fields { overflow:visible; }
  body.xday-nocturne .xday-v9-category { min-height:275px; }
  body.xday-nocturne .sa-myvouches,body.xday-nocturne .sa-categories,body.xday-nocturne .sa-products { padding-top:56px; padding-bottom:62px; }
}
@media(prefers-reduced-motion:reduce) {
  html:not([data-xday-motion="on"]) .xday-v9-category-media img { transition:none; }
  html:not([data-xday-motion="on"]) body.xday-nocturne .sa-product-card:hover { transform:none; }
}

/* Always-on arrivals for marketing pages; cart, checkout and account forms stay untouched. */
@keyframes xday-inner-arrive {
  from { opacity:0; transform:translate3d(0,26px,0) scale(.987); }
  to { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
body.xday-nocturne.sa-tpl-products .components > *,
body.xday-nocturne.sa-tpl-feedback .components > *,
body.xday-nocturne.sa-tpl-status .components > *,
body.xday-nocturne.sa-tpl-faq .components > * {
  animation:xday-inner-arrive .92s cubic-bezier(.16,.82,.2,1) both;
}
body.xday-nocturne.sa-tpl-products .components > :nth-child(2),
body.xday-nocturne.sa-tpl-feedback .components > :nth-child(2),
body.xday-nocturne.sa-tpl-status .components > :nth-child(2) { animation-delay:.14s; }
body.xday-nocturne.sa-tpl-products .components > :nth-child(3),
body.xday-nocturne.sa-tpl-feedback .components > :nth-child(3),
body.xday-nocturne.sa-tpl-status .components > :nth-child(3) { animation-delay:.26s; }
body.xday-nocturne.sa-tpl-products .sa-product-card,
body.xday-nocturne.sa-tpl-product .sa-product-card {
  transition:transform .38s cubic-bezier(.16,.82,.2,1),border-color .3s ease,box-shadow .38s ease;
}
body.xday-nocturne.sa-tpl-products .sa-product-card:hover,
body.xday-nocturne.sa-tpl-products .sa-product-card:focus-visible {
  border-color:#a989b9; box-shadow:0 19px 40px #0009,0 0 28px #9461ac29;
}