/* ============================================================================
   The Daily Discard — panel, teaser (intro bulletin), sponsor-ad face.
   All selectors carry the ddc- prefix; theme is the site's gold-on-dark felt.
   ============================================================================ */

/* ── Overlay + panel ── */
/* z above the bulletin overlay even when it's reparented into the KC host
   (z 100060) — the teaser inside the bulletin must open the panel on top. */
.ddc-overlay {
  position: fixed; inset: 0; z-index: 100200;
  background: rgba(8, 5, 2, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.ddc-panel {
  position: relative;
  width: min(880px, 96vw);
  max-height: 92vh; overflow-y: auto;
  background: linear-gradient(150deg, #221708, #171008 55%, #1d1409);
  border: 2px solid #c8a030; border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
  padding: 18px 22px 20px;
  color: #f0e0b0;
  font-family: Lato, sans-serif;
}
.ddc-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; cursor: pointer;
  color: #c8a030; font-size: 26px; line-height: 1; padding: 4px 8px;
}
.ddc-close:hover { color: #ffd754; }
.ddc-loading, .ddc-empty {
  text-align: center; padding: 30px 10px; color: #d4b870; font-size: 15px;
}
.ddc-title-row { display: flex; justify-content: center; margin-bottom: 6px; }
.ddc-banner { width: 240px; height: 46px; }
.ddc-blurb {
  text-align: center; font-size: 13.5px; line-height: 1.5; color: #d4b870;
  max-width: 480px; margin: 0 auto 10px;
}
.ddc-claimed-line {
  text-align: center; font-family: Cinzel, serif; font-size: 15px;
  color: #ffd754; margin: 2px 0 8px;
}

/* ── Score strip — in-game-style score boxes; the crib owner's box wears the
   gold ring + glow and the CRIB pill, exactly like the table scoreboard. ── */
.ddc-score-strip {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  margin: 6px 0 16px; font-size: 15px;
}
.ddc-scorebox {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid #8a6d1f; border-radius: 999px;
  background: rgba(0, 0, 0, 0.4); padding: 6px 16px;
}
.ddc-scorebox b { font-size: 21px; color: #ffd754; }
.ddc-scorebox.ddc-crib-owner {
  outline: 3px solid #ffd23e; outline-offset: 2px;
  box-shadow: 0 0 13px rgba(255, 210, 62, 0.9);
}
.ddc-crib-logo {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
  margin-left: 3px; padding: 2px 5px 3px; border-radius: 8px; line-height: 1;
  text-transform: uppercase; background: linear-gradient(180deg, #fff1b0, #e9b63a);
  color: #3a1e02; font-family: Cinzel, serif; font-weight: 900; font-size: 11px;
  letter-spacing: 0.5px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ── Cards ── */
.ddc-hand {
  display: flex; justify-content: center; gap: 8px; flex-wrap: nowrap;
  margin: 4px 0 12px;
}
.ddc-card {
  width: 66px; height: 92px; border-radius: 8px; flex: none;
  background: #fff; color: #1a1a1a; border: 1px solid #c9c9c9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  user-select: none; position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ddc-card.ddc-red { color: #d32f2f; }
.ddc-card-rank { font-size: 1.85rem; font-weight: 800; line-height: 0.95; }
.ddc-card-suit { font-size: 2.25rem; line-height: 0.95; }
.ddc-card.ddc-pickable { cursor: pointer; }
.ddc-card.ddc-pickable:hover { transform: translateY(-6px); }
.ddc-card.ddc-selected {
  transform: translateY(-12px);
  box-shadow: 0 0 0 3px #ffd754, 0 10px 18px rgba(0, 0, 0, 0.5);
}
.ddc-card.ddc-dimmed { opacity: 0.55; }

.ddc-card-mini {
  width: 30px; height: 42px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.ddc-card-mini .ddc-card-rank { font-size: 1.05rem; line-height: 0.95; }
.ddc-card-mini .ddc-card-suit { font-size: 1.15rem; line-height: 0.95; }
.ddc-card-tiny {
  width: 22px; height: 31px; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: inline-flex; vertical-align: middle;
}
.ddc-card-tiny .ddc-card-rank { font-size: 0.8rem; line-height: 0.95; }
.ddc-card-tiny .ddc-card-suit { font-size: 0.85rem; line-height: 0.95; }
.ddc-combo { display: inline-flex; gap: 3px; align-items: center; }

/* ── Pick controls ── */
.ddc-prompt { text-align: center; font-size: 14px; margin: 2px 0 10px; }
.ddc-comment {
  display: block; width: 100%; box-sizing: border-box; resize: vertical;
  background: rgba(255, 245, 220, 0.07); color: #f0e0b0;
  border: 1px solid #8a6d1f; border-radius: 8px;
  font-family: Lato, sans-serif; font-size: 13.5px; padding: 8px 10px;
  margin-bottom: 10px;
}
.ddc-comment::placeholder { color: #a8946a; }
.ddc-actions { display: flex; justify-content: center; }
.ddc-submit {
  font-family: Cinzel, serif; font-weight: 700; font-size: 15px;
  color: #1a0e04; background: #c8a030; border: none; border-radius: 8px;
  padding: 10px 30px; cursor: pointer;
}
.ddc-submit:hover:not(:disabled) { background: #ffd754; }
.ddc-submit:disabled { opacity: 0.45; cursor: default; }
.ddc-count-line { text-align: center; font-size: 12px; color: #a8946a; margin-top: 10px; }

/* ── Results ── */
.ddc-results { margin-top: 14px; border-top: 1px solid rgba(200, 160, 48, 0.35); padding-top: 12px; }
.ddc-results-title {
  font-family: Cinzel, serif; font-size: 15px; font-weight: 700; color: #ffd754;
  text-align: center; margin-bottom: 10px;
}
.ddc-combo-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.ddc-combo-row {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 5px 6px; border-radius: 8px; margin-bottom: 3px;
}
.ddc-combo-row.ddc-combo-mine { background: rgba(200, 160, 48, 0.14); }
.ddc-combo-bar-wrap {
  flex: 1; height: 12px; border-radius: 6px; overflow: hidden;
  background: rgba(255, 245, 220, 0.08); min-width: 60px;
}
.ddc-combo-bar {
  display: block; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #8a6d1f, #e8c452);
}
/* Fixed-width right block — numbers line, then the you/as-played chip(s)
   stacked beneath. Same width whether tagged or not, so every row's bar,
   %, and (n) line up and a chip can never spill into the neighboring grid
   column (v1.53g — inline chips clipped "AS PLAYED" and shortened bars). */
.ddc-combo-right { flex: none; width: 74px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ddc-combo-nums { display: flex; align-items: baseline; gap: 4px; }
.ddc-combo-pct { width: 40px; text-align: right; font-weight: 700; color: #ffd754; font-size: 14px; flex: none; }
.ddc-combo-n { min-width: 26px; font-size: 11.5px; color: #a8946a; flex: none; }
.ddc-combo-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ddc-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  border-radius: 8px; padding: 2px 6px; flex: none; white-space: nowrap;
}
.ddc-tag-you { background: #c8a030; color: #1a0e04; }
.ddc-tag-actual { background: #3a5a8a; color: #e8f0ff; }
.ddc-actual-line {
  text-align: center; font-size: 13px; color: #d4b870; margin: 10px 0 2px;
}
/* Table talk rides a full-height RIGHT column beside the WHOLE panel body
   (banner, hand, verdict, the lot). It only renders when there are comments,
   so a talk-free day lets the main content span the full width. */
.ddc-panel-cols { display: flex; align-items: stretch; gap: 20px; }
.ddc-panel-main { flex: 1 1 auto; min-width: 0; }
.ddc-panel-side {
  flex: 0 0 280px; min-width: 0;
  border-left: 1px solid rgba(200, 160, 48, 0.25); padding-left: 18px;
}
.ddc-panel-side .ddc-comments-title { margin-top: 4px; }
/* Full column height is theirs — the panel itself scrolls, not the list. */
.ddc-panel-side .ddc-comments { max-height: none; }
.ddc-comments-title {
  font-family: Cinzel, serif; font-size: 13.5px; font-weight: 700; color: #ffd754;
  margin: 12px 0 6px;
}
.ddc-comments { max-height: 220px; overflow-y: auto; }
.ddc-comment-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; padding: 5px 2px; border-top: 1px solid rgba(200, 160, 48, 0.15);
}
/* Round face disc — shows the commenter's initial until the canvas render
   lands (or forever, for players who never built an avatar). */
.ddc-comment-avatar {
  flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(200, 160, 48, 0.6); background: rgba(200, 160, 48, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Cinzel, serif; font-weight: 700; font-size: 13px; color: #e0c878;
}
.ddc-comment-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fixed name + cards columns so the picked pairs line up down the list. */
.ddc-comment-name {
  flex: none; width: 92px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-weight: 700; color: #e0c878;
}
.ddc-comment-cards { flex: none; }
.ddc-comment-text { flex: 1; min-width: 160px; color: #f0e0b0; line-height: 1.4; }

/* ── Votes + replies on a comment ── */
.ddc-comment-actions {
  flex: none; display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
}
.ddc-vote {
  border: 1px solid rgba(200, 160, 48, 0.35); background: rgba(0, 0, 0, 0.3);
  color: #c0a868; border-radius: 12px; padding: 1px 8px; font-size: 11.5px;
  line-height: 1.6; cursor: pointer; font-family: Lato, sans-serif;
}
.ddc-vote:hover { border-color: rgba(255, 215, 84, 0.7); }
.ddc-vote-on {
  border-color: rgba(255, 215, 84, 0.85); background: rgba(255, 200, 60, 0.2);
  color: #ffe08a;
}
.ddc-vote:disabled { opacity: 0.55; cursor: default; }
.ddc-vote-counts { font-size: 11px; color: #a8946a; white-space: nowrap; }
.ddc-reply-link { font-size: 11.5px; color: #9cc4ff; cursor: pointer; white-space: nowrap; }
.ddc-reply-link:hover { text-decoration: underline; }
/* Replies + the reply box are full-width lines under the flex-wrapped row,
   indented past the avatar disc so they read as the comment's thread. */
.ddc-replies { flex: 0 0 100%; display: block; padding-left: 30px; box-sizing: border-box; }
.ddc-reply-row { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; padding: 3px 0; }
.ddc-reply-avatar { width: 18px; height: 18px; font-size: 9.5px; margin-top: 1px; }
.ddc-reply-name { flex: none; font-weight: 700; color: #d9c08a; }
.ddc-reply-text { flex: 1; min-width: 0; color: #e8d8a8; line-height: 1.35; overflow-wrap: anywhere; }
.ddc-reply-box { flex: 0 0 100%; display: flex; gap: 6px; align-items: flex-start; padding: 4px 0 2px 30px; box-sizing: border-box; }
.ddc-reply-box[hidden] { display: none; }
.ddc-reply-box textarea {
  flex: 1; min-width: 0; box-sizing: border-box; resize: vertical;
  background: rgba(255, 245, 220, 0.07); color: #f0e0b0;
  border: 1px solid #8a6d1f; border-radius: 8px;
  font-family: Lato, sans-serif; font-size: 12px; padding: 5px 8px;
}
.ddc-reply-box textarea::placeholder { color: #a8946a; }
.ddc-reply-send {
  font-family: Cinzel, serif; font-weight: 700; font-size: 11.5px;
  color: #1a0e04; background: #c8a030; border: none; border-radius: 7px;
  padding: 5px 11px; cursor: pointer;
}
.ddc-reply-send:hover { background: #ddb540; }
.ddc-reply-send:disabled { opacity: 0.6; cursor: default; }

/* ── Claim row ── */
.ddc-claim-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 14px; padding-top: 10px; font-size: 13.5px; color: #d4b870;
  border-top: 1px dashed rgba(200, 160, 48, 0.3); flex-wrap: wrap;
}
.ddc-claim {
  font-family: Cinzel, serif; font-weight: 700; font-size: 13px;
  color: #1a0e04; background: #e8c452; border: none; border-radius: 8px;
  padding: 7px 16px; cursor: pointer;
}
.ddc-claim:hover:not(:disabled) { background: #ffd754; }

/* ── Teaser (intro bulletin) + sponsor-ad face ── */
.ddc-teaser {
  cursor: pointer; text-align: center;
  border: 1px solid rgba(200, 160, 48, 0.5); border-radius: 10px;
  background: rgba(200, 160, 48, 0.08);
  padding: 8px 10px; margin-top: 10px;
}
.ddc-teaser:hover { background: rgba(200, 160, 48, 0.16); }
.ddc-teaser-title { display: flex; justify-content: center; }
.ddc-teaser .ddc-banner { width: 180px; height: 35px; }
.ddc-teaser-cards { display: flex; justify-content: center; gap: 3px; margin: 6px 0 4px; }
.ddc-teaser-info { font-size: 12px; color: #f0e0b0; }
.ddc-teaser-info b { color: #ffd754; }
.ddc-teaser-cta { font-size: 11.5px; color: #d4b870; margin-top: 3px; font-style: italic; }

/* Sponsor-slot face — the ad box is a FIXED 215×62px (ecrib-lounge.css
   .lounge-sponsor-cs), so everything is squeezed to fit exactly. */
/* The sponsor slot is an <a href="#"> — the browser's link underline is drawn
   by the ANCHOR across its text descendants, so it can only be removed on the
   anchor itself (child text-decoration:none can't cancel it). Kill it at the
   source; the slot never looked like a text link anyway. */
a.lounge-sponsor-cs { text-decoration: none; }

.ddc-ad {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; text-align: center; padding: 1px 2px; box-sizing: border-box;
  transition: opacity 0.3s ease;
  text-decoration: none;
}
.ddc-ad-title {
  font-family: Cinzel, serif; font-weight: 900; font-size: 11px;
  letter-spacing: 2px; color: #ffd754; line-height: 1.1;
}
.ddc-ad .ddc-teaser-cards { margin: 2px 0; gap: 2px; }
.ddc-ad .ddc-card-tiny { width: 18px; height: 25px; }
.ddc-ad .ddc-card-tiny .ddc-card-rank { font-size: 0.72rem; line-height: 0.95; }
.ddc-ad .ddc-card-tiny .ddc-card-suit { font-size: 0.76rem; line-height: 0.95; }
.ddc-ad .ddc-teaser-info { font-size: 10px; line-height: 1.2; }
.ddc-ad .ddc-teaser-cta { font-size: 10px; margin-top: 2px; }

/* Intro-bulletin variant — the teaser sits in a fixed 250px LEFT column with
   the Weekly Awards cycler to its right, so the cards can be a lot bigger
   than the generic tiny size. */
.ddc-teaser-bulletin .ddc-teaser-cards { gap: 4px; margin: 7px 0 5px; }
.ddc-teaser-bulletin .ddc-card-tiny {
  width: 34px; height: 47px; border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}
.ddc-teaser-bulletin .ddc-card-tiny .ddc-card-rank { font-size: 1.4rem; line-height: 0.95; }
.ddc-teaser-bulletin .ddc-card-tiny .ddc-card-suit { font-size: 1.5rem; line-height: 0.95; }
.ddc-teaser-bulletin .ddc-teaser-info { font-size: 12.5px; }
.ddc-teaser-bulletin .ddc-banner { width: 190px; height: 37px; }

/* Play-modal puzzles fan: three stacked mini-logos now (Sudoku, Counter,
   Daily Discard) — widen the fan a touch (base rule: ecrib-sudoku.css). */
.lounge-create-puzzles-fan { width: 58px; }

/* ── Admin: Preview Tomorrow's (Site Manager only — server-gated) ── */
.ddc-admin-row {
  text-align: center; margin-top: 14px; padding-top: 10px;
  border-top: 1px dashed rgba(200, 160, 48, 0.3);
}
.ddc-admin-btn {
  font-family: Lato, sans-serif; font-size: 12px; cursor: pointer;
  color: #c8a030; background: none;
  border: 1px dashed rgba(200, 160, 48, 0.6); border-radius: 8px;
  padding: 5px 14px;
}
.ddc-admin-btn:hover { color: #ffd754; border-color: #c8a030; }
.ddc-admin-head {
  text-align: center; font-family: Cinzel, serif; font-size: 17px;
  color: #ffd754; margin: 2px 0 6px;
}
.ddc-admin-badge {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: Lato, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #ffb0b0; border: 1px solid rgba(255, 120, 120, 0.55);
  border-radius: 999px; padding: 2px 8px;
}
.ddc-pool { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.ddc-pool-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(200, 160, 48, 0.4); border-radius: 10px;
  background: rgba(0, 0, 0, 0.3); padding: 8px 12px;
}
.ddc-pool-row.ddc-pool-chosen {
  border-color: #ffd23e;
  box-shadow: 0 0 10px rgba(255, 210, 62, 0.45);
  background: rgba(255, 210, 62, 0.07);
}
.ddc-pool-main { flex: 1; min-width: 0; }
.ddc-pool-cards { display: flex; gap: 3px; margin-bottom: 5px; }
.ddc-pool-meta { font-size: 12px; color: #d4b870; line-height: 1.6; }
.ddc-pool-meta b { color: #ffd754; }
.ddc-pool-meta .ddc-combo { vertical-align: middle; margin-left: 2px; }
.ddc-pool-use {
  flex: none; font-family: Cinzel, serif; font-weight: 700; font-size: 12px;
  color: #1a0e04; background: #e8c452; border: none; border-radius: 8px;
  padding: 7px 12px; cursor: pointer; white-space: nowrap;
}
.ddc-pool-use:hover:not(:disabled) { background: #ffd754; }
.ddc-pool-use.ddc-pool-scheduled {
  background: none; color: #ffd754; border: 1px solid #ffd23e; cursor: default;
}
.ddc-pool-more { text-align: center; font-size: 12px; color: #a8946a; margin-top: 6px; }
.ddc-admin-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; flex-wrap: wrap;
}
.ddc-back-link { font-size: 13px; color: #c8a030; cursor: pointer; }
.ddc-back-link:hover { color: #ffd754; text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 620px) {
  .ddc-panel { padding: 14px 12px 16px; }
  .ddc-hand { gap: 5px; }
  .ddc-card { width: 48px; height: 68px; }
  .ddc-card-rank { font-size: 1.35rem; }
  .ddc-card-suit { font-size: 1.6rem; }
  .ddc-score b { font-size: 18px; }
  .ddc-score-strip { gap: 8px; font-size: 13px; flex-wrap: wrap; }
  /* Keep the two result columns on phones by slimming each row's parts. */
  .ddc-combo-grid { column-gap: 6px; }
  .ddc-combo-row { gap: 5px; padding: 4px; }
  .ddc-combo-bar-wrap { min-width: 24px; }
  .ddc-combo-right { width: 62px; }
  .ddc-combo-pct { width: 34px; font-size: 12.5px; }
  .ddc-combo-n { min-width: 22px; font-size: 10.5px; }
  .ddc-tag { font-size: 8px; padding: 2px 5px; }
  /* Pool rows: let the Use button drop under the meta on narrow screens. */
  .ddc-pool-row { flex-wrap: wrap; gap: 6px; }
  .ddc-pool-main { flex-basis: 100%; }
  /* Slimmer name column on phones — cards still line up, text wraps below. */
  .ddc-comment-name { width: 72px; }
}

/* Once the panel is squeezed below its full 880px the two columns can't both
   breathe — Table talk drops back under the main content. */
@media (max-width: 920px) {
  .ddc-panel-cols { flex-wrap: wrap; }
  .ddc-panel-side {
    flex: 1 1 100%; border-left: none; padding-left: 0;
    border-top: 1px solid rgba(200, 160, 48, 0.25); padding-top: 8px;
  }
  .ddc-panel-side .ddc-comments { max-height: 220px; }
}

/* ── Guest tag + admin moderation (both the lounge panel and the public page) ── */
.ddc-tag-guest {
  background: rgba(120, 140, 170, 0.35); color: #cfdcf0;
  border: 1px solid rgba(160, 180, 210, 0.45); vertical-align: middle;
  margin-left: 3px;
}
/* Comment rows: the tag sits as its own flex item after the (ellipsised)
   name column so it never gets clipped; reply names are flex:none so the
   tag can ride inside them. */
.ddc-comment-row > .ddc-tag-guest { flex: none; font-size: 8px; padding: 1px 5px; margin-left: -4px; }
.ddc-reply-name .ddc-tag-guest { font-size: 8px; padding: 1px 5px; }
.ddc-mod-link {
  font-size: 10.5px; color: #ff9d9d; cursor: pointer; white-space: nowrap;
  border: 1px dashed rgba(255, 120, 120, 0.5); border-radius: 999px; padding: 1px 7px;
}
.ddc-mod-link:hover { color: #fff; border-color: #ff9d9d; }
.ddc-comment-row.ddc-hidden, .ddc-reply-row.ddc-hidden { opacity: 0.45; }
.ddc-comment-row.ddc-hidden .ddc-comment-text,
.ddc-reply-row.ddc-hidden .ddc-reply-text { text-decoration: line-through; }

/* ── Share row (both versions) ── */
.ddc-share-row {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px;
}
.ddc-share-btn {
  font-family: Lato, sans-serif; font-size: 12.5px; cursor: pointer;
  color: #f0e0b0; background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 160, 48, 0.6); border-radius: 999px;
  padding: 6px 14px; white-space: nowrap;
}
.ddc-share-btn:hover { border-color: #ffd754; color: #ffd754; }
.ddc-share-btn.ddc-share-fb b {
  display: inline-block; width: 16px; height: 16px; line-height: 16px; border-radius: 3px;
  background: #1877f2; color: #fff; text-align: center; font-family: Georgia, serif;
  font-size: 13px; margin-right: 5px; vertical-align: -2px;
}
.ddc-share-done { font-size: 12px; color: #9ee29e; min-height: 1em; }

/* ── Guest name on the pick form + form error ── */
.ddc-name-row {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 8px 0 10px; font-size: 13px; color: #d4b870;
}
.ddc-name {
  font-family: Lato, sans-serif; font-size: 14px; width: 170px;
  background: rgba(0, 0, 0, 0.35); color: #f0e0b0;
  border: 1px solid rgba(200, 160, 48, 0.5); border-radius: 8px; padding: 6px 10px;
}
.ddc-name:focus { outline: none; border-color: #ffd754; }
.ddc-name::placeholder { color: #a8946a; }
.ddc-name-hint { font-size: 11.5px; color: #a8946a; }
.ddc-name-note { text-align: center; font-size: 12.5px; color: #ffc98a; margin-top: 8px; }
.ddc-form-error { text-align: center; font-size: 12.5px; color: #ff9d9d; min-height: 1em; margin-top: 6px; }

/* ── Public page (play.ecribbage.com/daily_discard, v1.61q) ──
   The panel sits inline on a dark page instead of in the fixed overlay. */
.ddc-page {
  min-height: 100vh; padding: 10px 12px 40px; box-sizing: border-box;
  font-family: Lato, sans-serif; color: #f0e0b0;
}
.ddc-page .ddc-panel-inline {
  width: min(980px, 100%); box-sizing: border-box; max-height: none; overflow: visible;
  margin: 0 auto;
}
.ddc-topbar {
  width: min(980px, 100%); margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ddc-home-link {
  font-family: Cinzel, serif; font-weight: 700; font-size: 14px; text-decoration: none;
  color: #1a0e04; background: linear-gradient(180deg, #ffe27a, #e8c452);
  border-radius: 999px; padding: 7px 16px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.ddc-home-link:hover { filter: brightness(1.08); }
.ddc-home-short { display: none; }
.ddc-who { font-size: 13px; color: #d4b870; text-align: right; }
.ddc-who b { color: #ffd754; }
.ddc-headline {
  font-family: Cinzel, serif; font-weight: 700; font-size: 20px; color: #ffd754;
  text-align: center; margin: 4px auto 12px; max-width: 980px; line-height: 1.3;
}
.ddc-page-foot { text-align: center; margin-top: 18px; }
.ddc-signup-nudge {
  display: inline-block; font-family: Cinzel, serif; font-weight: 700; font-size: 14px;
  color: #1a0e04; background: linear-gradient(180deg, #ffe27a, #e8c452);
  text-decoration: none; border-radius: 999px; padding: 10px 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.ddc-signup-nudge:hover { filter: brightness(1.08); }
/* The page has room: let Table talk grow instead of scrolling inside itself. */
.ddc-page .ddc-panel-side .ddc-comments { max-height: none; }
@media (max-width: 620px) {
  .ddc-page { padding: 8px 8px 30px; }
  .ddc-home-long { display: none; }
  .ddc-home-short { display: inline; }
  .ddc-headline { font-size: 15.5px; }
  .ddc-who { font-size: 11.5px; }
}
/* Narrow phones: the two-column verdict grid's fixed right blocks can't both
   fit at 390px on the open page (the overlay clips; the page would scroll
   sideways) — stack the combos in one column there. */
@media (max-width: 430px) {
  .ddc-page .ddc-combo-grid { grid-template-columns: 1fr; }
}
