/*
 * TweetCell numbers market — what the Blade page adds to commerce.css:
 * collections as links, the number plate as an article with a copy button, and the reservation dialog.
 * The gold surfaces stay dark in both themes, so their colours are fixed values, not theme tokens.
 */

/* ---------- top of the page ---------- */
.tc3-flash + [data-tc-numbers] .gold.top { margin-block-start: 24px; }   /* a notice above already clears the floating bar */
.gsearch-clear { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer;
  background: rgb(255 255 255 / .08); color: rgb(251 246 233 / .75); transition: background .25s, color .25s; }
.gsearch-clear[hidden] { display: none; }
.gsearch-clear:hover { background: rgb(255 255 255 / .16); color: #FBF6E9; } .gsearch-clear .tci { font-size: 15px; }
.gsearch input::-webkit-search-cancel-button { display: none; }
.gsearch .btn { flex: none; }
@media (max-width: 640px) {
  .gsearch { height: 60px; padding-inline: 16px 6px; gap: 8px; } .gsearch .kbd { display: none; } .gsearch .btn { height: 48px; padding-inline: 18px; } .gsearch input { font-size: 15px; }
}

/* ---------- collections: the segmented control, with links ---------- */
.seg a { display: inline-flex; align-items: center; flex: none; height: 38px; padding-inline: 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgb(251 246 233 / .7); white-space: nowrap; transition: color .25s; }
.seg a:hover { color: #FBF6E9; }
.seg a[aria-current="page"] { color: #1B1203; font-weight: 650; background: linear-gradient(180deg, #FFE9A6, #F2C14E); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 6px 14px -6px rgb(242 193 78 / .7); }
.seg a:focus-visible { outline: 2px solid #F2C14E; outline-offset: 2px; }

/* ---------- number plate ---------- */
.plate-tools { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.plate-new { padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 1.6; color: #1B1203; background: linear-gradient(180deg, #FFE9A6, #F2C14E); }
.plate-copy { position: relative; z-index: 2; flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer;
  background: rgb(255 255 255 / .06); color: rgb(251 246 233 / .7); transition: background .25s, color .25s; }
.plate-copy:hover { background: rgb(255 255 255 / .16); color: #FBF6E9; } .plate-copy .tci { font-size: 15px; }
.plate-copy:focus-visible { outline: 2px solid #F2C14E; outline-offset: 2px; }
.plate-foot .plate-go { font-size: 13px; font-weight: 600; color: #F2C14E; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.plate-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole plate leads to the reservation */
.plate-go:focus-visible { outline: none; } .plate-go:focus-visible::after { outline: 2px solid #F2C14E; outline-offset: 2px; }
.goldpanel .empty { color: #FBF6E9; } .goldpanel .empty .body { color: rgb(251 246 233 / .7); }
.goldpanel .pager button { color: rgb(251 246 233 / .7); } .goldpanel .pager button:hover { background: rgb(255 255 255 / .08); }
/* A long page list (first, last, neighbours, two gaps) is wider than a phone: let it take a second line there. */
@media (max-width: 560px) { .goldpanel .pager { flex-wrap: wrap; gap: 4px; } .goldpanel .pager a, .goldpanel .pager span, .goldpanel .pager button { min-width: 38px; height: 40px; padding-inline: 4px; font-size: 13px; } }

/* ---------- reservation dialog ---------- */
html:has(dialog.tc3-num-sheet[open]) { overflow: hidden; }
.tc3-num-sheet { width: min(100% - 24px, 640px); max-height: min(100dvh - 24px, 940px); overflow: auto; overscroll-behavior: contain; }
.tc3-num-sheet .sheet-head { align-items: flex-start; } .tc3-num-sheet .sheet-head h2 { line-height: 1.45; }
.tc3-num-sheet .sheet-head .ibtn { flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.tc3-num-sheet .pick-note { font-size: 12.5px; line-height: 1.7; color: rgb(251 246 233 / .62); }
.tc3-num-contact dd { display: flex; align-items: center; gap: 8px; font-size: 14.5px; line-height: 1.6; min-width: 0; } .tc3-num-contact dd .tci { flex: none; font-size: 17px; color: var(--accent); }
.tc3-num-contact dd span { min-width: 0; overflow-wrap: anywhere; }
.tc3-num-wallet p { margin-block: 2px 8px; }
.tc3-num-wallet dl { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 13px; } .tc3-num-wallet dl > div { display: flex; align-items: baseline; gap: 8px; }
.tc3-num-wallet dt { color: var(--muted); } .tc3-num-wallet dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.tc3-num-sheet .notice strong { display: block; }
.tc3-num-actions { justify-content: flex-end; gap: 10px; }
.tc3-num-actions .btn[aria-busy="true"] { cursor: progress; }
@media (max-width: 640px) {
  .tc3-num-sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin-block: auto 0; margin-inline: 0; border-end-start-radius: 0; border-end-end-radius: 0; }
  .tc3-num-contact { grid-template-columns: minmax(0, 1fr); }
  .tc3-num-actions { flex-direction: column-reverse; align-items: stretch; }
  .tc3-num-actions .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding-block: 10px; line-height: 1.45; text-align: center; }
}
