/* Fragment market v2 panels (market.js): auctions, Fragment listings, chain wallet. */
.sg-mk { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--sg-card, rgba(255,255,255,.04)); color: var(--sg-text, inherit); }
.sg-mk.sg-mk-plain { padding: 0; background: none; }
.sg-mk-title { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.sg-mk h4 { margin: 14px 0 6px; font-size: 14px; font-weight: 600; opacity: .85; }
.sg-mk-hint { margin: 6px 0; font-size: 13px; line-height: 1.45; color: var(--sg-muted, inherit); }
.sg-mk-actions + .sg-mk-hint { margin-top: 8px; }
.sg-mk > .sg-mk-hint:last-child { margin-bottom: 0; }
.sg-mk-lead { color: var(--sg-text, #fff); font-weight: 600; }
.sg-mk-head { font-weight: 600; margin-bottom: 8px; }
.sg-mk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 8px 0; }
.sg-mk-grid > div { padding: 10px 12px; border-radius: 10px; background: var(--sg-card-2, rgba(127,127,127,.08)); }
.sg-mk-grid span { display: block; font-size: 12px; opacity: .7; }
.sg-mk-grid b { font-size: 15px; }
.sg-mk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sg-mk-actions .btn { flex: 1 1 160px; transition: transform .15s var(--sg-ease, ease), opacity .15s ease; }
.sg-mk-actions .btn:active { transform: scale(.98); }
.sg-mk-actions .btn:disabled { opacity: .55; }
.sg-mk-actions .btn { align-items: center; min-height: 46px; }
.sg-mk .btn-default { background-color: var(--sg-card-2); }
.sg-mk .btn-default:hover { background-color: #48484a; }
.sg-mk-bids, .sg-mk-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sg-mk-bids li, .sg-mk-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 7px 0; border-top: 1px solid rgba(127,127,127,.15); font-size: 14px; }
.sg-mk-st { margin-left: auto; font-size: 12px; opacity: .65; }
.sg-mk-addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; opacity: .7; word-break: break-all; }
.sg-mk-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.5); animation: sg-mk-fade .15s ease; }
.sg-mk-dialog { width: 100%; max-width: 380px; padding: 20px; border-radius: 14px; background: var(--sg-bg, #1c1c1e); color: inherit; box-shadow: 0 10px 40px rgba(0,0,0,.35); animation: sg-mk-rise .18s ease; }
.sg-mk-dialog h3 { margin: 0 0 6px; font-size: 18px; }
.sg-mk-field { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.35); }
.sg-mk-field:focus-within { border-color: var(--sg-red, #4db2ff); }
.sg-mk-field input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: inherit; font-size: 17px; }
.sg-mk-field span { opacity: .7; font-weight: 600; }
@keyframes sg-mk-fade { from { opacity: 0; } }
@keyframes sg-mk-rise { from { transform: translateY(8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sg-mk-modal, .sg-mk-dialog { animation: none; } }
