/* Stream Dashboard: reference layout, existing live data and controls. */
html body dialog.sd-wallet-preview.sd-details-mode > header > span { opacity:0; transition:opacity .15s; }
html body dialog.sd-wallet-preview.sd-details-mode.sd-title-scrolled > header > span { opacity:1; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb { width:112px; height:144px; padding:0; position:relative; background:none; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-face { width:320px; min-width:320px; height:410px; min-height:410px; margin:0; transform:scale(.35); transform-origin:top left; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-face * { font-size:revert; color:var(--wallet-ink) !important; -webkit-text-fill-color:var(--wallet-ink) !important; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-face small { font-size:10px; color:var(--wallet-label) !important; -webkit-text-fill-color:var(--wallet-label) !important; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-face header img { width:40px; height:40px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-barcode img { width:45%; height:auto; aspect-ratio:1; border-radius:10px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-primary span { font-size:25px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb .sd-wallet-secondary span { font-size:17px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-toolbar { display:flex; justify-content:space-between; padding:0 18px 10px; background:none; font-size:12px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-toolbar *,
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-details .sd-detail-note { color:#777780 !important; -webkit-text-fill-color:#777780 !important; font-weight:400 !important; font-size:12px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-details [data-add-back] { display:block; width:100%; text-align:left; border-radius:0; padding:16px 0; background:transparent !important; color:#007aff !important; -webkit-text-fill-color:#007aff !important; box-shadow:none; font-size:16px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-details [data-add-back]:disabled { opacity:.4; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-editor { max-width:430px; margin:8px auto !important; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-save-card { width:100%; min-height:48px; border-radius:14px; font-size:16px; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-minimum-form]:not([hidden]) { display:grid; gap:8px; margin-top:16px; padding:16px; border:1px solid #e5e5ea; border-radius:18px; background:#fff; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-minimum-form] label { font-size:14px !important; font-weight:600 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-price-help { margin:0 0 6px; font-size:12px !important; color:#73737c !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-price-control { display:flex; align-items:center; gap:8px; background:#f5f5f7; border-radius:12px; padding:6px 6px 6px 14px; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-price-control input { min-width:0; width:100%; border:0; background:transparent; box-shadow:none; padding:8px 0; font-size:20px !important; color:#111 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-price-control button { background:#111 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border:0; border-radius:9px; padding:11px 18px; font-size:13px !important; box-shadow:none; }
[data-minimum-status]:empty,[data-save-status]:empty { display:none; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-price-control input[data-minimum] { background:transparent !important; -webkit-text-fill-color:#111 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
html body dialog.sd-wallet-preview.sd-details-mode { background:#f2f2f7; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-details,
html body dialog.sd-wallet-preview.sd-details-mode .sd-wallet-details * { color:#111 !important; -webkit-text-fill-color:#111 !important; font-weight:400 !important; }
html body dialog.sd-wallet-preview.sd-details-mode > header { position:sticky; top:calc(-1 * (env(safe-area-inset-top,0px) + 16px)); z-index:3; margin:-16px -16px 0; padding:16px; background:#f2f2f7cc; backdrop-filter:blur(20px); display:grid; grid-template-columns:44px 1fr auto; gap:12px; }
html body dialog.sd-wallet-preview.sd-details-mode > header > span { grid-column:2; grid-row:1; text-align:center; color:#111 !important; -webkit-text-fill-color:#111 !important; font-size:17px; }
html body dialog.sd-wallet-preview.sd-details-mode > header button { background:#fff !important; color:#111 !important; -webkit-text-fill-color:#111 !important; box-shadow:0 6px 24px #00000008; }
.sd-details-mode [data-done] { grid-row:1; grid-column:1; width:44px; height:44px; padding:0 !important; font-size:32px; border-radius:50% !important; }
.sd-details-mode [data-edit-back] { grid-row:1; grid-column:3; }
.sd-details-mode > [data-details],.sd-details-mode .sd-wallet-editor { display:none !important; }
.sd-details-editing .sd-wallet-editor { display:block !important; }
.sd-details-editing .sd-wallet-editor .sd-swatches,.sd-details-editing .sd-wallet-editor .sd-edit-hint { display:none !important; }
.sd-wallet-preview.sd-details-mode .sd-wallet-details { max-width:430px; margin:auto; }
.sd-wallet-preview.sd-details-mode .sd-detail-hero { background:none; display:block; padding:32px 0 42px; text-align:center; }
.sd-detail-thumb { width:112px; height:82px; border-radius:5px; margin:0 auto 12px; padding:7px; box-sizing:border-box; overflow:hidden; text-align:left; box-shadow:0 4px 14px #0002; }
.sd-detail-thumb img { width:17px; height:17px; vertical-align:middle; border-radius:3px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-thumb * { color:white !important; -webkit-text-fill-color:white !important; font-size:8px; }
.sd-detail-thumb p { font-size:13px !important; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-hero h2 { font-size:28px; font-weight:700 !important; margin:0 0 4px; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-hero > p,.sd-detail-note,.sd-detail-count { color:#8e8e93 !important; -webkit-text-fill-color:#8e8e93 !important; font-size:13px; }
.sd-wallet-preview.sd-details-mode .sd-detail-group { display:block; background:#fff; border-radius:24px; padding:0 18px; overflow:hidden; }
.sd-detail-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 0; border-bottom:1px solid #e5e5ea; font-size:16px; line-height:1.4; }
.sd-detail-row:last-child { border-bottom:0; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-value { color:#8e8e93 !important; -webkit-text-fill-color:#8e8e93 !important; text-align:right; }
.sd-detail-row > :last-child { max-width:65%; overflow-wrap:anywhere; }
html body dialog.sd-wallet-preview.sd-details-mode .sd-detail-row a { color:#007aff !important; -webkit-text-fill-color:#007aff !important; }
.sd-detail-long { display:block; }
.sd-detail-long .sd-detail-value { display:block; max-width:100%; text-align:left !important; margin-top:5px; }
.sd-detail-note { padding:12px 18px; line-height:1.5; }
.sd-wallet-field[data-edit] { cursor:pointer; border-radius:6px; outline-offset:5px; }
.sd-wallet-field[data-edit]:hover { background:#ffffff0d; }
.sd-swatches { display:flex; align-items:center; justify-content:center; gap:14px; }
html body dialog.sd-wallet-preview .sd-swatches button { width:30px; height:30px; padding:0; background:var(--swatch) !important; border:2px solid #ffffff55; border-radius:50%; }
.sd-custom-color input { width:32px !important; height:32px !important; padding:0 !important; border-radius:50% !important; }
.sd-edit-hint { text-align:center; opacity:.6; margin:0; }
.sd-wallet-editor { margin:16px auto !important; gap:20px !important; }
.sd-field-sheet { position:fixed; inset:auto 0 0; margin:0 auto; width:100%; max-width:460px; box-sizing:border-box; background:#202023; border:1px solid #444; border-radius:24px 24px 0 0; padding:24px 24px calc(24px + env(safe-area-inset-bottom)); }
.sd-field-sheet::backdrop { background:#0009; }
.sd-field-sheet form,.sd-field-sheet label { display:grid; gap:12px; }
.sd-field-sheet form { gap:20px; }
.sd-field-sheet h3 { margin:0; }
.sd-field-sheet input { box-sizing:border-box; width:100%; background:#303034; border:1px solid #555; padding:14px; border-radius:12px; font-size:16px; }
.sd-field-sheet form > div { display:flex; justify-content:space-between; }
.sd-wallet-secondary small { white-space:nowrap; font-size:10px; }
html body dialog.sd-wallet-preview.sd-wallet-preview .sd-wallet-face * { color:var(--wallet-ink,#fff) !important; -webkit-text-fill-color:var(--wallet-ink,#fff) !important; }
html body dialog.sd-wallet-preview.sd-wallet-preview .sd-wallet-face small { color:var(--wallet-label,#d1d1d6) !important; -webkit-text-fill-color:var(--wallet-label,#d1d1d6) !important; }
.sd-wallet-editor { max-width:430px; margin:32px auto; display:grid; gap:16px; }
.sd-wallet-editor fieldset { border:1px solid #444; border-radius:12px; padding:12px; display:grid; gap:10px; }
.sd-wallet-editor label { display:grid; gap:6px; font-size:13px; }
.sd-wallet-editor input { width:100%; box-sizing:border-box; background:#27272a; border:1px solid #555; border-radius:8px; padding:10px; font-size:16px; }
.sd-wallet-editor input[type=color] { height:48px; }
.sd-wallet-editor p { font-size:13px; line-height:1.5; }
.sd-wallet-secondary > div { flex:1; min-width:0; overflow-wrap:anywhere; }
.sd-wallet-secondary > div:nth-child(2) { text-align:center; }
.sd-wallet-secondary > div:last-child { text-align:right; }
html body dialog.sd-wallet-preview.sd-wallet-preview * { font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif !important; color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:none !important; letter-spacing:normal !important; }
html body dialog.sd-wallet-preview.sd-wallet-preview small { color:#a1a1aa !important; -webkit-text-fill-color:#a1a1aa !important; font-weight:500 !important; }
html body dialog.sd-wallet-preview.sd-wallet-preview .sd-wallet-field span { font-weight:400 !important; }
html body dialog.sd-wallet-preview.sd-wallet-preview .sd-wallet-details a { color:#64a5ff !important; -webkit-text-fill-color:#64a5ff !important; }
.sd-wallet-mini { display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:12px !important; margin:0 0 12px; background:#fff !important; border:1px solid #e5e7eb !important; border-radius:18px !important; box-shadow:none !important; }
.sd-wallet-mini img { width:48px; height:58px; object-fit:cover; border-radius:9px; }
.sd-wallet-mini span { display:grid; gap:5px; flex:1; min-width:0; }
.sd-wallet-mini > b { margin-left:auto; text-align:right; max-width:90px; line-height:1.5; }
.sd-wallet-mini strong { font-size:13px !important; }
.sd-wallet-mini small { font-size:11px !important; color:#6b7280 !important; }
.sd-wallet-mini b { font-size:11px !important; color:#2f6fe0 !important; }
dialog.sd-wallet-preview { position:fixed; inset:0; width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:calc(env(safe-area-inset-top, 0px) + 16px) 16px calc(env(safe-area-inset-bottom, 0px) + 24px); box-sizing:border-box; border:0; background:#09090b; color:white; font-family:-apple-system,BlinkMacSystemFont,sans-serif; overflow-y:auto; }
.sd-wallet-preview > header { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; }
.sd-wallet-preview button { background:#27272a !important; color:white !important; -webkit-text-fill-color:white !important; border:0; border-radius:20px; padding:12px 18px; }
.sd-wallet-preview > button { display:block; margin:24px auto; }
.sd-wallet-face { width:100%; max-width:430px; margin:24px auto 0; border-radius:14px; background:rgb(24,24,27); padding:16px; min-height:390px; aspect-ratio:320 / 410; box-sizing:border-box; color:#fff; display:flex; flex-direction:column; }
.sd-wallet-barcode { display:flex; justify-content:center; margin-top:auto; padding-top:24px; padding-bottom:8px; }
.sd-wallet-barcode img { display:block; width:45%; max-width:180px; aspect-ratio:1; border-radius:10px; background:#fff; }
.sd-wallet-face header { display:flex; align-items:center; gap:8px; }
.sd-wallet-face header img { width:40px; height:40px; object-fit:cover; border-radius:8px; }
.sd-wallet-face header strong { flex:1; font-size:17px; }
.sd-wallet-field { display:flex; flex-direction:column; gap:4px; }
.sd-wallet-field small { color:#a1a1aa; font-size:10px; }
.sd-wallet-field span { color:white; font-size:17px; }
.sd-wallet-primary { margin:24px 0; }
.sd-wallet-primary .sd-wallet-field span { font-size:25px; }
.sd-wallet-secondary { display:flex; justify-content:space-between; gap:14px; }
.sd-wallet-details { max-width:360px; margin:auto; }
.sd-wallet-details h2 { color:white; font-size:24px; }
.sd-wallet-details > div { background:#27272a; border-radius:12px; padding:16px; display:grid; gap:8px; }
.sd-wallet-details small { color:#a1a1aa; }
.sd-wallet-details a { color:#64a5ff; overflow-wrap:anywhere; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-streams,
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-activity { margin:0 !important; padding:0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-status-card { min-height:0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-metrics { min-height:0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet { --sd-ink:#0c0e14; --sd-muted:#6b7280; font-family:'Plus Jakarta Sans',-apple-system,sans-serif !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-panel { background:#fff !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-head { padding:16px 20px 14px !important; gap:10px; background:#fff !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-head h3 { font-size:23px !important; font-weight:800 !important; letter-spacing:-.045em !important; line-height:1.1 !important; margin:4px 0 0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-kicker { font-size:9px !important; color:#6b7280 !important; letter-spacing:.18em !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-body { padding:0 16px 110px !important; gap:20px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-status-card { padding:16px 17px !important; border-radius:24px !important; background:radial-gradient(circle at 95% 0,rgba(120,200,255,.12),transparent 50%),linear-gradient(152deg,#17191f,#0a0b0f 62%) !important; box-shadow:none !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-metrics { margin-top:18px !important; border:0 !important; background:none !important; border-radius:0 !important; gap:14px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-metrics article { padding:0 !important; border:0 !important; background:none !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-metrics strong { font-size:25px !important; font-weight:800 !important; letter-spacing:-.05em !important; line-height:1.1 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-metrics small { margin-top:6px !important; font-size:8px !important; color:rgba(255,255,255,.55) !important; -webkit-text-fill-color:rgba(255,255,255,.55) !important; letter-spacing:.12em !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-section-head { padding:0 4px !important; margin-bottom:10px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-section-head strong,
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-activity-head strong { font-size:9px !important; letter-spacing:.18em !important; color:#6b7280 !important; -webkit-text-fill-color:#6b7280 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-control-inline { background:#f3f4f6 !important; border:0 !important; border-radius:9px !important; box-shadow:none !important; font-size:11px !important; font-weight:700 !important; padding:8px 11px !important; min-height:32px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-card-intro { font-size:12px !important; font-weight:500 !important; color:#6b7280 !important; -webkit-text-fill-color:#6b7280 !important; margin:0 4px 12px !important; line-height:1.5 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [aria-label="Trading card pricing"] { display:flex; gap:4px; padding:4px; border-radius:15px; background:#f3f4f6; flex-wrap:wrap; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-card-mode] { flex:1; border-radius:12px !important; padding:11px !important; font-size:12.5px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-card-mode][aria-pressed="true"] { background:#0c0e14 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-card-status] { font-size:12px !important; font-weight:600 !important; line-height:1.5 !important; padding:14px 15px !important; margin:12px 0 0 !important; border-radius:18px; border:1px solid rgba(12,14,20,.07); background:#f7f8fa; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-dashboard-empty { border:1px solid rgba(12,14,20,.08) !important; border-radius:16px !important; padding:14px !important; font-size:12px !important; color:#6b7280 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay { border:1px solid rgba(12,14,20,.08) !important; border-radius:16px !important; padding:0 !important; margin-bottom:10px !important; gap:0 !important; grid-template-columns:32% minmax(0,1fr) !important; align-items:stretch !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-tile { width:100% !important; height:100% !important; min-height:110px; align-self:stretch; border:0 !important; border-radius:15px 0 0 15px !important; margin:0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-body { padding:14px 12px; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-player:empty { display:none; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-title { font-size:12.5px !important; font-weight:750 !important; letter-spacing:-.025em !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-when { font-size:9px !important; letter-spacing:.02em !important; margin-top:3px !important; color:#9ca3af !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-stats { display:flex !important; gap:5px !important; flex-wrap:wrap; margin-top:8px !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-stats > div { display:flex; gap:4px; align-items:center; padding:4px 6px; border-radius:7px; background:#f3f4f6; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-stats b,
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-stats small { font-size:8px !important; margin:0 !important; line-height:1.3 !important; letter-spacing:0 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-note { display:none !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .msd-replay-menu summary { font-size:15px; padding:2px 4px; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .mobile-stream-activity-row { font-size:12px !important; padding:12px !important; }

/* Upcoming stream form: same plate as the minimum-price form above it. */
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form { display:grid; gap:12px; margin:0 0 4px; padding:16px; border:1px solid #e5e5ea; border-radius:18px; background:#fff; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form label { display:grid; gap:6px; margin:0; font-size:11px !important; font-weight:700 !important; letter-spacing:.06em; text-transform:uppercase; color:#73737c !important; -webkit-text-fill-color:#73737c !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form input { min-width:0; width:100%; box-sizing:border-box; border:0 !important; border-radius:12px !important; background:#f5f5f7 !important; box-shadow:none !important; padding:12px 14px !important; font-size:16px !important; font-weight:500 !important; letter-spacing:0; text-transform:none; color:#111 !important; -webkit-text-fill-color:#111 !important; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form input::placeholder { color:#a1a1aa; -webkit-text-fill-color:#a1a1aa; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form button[type="submit"] { background:#111 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border:0; border-radius:12px; padding:13px 18px; font-size:14px !important; font-weight:700; box-shadow:none; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet .sd-schedule-form button[type="submit"]:disabled { opacity:.55; }
html body #mobile-stream-control-sheet#mobile-stream-control-sheet [data-schedule-status] { margin:10px 4px 0 !important; font-size:12px !important; color:#6b7280 !important; -webkit-text-fill-color:#6b7280 !important; }
