/* Offline fixes for saved StroxHost pages */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

#root {
  min-height: 100vh;
}

/* Page transition loader — shown while switching tabs / booting */
.strox-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}

.strox-page-loader__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.1 0.015 260 / 0.42);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.strox-page-loader__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  background: oklch(1 0 0 / 0.06);
  z-index: 2;
}

.strox-page-loader__bar span {
  display: block;
  height: 100%;
  width: 34%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand, oklch(0.58 0.22 25)),
    oklch(0.72 0.18 25),
    transparent
  );
  box-shadow: 0 0 18px oklch(0.58 0.22 25 / 0.55);
  animation: strox-loader-bar 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.strox-page-loader__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.strox-page-loader__ring {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 2px solid oklch(1 0 0 / 0.08);
  border-top-color: var(--brand, oklch(0.58 0.22 25));
  border-right-color: oklch(0.58 0.22 25 / 0.35);
  box-shadow: 0 0 24px oklch(0.58 0.22 25 / 0.22);
  animation: strox-loader-spin 0.75s cubic-bezier(0.5, 0.15, 0.35, 0.85) infinite;
}

.strox-page-loader__text {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.78 0.01 260);
  opacity: 0.9;
}

html.offline-booting .strox-page-loader,
html.offline-booting #strox-page-loader {
  opacity: 1;
  visibility: visible;
}

html.offline-booting #root {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.996);
  filter: blur(1px);
  transition: none;
}

html.offline-fast-nav.offline-booting #root {
  transform: translateY(2px) scale(0.998);
  filter: none;
}

html.offline-revealing .strox-page-loader,
html.offline-revealing #strox-page-loader {
  opacity: 0;
  visibility: hidden;
}

html.offline-revealing #root,
html.offline-ready #root {
  visibility: visible;
  opacity: 1;
  transform: none;
  filter: none;
  animation: strox-page-reveal 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.offline-fast-nav.offline-ready #root {
  animation: strox-page-reveal-fast 0.08s ease-out both;
}

html.offline-fast-nav.offline-booting .strox-page-loader__backdrop {
  background: oklch(0.1 0.015 260 / 0.12);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

html.offline-fast-nav.offline-booting .strox-page-loader__center {
  display: none;
}

html.offline-fast-nav .strox-page-loader__bar span {
  animation-duration: 0.65s;
}

@keyframes strox-loader-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes strox-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes strox-page-reveal {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.996);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes strox-page-reveal-fast {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

aside a.offline-nav-loading > div,
nav a.offline-nav-loading > div {
  background: oklch(0.58 0.22 25 / 0.12) !important;
  color: oklch(0.95 0.008 260) !important;
  box-shadow: inset 0 0 0 1px oklch(0.58 0.22 25 / 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .strox-page-loader__bar span,
  .strox-page-loader__ring,
  html.offline-ready #root,
  html.offline-revealing #root {
    animation: none !important;
  }

  html.offline-booting #root {
    filter: none;
    transform: none;
  }
}

/* Sidebar slide — Tailwind v4 uses `translate`, not `transform` */
@media (min-width: 1024px) {
  aside.fixed[class*="-translate-x-full"] {
    --tw-translate-x: 0;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
}

@media (max-width: 1023px) {
  aside.fixed[class*="-translate-x-full"] {
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }

  aside.fixed.offline-sidebar-open {
    --tw-translate-x: 0;
    translate: var(--tw-translate-x) var(--tw-translate-y);
    z-index: 60 !important;
  }

  body.offline-sidebar-active::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: oklch(0 0 0 / 55%);
  }
}

/* Let clicks pass through buttons inside links */
a button,
a [role="button"] {
  pointer-events: none;
}

nav a,
aside a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

nav a:hover,
aside a:hover {
  opacity: 0.95;
}

.offline-rdp-page main .p-6 {
  max-width: 1320px;
}

.offline-rdp-page-head h1 {
  font-family: "Space Grotesk", sans-serif !important;
  letter-spacing: -0.02em;
}

.offline-rdp-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offline-rdp-servers-wrap:not(.has-servers) {
  display: none;
}

.offline-rdp-loading {
  display: grid;
  gap: 0.65rem;
  padding: 0.5rem 0 1rem;
}

.offline-rdp-loading-bar {
  height: 3.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(
    90deg,
    oklch(1 0 0 / 0.04) 0%,
    oklch(1 0 0 / 0.08) 50%,
    oklch(1 0 0 / 0.04) 100%
  );
  background-size: 200% 100%;
  animation: offline-rdp-shimmer 1.2s ease-in-out infinite;
}

.offline-rdp-loading-bar.wide {
  height: 5rem;
}

@keyframes offline-rdp-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.offline-rdp-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(135deg, oklch(0.14 0.02 260) 0%, oklch(0.11 0.015 260) 55%, oklch(0.1 0.02 25 / 0.35) 100%);
  margin-bottom: 1.25rem;
}

.offline-rdp-hero-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.58 0.22 25 / 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.offline-rdp-hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.5rem;
}

.offline-rdp-shop-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  color: oklch(0.96 0.008 260);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.offline-rdp-shop-sub {
  margin: 0;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: oklch(0.62 0.015 260);
}

.offline-rdp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.offline-rdp-stat {
  min-width: 5.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
  text-align: center;
}

.offline-rdp-stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
}

.offline-rdp-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.58 0.015 260);
}

.offline-rdp-catalog {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.offline-rdp-group {
  border-radius: 1rem;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(1 0 0 / 0.02);
  overflow: hidden;
  animation: offline-rdp-rise 0.45s ease backwards;
}

@keyframes offline-rdp-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offline-rdp-group-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: none;
  border-bottom: 1px solid transparent;
  background: oklch(1 0 0 / 0.02);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.offline-rdp-group-head:hover {
  background: oklch(1 0 0 / 0.04);
}

.offline-rdp-group.is-open .offline-rdp-group-head {
  border-bottom-color: oklch(1 0 0 / 0.06);
}

.offline-rdp-group-chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: oklch(0.62 0.015 260);
  transition: transform 0.2s ease, color 0.15s ease;
}

.offline-rdp-group.is-open .offline-rdp-group-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.offline-rdp-group-dot {
  color: oklch(0.45 0.015 260);
  font-size: 0.75rem;
  line-height: 1;
}

.offline-rdp-group-plan-count {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

.offline-rdp-group-hint {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: oklch(0.5 0.015 260);
  transition: color 0.15s ease;
}

.offline-rdp-group.is-open .offline-rdp-group-hint {
  color: var(--brand);
}

.offline-rdp-group-body {
  display: none;
  padding: 1rem 1.15rem 1.15rem;
  flex-direction: column;
  gap: 1rem;
}

.offline-rdp-group.is-open .offline-rdp-group-body {
  display: flex;
}

.offline-rdp-group--ryzen .offline-rdp-group-head {
  background: linear-gradient(90deg, oklch(0.58 0.22 25 / 0.1) 0%, transparent 70%);
}

.offline-rdp-group--i9 .offline-rdp-group-head {
  background: linear-gradient(90deg, oklch(0.62 0.14 250 / 0.12) 0%, transparent 70%);
}

.offline-rdp-group--xeon .offline-rdp-group-head {
  background: linear-gradient(90deg, oklch(0.62 0.12 300 / 0.12) 0%, transparent 70%);
}

.offline-rdp-group-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.58 0.22 25 / 0.14);
  color: var(--brand);
  flex-shrink: 0;
}

.offline-rdp-group--i9 .offline-rdp-group-icon {
  background: oklch(0.62 0.14 250 / 0.16);
  color: oklch(0.72 0.12 250);
}

.offline-rdp-group--xeon .offline-rdp-group-icon {
  background: oklch(0.62 0.12 300 / 0.16);
  color: oklch(0.72 0.1 300);
}

.offline-rdp-group-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}

.offline-rdp-group-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.offline-rdp-group-copy {
  flex: 1;
  min-width: 0;
}

.offline-rdp-group-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: oklch(0.94 0.008 260);
  margin: 0;
}

.offline-rdp-group-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: oklch(0.58 0.015 260);
}

.offline-rdp-region-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.offline-rdp-region-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.offline-rdp-region-flag {
  font-size: 1rem;
  line-height: 1;
}

.offline-rdp-region-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.72 0.015 260);
  margin: 0;
}

.offline-rdp-region-count {
  margin-left: auto;
  font-size: 0.68rem;
  color: oklch(0.52 0.015 260);
}

.offline-rdp-region {
  margin-bottom: 0.85rem;
}

.offline-rdp-plan-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .offline-rdp-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .offline-rdp-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offline-rdp-plan-card {
  cursor: pointer;
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  background: var(--surface-2);
  border: 1px solid oklch(1 0 0 / 0.08);
  text-align: left;
}

.offline-rdp-plan-card.selected {
  background: oklch(0.12 0.018 260);
  border-color: oklch(0.58 0.22 25 / 0.6);
  box-shadow: oklch(0.58 0.22 25 / 0.12) 0 0 24px;
}

.offline-rdp-plan-card:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
}

.offline-rdp-plan-region {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.offline-rdp-plan-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
  margin-bottom: 0.35rem;
}

.offline-rdp-plan-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.offline-rdp-plan-specs {
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: oklch(0.55 0.015 260);
  line-height: 1.45;
}

.offline-rdp-plan-pick {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 0.45rem;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: oklch(0.75 0.01 260);
}

.offline-rdp-plan-card.selected .offline-rdp-plan-pick {
  background: var(--brand);
  border-color: transparent;
  color: white;
}

.offline-rdp-shop-card {
  border-radius: 0.85rem;
  padding: 1rem;
  background: var(--surface-2);
  border: 1px solid oklch(1 0 0 / 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.offline-rdp-shop-card:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  transform: translateY(-2px);
  box-shadow: oklch(0.58 0.22 25 / 0.1) 0 8px 24px;
}

.offline-rdp-shop-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.offline-rdp-shop-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.7 0.015 260);
}

.offline-rdp-shop-price-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  white-space: nowrap;
}

.offline-rdp-shop-price-tag span {
  font-size: 0.72rem;
  font-weight: 600;
  color: oklch(0.55 0.015 260);
}

.offline-rdp-shop-card-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: oklch(0.93 0.008 260);
}

.offline-rdp-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 2.2rem;
}

.offline-rdp-spec-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  padding: 0.22rem 0.45rem;
  border-radius: 0.4rem;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.08);
  color: oklch(0.62 0.015 260);
}

.offline-rdp-shop-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.5rem 0.95rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: oklch(0.58 0.22 25 / 0.22) 0 0 16px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.offline-rdp-shop-order:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
}

.offline-rdp-shop-order:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.offline-rdp-empty-catalog {
  text-align: center;
  padding: 2rem 1rem;
  color: oklch(0.58 0.015 260);
  border: 1px dashed oklch(1 0 0 / 0.12);
  border-radius: 0.85rem;
}

.offline-rdp-servers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.offline-rdp-servers-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: oklch(0.94 0.008 260);
}

.offline-rdp-servers-sub {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: oklch(0.58 0.015 260);
}

.offline-rdp-servers-order-more {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.1);
  color: oklch(0.88 0.008 260);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.offline-rdp-servers-order-more:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  background: oklch(0.58 0.22 25 / 0.08);
}

.offline-rdp-server-list {
  display: grid;
  gap: 0.75rem;
}

.offline-rdp-server-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.035) 0%, oklch(1 0 0 / 0.02) 100%);
}

.offline-rdp-server-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.58 0.22 25 / 0.12);
  color: var(--brand);
  flex-shrink: 0;
}

.offline-rdp-server-main {
  flex: 1 1 14rem;
  min-width: 0;
}

.offline-rdp-server-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.offline-rdp-server-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
}

.offline-rdp-server-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
}

.offline-rdp-server-status.is-active {
  color: oklch(0.72 0.16 145);
  border-color: oklch(0.72 0.16 145 / 0.25);
  background: oklch(0.72 0.16 145 / 0.08);
}

.offline-rdp-server-status.is-pending {
  color: oklch(0.78 0.12 85);
  border-color: oklch(0.78 0.12 85 / 0.25);
  background: oklch(0.78 0.12 85 / 0.08);
}

.offline-rdp-server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: oklch(0.58 0.015 260);
}

.offline-rdp-server-meta strong {
  color: oklch(0.68 0.015 260);
  font-weight: 600;
}

.offline-rdp-server-copy {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.48rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.86 0.008 260);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.offline-rdp-server-copy:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  background: oklch(0.58 0.22 25 / 0.08);
}

.offline-shop-card {
  min-height: 9rem;
}

.offline-shop-card .offline-shop-buy {
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.offline-shop-card .offline-shop-buy:hover {
  opacity: 0.9;
}

/* Profile + notification dropdowns */
.offline-profile-menu-wrap,
.offline-dropdown-wrap {
  position: relative;
}

.offline-profile-menu,
.offline-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 12rem;
  background: var(--surface-3, oklch(0.12 0.015 260));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 0.5rem;
  padding: 0.25rem;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.offline-profile-menu.open,
.offline-dropdown-menu.open {
  display: block;
  animation: offline-menu-in 0.15s ease-out;
}

@keyframes offline-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offline-profile-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.85 0.008 260);
  text-decoration: none;
  border-radius: 0.375rem;
}

.offline-profile-menu a:hover {
  background: oklch(1 0 0 / 0.06);
}

.offline-profile-menu hr {
  border: none;
  border-top: 1px solid oklch(1 0 0 / 0.08);
  margin: 0.25rem 0;
}

.offline-dropdown-title {
  padding: 0.5rem 0.75rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: oklch(0.7 0.008 260);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offline-dropdown-empty {
  padding: 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.55 0.015 260);
}

.offline-dropdown-item {
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  color: oklch(0.85 0.008 260);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.offline-dropdown-item:last-child {
  border-bottom: none;
}

/* Toast notifications */
.offline-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  background: oklch(0.65 0.18 145 / 20%);
  border: 1px solid oklch(0.65 0.18 145 / 40%);
  color: oklch(0.92 0.008 260);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.offline-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.offline-toast.error {
  background: oklch(0.58 0.22 25 / 20%);
  border-color: oklch(0.58 0.22 25 / 40%);
}

/* Inline auth errors (login + account recovery) */
.offline-auth-error {
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: oklch(0.92 0.02 25);
  background: oklch(0.58 0.22 25 / 18%);
  border: 1px solid oklch(0.58 0.22 25 / 45%);
}

.offline-auth-error[hidden] {
  display: none !important;
}

html.offline-is-login .offline-auth-error {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.offline-recovery-panel .offline-auth-error {
  margin-top: -0.25rem;
}

.offline-auth-security-note {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.58 0.015 260);
}

.offline-recovery-security-note {
  margin-top: -0.25rem;
}

.offline-security-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: oklch(0.58 0.22 25 / 92%);
  border-bottom: 1px solid oklch(0.45 0.2 25 / 60%);
  color: white;
  font-size: 0.8125rem;
  font-weight: 500;
  transform: translateY(-110%);
  transition: transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.offline-security-banner.show {
  transform: translateY(0);
}

.offline-security-banner-text {
  flex: 1;
}

.offline-security-banner-close {
  border: none;
  background: oklch(1 0 0 / 15%);
  color: white;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
}

.offline-security-banner-close:hover {
  background: oklch(1 0 0 / 25%);
}

html.offline-is-register .offline-auth-error,
html.offline-is-register #offline-register-pin-error {
  margin: 0.5rem 0;
}

/* Security Center — live shield status */
.offline-security-shield-wrap {
  margin-bottom: 1.25rem;
}

.offline-security-shield-panel {
  border-radius: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, oklch(0.58 0.22 25 / 12%), oklch(0.14 0.02 260));
  border: 1px solid oklch(0.58 0.22 25 / 35%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.offline-security-shield-head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.offline-security-shield-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.58 0.22 25 / 22%);
  color: var(--brand);
  flex-shrink: 0;
}

.offline-security-shield-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.95 0.008 260);
}

.offline-security-shield-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: oklch(0.62 0.015 260);
}

.offline-security-shield-score {
  margin-left: auto;
  text-align: right;
  color: var(--success);
  font-family: "Space Grotesk", sans-serif;
}

.offline-security-shield-score span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.offline-security-shield-score small {
  font-size: 0.6875rem;
  color: oklch(0.62 0.015 260);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offline-security-shield-account {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: oklch(0.7 0.015 260);
}

.offline-security-shield-account strong {
  color: oklch(0.92 0.008 260);
}

.offline-security-shield-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.625rem;
}

.offline-security-shield-item {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  background: oklch(1 0 0 / 4%);
  border: 1px solid oklch(1 0 0 / 8%);
}

.offline-security-shield-item.active {
  border-color: oklch(0.65 0.18 145 / 35%);
}

.offline-security-shield-item.optional {
  border-color: oklch(0.75 0.18 65 / 30%);
}

.offline-security-shield-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.offline-security-shield-item.active .offline-security-shield-dot {
  background: oklch(0.65 0.18 145 / 20%);
  color: var(--success);
}

.offline-security-shield-item.optional .offline-security-shield-dot {
  background: oklch(0.75 0.18 65 / 18%);
  color: oklch(0.8 0.16 65);
}

.offline-security-shield-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: oklch(0.9 0.008 260);
}

.offline-security-shield-detail {
  font-size: 0.6875rem;
  color: oklch(0.58 0.015 260);
  margin-top: 0.125rem;
  line-height: 1.4;
}

.offline-security-shield-loading {
  padding: 1rem;
  font-size: 0.875rem;
  color: oklch(0.62 0.015 260);
}

/* Auth pages — hide register-only UI on login before/without JS */
html.offline-is-login [data-loc*="Register.tsx:144"],
html.offline-is-login [data-loc*="Register.tsx:274"],
html.offline-is-login [data-loc*="Register.tsx:213"] {
  display: none !important;
}

/* Shared auth PIN inputs (login + register step 2) */
.offline-auth-pin-boxes {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.offline-auth-pin-digit {
  width: 3.5rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.75rem;
  outline: none;
  transition: all 0.15s ease;
  background: oklch(1 0 0 / 5%);
  color: oklch(0.92 0.008 260);
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid oklch(1 0 0 / 15%);
}

.offline-auth-pin-digit:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(0.58 0.22 25 / 20%);
}

.offline-auth-pin-digit.filled {
  border: 2px solid var(--brand);
  box-shadow: 0 0 12px oklch(0.58 0.22 25 / 25%);
}

/* Login PIN — matches live Login.tsx:89 (full-width row, 4 equal boxes) */
html.offline-is-login .offline-login-pin-section label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: oklch(0.65 0.01 260);
  margin-bottom: 6px;
}

html.offline-is-login #offline-login-pin-boxes {
  display: flex;
  gap: 8px;
  width: 100%;
}

html.offline-is-login .offline-login-pin-digit {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 44px;
  border-radius: 8px;
  outline: none;
  background: oklch(0.2 0.015 260);
  color: oklch(0.97 0.005 260);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  border: 1px solid oklch(1 0 0 / 25%);
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

html.offline-is-login .offline-login-pin-digit:focus {
  border-color: oklch(0.58 0.22 25);
  box-shadow: 0 0 0 3px oklch(0.58 0.22 25 / 20%);
}

html.offline-is-login .offline-login-pin-digit.filled {
  border: 1px solid oklch(1 0 0 / 25%);
  box-shadow: none;
}

.offline-password-strength {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.offline-password-strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: oklch(1 0 0 / 8%);
  overflow: hidden;
}

.offline-password-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

.offline-password-strength-label {
  font-size: 0.6875rem;
  font-weight: 600;
  min-width: 4.5rem;
  text-align: right;
  letter-spacing: 0.02em;
}

html.offline-is-login [data-loc*="Register.tsx:311"],
html.offline-is-register [data-loc*="Register.tsx:311"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

html.offline-is-login form[data-loc*="Register.tsx:182"],
html.offline-is-register form[data-loc*="Register.tsx:182"] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offline-login-forgot {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

.offline-login-forgot:hover {
  opacity: 0.85;
}

.offline-login-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 10%);
  background: oklch(1 0 0 / 4%);
  font-size: 0.75rem;
  line-height: 1.5;
  color: oklch(0.58 0.015 260);
}

form[hidden] {
  display: none !important;
}

/* Auth form polish */
html.offline-is-login input[data-loc*="Register.tsx:190"],
html.offline-is-login input[data-loc*="Register.tsx:223"],
html.offline-is-register input[data-loc*="Register.tsx:190"],
html.offline-is-register input[data-loc*="Register.tsx:223"],
html.offline-is-register input[data-loc*="Register.tsx:280"] {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

html.offline-is-login input[data-loc*="Register.tsx:190"]::placeholder,
html.offline-is-login input[data-loc*="Register.tsx:223"]::placeholder,
html.offline-is-register input[data-loc*="Register.tsx:190"]::placeholder,
html.offline-is-register input[data-loc*="Register.tsx:223"]::placeholder,
html.offline-is-register input[data-loc*="Register.tsx:280"]::placeholder {
  color: oklch(0.45 0.015 260);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

@media (max-width: 1023px) {
  html.offline-is-login [data-loc*="Register.tsx:121"],
  html.offline-is-register [data-loc*="Register.tsx:121"] {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Wallet generated address */
.offline-wallet-address {
  margin-top: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.625rem;
  background: oklch(0.58 0.22 25 / 8%);
  border: 1px solid oklch(0.58 0.22 25 / 20%);
}

.offline-wallet-address-label {
  font-size: 0.8125rem;
  color: oklch(0.85 0.008 260);
  margin-bottom: 0.5rem;
}

.offline-wallet-crypto-amt {
  font-size: 0.8125rem;
  color: oklch(0.75 0.01 260);
  margin-bottom: 0.625rem;
}

.offline-wallet-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.625rem;
  background: oklch(1 0 0 / 4%);
  border: 1px solid oklch(1 0 0 / 8%);
}

.offline-wallet-qr {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 0.5rem;
  background: white;
  padding: 0.375rem;
  box-sizing: border-box;
}

.offline-wallet-qr-hint {
  margin: 0;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  text-align: center;
}

.offline-wallet-address-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  background: oklch(1 0 0 / 5%);
  border: 1px solid oklch(1 0 0 / 10%);
  margin-bottom: 0.5rem;
}

.offline-wallet-address-box code {
  flex: 1;
  font-size: 0.75rem;
  word-break: break-all;
  color: oklch(0.88 0.008 260);
  font-family: "JetBrains Mono", monospace;
}

.offline-wallet-copy-addr {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand, oklch(0.58 0.22 25));
  border: none;
  color: white;
}

.offline-wallet-address-note {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-deposit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid oklch(1 0 0 / 6%);
}

.offline-deposit-amt {
  font-weight: 600;
  color: oklch(0.92 0.008 260);
}

.offline-deposit-status {
  color: oklch(0.65 0.18 145);
  text-transform: capitalize;
}

/* Tickets list */
.offline-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.offline-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 8%);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.offline-ticket-row:hover {
  border-color: oklch(1 0 0 / 16%);
}

.offline-ticket-detail {
  margin-bottom: 1rem;
}

.offline-chat-shell {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-height: calc(100vh - 220px);
  border-radius: 0.875rem;
  overflow: hidden;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 8%);
}

.offline-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid oklch(1 0 0 / 8%);
  background: oklch(0.11 0.015 260);
}

.offline-chat-header-main {
  flex: 1;
  min-width: 0;
}

.offline-ticket-detail-inner {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 8%);
}

.offline-ticket-status {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: capitalize;
}

.offline-ticket-status-open {
  background: oklch(0.75 0.15 85 / 15%);
  color: oklch(0.78 0.14 85);
}

.offline-ticket-status-answered {
  background: oklch(0.65 0.18 145 / 15%);
  color: oklch(0.72 0.16 145);
}

.offline-ticket-status-closed {
  background: oklch(0.55 0.015 260 / 20%);
  color: oklch(0.7 0.01 260);
}

.offline-ticket-pill {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.0625rem 0.375rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: oklch(0.65 0.18 145 / 15%);
  color: oklch(0.72 0.16 145);
  vertical-align: middle;
}

.offline-ticket-error {
  margin: 0.5rem 0 0;
  color: oklch(0.72 0.18 25);
  font-size: 0.875rem;
}

.offline-ticket-back {
  background: transparent;
  border: none;
  color: oklch(0.65 0.18 250);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  margin: 0 0 0.375rem;
  display: block;
}

.offline-ticket-detail-title {
  margin: 0 0 0.125rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.offline-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.offline-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  max-width: 82%;
}

.offline-chat-row-in {
  align-self: flex-start;
}

.offline-chat-row-out {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.offline-chat-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.offline-chat-avatar-you {
  background: oklch(0.58 0.22 25 / 22%);
  color: oklch(0.72 0.2 25);
}

.offline-chat-avatar-support {
  background: oklch(0.65 0.18 145 / 15%);
  color: oklch(0.72 0.16 145);
}

.offline-chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.offline-chat-row-out .offline-chat-bubble-wrap {
  align-items: flex-end;
}

.offline-chat-sender {
  font-size: 0.6875rem;
  font-weight: 600;
  color: oklch(0.55 0.015 260);
  padding: 0 0.25rem;
}

.offline-chat-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.offline-chat-bubble-in {
  background: oklch(0.14 0.015 260);
  border: 1px solid oklch(1 0 0 / 8%);
  border-bottom-left-radius: 0.25rem;
}

.offline-chat-bubble-out {
  background: oklch(0.58 0.22 25 / 20%);
  border: 1px solid oklch(0.58 0.22 25 / 28%);
  color: oklch(0.95 0.01 260);
  border-bottom-right-radius: 0.25rem;
}

.offline-chat-time {
  font-size: 0.625rem;
  color: oklch(0.5 0.015 260);
  padding: 0 0.25rem;
}

.offline-chat-empty {
  align-self: center;
  text-align: center;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: oklch(1 0 0 / 4%);
  border: 1px dashed oklch(1 0 0 / 10%);
}

.offline-ticket-subject {
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
}

.offline-ticket-meta {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  margin-top: 0.125rem;
  text-transform: capitalize;
}

.offline-ticket-id {
  font-size: 0.6875rem;
  font-family: "JetBrains Mono", monospace;
  color: oklch(0.55 0.015 260);
}

/* Transactions rows */
.offline-tx-rows {
  display: flex;
  flex-direction: column;
}

.offline-tx-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid oklch(1 0 0 / 6%);
  color: oklch(0.85 0.008 260);
  text-transform: capitalize;
}

.offline-tx-amt {
  font-weight: 600;
  text-align: right;
  color: oklch(0.65 0.18 145);
}

/* Register PIN step — matches live w-14 boxes */
.offline-reg-pin-digit {
  width: 3.5rem;
  height: 3.5rem;
}

.offline-empty-inline {
  padding: 0.5rem 0;
}

/* Selected states (wallet amounts, order) */
button.offline-selected:not([data-offline-wallet-crypto]) {
  outline: 2px solid var(--brand, oklch(0.58 0.22 25)) !important;
  outline-offset: 1px;
}

/* Wallet crypto picker — idle + coin-colored selection */
[data-loc*="Wallet.tsx:526"][data-offline-wallet-crypto] {
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.08);
  cursor: pointer;
  pointer-events: auto;
}

[data-loc*="Wallet.tsx:526"].offline-wallet-crypto-btc.offline-selected {
  background: oklch(0.75 0.18 65 / 0.12) !important;
  border: 1px solid oklch(0.75 0.18 65 / 0.35) !important;
  outline: none !important;
  box-shadow: oklch(0.75 0.18 65 / 0.1) 0 0 0 1px;
}

[data-loc*="Wallet.tsx:526"].offline-wallet-crypto-usdt.offline-selected {
  background: oklch(0.72 0.17 155 / 0.12) !important;
  border: 1px solid oklch(0.72 0.17 155 / 0.35) !important;
  outline: none !important;
  box-shadow: oklch(0.72 0.17 155 / 0.1) 0 0 0 1px;
}

[data-loc*="Wallet.tsx:526"].offline-wallet-crypto-eth.offline-selected {
  background: oklch(0.62 0.18 285 / 0.12) !important;
  border: 1px solid oklch(0.62 0.18 285 / 0.35) !important;
  outline: none !important;
  box-shadow: oklch(0.62 0.18 285 / 0.1) 0 0 0 1px;
}

/* Order wizard steps */
.offline-order-step {
  display: none;
}

.offline-order-step.active {
  display: block;
}

.offline-order-domain-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: oklch(0.12 0.018 260);
  border: 1px solid oklch(0.58 0.22 25 / 0.6);
  box-shadow: oklch(0.58 0.22 25 / 0.12) 0px 0px 24px;
}

.offline-order-domain-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.95 0.008 260);
}

.offline-order-domain-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: oklch(0.55 0.015 260);
}

.offline-order-domain-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.offline-order-domain-input-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: oklch(0.55 0.015 260);
  pointer-events: none;
}

.offline-order-domain-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem 0.75rem 2.5rem;
  border-radius: 0.625rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.92 0.008 260);
  font-size: 0.875rem;
  font-family: "JetBrains Mono", monospace;
  outline: none;
}

.offline-order-domain-input:focus {
  border-color: oklch(0.58 0.22 25 / 0.5);
}

.offline-order-domain-mode {
  margin-bottom: 1.25rem;
}

.offline-domain-yesno-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 560px) {
  .offline-domain-yesno-grid {
    grid-template-columns: 1fr;
  }
}

.offline-domain-yesno-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.03);
  color: oklch(0.88 0.01 260);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.offline-domain-yesno-card:hover {
  border-color: oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.05);
}

.offline-domain-yesno-card.selected {
  border-color: oklch(0.58 0.22 25 / 0.55);
  background: oklch(0.58 0.22 25 / 0.1);
  box-shadow: 0 0 0 1px oklch(0.58 0.22 25 / 0.2), 0 4px 20px oklch(0.58 0.22 25 / 0.12);
}

.offline-domain-yesno-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.75 0.01 260);
  font-family: "Space Grotesk", sans-serif;
}

.offline-domain-yesno-card.selected .offline-domain-yesno-badge {
  background: var(--brand, oklch(0.58 0.22 25));
  color: white;
}

.offline-domain-yesno-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(0.94 0.008 260);
  font-family: "Space Grotesk", sans-serif;
}

.offline-domain-yesno-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.58 0.015 260);
}

.offline-domain-yesno-card.selected .offline-domain-yesno-desc {
  color: oklch(0.72 0.02 260);
}

.offline-tld-section-label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: oklch(0.78 0.01 260);
  font-family: "Space Grotesk", sans-serif;
}

.offline-tld-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .offline-tld-grid {
    grid-template-columns: 1fr;
  }
}

.offline-tld-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: oklch(0.92 0.008 260);
  font-family: inherit;
}

.offline-tld-card:hover {
  border-color: oklch(0.58 0.22 25 / 0.45);
  background: oklch(0.58 0.22 25 / 0.06);
}

.offline-tld-card.selected {
  border-color: oklch(0.58 0.22 25 / 0.75);
  background: oklch(0.58 0.22 25 / 0.12);
  box-shadow: oklch(0.58 0.22 25 / 0.2) 0 0 20px;
}

.offline-tld-ext {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.96 0.008 260);
}

.offline-tld-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-tld-hint {
  font-size: 0.6875rem;
  color: oklch(0.55 0.015 260);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offline-domain-compose {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0.5rem;
  border-radius: 0.625rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  overflow: hidden;
  background: oklch(1 0 0 / 0.05);
}

.offline-domain-compose:focus-within {
  border-color: oklch(0.58 0.22 25 / 0.5);
  box-shadow: 0 0 0 1px oklch(0.58 0.22 25 / 0.25);
}

.offline-order-domain-label {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  border: none;
  background: transparent;
  color: oklch(0.92 0.008 260);
  font-size: 0.875rem;
  font-family: "JetBrains Mono", monospace;
  outline: none;
}

.offline-domain-suffix {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  color: oklch(0.96 0.008 260);
  background: oklch(0.58 0.22 25 / 0.15);
  border-left: 1px solid oklch(1 0 0 / 0.1);
  white-space: nowrap;
}

.offline-plan-unavailable {
  opacity: 0.72;
  filter: grayscale(0.35);
  pointer-events: auto;
}

.offline-plan-unavailable-msg {
  margin: 0.75rem 1rem 0;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.78 0.06 55);
  background: oklch(0.55 0.12 55 / 0.12);
  border: 1px solid oklch(0.55 0.12 55 / 0.28);
}

.offline-order-note {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: oklch(0.75 0.01 260);
  background: oklch(0.58 0.22 25 / 0.08);
  border: 1px solid oklch(0.58 0.22 25 / 0.2);
}

.offline-order-note a {
  color: var(--brand, oklch(0.58 0.22 25));
  font-weight: 600;
  text-decoration: none;
}

.offline-order-review-row {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.08);
}

/* Step 3 — Configure Security & Settings */
.offline-step3-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offline-step3-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.offline-step3-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.95 0.008 260);
}

.offline-step3-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(0.55 0.015 260);
}

.offline-step3-brand {
  font-weight: 600;
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-order-load-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
  background: oklch(1 0 0 / 6%);
  border: 1px solid oklch(1 0 0 / 12%);
  color: oklch(0.85 0.008 260);
  font-family: "Space Grotesk", sans-serif;
}

.offline-order-load-btn:hover {
  background: oklch(1 0 0 / 9%);
}

.offline-order-load-btn:active {
  transform: scale(0.97);
}

.offline-max-protection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: oklch(0.12 0.018 260);
  border: 1px solid oklch(0.58 0.22 25 / 0.35);
  box-shadow: oklch(0.58 0.22 25 / 0.08) 0 0 24px;
}

.offline-max-protection-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.offline-max-protection-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: oklch(0.58 0.22 25 / 15%);
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-max-protection-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.125rem;
}

.offline-max-protection-title {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.95 0.008 260);
}

.offline-max-protection-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: oklch(0.65 0.18 145 / 20%);
  color: var(--success, oklch(0.65 0.18 145));
  border: 1px solid oklch(0.65 0.18 145 / 30%);
}

.offline-max-protection-desc {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-max-protection-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--success, oklch(0.65 0.18 145));
}

.offline-country-section,
.offline-features-section {
  padding: 0.25rem 0;
}

.offline-country-heading,
.offline-features-heading {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.95 0.008 260);
  margin-bottom: 0.25rem;
}

.offline-country-subheading,
.offline-features-subheading {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  margin-bottom: 0.75rem;
}

.offline-country-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .offline-country-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offline-country-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 8%);
}

.offline-country-card.selected {
  background: oklch(0.12 0.018 260);
  border-color: oklch(0.58 0.22 25 / 50%);
  box-shadow: oklch(0.58 0.22 25 / 0.08) 0 0 16px;
}

.offline-country-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: oklch(1 0 0 / 6%);
  color: oklch(0.55 0.015 260);
}

.offline-country-card-icon.success {
  background: oklch(0.65 0.18 145 / 15%);
  color: var(--success, oklch(0.65 0.18 145));
}

.offline-country-card.selected .offline-country-card-icon:not(.success) {
  background: oklch(0.58 0.22 25 / 15%);
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-country-card-copy {
  flex: 1;
  min-width: 0;
}

.offline-country-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  color: oklch(0.92 0.008 260);
  margin-bottom: 0.125rem;
}

.offline-country-card-desc {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-country-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid oklch(1 0 0 / 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.offline-country-check.selected {
  background: var(--success, oklch(0.65 0.18 145));
  border-color: transparent;
  color: white;
}

.offline-country-picker {
  margin-top: 0.75rem;
}

.offline-country-picker-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: oklch(0.55 0.015 260);
  margin-bottom: 0.5rem;
}

.offline-country-chips-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 10%);
}

.offline-country-chips {
  display: contents;
}

.offline-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: oklch(0.58 0.22 25 / 12%);
  border: 1px solid oklch(0.58 0.22 25 / 25%);
  color: oklch(0.88 0.008 260);
}

.offline-country-chip-flag {
  line-height: 1;
}

.offline-country-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 0 0 0.125rem;
  border: none;
  background: transparent;
  color: oklch(0.55 0.015 260);
  cursor: pointer;
  transition: color 0.15s;
}

.offline-country-chip-remove:hover {
  color: oklch(0.88 0.008 260);
}

.offline-country-add-wrap {
  position: relative;
  z-index: 9999;
}

.offline-country-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  background: oklch(1 0 0 / 6%);
  border: 1px dashed oklch(1 0 0 / 20%);
  color: oklch(0.65 0.015 260);
  font-family: inherit;
}

.offline-country-add-btn:hover {
  background: oklch(1 0 0 / 9%);
}

.offline-country-add-btn:active {
  transform: scale(0.95);
}

.offline-country-chevron {
  transition: transform 0.15s;
}

.offline-country-add-btn.open .offline-country-chevron {
  transform: rotate(180deg);
}

.offline-country-dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 9999;
  width: 15rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--surface-3, oklch(0.08 0.012 260));
  border: 1px solid oklch(1 0 0 / 12%);
  box-shadow: 0 12px 40px oklch(0 0 0 / 60%);
}

.offline-country-search-wrap {
  padding: 0.5rem;
}

.offline-country-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 10%);
  background: oklch(1 0 0 / 5%);
  color: oklch(0.88 0.008 260);
  font-size: 0.75rem;
  outline: none;
  font-family: inherit;
}

.offline-country-search::placeholder {
  color: oklch(0.55 0.015 260);
}

.offline-country-search:focus {
  border-color: oklch(1 0 0 / 18%);
}

.offline-country-list {
  max-height: 13rem;
  overflow-y: auto;
}

.offline-country-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.75rem;
  color: oklch(0.85 0.008 260);
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.offline-country-option:hover {
  background: oklch(1 0 0 / 5%);
}

.offline-country-option-flag {
  width: 1.25rem;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.offline-country-option-name {
  flex: 1;
  min-width: 0;
}

.offline-country-empty {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-country-picker-note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .offline-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .offline-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offline-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  transition: border-color 0.2s;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 6%);
}

.offline-feature-card[data-enabled="true"] {
  border-color: oklch(0.58 0.22 25 / 20%);
}

.offline-feature-main {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  flex: 1;
}

.offline-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  background: oklch(1 0 0 / 6%);
  color: oklch(0.55 0.015 260);
}

.offline-feature-card[data-enabled="true"] .offline-feature-icon {
  background: oklch(0.58 0.22 25 / 15%);
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-feature-copy {
  min-width: 0;
}

.offline-feature-title-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
}

.offline-feature-title {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
  color: oklch(0.55 0.015 260);
}

.offline-feature-card[data-enabled="true"] .offline-feature-title {
  color: oklch(0.92 0.008 260);
}

.offline-feature-info {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.625rem;
  font-weight: 600;
  color: oklch(0.45 0.015 260);
  cursor: help;
  flex-shrink: 0;
  white-space: nowrap;
}

.offline-feature-info:hover {
  color: oklch(0.65 0.015 260);
}

.offline-feature-desc {
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offline-feature-toggle {
  position: relative;
  flex-shrink: 0;
  width: 2.5rem;
  height: 1.375rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, box-shadow 0.2s;
  background: oklch(1 0 0 / 12%);
}

.offline-feature-toggle.on {
  background: var(--brand, oklch(0.58 0.22 25));
  box-shadow: 0 0 8px oklch(0.58 0.22 25 / 35%);
}

.offline-feature-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: left 0.2s;
}

.offline-feature-toggle.on .offline-feature-toggle-knob {
  left: calc(100% - 1.25rem);
}

.offline-security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-top: 0.25rem;
  background: oklch(0.58 0.22 25 / 5%);
  border: 1px solid oklch(0.58 0.22 25 / 15%);
}

.offline-security-note svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-security-note p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: oklch(0.7 0.015 260);
}

.offline-security-note a {
  color: var(--brand, oklch(0.58 0.22 25));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.offline-security-note a:hover {
  opacity: 0.85;
}

.offline-order-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.625rem;
}

.offline-order-review-row span:first-child {
  font-size: 0.8125rem;
  color: oklch(0.55 0.015 260);
}

.offline-order-review-row span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
  text-align: right;
}

.offline-order-review-row .brand {
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-order-back-btn {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: oklch(0.75 0.01 260);
  font-family: "Space Grotesk", sans-serif;
  transition: background 0.15s;
}

.offline-order-back-btn.visible {
  display: inline-flex;
}

.offline-order-back-btn:hover {
  background: oklch(1 0 0 / 0.09);
}

/* Ticket modal */
.offline-nav-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: oklch(0.58 0.22 25 / 18%);
  color: var(--brand);
  border: 1px solid oklch(0.58 0.22 25 / 28%);
}

.offline-welcome-message {
  margin: 0;
  color: oklch(0.78 0.008 260);
  line-height: 1.6;
  white-space: pre-wrap;
}

.offline-maintenance-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  background: oklch(0.58 0.22 25 / 20%);
  border-bottom: 1px solid oklch(0.58 0.22 25 / 35%);
  color: oklch(0.92 0.008 260);
}

.offline-maintenance-screen {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: oklch(0.1 0.015 260 / 96%);
}

.offline-maintenance-card {
  max-width: 28rem;
  width: 100%;
  padding: 1.5rem;
  border-radius: 0.875rem;
  background: var(--surface-3, oklch(0.12 0.015 260));
  border: 1px solid oklch(1 0 0 / 0.08);
  text-align: center;
}

.offline-maintenance-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.offline-maintenance-card p {
  margin: 0 0 1.25rem;
  color: oklch(0.72 0.01 260);
  line-height: 1.55;
}

.offline-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.offline-modal-overlay.open {
  display: flex;
}

.offline-insufficient-modal {
  max-width: 26rem;
  text-align: center;
}

.offline-insufficient-body {
  align-items: center;
}

.offline-insufficient-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.65 0.22 25 / 0.12);
  border: 1px solid oklch(0.65 0.22 25 / 0.28);
  color: var(--brand, oklch(0.58 0.22 25));
}

.offline-insufficient-message {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: oklch(0.82 0.01 260);
}

.offline-insufficient-modal .offline-modal-actions {
  width: 100%;
  justify-content: center;
}

.offline-insufficient-modal .offline-btn-primary {
  width: 100%;
}

.offline-insufficient-amount-row {
  width: 100%;
  text-align: left;
  margin-top: 0.75rem;
}

.offline-insufficient-amount-label {
  display: block;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  margin-bottom: 0.35rem;
}

.offline-insufficient-amount-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.92 0.008 260);
  font-size: 1rem;
}

.offline-insufficient-crypto-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.offline-insufficient-crypto {
  flex: 1;
  min-width: 5.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.75 0.01 260);
  font-size: 0.75rem;
  cursor: pointer;
}

.offline-insufficient-crypto.selected {
  border-color: oklch(0.58 0.22 25 / 0.55);
  background: oklch(0.58 0.22 25 / 0.12);
  color: oklch(0.95 0.008 260);
}

.offline-insufficient-actions {
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.85rem;
}

.offline-insufficient-address-panel {
  margin-top: 1rem;
  text-align: left;
}

.offline-modal {
  width: 100%;
  max-width: 32rem;
  background: var(--surface-2, oklch(0.1 0.015 260));
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  color: oklch(0.92 0.008 260);
}

.offline-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}

.offline-modal-header h2 {
  margin: 0;
  font-size: 1.125rem;
}

.offline-modal-close {
  background: none;
  border: none;
  color: oklch(0.7 0.008 260);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.offline-modal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.offline-modal-body label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: oklch(0.65 0.015 260);
}

.offline-modal-body input,
.offline-modal-body select,
.offline-modal-body textarea {
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.92 0.008 260);
  font-size: 0.875rem;
  font-family: inherit;
}

.offline-priority-btns {
  display: flex;
  gap: 0.5rem;
}

.offline-priority-btns button {
  flex: 1;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.85 0.008 260);
  cursor: pointer;
  text-transform: capitalize;
}

.offline-priority-btns button.active {
  border-color: var(--brand, oklch(0.58 0.22 25));
  background: oklch(0.58 0.22 25 / 0.15);
}

.offline-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.offline-btn-primary,
.offline-btn-secondary {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
}

/* Account recovery modal */
.offline-recovery-overlay {
  z-index: 600;
}

.offline-recovery-dialog {
  width: 100%;
  max-width: 26rem;
  background: oklch(0.12 0.015 260);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 1rem;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
  color: oklch(0.92 0.008 260);
  padding: 1.5rem;
}

.offline-recovery-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offline-recovery-panel[hidden] {
  display: none !important;
}

.offline-recovery-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.offline-recovery-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: oklch(0.62 0.015 260);
  line-height: 1.45;
}

.offline-recovery-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.92 0.008 260);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease;
}

.offline-recovery-option:hover {
  border-color: oklch(0.58 0.22 25 / 0.45);
  background: oklch(0.58 0.22 25 / 0.08);
}

.offline-recovery-option-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.offline-recovery-option-desc {
  font-size: 0.75rem;
  color: oklch(0.58 0.015 260);
}

.offline-recovery-cancel {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.625rem;
  border: 0;
  background: transparent;
  color: oklch(0.62 0.015 260);
  font-size: 0.875rem;
  cursor: pointer;
}

.offline-recovery-cancel:hover {
  color: oklch(0.85 0.008 260);
}

.offline-recovery-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.offline-recovery-back {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0.125rem;
  border: 0;
  border-radius: 0.5rem;
  background: oklch(1 0 0 / 0.06);
  color: oklch(0.85 0.008 260);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.offline-recovery-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offline-recovery-step {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.55 0.015 260);
}

.offline-recovery-step.active {
  background: var(--brand, oklch(0.58 0.22 25));
  color: white;
  box-shadow: 0 0 12px oklch(0.58 0.22 25 / 40%);
}

.offline-recovery-step.done {
  background: var(--success, oklch(0.62 0.18 145));
  color: white;
}

.offline-recovery-step-line {
  flex: 1;
  height: 2px;
  background: oklch(1 0 0 / 0.12);
}

.offline-recovery-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: oklch(0.65 0.015 260);
}

.offline-recovery-field input {
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.92 0.008 260);
  font-size: 0.875rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.offline-recovery-password-wrap {
  position: relative;
}

.offline-recovery-password-wrap input {
  width: 100%;
  padding-right: 2.5rem;
}

.offline-recovery-pw-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: oklch(0.55 0.015 260);
  cursor: pointer;
  font-size: 0.875rem;
}

.offline-recovery-pin-row {
  display: flex;
  gap: 0.5rem;
}

.offline-recovery-pin-digit {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.92 0.008 260);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.offline-recovery-pin-digit:focus {
  outline: none;
  border-color: var(--brand, oklch(0.58 0.22 25));
  box-shadow: 0 0 0 3px oklch(0.58 0.22 25 / 20%);
}

.offline-recovery-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.625rem;
  background: var(--brand, oklch(0.58 0.22 25));
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.offline-recovery-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.offline-recovery-success {
  align-items: center;
  text-align: center;
}

.offline-recovery-success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.62 0.18 145 / 0.15);
  color: var(--success, oklch(0.62 0.18 145));
  font-size: 1.5rem;
}

.offline-btn-primary {
  background: var(--brand, oklch(0.58 0.22 25));
  color: white;
}

.offline-btn-secondary {
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.85 0.008 260);
}

.offline-scam-page .space-y-6 {
  gap: 0 !important;
}

.offline-scam-hero {
  position: relative;
  padding: 32px 24px 48px;
  overflow: hidden;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.offline-scam-hub-page .offline-scam-hero {
  min-height: calc(100vh - 120px);
}

.offline-scam-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.offline-scam-page-head {
  text-align: center;
}

.offline-scam-page-head h1 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: oklch(0.95 0.008 260);
  letter-spacing: -0.02em;
}

.offline-scam-page-head p {
  margin: 0 auto;
  max-width: 420px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: oklch(0.55 0.015 260);
}

.offline-scam-hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, oklch(0.58 0.22 25 / 0.18), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 100%, oklch(0.58 0.22 25 / 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 100%, oklch(0.58 0.22 25 / 0.08), transparent 60%);
}

.offline-scam-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
}

.offline-scam-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px 20px;
  min-height: 168px;
  border-radius: 16px;
  border: 2px solid oklch(0.58 0.22 25 / 0.55);
  background: linear-gradient(165deg, oklch(0.17 0.014 260), oklch(0.11 0.01 260));
  box-shadow:
    0 0 24px oklch(0.58 0.22 25 / 0.18),
    inset 0 1px 0 oklch(1 0 0 / 0.06);
  color: oklch(0.98 0.005 260);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
  animation: offline-scam-rise 0.45s ease backwards;
}

.offline-scam-tab:nth-child(1) {
  animation-delay: 0.06s;
}

.offline-scam-tab:nth-child(2) {
  animation-delay: 0.12s;
}

.offline-scam-tab:nth-child(3) {
  animation-delay: 0.18s;
  grid-column: 1 / -1;
  width: calc(50% - 8px);
  max-width: 360px;
  justify-self: center;
}

.offline-scam-tab-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(1 0 0 / 0.07) 0%, transparent 42%, transparent 100%);
  opacity: 0.6;
}

.offline-scam-tab-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: oklch(0.58 0.22 25 / 0.12);
  color: oklch(0.62 0.24 25);
  box-shadow: 0 0 20px oklch(0.58 0.22 25 / 0.25);
}

.offline-scam-tab-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.offline-scam-tab-line1,
.offline-scam-tab-line2 {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.6875rem, 2.5vw, 0.875rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.offline-scam-tab:hover {
  transform: translateY(-3px);
  border-color: oklch(0.62 0.24 25 / 0.85);
  box-shadow:
    0 8px 32px oklch(0.58 0.22 25 / 0.28),
    0 0 28px oklch(0.58 0.22 25 / 0.22),
    inset 0 1px 0 oklch(1 0 0 / 0.08);
}

.offline-scam-tab.active {
  border-color: oklch(0.65 0.24 25);
  box-shadow:
    0 0 40px oklch(0.58 0.22 25 / 0.45),
    inset 0 0 32px oklch(0.58 0.22 25 / 0.12);
}

.offline-scam-tab.active .offline-scam-tab-icon-wrap {
  background: oklch(0.58 0.22 25 / 0.22);
  box-shadow: 0 0 28px oklch(0.58 0.22 25 / 0.4);
}

.offline-scam-category-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.offline-scam-category-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 16px;
  padding-bottom: 12px;
  background: linear-gradient(
    180deg,
    oklch(0.1 0.015 260) 0%,
    oklch(0.1 0.015 260) 78%,
    oklch(0.1 0.015 260 / 0) 100%
  );
  backdrop-filter: blur(10px);
}

.offline-scam-category-sticky .offline-scam-back {
  margin-bottom: 14px;
}

.offline-scam-category-sticky .offline-scam-panel-head {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: none;
}

.offline-scam-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
}

.offline-scam-search-wrap svg {
  flex-shrink: 0;
  color: oklch(0.55 0.015 260);
}

.offline-scam-search {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: oklch(0.92 0.008 260);
  outline: none;
}

.offline-scam-search::placeholder {
  color: oklch(0.5 0.015 260);
}

.offline-scam-search-count {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

.offline-scam-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-scam-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.offline-scam-list-row:hover {
  border-color: oklch(0.58 0.22 25 / 0.3);
  box-shadow: 0 0 20px oklch(0.58 0.22 25 / 0.1);
  transform: translateY(-1px);
}

.offline-scam-list-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.offline-scam-logo-mark {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.offline-scam-o365-logo-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

.offline-scam-o365-logo-mark .offline-scam-logo,
.offline-scam-o365-logo-mark .offline-scam-monogram {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.offline-scam-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: contain;
  background: oklch(0.98 0.004 260);
  padding: 5px;
  border: 1px solid oklch(1 0 0 / 0.1);
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.18);
}

.offline-scam-logo-error {
  display: none;
}

.offline-scam-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.offline-scam-logo-fallback {
  display: none;
  position: absolute;
  inset: 0;
}

.offline-scam-logo-fallback-visible {
  display: flex;
}

.offline-scam-list-text {
  min-width: 0;
}

.offline-scam-list-text .offline-scam-product-name {
  margin-bottom: 2px;
}

.offline-scam-list-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.offline-scam-list-price {
  display: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.65 0.18 145);
}

@media (min-width: 640px) {
  .offline-scam-list-price {
    display: block;
  }

  .offline-scam-list-text .offline-scam-product-desc .offline-scam-list-price-inline {
    display: none;
  }
}

.offline-scam-no-results {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: oklch(0.55 0.015 260);
}

.offline-scam-o365-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .offline-scam-o365-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .offline-scam-o365-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offline-scam-cookies-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: oklch(0.48 0.13 220 / 0.2);
  border: 1px solid oklch(0.48 0.13 220 / 0.35);
  color: oklch(0.72 0.1 220);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 1;
}

.offline-scam-product-card-featured {
  position: relative;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-color: oklch(0.58 0.22 25 / 0.45);
  background: linear-gradient(
    135deg,
    oklch(0.58 0.22 25 / 0.14) 0%,
    oklch(1 0 0 / 0.03) 55%
  );
  box-shadow: 0 0 32px oklch(0.58 0.22 25 / 0.18);
}

.offline-scam-product-card-featured .offline-scam-o365-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.offline-scam-product-card-featured .offline-scam-product-body {
  flex: 1;
}

.offline-scam-product-card-featured .offline-scam-product-foot {
  padding-top: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@media (max-width: 639px) {
  .offline-scam-product-card-featured {
    flex-direction: column;
    align-items: flex-start;
  }

  .offline-scam-product-card-featured .offline-scam-product-foot {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .offline-scam-list-row {
    flex-wrap: wrap;
  }

  .offline-scam-list-actions {
    width: 100%;
    justify-content: space-between;
  }
}

.offline-scam-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: oklch(0.58 0.22 25 / 0.22);
  border: 1px solid oklch(0.58 0.22 25 / 0.4);
  color: oklch(0.82 0.16 25);
}

.offline-scam-o365-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: oklch(0.48 0.13 250 / 0.18);
  border: 1px solid oklch(0.48 0.13 250 / 0.28);
  color: oklch(0.72 0.1 250);
}

.offline-scam-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: oklch(0.72 0.015 260);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.offline-scam-back:hover {
  color: oklch(0.92 0.008 260);
  background: oklch(1 0 0 / 0.07);
  border-color: oklch(0.58 0.22 25 / 0.28);
}

.offline-scam-category-page .offline-scam-panel-head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.offline-scam-category-page .offline-scam-panel-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.offline-scam-product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .offline-scam-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .offline-scam-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offline-scam-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.offline-scam-product-card:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  box-shadow: 0 0 24px oklch(0.58 0.22 25 / 0.12);
  transform: translateY(-2px);
}

.offline-scam-product-body {
  flex: 1;
}

.offline-scam-product-name {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
  line-height: 1.35;
}

.offline-scam-product-desc {
  margin: 0;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
  line-height: 1.45;
}

.offline-scam-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.offline-scam-product-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: oklch(0.65 0.18 145);
}

.offline-scam-product-buy {
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  background: var(--brand);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.offline-scam-product-buy:hover {
  opacity: 0.92;
}

.offline-scam-product-buy:active {
  transform: scale(0.97);
}

.offline-scam-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.offline-scam-panel-title {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: oklch(0.95 0.008 260);
}

.offline-scam-panel-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: oklch(0.55 0.015 260);
  line-height: 1.5;
}

.offline-scam-panel-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: oklch(0.58 0.22 25 / 0.15);
  border: 1px solid oklch(0.58 0.22 25 / 0.3);
  color: oklch(0.75 0.18 25);
}

.offline-scam-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  background: oklch(1 0 0 / 0.02);
  border: 1px dashed oklch(1 0 0 / 0.1);
}

.offline-scam-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: oklch(0.58 0.22 25 / 0.1);
  color: oklch(0.58 0.22 25);
  opacity: 0.7;
}

.offline-scam-empty-title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.88 0.008 260);
}

.offline-scam-empty-desc {
  margin: 0;
  max-width: 360px;
  font-size: 0.8125rem;
  color: oklch(0.55 0.015 260);
  line-height: 1.55;
}

#offline-scam-grid.offline-scam-grid-has-items {
  gap: 16px;
}

@keyframes offline-scam-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .offline-scam-hero {
    padding: 24px 16px 36px;
    min-height: auto;
  }

  .offline-scam-hero-inner {
    gap: 22px;
  }

  .offline-scam-panel {
    padding: 16px;
  }

  .offline-scam-tabs {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .offline-scam-tab:nth-child(3) {
    width: 100%;
    max-width: none;
  }

  .offline-scam-tab {
    min-height: 132px;
    padding: 24px 16px;
  }

  .offline-scam-tab-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .offline-scam-tab-icon-wrap svg {
    width: 28px;
    height: 28px;
  }
}

/* --- Logs marketplace --- */
.offline-logs-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.offline-logs-breadcrumb {
  margin-bottom: 14px;
  font-size: 0.75rem;
  color: oklch(0.52 0.015 260);
}

.offline-logs-drop {
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid oklch(0.58 0.22 25 / 0.22);
  background: oklch(0.58 0.22 25 / 0.08);
}

.offline-logs-drop-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.offline-logs-drop-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: oklch(0.88 0.008 260);
}

.offline-logs-drop-countdown {
  font-family: "Space Grotesk", ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.78 0.15 25);
  letter-spacing: 0.04em;
}

.logs-shop-shell {
  position: relative;
  margin-bottom: 18px;
  padding: 20px 18px 18px;
  border-radius: 16px;
  background: oklch(0.1 0.015 260);
  border: 1px solid oklch(1 0 0 / 0.08);
  overflow: hidden;
}

.logs-shop-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, oklch(0.58 0.22 25), oklch(0.48 0.2 25 / 0.4));
}

.logs-shop-head h1 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: oklch(0.95 0.008 260);
}

.logs-shop-head > p {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  color: oklch(0.58 0.015 260);
}

.offline-logs-policy {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: oklch(0.62 0.015 260);
}

.offline-logs-policy summary {
  cursor: pointer;
  font-weight: 600;
  color: oklch(0.72 0.015 260);
}

.offline-logs-policy p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.offline-logs-filters-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offline-logs-filter-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

.offline-logs-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px 14px;
}

@media (min-width: 720px) {
  .offline-logs-dropdown-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offline-logs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offline-logs-field > span {
  font-size: 0.75rem;
  font-weight: 500;
  color: oklch(0.62 0.015 260);
}

.logs-shop-shell .offline-logs-select-red,
.logs-shop-shell .offline-logs-select {
  width: 100%;
  min-height: 40px;
  padding: 9px 36px 9px 12px;
  border-radius: 8px;
  border: 1px solid oklch(0.42 0.16 25);
  background: oklch(0.08 0.015 260);
  color: oklch(0.88 0.008 260);
  font-size: 0.8125rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, oklch(0.72 0.015 260) 50%),
    linear-gradient(135deg, oklch(0.72 0.015 260) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 2px),
    calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.logs-shop-shell .offline-logs-select-red:focus,
.logs-shop-shell .offline-logs-select:focus {
  outline: none;
  border-color: oklch(0.58 0.22 25);
  box-shadow: 0 0 0 2px oklch(0.58 0.22 25 / 0.15);
}

.offline-logs-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid oklch(1 0 0 / 0.05);
}

.offline-logs-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: oklch(0.82 0.008 260);
  cursor: pointer;
  white-space: nowrap;
}

.offline-logs-check input {
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid oklch(0.72 0.008 260);
  border-radius: 2px;
  background: transparent;
  accent-color: oklch(0.58 0.22 25);
  cursor: pointer;
}

.offline-logs-best-sellers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-logs-best-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offline-logs-best-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.offline-logs-best-btn:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  transform: translateY(-1px);
}

.offline-logs-seller-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.85 0.008 260);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.offline-logs-seller-chip:hover,
.offline-logs-seller-chip.active {
  border-color: oklch(0.58 0.22 25 / 0.45);
  background: oklch(0.58 0.22 25 / 0.14);
  color: oklch(0.95 0.008 260);
}

.offline-logs-logo-sm {
  width: 32px;
  height: 32px;
}

.offline-logs-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offline-logs-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.02);
}

.offline-logs-empty-state p {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  color: oklch(0.72 0.015 260);
}

.offline-logs-empty-state span {
  font-size: 0.8125rem;
  color: oklch(0.52 0.015 260);
}

.offline-logs-result-meta {
  margin-bottom: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

.offline-logs-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.78 0.015 260);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.offline-logs-back-home:hover {
  border-color: oklch(0.58 0.22 25 / 0.3);
  color: oklch(0.92 0.008 260);
}

.offline-logs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.offline-logs-title {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: oklch(0.95 0.008 260);
}

.offline-logs-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(0.55 0.015 260);
}

.offline-logs-wallet {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: oklch(0.62 0.015 260);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
}

.offline-logs-wallet strong {
  display: block;
  margin-top: 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: oklch(0.65 0.18 145);
}

.offline-logs-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.06);
}

.offline-logs-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: oklch(0.62 0.015 260);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.offline-logs-tab.active {
  background: oklch(0.58 0.22 25 / 0.18);
  color: oklch(0.92 0.008 260);
  box-shadow: 0 0 20px oklch(0.58 0.22 25 / 0.12);
}

.offline-logs-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.625rem;
  background: oklch(0.58 0.22 25 / 0.25);
  color: oklch(0.9 0.01 260);
}

.offline-logs-filters {
  margin-bottom: 16px;
}

.offline-logs-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.offline-logs-filter-tools {
  align-items: center;
}

.offline-logs-filter-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(1 0 0 / 0.03);
  color: oklch(0.72 0.015 260);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.offline-logs-filter-pill.active {
  border-color: oklch(0.58 0.22 25 / 0.35);
  background: oklch(0.58 0.22 25 / 0.14);
  color: oklch(0.92 0.008 260);
}

.offline-logs-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
}

.offline-logs-search-wrap svg {
  color: oklch(0.55 0.015 260);
}

.offline-logs-search {
  flex: 1;
  border: none;
  background: transparent;
  color: oklch(0.92 0.008 260);
  font-size: 0.8125rem;
  outline: none;
}

.offline-logs-select {
  min-width: 180px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(0.12 0.015 260);
  color: oklch(0.88 0.008 260);
  font-size: 0.8125rem;
}

.offline-logs-result-count {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.55 0.015 260);
}

.offline-logs-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .offline-logs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .offline-logs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.offline-logs-card-rich {
  gap: 14px;
}

.offline-logs-card-rich-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.offline-logs-card-rich-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offline-logs-kv {
  display: grid;
  grid-template-columns: 1.35rem minmax(3.5rem, auto) 1fr;
  gap: 6px 8px;
  align-items: center;
  font-size: 0.75rem;
  line-height: 1.35;
}

.offline-logs-kv-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: oklch(0.62 0.02 260);
}

.offline-logs-kv-ico svg {
  display: block;
  width: 14px;
  height: 14px;
}

.offline-logs-kv-ico-bank {
  width: 1.35rem;
  height: 1.35rem;
}

.offline-logs-kv-bank-logo {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px;
  overflow: hidden;
}

.offline-logs-kv-bank-logo .offline-scam-logo,
.offline-logs-kv-bank-logo img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
}

.offline-logs-kv-bank-logo .offline-scam-monogram {
  font-size: 0.5rem;
  width: 18px;
  height: 18px;
  line-height: 18px;
}

.offline-logs-inline-check {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
  color: oklch(0.72 0.14 145);
}

.offline-logs-inline-check svg {
  display: block;
  width: 12px;
  height: 12px;
}

.offline-logs-detail-state {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.offline-logs-kv-label {
  color: oklch(0.58 0.015 260);
  font-weight: 600;
}

.offline-logs-kv-label::after {
  content: ":";
}

.offline-logs-kv-val {
  color: oklch(0.9 0.008 260);
  font-weight: 500;
  min-width: 0;
  word-break: break-word;
}

.offline-logs-kv-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: oklch(0.65 0.18 145);
}

.offline-logs-status-available {
  color: oklch(0.72 0.14 145);
  font-weight: 600;
}

.offline-logs-seller-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.offline-logs-verified {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.88 0.06 250);
  background: oklch(0.55 0.18 250 / 0.22);
  border: 1px solid oklch(0.62 0.16 250 / 0.35);
}

.offline-logs-card-details {
  padding: 10px 12px;
  border-radius: 10px;
  background: oklch(0 0 0 / 0.22);
  border: 1px solid oklch(1 0 0 / 0.06);
}

.offline-logs-details-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.62 0.015 260);
  margin-bottom: 8px;
}

.offline-logs-details-title .offline-logs-kv-ico {
  color: oklch(0.58 0.02 260);
}

.offline-logs-details-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.6875rem;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

.offline-logs-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 2px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.04);
}

.offline-logs-detail-row:last-child {
  border-bottom: none;
}

.offline-logs-detail-k {
  color: oklch(0.55 0.015 260);
}

.offline-logs-detail-k::before {
  content: "| ";
  color: oklch(0.42 0.01 260);
}

.offline-logs-detail-v {
  text-align: right;
  white-space: nowrap;
}

.offline-logs-detail-state.is-on {
  color: oklch(0.72 0.14 145);
  font-weight: 600;
}

.offline-logs-detail-state.is-off {
  color: oklch(0.52 0.02 260);
}

.offline-logs-detail-balance {
  color: oklch(0.78 0.12 85);
  font-weight: 700;
}

.offline-logs-purchase-details {
  margin-bottom: 12px;
}

.offline-logs-delivered-divider {
  margin: 12px 0 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.58 0.015 260);
}

.offline-logs-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offline-logs-card:hover {
  border-color: oklch(0.58 0.22 25 / 0.28);
  box-shadow: 0 0 24px oklch(0.58 0.22 25 / 0.1);
}

.offline-logs-logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.offline-logs-card-body {
  flex: 1;
}

.offline-logs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.offline-logs-card-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.62 0.015 260);
}

.offline-logs-card-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.65 0.18 145);
}

.offline-logs-card-title {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(0.92 0.008 260);
  line-height: 1.35;
}

.offline-logs-card-preview {
  margin: 0;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-logs-add-btn,
.offline-logs-primary-btn,
.offline-logs-secondary-btn {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.offline-logs-add-btn,
.offline-logs-primary-btn {
  background: var(--brand);
  color: white;
}

.offline-logs-add-btn.in-cart {
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.72 0.015 260);
  border: 1px solid oklch(1 0 0 / 0.1);
}

.offline-logs-secondary-btn {
  background: oklch(1 0 0 / 0.06);
  color: oklch(0.82 0.008 260);
  border: 1px solid oklch(1 0 0 / 0.1);
}

.offline-logs-cart-panel,
.offline-logs-purchases {
  border-radius: 16px;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(1 0 0 / 0.02);
  overflow: hidden;
}

.offline-logs-cart-list {
  display: flex;
  flex-direction: column;
}

.offline-logs-cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid oklch(1 0 0 / 0.05);
}

.offline-logs-cart-text {
  flex: 1;
  min-width: 0;
}

.offline-logs-cart-text strong {
  display: block;
  font-size: 0.8125rem;
  color: oklch(0.9 0.008 260);
}

.offline-logs-cart-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-logs-cart-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: oklch(0.65 0.18 145);
}

.offline-logs-remove-btn {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: oklch(0.58 0.22 25 / 0.12);
  color: oklch(0.78 0.15 25);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
}

.offline-logs-cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid oklch(1 0 0 / 0.06);
}

.offline-logs-cart-total-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(0.55 0.015 260);
}

.offline-logs-cart-total {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: oklch(0.65 0.18 145);
}

.offline-logs-cart-actions {
  display: flex;
  gap: 8px;
}

.offline-logs-cart-note {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.75rem;
  color: oklch(0.72 0.15 25);
  background: oklch(0.58 0.22 25 / 0.08);
  border-bottom: 1px solid oklch(1 0 0 / 0.05);
}

.offline-logs-purchase {
  border-bottom: 1px solid oklch(1 0 0 / 0.05);
}

.offline-logs-purchase summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.offline-logs-purchase summary::-webkit-details-marker {
  display: none;
}

.offline-logs-purchase-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offline-logs-purchase-summary strong {
  display: block;
  font-size: 0.875rem;
  color: oklch(0.9 0.008 260);
}

.offline-logs-purchase-summary span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: oklch(0.55 0.015 260);
}

.offline-logs-purchase-toggle {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(0.58 0.22 25);
}

.offline-logs-delivered {
  padding: 0 16px 16px 70px;
  display: grid;
  gap: 8px;
}

.offline-logs-delivered-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 0.75rem;
}

.offline-logs-delivered-row span {
  color: oklch(0.55 0.015 260);
}

.offline-logs-delivered-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: oklch(0.88 0.008 260);
  word-break: break-all;
}

.offline-logs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.offline-logs-empty h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: oklch(0.88 0.008 260);
}

.offline-logs-empty p {
  margin: 0 0 16px;
  max-width: 380px;
  font-size: 0.8125rem;
  color: oklch(0.55 0.015 260);
  line-height: 1.55;
}

.offline-logs-skeleton {
  padding: 8px 0 20px;
}

.offline-logs-skeleton-head {
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    oklch(1 0 0 / 0.04) 0%,
    oklch(1 0 0 / 0.09) 50%,
    oklch(1 0 0 / 0.04) 100%
  );
  background-size: 200% 100%;
  animation: strox-logs-shimmer 0.9s ease-in-out infinite;
}

.offline-logs-skeleton-filters {
  display: grid;
  gap: 0.65rem;
}

.offline-logs-skeleton-line {
  height: 2.75rem;
  border-radius: 0.65rem;
  background: linear-gradient(
    90deg,
    oklch(1 0 0 / 0.04) 0%,
    oklch(1 0 0 / 0.08) 50%,
    oklch(1 0 0 / 0.04) 100%
  );
  background-size: 200% 100%;
  animation: strox-logs-shimmer 0.9s ease-in-out infinite;
}

.offline-logs-skeleton-line.wide {
  height: 3.25rem;
}

.offline-logs-skeleton-line:nth-child(2) {
  animation-delay: 0.12s;
}

.offline-logs-skeleton-line:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes strox-logs-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.offline-logs-loading {
  padding: 24px;
  text-align: center;
  color: oklch(0.55 0.015 260);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .offline-logs-head {
    flex-direction: column;
  }

  .offline-logs-filter-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .offline-logs-cart-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .offline-logs-cart-actions {
    flex-direction: column;
  }

  .offline-logs-delivered {
    padding-left: 16px;
  }
}

.offline-scam-product-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offline-scam-product-preview {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid oklch(1 0 0 / 0.14);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.86 0.008 260);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.offline-scam-product-preview:hover {
  border-color: oklch(0.58 0.22 25 / 0.35);
  background: oklch(0.58 0.22 25 / 0.08);
}

.offline-scam-product-preview:active {
  transform: scale(0.97);
}

.offline-scam-preview-overlay {
  z-index: 600;
}

.offline-scam-preview-modal {
  max-width: 58rem;
  max-height: calc(100vh - 1.5rem);
  display: flex;
  flex-direction: column;
}

.offline-scam-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.offline-scam-preview-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.offline-scam-preview-head p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: oklch(0.62 0.01 260);
}

.offline-scam-preview-logo-mark .offline-scam-logo,
.offline-scam-preview-logo-mark .offline-scam-monogram {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.offline-scam-preview-body {
  overflow: auto;
}

.offline-scam-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
}

.offline-scam-preview-demo-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offline-scam-preview-device-screen {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
  min-height: 580px;
  position: relative;
}

.offline-scam-preview-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offline-scam-preview-step {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.03);
  color: oklch(0.72 0.01 260);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.offline-scam-preview-step:hover,
.offline-scam-preview-step.active {
  border-color: oklch(0.58 0.22 25 / 0.4);
  background: oklch(0.58 0.22 25 / 0.12);
  color: oklch(0.92 0.02 25);
}

.offline-scam-preview-side h3 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: oklch(0.82 0.01 260);
}

.offline-scam-preview-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.offline-scam-preview-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.06);
}

.offline-scam-preview-feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.58 0.18 145 / 0.15);
  color: oklch(0.68 0.18 145);
}

.offline-scam-preview-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.offline-scam-preview-feature-text strong {
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
}

.offline-scam-preview-feature-text span {
  font-size: 0.6875rem;
  color: oklch(0.62 0.01 260);
  line-height: 1.4;
}

.offline-scam-preview-actions {
  justify-content: flex-end;
}

/* ── Realistic phone preview frame ── */
.offline-scam-phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.offline-scam-phone-shell {
  border-radius: 34px;
  padding: 10px 10px 14px;
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 55%, #0b0b0c 100%);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.08),
    0 24px 48px oklch(0 0 0 / 0.55),
    inset 0 1px 0 oklch(1 0 0 / 0.12);
}

.offline-scam-phone-notch {
  width: 96px;
  height: 22px;
  margin: 0 auto 6px;
  border-radius: 0 0 14px 14px;
  background: #0b0b0c;
}

.offline-scam-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 6px;
  color: #f5f5f7;
  font-size: 0.6875rem;
  font-weight: 600;
}

.offline-scam-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.offline-scam-phone-browser {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.08);
  color: #d1d1d6;
  font-size: 0.625rem;
}

.offline-scam-phone-browser-lock {
  color: #34c759;
  display: flex;
}

.offline-scam-phone-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offline-scam-phone-content {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  min-height: 460px;
  max-height: 460px;
  overflow-y: auto;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.06);
}

.offline-scam-phone-home {
  width: 96px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.28);
}

/* ── Page layouts inside phone ── */
.offline-scam-demo-page {
  min-height: 100%;
  background: var(--demo-light, #f4f6f8);
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.offline-scam-demo-login-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 18px;
  background: linear-gradient(180deg, var(--demo-primary) 0%, var(--demo-dark) 100%);
}

.offline-scam-demo-login-hero.compact {
  padding: 16px;
}

.offline-scam-demo-login-hero .offline-scam-preview-demo-logo .offline-scam-logo,
.offline-scam-demo-login-hero .offline-scam-preview-demo-logo .offline-scam-monogram {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.2);
}

.offline-scam-demo-login-card {
  margin: -8px 12px 12px;
  padding: 18px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.08);
}

.offline-scam-demo-login-card h1 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.offline-scam-demo-login-lead {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: #5c5c5c;
}

.offline-scam-demo-field-label {
  display: block;
  margin: 0 0 4px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #333;
}

.offline-scam-demo-field {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 11px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fafafa;
  font-size: 0.75rem;
  color: #222;
  box-sizing: border-box;
}

.offline-scam-demo-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.6875rem;
  color: #444;
}

.offline-scam-demo-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--demo-primary);
}

.offline-scam-demo-btn {
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  background: var(--demo-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.12);
}

.offline-scam-demo-btn-ms {
  background: #0067b8;
}

.offline-scam-demo-btn-dark {
  background: #1a1a1a;
}

.offline-scam-demo-login-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  text-align: center;
}

.offline-scam-demo-login-links a,
.offline-scam-demo-text-link {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--demo-primary);
  text-decoration: none;
}

.offline-scam-demo-text-link {
  display: block;
  margin-top: 12px;
  text-align: center;
}

.offline-scam-demo-legal {
  padding: 14px 16px 18px;
  text-align: center;
}

.offline-scam-demo-fdic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.5625rem;
  color: #666;
}

.offline-scam-demo-fdic-badge {
  padding: 2px 6px;
  border: 1px solid #999;
  border-radius: 3px;
  font-weight: 800;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
}

.offline-scam-demo-legal p {
  margin: 0;
  font-size: 0.5625rem;
  color: #888;
}

.offline-scam-demo-stepper {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.offline-scam-demo-stepper span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  background: #ddd;
  color: #666;
}

.offline-scam-demo-stepper span.done {
  background: var(--demo-primary);
  color: #fff;
}

.offline-scam-demo-stepper span.active {
  background: #fff;
  color: var(--demo-primary);
  box-shadow: 0 0 0 2px var(--demo-primary);
}

.offline-scam-demo-shield {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--demo-light);
  color: var(--demo-primary);
}

.offline-scam-demo-otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.offline-scam-demo-otp-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #c8c8c8;
  background: #fafafa;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111;
}

.offline-scam-demo-otp-digit.filled {
  border-color: var(--demo-primary);
  background: #fff;
}

.offline-scam-demo-otp-digit.active {
  border-color: var(--demo-primary);
  box-shadow: 0 0 0 2px rgba(0, 103, 184, 0.2);
  background: #fff;
}

.offline-scam-demo-otp-timer {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  color: #666;
  text-align: center;
}

.offline-scam-demo-card-visual {
  margin: 12px 12px 0;
  padding: 16px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--demo-dark) 0%, var(--demo-primary) 100%);
  color: #fff;
  box-shadow: 0 8px 20px oklch(0 0 0 / 0.2);
}

.offline-scam-demo-card-chip {
  width: 34px;
  height: 26px;
  margin-bottom: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #e8d18a, #c9a84c);
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.15);
}

.offline-scam-demo-card-num {
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.offline-scam-demo-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.5625rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.offline-scam-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offline-scam-demo-section {
  margin: 12px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--demo-primary);
}

.offline-scam-demo-upload-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
}

.offline-scam-demo-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--demo-light);
  color: var(--demo-primary);
}

.offline-scam-demo-upload-icon.selfie {
  border-radius: 999px;
}

.offline-scam-demo-upload-card strong {
  display: block;
  font-size: 0.6875rem;
  margin-bottom: 2px;
}

.offline-scam-demo-upload-card span {
  font-size: 0.5625rem;
  color: #777;
}

.offline-scam-demo-upload-btn {
  padding: 6px 10px;
  border: 1px solid var(--demo-primary);
  border-radius: 6px;
  background: #fff;
  color: var(--demo-primary);
  font-size: 0.5625rem;
  font-weight: 700;
}

.offline-scam-demo-kyc-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 12px;
}

.offline-scam-demo-kyc-thumb {
  height: 54px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
}

.offline-scam-demo-kyc-thumb.id {
  background:
    linear-gradient(135deg, #d4e4f7 0%, #eef4fb 100%),
    linear-gradient(90deg, transparent 60%, oklch(0 0 0 / 0.04) 60%);
}

.offline-scam-demo-kyc-thumb.selfie {
  border-radius: 999px;
  background: radial-gradient(circle at 50% 35%, #f0d0b0, #c9a07a);
}

.offline-scam-demo-hook-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--demo-primary) 0%, var(--demo-dark) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.offline-scam-demo-hook-banner .offline-scam-preview-demo-logo .offline-scam-logo,
.offline-scam-demo-hook-banner .offline-scam-preview-demo-logo .offline-scam-monogram {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.offline-scam-demo-hook-body {
  padding: 16px 14px;
}

.offline-scam-demo-hook-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #fff4e5;
  border: 1px solid #ffd699;
  color: #9a5b00;
  font-size: 0.6875rem;
  font-weight: 600;
}

.offline-scam-demo-hook-amount {
  margin: 12px 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--demo-primary);
  text-align: center;
}

.offline-scam-demo-hook-list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 0.6875rem;
  color: #555;
  line-height: 1.6;
}

/* Microsoft 365 login clone */
.offline-scam-demo-ms-page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f2f2f2;
}

.offline-scam-demo-ms-card {
  margin: 28px 14px 0;
  padding: 22px 18px;
  background: #fff;
  box-shadow: 0 2px 6px oklch(0 0 0 / 0.08);
}

.offline-scam-demo-ms-card h1 {
  margin: 14px 0 4px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1b1b1b;
}

.offline-scam-demo-ms-sub {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: #1b1b1b;
}

.offline-scam-demo-ms-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.offline-scam-demo-ms-links a {
  font-size: 0.75rem;
  color: #0067b8;
  text-decoration: none;
}

.offline-scam-demo-ms-footer {
  margin-top: auto;
  padding: 20px 14px;
  display: flex;
  gap: 16px;
  font-size: 0.6875rem;
}

.offline-scam-demo-ms-footer a {
  color: #666;
  text-decoration: none;
}

/* Admin / export dark panels */
.offline-scam-demo-admin-page,
.offline-scam-demo-export-page {
  background: #12141a;
  color: #e8eaef;
  padding: 14px;
  min-height: 100%;
}

.offline-scam-demo-admin-top h1 {
  margin: 8px 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.offline-scam-demo-admin-top p {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  color: #9aa3b2;
}

.offline-scam-demo-admin-top .offline-scam-preview-demo-logo .offline-scam-logo,
.offline-scam-demo-admin-top .offline-scam-preview-demo-logo .offline-scam-monogram {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.offline-scam-demo-admin-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: oklch(0.58 0.18 145 / 0.15);
  color: #5dd68a;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.offline-scam-demo-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.offline-scam-demo-admin-stats div {
  padding: 10px 8px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.06);
  text-align: center;
}

.offline-scam-demo-admin-stats span {
  display: block;
  font-size: 0.5625rem;
  color: #9aa3b2;
  margin-bottom: 4px;
}

.offline-scam-demo-admin-stats strong {
  font-size: 0.75rem;
}

.offline-scam-demo-admin-stats strong.on {
  color: #5dd68a;
}

.offline-scam-demo-admin-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.offline-scam-demo-admin-toolbar button {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: transparent;
  color: #9aa3b2;
  font-size: 0.5625rem;
  font-weight: 700;
}

.offline-scam-demo-admin-toolbar button.active {
  background: oklch(1 0 0 / 0.1);
  color: #fff;
  border-color: oklch(1 0 0 / 0.15);
}

.offline-scam-demo-admin-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.offline-scam-demo-admin-row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.6fr 0.35fr;
  gap: 6px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  background: oklch(1 0 0 / 0.04);
  font-size: 0.5625rem;
}

.offline-scam-demo-admin-row.head {
  background: transparent;
  color: #9aa3b2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offline-scam-demo-admin-row em {
  font-style: normal;
  color: #7eb8ff;
  font-weight: 700;
}

.offline-scam-demo-admin-row button {
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.06);
  color: #ff8f8f;
  font-size: 0.5rem;
  font-weight: 700;
}

.offline-scam-demo-admin-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-scam-demo-admin-toggles label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: oklch(1 0 0 / 0.04);
  font-size: 0.6875rem;
}

.offline-scam-demo-toggle {
  padding: 3px 8px;
  border-radius: 999px;
  background: #444;
  color: #ccc;
  font-size: 0.5625rem;
  font-weight: 800;
}

.offline-scam-demo-toggle.on {
  background: oklch(0.58 0.18 145 / 0.25);
  color: #5dd68a;
}

.offline-scam-demo-export-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.offline-scam-demo-export-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.06);
}

.offline-scam-demo-export-item strong {
  display: block;
  font-size: 0.6875rem;
  margin-bottom: 2px;
}

.offline-scam-demo-export-item span {
  font-size: 0.5625rem;
  color: #9aa3b2;
}

.offline-scam-demo-export-item em {
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  color: #5dd68a;
}

.offline-scam-demo-cookie-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 14px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}

.offline-scam-demo-cookie-toast-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.offline-scam-demo-cookie-toast strong {
  display: block;
  font-size: 0.6875rem;
  margin-bottom: 2px;
}

.offline-scam-demo-cookie-toast span {
  font-size: 0.5625rem;
  opacity: 0.85;
}

.offline-scam-demo-cookies-page {
  min-height: 100%;
  background: #f2f2f2;
  padding: 14px;
}

.offline-scam-demo-cookies-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.offline-scam-demo-cookies-head h1 {
  margin: 0 0 2px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111;
}

.offline-scam-demo-cookies-head p {
  margin: 0;
  font-size: 0.625rem;
  color: #666;
}

.offline-scam-demo-cookies-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  color: #0d47a1;
  font-size: 0.625rem;
  line-height: 1.45;
}

.offline-scam-demo-cookies-banner strong {
  display: block;
  font-size: 0.6875rem;
  margin-bottom: 1px;
}

.offline-scam-demo-cookies-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.offline-scam-demo-cookies-meta div {
  padding: 8px 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.offline-scam-demo-cookies-meta span {
  display: block;
  font-size: 0.5rem;
  color: #888;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offline-scam-demo-cookies-meta strong {
  font-size: 0.5625rem;
  color: #222;
  word-break: break-all;
}

.offline-scam-demo-cookies-meta strong.on {
  color: #2e7d32;
}

.offline-scam-demo-cookies-list {
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.offline-scam-demo-cookies-list-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px 10px;
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

.offline-scam-demo-cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: start;
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.5625rem;
}

.offline-scam-demo-cookie-row:last-child {
  border-bottom: none;
}

.offline-scam-demo-cookie-main strong {
  display: block;
  font-size: 0.625rem;
  color: #0067b8;
  margin-bottom: 2px;
}

.offline-scam-demo-cookie-main span {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.5rem;
  color: #666;
  word-break: break-all;
}

.offline-scam-demo-cookie-row em {
  font-style: normal;
  font-size: 0.5rem;
  color: #999;
  text-align: right;
  max-width: 72px;
  word-break: break-all;
}

@media (max-width: 768px) {
  .offline-scam-preview-layout {
    grid-template-columns: 1fr;
  }

  .offline-scam-preview-features {
    max-height: none;
  }

  .offline-scam-list-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
