/* Domain shop on My Domains (domain-shop.js). */
.dsh { margin: 0 0 16px; border-color: color-mix(in srgb, var(--accent, #2f81f7) 45%, var(--border, #24314d)); background:
  radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent, #2f81f7) 14%, transparent), transparent 60%), var(--surface, #0e1830); }
.dsh-head { display: flex; gap: 14px; align-items: flex-start; }
.dsh-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent, #2f81f7), #22c55e); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent, #2f81f7) 35%, transparent); }
.dsh-ic svg { width: 24px; height: 24px; }
.dsh h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; margin: 2px 0 0; }
.dsh-sub { margin-top: 4px; }
.dsh-body { margin-top: 14px; }
.dsh-search { display: flex; gap: 8px; flex-wrap: wrap; }
.dsh-search .fdm-input { flex: 1 1 260px; font-size: 1rem; padding: 11px 14px; }
.dsh-search .fdm-btn, .dsh-pay { gap: 8px; }
.dsh-search svg, .dsh-pay svg { width: 18px; height: 18px; }
.dsh-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.dsh-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--code-bg, #0a1226); border: 1px solid transparent; }
.dsh-row.is-first { border-color: var(--border, #24314d); }
.dsh-row.is-picked { border-color: var(--accent, #2f81f7); }
/* Other names offered when the one they asked for is taken (domain-shop.js suggestions). */
.dsh-sug-head { margin-top: 14px; }
.dsh-sug { margin-top: 6px; border-left: 2px solid var(--accent, #2f81f7); padding-left: 10px; }
/* The year a price covers, said beside the amount at checkout (domain-shop.js). Brighter than the
   other notes on purpose: it is the one line that stops somebody reading a yearly price as a one-off. */
.dsh-peryear { margin-top: 8px; color: var(--text, #cfe3f7); }
.dsh-name { flex: 1 1 180px; font-weight: 700; word-break: break-all; }
.dsh-row.is-taken .dsh-name { color: var(--text-muted, #9aa7bd); text-decoration: line-through; text-decoration-thickness: 1px; }
.dsh-price { font-size: 0.85rem; color: var(--text-muted, #9aa7bd); }
.dsh-price strong { font-size: 1rem; color: #22c55e; }
.dsh-taken { font-size: 0.85rem; color: var(--text-muted, #9aa7bd); }
.dsh-co { margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--border, #24314d); background: var(--code-bg, #0a1226); }
.dsh-co h3, .dsh-mine h3 { font-size: 1rem; margin: 0 0 8px; }
.dsh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 10px; }
.dsh-f { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--text-muted, #9aa7bd); min-width: 0; }
.dsh-f.is-wide { grid-column: 1 / -1; }
.dsh-f[hidden] { display: none; }
.dsh-f .fdm-input { flex: 0 0 auto; width: 100%; box-sizing: border-box; background: var(--surface, #0e1830); }
.dsh-sum { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border, #24314d); }
.dsh-sum strong { font-size: 1.2rem; }
.dsh-pay { width: 100%; margin-top: 10px; padding: 12px 16px; font-size: 1rem; }
.dsh-banner:empty { display: none; }
.dsh-banner { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border, #24314d); }
.dsh-banner p { margin: 0; }
.dsh-banner.is-good { border-color: #22c55e66; background: #22c55e14; }
.dsh-banner.is-bad { border-color: #f9731666; color: #f97316; }
.dsh-ok { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; }
.dsh-ok svg { width: 16px; height: 16px; }
.dsh-mine:empty { display: none; }
.dsh-mine { margin-top: 16px; }
.dsh-own { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border, #24314d); }
.dsh-own .fdm-row { margin-top: 0; }
.dsh-own .fdm-msg { flex-basis: 100%; margin: 0; }
.dsh-own .fdm-msg:empty { display: none; }
.dsh-meta { display: block; margin-top: 2px; }
.dsh-admin { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--border, #24314d); }
.dsh-admin > summary { cursor: pointer; font-weight: 700; }
.dsh-setup { margin: 10px 0 0; padding-left: 18px; font-size: 0.9rem; }
.dsh-set { align-items: flex-end; }
.dsh-inline { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--text-muted, #9aa7bd); flex: 0 0 170px; }
.dsh-inline.is-wide { flex: 1 1 240px; }
.dsh-inline .fdm-input { flex: 0 0 auto; }
.dsh-sales { margin-top: 12px; }
.dsh-orders { margin: 10px 0 0; padding-left: 18px; font-size: 0.85rem; max-height: 260px; overflow: auto; }
.dsh-orders li { margin: 3px 0; word-break: break-word; }
.fdm-buyhint { margin-top: 8px; }
/* Prices in the buyer's own currency */
.dsh-search .dsh-cur { flex: 0 0 auto; width: auto; font-size: 0.9rem; }
.dsh-local { color: var(--text-muted, #9aa7bd); }
.dsh-local-main { color: #86efac; font-weight: 600; }
.dsh-local[hidden], .dsh-cur-note[hidden] { display: none; }
.dsh-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.dsh-local-sum { font-size: 0.9rem; font-weight: 600; color: #86efac; }
.dsh-pay .dsh-local { color: rgba(255, 255, 255, 0.88); font-weight: 500; }
@media (max-width: 600px) { .dsh-price { flex-basis: 100%; order: 3; } .dsh-inline { flex: 1 1 100%; } }

/* Orders held because the domain account ran out of money (founder 2026-11-03), and the figures for
   how many people are trying to buy. Amber, not red: nothing has failed and nobody has lost money. */
.dsh-hold { border: 1px solid rgba(232,163,61,.5); background: rgba(232,163,61,.09); border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.dsh-hold h4 { margin: 0 0 6px; font-size: 1rem; }
.dsh-hold .fdm-btn { margin-top: 10px; }
.dsh-orders li.is-hold { color: #b9802a; }
.dsh-tries { margin: 0 0 18px; }
.dsh-tries h4 { margin: 0 0 10px; font-size: 1rem; }
