:root {
  --bg: #060b16;
  --bg2: #0a1222;
  --panel: #0d1628;
  --panel2: #111d35;
  --line: #1b2945;
  --line2: #263a5f;
  --text: #e7eef9;
  --muted: #8b9bb8;
  --dim: #5d6d8a;
  --aqua: #22d3ee;
  --aqua2: #0891b2;
  --teal: #2dd4bf;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
  --violet: #a78bfa;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  background-image: radial-gradient(1200px 500px at 70% -200px, rgba(34, 211, 238, .13), transparent 70%),
                    radial-gradient(900px 400px at -10% 0, rgba(167, 139, 250, .08), transparent 70%);
  background-repeat: no-repeat;
  min-height: 100vh;
}
a { color: var(--aqua); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.mono, .hash { font-family: var(--mono); font-size: 13px; }
.hash { word-break: break-all; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.green { color: var(--green); }
.red { color: var(--red); }
.amber { color: var(--amber); }
.small { font-size: 13px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

/* ---------- top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(6, 11, 22, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 22px; font-weight: 750; letter-spacing: -.4px; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--aqua); font-weight: 600; }
.brand img { border-radius: 50%; background: #fff; border: 2px solid var(--aqua2); object-fit: cover; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--muted); padding: 7px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--panel2); text-decoration: none; }
.nav a.active { color: var(--text); background: var(--panel2); }
.nav-sep { width: 1px; height: 22px; background: var(--line2); margin: 0 8px; }
.nav .nav-cta { color: #031b22; background: linear-gradient(135deg, #67e8f9, #22d3ee); margin-left: 4px; }
.nav .nav-cta:hover, .nav .nav-cta.active { color: #031b22; background: linear-gradient(135deg, #a5f3fc, #67e8f9); }
.nav .nav-wallet { border: 1px solid var(--line2); margin-left: 6px; }
.nav a.gold, a.gold { position: relative; overflow: hidden; color: #2a1800; font-weight: 700; margin: 0 2px 0 6px;
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #d97706); border: 1px solid #fcd34d; border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, .25), 0 0 16px rgba(251, 191, 36, .35); }
.nav a.gold:hover, .nav a.gold.active, a.gold:hover { color: #2a1800; text-decoration: none;
  background: linear-gradient(135deg, #fef3c7, #fcd34d 50%, #f59e0b); box-shadow: 0 0 0 1px rgba(251, 191, 36, .4), 0 0 22px rgba(251, 191, 36, .55); }
a.gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: goldShine 3.2s ease-in-out infinite; }
@keyframes goldShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.mine-quick { display: none; padding: 6px 12px; font-size: 17px; line-height: 1.4; }
a.gold.on { animation: goldGlow 1.4s ease-in-out infinite; }
@keyframes goldGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(251, 191, 36, .3), 0 0 12px rgba(251, 191, 36, .35); }
  50% { box-shadow: 0 0 0 1px rgba(251, 191, 36, .6), 0 0 26px rgba(251, 191, 36, .75); } }
.nav-mine.on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 1px;
  background: #15803d; margin-right: 7px; box-shadow: 0 0 0 0 rgba(21, 128, 61, .6); animation: pulse 1.6s infinite; }
@media (prefers-reduced-motion: reduce) { a.gold::after, a.gold.on { animation: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text);
  border-radius: 9px; font-size: 20px; padding: 4px 11px; cursor: pointer; }
.ticker { border-bottom: 1px solid var(--line); background: rgba(13, 22, 40, .6); font-size: 13px; color: var(--muted); }
.ticker-in { display: flex; gap: 22px; padding: 7px 18px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ticker-in::-webkit-scrollbar { display: none; }
.ticker b { color: var(--text); font-weight: 500; }

/* ---------- hero and search */
.hero { padding: 38px 0 26px; display: flex; align-items: center; gap: 28px; }
.hero-text { flex: 1; min-width: 0; }
.hero-logo { width: 150px; height: 150px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--aqua);
  box-shadow: 0 0 0 8px rgba(34, 211, 238, .1), 0 0 60px rgba(34, 211, 238, .3); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.hero h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.6px; font-weight: 650; }
.hero h1 span { background: linear-gradient(90deg, #67e8f9, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0 0 18px; color: var(--muted); }
.search { display: flex; max-width: 760px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 5px; }
.search:focus-within { border-color: var(--aqua2); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font-size: 15px; padding: 10px 12px; outline: none; }
.search button { border: 0; border-radius: 10px; padding: 0 20px; font-weight: 600; cursor: pointer; color: #031b22; background: var(--aqua); }

/* ---------- panels */
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 26px 0 16px; }
.page-head h1 { font-size: 22px; margin: 0; font-weight: 600; letter-spacing: -.3px; }
.page-head .sub { color: var(--muted); font-size: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.panel-h .more { margin-left: auto; font-size: 13px; font-weight: 500; }
.panel-b { padding: 16px 18px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid2 > .panel { margin-bottom: 0; }
.mt { margin-top: 18px; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; }
.stat { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 13px; align-items: center; }
.stat:nth-child(4n) { border-right: 0; }
.stat:nth-last-child(-n+4) { border-bottom: 0; }
.stat .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 18px;
  background: rgba(34, 211, 238, .1); color: var(--aqua); }
.stat .lbl { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.stat .val { font-size: 19px; font-weight: 600; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .val small { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- list rows (latest blocks / txs) */
.rows .row { display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 14px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line); }
.rows .row:last-child { border-bottom: 0; }
.rows .row:hover { background: rgba(255, 255, 255, .015); }
.badge-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel2);
  border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: var(--muted); }
.badge-ic.blk { color: var(--aqua); }
.badge-ic.emo { font-size: 20px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amount-pill { font-size: 12.5px; border: 1px solid var(--line2); border-radius: 8px; padding: 3px 8px; white-space: nowrap; font-family: var(--mono); }

/* ---------- tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px;
  padding: 11px 18px; border-bottom: 1px solid var(--line); background: var(--bg2); white-space: nowrap; }
td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .015); }

/* ---------- key/value details */
.kv { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 20px; padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: start; }
.kv:last-child { border-bottom: 0; }
.kv > div:first-child { color: var(--muted); font-size: 14px; }
.kv > div:last-child { min-width: 0; word-break: break-word; }

/* ---------- tags and chips */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 7px;
  border: 1px solid; white-space: nowrap; }
.tag.ok { color: var(--green); border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.tag.wait { color: var(--amber); border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.tag.bad { color: var(--red); border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .08); }
.tag.info { color: var(--aqua); border-color: rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .08); }
.tag.vio { color: var(--violet); border-color: rgba(167, 139, 250, .35); background: rgba(167, 139, 250, .08); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { background: var(--panel); border: 1px solid var(--line2); color: var(--muted); border-radius: 999px; padding: 6px 13px;
  font-size: 13px; cursor: pointer; }
.chip:hover { color: var(--text); text-decoration: none; }
.chip.on { color: #031b22; background: var(--aqua); border-color: var(--aqua); }
.chip span { opacity: .7; margin-left: 4px; }

/* ---------- records */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.rcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.rcard:hover { border-color: var(--line2); }
.rcard .top { display: flex; align-items: center; gap: 10px; }
.rcard .emo { font-size: 24px; }
.rcard h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.rcard .note { color: var(--muted); font-size: 14px; white-space: pre-wrap; max-height: 4.8em; overflow: hidden; }
.rcard .foot { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--dim); }

/* ---------- forms */
.form { display: grid; gap: 16px; }
label.f { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input[type=text], input[type=number], input[type=search], textarea, select {
  width: 100%; background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 12px;
  font: inherit; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--aqua2); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }
textarea { min-height: 110px; resize: vertical; }
.hint { font-size: 12.5px; color: var(--dim); }
.err { color: var(--red); font-size: 13.5px; min-height: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--text); border-radius: 11px; padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: var(--aqua2); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.primary { color: #031b22; background: linear-gradient(135deg, #67e8f9, #22d3ee); border-color: transparent; }
.btn.danger { color: var(--red); border-color: rgba(248, 113, 113, .4); background: transparent; }
.btn.big { padding: 15px 26px; font-size: 16px; }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; padding: 3px; }
.seg button { background: none; border: 0; color: var(--muted); padding: 8px 15px; border-radius: 8px; font: inherit; font-weight: 500; cursor: pointer; }
.seg button.on { background: var(--panel2); color: var(--text); }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--aqua); }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.cat { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 11px; cursor: pointer; text-align: left; color: var(--text); font: inherit; }
.cat:hover { border-color: var(--aqua2); }
.cat.on { border-color: var(--aqua); background: rgba(34, 211, 238, .08); box-shadow: 0 0 0 1px var(--aqua) inset; }
.cat .e { font-size: 22px; display: block; margin-bottom: 4px; }
.cat .l { font-size: 13.5px; font-weight: 600; display: block; }
.cat .d { font-size: 12px; color: var(--dim); display: block; margin-top: 2px; line-height: 1.35; }
.drop { display: block; border: 1.5px dashed var(--line2); border-radius: 14px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; background: var(--bg2); }
.drop:hover, .drop.over { border-color: var(--aqua); color: var(--text); }
.drop input { display: none; }
.result { border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line2); background: var(--bg2); }
.result.ok { border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .06); }
.result.bad { border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .06); }
.result.warn { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .06); }

/* ---------- wallet and miner */
.balance { font-size: 38px; font-weight: 650; letter-spacing: -1px; }
.balance small { font-size: 17px; color: var(--muted); font-weight: 500; }
.addrbox { display: flex; gap: 8px; align-items: center; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.addrbox .hash { flex: 1; min-width: 0; }
.copy { background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: 7px; padding: 2px 7px; font-size: 12px; cursor: pointer; vertical-align: middle; }
.copy:hover { color: var(--aqua); border-color: var(--aqua2); }
.mine-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: stretch; }
.rig { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.rate { font-size: 46px; font-weight: 700; letter-spacing: -1.5px; font-family: var(--mono); }
.rate small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.hashline { font-family: var(--mono); font-size: 12.5px; color: var(--dim); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hashline b { color: var(--green); font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: var(--bg2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua2), var(--teal)); transition: width .4s; }
.log { max-height: 320px; overflow-y: auto; font-size: 13.5px; }
.log div { padding: 9px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.log div:last-child { border-bottom: 0; }
.log time { color: var(--dim); font-family: var(--mono); font-size: 12px; flex: none; padding-top: 1px; }
.minestats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.minestats > div { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.minestats > div:nth-child(2n) { border-right: 0; }
.minestats > div:nth-last-child(-n+2) { border-bottom: 0; }
.minestats .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.minestats .val { font-size: 17px; font-weight: 600; margin-top: 2px; }

/* ---------- misc */
.empty { padding: 34px 18px; text-align: center; color: var(--muted); }
.empty .big { font-size: 34px; display: block; margin-bottom: 6px; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
.loading::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%;
  border: 3px solid var(--line2); border-top-color: var(--aqua); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: var(--panel2); border: 1px solid var(--line2); color: var(--text); padding: 11px 18px; border-radius: 12px;
  font-size: 14px; transition: all .25s; z-index: 50; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--dim); font-size: 13px; padding-top: 30px; padding-bottom: 40px; }
.integrity { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.callout { background: rgba(34, 211, 238, .06); border: 1px solid rgba(34, 211, 238, .25); border-radius: 12px; padding: 13px 15px; font-size: 14px; color: var(--muted); }
.callout b { color: var(--text); font-weight: 600; }
.callout.warn { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .3); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step .n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(34, 211, 238, .12); color: var(--aqua); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.step h3 { margin: 0 0 4px; font-size: 15px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- phones */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 14px 16px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 15px; }
  .nav-sep { display: none; }
  .nav .nav-cta, .nav .nav-wallet { margin-left: 0; text-align: center; }
  .grid2, .mine-hero { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(4n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 12px; }
  .hero { padding: 24px 0 18px; }
  .hero h1 { font-size: 23px; }
  .hero-logo { display: none; }
  .stat { padding: 12px; gap: 9px; }
  .stat .ic { display: none; }
  .stat .val { font-size: 16px; }
  .rows .row { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 11px 12px; gap: 10px; }
  .rows .row > :nth-child(3) { display: none; }
  .badge-ic { width: 38px; height: 38px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 11px 14px; }
  th, td { padding: 10px 12px; }
  .hide-sm { display: none; }
  .rate { font-size: 34px; }
  .balance { font-size: 30px; }
  .rig { padding: 18px; }
}

/* ---------- how it works */
.how { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.how .panel { margin: 0; }
.how h2 { font-size: 16px; margin: 0; display: flex; gap: 8px; align-items: center; }
.how p, .how li { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.how ul { margin: 0; padding-left: 18px; }
.how b { color: var(--text); font-weight: 600; }
.how table td { padding: 6px 10px; font-size: 13px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- mining pickaxe */
.rate-row { display: flex; align-items: center; gap: 14px; }
.pick { position: relative; width: 70px; height: 60px; flex: none; }
.pick .pk { position: absolute; left: 0; top: 10px; font-size: 34px; line-height: 1; transform-origin: 12% 88%;
  transform: rotate(15deg); filter: grayscale(1); opacity: .45; }
.pick .pk-i { display: inline-block; transform: scaleX(-1); }
.pick .cube { position: absolute; right: 4px; bottom: 6px; width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, #a5f3fc, #22d3ee 50%, #0891b2); opacity: .35; }
.pick .spark { position: absolute; right: 14px; bottom: 22px; width: 4px; height: 4px; border-radius: 50%;
  background: #fde68a; box-shadow: 0 0 6px #fbbf24; opacity: 0; }
.pick.on .pk { filter: none; opacity: 1; animation: pickSwing .6s ease-in infinite; }
.pick.on .cube { opacity: 1; animation: cubeHit .6s ease-in infinite; }
.pick.on .spark { animation: spark .6s ease-out infinite; }
@keyframes pickSwing { 0% { transform: rotate(-35deg); } 55% { transform: rotate(30deg); } 62% { transform: rotate(24deg); } 100% { transform: rotate(-35deg); } }
@keyframes cubeHit { 0%, 52% { transform: none; } 58% { transform: translateY(2px) scale(1.08, .9); box-shadow: 0 0 14px rgba(34, 211, 238, .8); } 75%, 100% { transform: none; } }
@keyframes spark { 0%, 55% { opacity: 0; transform: translate(0, 0); } 60% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@media (prefers-reduced-motion: reduce) { .pick.on .pk, .pick.on .cube, .pick.on .spark { animation: none; } }
@media (max-width: 640px) { .pick { width: 56px; height: 50px; } .pick .pk { font-size: 30px; } }

/* ---------- the lake */
.nav .nav-lake { color: var(--teal); }
.lake-panel { overflow: hidden; }
.lake { position: relative; height: 210px; overflow: hidden; display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, #0b3b55 0%, #0a2a44 55%, #071d33 100%); border-bottom: 1px solid var(--line); }
.lw { position: absolute; left: -100%; width: 300%; height: 34px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(103, 232, 249, .12), transparent 70%); animation: wave 9s ease-in-out infinite alternate; }
.lw.w1 { top: 20px; } .lw.w2 { top: 90px; animation-duration: 13s; animation-direction: reverse; background: rgba(45, 212, 191, .06); }
.lw.w3 { top: 150px; animation-duration: 17s; }
@keyframes wave { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.lake-c { position: relative; z-index: 1; color: #cffafe; padding: 10px; }
.bobber { font-size: 40px; animation: bob 1.2s ease-in-out infinite; }
.reveal { animation: celPop .7s cubic-bezier(.2, 1.5, .4, 1) both; }
.rv-e { font-size: 64px; line-height: 1.1; filter: drop-shadow(0 0 18px rgba(103, 232, 249, .6)); }
.rv-n { font-size: 20px; font-weight: 700; color: #fff; margin: 4px 0; }
.rar { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 2px 8px;
  border-radius: 6px; border: 1px solid; }
.rar-common { color: var(--muted); border-color: var(--line2); }
.rar-uncommon { color: var(--green); border-color: rgba(52, 211, 153, .4); }
.rar-rare { color: var(--aqua); border-color: rgba(34, 211, 238, .45); }
.rar-epic { color: var(--violet); border-color: rgba(167, 139, 250, .5); }
.rar-legendary { color: var(--amber); border-color: rgba(251, 191, 36, .55); box-shadow: 0 0 12px rgba(251, 191, 36, .25); }
.fishgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fish { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 10px; text-align: center;
  display: flex; flex-direction: column; gap: 4px; align-items: center; }
.fish.unknown { opacity: .6; }
.fish .fe { font-size: 34px; line-height: 1.2; }
.fish .fn { font-weight: 600; font-size: 14px; }
.fish .fm { font-size: 11.5px; color: var(--dim); }
.fish .fo { font-size: 12.5px; color: var(--muted); }
.fish .btn { margin-top: 4px; }
.rar-b-uncommon { border-color: rgba(52, 211, 153, .35); }
.rar-b-rare { border-color: rgba(34, 211, 238, .4); }
.rar-b-epic { border-color: rgba(167, 139, 250, .45); }
.rar-b-legendary { border-color: rgba(251, 191, 36, .55); box-shadow: 0 0 16px rgba(251, 191, 36, .15) inset; }
tr.me-row td { background: rgba(34, 211, 238, .06); }
@media (max-width: 640px) {
  #lstats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lake { height: 170px; }
  .fishgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- block found celebration */
.celebrate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: rgba(3, 8, 18, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: celFade 4.2s ease forwards; cursor: pointer; }
@keyframes celFade { 0% { opacity: 0; } 6% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; } }
.cel-card { position: relative; z-index: 2; text-align: center; padding: 30px 40px 26px; border-radius: 24px; background: var(--panel);
  border: 1px solid rgba(34, 211, 238, .55); box-shadow: 0 0 80px rgba(34, 211, 238, .35), 0 20px 60px rgba(0, 0, 0, .5);
  animation: celPop .7s cubic-bezier(.2, 1.5, .4, 1) both; max-width: 90vw; }
@keyframes celPop { 0% { transform: scale(.3) translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.cel-cube { position: relative; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center;
  font-size: 44px; background: linear-gradient(135deg, #a5f3fc, #22d3ee 45%, #0891b2); box-shadow: 0 0 40px rgba(34, 211, 238, .6);
  animation: celSpin 1.1s cubic-bezier(.2, 1.2, .4, 1) both, celGlow 1.6s ease-in-out 1.1s infinite alternate; }
@keyframes celSpin { 0% { transform: rotate(-200deg) scale(.1); } 100% { transform: rotate(0) scale(1); } }
@keyframes celGlow { from { box-shadow: 0 0 30px rgba(34, 211, 238, .5); } to { box-shadow: 0 0 70px rgba(34, 211, 238, .9); } }
.cel-ring { position: absolute; left: 50%; top: 76px; width: 92px; height: 92px; margin: -46px 0 0 -46px; z-index: -1; border-radius: 50%;
  border: 3px solid var(--aqua); opacity: 0; animation: celRing 1.6s ease-out .25s; }
.cel-ring.r2 { animation-delay: .55s; border-color: var(--teal); }
@keyframes celRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(4.5); opacity: 0; } }
.cel-kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--aqua); font-weight: 700; }
.cel-title { font-size: 30px; font-weight: 750; letter-spacing: -.6px; margin: 4px 0 6px; }
.cel-amount { font-family: var(--mono); font-size: 34px; font-weight: 700; color: var(--green); text-shadow: 0 0 24px rgba(52, 211, 153, .45); }
.cel-hash { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 10px; }
.cel-hash b { color: var(--green); font-weight: 600; }
.cel-p { position: absolute; left: 50%; top: 50%; z-index: 1; width: 9px; height: 15px; border-radius: 2px; opacity: 0;
  animation: celBurst 1.9s cubic-bezier(.15, .7, .35, 1) forwards; }
@keyframes celBurst {
  0% { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cel-p, .cel-ring { display: none; }
  .cel-card, .cel-cube { animation: none; }
}
@media (max-width: 640px) {
  .cel-card { padding: 24px 22px 20px; }
  .cel-ring { top: 70px; }
  .cel-title { font-size: 24px; }
  .cel-amount { font-size: 28px; }
}

/* ---------- new layout (2026-11): simple menu, big buttons, tab bar on phones */
.nav .nav-mine { color: var(--amber); }
.more-menu { position: relative; }
.more-menu summary { list-style: none; cursor: pointer; color: var(--muted); padding: 7px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary:hover, .more-menu[open] summary { color: var(--text); background: var(--panel2); }
.more-list { position: absolute; right: 0; top: 40px; min-width: 210px; background: var(--panel); border: 1px solid var(--line2);
  border-radius: 12px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); z-index: 30; }
.nav .more-list a { padding: 9px 12px; }

.home-hero { text-align: center; padding: 52px 0 10px; }
.home-hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -1.3px; margin: 0 0 14px; font-weight: 750; }
.home-hero h1 span { color: var(--aqua); }
.home-hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.big3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 840px; margin: 0 auto; }
.bb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px; border-radius: 18px; font-weight: 750;
  font-size: 19px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.bb:hover { text-decoration: none; transform: translateY(-3px); }
.bb .e { font-size: 34px; line-height: 1.2; }
.bb small { display: block; font-weight: 500; font-size: 13.5px; opacity: .8; }
.bb-seal { background: var(--aqua); color: #032027; box-shadow: 0 8px 30px rgba(34, 211, 238, .25); }
.bb-mine { background: var(--amber); color: #2a1800; box-shadow: 0 8px 30px rgba(251, 191, 36, .2); }
.bb-lake { background: var(--panel); border-color: var(--teal); color: var(--teal); }
.bb-seal:hover, .bb-mine:hover { color: inherit; }
.bb-seal:hover { color: #032027; } .bb-mine:hover { color: #2a1800; } .bb-lake:hover { color: var(--teal); }
.pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; font-size: 14px; min-height: 34px; }
.pill { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; color: var(--muted); }
.pill:hover { text-decoration: none; border-color: var(--line2); }
.pill b { color: var(--text); font-weight: 600; }
.pill.ok { color: var(--green); }
.pill.bad { color: #fff; background: #b91c1c; border-color: #ef4444; font-weight: 600; }
h2.sec { font-size: 20px; margin: 40px 0 14px; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 10px; }
h2.sec .more { margin-left: auto; font-size: 14px; font-weight: 600; }
.steps .step .n { width: auto; height: auto; background: none; font-size: 28px; display: block; }
.tabbar { display: none; }
@media (max-width: 980px) {
  .more-menu summary { display: none; }
  .more-list { position: static; display: flex; box-shadow: none; border: 0; background: none; padding: 0; min-width: 0; }
  .more-menu:not([open]) .more-list { display: flex; }
}
@media (max-width: 720px) {
  body { padding-bottom: 70px; }
  .home-hero { padding: 28px 0 4px; }
  .home-hero h1 { font-size: 31px; }
  .home-hero p { font-size: 16px; margin-bottom: 22px; }
  .big3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bb { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 15px 18px; font-size: 18px; text-align: left; }
  .bb .e { font-size: 28px; }
  .nav-cta, .nav-wallet, .nav-mine, .nav-lake { display: none !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    background: rgba(9, 16, 30, .97); border-top: 1px solid var(--line); padding: 6px 2px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; font-size: 11.5px; color: var(--muted); gap: 1px; }
  .tabbar a:hover { text-decoration: none; }
  .tabbar a b { font-size: 22px; font-weight: 400; line-height: 1.25; }
  .tabbar a.active { color: var(--aqua); }
  .tabbar a.on-mining { color: var(--amber); }
  .toast { bottom: 84px; }
}
