/* Bagholder: Metro (Windows Phone / Windows 8, 2012). Black, one green accent, live tiles, light type. */
:root {
  --acc: #00a300; --acc2: #008a00; --acc3: #1e7145; --red: #e51400; --sol: #6b3cf0;
  --dim: #8a8a8a; --dim2: #5a5a5a; --line: #232323; --tile: #1d1d1d; --hover: #121212;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #000; color: #fff; font: 400 15px/1.45 'Open Sans', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input { font-family: inherit; }
::selection { background: var(--acc); color: #fff; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
main.wrap { flex: 1; }
[hidden] { display: none !important; }
.muted { color: var(--dim); }
.faint { color: var(--dim2); }
.acc { color: var(--acc); }

/* ---------- header: app title + pivot ---------- */
.top { padding-top: 26px; }
.apptitle { display: flex; align-items: center; gap: 14px; }
.apptitle .name { font: 600 13px/1 'Open Sans'; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.apptitle .name img { width: 26px; height: 26px; display: block; }
.apptitle .sp { flex: 1; }
.search { display: flex; }
.search input { width: 260px; height: 34px; border: 2px solid #fff; background: #fff; color: #000; font-size: 14px; padding: 0 10px; outline: none; border-radius: 0; }
.search input::placeholder { color: #666; }
.search button { width: 34px; height: 34px; border: 2px solid #fff; border-left: 0; background: #000; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.search button:hover { background: var(--acc); }
.search button svg { width: 16px; height: 16px; }
.pivot { display: flex; gap: 30px; margin-top: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.pivot::-webkit-scrollbar { display: none; }
.pivot a { font: 300 44px/1.15 'Open Sans'; color: #444; letter-spacing: -.01em; transition: color .15s; }
.pivot a.on, .pivot a:hover { color: #fff; }
.note { margin-top: 6px; color: var(--acc); font-size: 13px; }
.note b { font-weight: 600; }

/* loading dots (Windows Phone progress) */
.loading { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 50; overflow: hidden; pointer-events: none; }
.loading i { position: absolute; top: 0; width: 4px; height: 4px; background: var(--acc); left: -10px; animation: dot 2.2s infinite cubic-bezier(.2,.7,.8,.3); }
.loading i:nth-child(2) { animation-delay: .12s; } .loading i:nth-child(3) { animation-delay: .24s; }
.loading i:nth-child(4) { animation-delay: .36s; } .loading i:nth-child(5) { animation-delay: .48s; }
@keyframes dot { 0% { left: -10px; } 100% { left: 100%; } }

/* page enter (turnstile-ish slide) */
#app.enter { animation: enter .45s cubic-bezier(.1,.9,.2,1) both; }
@keyframes enter { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }

/* ---------- buttons, inputs, pills ---------- */
.wbtn { height: 34px; padding: 0 16px; border: 2px solid #fff; display: inline-flex; align-items: center; gap: 8px; font: 600 13px 'Open Sans'; background: transparent; color: #fff; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; border-radius: 0; }
.wbtn:hover { background: #1f1f1f; color: #fff; }
.wbtn:active { background: #fff; color: #000; transform: scale(.98); }
.wbtn.acc { background: var(--acc); border-color: var(--acc); }
.wbtn.acc:hover { background: #1fb51f; border-color: #1fb51f; }
.wbtn.acc:active { background: #fff; border-color: #fff; color: #000; }
.wbtn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.wbtn svg { width: 14px; height: 14px; }
.field { height: 36px; border: 2px solid #fff; background: #fff; color: #000; font-size: 14px; padding: 0 10px; outline: none; border-radius: 0; min-width: 0; }
.field::placeholder { color: #666; }
.field.dark { background: #000; color: #fff; border-color: #444; }
.field.dark:focus { border-color: #fff; }
.field.dark::placeholder { color: #666; }
.inline-form { display: flex; gap: 0; }
.inline-form .field { flex: 1; }
.inline-form .go { width: 40px; border: 2px solid #fff; border-left: 0; background: var(--acc); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.inline-form .go:hover { background: #1fb51f; }
.inline-form .go svg { width: 18px; height: 18px; }
.pill { display: inline-block; font: 600 11px/1 'Open Sans'; padding: 4px 7px 5px; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; background: #333; color: #fff; white-space: nowrap; }
.pill.ok, .pill.live { background: var(--acc); }
.pill.no { background: var(--red); }
.pill.sol { background: var(--sol); }
.mark { width: 22px; height: 22px; display: inline-grid; place-items: center; flex: none; font: 600 13px/1 'Open Sans'; }
.mark.ok { background: var(--acc); }
.mark.no { background: var(--red); }
.toast { position: fixed; left: 0; right: 0; top: 0; background: var(--acc); color: #fff; padding: 12px 40px; font: 600 14px 'Open Sans'; z-index: 60; animation: drop .25s cubic-bezier(.1,.9,.2,1); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- coin pictures and chips ---------- */
.ci { position: relative; display: inline-grid; place-items: center; background: #2b2b2b; overflow: hidden; flex: none; width: 28px; height: 28px; vertical-align: middle; }
.ci b { font: 300 15px 'Open Sans'; color: #ccc; }
.ci i { position: absolute; inset: 0; background: center / cover no-repeat; }
.ci.m { width: 44px; height: 44px; } .ci.m b { font-size: 20px; }
.ci.l { width: 52px; height: 52px; } .ci.l b { font-size: 22px; }
.ci.xl { width: 150px; height: 150px; } .ci.xl b { font-size: 60px; }
.ci.xs { width: 22px; height: 22px; } .ci.xs b { font-size: 12px; }
.coin { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; }
a.coin:hover { color: var(--acc); }
.w { color: #ddd; }
a.w:hover { color: var(--acc); }

/* ---------- home ---------- */
.lede { margin: 26px 0 28px; }
.lede h1 { font: 300 64px/1.05 'Open Sans'; letter-spacing: -.025em; margin: 0 0 16px; color: #fff; animation: enter .6s cubic-bezier(.1,.9,.2,1) both; }
.lede p { margin: 0; font: 300 20px/1.45 'Open Sans'; color: #bbb; max-width: 700px; }
.lede p b { font-weight: 600; color: #fff; }
.ca { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ca .box { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 12px; background: #1a1a1a; color: var(--dim); font-size: 13px; max-width: 100%; overflow: hidden; }
.ca .box.copy { color: #fff; cursor: pointer; }
.ca .box.copy em { font-style: normal; color: var(--acc); font-weight: 600; }
.ca .box.copy:hover { background: #262626; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, 150px); grid-auto-rows: 150px; gap: 10px; grid-auto-flow: dense; }
.tile { position: relative; display: block; background: var(--acc); overflow: hidden; padding: 12px 14px; transform-origin: left center; animation: turn .5s cubic-bezier(.1,.9,.2,1) both; color: #fff; }
a.tile:active, .tile.press:active { transform: scale(.97); }
a.tile:hover { outline: 3px solid rgba(255,255,255,.35); outline-offset: -3px; }
.tile.w { grid-column: span 2; }
.tile.l { grid-column: span 2; grid-row: span 2; }
.tile .nm { position: absolute; left: 14px; bottom: 9px; right: 14px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .cnt { font: 300 46px/1 'Open Sans'; letter-spacing: -.02em; margin-top: 30px; white-space: nowrap; }
.tile.c2 { background: var(--acc2); }
.tile.c3 { background: var(--acc3); }
.tile.dark { background: var(--tile); }
.tile.red { background: var(--red); }
.tile.solc { background: var(--sol); }
@keyframes turn { from { opacity: 0; transform: perspective(900px) rotateY(-80deg); } to { opacity: 1; transform: none; } }
.big { font: 300 44px/1 'Open Sans'; letter-spacing: -.02em; white-space: nowrap; }
.small { font-size: 13px; opacity: .85; }

.t-clock .time { font: 300 96px/1 'Open Sans'; letter-spacing: -.03em; margin-top: 18px; }
.t-clock .lbl { font-size: 15px; }
.t-clock .bar { height: 5px; background: rgba(255,255,255,.25); margin: 18px 0 10px; }
.t-clock .bar i { display: block; height: 100%; background: #fff; transition: width .25s linear; }
.t-clock .pot { font-size: 14px; }
.t-clock .pot b { font-weight: 600; font-size: 20px; display: block; }
.t-live { padding: 0; perspective: 600px; }
.t-live .face { position: absolute; inset: 0; display: flex; gap: 12px; padding: 12px 14px; backface-visibility: hidden; transform-origin: center top; }
.t-live .face.in { animation: flipin .55s cubic-bezier(.1,.9,.2,1) both; }
@keyframes flipin { from { transform: rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.t-live .ci { width: 96px; height: 96px; }
.t-live .ci b { font-size: 40px; }
.t-live .sym { font: 300 26px/1.05 'Open Sans'; word-break: break-all; }
.t-live .to { font-size: 13px; opacity: .85; margin-top: 4px; }
.t-live .usd { font: 600 18px 'Open Sans'; margin-top: 6px; }
.t-check .inline-form { margin-top: 8px; }
.t-check .inline-form .go { background: #000; }
.t-check .lbl { font: 300 22px/1.1 'Open Sans'; }
.t-pic { padding: 0; background: #222; }
.t-pic .ci { position: absolute; inset: 0; width: auto; height: auto; }
.t-pic .ci b { font-size: 56px; }
.t-pic::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: none; }
.t-pic .nm, .t-pic .badge, .t-pic .info { z-index: 2; }
.t-pic .nm { font-weight: 600; }
.t-pic .badge { position: absolute; top: 0; right: 0; background: var(--acc); padding: 3px 8px; font: 600 14px 'Open Sans'; }
.t-pic.sol .badge { background: var(--sol); }
.t-pic .info { position: absolute; left: 14px; right: 14px; bottom: 9px; }
.t-pic .info .s { font: 300 30px/1.05 'Open Sans'; word-break: break-all; }
.t-pic .info .d { font-size: 13px; opacity: .9; }
.tiles.stat { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-auto-rows: 120px; }
.tiles.stat .cnt { font-size: 34px; margin-top: 8px; }
.tiles.curve { grid-template-columns: repeat(8, 1fr); }
.tiles.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tiles.stat .cnt small { font-size: 15px; margin-left: 4px; opacity: .85; }

/* section headers + layouts */
.h { font: 300 40px/1 'Open Sans'; margin: 46px 0 18px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.h a, .h .side { color: var(--dim); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.h a:hover { color: var(--acc); }
.h .side { margin-left: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.two.wl { grid-template-columns: 1.25fr 1fr; }
.two > div { min-width: 0; }
.sub-h { font: 300 26px/1.1 'Open Sans'; margin: 30px 0 12px; }

/* lists */
.li { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.li:hover .l1 { color: var(--acc); }
.li .tx { flex: 1; min-width: 0; }
.li .l1 { font: 400 20px/1.2 'Open Sans'; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .12s; }
.li .l1 .w { color: var(--dim); font-size: 16px; }
.li .l2 { font-size: 13px; color: var(--acc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .l2.no { color: #ff5a4a; }
.li .v { font: 300 24px/1 'Open Sans'; text-align: right; white-space: nowrap; }
.li .v small { display: block; font: 400 12px 'Open Sans'; color: var(--dim); margin-top: 4px; }
.li.new { animation: slide .6s cubic-bezier(.1,.9,.2,1) both; }
@keyframes slide { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.rnd { display: block; padding: 10px 0 14px; }
.rnd .l1 { font: 300 26px/1.1 'Open Sans'; display: flex; justify-content: space-between; gap: 10px; transition: color .12s; }
.rnd:hover .l1 { color: var(--acc); }
.rnd .l2 { font-size: 13px; color: var(--acc); margin: 2px 0 8px; }
.icons { display: flex; gap: 4px; flex-wrap: wrap; }
.icons .more { color: var(--dim); font-size: 13px; align-self: center; margin-left: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 56px 0 10px; }
.steps.four { grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.steps .n { font: 300 64px/1 'Open Sans'; color: var(--acc); }
.steps h3 { font: 300 24px/1.2 'Open Sans'; margin: 6px 0 6px; }
.steps p { margin: 0; color: #aaa; font-size: 14px; }

/* ---------- inner pages ---------- */
.ph { margin: 26px 0 8px; display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.ph .grow { flex: 1; min-width: 260px; }
.ph p { margin: 0; font: 300 20px/1.45 'Open Sans'; color: #ccc; max-width: 760px; }
.ph p b { font-weight: 600; color: #fff; }
.ph h1 { font: 300 56px/1.05 'Open Sans'; margin: 0 0 6px; letter-spacing: -.02em; word-break: break-word; }
.ph h1.addr { font-size: 30px; letter-spacing: 0; word-break: break-all; }
.back { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--dim); font-size: 14px; }
.back::before { content: '←'; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.back:hover { color: #fff; }
.seg { display: flex; gap: 22px; }
.seg a { font: 300 24px/1 'Open Sans'; color: #555; }
.seg a.on, .seg a:hover { color: #fff; }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0 8px; }
.tools .sp { flex: 1; }

.tbl-wrap { overflow-x: auto; margin-top: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font: 400 13px 'Open Sans'; color: var(--dim); padding: 0 12px 10px; white-space: nowrap; border-bottom: 1px solid #333; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl tr:hover td { background: var(--hover); }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl .r { text-align: right; }
.tbl .num { font: 300 20px/1 'Open Sans'; }
.tbl a:not(.coin):not(.wbtn):hover { color: var(--acc); }
.tbl .rk { color: var(--dim); font: 300 20px/1 'Open Sans'; }
.empty { padding: 26px 0; color: var(--dim); font: 300 20px 'Open Sans'; }
.tbl td.empty { padding: 26px 0; }
.pager { display: flex; gap: 6px; margin: 22px 0 6px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; height: 36px; padding: 0 8px; display: grid; place-items: center; font: 400 15px 'Open Sans'; border: 2px solid #333; }
.pager a:hover { border-color: #fff; }
.pager .on { background: var(--acc); border-color: var(--acc); }
.pager .gap { border: 0; color: var(--dim); min-width: 16px; }

.checks .row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.checks .row .lb { flex: 1; min-width: 0; }
.checks .row .val { color: var(--dim); font-size: 14px; text-align: right; }
.capbar { height: 6px; background: rgba(255,255,255,.25); margin: 14px 0 8px; }
.capbar i { display: block; height: 100%; background: #fff; }

.coinhead { display: flex; gap: 24px; align-items: flex-start; margin-top: 18px; flex-wrap: wrap; }
.coinhead .ci.xl { animation: turn .5s cubic-bezier(.1,.9,.2,1) both; transform-origin: left center; }
.coinhead .meta { flex: 1; min-width: 260px; }
.coinhead h1 { font: 300 64px/1 'Open Sans'; margin: 0 0 8px; letter-spacing: -.02em; word-break: break-all; }
.coinhead .n { color: #ccc; font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.coinhead .links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

#app.quiet .tile, #app.quiet .coinhead .ci.xl { animation: none; }
tr[data-href] { cursor: pointer; }
.capbox { background: var(--acc3); padding: 16px 18px; }
.capbox .big { font-size: 40px; }
.capbox .capbar { margin-bottom: 0; }
.prose { font: 300 20px/1.55 'Open Sans'; color: #ddd; max-width: 820px; }
.prose p { margin: 0 0 14px; }
.voice { font-size: 24px; color: #fff; }
.qa { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa b { display: block; font: 300 24px/1.2 'Open Sans'; margin-bottom: 6px; }
.qa p { margin: 0; color: #aaa; }
.qa a { color: var(--acc); }
.gnote { color: var(--dim); font-size: 13px; margin-top: 12px; max-width: 760px; }
.msg { background: var(--tile); padding: 14px 16px; font-size: 15px; color: #ddd; margin-top: 16px; }

.foot { border-top: 1px solid var(--line); margin-top: 60px; padding: 22px 0 30px; width: calc(100% - 80px); max-width: 1160px; color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--acc); }

@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .foot { width: calc(100% - 32px); padding-left: 0; padding-right: 0; }
  .apptitle { flex-wrap: wrap; }
  .apptitle .sp { display: none; }
  .apptitle .wbtn { margin-left: auto; }
  .search { order: 3; width: 100%; }
  .search input { flex: 1; width: auto; }
  .pivot { gap: 22px; }
  .pivot a { font-size: 34px; }
  .lede h1 { font-size: 40px; }
  .lede p { font-size: 17px; }
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
  .tiles.stat { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .tiles.curve { grid-template-columns: repeat(4, 1fr); }
  .tiles.six { grid-template-columns: repeat(2, 1fr); }
  .tiles.stat .cnt { font-size: 28px; }
  .t-clock .time { font-size: 72px; }
  .two, .two.wl { grid-template-columns: 1fr; gap: 0; }
  .steps, .steps.four { grid-template-columns: 1fr; gap: 24px; }
  .h { font-size: 34px; margin-top: 36px; }
  .ph h1 { font-size: 42px; }
  .ph h1.addr { font-size: 22px; }
  .coinhead h1 { font-size: 46px; }
  .ci.xl { width: 110px; height: 110px; }
  .li .l1 { font-size: 17px; }
  .li .v { font-size: 20px; }
  .toast { padding: 12px 16px; }
}
