/* Iris Chamber — account-only identity
   Light iridescent glass + organic blobs + fluid type.
   ELVORA COLLECTION account shell. */

body.ir-chamber *,
body.ir-chamber *::before,
body.ir-chamber *::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.ir-root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.ir-root > .page-main {
  flex: 1;
  width: 100%;
  padding: 0;
  overflow: visible;
}

body.ir-chamber {
  --ir-base: #EEF3F8;
  --ir-ink: #141A24;
  --ir-mute: #3d4654;
  --ir-cyan: #00A8C8;
  --ir-cyan-deep: #007A96;
  --ir-rose: #E85D75;
  --ir-glass: rgba(255, 255, 255, 0.62);
  --ir-glass-strong: rgba(255, 255, 255, 0.88);
  --ir-line: rgba(20, 26, 36, 0.12);
  --ir-display: 'Kanit', system-ui, sans-serif;
  --ir-body: 'Crimson Pro', Georgia, serif;
  --ir-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ir-blur: blur(24px) saturate(1.4);

  margin: 0;
  min-height: 100vh;
  font-family: var(--ir-body);
  color: var(--ir-ink);
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(125, 232, 255, 0.35), transparent 55%),
    radial-gradient(90% 70% at 95% 15%, rgba(255, 179, 193, 0.28), transparent 50%),
    var(--ir-base);
  -webkit-font-smoothing: antialiased;
}

body.ir-chamber .a63-fold-wrap,
body.ir-chamber .a63-ribbon,
body.ir-chamber .a63-mast,
body.ir-chamber .a63-colophon {
  display: none !important;
}

body.ir-chamber .page-main {
  padding: 0;
  max-width: none;
  overflow: visible;
}

.ir-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 5rem);
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 2rem;
  overflow: clip;
}

/* Ambient sky */

.ir-sky {
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  pointer-events: none;
}

.ir-blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  filter: blur(40px);
  opacity: 0.55;
  animation: ir-float 14s var(--ir-ease) infinite alternate;
}

.ir-blob-a {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  left: -8%;
  top: -6%;
  background: radial-gradient(circle at 30% 30%, #7DE8FF, #00A8C8 55%, transparent 70%);
}

.ir-blob-b {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  right: -6%;
  top: 18%;
  background: radial-gradient(circle at 60% 40%, #FFB3C1, #E85D75 50%, transparent 70%);
  animation-delay: -4s;
  animation-duration: 18s;
}

.ir-blob-c {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  left: 35%;
  bottom: -8%;
  background: radial-gradient(circle at 50% 50%, #C4B5FD, #818CF8 45%, transparent 70%);
  animation-delay: -8s;
  opacity: 0.35;
}

.ir-ring {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%;
  opacity: 0.5;
  animation: ir-spin 48s linear infinite;
}

@keyframes ir-float {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(18px, -22px, 0) rotate(8deg); }
}

@keyframes ir-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.ir-shell > *:not(.ir-sky) {
  position: relative;
  z-index: 1;
}

/* Top bar */

.ir-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ir-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ir-ink);
}

.ir-mark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
  background: var(--ir-glass-strong);
  border: 1px solid var(--ir-line);
  backdrop-filter: var(--ir-blur);
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ir-mark strong {
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.ir-mark:hover { text-decoration: none; color: var(--ir-cyan-deep); }

.ir-top-links {
  display: flex;
  gap: 0.35rem;
}

.ir-top-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--ir-glass);
  border: 1px solid var(--ir-line);
  backdrop-filter: blur(12px);
  font-family: var(--ir-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ir-ink);
  text-decoration: none;
  transition: transform 0.3s var(--ir-ease), background 0.25s ease;
}

.ir-top-links a:hover {
  background: var(--ir-glass-strong);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Loading */

.ir-loading {
  max-width: 420px;
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
  background: var(--ir-glass-strong);
  border: 1px solid var(--ir-line);
  border-radius: 28px 40px 32px 44px / 40px 28px 44px 32px;
  backdrop-filter: var(--ir-blur);
  box-shadow: 0 16px 40px rgba(20, 26, 36, 0.08);
}

.ir-loading[hidden],
.ir-suite[hidden],
.ir-gate[hidden],
.ir-pane[hidden],
.auth-split-panel[hidden] {
  display: none !important;
}

.ir-suite:not([hidden]) {
  display: block;
}

.ir-gate:not([hidden]) {
  display: grid;
}

.ir-loading-orb {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ir-cyan), var(--ir-rose), #818CF8, var(--ir-cyan));
  animation: ir-spin 1.2s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.ir-loading p {
  margin: 0;
  font-family: var(--ir-display);
  font-weight: 600;
  color: var(--ir-mute);
}

/* Hero glass */

.ir-hero-glass {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--ir-glass);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px 48px 36px 52px / 48px 32px 52px 36px;
  backdrop-filter: var(--ir-blur);
  box-shadow: 0 20px 50px rgba(20, 26, 36, 0.08);
}

.ir-avatar {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: linear-gradient(145deg, var(--ir-cyan), #818CF8 55%, var(--ir-rose));
  color: #fff;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0, 168, 200, 0.35);
  animation: ir-float 6s var(--ir-ease) infinite alternate;
}

.ir-kicker {
  margin: 0 0 0.25rem;
  font-family: var(--ir-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ir-cyan-deep);
}

.ir-hero-copy h1 {
  margin: 0;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ir-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.ir-pill {
  border: 1px solid var(--ir-line);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: var(--ir-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ir-ink);
  cursor: pointer;
  transition: transform 0.3s var(--ir-ease), background 0.25s ease, color 0.25s ease;
}

.ir-pill:hover {
  transform: translateY(-2px);
  background: #fff;
}

.ir-pill-solid {
  background: var(--ir-ink);
  color: #fff;
  border-color: var(--ir-ink);
}

.ir-pill-solid:hover {
  background: var(--ir-rose);
  border-color: var(--ir-rose);
  color: #fff;
}

/* Notices from store-auth */

.ir-chamber .notice {
  margin-top: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  font-family: var(--ir-display);
  font-size: 0.85rem;
  font-weight: 500;
}

.ir-chamber .notice.success {
  background: rgba(0, 168, 200, 0.15);
  color: var(--ir-cyan-deep);
  border: 1px solid rgba(0, 168, 200, 0.3);
}

.ir-chamber .notice.warning {
  background: rgba(232, 93, 117, 0.12);
  color: #B83850;
  border: 1px solid rgba(232, 93, 117, 0.28);
}

/* Hub + liquid tabs */

.ir-hub {
  max-width: 1080px;
  margin: 0 auto;
}

.ir-tabs {
  position: relative;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.35rem;
  margin-bottom: 1.15rem;
  background: var(--ir-glass);
  border: 1px solid var(--ir-line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.ir-tab-liquid {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  height: calc(100% - 0.7rem);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--ir-cyan), #818CF8);
  box-shadow: 0 8px 20px rgba(0, 168, 200, 0.35);
  transition: transform 0.45s var(--ir-ease), width 0.45s var(--ir-ease);
  z-index: 0;
  pointer-events: none;
}

.ir-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--ir-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ir-mute);
  cursor: pointer;
  transition: color 0.3s ease;
}

.ir-tab.is-active {
  color: #fff;
}

.ir-tab:hover:not(.is-active) {
  color: var(--ir-ink);
}

/* Pane glass */

.ir-canvas {
  background: var(--ir-glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px 28px 44px 32px / 28px 40px 28px 44px;
  backdrop-filter: var(--ir-blur);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 24px 60px rgba(20, 26, 36, 0.08);
  min-height: 320px;
}

.ir-pane {
  display: none;
}

.ir-pane.is-active:not([hidden]) {
  display: block;
  animation: ir-pane-in 0.45s var(--ir-ease);
}

@keyframes ir-pane-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.ir-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.ir-pane-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.ir-pane-head p {
  margin: 0;
  color: var(--ir-mute);
  max-width: 36ch;
  font-size: 1.02rem;
}

.ir-text-link {
  font-family: var(--ir-display);
  font-weight: 600;
  color: var(--ir-cyan-deep);
  text-decoration: none;
}

.ir-text-link:hover {
  color: var(--ir-rose);
}

/* Switches */

.ir-switch-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ir-switch-row strong {
  display: block;
  font-family: var(--ir-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.ir-switch-row span {
  font-size: 0.85rem;
  color: var(--ir-mute);
}

.ir-switch {
  flex-shrink: 0;
  width: 3.2rem;
  height: 1.85rem;
  padding: 0.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 26, 36, 0.15);
  cursor: pointer;
  transition: background 0.35s var(--ir-ease);
}

.ir-switch-thumb {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 26, 36, 0.2);
  transition: transform 0.4s var(--ir-ease);
}

.ir-switch[aria-checked="true"] {
  background: linear-gradient(120deg, var(--ir-cyan), #818CF8);
}

.ir-switch[aria-checked="true"] .ir-switch-thumb {
  transform: translateX(1.35rem);
}

/* Profile lattice */

.ir-lattice.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.ir-lattice .profile-item {
  position: relative;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--ir-line);
  border-radius: 22px 30px 24px 34px / 30px 22px 34px 24px;
  overflow: hidden;
  transition:
    transform 0.4s var(--ir-ease),
    box-shadow 0.4s var(--ir-ease),
    border-color 0.3s ease;
}

.ir-lattice .profile-item::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 168, 200, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ir-lattice .profile-item:hover,
.ir-lattice.is-inspect .profile-item {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(20, 26, 36, 0.1);
  border-color: rgba(0, 168, 200, 0.35);
}

.ir-lattice .profile-item:hover::before,
.ir-lattice.is-inspect .profile-item::before {
  opacity: 1;
}

.ir-lattice .profile-item .k {
  display: block;
  font-family: var(--ir-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ir-mute);
  margin-bottom: 0.35rem;
}

.ir-lattice .profile-item .v {
  display: block;
  font-family: var(--ir-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.ir-lattice .profile-item .v.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Orders */

.ir-orders .mini-copy {
  color: var(--ir-mute);
  font-size: 0.92rem;
}

.ir-orders .order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--ir-line);
  border-radius: 20px 28px 22px 30px / 28px 20px 30px 22px;
  transition: transform 0.35s var(--ir-ease), border-color 0.25s ease;
}

.ir-orders .order-row:hover {
  transform: translateX(6px);
  border-color: rgba(0, 168, 200, 0.4);
}

.ir-orders .order-row strong {
  font-family: var(--ir-display);
  font-size: 1rem;
}

.ir-orders .btn,
.ir-orders .btn-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--ir-ink);
  color: #fff;
  font-family: var(--ir-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.3s var(--ir-ease);
}

.ir-orders .btn:hover,
.ir-orders .btn-soft:hover {
  background: var(--ir-cyan);
  color: #fff;
  text-decoration: none;
  transform: scale(1.04);
}

/* Forms + vault */

.ir-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.ir-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--ir-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ir-mute);
}

.ir-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(20, 26, 36, 0.18);
  border-radius: 16px 22px 18px 24px / 22px 16px 24px 18px;
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ir-ink);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(20, 26, 36, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ir-ease), transform 0.3s var(--ir-ease);
}

.ir-field input::placeholder {
  color: #5c6678;
}

.ir-field input:focus {
  border-color: var(--ir-cyan);
  box-shadow: 0 0 0 4px rgba(0, 168, 200, 0.18);
  transform: translateY(-1px);
}

.ir-input-wrap {
  position: relative;
}

.ir-input-wrap input {
  padding-right: 4.2rem;
}

.ir-eye {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(20, 26, 36, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-family: var(--ir-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ir-mute);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.ir-eye:hover,
.ir-eye.is-on {
  background: var(--ir-cyan);
  color: #fff;
}

.ir-vault-fields {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.15rem;
  padding: 1.15rem;
  border-radius: 28px 36px 30px 40px / 36px 28px 40px 30px;
  background: rgba(0, 168, 200, 0.06);
  border: 1px dashed rgba(0, 168, 200, 0.35);
  transition:
    opacity 0.4s var(--ir-ease),
    transform 0.4s var(--ir-ease),
    filter 0.4s ease;
}

.ir-vault-fields[inert] {
  opacity: 0.45;
  filter: grayscale(0.35);
  transform: scale(0.985);
}

.ir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--ir-cyan), #818CF8 60%, var(--ir-rose));
  background-size: 160% 100%;
  color: #fff;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-position 0.45s var(--ir-ease), transform 0.35s var(--ir-ease), box-shadow 0.35s var(--ir-ease);
}

.ir-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 168, 200, 0.35);
}

.ir-btn-ghost {
  background: transparent;
  color: var(--ir-ink);
  border: 1px solid var(--ir-line);
}

.ir-btn-ghost:hover {
  background: #fff;
  box-shadow: none;
  color: var(--ir-cyan-deep);
}

/* Gate / auth */

.ir-gate {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 1rem auto 0;
  align-items: stretch;
}

.ir-manifesto {
  padding: 1.75rem 1.5rem;
  background: var(--ir-glass);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 40px 28px 48px 32px / 32px 48px 28px 44px;
  backdrop-filter: var(--ir-blur);
}

.ir-manifesto h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ir-manifesto > p {
  margin: 0 0 1.25rem;
  color: var(--ir-mute);
  font-size: 1.08rem;
  line-height: 1.5;
}

.ir-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ir-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px 24px 20px 26px / 24px 18px 26px 20px;
  font-family: var(--ir-display);
  font-size: 0.92rem;
  font-weight: 500;
  animation: ir-pane-in 0.5s var(--ir-ease) both;
  animation-delay: calc(var(--bi, 0) * 0.08s);
}

.ir-benefits em {
  font-style: normal;
  font-weight: 700;
  color: var(--ir-cyan-deep);
}

.ir-auth-orb {
  padding: 1.35rem;
  background: var(--ir-glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 44% 56% 48% 52% / 52% 42% 58% 48%;
  border-radius: 36px 48px 40px 52px / 48px 36px 52px 40px;
  backdrop-filter: var(--ir-blur);
  box-shadow: 0 24px 60px rgba(20, 26, 36, 0.1);
}

.ir-auth-modes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.25rem;
  background: rgba(20, 26, 36, 0.06);
  border-radius: 999px;
}

.ir-mode-liquid {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.3rem);
  height: calc(100% - 0.6rem);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 26, 36, 0.1);
  transition: transform 0.4s var(--ir-ease);
  z-index: 0;
}

.ir-auth-orb[data-active="register"] .ir-mode-liquid {
  transform: translateX(calc(100% + 0.25rem));
}

.ir-mode-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem;
  border-radius: 999px;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ir-mute);
  cursor: pointer;
  transition: color 0.3s ease;
}

.ir-mode-btn.is-active {
  color: var(--ir-ink);
}

.ir-auth-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--ir-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.auth-split-panel:not([hidden]) {
  display: block;
}

.ir-fine {
  margin: 0 0 1.15rem;
  color: var(--ir-mute);
}

.ir-flash {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, #c0392b 12%, #fff);
  color: #8b1e14;
  font-size: 0.92rem;
  font-weight: 600;
}

.ir-forgot {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--ir-line);
}

.ir-forgot summary {
  font-family: var(--ir-display);
  font-weight: 600;
  cursor: pointer;
  color: var(--ir-cyan-deep);
  margin-bottom: 0.75rem;
}

.ir-forgot h4 {
  margin: 0 0 0.75rem;
  font-family: var(--ir-display);
}

/* Toast */

.ir-toast.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 100;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.85rem 1.2rem;
  border-radius: 18px;
  background: var(--ir-ink);
  color: #fff;
  font-family: var(--ir-display);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ir-ease), opacity 0.35s ease;
}

.ir-toast.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.ir-toast.toast.success { background: var(--ir-cyan-deep); }
.ir-toast.toast.error,
.ir-toast.toast.danger { background: var(--ir-rose); }

.ir-suite:not([hidden]) {
  animation: ir-pane-in 0.55s var(--ir-ease);
}

.ir-gate:not([hidden]) {
  animation: ir-pane-in 0.55s var(--ir-ease);
}

/* Account foot */

.ir-foot {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 1.75rem;
  border-top: 1px solid var(--ir-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-family: var(--ir-display);
  font-size: 0.8rem;
  color: var(--ir-mute);
}

.ir-foot a {
  color: var(--ir-ink);
  font-weight: 600;
  text-decoration: none;
}

.ir-foot a:hover { color: var(--ir-cyan-deep); }

@media (max-width: 860px) {
  .ir-hero-glass {
    grid-template-columns: auto 1fr;
  }

  .ir-hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ir-gate {
    grid-template-columns: 1fr;
  }

  .ir-manifesto {
    order: 2;
  }

  .ir-auth-orb {
    order: 1;
  }
}

@media (max-width: 560px) {
  .ir-shell {
    padding-inline: 0.85rem;
  }

  .ir-tabs {
    display: flex;
    width: 100%;
  }

  .ir-tab {
    flex: 1;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }

  .ir-top-links a:nth-child(3) {
    display: none;
  }

  .ir-canvas {
    border-radius: 24px;
    padding: 1.1rem;
  }

  .ir-auth-orb {
    border-radius: 28px;
    padding: 1.1rem;
  }

  .ir-hero-glass {
    border-radius: 24px;
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ir-blob,
  .ir-ring,
  .ir-avatar,
  .ir-pane,
  .ir-loading-orb {
    animation: none !important;
  }

  .ir-tab-liquid,
  .ir-mode-liquid,
  .ir-switch-thumb {
    transition: none !important;
  }
}
