.ambient { position: fixed; z-index: -1; width: 480px; height: 480px; border-radius: 50%; filter: blur(85px); opacity: .12; pointer-events: none; animation: homeAmbientMove 14s ease-in-out infinite alternate; }
.ambient-one { top: -190px; right: 3%; background: var(--green); }
.ambient-two { bottom: 0; left: -180px; background: var(--violet); animation-delay: -6s; }

.pool-section-title { align-items: center; }
.coin-search { position: relative; flex: 0 1 340px; width: 100%; }
.coin-search i { position: absolute; top: 50%; left: 14px; z-index: 1; transform: translateY(-52%); color: var(--green-dark); font-size: 22px; font-style: normal; pointer-events: none; }
.coin-search input { height: 48px; padding-left: 43px; border-radius: 12px; background: rgba(8, 17, 31, .95); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.coin-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .6; }
.pool-list-status { display: flex; justify-content: space-between; gap: 20px; margin: -10px 2px 10px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pool-list-status b { color: var(--green-dark); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.seo-coin-links { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.seo-coin-links h3 { margin: 0 0 4px; font-size: 16px; }
.seo-coin-links p { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.seo-coin-links div { display: flex; flex-wrap: wrap; gap: 7px; }
.seo-coin-links a { padding: 6px 9px; border: 1px solid rgba(120,146,184,.2); border-radius: 99px; color: var(--muted); font-size: 10px; transition: border-color .18s, color .18s, background .18s; }
.seo-coin-links a:hover { border-color: rgba(57,223,190,.35); background: rgba(57,223,190,.06); color: var(--green-dark); }
.confirmation-progress { display: grid; gap: 2px; min-width: 80px; }
.confirmation-progress strong { font-size: 11px; }
.confirmation-progress small { color: var(--muted); font-size: 8px; white-space: nowrap; }

.pool-directory {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 13, 23, .72);
  box-shadow: var(--shadow);
}

.pool-directory .pool-table-head { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(14, 23, 38, .94); }
.pool-pairs-grid { display: grid; gap: 1px; background: var(--line); }
.pool-pair { display: grid; gap: 1px; background: rgba(76, 99, 133, .35); }
.pool-pair + .pool-pair { border-top: 10px solid #080d17; }
.pool-pair .pool-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.pool-pair .pool-card:hover { z-index: 1; box-shadow: inset 0 0 0 1px rgba(57, 223, 190, .4), 0 12px 36px rgba(0, 0, 0, .26); }
.pool-pair .shared-row { background: linear-gradient(100deg, rgba(17, 33, 47, .99), rgba(11, 21, 34, .99)); box-shadow: inset 3px 0 0 var(--green); }
.pool-pair .solo-row { background: linear-gradient(100deg, rgba(25, 23, 49, .99), rgba(13, 19, 35, .99)); box-shadow: inset 3px 0 0 var(--violet); }
.shared-row .coin-id small { color: var(--green-dark); }
.solo-row .coin-id small { color: #c4bcff; }
.solo-row .row-action { border-color: rgba(139, 124, 255, .3); background: rgba(139, 124, 255, .1); color: #c4bcff; }
.solo-row:hover .row-action { background: var(--violet); color: #fff; }
.reward-mode-badge { flex: 0 0 auto; padding: 4px 7px; border: 1px solid; border-radius: 99px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.reward-mode-badge.shared { border-color: rgba(57, 223, 190, .3); background: rgba(57, 223, 190, .1); color: var(--green-dark); }
.reward-mode-badge.solo { border-color: rgba(139, 124, 255, .35); background: rgba(139, 124, 255, .12); color: #c4bcff; }
.coin-symbol-line { display: flex; align-items: center; gap: 7px; min-width: 0; }
.network-testnet-badge { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 4px 7px; border: 1px solid rgba(255, 91, 91, .68); border-radius: 99px; background: #b4232c; color: #fff; font-size: 8px; font-weight: 950; line-height: 1; letter-spacing: .1em; box-shadow: 0 0 18px rgba(255, 62, 62, .22); }

@keyframes homeAmbientMove { from { transform: translate3d(-30px,-20px,0) scale(.9); } to { transform: translate3d(45px,35px,0) scale(1.12); } }

@media (max-width: 760px) {
  .pool-section-title { align-items: stretch; }
  .coin-search { flex-basis: auto; }
  .pool-list-status { margin-top: -13px; }
  .pool-directory { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .pool-directory .pool-table-head { display: none; }
  .pool-pairs-grid { gap: 12px; background: transparent; }
  .pool-pair { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
  .pool-pair + .pool-pair { border-top: 1px solid var(--line); }
  .pool-pair .pool-card { border-radius: 0; }
  .reward-mode-badge { display: none; }
  .network-testnet-badge { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) { .ambient { animation: none; } }
