:root {
  --bg: #000;
  --panel: #0b0d14;
  --line: #1d2130;
  --text: #eef2ff;
  --dim: #8d95ad;
  --accent: #3cf0ff;
  --pix: 'Pixelify Sans', ui-monospace, monospace;
  --sans: Inter, system-ui, sans-serif;
  --frame: #e8ecf3;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.small { font-size: 13px; color: var(--dim); }
.btn { font-family: var(--pix); font-weight: 600; letter-spacing: .5px; background: var(--accent); color: #05070c; border: 0; border-radius: 10px;
  padding: 9px 16px; cursor: pointer; box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .1s, filter .2s; }
.btn:hover { filter: brightness(1.1); } .btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn:disabled { opacity: .5; cursor: wait; }

/* ---------- hero: floating PC on black ---------- */
#hero { min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 8px; padding: 24px 16px; overflow: hidden; }
.float-pc { position: relative; background: none; border: 0; padding: 0; cursor: pointer; width: min(86vw, 760px); animation: float 4.5s ease-in-out infinite; }
.float-pc canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; position: relative; z-index: 1; }
.float-glow { position: absolute; left: 12%; right: 12%; bottom: -10%; height: 16%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(120, 140, 255, .28), transparent); filter: blur(6px); animation: shadow 4.5s ease-in-out infinite; }
.float-pc:hover canvas { filter: brightness(1.08); }
.float-pc:focus-visible { outline: 2px dashed var(--accent); outline-offset: 10px; }
@keyframes float { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(12px); } }
@keyframes shadow { 0%, 100% { transform: scaleX(.85); opacity: .6; } 50% { transform: scaleX(1); opacity: 1; } }
.hero-copy { text-align: center; margin-top: 18px; }
.logo { font-family: var(--pix); font-weight: 700; font-size: clamp(40px, 9vw, 84px); letter-spacing: 6px; margin: 0; line-height: 1;
  background: linear-gradient(90deg, #3cf0ff, #8f7bff, #ff4fd8, #ffb13c, #7dff6a, #3cf0ff); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: rgb 8s linear infinite; }
@keyframes rgb { to { background-position: 300% 0; } }
.hero-copy p { margin: 10px 0 0; font-size: 18px; color: #c8cee0; }
.hero-copy .hint { font-family: var(--pix); font-size: 15px; color: var(--dim); margin-top: 18px; }
.blink { animation: blink 1s steps(2) infinite; color: var(--accent); } @keyframes blink { 50% { opacity: 0; } }
.boot { position: fixed; inset: 0; background: #000; z-index: 50; display: grid; place-items: center; }
.boot pre { font-family: var(--pix); font-size: 18px; color: #7dff6a; margin: 0; padding: 16px; white-space: pre-wrap; }
@media (prefers-reduced-motion: reduce) { .float-pc, .float-glow, .logo, .blink { animation: none; } }

/* ---------- bars ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); z-index: 10; }
.brand { font-family: var(--pix); font-weight: 700; font-size: 20px; letter-spacing: 3px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: hue 6s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.bar nav { display: flex; align-items: center; gap: 16px; font-family: var(--pix); }
.bar nav a { text-decoration: none; color: var(--dim); } .bar nav a:hover { color: var(--text); }
.mode { margin: 14px auto 0; max-width: 1100px; padding: 10px 14px; border: 1px dashed #3a3f55; border-radius: 10px; color: #ffd27a; font-size: 13px; width: calc(100% - 32px); }

/* ---------- launchpad ---------- */
.pad-head { max-width: 1100px; margin: 0 auto; padding: 40px 16px 8px; }
.pad-head h2 { font-family: var(--pix); font-size: clamp(28px, 5vw, 44px); margin: 0 0 8px; }
.pad-head p { color: #b9c0d4; max-width: 660px; margin: 0 0 10px; font-size: 16px; }
.cta { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.cta a { color: var(--dim); }
.btn.big { font-size: 18px; padding: 13px 26px; border-radius: 12px; }
.grid { max-width: 1100px; margin: 0 auto; padding: 24px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; text-decoration: none; display: block; transition: border-color .2s, transform .2s; }
.pcard:hover { border-color: var(--c, var(--accent)); transform: translateY(-2px); }
.pcard canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.pcard h3 { font-family: var(--pix); margin: 10px 0 0; font-size: 18px; display: flex; justify-content: space-between; gap: 8px; }
.pcard h3 span { color: var(--c); }
.pcard .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: 4px; }
.tag { font-family: var(--pix); font-size: 11px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--dim); }
.tag.busy { color: #7dff6a; border-color: #2d5a2a; }
.rules { max-width: 1100px; margin: 24px auto 0; padding: 0 16px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { font-family: var(--pix); margin: 0 0 10px; }
.card ul { margin: 0; padding-left: 18px; color: #c4cadb; }
.split { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.split div { display: flex; justify-content: space-between; font-family: var(--pix); }
.split i { display: block; height: 6px; border-radius: 3px; background: var(--accent); margin-top: 3px; }
.foot { text-align: center; color: var(--dim); font-size: 12px; padding: 30px 16px 40px; font-family: var(--pix); }

/* ---------- one PC ---------- */
.pc-layout { max-width: 1280px; margin: 0 auto; padding: 24px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .pc-layout { grid-template-columns: 1fr; } }
.monitor-wrap { display: flex; flex-direction: column; align-items: center; }
.monitor { width: 100%; background: var(--frame); padding: 10px 10px 0; border-radius: 14px; box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 #c9d0dc, 0 0 60px -20px var(--accent); }
.chin { height: 22px; display: grid; place-items: center; }
.led { width: 8px; height: 4px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.stand { width: 70px; height: 34px; background: linear-gradient(90deg, #b9c1cf, #dfe4ec, #b9c1cf); }
.base { width: 230px; max-width: 60%; height: 12px; border-radius: 8px 8px 4px 4px; background: var(--frame); box-shadow: inset 0 2px 0 #fff; }
.desktop { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; font-size: 13px; color: #18202f;
  background: radial-gradient(60% 70% at 25% 30%, #a9c4ff 0, transparent 70%), radial-gradient(55% 60% at 75% 65%, #ffc6df 0, transparent 70%), linear-gradient(160deg, #7aa0ff, #b49bff 55%, #ffb0d4); }
.icons { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.dicon { width: 68px; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 4px; border-radius: 8px; cursor: pointer; font: 11px var(--sans); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.dicon:hover, .dicon.hot { background: rgba(255,255,255,.25); }
.dicon i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 17px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.windows { position: absolute; inset: 0; }
.win { position: absolute; background: rgba(252, 253, 255, .97); border-radius: 10px; box-shadow: 0 12px 34px rgba(20, 20, 60, .28), 0 0 0 1px rgba(0,0,0,.06);
  display: flex; flex-direction: column; overflow: hidden; animation: pop .22s ease-out; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.win-top { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #f0f3f9; border-bottom: 1px solid #e3e7f0; font: 600 12px var(--sans); cursor: default; }
.win-top .ttl { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-top .x { width: 12px; height: 12px; border-radius: 50%; background: #ff6b81; border: 0; cursor: pointer; padding: 0; }
.win-body { flex: 1; overflow: auto; padding: 12px; }
.win-body pre { margin: 0; white-space: pre-wrap; font: 13px/1.55 var(--sans); }
.win-body img { display: block; max-width: 100%; max-height: 100%; margin: auto; }
.win-body iframe { width: 100%; height: 100%; border: 0; background: #fff; border-radius: 4px; }
.win-body.flush { padding: 0; }
.addr { display: flex; gap: 6px; margin-bottom: 10px; }
.addr span { flex: 1; background: #eef1f7; border-radius: 999px; padding: 5px 12px; font-size: 12px; color: #4b5570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res { padding: 6px 0; border-bottom: 1px solid #eef0f5; } .res b { display: block; color: #2b4ee0; font-weight: 600; } .res small { color: #5d8a5d; word-break: break-all; }
.post { border: 1px solid #e3e7f0; border-radius: 12px; padding: 12px; display: flex; gap: 10px; }
.post .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); flex: none; }
.post .meta { font-size: 12px; color: #6b7590; margin-top: 8px; }
.think { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); max-width: 80%; background: rgba(12,14,22,.82); color: #e6ebff;
  font-size: 12px; padding: 7px 12px; border-radius: 10px; z-index: 6; animation: pop .2s; }
.think b { color: var(--accent); font-family: var(--pix); font-weight: 600; margin-right: 6px; }
.refuse { color: #c62a47; font-weight: 600; }
.flist div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; } .flist div:hover { background: #eef1f7; }
.cursor { position: absolute; left: 50%; top: 50%; width: 18px; height: 22px; z-index: 8; pointer-events: none; transition: left .6s cubic-bezier(.4,.1,.2,1), top .6s cubic-bezier(.4,.1,.2,1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h1v1h1v1h1v1h1v1h1v1h1v1h1v1h-3v1h1v2h-2v-2h-1v1h-1z' fill='%230d0f16'/%3E%3Cpath d='M1 2h1v1h1v1h1v1h1v1h1v1h-3v1h-1z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain; image-rendering: pixelated; }
.cursor.click::after { content: ''; position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); animation: ring .4s ease-out forwards; }
@keyframes ring { to { transform: scale(2); opacity: 0; } }
.taskbar { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 5px 12px;
  background: rgba(245, 247, 252, .82); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.15); z-index: 5; }
.tb-icons { display: flex; gap: 4px; }
.tb-icons span { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; position: relative; }
.tb-icons span.on::after { content: ''; position: absolute; bottom: -3px; left: 9px; width: 8px; height: 2px; border-radius: 2px; background: #3d7bff; }
.clock { font: 600 11px var(--sans); color: #333c52; }

.side { display: flex; flex-direction: column; gap: 12px; }
.coin-head { display: flex; gap: 12px; align-items: center; }
.coin-head canvas { width: 110px; height: auto; image-rendering: pixelated; flex: none; }
.coin-head h2 { font-family: var(--pix); margin: 0; font-size: 24px; line-height: 1.1; }
.about { margin: 0; color: #c4cadb; }
.task-form { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.task-form label { font-family: var(--pix); }
textarea, input { width: 100%; background: #05070c; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: 14px var(--sans); resize: vertical; }
textarea:focus, input:focus { outline: 1px solid var(--accent); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sub { font-family: var(--pix); margin: 8px 0 0; }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tasks li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tasks .q { font-weight: 500; }
.tasks .s { font-size: 13px; color: #aeb6cc; margin-top: 4px; white-space: pre-wrap; }
.st { font-family: var(--pix); font-size: 11px; padding: 1px 7px; border-radius: 6px; float: right; margin-left: 8px; }
.st.done { background: #10301a; color: #7dff6a; } .st.running { background: #0d2b33; color: #3cf0ff; } .st.queued { background: #222634; color: #b9c0d4; }
.st.declined, .st.error { background: #3a1018; color: #ff8a9e; }

.btn.sm { padding: 4px 10px; font-size: 12px; }
.plan-pick { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-pick legend { font-family: var(--pix); padding: 0 6px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { background: #05070c; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; }
.presets button:hover { border-color: var(--accent); }
.prow { display: grid; grid-template-columns: 22px 1fr 110px 44px; align-items: center; gap: 8px; font-size: 13px; }
.prow input[type=range] { accent-color: var(--accent); padding: 0; border: 0; background: none; }
.prow b { font-family: var(--pix); text-align: right; }
.total { font-family: var(--pix); } .total.bad { color: #ff8a9e; } .total.ok { color: #7dff6a; }
.feecard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.feecard h4 { margin: 6px 0 0; font-family: var(--pix); font-size: 13px; color: var(--dim); }
.pbar { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.pbar i { grid-column: 2 / 4; height: 5px; border-radius: 3px; background: var(--accent); }
.rounds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow: auto; }
.rounds li { font-size: 12.5px; color: #c4cadb; border-left: 2px solid var(--accent); padding: 2px 0 2px 8px; }
.rounds li small { color: var(--dim); display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chips span { font-size: 11px; padding: 1px 6px; border-radius: 6px; background: #141826; color: #c4cadb; }
/* CA chip, stats, tabs */
.ca { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 12px; margin-bottom: 14px; }
.ca code { color: var(--text); word-break: break-all; }
.dotg { width: 8px; height: 8px; border-radius: 50%; background: #7dff6a; box-shadow: 0 0 8px #7dff6a; } .dotg.off { background: #555c70; box-shadow: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 22px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.stats b { display: block; font-family: var(--pix); font-size: 26px; line-height: 1.1; }
.stats span { font-size: 12px; color: var(--dim); }
.toolbar { max-width: 1100px; margin: 18px auto 0; padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.tabs, .filters { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button, .filters button { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: #c4cadb; }
.tabs button[aria-selected="true"], .filters button.on { border-color: var(--accent); color: var(--text); box-shadow: 0 0 10px -4px var(--accent); }
.tabs button { font-family: var(--pix); }
.badge { font-family: var(--pix); font-size: 11px; padding: 1px 8px; border-radius: 6px; background: #1a1f2e; color: #b9c0d4; }
.badge.active { background: #10301a; color: #7dff6a; } .badge.working { background: #0d2b33; color: #3cf0ff; } .badge.paused { background: #3a1018; color: #ff8a9e; }
.rule1 { font-size: 13px; color: #c4cadb; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rule1 em { color: var(--dim); font-style: normal; }
.steps { margin: 0; padding-left: 18px; color: #c4cadb; display: flex; flex-direction: column; gap: 6px; }
.calc { display: block; font-size: 13px; margin: 10px 0 4px; }
.calc input { display: block; width: 100%; margin-top: 6px; padding: 0; border: 0; background: none; accent-color: var(--accent); }
.grid > p { grid-column: 1 / -1; }

/* the main coin, pinned */
.maincard { max-width: 1100px; margin: 22px auto 0; padding: 0 16px; }
.mainc { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; text-decoration: none; padding: 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(60,240,255,.08), rgba(255,79,216,.08)), var(--panel); border: 1px solid #2c3350; box-shadow: 0 0 40px -18px #8f7bff; }
.mainc:hover { border-color: #8f7bff; }
.mainc canvas { width: 100%; height: auto; image-rendering: pixelated; }
.tagline { font-family: var(--pix); font-size: 12px; letter-spacing: 2px; color: #ffd27a; }
.mainc h3 { font-family: var(--pix); font-size: 34px; margin: 4px 0 6px; line-height: 1; }
.mainc h3 small { font-size: 12px; color: var(--dim); font-family: var(--sans); font-weight: 400; margin-left: 8px; }
.mainc ul { margin: 0 0 12px; padding-left: 18px; color: #c4cadb; font-size: 13.5px; }
.soon { font-family: var(--pix); color: #ffd27a; margin: 4px 0 0; } .soon a { color: var(--accent); }
.mainc-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.mainc-nums div { background: #05070c; border-radius: 10px; padding: 8px 10px; }
.mainc-nums b { display: block; font-family: var(--pix); font-size: 20px; } .mainc-nums span { font-size: 11.5px; color: var(--dim); }
@media (max-width: 720px) { .mainc { grid-template-columns: 1fr; } }

/* holders + my fees */
.holders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; font-size: 12.5px; }
.holders li { display: grid; grid-template-columns: 90px 1fr auto; gap: 8px; padding: 4px 6px; border-radius: 6px; background: #05070c; }
.holders span { color: var(--dim); } .holders b { font-weight: 500; color: #7dff6a; }
.me-wrap { max-width: 860px; margin: 0 auto; padding: 32px 16px 60px; display: flex; flex-direction: column; gap: 14px; }
.me-wrap h2 { font-family: var(--pix); font-size: 36px; margin: 0; }
.me-find { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.me-find input { flex: 1; min-width: 220px; }
.me-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.me-total b { display: block; font-family: var(--pix); font-size: 30px; color: #7dff6a; } .me-total span { color: var(--dim); font-size: 13px; }
.me-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.me-table th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.me-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.me-table a { color: var(--accent); }
.ok { color: #7dff6a; margin: 0 0 8px; }
@media (max-width: 600px) { .me-table th:nth-child(4), .me-table td:nth-child(4) { display: none; } }

/* coin page fee card */
.rtext { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: #dfe4f2; }
.fp { margin: 0; font-size: 12px; color: var(--dim); } .fp code { color: #c4cadb; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nums div { background: #05070c; border-radius: 8px; padding: 6px 8px; } .nums b { display: block; font-family: var(--pix); } .nums span { font-size: 11px; color: var(--dim); }
.fuel { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.fuel i { height: 6px; background: #1a1f2e; border-radius: 3px; overflow: hidden; } .fuel b { display: block; height: 100%; background: var(--accent); }
.rounds details summary { cursor: pointer; list-style: none; } .rounds details summary::-webkit-details-marker { display: none; }
.rounds details ol { margin: 6px 0 4px; padding-left: 16px; } .rounds li.no, .psteps li.no { color: #ffb36b; }
.rounds .hash { font-family: ui-monospace, monospace; font-size: 11px; color: var(--dim); }

.webpick { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.webpick legend { font-family: var(--pix); padding: 0 6px; }
.webpick p { margin: 0; }

/* PC builder */
.parts { display: flex; flex-direction: column; gap: 6px; }
dialog label.part { display: grid; grid-template-columns: auto 30px 1fr auto; flex-direction: row; align-items: center; gap: 10px; background: #05070c; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; }
dialog label.part.on { border-color: var(--accent); }
.part input { width: auto; } .part .pi { font-size: 20px; text-align: center; }
.part b { display: block; color: var(--text); font-weight: 600; font-size: 13.5px; } .part small { color: var(--dim); font-size: 12px; }
.part em { font-style: normal; font-family: var(--pix); color: var(--text); }
.partlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.partlist li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; opacity: .65; }
.partlist li.in { opacity: 1; } .partlist b { display: block; font-weight: 600; } .partlist small { color: var(--dim); }
.partlist em { font-style: normal; font-size: 11.5px; color: #7dff6a; text-align: right; }
.partlist li:not(.in) em { color: var(--dim); }
.partlist em i { display: block; width: 70px; height: 4px; background: #1a1f2e; border-radius: 2px; margin-bottom: 3px; overflow: hidden; }
.partlist em i b { height: 100%; background: var(--accent); }
#siteLine a { color: var(--accent); }
.dicon.locked { opacity: .45; filter: grayscale(1); }
.dicon.locked i::after { content: '🔒'; position: absolute; font-size: 11px; transform: translate(12px, 12px); }

/* pairing */
.pairpick { display: flex; flex-direction: column; gap: 8px; }
.pairpick .lbl { font-size: 13px; color: #c4cadb; }
.pairbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pairbtns button { background: #05070c; border: 1px solid var(--line); border-radius: 10px; padding: 9px; font-family: var(--pix); cursor: pointer; }
.pairbtns button[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 12px -5px var(--accent); }
.pairlist { list-style: none; margin: 6px 0; padding: 0; max-height: 230px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.pairlist button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 7px 10px; cursor: pointer; text-align: left; }
.pairlist button:hover, .pairlist button.on { background: #141826; }
.pairlist button.on { box-shadow: inset 3px 0 0 var(--accent); }
.pairlist img, .pairlist i { width: 28px; height: 28px; border-radius: 50%; background: #1a1f2e; object-fit: cover; }
.pairlist b { display: block; font-weight: 500; font-size: 13px; } .pairlist small { display: block; color: var(--dim); font-size: 11px; }
.pairlist em { font-style: normal; text-align: right; font-size: 13px; }
dialog label.feein { flex-direction: row; align-items: center; gap: 8px; } .feein input { width: 90px; }
.pairtag { color: var(--dim); font-size: 12px; margin-left: 2px; }

/* launch wizard */
dialog#launch { width: min(640px, calc(100vw - 32px)); }
.wiz-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wsteps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-family: var(--pix); font-size: 12px; }
.wsteps li { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.wsteps li.on { border-color: var(--accent); color: var(--text); }
.wpage { display: flex; flex-direction: column; gap: 10px; }
.wpage h4 { margin: 4px 0 0; font-family: var(--pix); }
.ask { background: #05070c; border: 1px solid var(--accent); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ask label { font-family: var(--pix); }
.rrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #05070c; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.rrow select, .rrow input { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 6px; font: 13px var(--sans); width: auto; }
.rrow input { width: 76px; }
dialog label.inl { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; font-size: 12px; color: #c4cadb; }
.rrow input { width: 64px; }
.del { margin-left: auto; background: none; border: 0; color: #ff8a9e; font-size: 18px; cursor: pointer; }
.preview { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.pretend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pretend button { background: #05070c; border: 1px dashed var(--line); border-radius: 8px; padding: 3px 9px; font-size: 12px; cursor: pointer; }
.pretend button:hover { border-color: var(--accent); }
.psteps { margin: 0; padding-left: 4px; list-style: none; font-size: 13px; color: #7dff6a; }
.tick { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-size: 13px !important; }
.tick input { width: auto; margin-top: 3px; }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 0; width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0,0,0,.7); }
dialog form { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
dialog h3 { font-family: var(--pix); margin: 0; font-size: 22px; }
dialog label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #c4cadb; }
.err { color: #ff8a9e; min-height: 1em; margin: 0; font-size: 13px; }
