/*
 * Sealed Bids page: rules for pages with <body class="p-bids">. Shared rules are in sfp.css.
 * Phone: each player is a small card. From 1000px wide: table rows (No. / Player / Bid / Leading bid / Also involved).
 */
.p-bids a:focus-visible, .p-bids summary:focus-visible, .p-bids select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.p-bids .bd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin: 0 4px; }
.p-bids .bd-head h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.p-bids .bd-cta { display: inline-block; padding: 7px 16px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.p-bids .bd-sample { margin: 0; padding: 2px 10px; border: 1px solid var(--gold); border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.p-bids .section > .sub { margin: 4px 4px 0; font-size: 13px; color: var(--ink-faint); line-height: 1.4; }

.p-bids .bd-rules { padding: 0; }
.p-bids .bd-rules summary { cursor: pointer; padding: 12px var(--card-pad); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-2); list-style: none; }
.p-bids .bd-rules summary::-webkit-details-marker { display: none; }
.p-bids .bd-rules summary::after { content: "+"; float: right; font-size: 18px; line-height: 1; }
.p-bids .bd-rules[open] summary::after { content: "–"; }
.p-bids .bd-rules ul { margin: 0; padding: 0 var(--card-pad) 14px 34px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.p-bids .bd-rules li + li { margin-top: 6px; }

.p-bids .bd-rounds { display: flex; flex-wrap: wrap; gap: 6px; }
.p-bids .bd-rounds a small { font-size: 11px; font-weight: 400; opacity: .8; margin-left: 4px; }
.p-bids .bd-rounds a { padding: 6px 14px; border: 1px solid var(--card-border); border-radius: 99px; color: var(--ink-soft); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.p-bids .bd-rounds a[aria-current="page"] { border-color: var(--accent-2); color: var(--accent-2); }
@media (hover: hover) { .p-bids .bd-rounds a:not([aria-current]):hover { color: var(--ink); border-color: var(--ink-soft); } }
.p-bids .bd-warn { margin: 0; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(255,213,74,.1); font-size: 13.5px; line-height: 1.4; color: var(--ink); }

.p-bids .bd-open { padding: 20px var(--card-pad); text-align: center; }
.p-bids .bd-next { border-color: var(--accent-2); }
.p-bids .bd-next-label { margin: 0 0 4px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; }
.p-bids .bd-open .bd-cta { margin-top: 12px; }
.p-bids .bd-times { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.p-bids .bd-times b { color: var(--accent-2); margin-right: 4px; }
.p-bids .bd-open h2 { margin: 0 0 6px; font-size: 20px; color: var(--accent-2); }
.p-bids .bd-open p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }

.p-bids .bd-card { padding: 12px 10px 6px; }
.p-bids .bd-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin: 0 4px 6px; }
.p-bids .bd-card-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--accent-2); }
.p-bids .bd-card-head p { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
.p-bids .bl-cols { display: none; }
.p-bids .bl-list { list-style: none; margin: 0; padding: 0; }

/* a player (phone): labels on their own line, one team per line */
.p-bids .bl { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 0 8px; align-items: baseline; padding: 12px 4px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.p-bids .bl.me { background: rgba(242,44,247,.15); box-shadow: inset 3px 0 0 var(--accent); border-radius: 6px; }
.p-bids .bl-no { font-size: 14px; color: var(--ink-faint); }
.p-bids .bl-pl { font-size: 17px; font-weight: 600; line-height: 1.15; }
.p-bids .bl-pl small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--ink-faint); letter-spacing: .03em; }
.p-bids .bl-amt { font-size: 18px; font-weight: 700; color: var(--accent); text-align: right; }
.p-bids .bl-grp { grid-column: 2 / 4; display: grid; gap: 6px; margin-top: 10px; }
.p-bids .bl-grp.is-none { display: none; }
.p-bids .bl-lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.p-bids .bl-lead .bl-lbl { color: var(--accent-2); }
.p-bids .bl-also .bl-lbl { color: var(--up); }
.p-bids .bl-out .bl-lbl { color: var(--down); }
.p-bids .bl-t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.p-bids .bl-tx { display: grid; min-width: 0; }
.p-bids .bl-tn { font-size: 14.5px; line-height: 1.2; color: var(--ink-soft); overflow-wrap: anywhere; }
.p-bids .bl-t.is-lead .bl-tn { font-size: 15.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.p-bids .bl-out .bl-tn { color: var(--ink-faint); }
.p-bids .bl-mx { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.p-bids .bl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.p-bids .tk { display: inline-block; padding: 1px 8px; border: 1px solid var(--gold); border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.p-bids .tk.is-2nd { border-color: var(--accent); color: var(--accent); }
.p-bids .bl-pl .tk { margin-top: 6px; }
.p-bids .bl-tie { font-size: 11.5px; color: var(--accent-2); }
.p-bids .bl-solo { color: var(--ink-faint); font-style: italic; }

@media (min-width: 1000px) {
  .p-bids .page { max-width: 1180px; padding: 28px var(--page-pad) 64px; }
  .p-bids .bd-card { padding: 14px 16px 8px; }
  .p-bids .bl-cols, .p-bids .bl { display: grid; grid-template-columns: 36px minmax(0, 1.2fr) 84px minmax(0, 1.6fr) minmax(0, 1.5fr) minmax(0, 1.5fr); column-gap: 18px; align-items: start; }
  .p-bids .bl-cols { padding: 4px 4px 6px; font-size: 13px; color: var(--ink-faint); letter-spacing: .04em; }
  .p-bids .bl-cols span:nth-child(3) { text-align: right; }
  .p-bids .bl { padding: 12px 4px; }
  .p-bids .bl.me { box-shadow: inset 3px 0 0 var(--accent); }
  .p-bids .bl-no, .p-bids .bl-pl, .p-bids .bl-amt { align-self: center; }
  .p-bids .bl-grp, .p-bids .bl-grp.is-none { grid-column: auto; display: grid; gap: 8px; margin-top: 0; align-content: start; }
  .p-bids .bl-lbl { display: none; }
  .p-bids .bl-t.is-lead .bl-tn { font-size: 16px; }
  .p-bids .bl-tn { font-size: 14.5px; }
}
@media (min-width: 1500px) { .p-bids .page { max-width: 1320px; } }
