.wallet-brand-shell { display:flex; align-items:center; justify-content:center; gap:12px; padding:8px 18px 16px; }
.wallet-brand-shell h1 { font-size:20px; letter-spacing:-.5px; margin:0; }
.wallet-hero-logo-orbit { width:44px; margin:0; animation:none; }
.wallet-hero-logo { width:44px; filter:none; }
.wallet-hero-logo-orbit::before { display:none; }
.wallet-summary-shell { padding:16px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(155deg,var(--panel),var(--bg)); }
.active-wallet-row { margin-bottom:18px; }
.active-wallet-row code { font-size:10px; color:var(--muted); }
.portfolio-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:0 0 12px; font-weight:600; color:var(--text-strong); font-size:13px; }
.network-pill,.asset-standard { font-size:9px; font-weight:600; letter-spacing:.6px; color:var(--muted); }
.network-pill { display:flex; gap:5px; align-items:center; }
.network-pill i { width:5px; height:5px; border-radius:50%; background:#60a5fa; }
.native-assets { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0; background:none; border:0; }
.native-asset-card { display:flex; flex-direction:column; align-items:flex-start; padding:16px 12px; border:1px solid var(--picker-border); border-radius:15px; background:linear-gradient(145deg,var(--panel-soft),var(--panel)); min-width:0; }
.asset-symbol { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:#142c50; color:#dbeafe; font-size:17px; font-weight:600; margin-bottom:12px; }
.diamond-symbol { background:#172334; }
.hac-asset-icon { display:block; width:30px; height:30px; object-fit:contain; margin-bottom:12px; border:0; border-radius:0; padding:0; background:none; mix-blend-mode:screen; }
.asset-kind { font-size:10px; color:var(--muted); }
.native-asset-card .balance-value { text-align:left; margin:5px 0; max-width:100%; overflow-wrap:anywhere; font-size:23px; color:var(--text-strong); font-variant-numeric:tabular-nums; }
.asset-caption { font-size:9px; color:var(--muted); }
.hip20-section { margin-top:24px; }
.asset-empty { text-align:center; padding:18px 12px; border:1px dashed var(--picker-border); border-radius:14px; }
.asset-empty>span { display:block; color:var(--muted); font-size:25px; margin-bottom:6px; }
.asset-empty strong { display:block; font-size:12px; color:var(--text-strong); }
.asset-empty p,.section-note { margin:6px 0 0; font-size:11px; color:var(--muted); line-height:1.6; }
.hip20-row,.stack-token-row { display:flex; align-items:center; gap:10px; padding:14px 0; border-bottom:1px solid var(--line); }
.hip20-row:last-child,.stack-token-row:last-child { border-bottom:0; }
.hip20-entry { padding-bottom:12px; border-bottom:1px solid var(--line); }
.hip20-entry:last-child { border-bottom:0; }
.hip20-entry .hip20-row { border-bottom:0; padding-bottom:8px; }
.asset-send-panel summary { display:inline-block; list-style:none; cursor:pointer; padding:6px 12px; border:1px solid #305986; border-radius:8px; background:#17345d; color:#fff; font-size:11px; }
.asset-send-panel summary::-webkit-details-marker { display:none; }
.asset-send-panel summary:focus-visible { outline:2px solid var(--accent-strong); outline-offset:2px; }
.asset-send-fields { display:grid; gap:10px; padding:12px 0 0; }
.asset-send-fields>strong { font-size:12px; }
.asset-send-fields label { display:grid; gap:5px; font-size:11px; }
.asset-send-fields input { width:100%; box-sizing:border-box; font-size:12px; }
.asset-send-fields p { margin:0; font-size:10px; line-height:1.5; color:var(--muted); }
.asset-send-fields button { font-size:11px; padding:8px; }
.asset-send-fields button[data-send-asset]:disabled { background:#26303d; border:1px solid #374151; color:#8792a3; opacity:1; cursor:not-allowed; }
.asset-send-fields button[data-send-asset]:not(:disabled) { background:#1d4ed8; border:1px solid #3b82f6; color:#fff; cursor:pointer; }
.token-avatar { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border-radius:11px; background:var(--picker-bg-active); color:var(--text-strong); font-weight:600; }
.hip20-row>div,.stack-token-row>div { flex:1; min-width:0; }
.hip20-row small,.stack-token-row small { display:block; color:var(--muted); font-size:10px; }
.hip20-row strong,.stack-token-row strong { color:var(--text-strong); font-size:13px; overflow-wrap:anywhere; }
.stack-token-row .balance-value { max-width:48%; font-variant-numeric:tabular-nums; }
.wallet-section-switch { margin-top:20px; }
.mining-header { display:flex; align-items:center; gap:12px; margin:4px 0 18px; }
.mining-header>div { flex:1; }
.mining-header h2 { margin:3px 0 0; font-size:20px; letter-spacing:-.4px; }
.mining-eyebrow { font-size:9px; letter-spacing:2px; color:var(--muted); }
.mining-header button { padding:9px 12px; font-size:17px; }
.mining-summary { border:1px solid #29456b; border-radius:18px; padding:16px; background:linear-gradient(145deg,#101d30,#090e17); color:#f1f5f9; }
.mining-summary-title { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; }
.mining-connection { font-size:9px; color:#94a3b8; border:1px solid #334155; border-radius:20px; padding:4px 7px; }
.mining-stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.mining-stat-grid small { display:block; color:#94a3b8; font-size:10px; }
.mining-stat-grid strong { display:block; margin-top:7px; font-size:22px; font-variant-numeric:tabular-nums; }
#miningAuctionName { font-size:24px; letter-spacing:1px; }
#miningAuctionNumber,#miningTopBidder { margin-top:7px; font-size:12px; }
.mining-header+.mining-pool-address { border-top:0; padding:0 2px; margin:-6px 0 16px; }
.mining-candidate-row { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:11px; padding:11px; margin-bottom:8px; background:var(--panel); }
.mining-candidate-row button { flex-shrink:0; padding:8px 10px; font-size:11px; border-radius:8px; background:#17345d; border:1px solid #305986; color:#fff; cursor:pointer; }
.mining-candidate-row div { flex:1; min-width:0; }
.mining-candidate-row strong { display:block; font-size:14px; letter-spacing:.7px; }
.mining-candidate-row small { display:block; margin-top:4px; font-size:10px; color:var(--muted); }
.mining-pool-address { display:flex; justify-content:space-between; gap:8px; border-top:1px solid #263449; padding-top:12px; font-size:9px; color:#94a3b8; }
.mining-fee-note { display:flex; gap:10px; border:1px solid var(--line); border-radius:13px; padding:13px; margin:12px 0 20px; }
.mining-fee-note>span { color:#60a5fa; }
.mining-fee-note strong { font-size:12px; }
.mining-fee-note p,.mining-section-note { font-size:10px; line-height:1.6; color:var(--muted); margin:6px 0 12px; }
.mining-fee-note p { margin-bottom:0; }
.mining-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:4px; border-radius:12px; background:var(--panel-soft); margin-bottom:14px; }
.mining-increments { margin:0 0 18px; padding:12px; border:1px solid var(--line); border-radius:13px; min-width:0; }
.mining-increments legend { color:var(--muted); font-size:11px; padding:0 5px; }
.mining-increment-options { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.mining-increment-options label { position:relative; margin:0; cursor:pointer; }
.mining-increment-options input { position:absolute; opacity:0; width:1px; height:1px; }
.mining-increment-options span { display:block; text-align:center; border:1px solid var(--line); background:var(--panel); color:var(--muted); padding:9px 3px; border-radius:9px; font-size:11px; }
.mining-increment-options input:checked+span { color:#fff; background:#17345d; border-color:#3b82f6; }
.mining-increment-options input:focus-visible+span { outline:2px solid #60a5fa; outline-offset:2px; }
.mining-increments p { margin-bottom:0; }
.mining-advanced { margin:14px 0; }
.mining-advanced>summary { position:relative; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:600; color:var(--text-strong); cursor:pointer; padding:12px 36px; text-align:center; list-style:none; }
.mining-advanced>summary::-webkit-details-marker { display:none; }
.mining-advanced>summary::before { content:"⌄"; position:absolute; left:8px; color:var(--muted); }
.mining-advanced[open]>summary::before { transform:rotate(180deg); }
.mining-limits-help { position:absolute; right:0; display:grid; place-items:center; width:25px; height:25px; padding:0; border:1px solid #486387; border-radius:50%; color:#9cc9ff; background:#1c2a3e; font-size:13px; font-weight:700; cursor:pointer; }
.mining-limits-rules { padding-left:18px; margin:0; color:#afbdd1; font-size:12px; line-height:1.7; }
.mining-limits-rules li { padding:0 0 14px 4px; }
.mining-limits-rules li:last-child { padding-bottom:0; }
.mining-advanced .mining-increments { margin-top:8px; }
.mining-increments>label { display:block; margin:12px 0 6px; font-size:10px; }
.mining-increments>input { font-size:12px; width:100%; box-sizing:border-box; }
#miningSavePolicyButton { margin-top:12px; width:100%; font-size:11px; }
.mining-tabs button { border:0; background:none; padding:9px 4px; border-radius:9px; color:var(--muted); font-size:10px; cursor:pointer; }
.mining-tabs button[aria-selected="true"] { color:#fff; background:#17345d; }
.mining-offer { margin-top:16px; border:1px solid var(--line); border-radius:15px; padding:14px; }
.mining-offer label { font-size:11px; }
.mining-offer-increments { margin:8px 0 12px; }
.mining-offer-increments button { padding:8px 3px; border:1px solid #305986; background:#17345d; color:#fff; border-radius:8px; font-size:11px; cursor:pointer; }
.mining-offer input { font-size:12px; }
.mining-cost-row { display:flex; justify-content:space-between; gap:10px; font-size:10px; margin:12px 0; }
.mining-offer .primary-button { width:100%; background:#17345d; font-size:12px; }
.mining-offer .primary-button:disabled { opacity:.5; cursor:not-allowed; }
#marketSellPreviewGrid { margin-top:16px; }
#marketSellPreviewGrid button:disabled { opacity:.55; cursor:not-allowed; }
.activity-empty .label { font-size:11px; }
.activity-empty strong { font-size:12px; font-weight:500; line-height:1.5; }
.portfolio-navigation { display:grid; grid-template-columns:repeat(5,1fr); gap:2px; position:sticky; bottom:0; z-index:3; padding:9px 4px; margin:18px 0 0; border:1px solid var(--line); border-radius:16px; background:var(--panel); box-shadow:0 -8px 24px var(--shadow); }
#walletView .primary-button { background:linear-gradient(135deg,#17345d,#244d82); color:#fff; border:1px solid #305986; }
#walletView .wallet-quick-actions { gap:8px; }
#walletView .wallet-quick-actions button { min-height:34px; padding:8px 10px; border-radius:11px; font-size:11px; line-height:1.3; }
.portfolio-navigation button { display:flex; flex-direction:column; align-items:center; gap:4px; background:none; border:0; border-radius:10px; color:var(--muted); font-size:9px; padding:7px 2px; cursor:pointer; }
.portfolio-navigation button span { font-size:19px; line-height:1; }
.portfolio-navigation button.is-active { color:var(--text-strong); background:var(--picker-bg-active); }
.portfolio-navigation button:focus-visible { outline:2px solid var(--accent-strong); outline-offset:2px; }
#miningIncrementHint:empty,#miningFeedback:empty { display:none; }
.mining-robot-launch { position:relative; width:100%; display:flex; justify-content:center; align-items:center; padding:13px 35px; margin:0 0 14px; border:1px solid #3e6495; border-radius:12px; color:#eaf3ff; background:linear-gradient(115deg,#193454,#244875); font-size:11px; font-weight:700; letter-spacing:.7px; cursor:pointer; text-align:center; }
.mining-robot-launch>span { position:absolute; right:15px; }
.robot-dialog-actions { display:flex; gap:7px; align-items:center; flex:none; }
.robot-dialog-head #miningRobotHelpButton { width:25px; height:25px; font-size:14px; font-weight:700; border-radius:50%; color:#9cc9ff; border:1px solid #486387; }
.robot-help-dialog .robot-note { font-size:12px; line-height:1.7; padding-bottom:12px; border-bottom:1px solid #283b55; }
.robot-help-dialog .robot-note:last-child { border-bottom:0; padding-bottom:0; }
.robot-help-dialog #robotTargetPreview:empty { display:none; }
.mining-robot-dialog { width:calc(100% - 24px); max-width:410px; max-height:calc(100dvh - 28px); box-sizing:border-box; padding:20px; border:1px solid #365071; border-radius:20px; background:#0d1727; color:#eaf0f9; overflow-y:auto; box-shadow:0 24px 60px #0009; }
.mining-robot-dialog::backdrop { background:#030810c9; backdrop-filter:blur(5px); }
.robot-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:20px; gap:10px; }
.robot-dialog-head small { font-size:9px; letter-spacing:1.5px; color:#87b5ee; }
.robot-dialog-head h2 { margin:6px 0 0; font-size:19px; line-height:1.3; }
.robot-dialog-head button { border:0; background:#1c2a3e; color:#c2d2e6; border-radius:8px; width:28px; height:28px; font-size:21px; cursor:pointer; }
.robot-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.robot-field-grid label { font-size:11px; color:#afbdd1; display:flex; flex-direction:column; gap:7px; min-width:0; }
.robot-field-grid input,.robot-field-grid select { width:100%; box-sizing:border-box; padding:11px; border:1px solid #334863; border-radius:9px; background:#101e32; color:#f4f7fc; font-size:14px; }
.robot-field-grid input:focus,.robot-field-grid select:focus { outline:2px solid #6fa7e8; outline-offset:1px; }
.robot-wide { grid-column:1/-1; }
.robot-field-grid small,.robot-special-box p { font-size:10px; line-height:1.5; color:#8397b3; }
.robot-special-box { margin:18px 0; padding:14px; border:1px solid #2d4260; border-radius:12px; background:#122037; }
.robot-toggle,.robot-consent { display:flex; gap:9px; align-items:flex-start; font-size:11px; line-height:1.5; }
.robot-toggle { margin-bottom:13px; }
.robot-toggle input,.robot-consent input { width:15px; height:15px; flex:none; margin-top:1px; accent-color:#75adef; }
.robot-payment { padding:14px; border-radius:12px; background:#1c3552; display:flex; flex-direction:column; gap:5px; }
.robot-payment span,.robot-payment small { font-size:10px; color:#b6c9df; }
.robot-payment strong { font-size:25px; }
.robot-note { font-size:11px; line-height:1.6; color:#a1b3cd; }
.robot-consent { margin:16px 0; color:#b7c6db; }
.robot-unavailable { padding:11px; border-radius:9px; background:#352c1c; color:#e3c28b; font-size:10px; line-height:1.6; }
#robotSaveParameters,#robotSignButton { width:100%; margin-top:9px; }
#robotSignButton:disabled { opacity:.45; cursor:not-allowed; }
.robot-repetition-options { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin:0 0 14px; }
.robot-repetition-options label { display:flex; gap:4px; align-items:center; font-size:10px; color:#b7c6db; }
.robot-repetition-options input { width:13px; height:13px; accent-color:#75adef; }
#robotSessionList>div { padding:11px 0; border-top:1px solid #29456b; }
.mining-block-status { display:flex; align-items:center; gap:9px; margin-top:13px; padding-top:12px; border-top:1px solid #29456b; color:#93a4b9; font-size:11px; font-weight:500; }
.mining-block-icon { width:9px; height:9px; border:2px solid currentColor; border-radius:3px; flex:none; }
.mining-block-status[data-state="open"] { color:#4ddda4; }
.mining-block-status[data-state="closed"] { color:#ffc46b; }
.mining-block-status:not([data-state="unknown"]) .mining-block-icon { animation:mining-block-pulse 1.6s ease-in-out infinite; }
@keyframes mining-block-pulse { 0%,100% { opacity:.65; transform:scale(.85) rotate(0deg); } 50% { opacity:1; transform:scale(1.15) rotate(90deg); box-shadow:0 0 10px currentColor; } }
@media (prefers-reduced-motion:reduce) { .mining-block-status .mining-block-icon { animation:none !important; } }
/* Bottom sheet leaves the auction visible above the bidding form. */
dialog#miningOfferPanel {
  position: fixed; inset: auto 0 8px; margin: 0 auto;
  max-height: 65dvh; padding: 12px; border-radius: 16px;
}
dialog#miningOfferPanel::backdrop { background: #03081055; backdrop-filter: none; }
.action-confirm-inline { margin-top: 10px; padding: 10px; border: 1px solid #365071; border-radius: 12px; background: #142338; }
.action-confirm-inline p, .action-confirm-dialog p { white-space: pre-wrap; font-size: 12px; line-height: 1.5; }
.action-confirm-buttons { display: flex; gap: 8px; }
.action-confirm-buttons button { flex: 1; font-size: 12px; }
.action-confirm-dialog {
  position: fixed; inset: auto 0 8px; margin: 0 auto; width: calc(100% - 24px);
  max-width: 410px; max-height: 65dvh; overflow: auto; box-sizing: border-box;
  padding: 14px; border: 1px solid #365071; border-radius: 16px; background: #0d1727; color: #eaf0f9;
}
.action-confirm-dialog::backdrop { background: #03081055; backdrop-filter: none; }
#editMiningRobotButton { width: 100%; margin: 8px 0 0; border-color: #365071; color: #d8e8ff; }
#editMiningRobotPageButton { width: 100%; margin: 8px 0 0; border-color: #365071; color: #d8e8ff; }
.robot-policy-summary { margin: 7px 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: #c8d7eb; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.robot-history-title { margin: 18px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.robot-history-card { position: relative; padding: 14px 30px 12px 12px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.robot-history-close { position: absolute; right: 5px; top: 5px; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.robot-history-close:hover { background: #ffffff12; color: #fff; }
#restoreRobotHistoryButton { padding: 6px 10px; font-size: 10px; }
#marketSellHacEnabled, #marketSellCaratEnabled { width: auto; margin-right: 6px; accent-color: #579ff5; }
#marketPaymentCurrency, #marketOfferCurrency { padding: 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: inherit; }
.market-payment-choice { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:10px 0; font-size:12px; }
.market-payment-choice select { min-width:100px; }
.activity-toggle { display:block; width:100%; margin-top:8px; padding:8px 12px; font-size:11px; border-radius:9px; }
.market-card-price { display:flex; flex-direction:column; gap:4px; padding:8px 6px; border-top:1px solid var(--line); }
.market-card-price-title { font-size:9px; font-weight:600; letter-spacing:1.2px; color:var(--muted); }
.market-card-price-line { display:block; font-size:12px; font-weight:600; color:var(--text-strong); overflow-wrap:anywhere; }
.market-card-price-line > span { font-size:10px; color:var(--muted); }
.usage-terms-dialog { width:calc(100% - 24px); max-width:420px; height:min(82dvh,650px); max-height:calc(100dvh - 24px); box-sizing:border-box; padding:16px; border:1px solid #365071; border-radius:16px; background:#0d1727; color:#eaf0f9; }
.usage-terms-dialog[open] { display:flex; flex-direction:column; gap:12px; }
.usage-terms-dialog::backdrop { background:#030810cc; }
.usage-terms-dialog h2 { margin:0; font-size:17px; line-height:1.35; }
.usage-terms-body { flex:1; min-height:0; overflow:auto; font-size:12px; line-height:1.65; padding-right:6px; }
.usage-terms-body h3 { margin:16px 0 6px; font-size:13px; color:#efc66f; }
.usage-terms-body p { margin:0 0 10px; }
.usage-terms-actions { display:flex; gap:10px; flex-shrink:0; border-top:1px solid #26364e; padding-top:12px; }
.usage-terms-actions button { flex:1; }
button[data-button-intent="confirm"]:not(:disabled) { background:#35654e !important; border:1px solid #54806a !important; color:#eef6f0 !important; box-shadow:none !important; }
button[data-button-intent="confirm"]:not(:disabled):hover { background:#40755b !important; }
button[data-button-intent="confirm"]:disabled { background:#293a32 !important; border:1px solid #3b4a42 !important; color:#81948a !important; opacity:.6; box-shadow:none !important; cursor:not-allowed; }
button[data-button-intent="cancel"]:not(:disabled) { background:#713c3e !important; border:1px solid #8b5759 !important; color:#fff0ef !important; box-shadow:none !important; }
button[data-button-intent="cancel"]:not(:disabled):hover { background:#824749 !important; }
[data-mining-panel="offers"][data-offers-collapsed="true"] > .mining-candidate-row:nth-child(n+3) { display:none; }
.delivery-hacd-card { flex: 0 0 88px; margin-left: auto; padding: 7px 4px; border: 1px solid #304361; border-radius: 10px; background: #09111d; text-align: center; box-sizing: border-box; }
.delivery-hacd-visual { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 5px; border-radius: 7px; background: #000; color: #92a9c5; font-size: 26px; overflow: hidden; }
.delivery-hacd-visual svg { width: 56px; height: 56px; }
.delivery-hacd-card b { display: block; font-size: 11px; letter-spacing: 1px; color: #e8effa; }
.delivery-hacd-score { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; color: #efc66f; overflow-wrap: anywhere; }
[data-mining-panel="deliveries"] .mining-candidate-row > div { overflow-wrap: anywhere; }
