/* Mobile shell — Owner · on-chain wallets (owner 2026-10-17). */
.mwc2 { display: flex; flex-direction: column; gap: 12px; }
.mwc2 .mws-lbl { letter-spacing: .5px; }
.mwc2-card { display: flex; flex-direction: column; gap: 12px; }
.mwc2-chead { display: flex; justify-content: space-between; align-items: center; }
.mwc2-cap { font-size: 12px; color: var(--mws-ink-2); font-weight: 700; }
.mwc2-note, .mwc2-foot { font-size: 13px; line-height: 17px; color: var(--mws-ink-2); }
.mwc2-foot { text-align: center; padding: 4px 12px 8px; }

/* hero */
.mwc2-hero { border-radius: 20px; padding: 16px; background: linear-gradient(160deg, var(--mws-hero-a), var(--mws-hero-b)); border: 1px solid var(--mws-line-2); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--mws-shadow); }
.mwc2-hero.on { border-color: rgba(32,199,117,.35); }
.mwc2-hrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mwc2-htx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mwc2-htx b { font-size: 26px; line-height: 30px; letter-spacing: -.3px; }
.mwc2-hero.on .mwc2-htx b { color: var(--mws-up); }
.mwc2-hsub { font-size: 13px; color: var(--mws-ink-2); }
.mwc2-sw { flex: 0 0 auto; width: 56px; height: 32px; border-radius: 16px; border: 0; padding: 2px; background: var(--mws-line-strong); cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.mwc2-sw .knob { display: block; width: 28px; height: 28px; border-radius: 16px; background: #fff; transition: transform .2s cubic-bezier(.2,.9,.25,1); box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.mwc2-sw.on { background: var(--mws-up); }
.mwc2-sw.on .knob { transform: translateX(24px); }
.mwc2-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mwc2-tile { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 10px 11px; border-radius: 16px; background: var(--mws-well); border: 1px solid var(--mws-line-2); }
.mwc2-tile .dot { grid-row: 1 / span 2; width: 18px; height: 18px; border-radius: 8px; border: 1.5px solid var(--mws-line-strong); display: flex; align-items: center; justify-content: center; color: #0b1018; margin-top: 1px; }
.mwc2-tile.on .dot { background: var(--mws-up); border-color: var(--mws-up); }
.mwc2-tile b { font-size: 13px; }
.mwc2-tile span:last-child { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-warn { font-size: 13px; color: var(--mws-down); }

/* setup */
.mwc2-prog { height: 4px; border-radius: 2px; background: var(--mws-well); overflow: hidden; }
.mwc2-prog span { display: block; height: 100%; background: var(--mws-gold); border-radius: 2px; transition: width .3s; }
.mwc2-steps { display: flex; flex-direction: column; }
.mwc2-step { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mws-line-2); }
.mwc2-step:last-child { border-bottom: 0; }
.mwc2-step .n { flex: 0 0 26px; height: 26px; border-radius: 13px; background: var(--mws-well); color: var(--mws-ink-2); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mwc2-step.done .n { background: var(--mws-up); color: #0b1018; }
.mwc2-step .tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mwc2-step .tx b { font-size: 13px; }
.mwc2-step.done .tx b { color: var(--mws-ink-2); text-decoration: line-through; text-decoration-color: var(--mws-line-strong); }
.mwc2-step .tx span { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-sbtn { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 16px; }

/* wallet card */
.mwc2-wal { position: relative; overflow: hidden; }
.mwc2-wal::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; }
.mwc2-wal.base::before { background: linear-gradient(90deg, #0052ff, #7fb3ff); }
.mwc2-wal.coti::before { background: linear-gradient(90deg, #0fa36b, #3ddc8c); }
.mwc2-whead { display: flex; align-items: center; gap: 10px; }
.mwc2-whead .tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mwc2-whead .tx b { font-size: 16px; }
.mwc2-whead .tx span { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-mark { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; color: #fff; }
.mwc2-mark.base { background: #0052ff; }
.mwc2-mark.coti { background: #11a86f; }
.mwc2-chip { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--mws-well); color: var(--mws-ink-2); font-family: var(--mws-mono); }
.mwc2-chip.bad { color: var(--mws-down); }
.mwc2-bal { display: flex; flex-direction: column; gap: 2px; }
.mwc2-bal .v { display: flex; align-items: baseline; gap: 6px; }
.mwc2-bal .v b { font-size: 28px; line-height: 34px; letter-spacing: -.5px; }
.mwc2-bal .v b.up { color: var(--mws-up); }
.mwc2-bal .sym { font-size: 14px; font-weight: 700; color: var(--mws-ink-2); }
.mwc2-hint { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-err { font-size: 12px; color: var(--mws-down); }
.mwc2-addrrow { display: flex; align-items: center; gap: 8px; }
.mwc2-addr { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--mws-line); background: var(--mws-well); color: var(--mws-ink); font: inherit; cursor: pointer; text-align: left; }
.mwc2-addr .num { flex: 1 1 auto; min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mwc2-addr svg { flex: 0 0 auto; color: var(--mws-ink-3); }
.mwc2-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--mws-line); background: var(--mws-well); color: var(--mws-ink-2); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.mwc2-noaddr { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--mws-ink-2); }
.mwc2-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mwc2-act { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; border: 1px solid var(--mws-line-2); background: var(--mws-well); color: var(--mws-ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mwc2-act svg { color: var(--mws-gold); }
.mwc2-act.danger svg { color: var(--mws-down); }
.mwc2-act:active { transform: scale(.97); }
.mwc2-fold { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 0 2px; border: 0; border-top: 1px solid var(--mws-line-2); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mwc2-fold .tx { display: flex; flex-direction: column; gap: 1px; }
.mwc2-fold .tx b { font-size: 13px; }
.mwc2-fold .tx span { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-fold .chev { color: var(--mws-ink-3); transition: transform .2s; display: inline-flex; }
.mwc2-fold .chev.up { transform: rotate(90deg); }
.mwc2-cform, .mwc2-form { display: flex; flex-direction: column; gap: 10px; }
.mwc2-form { padding: 4px 16px 20px; }
.mwc2-field { display: flex; flex-direction: column; gap: 5px; }
.mwc2-in { width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--mws-line); background: var(--mws-well); color: var(--mws-ink); font: inherit; font-size: 13px; }
.mwc2-in:focus { outline: none; border-color: var(--mws-gold); }
.mwc2-secret { font-size: 12px; padding: 12px; border-radius: 12px; background: var(--mws-well); overflow-wrap: anywhere; user-select: all; font-family: var(--mws-mono); }

/* jobs */
.mwc2-jobs { display: flex; flex-direction: column; }
.mwc2-job { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--mws-line-2); }
.mwc2-job:last-child { border-bottom: 0; }
.mwc2-job .st { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 4px; margin-top: 6px; background: var(--mws-ink-3); }
.mwc2-job.done .st { background: var(--mws-up); }
.mwc2-job.failed .st { background: var(--mws-down); }
.mwc2-job.running .st { background: var(--mws-gold); }
.mwc2-job .tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mwc2-job .tx b { font-size: 13px; }
.mwc2-job .tx span { font-size: 12px; color: var(--mws-ink-3); overflow-wrap: anywhere; }
.mwc2-job .when { font-size: 12px; color: var(--mws-ink-3); white-space: nowrap; }
.mwc2-empty { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mws-ink-2); }
.mwc2-empty svg { color: var(--mws-gold); flex: 0 0 auto; }

/* entry card on the Owner page */
.mwc2-entry { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--mws-line-2); color: inherit; font: inherit; cursor: pointer; }
.mwc2-entry .marks { display: flex; }
.mwc2-entry .marks .mwc2-mark { width: 30px; height: 30px; font-size: 13px; border: 2px solid var(--mws-card); }
.mwc2-entry .marks .mwc2-mark + .mwc2-mark { margin-left: -8px; }
.mwc2-entry .tx { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.mwc2-entry .tx b { font-size: 15px; }
.mwc2-entry .tx span { font-size: 12px; color: var(--mws-ink-2); }
.mwc2-entry .chev { color: var(--mws-ink-3); display: inline-flex; }

/* ---- Rewards card (owner 2026-10-18) ---- */
.mwc2-rwsub { display: flex; align-items: baseline; gap: 8px; margin-top: -4px; }
.mwc2-rwsub b { font-size: 15px; color: var(--mws-ink-3); }
.mwc2-rwsub.on b { color: var(--mws-up); }
.mwc2-rwsub span { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-rwtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mwc2-rwtile { display: flex; flex-direction: column; gap: 4px; padding: 10px 11px; border-radius: 16px; background: var(--mws-well); border: 1px solid var(--mws-line-2); min-width: 0; }
.mwc2-rwtile .mws-lbl { font-size: 9.5px; }
.mwc2-rwtile b { font-size: 15px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.mwc2-rwtile b span { font-size: 10px; color: var(--mws-ink-3); font-weight: 700; }
.mwc2-rwtile.warn { border-color: rgba(234, 57, 67, .45); }
.mwc2-rwtile.warn b { color: var(--mws-down); }
.mwc2-rwsec { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--mws-line-2); }
.mwc2-rwlist { display: flex; flex-direction: column; }
.mwc2-rwrow { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--mws-line-2); }
.mwc2-rwrow:last-child { border-bottom: 0; }
.mwc2-rwrow .tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mwc2-rwrow .tx b { font-size: 13px; }
.mwc2-rwrow .tx span { font-size: 12px; color: var(--mws-ink-3); overflow-wrap: anywhere; }
.mwc2-rwrow .tx .when { font-size: 12px; }
.mwc2-rwrow .mwc2-ico { grid-column: 2; justify-self: end; }
.mwc2-rwbtns { grid-column: 1 / -1; display: flex; gap: 8px; }
.mwc2-rwbtns .mws-btn { flex: 1 1 0; height: 36px; font-size: 13px; }
.mwc2-rwbtns .mws-btn:disabled { opacity: .45; }
.mwc2-chip.rw-pending { color: var(--mws-gold); }
.mwc2-chip.rw-approved, .mwc2-chip.rw-sending { color: var(--mws-ink); }
.mwc2-chip.rw-sent { color: var(--mws-up); }
.mwc2-chip.rw-failed, .mwc2-chip.rw-rejected { color: var(--mws-down); }
.mwc2-rwgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mwc2-rwusers { display: flex; flex-direction: column; max-height: 232px; overflow-y: auto; border: 1px solid var(--mws-line-2); border-radius: 12px; }
.mwc2-rwuser { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--mws-line-2); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mwc2-rwuser:last-child { border-bottom: 0; }
.mwc2-rwuser.on { background: rgba(240, 185, 11, .12); }
.mwc2-rwuser .tx { display: flex; flex-direction: column; min-width: 0; }
.mwc2-rwuser .tx b { font-size: 13px; }
.mwc2-rwuser .tx span { font-size: 12px; color: var(--mws-ink-3); }
.mwc2-rwpicked { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--mws-ink-3); padding: 2px 2px 0; }
.mwc2-rwpicked b { color: var(--mws-ink); }

  /* Avalanche wallet card tone (2026-10-20) */
.mwc2-wal.avax::before { background: linear-gradient(90deg, #e84142, #ff8a80); }
.mwc2-mark.avax { background: #e84142; }
