/* Shared public navigation; staff surfaces deliberately excluded. */
:root {
  --site-header-height: 72px;
  scroll-padding-top: calc(var(--site-header-height) + 18px);
}
body.public-ambience > .site-header {
  position: sticky !important;
  top: 0 !important;
  inset-inline: 0;
  z-index: 80;
  display: block !important;
  height: var(--site-header-height) !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #080f21f5 !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #6557ad55;
  box-shadow: 0 5px 24px #02061122;
}
.site-header-inner {
  max-width: 1440px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
}
.site-header .site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.site-brand img {
  display: block;
  object-fit: contain;
}
.site-header .site-brand img:first-child {
  width: 42px;
  height: 42px;
}
.site-header .site-brand img:last-child {
  width: 178px;
  height: auto;
}
body.public-ambience .site-header .header-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: static !important;
  width: auto !important;
  grid-area: auto !important;
}
body.public-ambience .site-icon-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 8px !important;
  border: 1px solid #60769b42;
  border-radius: 11px;
  background: transparent;
  color: #d6e1f6;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  flex: none;
}
.site-icon-button svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.site-icon-button:not(.header-actions .site-icon-button):hover {
  background: #7b96f315 !important;
  border-color: #6da7e8 !important;
  color: #a3efff !important;
}
/* Standalone action icons retain their invisible hit areas and keyboard focus. */
body.public-ambience .site-header .header-actions .site-icon-button {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
body.public-ambience .site-header .header-actions .site-icon-button:hover {
  color: #a3efff;
}
body.public-ambience .site-header [hidden] {
  display: none !important;
}
.site-header .personal-name,
.site-header .cart-label {
  display: none !important;
}
.site-header .avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  overflow: hidden;
}
.site-header .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-header .personal-account-link {
  border-radius: 50%;
  padding: 3px !important;
}
.site-header .cart-link img {
  width: 25px !important;
  height: 25px !important;
}
body.public-ambience .site-header .cart-count {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #7ce9ff !important;
  box-shadow: none;
  font:
    800 12px/1 "DM Sans",
    sans-serif;
  pointer-events: none;
}
.site-header .cart-link {
  gap: 0;
  width: 42px;
}
.site-header .cart-link img {
  transform: translateY(3px);
}
.site-header #open-customer::before,
.site-header #open-customer::after {
  content: none !important;
  display: none !important;
}
.site-header-message {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a9bad7;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-header-message span {
  color: #86ddf4;
}
@media (max-width: 1024px) {
  .site-header-message {
    display: none;
  }
}

.site-language {
  display: block;
  position: relative;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-drawer :is(a, button, select):focus-visible {
  outline: 2px solid #6fe7ff;
  outline-offset: 3px;
}
.site-header::after {
  pointer-events: none;
}
.drawer-is-open {
  overflow: hidden;
}
dialog.site-drawer {
  --ease-drawer: cubic-bezier(0.22, 1, 0.36, 1);
  --drawer-duration: 260ms;
  position:fixed; inset:0 auto 0 0; margin:0; width:min(352px,calc(100vw - 24px)); height:100dvh; max-height:100dvh; max-width:none;
  box-sizing:border-box; padding:0; border:0; border-right:1px solid #6685ce55; border-radius:0 16px 16px 0;
  background:linear-gradient(155deg,#101a2a,#0a1120 65%,#15132a); color:#eff5ff; box-shadow:18px 0 70px #0006;
  overflow:hidden; font-family:"DM Sans",sans-serif; transform:translate3d(-100%, 0, 0);
  transition:transform var(--drawer-duration) var(--ease-drawer);
}
.site-drawer[open] { display:flex; flex-direction:column; animation:none; }
.site-drawer[data-drawer-phase="open"] { --drawer-duration:320ms; transform:translate3d(0, 0, 0); }
.site-drawer::backdrop { background:#020715b8; backdrop-filter:blur(5px); opacity:0; transition:opacity var(--drawer-duration) var(--ease-drawer); }
.site-drawer[data-drawer-phase="open"]::backdrop { opacity:1; }
.drawer-heading { display:flex; flex:none; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; border-bottom:1px solid #7793ce2e; }
.drawer-brand { display:flex; min-width:0; align-items:center; gap:8px; }
.drawer-brand img { object-fit:contain; flex-shrink:0; }
.drawer-brand img:last-child { width:min(168px,40vw); height:auto; }
.drawer-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.drawer-close { flex:none; font-size:26px; width:44px; height:44px; display:grid; place-items:center; line-height:1; }
.site-eyebrow { font-size:10px; letter-spacing:.16em; color:#90c6ff; font-weight:700; }
.site-drawer nav.drawer-scroll { flex:1; min-height:0; padding:8px 14px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#60749a66 transparent; }
.drawer-scroll::-webkit-scrollbar { width:5px; }
.drawer-scroll::-webkit-scrollbar-thumb { background:#60749a66; border-radius:8px; }
.drawer-group { padding:10px 0 12px; }
.drawer-group + .drawer-group { border-top:1px solid #7793ce2e; }
.site-drawer h3 { margin:0 10px 8px; color:#95b9ef; text-transform:uppercase; letter-spacing:.07em; font-size:11px; line-height:1.5; font-weight:700; }
.site-drawer nav a,.drawer-account { display:flex; align-items:center; gap:13px; padding:10px 12px; box-sizing:border-box; border:1px solid transparent; border-radius:10px; color:#d8e3f5; text-decoration:none; font-size:15px; line-height:1.3; min-height:46px; transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease; }
.site-drawer svg { width:22px; height:22px; flex:none; }
.site-drawer .drawer-chevron { margin-left:auto; font-size:22px; color:#99accd; }
.site-drawer nav a[aria-current],.drawer-account[aria-current] { background:linear-gradient(100deg,#19507155,#6c31803b); border-color:#6176d877; color:#a1edff; }
@media(hover:hover) and (pointer:fine) { .site-drawer nav a:hover,.drawer-account:hover { background-color:#43567c2b; border-color:#627ab555; color:#a1edff; } }
.drawer-bottom { flex:none; padding:12px 14px max(14px,env(safe-area-inset-bottom)); border-top:1px solid #7793ce2e; background:#0c1424; display:grid; gap:4px; }
.drawer-bottom h3 { margin-bottom:2px; }
.drawer-bottom .site-language { width:100%; }
.drawer-bottom .language-toggle { width:100%; justify-content:flex-start; min-height:44px; padding:10px 12px; border-radius:10px; }
@media(prefers-reduced-motion:reduce) { dialog.site-drawer,dialog.site-drawer::backdrop { transition:none; } }
html[data-reduced-effects="true"] dialog.site-drawer,html[data-reduced-effects="true"] dialog.site-drawer::backdrop { transition:none; }
@media(max-height:420px) { .drawer-heading { padding-block:8px; } .drawer-bottom { padding-block:8px; } .drawer-bottom h3 { font-size:10px; } }
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a,
body.public-ambience .text-link {
  color: #8fc7ff;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a {
  text-decoration: underline;
}
body.public-ambience
  :is(
    .auth-links,
    .auth-footnote,
    .cart-breadcrumb,
    .privacy-copy,
    .ac-breadcrumb,
    .auth-legal
  )
  a:hover {
  color: #9af2ff;
}

body.account-access .identity-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto !important;
  padding: 28px !important;
  gap: clamp(35px, 7vw, 110px);
  min-height: calc(100dvh - var(--site-header-height));
}
.auth-brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 65px);
  border: 1px solid #7066b644;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 0, #9b2b8d44, transparent 60%),
    linear-gradient(145deg, #162e59, #211844 65%, #101b34);
  color: #edf5ff;
  min-height: 600px;
}
.auth-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/visuals/ambient-waves.svg") center/100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: auto;
  padding-bottom: 65px;
}
.auth-brand-logo img:first-child {
  width: 55px;
  height: 55px;
}
.auth-brand-logo img:last-child {
  width: min(210px, 65%);
  height: auto;
}
.auth-brand-panel h2 {
  font:
    800 clamp(33px, 4vw, 57px)/1.08 "DM Sans",
    sans-serif;
  letter-spacing: -0.05em;
  margin: 20px 0;
  color: #f7f8ff;
  text-transform: none;
}
.auth-brand-panel h2 span {
  color: #9ad8ff;
}
.auth-brand-panel > p {
  font-size: 15px;
  line-height: 1.8;
  color: #bbcae9;
  margin: 0 0 35px;
}
.auth-brand-panel ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 auto;
  display: grid;
  gap: 20px;
}
.auth-brand-panel li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #dce7fb;
}
.auth-brand-panel li svg {
  width: 23px;
  height: 23px;
  color: #85dcff;
  flex: none;
}
.auth-brand-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #afc0e3;
  margin-top: 50px;
}
body.account-access .identity-layout > .auth-card {
  width: 100% !important;
  max-width: 470px !important;
  justify-self: center;
  align-self: center;
  padding: 45px 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
body.account-access .auth-card h1 {
  font:
    800 clamp(30px, 3vw, 40px)/1.2 "DM Sans",
    sans-serif !important;
  letter-spacing: -0.04em;
  color: #f1f5ff;
  margin: 0 0 14px !important;
}
.auth-card .auth-intro {
  display: block !important;
  font-size: 14px;
  line-height: 1.7;
  color: #aabbd7;
  margin: 0 0 30px;
}
body.account-access #auth-navigation {
  display: none !important;
}
.auth-card form {
  gap: 20px;
}
.auth-card label {
  font-size: 13px;
  color: #bdcce4;
}
.auth-card input {
  min-height: 54px;
  border-radius: 12px !important;
  background: #0c1527 !important;
  border: 1px solid #3b4e6c !important;
  color: #eff4ff !important;
  padding: 14px !important;
  font-size: 15px;
}
.auth-card .password-input input {
  padding-right: 70px !important;
}
.auth-card .password-toggle {
  color: #9edbff !important;
}
.auth-card .full-width {
  min-height: 52px;
  border-radius: 12px !important;
  margin-top: 5px;
}
.auth-card .auth-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
}
.auth-card .auth-links a {
  line-height: 1.7;
}
.auth-card #identity-social {
  margin-top: 30px;
}
.auth-card .identity-separator {
  margin: 0 0 20px !important;
  font-size: 12px;
  color: #97accd;
}
.auth-card .social-button {
  min-height: 52px;
  border-radius: 12px;
  background: #111d30 !important;
  border: 1px solid #586a94 !important;
  color: #eaf0ff !important;
}
.auth-legal {
  font-size: 11px;
  line-height: 1.8;
  color: #a3b5d2;
  margin-top: 24px;
}
.auth-brand-panel [data-no-translate] {
  color: inherit;
}
body.account-access site-footer {
  margin-top: 35px;
}
.empty-public-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 130px) 28px;
  min-height: 55vh;
}
.empty-public-page h1 {
  font:
    800 clamp(35px, 6vw, 65px)/1.1 "DM Sans",
    sans-serif;
  color: #f1f5ff !important;
}
.empty-public-page p {
  max-width: 620px;
  color: #adbfdd;
  line-height: 1.8;
}
.empty-public-page .text-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: underline;
}
@media (max-width: 1150px) {
  .site-header-inner {
    gap: 16px;
    padding-inline: 22px;
  }
  body.public-ambience .site-header #primary-nav {
    display: none !important;
  }
  .site-header .site-brand img:last-child {
    width: 170px;
  }
}
@media (max-width: 800px) {
  body.account-access .identity-layout {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding: 28px 22px !important;
    min-height: 0;
  }
  .auth-brand-panel {
    min-height: 0;
    padding: 25px;
    display: none;
  }
  .auth-card {
    order: -1;
  }
  body.account-access .identity-layout > .auth-card {
    padding: 28px 0 !important;
    max-width: 460px !important;
  }
  .site-header .notification-link {
    display: none !important;
  }
}
@media (max-width: 620px) {
  :root {
    --site-header-height: 62px;
  }
  .site-header-inner {
    gap: 10px;
    padding: 0 14px;
  }
  .site-header .site-brand {
    gap: 7px;
  }
  .site-header .site-brand img:first-child {
    width: 32px;
    height: 32px;
  }
  .site-header .site-brand img:last-child {
    width: 126px;
  }
  body.public-ambience .site-header .header-actions {
    gap: 6px;
  }
  .site-header .site-icon-button {
    width: 36px;
    height: 40px;
    min-width: 36px;
    border-radius: 9px;
  }
  .site-header .site-brand img:last-child {
    display: none;
  }

  .site-header .avatar {
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
  }
  .drawer-heading {
    padding: 14px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-drawer[open] {
    animation: none;
  }
  .site-header,
  .site-drawer * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
html[data-reduced-effects="true"] :is(.site-header, .site-drawer::backdrop) {
  backdrop-filter: none;
}
@media (forced-colors: active) {
  .site-header,
  .site-drawer,
  .auth-brand-panel {
    background: Canvas !important;
    color: CanvasText !important;
  }
  .site-drawer::backdrop {
    background: #000a;
  }
  .auth-brand-panel::before {
    display: none;
  }
}

.language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 82px;
  height: 40px;
  padding: 7px !important;
  border: 1px solid #60769b42;
  border-radius: 9px;
  background: #0d172b;
  color: #d4e3ff;
  font:
    700 11px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.language-toggle .site-language-flag {
  position: static;
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  transform: none;
}
.language-menu {
  position: absolute;
  z-index: 100;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: 194px;
  max-width: calc(100vw - 36px);
  padding: 7px;
  border: 1px solid #7183ac55;
  border-radius: 13px;
  background: #182239;
  box-shadow: 0 14px 40px #0006;
}
.language-menu[hidden] {
  display: none !important;
}
.language-menu button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #e7edfb;
  font:
    600 14px "DM Sans",
    sans-serif;
  text-align: start;
  cursor: pointer;
}
.language-menu img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}
.language-menu button[aria-checked="true"] {
  background: #9caedf24;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: #9caedf30;
  outline: 2px solid #83deff;
  outline-offset: -2px;
}
.language-check {
  margin-inline-start: auto;
  opacity: 0;
  color: #9fe9ff;
}
[aria-checked="true"] > .language-check {
  opacity: 1;
}
.drawer-bottom .language-menu {
  top: auto;
  bottom: calc(100% + 8px);
}
.auth-card .password-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}
.auth-card .password-toggle .eye-hidden {
  display: none;
}
.auth-card .password-toggle[aria-pressed="true"] .eye-visible {
  display: none;
}
.auth-card .password-toggle[aria-pressed="true"] .eye-hidden {
  display: block;
}
#identity-login .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#identity-login .button::after {
  content: "";
  width: 21px;
  height: 21px;
  background: currentColor;
  mask: url("/icons/arrow-right.svg") center/contain no-repeat;
}
#identity-login .button[aria-busy="true"]::after {
  display: none;
}
@media (max-width: 620px) {
  .site-header .language-menu {
    inset-inline-end: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

.auth-brand-panel.auth-stories {
  position: relative;
  display: block;
  padding: 0;
  min-height: 650px;
  overflow: hidden;
  background: #080f21;
}
.auth-stories::before,
.auth-stories::after {
  display: none;
}
.auth-stories .auth-brand-logo {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  right: 30px;
  margin: 0;
}
.auth-story-slide {
  position: absolute;
  inset: 0;
}
.auth-story-slide[hidden] {
  display: none;
}
.auth-story-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auth-story-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    #02091b66,
    transparent 35%,
    #030815b3 75%,
    #030815f5
  );
}
.auth-story-copy {
  position: absolute;
  z-index: 1;
  bottom: 112px;
  left: 30px;
  right: 30px;
}
.auth-stories .auth-story-copy h2 {
  font:
    800 clamp(26px, 3vw, 40px)/1.15 "DM Sans",
    sans-serif;
  margin: 12px 0;
  color: #f1f5ff;
  letter-spacing: -0.035em;
}
.auth-story-copy > p:last-child {
  font-size: 14px;
  line-height: 1.6;
  color: #bdcae6;
  margin: 0;
}
.auth-story-controls {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 30px;
  right: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.auth-story-tab {
  background: none;
  border: 0;
  padding: 10px 0;
  color: #c5d0eb;
  text-align: start;
  font:
    600 11px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.auth-story-tab progress {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 5px;
  background: #ffffff36;
  appearance: none;
}
.auth-story-tab progress::-webkit-progress-bar {
  background: #ffffff36;
  border-radius: 5px;
}
.auth-story-tab progress::-webkit-progress-value {
  background: #84e7ff;
  border-radius: 5px;
  transition: width 0.1s linear;
}
.auth-story-tab progress::-moz-progress-bar {
  background: #84e7ff;
}
.auth-story-tab[aria-current="true"] {
  color: #fff;
}
.auth-modal-open {
  overflow: hidden;
}
.auth-modal {
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #6277ae55;
  border-radius: 24px;
  background: #0a1122;
  color: #edf3ff;
  overflow: auto;
  box-shadow: 0 24px 100px #0009;
}
.auth-modal::backdrop {
  background: #020510bf;
  backdrop-filter: blur(6px);
}
.auth-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 5;
  width: 36px;
  height: 36px;
  background: #17213a;
  border: 1px solid #687d9f55;
  border-radius: 50%;
  color: #e9f3ff;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.auth-modal-close svg { width: 20px; height: 20px; display: block; }
.auth-modal-loading {
  padding: 45px;
  text-align: center;
}
.auth-modal > .identity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  min-height: 650px;
}
.auth-modal .auth-brand-panel {
  border-radius: 22px 0 0 22px;
  border: 0;
}
.auth-modal .identity-layout > .auth-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 60px 40px 35px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  align-self: center;
}
.auth-modal .auth-card h1 {
  font:
    800 30px/1.2 "DM Sans",
    sans-serif;
  margin: 0 0 14px;
}
.auth-modal #auth-navigation {
  display: none;
}
.auth-modal .auth-brand-panel .auth-brand-logo {
  max-width: calc(100% - 60px);
}
.auth-story-tab:focus-visible,
.auth-modal-close:focus-visible {
  outline: 2px solid #83e7ff;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .auth-brand-panel.auth-stories {
    display: none;
  }
  .auth-modal > .identity-layout {
    display: block;
    min-height: 0;
  }
  .auth-modal .identity-layout > .auth-card {
    padding: 62px 24px 30px;
  }
  .auth-modal {
    max-width: 470px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-story-tab progress::-webkit-progress-value {
    transition: none;
  }
  .auth-modal::backdrop {
    backdrop-filter: none;
  }
}

.auth-brand-panel.auth-stories { touch-action: pan-y; cursor: grab; user-select: none; }
.auth-stories.is-dragging { cursor: grabbing; }
.auth-story-slide > img { pointer-events: none; }
.auth-stories.is-dragging .auth-story-slide { transition: none; }
.auth-story-slide { transition: transform .25s ease-out; }
.auth-story-slide.is-entering { animation: auth-story-enter .36s ease-out; }
@keyframes auth-story-enter {
  from { opacity: .35; transform: translateX(var(--story-enter, 24px)); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-story-slide, .auth-story-slide.is-entering { transition: none; animation: none; }
}

@media (max-width: 800px) {
  .auth-modal-close { width: 44px; height: 44px; }
  .auth-card .password-toggle { width: 44px; height: 44px; }
}
/* Keep favorites visible without pushing account controls outside small phones. */
@media(max-width:480px) {
  body.public-ambience .site-header .header-actions { gap:4px; }
}
@media(max-width:360px) {
  .site-header-inner { gap:6px; padding-inline:8px; }
  .site-header .site-brand img:first-child { width:30px; height:30px; }
  body.public-ambience .site-header .header-actions { gap:0; }
  .site-header .language-toggle { width:44px; }
  .site-header [data-language-code] { display:none; }
}
