/* FF Legends · Blind Rank (20261124_blind_rank) — js/blindRank.js.
   A full-screen navy layer in the app; the whole page on /blind/. */
@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
    src: url("/fonts/playfair-display-latin-800-900.woff2?v=20260424_landing_v2") format("woff2");
}
@font-face {
    font-family: "Playfair Display Fallback";
    font-style: normal;
    font-weight: 800 900;
    src: local("Georgia");
    size-adjust: 105%;
    ascent-override: 88%;
    descent-override: 22%;
    line-gap-override: 0%;
}
html.br-open, html.br-open body { overflow: hidden; }
.br-root {
    position: fixed; inset: 0; z-index: 2147483000;
    background: #121a2b; color: #f4efe6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}
.br-root--page { position: relative; inset: auto; min-height: 100vh; min-height: 100dvh; z-index: auto; }
/* 20261125_blind_card: the overlay scrolls under the phone's status bar in the
   apps (the clock and battery sat on the result rows). A fixed strip the height
   of the safe area keeps that band solid while the rows scroll. */
.br-root:not(.br-root--page)::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: #121a2b; z-index: 4; pointer-events: none; }
.br-shell { max-width: 480px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; position: relative; }
.br-root *, .br-root *::before, .br-root *::after { box-sizing: border-box; }
.br-root button { font: inherit; }

/* top bar */
.br-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.br-x { color: #f4efe6; width: 40px; height: 40px; border-radius: 20px; border: 0; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.br-brand { font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.br-brand-r { color: #f26d6c; } .br-brand-b { color: #5aa2f5; }
.br-emb { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.br-top-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.br-top-title { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-weight: 800; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.br-top-sub { font-size: 11px; color: #a9b0bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-count-chip { font-size: 13px; font-weight: 800; color: #d6b05c; background: rgba(214,176,92,.12); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

/* medallion */
.br-medal { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
    width: 98px; height: 98px; background: url("/img/legends/medallion-192.webp?v=20261123_legends_art") center / contain no-repeat; color: #f5d77a; text-align: center; line-height: 1.05; }
.br-medal b { font-size: 15px; font-weight: 900; }
.br-medal i { font-style: normal; font-size: 9px; font-weight: 700; color: #ecd08a; text-transform: uppercase; letter-spacing: .02em; max-width: 64%; }
.br-medal .br-q { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 40px; font-weight: 800; }
.br-medal--xs { width: 100%; height: auto; aspect-ratio: 1 / 1; } .br-medal--xs .br-q { font-size: 20px; }
.br-medal--sm { width: 52px; height: 52px; } .br-medal--sm .br-q { font-size: 24px; }
.br-medal--lg { width: 104px; height: 104px; } .br-medal--lg b { font-size: 16px; } .br-medal--lg .br-q { font-size: 44px; }
.br-medal--xl { width: 132px; height: 132px; } .br-medal--xl .br-q { font-size: 56px; }

/* 20261124_blind_faces (Dom 24-11): revealed fighters show their face, the
   Legends tab look (navy circle, gold ring above the picture, era + weight
   under it). Sealed cards keep the "?" medal. */
.br-face { position: relative; display: block; flex-shrink: 0; overflow: hidden; border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #2a3a5c 0%, #121a2b 100%); box-shadow: 0 2px 6px rgba(0,0,0,.28); }
.br-face img { position: absolute; left: 50%; top: 6%; transform: translateX(-50%); width: 170%; max-width: none; height: auto; display: block; }
.br-face img.is-thumb { width: 124%; }
.br-face img.is-cover { top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.br-face::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #d6b05c; pointer-events: none; }
.br-face--lg { width: 96px; height: 96px; }
.br-face--xs { width: 28px; height: 28px; box-shadow: none; }
.br-face--xs::after { box-shadow: inset 0 0 0 1.5px #d6b05c; }
.br-face-col { flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.br-era-tag { display: inline-block; white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: #121a2b;
    box-shadow: inset 0 0 0 1px rgba(214,176,92,.55); color: #ecd08a; font-style: normal; font-size: 9px; font-weight: 900;
    letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; }

@keyframes br-pulse { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.06); filter: brightness(1.35); } }
@keyframes br-land { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes br-glow { 0% { box-shadow: 0 0 0 0 rgba(214,176,92,.5); } 100% { box-shadow: 0 0 0 8px rgba(214,176,92,0); } }
@keyframes br-shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes br-stamp { 0% { background: rgba(245,215,122,.45); } 100% { background: #1f2a42; } }
@keyframes br-recdot { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes br-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.br-pulse { animation: br-pulse 1s ease-in-out infinite; }
.br-land { animation: br-land .45s ease-out both; }
@media (prefers-reduced-motion: reduce) { .br-pulse, .br-land, .br-slot.is-open, .br-pain { animation: none !important; } }

/* intro */
.br-intro { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 28px; animation: br-in .3s ease-out both; }
.br-hero { position: relative; height: 190px; border-radius: 18px; overflow: hidden; background: #1a2338; display: flex; align-items: center; justify-content: center; }
.br-hero-photo { position: absolute; inset: 0; background: url("/img/legends/hall-720.webp?v=20261123_legends_art") center / cover no-repeat; opacity: .45; }
.br-hero .br-medal { position: relative; }
.br-h1 { margin: 0; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 29px; line-height: 1.12; font-weight: 800; color: #fff; }
.br-h2 { margin: 0; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 23px; font-weight: 800; color: #fff; }
.br-p { margin: 0; font-size: 15px; line-height: 1.5; color: #c9ced8; }
.br-seals { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.br-vs { border-radius: 14px; background: rgba(234,65,64,.14); border: 1px solid rgba(242,109,108,.5); padding: 11px 13px; font-size: 14px; line-height: 1.4; color: #ffe1e1; }
.br-vs b { color: #fff; }
.br-vs--past { background: rgba(90,162,245,.1); border-color: rgba(90,162,245,.4); color: #d8e6fb; }
.br-cta { display: flex; flex-direction: column; gap: 10px; }
.br-crowdline { font-size: 12px; color: #a9b0bd; text-align: center; min-height: 16px; }

/* buttons */
.br-btn { min-height: 48px; border-radius: 13px; border: 0; padding: 0 16px; font-size: 15px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.br-btn:disabled { opacity: .7; cursor: default; }
.br-btn--big { min-height: 56px; font-size: 17px; }
.br-btn--gold { background: #d6b05c; color: #121a2b; }
.br-btn--red { background: #CC3130; color: #fff; }
.br-btn--line { background: transparent; color: #f4efe6; border: 1px solid rgba(244,239,230,.3); }
.br-btn--wide { grid-column: 1 / -1; }
.br-link { align-self: center; background: none; border: 0; color: #c9ced8; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 10px; text-align: center; }

/* play */
.br-play { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 18px; }
.br-card { min-height: 144px; border-radius: 18px; background: #1a2338; border: 1px solid rgba(214,176,92,.25); display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.br-card--count { flex-direction: column; justify-content: center; gap: 4px; }
.br-count { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 64px; font-weight: 800; color: #f5d77a; line-height: 1; }
.br-card-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.br-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #d6b05c; }
.br-name { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 25px; line-height: 1.08; font-weight: 800; color: #fff; }
.br-nick { font-size: 13px; color: #c9ced8; font-style: italic; }
.br-card-sub { font-size: 13px; color: #a9b0bd; }
.br-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.br-ko { color: #a9b0bd; font-weight: 600; }
.br-rec b { font-weight: 800; } .br-w { color: #4cc38a; } .br-l { color: #f26d6c; } .br-d { color: #a9b0bd; }
.br-flag { width: 18px; height: 18px; border-radius: 50%; background: center / cover no-repeat; flex-shrink: 0; display: inline-block; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.br-pain { border-radius: 12px; background: rgba(234,65,64,.16); border: 1px solid rgba(242,109,108,.6); padding: 9px 12px; font-size: 13px; line-height: 1.35; color: #ffd9d9; animation: br-shake .5s ease-in-out 1; }
.br-pain b { color: #fff; }
.br-slots { display: flex; flex-direction: column; gap: 6px; }
.br-slot { color: #f4efe6; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 11px; border: 1px solid rgba(255,255,255,.1); background: transparent; text-align: left; cursor: pointer; }
.br-slot:disabled { cursor: default; }
.br-slot.is-filled { background: #1f2a42; border-color: rgba(255,255,255,.06); }
.br-slot.is-open { border-color: rgba(214,176,92,.75); background: rgba(214,176,92,.08); animation: br-glow 1.2s ease-out infinite; }
.br-slot.is-open:active { background: rgba(214,176,92,.25); }
.br-slot.is-new { animation: br-stamp .6s ease-out 1; }
.br-slot-n { width: 26px; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 19px; font-weight: 800; color: #5d6678; flex-shrink: 0; }
.br-slot.is-filled .br-slot-n { color: #d6b05c; } .br-slot.is-open .br-slot-n { color: #f5d77a; }
.br-slot-name { font-size: 15px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-slot-era { font-size: 12px; color: #a9b0bd; }
/* 20261124_blind_now: still-active fighters (Canelo, Inoue, Usyk, Fury, Pacquiao) */
.br-act { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: rgba(95, 208, 138, 0.14); color: #5fd08a; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
/* 20261124_blind_themes: the day's theme over the intro title, its one-line
   rule, and the belt line on a Champions reveal. */
.br-theme { display: inline-flex; align-self: flex-start; align-items: center; padding: 4px 11px; border-radius: 999px; background: rgba(214, 176, 92, 0.16); border: 1px solid rgba(214, 176, 92, 0.5); color: #f5d77a; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.br-p--theme { color: #f1e3bd; font-weight: 700; }
.br-nowrap { white-space: nowrap; }
.br-belt { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.03em; color: #f5d77a; }
.br-slot-era.is-act { color: #5fd08a; font-weight: 700; }
.br-slot-hint { font-size: 13px; font-weight: 700; color: #d6b05c; }

/* film me */
.br-cam { position: relative; height: 176px; background: #0b111d; border-bottom: 1px solid rgba(214,176,92,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.br-cam-ring { width: 136px; height: 136px; border-radius: 50%; overflow: hidden; border: 3px solid #d6b05c; background: #1b2740; }
.br-cam-video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.br-camrec { position: absolute; top: 12px; left: 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #fff; }
.br-camrec i { width: 10px; height: 10px; border-radius: 5px; background: #ff4d4d; display: inline-block; animation: br-recdot 1.2s ease-in-out infinite; }
.br-cam-url { position: absolute; top: 12px; right: 14px; font-size: 11px; color: #d6b05c; font-weight: 700; }
.br-play--film .br-card { min-height: 124px; }
.br-play--film .br-face--lg { width: 76px; height: 76px; }
.br-play--film .br-medal--lg { width: 84px; height: 84px; }
.br-play--film .br-slot { height: 40px; }
.br-play--film .br-slots { gap: 4px; }

/* done + compare */
.br-done { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 26px; }
.br-done-head { display: flex; align-items: baseline; justify-content: space-between; }
.br-done-ref { font-size: 12px; color: #a9b0bd; }
.br-res-list { display: flex; flex-direction: column; gap: 4px; }
.br-res, .br-cmp { min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 9px; background: #1a2338; border: 1px solid transparent; }
.br-res.is-near, .br-cmp.is-near { background: rgba(76,195,138,.09); }
.br-cmp.is-big { background: rgba(234,65,64,.13); border-color: rgba(242,109,108,.6); }
.br-res-n { width: 22px; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 16px; font-weight: 800; color: #d6b05c; }
.br-res-name { font-size: 14px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-res-ref { font-size: 12px; font-weight: 800; color: #f5d77a; }
.br-res.is-near .br-res-ref { color: #4cc38a; }
.br-cmp-head { display: flex; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a91a0; }
.br-cmp-head span:first-child { flex: 1; } .br-cmp-head span { width: 52px; text-align: center; } .br-cmp-head span:first-child { width: auto; text-align: left; }
.br-cmp-you, .br-cmp-them { width: 52px; text-align: center; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 16px; font-weight: 800; }
.br-cmp-you { color: #5aa2f5; } .br-cmp-them { color: #f26d6c; }
.br-hot { border-radius: 14px; background: linear-gradient(135deg, #2a2212, #1a2338); border: 1px solid rgba(214,176,92,.5); padding: 11px 13px; display: flex; flex-direction: column; gap: 4px; }
.br-hot--red { background: linear-gradient(135deg, #3a1618, #1a2338); border-color: rgba(242,109,108,.55); }
.br-hot--red .br-eyebrow { color: #f26d6c; }
.br-hot-line { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.br-hot-sub { font-size: 12px; color: #c9ced8; line-height: 1.4; }
.br-agree { font-size: 13px; color: #c9ced8; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.br-agree b { color: #fff; }
.br-agree span { font-size: 12px; color: #a9b0bd; }
.br-agree--big { font-size: 16px; background: #1a2338; border-radius: 14px; padding: 12px; }
.br-agree--big b { color: #f5d77a; font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 22px; }
.br-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.br-next { font-size: 13px; color: #c9ced8; text-align: center; }
.br-next b { color: #f5d77a; }

/* earlier sets */
.br-past { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 26px; }
.br-past-row { color: #f4efe6; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #1a2338; border: 1px solid rgba(255,255,255,.06); cursor: pointer; text-align: left; }
.br-past-n { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 20px; font-weight: 800; color: #d6b05c; width: 44px; }
.br-past-txt { display: flex; flex-direction: column; flex: 1; font-size: 12px; color: #a9b0bd; }
.br-past-txt b { font-size: 15px; color: #fff; }
.br-past-go { font-size: 13px; font-weight: 800; color: #121a2b; background: #d6b05c; border-radius: 999px; padding: 7px 12px; }

/* loading, toast, sheets */
.br-loading, .br-error { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 24px; color: #c9ced8; font-size: 14px; text-align: center; }
.br-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: 92%; background: #0b111d; border: 1px solid rgba(214,176,92,.5); color: #fff; font-size: 14px; padding: 10px 14px; border-radius: 12px; z-index: 3; }
.br-making, .br-sheet { position: fixed; inset: 0; background: rgba(5,8,15,.78); display: flex; align-items: flex-end; justify-content: center; z-index: 2; }
.br-making { align-items: center; }
.br-making-box, .br-sheet-box { width: 100%; max-width: 480px; background: #1a2338; border-radius: 20px 20px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.br-making-box { border-radius: 18px; width: 88%; max-width: 380px; }
.br-making-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.br-making-bar i { display: block; height: 100%; width: 0; background: #d6b05c; transition: width .2s linear; }
.br-making-sub { font-size: 12px; color: #a9b0bd; }

/* the Legends tab door card */
.br-door { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 12px; border-radius: 16px; border: 1px solid rgba(214,176,92,.45);
    background: linear-gradient(135deg, #1d2740, #121a2b); color: #f4efe6; cursor: pointer; text-align: left; font: inherit; }
.br-door .br-medal--sm { animation: br-pulse 1.6s ease-in-out infinite; }
.br-door-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.br-door-title { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 18px; font-weight: 800; color: #fff; }
.br-door-sub { font-size: 12px; color: #a9b0bd; line-height: 1.35; }
.br-door-go { font-size: 13px; font-weight: 800; color: #121a2b; background: #d6b05c; border-radius: 999px; padding: 8px 14px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .br-door .br-medal--sm { animation: none; } }

/* /blind/ before js/blindRank.js runs (and with no JS at all) */
.br-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; }
.br-static h1 { font-family: "Playfair Display","Playfair Display Fallback",Georgia,serif; font-size: 30px; line-height: 1.15; color: #fff; }
.br-static a { color: #f5d77a; font-weight: 700; }
/* 20261124_threads: a ranked FF Legend opens its sheet / page. */
.br-res.is-link, .br-cmp.is-link { cursor: pointer; }
.br-res.is-link .br-res-name::after, .br-cmp.is-link .br-res-name::after { content: " \203A"; color: #d6b05c; font-weight: 800; }
.br-res.is-link:focus-visible, .br-cmp.is-link:focus-visible { outline: 2px solid #d6b05c; outline-offset: 1px; }
