/* CREPE on-site dApp — trade, wallet, airdrop */

:root {
  --crepe-yellow: #fdda5c;
  --crepe-blue: #44c2ef;
  --crepe-ink: #1a1f2e;
  --crepe-muted: #5c6478;
  --crepe-panel: #ffffff;
  --crepe-field: #f4f6fb;
  --crepe-line: rgba(26, 31, 46, 0.08);
  --crepe-success: #1f9d63;
  --crepe-danger: #d64545;
  --crepe-radius: 20px;
  --crepe-shadow: 0 18px 50px rgba(26, 31, 46, 0.12);
}

/* —— Header connect —— */
.crepe-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  margin-left: 8px;
}

/* Original theme parks SNS at position:absolute;right — overlaps Connect */
.l-header-nav .navi-sns.pc {
  position: static !important;
  right: auto !important;
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.connect-button {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--crepe-ink);
  background: linear-gradient(180deg, #ffe57a 0%, var(--crepe-yellow) 100%);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(200, 150, 20, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.connect-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.connect-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(200, 150, 20, 0.35);
}

.connect-button.is-connected {
  background: linear-gradient(180deg, #6ed4f7 0%, var(--crepe-blue) 100%);
  color: #fff;
  box-shadow: 0 4px 0 rgba(20, 100, 140, 0.35);
}

.l-header-nav {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}

/* —— Hero CTAs —— */
.p-index__visualLink.crepe-hero-ctas,
.crepe-hero-ctas {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: auto !important;
  margin: 20px auto 16px !important;
}

.p-index__visualLink a[href^="#"],
.p-index__visualLink .crepe-cta {
  text-decoration: none;
}

/* Kill original pancake :after icons that break button heights */
.p-index__visualLink a:after,
.crepe-hero-ctas a:after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.crepe-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 52px;
  min-height: 52px;
  min-width: 150px;
  padding: 0 22px !important;
  margin: 0 !important;
  border-radius: 14px;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1;
  color: var(--crepe-ink);
  background: #fff;
  border: 2px solid rgba(26, 31, 46, 0.12);
  box-shadow: 0 8px 20px rgba(26, 31, 46, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.crepe-cta:hover {
  transform: translateY(-2px);
  border-color: var(--crepe-blue);
}

.crepe-cta--primary {
  background: linear-gradient(180deg, #ffe57a, var(--crepe-yellow));
  border-color: transparent;
}

.crepe-cta--ghost {
  background: #fff;
}

/* Same size when Connect is also a hero CTA */
.crepe-hero-ctas .connect-button.crepe-cta {
  height: 52px;
  min-height: 52px;
  padding: 0 22px !important;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(26, 31, 46, 0.08);
  background: #fff;
  border: 2px solid rgba(26, 31, 46, 0.12);
  font-size: 15px !important;
}

/* —— CMC authenticity + contract verify —— */
.crepe-verify {
  width: min(720px, 92vw);
  margin: 0 auto 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--crepe-line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(26, 31, 46, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crepe-verify__auth {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, #eef2ff 0%, #f7f9ff 55%, #fff 100%);
  border: 1px solid rgba(56, 97, 251, 0.22);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.crepe-verify__auth:hover {
  border-color: #3861FB;
  box-shadow: 0 6px 18px rgba(56, 97, 251, 0.14);
  transform: translateY(-1px);
}

.crepe-verify__auth-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(56, 97, 251, 0.2);
  box-shadow: 0 2px 8px rgba(56, 97, 251, 0.12);
}

.crepe-verify__auth-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.crepe-verify__auth-copy strong {
  font-size: 13px;
  font-weight: 800;
  color: #171924;
  letter-spacing: -0.01em;
}

.crepe-verify__auth-copy span {
  font-size: 12px;
  line-height: 1.35;
  color: #5c6478;
}

.crepe-verify__auth-copy em {
  font-style: normal;
  font-weight: 700;
  color: #3861FB;
}

.crepe-verify__auth-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #3861FB;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.crepe-verify__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}

.crepe-verify__ca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 10px;
  background: var(--crepe-field);
  border-radius: 999px;
  border: 1px solid var(--crepe-line);
}

.crepe-verify__ca-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--crepe-muted);
  width: auto;
}

.crepe-verify__ca code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--crepe-ink);
  word-break: normal;
}

.crepe-verify__copy {
  appearance: none;
  border: none;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: var(--crepe-ink);
  border: 1px solid rgba(26, 31, 46, 0.12);
  line-height: 1;
}

.crepe-verify__copy:hover {
  border-color: var(--crepe-blue);
  color: #0b6f93;
}

.crepe-verify__link {
  font-size: 12px;
  font-weight: 700;
  color: #0b6f93;
  text-decoration: none;
  padding: 6px 4px;
}

.crepe-verify__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero CTAs: equal width, no third broken connect slot */
.crepe-hero-ctas .crepe-cta {
  flex: 0 1 200px;
}

/* —— Trade section —— */
.crepe-trade {
  position: relative;
  z-index: 2;
  width: min(1120px, 94vw);
  margin: 0 auto 48px;
  padding: 28px 22px 32px;
  background:
    radial-gradient(1200px 400px at 10% -20%, rgba(68, 194, 239, 0.18), transparent 55%),
    radial-gradient(900px 360px at 100% 0%, rgba(253, 218, 92, 0.28), transparent 50%),
    var(--crepe-panel);
  border-radius: 28px;
  box-shadow: var(--crepe-shadow);
  border: 1px solid var(--crepe-line);
}

.crepe-trade__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.crepe-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b6f93;
}

.crepe-trade__title {
  margin: 0;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--crepe-ink);
  line-height: 1.15;
}

.crepe-trade__sub {
  margin: 6px 0 0;
  color: var(--crepe-muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

.crepe-trade__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crepe-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--crepe-field);
  color: var(--crepe-muted);
  font-size: 12px;
  font-weight: 600;
}

.crepe-chip--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crepe-success);
  box-shadow: 0 0 0 3px rgba(31, 157, 99, 0.2);
}

.crepe-trade__grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .crepe-trade__grid {
    grid-template-columns: 1fr;
  }
}

/* Swap card — Uniswap / 1inch inspired */
.crepe-swap {
  position: relative;
  background: #fff;
  border: 1px solid var(--crepe-line);
  border-radius: var(--crepe-radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(26, 31, 46, 0.06);
}

.crepe-swap__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  background: var(--crepe-field);
  border-radius: 12px;
}

.crepe-swap__modes button {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  color: var(--crepe-muted);
}

.crepe-swap__modes button.is-active {
  background: #fff;
  color: var(--crepe-ink);
  box-shadow: 0 2px 8px rgba(26, 31, 46, 0.08);
}

.crepe-swap__modes button[data-swap-mode="buy"].is-active {
  color: #0b6b3a;
  background: #e8f8ef;
}

.crepe-swap__modes button[data-swap-mode="sell"].is-active {
  color: #9b1c1c;
  background: #fdecec;
}

.crepe-field {
  background: var(--crepe-field);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.crepe-field:focus-within {
  border-color: rgba(68, 194, 239, 0.55);
  background: #f8fbff;
}

.crepe-field__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--crepe-muted);
  font-weight: 600;
}

.crepe-field__main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crepe-field__main input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
  color: var(--crepe-ink);
  outline: none;
  font-variant-numeric: tabular-nums;
}

.crepe-field__main input::placeholder {
  color: #b0b7c6;
}

.crepe-token-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--crepe-line);
  font-weight: 800;
  font-size: 14px;
  color: var(--crepe-ink);
  white-space: nowrap;
}

.crepe-token-pill span.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.crepe-token-pill .dot--bnb {
  background: #f3ba2f;
  color: #fff;
}

.crepe-token-pill .dot--crepe {
  background: var(--crepe-blue);
  color: #fff;
}

.crepe-max {
  appearance: none;
  border: none;
  background: rgba(68, 194, 239, 0.15);
  color: #0b6f93;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.crepe-flip-wrap {
  display: flex;
  justify-content: center;
  margin: -6px 0;
  position: relative;
  z-index: 1;
}

.crepe-flip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 4px solid #fff;
  background: var(--crepe-field);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--crepe-ink);
  font-size: 16px;
  transition: transform 0.2s ease, background 0.15s ease;
}

.crepe-flip:hover {
  background: var(--crepe-yellow);
  transform: rotate(180deg);
}

.crepe-swap__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 14px 2px 16px;
  font-size: 12px;
  color: var(--crepe-muted);
}

.crepe-swap__meta strong {
  color: var(--crepe-ink);
  font-weight: 700;
}

.crepe-slip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crepe-slip input {
  width: 52px;
  border: 1px solid var(--crepe-line);
  border-radius: 8px;
  padding: 4px 6px;
  font-weight: 700;
  text-align: center;
}

.crepe-swap__action {
  width: 100%;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 16px;
  color: var(--crepe-ink);
  background: linear-gradient(180deg, #ffe57a, var(--crepe-yellow));
  box-shadow: 0 6px 0 rgba(200, 150, 20, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.crepe-swap__action:hover:not(:disabled) {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.crepe-swap__action:disabled {
  opacity: 0.65;
  cursor: wait;
}

.crepe-swap__status {
  min-height: 1.25em;
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--crepe-muted);
}

.crepe-swap__status[data-type="error"] {
  color: var(--crepe-danger);
}

.crepe-swap__status[data-type="success"] {
  color: var(--crepe-success);
}

.crepe-swap__tx {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--crepe-blue);
}

.crepe-swap__gate {
  position: absolute;
  inset: 0;
  border-radius: var(--crepe-radius);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  z-index: 2;
}

.crepe-swap__gate h3 {
  margin: 0;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 1.15rem;
  color: var(--crepe-ink);
}

.crepe-swap__gate p {
  margin: 0;
  color: var(--crepe-muted);
  font-size: 0.9rem;
  max-width: 28ch;
}

/* Chart panel */
.crepe-chart {
  background: #fff;
  border: 1px solid var(--crepe-line);
  border-radius: var(--crepe-radius);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(26, 31, 46, 0.06);
}

.crepe-chart__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--crepe-line);
  background: linear-gradient(90deg, rgba(253, 218, 92, 0.22), rgba(68, 194, 239, 0.1));
}

.crepe-chart__bar strong {
  display: block;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 14px;
  color: var(--crepe-ink);
}

.crepe-chart__hint {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--crepe-muted);
  font-weight: 600;
}

.crepe-chart__sources {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  border: 1px solid var(--crepe-line);
}

.crepe-chart__sources button {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--crepe-muted);
}

.crepe-chart__sources button.is-active {
  background: var(--crepe-ink);
  color: #fff;
}

.crepe-chart iframe {
  flex: 1;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: #f7f8fb;
}

.crepe-trade__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--crepe-muted);
}

.crepe-trade__foot code {
  font-size: 11px;
  background: var(--crepe-field);
  padding: 4px 8px;
  border-radius: 6px;
  word-break: break-all;
}

.crepe-copy {
  appearance: none;
  border: 1px solid var(--crepe-line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  color: var(--crepe-ink);
}

/* Portal deadline + steps / tabs */
.crepe-deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 90, 60, 0.1);
  border: 1px solid rgba(255, 90, 60, 0.35);
  font-size: 14px;
  color: var(--crepe-ink);
}
.crepe-deadline__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c23b1a;
}
.crepe-deadline strong {
  font-size: 15px;
  font-weight: 800;
}
.crepe-deadline__note {
  font-size: 12px;
  font-weight: 600;
  color: var(--crepe-muted);
}
.crepe-portal-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.crepe-portal-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--crepe-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--crepe-muted);
}
.crepe-portal-steps li span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crepe-field);
  font-size: 11px;
  font-weight: 800;
}
.crepe-portal-steps li.is-active {
  color: var(--crepe-ink);
  border-color: rgba(68, 194, 239, 0.45);
  background: rgba(68, 194, 239, 0.1);
}
.crepe-portal-steps li.is-active span {
  background: var(--crepe-blue);
  color: #fff;
}
.crepe-portal-steps li.is-done {
  color: #0b6b3a;
  border-color: rgba(31, 157, 99, 0.35);
}
.crepe-portal-steps li.is-done span {
  background: var(--crepe-success);
  color: #fff;
}
.crepe-portal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.crepe-portal-tab {
  appearance: none;
  border: 1.5px solid rgba(26, 31, 46, 0.12);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 13px;
  cursor: pointer;
  color: var(--crepe-muted);
}
.crepe-portal-tab.is-active {
  background: linear-gradient(180deg, #ffe57a, var(--crepe-yellow));
  color: var(--crepe-ink);
  border-color: transparent;
}
.crepe-portal-footnote {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--crepe-muted);
  text-align: center;
}
#crepe-portal-headline {
  font-size: 2.4rem;
}

/* —— Portal / rewards event (separate section) —— */
.crepe-airdrop-event {
  width: min(1120px, 94vw);
  margin: 0 auto 48px;
  padding: 0;
}

.crepe-airdrop-event--hero {
  margin-top: 12px;
  margin-bottom: 56px;
}

.crepe-airdrop-event--hero .crepe-airdrop-event__inner {
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(253, 218, 92, 0.45), transparent 55%),
    radial-gradient(700px 280px at 100% 100%, rgba(68, 194, 239, 0.3), transparent 50%),
    #fff;
  border: 2px solid rgba(253, 218, 92, 0.5);
  box-shadow: 0 8px 40px rgba(253, 218, 92, 0.15), var(--crepe-shadow);
}

.crepe-airdrop-event__amount-range {
  font-size: 0.5em;
  color: var(--crepe-muted);
  font-weight: 400;
  vertical-align: baseline;
  margin-left: 2px;
}

.crepe-airdrop-event__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px 24px;
  border-radius: 28px;
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(253, 218, 92, 0.35), transparent 55%),
    radial-gradient(700px 280px at 100% 100%, rgba(68, 194, 239, 0.2), transparent 50%),
    #fff;
  border: 1px solid var(--crepe-line);
  box-shadow: var(--crepe-shadow);
}

@media (max-width: 860px) {
  .crepe-airdrop-event__inner {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }
}

.crepe-airdrop-event__title {
  margin: 0;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--crepe-ink);
  line-height: 1.1;
}

.crepe-airdrop-event__sub {
  margin: 10px 0 0;
  color: var(--crepe-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 48ch;
}

.crepe-airdrop-event__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.crepe-airdrop-event__list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--crepe-line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--crepe-ink);
}

.crepe-airdrop-event__list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--crepe-blue);
  box-shadow: 0 0 0 4px rgba(68, 194, 239, 0.18);
}

.crepe-airdrop-event__card {
  background: #fff;
  border: 1px solid var(--crepe-line);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 12px 32px rgba(26, 31, 46, 0.08);
  display: flex;
  flex-direction: column;
}

.crepe-airdrop-event__card-top {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--crepe-line);
}

.crepe-airdrop-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--crepe-field);
  color: var(--crepe-muted);
}

.crepe-airdrop-badge[data-state="eligible"] {
  background: rgba(31, 157, 99, 0.14);
  color: #0b6b3a;
}

.crepe-airdrop-badge[data-state="ineligible"],
.crepe-airdrop-badge[data-state="need-wallet"] {
  background: rgba(214, 69, 69, 0.12);
  color: #9b1c1c;
}

.crepe-airdrop-badge[data-state="checking"],
.crepe-airdrop-badge[data-state="ready"] {
  background: rgba(68, 194, 239, 0.16);
  color: #0b6f93;
}

.crepe-airdrop-event__amount {
  margin: 14px 0 0;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--crepe-ink);
}

.crepe-airdrop-event__amount span {
  color: #0b6f93;
}

.crepe-airdrop-event__amount-label {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--crepe-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crepe-airdrop-result {
  margin: 14px 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--crepe-field);
  min-height: 64px;
}

.crepe-airdrop-result[data-state="eligible"] {
  background: #e8f8ef;
}

.crepe-airdrop-result[data-state="ineligible"] {
  background: #fdecec;
}

#crepe-airdrop-status {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--crepe-ink);
  line-height: 1.45;
}

.crepe-airdrop-event__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.crepe-airdrop-event__actions .connect-button,
.crepe-btn-secondary,
.crepe-btn-claim {
  width: 100%;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 14px;
}

.crepe-btn-secondary {
  background: #fff;
  color: var(--crepe-ink);
  border: 1.5px solid rgba(26, 31, 46, 0.14);
}

.crepe-btn-secondary:hover {
  border-color: var(--crepe-blue);
}

.crepe-btn-claim {
  background: linear-gradient(180deg, #6ed4f7, var(--crepe-blue));
  color: #fff;
  box-shadow: 0 5px 0 rgba(20, 100, 140, 0.28);
}

.crepe-btn-claim:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Desktop header connect placement */
@media (min-width: 769px) {
  .crepe-header-actions {
    margin-left: 12px;
  }

  .crepe-header-actions--mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .crepe-header-actions--desktop {
    display: none;
  }

  .crepe-header-actions--mobile {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1200;
  }

  .crepe-header-actions--mobile .connect-button {
    font-size: 12px;
    padding: 9px 12px;
  }

  .crepe-trade {
    padding: 20px 14px 24px;
    margin-bottom: 28px;
    border-radius: 22px;
  }

  .crepe-field__main input {
    font-size: 22px;
  }

  .crepe-chart,
  .crepe-chart iframe {
    min-height: 380px;
  }

  .crepe-airdrop-event {
    margin-bottom: 28px;
  }

  .crepe-chart__sources {
    width: 100%;
  }

  .crepe-chart__sources button {
    flex: 1;
  }
}
