/* pages.css — what lives inside the tab pages: list views, bars, graphs, trees, the passport, dialogs. */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; align-items: start; margin-top: 4px; }
.cols.tight { gap: 10px 22px; }
.cols > * { min-width: 0; }
.page p + p { margin-top: 8px; }
.page > p, .cols p { max-width: 75ch; }
.note { color: var(--ink-soft); margin-top: 6px; }
small { font-size: 11px; color: var(--ink-soft); }
.stack { display: grid; gap: 4px; }
.inline { display: flex; gap: 6px; }
.inline .field { flex: 1 1 auto; min-width: 0; }
.big-line { font: 700 clamp(22px, 2.4vw, 30px)/1.15 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.msg { min-height: 18px; font-weight: 700; }
.msg.err { color: #B3200A; }
.msg.ok { color: #1E6B10; }

h3.sep { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; font: 700 13px/1.2 Tahoma, Verdana, sans-serif; color: #0046D5; }
h3.sep::after { content: ""; flex: 1 1 auto; height: 0; border-top: 1px solid #C9C8D3; border-bottom: 1px solid #fff; }

.fields { display: grid; gap: 8px 10px; margin-top: 10px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fields.narrow { max-width: 520px; }
.fields .row { display: grid; gap: 3px; min-width: 0; }
.fields .field { width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fields.compact .lbl { font-size: 12px; }
.after-tx { margin-top: 8px; }

/* flow (ecosystem): numbered XP wizard steps */
.flow { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 6px; }
.flow li { counter-increment: f; position: relative; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid #C9C8D3; border-radius: 3px; opacity: .25; transform: translateX(-6px); transition: opacity .3s steps(3), transform .3s var(--ease-zoom); }
.flow li::before { content: counter(f); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#FFE38A, #F2B51C 55%, #C98A06); border: 1px solid #8A5A00; font-weight: 700; color: #3A2600; }
.flow li span { color: var(--ink-soft); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 17px; bottom: -7px; width: 2px; height: 7px; background: #8A5A00; }
.flow.is-in li { opacity: 1; transform: none; }
.flow.is-in li:nth-child(2) { transition-delay: .08s; } .flow.is-in li:nth-child(3) { transition-delay: .16s; } .flow.is-in li:nth-child(4) { transition-delay: .24s; } .flow.is-in li:nth-child(5) { transition-delay: .32s; }

/* bars = XP progress bars */
.bars { display: grid; gap: 7px; margin: 6px 0 4px; }
.bar { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) 120px; align-items: center; gap: 10px; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 400; }
.bar.total { border-top: 1px solid #C9C8D3; padding-top: 6px; } .bar.total b, .bar.total span { font-weight: 700; }
.bars.compact { margin-top: 12px; } .bars.compact .bar { grid-template-columns: 90px minmax(0, 1fr) 60px; }
.bars.is-in .pb > i { width: var(--v); }
.bars .bar:nth-child(2) .pb > i { transition-delay: .1s; } .bars .bar:nth-child(3) .pb > i { transition-delay: .2s; } .bars .bar:nth-child(4) .pb > i { transition-delay: .3s; } .bars .bar:nth-child(5) .pb > i { transition-delay: .4s; } .bars .bar:nth-child(6) .pb > i { transition-delay: .5s; } .bars .bar:nth-child(7) .pb > i { transition-delay: .6s; }

/* faucet */
.faucet-form { display: grid; gap: 8px; justify-items: start; }
.faucet-form > * { max-width: 100%; }
.faucet-form .stack, .faucet-form .fields { width: 100%; }
.captcha { display: grid; gap: 6px; }
.cap-row { display: flex; align-items: center; gap: 8px; }
.cap-row canvas { width: 168px; height: 46px; border: 1px solid var(--field-border); background: #F3F1E6; }
.captcha .field { max-width: 168px; text-transform: uppercase; letter-spacing: .2em; }
.checklist { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 5px; }
.checklist li { position: relative; padding: 3px 0 3px 26px; color: #6F6F7C; }
.checklist li em { font-style: normal; color: var(--ink-soft); font-size: 12px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E4E3EA; border: 1px solid #B5B4C3; }
.checklist li.is-run { color: #000; font-weight: 700; }
.checklist li.is-run::before { border-radius: 0; border: 0; background: none; width: 0; height: 0; top: 5px; left: 6px; border-left: 9px solid #2155B8; border-top: 7px solid transparent; border-bottom: 7px solid transparent; animation: blink .4s steps(2) infinite; }
.checklist li.is-ok { color: #000; }
.checklist li.is-ok::before { background: #3BB43B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: #1E6B10; }
.checklist li.is-no { color: #B3200A; font-weight: 700; }
.checklist li.is-no::before { background: #D4381E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: #7A1410; }
@keyframes blink { 50% { opacity: .2; } }

/* mining */
.miner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.win.console, .win.props, .win.notepad { border-radius: 7px 7px 0 0; box-shadow: 0 0 0 3px #DCDCE6 inset, 0 3px 10px rgba(10, 12, 30, .2); padding: 0 4px 4px; }
.win .titlebar .ico { width: 16px; height: 16px; }
.console .titlebar, .props .titlebar, .notepad .titlebar { height: 28px; border-radius: 7px 7px 0 0; }
.console .titlebar .title, .props .titlebar .title, .notepad .titlebar .title { font-size: 13px; }
.console-body { min-height: 288px; max-height: 288px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 10px; margin-top: 4px; background: #000; color: #79E68A; font: var(--mono); border: 1px solid #5A5A6A; }
.console-body p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.console-body .con-head { display: flex; justify-content: space-between; color: #B9F7C2; border-bottom: 1px dashed #2E5A36; padding-bottom: 4px; margin-bottom: auto; }
.console-body .dim { color: #3F8A4C; }
.console-body .gold { color: #F7CB4D; }
.console-body .cur::after { content: "_"; animation: blink .8s steps(2) infinite; }
.miner-side .fields { margin-top: 0; }
.tm { margin: 10px 0 0; }
.tm figcaption { margin-bottom: 4px; }
.tm svg { display: block; width: 100%; height: 96px; background: #000; border: 1px solid #5A5A6A; }
.tm.big svg { height: auto; aspect-ratio: 320 / 150; }
.tm .grid { stroke: #00803A; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tm .line { fill: none; stroke: #00FF00; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tm .line2 { fill: none; stroke: #FFFF00; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tm text { fill: #00FF00; font: 9px "Lucida Console", "Courier New", monospace; }
.tm .marker { stroke: #FFFF00; stroke-dasharray: 3 3; }
.tm .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s steps(24); }
.tm.is-in .draw { stroke-dashoffset: 0; }
.miner-btns { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.formula { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 8px 14px; width: max-content; max-width: 100%; background: #fff; border: 1px solid #C9C8D3; font: italic 18px/1 Georgia, "Times New Roman", serif; }
.frac { display: inline-grid; text-align: center; } .frac > span:first-child { border-bottom: 1px solid #000; padding: 0 4px 2px; } .frac > span:last-child { padding-top: 2px; }
var { font-style: italic; font-family: Georgia, "Times New Roman", serif; }
.sim { display: grid; gap: 6px; }
.sim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.sim-grid b { float: right; font-variant-numeric: tabular-nums; }
.ico-cell { display: flex; align-items: center; gap: 10px; white-space: normal; }
.ico-cell svg { width: 32px; height: 32px; flex: none; }
.hw td { vertical-align: middle; }
.hw .hw-state { white-space: nowrap; color: #8A8A96; }
.hw tr.is-unlocked .hw-state { color: #1E6B10; font-weight: 700; }
.hw tr.is-current td { background: #FFF6D6; }
.hw tr:not(.is-unlocked) svg { filter: grayscale(1) opacity(.55); }

/* explorer */
.explorer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.lv .hash, .kv .hash { font: 12px/1.4 "Lucida Console", "Courier New", monospace; }
.blocks tbody tr { cursor: default; }
.blocks tr.is-new td { animation: row-in .6s steps(4, end); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 12px; margin: 0; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* halving */
.countdown { margin-top: 0; }
.cd-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 18px 26px; align-items: center; }
.cd-boxes { display: flex; gap: 8px; }
.cd-boxes span, .cd-swap span { display: grid; justify-items: center; gap: 2px; min-width: 84px; padding: 8px 10px 6px; background: #fff; border: 1px solid var(--field-border); box-shadow: inset 1px 1px 0 #E4E3EA; }
.cd-boxes b, .cd-swap b { font: 700 clamp(28px, 3.4vw, 44px)/1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; font-variant-numeric: lining-nums tabular-nums; }
.cd-swap { display: flex; align-items: center; gap: 8px; }
.cd-swap svg { width: 28px; height: 28px; }
.cd-swap .next { color: #B35A00; }
.cd-text { display: grid; gap: 6px; justify-items: start; }
.lv tr[aria-selected="true"] td:first-child { font-weight: 700; }

/* trees (XP tree view with dotted guides) */
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree { margin: 4px 0 12px; padding: 8px 10px; background: #fff; border: 1px solid #828790; }
.tree ul { padding-left: 22px; }
.tree li { position: relative; padding-left: 14px; }
.tree ul > li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px dotted #8C8C9C; }
.tree ul > li:last-child::before { bottom: auto; height: 13px; }
.tree ul > li::after { content: ""; position: absolute; left: 0; top: 13px; width: 12px; border-top: 1px dotted #8C8C9C; }
.tree .node { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px; border: 1px solid transparent; }
.tree .node svg { width: 18px; height: 18px; flex: none; }
.tree .node:hover { background: #EFF0F5; border-color: #C9C8D3; }
.tree .node:active { background: var(--hi); }
.tree .node.hot { background: #FFF6D6; }
.tree[data-reveal] li { opacity: 0; transition: opacity .2s steps(2); }
.tree.is-in li { opacity: 1; }
.tree.is-in ul li { transition-delay: .2s; } .tree.is-in ul ul li { transition-delay: .4s; } .tree.is-in ul ul ul li { transition-delay: .6s; }

/* eras: XP "Tiles" view */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid #828790; }
.tiles li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 8px; border: 1px solid transparent; border-radius: 2px; transition: background .1s linear; }
.tiles li:hover { background: #EFF0F5; border-color: #C9C8D3; }
.tiles li:hover svg { transform: translateY(-2px); }
.tiles svg { width: 48px; height: 48px; transition: transform .15s var(--ease-zoom); }
.tiles b { display: block; }
.tiles small { display: block; margin-bottom: 3px; }
.tiles li.is-current { background: #FFF6D6; border-color: #E5B85A; }
.tiles li.is-current b::after { content: "  ◄ current era"; color: #B35A00; font-weight: 400; font-size: 12px; }
.tiles li.is-past { opacity: .62; }

.gantt-wrap { overflow-x: auto; }
.gantt { min-width: 560px; }
.gantt td:first-child, .gantt th:first-child { width: 150px; white-space: nowrap; }
.gantt td:last-child { position: relative; padding: 4px 8px; background-image: repeating-linear-gradient(90deg, #ECECF2 0 1px, transparent 1px calc(100% / 7)); background-origin: content-box; background-clip: content-box; }
.g-axis { position: relative; display: flex; justify-content: space-between; }
.g-axis span { width: 0; display: flex; justify-content: center; }
.g-bar { display: block; height: 14px; margin-left: calc(var(--s) / 21 * 100%); width: 0; border: 1px solid #6B4300; border-radius: 2px; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, .7) 7px 9px), linear-gradient(#FFE9A6, #F8CF4E 30%, #E9AE12 55%, #F2C23C 80%, #FFE19A); transition: width .9s steps(9); }
.g-bar.gray { border-color: #6E6E80; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, .7) 7px 9px), linear-gradient(#E9E9EF, #C3C4D0 45%, #A9AABB 55%, #CACBD6); }
.gantt.is-in .g-bar { width: calc(var(--l) / 21 * 100%); }
.g-halv td:last-child { height: 22px; }
.g-dia { position: absolute; top: 50%; left: calc(8px + var(--s) / 21 * (100% - 16px)); width: 10px; height: 10px; background: #E68B2C; border: 1px solid #7E3F00; transform: translate(-50%, -50%) rotate(45deg); }
.gantt tr.is-current td:first-child { font-weight: 700; }
.gantt tr.is-current .g-bar { outline: 2px solid #2155B8; outline-offset: 1px; }

/* passport */
.passport-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.props-tabs { display: flex; padding: 8px 8px 0; border-bottom: 1px solid var(--edge); }
.props-tabs .tab { top: 1px; }
.props-body { padding: 14px 14px 10px; background: #FCFCFE; border: 1px solid var(--edge); border-top: 0; display: grid; gap: 12px; }
.pp-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #D5D4DE; }
.pp-head svg { width: 52px; height: 52px; flex: none; }
.pp-head small { display: block; letter-spacing: .06em; }
.pp-head b { display: block; font: 700 22px/1.1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; letter-spacing: .04em; }
.pp-progress { height: 16px; }
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stamps li { position: relative; display: grid; justify-items: center; gap: 3px; padding: 10px 4px 8px; background: #fff; border: 1px solid #C9C8D3; border-radius: 3px; text-align: center; transition: transform .15s var(--ease-zoom); }
.stamps li svg { width: 36px; height: 36px; }
.stamps li:not(.is-on) svg { filter: grayscale(1) opacity(.45); }
.stamps li:not(.is-on)::after { content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7.5V5.2a3 3 0 0 1 6 0v2.3' fill='none' stroke='%235E6070' stroke-width='1.6'/%3E%3Crect x='3.5' y='7' width='9' height='7.5' rx='1' fill='%23F2C23C' stroke='%238A5A00'/%3E%3C/svg%3E") center / contain no-repeat; }
.stamps li.is-on { border-color: #E5B85A; background: #FFF9E6; }
.stamps li.is-new { animation: stamp-on .5s var(--ease-zoom); }
@keyframes stamp-on { 0% { transform: scale(.7); } 70% { transform: scale(1.08); } }
.stamps li:hover { transform: translateY(-2px); }
.pp-slogan { text-align: center; color: var(--ink-soft); }
.props .dlg-foot { padding: 8px 4px 6px; }

/* statistics */
.disk { display: grid; gap: 10px; }
.disk .pie { width: min(100%, 300px); justify-self: center; }
.legend-kv dd { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.pie { width: 100%; height: auto; }
.pie .sl { transition: opacity .2s linear; }
.legend-kv dt { display: flex; align-items: center; gap: 6px; }
.legend-kv .cap { border-top: 1px solid #C9C8D3; padding-top: 5px; font-weight: 700; }
.sw { display: inline-block; width: 14px; height: 14px; border: 1px solid #333; flex: none; }
.sw.blue { background: #3355FF; } .sw.magenta { background: #FF33FF; }
.sw.s1, .stack-bar .s1 { background: linear-gradient(#FFE9A6, #E9AE12); } .sw.s2, .stack-bar .s2 { background: linear-gradient(#FFF2CC, #DFBC79); } .sw.s3, .stack-bar .s3 { background: linear-gradient(#D9DBE3, #8E949E); }
.stack-bar { display: flex; height: 22px; margin: 8px 0 12px; border: 1px solid #6E6E80; background: #fff; padding: 2px; gap: 2px; }
.stack-bar i { display: block; width: 0; transition: width 1s steps(10); }
.stack-bar.is-in i { width: var(--w); }
.xl-chart { margin: 0; background: #fff; border: 1px solid #828790; padding: 6px; }
.xl-chart svg { display: block; width: 100%; height: auto; }
.xl-chart text { font: 10px Tahoma, Verdana, sans-serif; fill: #000; }
.xl-chart .draw { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.4s steps(20); }
.xl-chart .col { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .8s steps(8); }
.is-in .draw, svg.is-in .draw { stroke-dashoffset: 0; }
svg.is-in .col { transform: none; }

/* notepad */
.notepad .np-body { margin: 4px 0 0; height: 420px; overflow: auto; padding: 6px 8px; background: #fff; border: 1px solid #828790; font: var(--mono); white-space: pre-wrap; word-break: break-word; }
.np-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
a.btn:hover { background: linear-gradient(#FFFFFF, #F6F6F8 40%, #E9E9EF 80%, #D8D8E2); color: var(--ink); }
a.btn:active { background: linear-gradient(#D2D2DC, #E0E0E8 45%, #EEEEF2); }

/* finale: the setup wizard's finish page */
.finale { padding: 22px 14px 18px; background: #E6E5EB; }
.finish { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #fff; border: 1px solid #828790; box-shadow: 0 2px 8px rgba(10, 12, 30, .15); }
.banner { display: grid; align-content: start; justify-items: start; gap: 6px; padding: 26px 24px; color: #fff; background: radial-gradient(120% 70% at 0% 0%, #3E6BA8, #234677 50%, #142B4E); }
.banner svg { width: 88px; height: 88px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.banner .b-name { font: 700 44px/1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; color: #FFE45C; margin-top: 4px; }
.banner .b-sub { color: #B9C7E2; letter-spacing: .08em; }
.banner ul { margin: 12px 0; padding: 0; list-style: none; font: 700 20px/1.25 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; }
.banner li.gold, .banner .b-peg { color: #FFE45C; }
.banner .b-peg { font: 700 24px/1.1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; }
.banner .b-note { color: #B9C7E2; }
.finish-body { display: grid; align-content: start; gap: 12px; padding: 26px 26px 18px; }
.finish-body h2 { font: 700 clamp(24px, 2.8vw, 34px)/1.1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; letter-spacing: -.01em; }
.finish-body .fields { margin-top: 0; }
.finish-big { font: 400 clamp(17px, 1.7vw, 21px)/1.35 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; }
.finish-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid #D5D4DE; }
.page > p.copyright { max-width: none; text-align: center; color: var(--ink-soft); margin-top: 12px; }

/* dialogs */
.dlg.wide { width: min(560px, calc(100vw - 24px)); }
.dlg .lv-wrap { max-height: 220px; }
.dlg-foot.spread { justify-content: space-between; align-items: center; }
.about { grid-template-columns: 48px 1fr; align-items: start; }
.about svg, .tip svg { width: 48px; height: 48px; }
.about p + p { margin-top: 6px; }
.tip { grid-template-columns: 48px 1fr; min-height: 110px; background: #fff; margin: 10px 12px 0; border: 1px solid #828790; padding: 12px; }
.tip-h { font: 700 18px/1.2 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; margin-bottom: 6px; }
.book tbody tr[data-pay] { cursor: default; }
.book tbody tr.muted td { color: #8A8A96; }
.num-in { font-variant-numeric: tabular-nums; }
.field.is-bad { border-color: #C23A1E; box-shadow: inset 0 0 0 1px #F6C9BE; }

/* splash = the loader, once per session */
.splash { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(20, 30, 60, .15); pointer-events: none; }
.splash[hidden] { display: none; }
.splash-card { pointer-events: auto; display: grid; grid-template-columns: 96px 1fr; gap: 8px 20px; width: min(470px, calc(100vw - 32px)); padding: 26px 28px 20px; background: linear-gradient(160deg, #FFFFFF, #E9E8EF); border: 1px solid #7A8296; box-shadow: 0 16px 50px rgba(10, 12, 30, .45); animation: win-open .3s var(--ease-zoom); cursor: default; }
.splash-card > svg { width: 96px; height: 96px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.s-name { font: 700 34px/1 "Trebuchet MS", "Lucida Grande", Tahoma, sans-serif; }
.s-ver { color: var(--ink-soft); margin: 4px 0 14px; }
.s-msg { margin-bottom: 6px; }
.s-tag { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #D5D4DE; font-weight: 700; }
.splash.is-leaving { opacity: 0; transition: opacity .25s linear; }

/* the signature: a number halves */
.is-splitting { position: relative; }
.is-splitting .sp-new { animation: sp-new .5s .34s var(--ease-zoom) both; }
.is-splitting .sp-top, .is-splitting .sp-bot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: inherit; padding: inherit; pointer-events: none; white-space: nowrap; color: #B35A00; }
.is-splitting .sp-top { clip-path: inset(0 0 52% 0); animation: sp-top .7s .14s var(--ease-zoom) both; }
.is-splitting .sp-bot { clip-path: inset(48% 0 0 0); animation: sp-bot .7s .14s var(--ease-zoom) both; }
.is-splitting::after { content: ""; position: absolute; left: 3px; right: 3px; top: calc(50% - 1px); height: 2px; background: linear-gradient(90deg, #FFE08A, #E68B2C); box-shadow: 0 0 6px #F7B74C; transform-origin: left; animation: sp-cut .9s linear forwards; pointer-events: none; }
@keyframes sp-cut { 0% { transform: scaleX(0); } 18% { transform: scaleX(1); opacity: 1; } 45%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes sp-top { 0%, 20% { transform: none; opacity: 1; } to { transform: translate(-18px, -85%) rotate(-8deg); opacity: 0; } }
@keyframes sp-bot { 0%, 20% { transform: none; opacity: 1; } to { transform: translate(18px, 85%) rotate(8deg); opacity: 0; } }
@keyframes sp-new { from { opacity: 0; transform: scale(.55); } }
.flash { animation: flash .9s steps(6); }
@keyframes flash { 0%, 33%, 66% { background: #FFE08A; } }
.wiz-ico.halves { position: relative; }
.coin-split { position: relative; width: 64px; height: 64px; flex: none; }
.coin-split svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, .25)); }
.coin-split svg:first-child { clip-path: inset(0 50% 0 0); }
.coin-split svg:last-child { clip-path: inset(0 0 0 50%); }
.coin-split.go svg:first-child { animation: half-l 1.1s var(--ease-zoom); }
.coin-split.go svg:last-child { animation: half-r 1.1s var(--ease-zoom); }
@keyframes half-l { 35%, 55% { transform: translate(-9px, 4px) rotate(-14deg); } }
@keyframes half-r { 35%, 55% { transform: translate(9px, -4px) rotate(14deg); } }
.coin-split:hover svg:first-child { transform: translateX(-3px) rotate(-4deg); transition: transform .2s var(--ease-zoom); }
.coin-split:hover svg:last-child { transform: translateX(3px) rotate(4deg); transition: transform .2s var(--ease-zoom); }

/* window states */
.app.is-min { animation: win-min .32s var(--ease-zoom) forwards; }
@keyframes win-min { to { opacity: 0; transform: translateY(40vh) scale(.2); } }
.app[hidden] { display: none; }
.app.is-restoring { animation: win-open .3s var(--ease-zoom); }
body.app-hidden { padding-bottom: 0; }

@media (max-width: 960px) {
  .cols, .miner, .explorer, .passport-cols { grid-template-columns: minmax(0, 1fr); }
  .cd-grid { grid-template-columns: 1fr; }
  .finish { grid-template-columns: minmax(0, 1fr); }
  .banner ul { font-size: 18px; }
}
@media (max-width: 720px) {
  .fields.four, .fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .bar .pb { grid-column: 1 / -1; grid-row: 2; }
  .bar span:first-child { grid-row: 1; }
  .bars.compact .bar { grid-template-columns: minmax(0, 1fr) auto; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .sim-grid { grid-template-columns: minmax(0, 1fr); }
  .cd-boxes span { min-width: 0; flex: 1 1 0; }
  .cd-swap span { flex: 1 1 0; min-width: 0; }
  .disk { grid-template-columns: minmax(0, 1fr); }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-body { min-height: 220px; max-height: 220px; font-size: 12px; }
  .two-col-mobile thead { display: none; }
  .two-col-mobile tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .two-col-mobile td { padding: 4px 8px; }
  .notepad .np-body { height: 360px; font-size: 12px; }
  .finish-foot { flex-direction: column; }
  .finish-foot .btn { justify-content: center; }
  .banner { padding: 20px; }
  .banner ul { font-size: 17px; }
  .inline { flex-direction: column; }
  .lv td, .lv th { white-space: normal; }
  .lv .hash { overflow-wrap: anywhere; }
  .hw td:first-child, .hw th:first-child, .hw .hw-desc { display: none; }
  .hw td, .hw th { padding: 4px 6px; }
}
