/* FF Daily (20261126_daily) — js/dailyGames.js. Rides on css/blind-rank.css
   (the .br-root layer, top bar, buttons, faces), so the four daily games read
   as one set. */
.dg-hub, .dg-pad { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 28px; animation: br-in .25s ease-out both; }
.dg-center { align-items: center; text-align: center; }
.dg-center-t { text-align: center; }
.dg-left { text-align: left; align-self: stretch; }
.dg-games { display: flex; flex-direction: column; gap: 10px; }
.dg-game { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 1px solid rgba(214,176,92,.4); background: #1a2338; color: #f4efe6; text-align: left; cursor: pointer; }
.dg-game.is-done { border-color: rgba(255,255,255,.1); background: #161f33; }
.dg-game-ic { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: url("/img/legends/medallion-192.webp?v=20261123_legends_art") center / contain no-repeat;
    color: #f5d77a; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-weight: 800; font-size: 20px; }
.dg-ic--ko { font-size: 14px; }
.dg-game.is-done .dg-game-ic { background: #2f9e6a; color: #fff; font-family: inherit; font-size: 20px; }
.dg-game-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dg-game-title { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 18px; font-weight: 800; color: #fff; }
.dg-game-sub { font-size: 12.5px; color: #a9b0bd; line-height: 1.35; }
.dg-go--done { background: rgba(255,255,255,.1); color: #f4efe6; }

/* guess */
.dg-who { display: flex; align-items: center; gap: 12px; }
.dg-who > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.dg-worth { font-size: 13px; color: #a9b0bd; } .dg-worth b { color: #f5d77a; }
.dg-clues { display: flex; flex-direction: column; gap: 9px; }
.dg-clue { background: #1a2338; border: 1px solid transparent; border-radius: 14px; padding: 11px 13px; display: flex; flex-direction: column; gap: 5px; }
.dg-clue.is-cur { border-color: rgba(214,176,92,.6); }
.dg-clue p { margin: 0; font-size: 15px; line-height: 1.45; color: #f4efe6; }
.dg-clue.is-locked { flex-direction: row; justify-content: space-between; align-items: center; background: transparent; border: 1px dashed rgba(255,255,255,.18); font-size: 14px; color: #a9b0bd; }
.dg-clue.is-locked b { font-size: 13px; }
.dg-miss { font-size: 13px; color: #ff9b97; }
.dg-label { font-size: 12px; font-weight: 700; color: #a9b0bd; margin-bottom: -8px; }
.dg-input { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid #d6b05c; background: #0d1422; color: #f4efe6; font-size: 16px; padding: 0 14px; font-family: inherit; }
.dg-input:focus { outline: 2px solid rgba(214,176,92,.45); outline-offset: 1px; }
.dg-sugs { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #1a2338; margin-top: -6px; }
.dg-sugs:empty { display: none; }
.dg-sug { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 13px; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); background: transparent; color: #f4efe6; text-align: left; cursor: pointer; }
.dg-sug:last-child { border-bottom: 0; }
.dg-sug.is-empty { color: #a9b0bd; font-size: 13px; cursor: default; }
.dg-sug-n { font-size: 15px; font-weight: 700; } .dg-sug-m { font-size: 12px; color: #a9b0bd; white-space: nowrap; }
.dg-row { display: flex; gap: 8px; } .dg-row > * { flex: 1; } .dg-row .br-btn--gold { flex: 0 0 auto; }
.dg-face--xl { width: 124px; height: 124px; }
.dg-head { font-size: 15px; color: #c9ced8; } .dg-head b { color: #f5d77a; }
.dg-sqs { display: flex; gap: 8px; justify-content: center; }
.dg-sq { width: 44px; height: 44px; border-radius: 10px; background: #2a3349; flex-shrink: 0; position: relative; }
.dg-sq.is-hit { background: #2f9e6a; } .dg-sq.is-miss { background: #c8463f; }
.dg-sq.is-hit::after { content: "\2713"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.dg-sq.is-miss::after { content: "\2715"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.dg-panel { width: 100%; background: #1a2338; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.dg-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.dg-kv > span:first-child { color: #a9b0bd; flex-shrink: 0; }
.dg-kv > :last-child { text-align: right; }
.dg-kv--clue { flex-direction: column; gap: 2px; }
.dg-kv--clue > span:first-child { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dg-kv--clue > span:last-child { color: #e4e7ed; line-height: 1.4; text-align: left; }
.dg-root .br-top-title { overflow: hidden; text-overflow: ellipsis; }

/* who fought both */
.dg-pips { display: flex; gap: 6px; justify-content: center; }
.dg-pip { width: 22px; height: 6px; border-radius: 3px; background: #2a3349; }
.dg-pip.is-cur { background: #d6b05c; } .dg-pip.is-hit { background: #2f9e6a; } .dg-pip.is-miss { background: #c8463f; }
.dg-sides { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.dg-side { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; width: 132px; }
.dg-side b { font-size: 15px; line-height: 1.2; } .dg-side span { font-size: 12px; color: #a9b0bd; }
.dg-ring--red::after { box-shadow: inset 0 0 0 3px #EA4140; } .dg-ring--blue::after { box-shadow: inset 0 0 0 3px #5aa2f5; }
.dg-amp { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 26px; font-weight: 800; color: #d6b05c; margin-top: 34px; }
.dg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dg-opt { min-height: 60px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #1a2338; color: #f4efe6; display: flex; align-items: center; gap: 9px; padding: 8px 10px; text-align: left; font-size: 14.5px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.dg-opt:disabled { cursor: default; }
.dg-opt.is-hit { border-color: #2f9e6a; background: #16301f; } .dg-opt.is-miss { border-color: #c8463f; background: #35181a; } .dg-opt.is-dim { opacity: .55; }
.dg-face--opt { width: 38px; height: 38px; }
.dg-noface { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #c9ced8; }
.dg-proof { display: flex; flex-direction: column; gap: 1px; font-size: 15px; } .dg-proof span { font-size: 12px; color: #a9b0bd; }
.dg-pairrow { display: flex; align-items: center; gap: 10px; }
.dg-pairrow .dg-sq { width: 26px; height: 26px; border-radius: 7px; }
.dg-pairrow .dg-sq::after { font-size: 13px; }
.dg-pairrow-t { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; font-size: 14px; }
.dg-pairrow-t span { font-size: 12px; color: #a9b0bd; }
.dg-big { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 72px; font-weight: 800; line-height: 1; color: #f5d77a; }
.dg-big small { font-size: 24px; color: #a9b0bd; } .dg-big.is-over { color: #ff9b97; }
.dg-gold { color: #f5d77a; }

/* 100-KO */
.dg-total { background: #1a2338; border-radius: 16px; padding: 13px 14px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; }
.dg-total-n { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 40px; font-weight: 800; line-height: 1; color: #f5d77a; }
.dg-total-n small { font-size: 18px; color: #a9b0bd; }
.dg-total-s { font-size: 13px; color: #c9ced8; }
.dg-track { grid-column: 1 / -1; height: 12px; border-radius: 6px; background: #0d1422; display: flex; overflow: hidden; }
.dg-bar0 { background: #b8913f; } .dg-bar1 { background: #d6b05c; } .dg-bar2 { background: #f5d77a; }
.dg-kos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.dg-ko { position: relative; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #1a2338; color: #f4efe6; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.dg-ko.is-on { border: 2px solid #d6b05c; background: #232d47; cursor: default; }
.dg-face--ko { width: 62px; height: 62px; }
.dg-ko-n { font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
.dg-ko-v { font-size: 15px; font-weight: 800; color: #6c7488; } .dg-ko.is-on .dg-ko-v { color: #f5d77a; }
.dg-act { position: absolute; top: 6px; right: 6px; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #121a2b; background: #4cc38a; border-radius: 999px; padding: 2px 6px; }
.dg-note { margin: 0; font-size: 12.5px; color: #a9b0bd; text-align: center; line-height: 1.45; }
.dg-end { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* static fallback on /daily before the script runs */
.dg-static { max-width: 560px; margin: 0 auto; padding: 32px 20px; color: #f4efe6; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; line-height: 1.55; }
.dg-static h1 { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 30px; line-height: 1.15; color: #fff; }
.dg-static a { color: #f5d77a; font-weight: 700; }

/* 20261126_daily_r3 (Dom 26-11): head-to-head for arrivals off a challenge link */
.dg-h2h { width: 100%; border-radius: 16px; padding: 14px 14px 12px; background: #1a2338; border: 1px solid rgba(214,176,92,.45); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dg-h2h.is-w { border-color: #d6b05c; background: linear-gradient(180deg, rgba(214,176,92,.18), #1a2338 70%); }
.dg-h2h.is-l { border-color: rgba(242,109,108,.55); }
.dg-h2h-sides { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.dg-h2h-side { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.dg-h2h-side span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a9b0bd; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-h2h-side b { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 40px; font-weight: 800; line-height: 1.05; color: #fff; }
.dg-h2h-side.is-me b { color: #f5d77a; }
.dg-h2h-side em { font-style: normal; font-size: 12px; color: #a9b0bd; }
.dg-h2h-v { font-size: 13px; font-weight: 900; color: #6f7888; text-transform: uppercase; }
.dg-h2h-verdict { font-size: 17px; font-weight: 900; color: #fff; }
.dg-h2h.is-w .dg-h2h-verdict { color: #f5d77a; }
.dg-h2h-tally { font-size: 13px; color: #c9ced8; }

/* 20261126_daily_r3 (Dom 26-11 21:18): one free game a day signed out */
.dg-game.is-locked .dg-game-ic { opacity: .55; }
.dg-go--lock { background: rgba(214,176,92,.16); color: #f5d77a; }
.dg-gate-emb { width: 76px; height: 76px; }
.dg-gate-list { gap: 10px; }
.dg-gate-row { display: flex; flex-direction: column; gap: 1px; }
.dg-gate-row b { font-size: 15px; color: #fff; }
.dg-gate-row span { font-size: 13px; color: #a9b0bd; line-height: 1.35; }
.dg-gate .br-btn { width: 100%; }

/* 20261126_daily_r5 (Dom 26-11): first-visit welcome on /daily */
.dg-welcome .br-btn { width: 100%; }
.dg-welcome-kicker { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #d6b05c; }
.dg-welcome-link { font-size: 14px; font-weight: 700; color: #c9ced8; text-decoration: none; padding: 6px 0; }
.dg-welcome-link:active { color: #fff; }
