:root {
  --bg-deep: #0a0a0c;
  --bg: #12100e;
  --card: rgba(22, 20, 18, 0.92);
  --text: #f3efe6;
  --muted: rgba(243, 239, 230, 0.62);
  --blue: #ffb74d;
  --blue-dark: #ff9800;
  --pink: #ff6b9d;
  --orange: #ff8a00;
  --ember: #ff5722;
  --gold: #ffb74d;
  --border: rgba(255, 140, 60, 0.22);
  --glow: rgba(255, 152, 0, 0.22);
  --radius: 16px;
  --nav-h: 62px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
}

.dapp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -15%, rgba(255, 107, 44, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 15%, rgba(255, 152, 0, 0.1), transparent),
    radial-gradient(ellipse 45% 35% at 0% 85%, rgba(255, 87, 34, 0.08), transparent),
    linear-gradient(180deg, #0a0a0c 0%, #12100e 50%, #0a0a0c 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.dapp-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.dapp-fx-ember {
  opacity: 0.45;
}

.dapp-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.dapp-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 12px);
}

.dapp-header {
  background: linear-gradient(135deg, rgba(20, 18, 16, 0.96) 0%, rgba(40, 28, 18, 0.92) 50%, rgba(18, 14, 10, 0.95) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 12px 16px 16px;
  border-radius: 0 0 20px 20px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 0;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-picker {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 152, 0, 0.08);
  backdrop-filter: blur(8px);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lang-trigger:hover,
.lang-picker.is-open .lang-trigger {
  background: rgba(255, 152, 0, 0.16);
  border-color: rgba(255, 180, 80, 0.45);
}

.lang-trigger-label {
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-chevron {
  opacity: 0.85;
  transition: transform 0.2s;
}

.lang-picker.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 168px;
  max-height: min(280px, 50vh);
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: rgba(18, 16, 14, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  margin: 0;
}

.lang-menu button {
  width: 100%;
  display: block;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-menu button:hover {
  background: rgba(255, 152, 0, 0.12);
}

.lang-menu button.is-active {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.18), rgba(255, 87, 34, 0.12));
  color: var(--gold);
  font-weight: 600;
}

.wallet-chip {
  font-size: 0.72rem;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background 0.2s;
}

.wallet-chip:hover {
  background: rgba(255, 152, 0, 0.18);
}

.brand-mini img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.view {
  display: none;
  padding: 16px;
}

.view.active {
  display: block;
}

.hero-card {
  text-align: center;
  padding: 28px 16px 20px;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-logo img {
  width: 64px;
  height: 64px;
}

.hero-logo h1 {
  margin: 0;
  font-size: 2.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold);
}

.hero-lead {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0 auto 22px;
}

.official-mint {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 auto 14px;
  max-width: 340px;
  line-height: 1.45;
  word-break: break-all;
}

.official-mint a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mint-copy {
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.68rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 152, 0, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a50, #ff5722, #e64a19);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.38);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.pool-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}

.chart-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.chart-card-head .chart-title {
  margin: 0;
}

.chart-intervals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.chart-interval-btn {
  border: 1px solid rgba(255, 152, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chart-interval-btn:hover {
  color: var(--gold);
  border-color: rgba(255, 152, 0, 0.65);
}

.chart-interval-btn.active {
  background: rgba(255, 152, 0, 0.18);
  color: var(--gold);
  border-color: var(--gold);
}

.chart-card .market-lw-chart {
  width: 100%;
  height: 300px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.chart-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.chart-meta--corner {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1.35;
  max-width: 52%;
  flex-shrink: 0;
}

.mine-orbit-wrap {
  position: relative;
  padding: 12px 0 8px;
  text-align: center;
}

.round-countdown-label {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.token-orbit--compact {
  position: relative;
  width: min(220px, 70vw);
  margin: 0 auto;
  aspect-ratio: 1;
  perspective: 800px;
}

.orbit-layer {
  position: absolute;
  inset: 0;
  animation: orbit-spin 22s linear infinite;
  transform-style: preserve-3d;
}

.orbit-layer--1 { inset: 0; animation-duration: 26s; }
.orbit-layer--2 { inset: 7%; animation-duration: 19s; animation-direction: reverse; }
.orbit-layer--3 { inset: 14%; animation-duration: 14s; }
.orbit-layer--4 { inset: 20%; animation-duration: 11s; animation-direction: reverse; opacity: 0.85; }

.orbit-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 200, 120, 0.9);
  border-right-color: rgba(255, 140, 60, 0.35);
  border-bottom-color: rgba(255, 120, 40, 0.12);
  border-left-color: rgba(255, 180, 80, 0.45);
  box-shadow:
    0 0 20px rgba(255, 152, 0, 0.1),
    inset 0 0 16px rgba(255, 152, 0, 0.06);
}

.orbit-ring--thin { border-width: 1px; }

.orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e1, #ffb74d 55%, #ff6f00);
  box-shadow: 0 0 12px rgba(255, 152, 0, 0.8);
}

.orbit-dot--sm {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  top: -3px;
}

.orbit-layer--2 .orbit-ring { transform: rotateX(58deg); }
.orbit-layer--3 .orbit-ring { transform: rotateX(52deg) rotateZ(28deg); }
.orbit-layer--4 .orbit-ring { transform: rotateX(48deg) rotateZ(-18deg); }

@keyframes orbit-spin {
  to { transform: rotateZ(360deg); }
}

.token-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff9c4, #ff9800 45%, #ff5722 90%);
  box-shadow:
    0 0 36px var(--glow),
    0 0 56px rgba(255, 120, 40, 0.2),
    var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  overflow: hidden;
}

.token-core-inner {
  width: 68%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  pointer-events: none;
  user-select: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-layer { animation: none; }
  .token-core { animation: none; }
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.35rem;
}

.countdown-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 10px;
  min-height: 1.2em;
}

.countdown span {
  min-width: 42px;
  padding: 6px 8px;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.btn-mine {
  border: none;
  border-radius: 999px;
  padding: 12px 36px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8a50, #ff5722, #e64a19);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.35);
}

.btn-mine.btn-small {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  margin-top: 8px;
}

.btn-secondary {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  font-size: 0.88rem;
}

.btn-secondary:hover {
  background: rgba(255, 152, 0, 0.12);
}

.btn-mine.btn-lucky {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 55%, #ec4899 100%);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.35);
}

.lucky-activation-line {
  margin: 10px 8px 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fbbf24;
  text-align: center;
}

.btn-mine:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.est-line {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.est-line strong {
  color: var(--orange);
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 140, 60, 0.15);
  font-size: 0.88rem;
}

.tier-row:last-child {
  border-bottom: none;
}

.tier-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-bar {
  width: 4px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff7eb3, #ff8a00);
}

.tier-rate {
  font-weight: 700;
  color: var(--gold);
}

.pool-grid {
  display: grid;
  gap: 12px;
}

.pool-card h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.pool-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 0.82rem;
}

.pool-card dt {
  color: var(--muted);
}

.pool-card dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.pool-card dd.green {
  color: #16a34a;
}

.pool-card dd.blue {
  color: var(--gold);
}

.wallet-actions h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.wa-line {
  margin: 4px 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.wa-line strong {
  color: var(--text);
}

.wallet-actions .wa-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 140, 60, 0.12);
}

.wallet-actions .wa-block:first-of-type {
  margin-top: 10px;
}

.wallet-actions .wa-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

.wallet-actions .wa-input {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.65);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.wallet-actions .wa-input::placeholder {
  color: rgba(243, 239, 230, 0.35);
}

.wallet-actions .wa-input:focus {
  outline: none;
  border-color: rgba(255, 152, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.15);
}

.wallet-actions .wa-input:disabled {
  opacity: 0.5;
}

.wallet-actions #wallet-connect-hint {
  margin: 0 0 4px;
}

.wa-hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 12px 0 0;
}

.wallet-actions .wa-estimate {
  margin: 8px 0 4px;
  min-height: 1.2em;
  font-size: 0.8rem;
  color: var(--gold);
}

.wallet-actions .btn-mine.btn-small,
.wallet-actions .btn-secondary.btn-small {
  margin-top: 10px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.stat-item {
  background: var(--card);
  border-radius: 14px;
  padding: 12px 6px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.1);
}

.stat-item .label {
  font-size: 0.72rem;
  color: var(--muted);
}

.stat-item .val {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 4px;
}

.invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 140, 60, 0.35), rgba(255, 87, 34, 0.25));
  color: #fff;
  border-radius: var(--radius);
  padding: 16px;
  margin: 14px 0;
}

.invite-banner button {
  border: none;
  background: rgba(18, 16, 14, 0.95);
  color: var(--gold);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.prose {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(14, 12, 10, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  z-index: 50;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted);
}

.bottom-nav a.active {
  color: var(--gold);
  font-weight: 600;
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 20px);
  transform: translateX(-50%);
  background: rgba(18, 16, 14, 0.94);
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px 14px;
  max-width: 340px;
  width: 100%;
  text-align: center;
}

.modal p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.modal #modal-success-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.modal-msg-line {
  display: block;
  width: 100%;
}

.modal-sig {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--text, #e8e6e3);
  opacity: 0.85;
}

.modal-tx-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  max-width: 100%;
}

.modal button {
  margin-top: 14px;
  border: none;
  background: transparent;
  color: #e11d48;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.chain-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.chain-switch button {
  flex: 1;
  border: 1px solid var(--border);
  background: rgba(18, 16, 14, 0.6);
  border-radius: 10px;
  color: var(--text);
  padding: 8px;
  font-weight: 600;
  cursor: pointer;
}

.chain-switch button.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 152, 0, 0.12);
}

.btn-mine:disabled,
.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.promotion-card .promotion-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

.promotion-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.promotion-title {
  margin: 0;
  font-size: 1.15rem;
}

.promotion-total-earned {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.promotion-sub,
.promotion-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.promotion-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.promotion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.promotion-table th,
.promotion-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 140, 60, 0.12);
}

.promotion-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}

.promotion-rate {
  color: var(--gold);
  font-weight: 600;
}

.promotion-footnote {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.ledger-wrap {
  font-size: 0.8rem;
  max-height: 220px;
  overflow-y: auto;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 140, 60, 0.1);
}


.cs-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 72px);
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ff9800, #ff5722);
  color: #1a1208;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.45);
  border: 1px solid rgba(255, 200, 120, 0.35);
}

.cs-fab[hidden] {
  display: none !important;
}

@media (min-width: 520px) {
  .dapp-shell {
    max-width: 420px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .cs-fab {
    right: calc(50% - 210px + 16px);
  }
}
