/* Airdrop and closed-swap pages. One light theme, shared with the WOW public header. */
:root {
  color-scheme: light;
  --ad-ink: #172b40;
  --ad-muted: #617788;
  --ad-faint: #7b909d;
  --ad-neon: #238f71;
  --ad-neon-2: #398fa5;
  --ad-violet: #6d78a0;
  --ad-line: #dcebe7;
  --ad-line-soft: #e8f0ee;
  --ad-glow: rgba(85, 180, 150, .12);
  --ad-surface: #fff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ad-ink);
  background: #f6fbf9;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(145deg, #f7fcfa, #f0f8fb); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid #2466d8; outline-offset: 3px; }
[hidden] { display: none !important; }
.ad-shell { position: relative; z-index: 1; max-width: 1184px; margin: auto; padding: 28px 24px 0; }
.ad-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 13px; }
.ad-crumb-title { color: var(--ad-muted); font-weight: 700; }
.ad-network { padding: 6px 11px; border: 1px solid var(--ad-line); border-radius: 30px; color: #407666; background: #edf8f2; font-size: 11px; }
.ad-hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; min-height: 340px; overflow: hidden; padding: 42px 44px; border: 1px solid var(--ad-line); border-radius: 24px; background: radial-gradient(circle at 80% 20%, #cdeeee95, transparent 58%), linear-gradient(135deg, #fff, #eefaf4); box-shadow: 0 14px 40px #245c4310; }
.ad-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ad-neon); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.ad-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #5ac298; }
.ad-hero-copy, .ad-hero-art { position: relative; z-index: 1; min-width: 0; }
.ad-hero h1 { margin: 18px 0 16px; color: var(--ad-ink); font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.25; letter-spacing: -1px; }
.ad-hero h1 em { color: #399c89; font-style: normal; }
.ad-hero-copy > p { margin: 0; color: var(--ad-muted); font-size: 14px; line-height: 1.85; }
.ad-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ad-hero-tags span { padding: 6px 10px; border: 1px solid #daebe4; border-radius: 25px; background: #ffffffb0; color: #407666; font-size: 11px; }
.ad-hero-art { display: grid; place-items: center; }
.ad-coin { z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 188px; height: 188px; border: 8px solid #98daca; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #f3ffe4, #abe3cf 60%, #81c8cf); box-shadow: 8px 10px #67bfa526, 14px 22px 34px #2a826326, inset 0 0 0 2px #ffffff90; transform: rotate(-10deg); }
.ad-coin > span { font-size: 11px; font-weight: 700; color: #35755e; }
.ad-coin > span:first-child { font-size: 13px; letter-spacing: 4px; }
.ad-coin > strong { font-size: 76px; font-weight: 800; line-height: 1.1; letter-spacing: -5px; color: #226e59; }
.ad-coin small { font-size: 42px; }
.ad-orbit { position: absolute; width: 300px; height: 210px; border: 1px dashed #74bfa55c; border-radius: 50%; transform: rotate(-30deg); }
.ad-orbit-two { width: 270px; height: 240px; transform: rotate(40deg); border-color: #70b9cf4d; }
.ad-star { position: absolute; color: #74bba4; }
.ad-star-one { top: 14%; left: 20%; font-size: 26px; }
.ad-star-two { top: 24%; right: 5%; font-size: 18px; }
.ad-art-note { position: absolute; bottom: -10px; padding: 9px 14px; border: 1px solid var(--ad-line); border-radius: 12px; background: #ffffffd9; color: #4b7b6d; font-size: 11px; }
.ad-art-note b { margin-left: 10px; }
.ad-status { margin: 18px 0; padding: 12px 16px; border: 1px solid #dcebe7; border-radius: 12px; background: #eff8f4; color: #476c5e; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.ad-status.is-error { border-color: #f0d3cf; background: #fff5f2; color: #a55241; }
.ad-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.ad-overview article { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 20px; border: 1px solid var(--ad-line); border-radius: 16px; background: #fff; }
.ad-overview article > span { color: var(--ad-muted); font-size: 12px; }
.ad-overview strong { color: var(--ad-ink); font-size: 27px; line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ad-overview small { color: var(--ad-faint); font-size: 11px; }
.ad-overview .ad-stat-highlight { border-color: #a3d8c1; background: linear-gradient(135deg, #f3fff1, #edf9f8); }
.ad-stat-highlight strong { color: #2b906b; }
.ad-main-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 24px; margin-bottom: 24px; }
.ad-panel { min-width: 0; padding: 28px; border: 1px solid var(--ad-line); border-radius: 20px; background: var(--ad-surface); box-shadow: 0 8px 26px #245c4308; }
.ad-panel h2 { margin: 8px 0 0; color: var(--ad-ink); font-size: 22px; font-weight: 800; line-height: 1.4; }
.ad-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ad-text-button { flex-shrink: 0; padding: 8px 10px; border: 1px solid var(--ad-line); border-radius: 10px; color: #517b71; background: #f8fcfa; font-size: 12px; }
.ad-claim-value { margin: 28px 0 24px; padding: 22px; border: 1px solid #d9eee3; border-radius: 16px; background: linear-gradient(115deg, #f1fbe9, #effaf8); }
.ad-claim-value > span { color: #668778; font-size: 12px; }
.ad-claim-value p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 12px 0 0; color: #278362; }
.ad-claim-value strong { min-width: 0; font-size: 36px; line-height: 1.3; overflow-wrap: anywhere; }
.ad-claim-value p > span { font-size: 14px; font-weight: 700; }
.ad-breakdown { display: grid; gap: 16px; margin: 0 0 24px; }
.ad-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; }
.ad-breakdown dt { color: var(--ad-muted); }
.ad-breakdown dd { margin: 0; color: var(--ad-ink); text-align: right; overflow-wrap: anywhere; }
.ad-fee-badge { display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 5px; color: #a7782b; background: #fff4d8; font-size: 10px; }
.ad-breakdown select { min-height: 34px; padding: 4px 9px; border: 1px solid var(--ad-line); border-radius: 8px; background: #fff; color: var(--ad-ink); }
.ad-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 12px 18px; border: 0; border-radius: 13px; color: #204f3a; background: linear-gradient(110deg, #acfb62, #74c5cf); font-size: 14px; font-weight: 800; line-height: 1.5; box-shadow: 0 8px 22px #5cba9620; }
.ad-primary:hover:not(:disabled) { filter: brightness(.98); }
.ad-primary:disabled { box-shadow: none; }
.ad-muted { margin-block: 12px; color: var(--ad-muted); font-size: 12px; line-height: 1.8; }
.ad-gas-note { margin: 14px 0 0; }
.ad-transaction { display: grid; gap: 8px; margin-top: 16px; padding: 14px; border: 1px solid #bfdece; border-radius: 12px; color: #38735d; background: #f2faf5; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.ad-transaction a { color: #19799a; font-weight: 700; }
.ad-side { display: grid; gap: 18px; }
.ad-rules ol { display: grid; gap: 22px; list-style: none; margin: 26px 0; padding: 0; }
.ad-rules li { display: flex; align-items: start; gap: 14px; }
.ad-rules li > span { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d4e9df; border-radius: 10px; color: #329c7a; background: #eff9f2; font-size: 11px; font-weight: 800; }
.ad-rules li strong { color: var(--ad-ink); font-size: 13px; }
.ad-rules li p { margin: 5px 0 0; color: var(--ad-muted); font-size: 12px; line-height: 1.8; }
.ad-fee-note { margin: 0; padding-top: 18px; border-top: 1px solid var(--ad-line); color: var(--ad-faint); font-size: 11px; line-height: 1.9; }
.ad-swap-closed { padding: 20px 24px; border: 1px solid #dce3f0; border-radius: 16px; background: #f3f6fb; }
.ad-swap-closed > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-swap-closed h3 { margin: 0; color: var(--ad-ink); font-size: 14px; }
.ad-closed-icon { flex: 0 0 auto; width: 22px; height: 28px; object-fit: contain; }
.ad-badge { margin-left: auto; padding: 4px 9px; border: 1px solid #d4dcf0; border-radius: 20px; color: #6a7899; font-size: 11px; }
.ad-swap-closed p { margin: 10px 0 0; color: var(--ad-muted); font-size: 12px; line-height: 1.85; }
.ad-orders, .ad-history { margin-bottom: 24px; }
.ad-table-scroll { overflow-x: auto; }
.ad-table-scroll table { width: 100%; margin-top: 24px; border-collapse: collapse; text-align: left; font-size: 12px; white-space: nowrap; }
.ad-table-scroll th { padding: 13px 9px; color: var(--ad-muted); background: #f5faf7; font-weight: 600; font-size: 11px; }
.ad-table-scroll td { padding: 18px 9px; border-bottom: 1px solid var(--ad-line-soft); }
.ad-table-scroll :is(th, td):last-child { text-align: right; }
.ad-table-scroll tbody tr:hover { background: #f6fbf8; }
.ad-row-button { padding: 8px 12px; border: 1px solid #bcdccd; border-radius: 8px; color: #258464; background: #effaf4; font-size: 12px; }
.ad-order-state { padding: 5px 9px; border-radius: 7px; color: #4b8596; background: #eff7fa; font-size: 11px; }
.ad-empty { display: flex; flex-direction: column; align-items: center; padding: 36px 16px 24px; text-align: center; }
.ad-empty > span { margin-bottom: 12px; color: #80bba5; font-size: 32px; }
.ad-empty > strong { color: var(--ad-ink); font-size: 14px; font-weight: 700; }
.ad-empty p { margin: 10px 0 15px; color: var(--ad-muted); font-size: 12px; line-height: 1.8; }
.ad-empty a { color: #258464; font-size: 12px; font-weight: 700; }
.ad-history-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ad-line-soft); font-size: 12px; }
.ad-history-row small { display: block; margin-top: 6px; color: var(--ad-muted); font-size: 11px; line-height: 1.8; }
.ad-history-row a { color: var(--ad-neon-2); font-size: 11px; white-space: nowrap; }
.ad-history #history-list { margin-top: 18px; }
.ad-footer { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0 34px; color: var(--ad-faint); font-size: 11px; line-height: 1.8; }
.ad-footer strong { margin-right: 12px; color: #458f7a; font-size: 16px; }
.ad-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ad-fx-canvas { position: fixed; inset: 0; z-index: 0; opacity: .3; pointer-events: none; }
.ad-hero-halo { position: absolute; right: -64px; bottom: -64px; width: 300px; height: 300px; border-radius: 50%; object-fit: cover; opacity: .06; pointer-events: none; }
.ad-satellites { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ad-sat { position: absolute; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; opacity: .9; box-shadow: 0 8px 18px #30846324; }
.ad-sat-wow { left: -8px; top: 12%; }.ad-sat-usdt { right: -10px; top: 26%; }.ad-sat-bnb { left: 16%; bottom: 2%; }
.ad-button { min-height: 42px; padding: 10px 16px; border: 1px solid #d8e6df; border-radius: 12px; background: #edf4ef; color: #748679; font-size: 13px; }
.ad-main p { color: var(--ad-muted); font-size: 14px; line-height: 1.85; }
@media (max-width: 850px) { .ad-hero { padding: 34px 28px; }.ad-main-grid { gap: 16px; }.ad-panel { padding: 24px; }.ad-overview { gap: 10px; }.ad-overview article { padding: 18px 16px; }.ad-overview strong { font-size: 24px; }.ad-orbit { width: 240px; }.ad-sat { width: 34px; height: 34px; } }
@media (max-width: 620px) {
  .ad-shell { padding: 20px 16px 0; }.ad-hero { grid-template-columns: 1fr; min-height: 0; padding: 26px 24px; border-radius: 20px; }.ad-hero h1 { font-size: 32px; }.ad-hero-copy > p { font-size: 13px; }.ad-hero-art, .ad-desktop { display: none; }
  .ad-hero-tags { gap: 6px; margin-top: 20px; }.ad-hero-tags span { padding: 5px 8px; font-size: 10px; }.ad-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }.ad-overview article { padding: 18px 14px; }.ad-overview article > span { font-size: 11px; }
  .ad-main-grid { grid-template-columns: 1fr; margin-bottom: 16px; }.ad-panel { padding: 22px 20px; border-radius: 16px; }.ad-panel h2 { font-size: 20px; }.ad-claim-value { padding: 18px; }.ad-claim-value strong { font-size: 30px; }.ad-side { gap: 12px; }.ad-status { padding: 12px; font-size: 11px; }.ad-orders, .ad-history { margin-bottom: 16px; }
  .ad-panel-top { flex-wrap: wrap; }.ad-hero-halo { width: 220px; height: 220px; }.ad-footer { gap: 12px; font-size: 10px; }.ad-history-row { gap: 8px; }
}
@keyframes adCoinFloat { 50% { transform: rotate(-10deg) translateY(-9px); } }
@media (prefers-reduced-motion: no-preference) { .ad-coin { animation: adCoinFloat 6s ease-in-out infinite; } }
@media (prefers-reduced-motion: reduce) { .ad-fx-canvas { display: none; } }

/* 底部导航：与首页(home.min.css)保持一致 — 白色毛玻璃 + 绿色高亮，断点 767 */
@media (max-width: 767px) {
  .mobile-bottom-nav { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-height: 60px; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid #e1edf1; background: rgba(255,255,255,.98); box-shadow: 0 -8px 24px rgba(32,68,92,.08); backdrop-filter: blur(18px); }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; border-radius: 10px; color: #7a8e9a; text-decoration: none; font-size: 10px; font-weight: 700; }
  .mobile-bottom-nav a > span { font-size: 22px; line-height: 1; }
  .mobile-bottom-nav a > b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bottom-nav a.active { color: #0ea77c; background: rgba(14,167,124,.1); }
  .ad-shell { padding-bottom: 108px; }
}
