/* Temple of Football homepage stylesheet. Original cascade order retained. */

/* ===== styles.css ===== */
:root{--peach:#fff8f4;--peach-deep:#fcefe6;--gold:#ad864a;--gold-soft:#d9c2a0;--ink:#322b26;--text:#695e56;--font-b:'Libre Baskerville',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--peach);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}::selection{background:var(--gold-soft);color:var(--ink)}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:12px;z-index:10;padding:10px 14px;color:var(--ink);background:#fff}.skip-link:focus{top:12px}
/* Original hero artwork remains unchanged; Clint is scaled uniformly in its display. */
.landing{min-height:100svh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 63%,#fffdfb 0%,var(--peach) 67%,var(--peach-deep) 155%)}
.landing:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent 9%,var(--gold) 50%,transparent 91%);opacity:.8;pointer-events:none}
.landing-header,.landing-footer{width:calc(100% - 96px);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:1}.landing-header{min-height:76px}
.header-brand-group{display:flex;align-items:center;gap:clamp(13px,2vw,28px);min-width:0}.header-logo{display:block;flex:none;width:clamp(142px,16.5vw,235px);padding:4px 0}.header-logo img{width:100%;height:auto}.header-logo:hover{opacity:.7}
.header-edition,.header-invitation,.landing-footer,.story-eyebrow,.story-credit{font:700 10px/1.5 var(--sans);letter-spacing:.17em}.header-edition{color:#9d8361}.header-edition span{margin:0 8px;color:var(--gold-soft)}
.landing-nav{display:flex;align-items:center;gap:clamp(16px,2.5vw,36px);flex:none}
.header-nav-link{position:relative;background:transparent;border:0;padding:12px 3px;color:var(--gold);white-space:nowrap;text-decoration:none;font:700 19px/1.5 var(--sans);letter-spacing:.08em;transition:color .2s}
.header-nav-link:after{content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--gold-soft);transform:scaleX(.6);transition:transform .2s,background .2s}
.header-nav-link:hover{color:var(--ink)}.header-nav-link:hover:after{transform:scaleX(1);background:var(--gold)}
.landing-stage{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0 20px 22px}
.cinematic-hero-art{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100svh - 195px);object-fit:contain;object-position:center;flex:0 1 auto}
.cinematic-enter{display:flex;align-items:center;justify-content:center;gap:30px;min-height:54px;padding:0 35px;margin-top:-1px;border:1px solid #b98c36;outline:1px solid #f4d887;outline-offset:-5px;background:linear-gradient(120deg,#0d1726,#1f2230 53%,#0d1726);box-shadow:0 2px 16px #4d301e27,inset 0 0 15px #98692626;color:#f5cf76;font:700 12px/1 var(--font-b);letter-spacing:.23em;white-space:nowrap;transition:background .22s,transform .22s,box-shadow .22s}
.cinematic-enter:hover{transform:translateY(-2px);background:linear-gradient(120deg,#172239,#2a3042 53%,#172239);box-shadow:0 5px 22px #4d301e42,inset 0 0 16px #cda86128}
.cinematic-enter-arrow{font:400 23px/1 Georgia,serif;letter-spacing:0;margin-top:-3px}
.landing-footer{min-height:55px;color:#a89276;font-size:9px;letter-spacing:.15em;justify-content:flex-end}.hero-art-credit{font-size:10px;letter-spacing:.08em;text-transform:none}
/* Invitation to shape future stories, directly beneath the unchanged hero. */
.future-survey{background:linear-gradient(180deg,#fffaf6 0%,#fffefd 45%,#fff8f2 100%);padding:94px 24px 112px;border-top:1px solid #e8d9c5;position:relative}
.future-survey:before{content:"";display:block;position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(290px,42vw);height:2px;background:linear-gradient(90deg,transparent,#c49a52,transparent)}
.survey-kicker{font:700 11px/1.4 var(--sans);letter-spacing:.27em;color:#a47b3f;margin:0 0 20px}
.survey-invite{width:min(740px,100%);margin:0 auto;text-align:center}
.survey-invite h2{font:700 clamp(30px,4.2vw,54px)/1.18 var(--font-b);letter-spacing:-.045em;color:#252a31;margin:0 0 24px;text-wrap:balance}
.survey-invite>p:not(.survey-kicker):not(.survey-invite-note){font:400 15px/1.95 var(--font-b);color:#74675b;margin:0 auto;max-width:640px;text-wrap:pretty}.survey-invite em{font-style:normal}
.survey-invite .survey-link{display:inline-flex;text-decoration:none;margin:36px auto 0;min-height:59px;padding:0 34px;letter-spacing:.12em;white-space:normal}
.survey-invite .survey-invite-note{font:600 10px/1.8 var(--sans);letter-spacing:.16em;color:#a58d73;margin:19px 0 0}
/* The original player-card ratings power the top-ten preview board. */
.leaderboard-section{position:relative;padding:104px clamp(24px,2.5vw,52px) 120px;background:radial-gradient(ellipse at 50% 18%,#fffdfa 0%,#fbf0e6 62%,#f4e4d5 140%);border-top:1px solid #e4d1bb}
.leaderboard-shell{--alfred-width:clamp(320px,24vw,380px);--leaderboard-gap:12px;width:100%;margin:0 auto}.leaderboard-heading-wrap{text-align:center;width:calc(100% - var(--alfred-width) - var(--leaderboard-gap));margin:0 0 52px}
.leaderboard-showcase{display:grid;grid-template-columns:minmax(0,1fr) var(--alfred-width);align-items:start;gap:var(--leaderboard-gap);width:100%;margin:0 auto}
.leaderboard-showcase .leaderboard-card{min-width:0}
.leaderboard-artwork{position:relative;top:auto;align-self:center;margin:0;min-width:0}
.leaderboard-artwork-frame{position:relative;padding:0;background:transparent;border:0;box-shadow:none}
.leaderboard-artwork-frame:before{content:none}
.leaderboard-artwork img{position:relative;z-index:1;width:100%;height:auto;object-fit:contain}
.leaderboard-artwork figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:18px;color:#9c7a4c}
.leaderboard-artwork figcaption span{font:700 9px/1.5 var(--sans);letter-spacing:.11em}.leaderboard-artwork figcaption strong{font:700 20px/1 var(--font-b);letter-spacing:.04em;color:#59402d}
/* Original player cards: flat, unaltered JPEGs with front/back reveal. */
.player-cards-section{position:relative;padding:110px clamp(22px,4vw,65px) 130px;border-top:1px solid #e3cfb3;background:radial-gradient(ellipse at 50% 5%,#fffdfb 0%,#fff9f3 56%,#f6e9dc 140%)}
.player-cards-section:before{content:"";position:absolute;top:0;left:50%;width:min(380px,48vw);height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#bb914d,transparent)}
.player-cards-shell{width:min(1520px,100%);margin:0 auto;text-align:center}
.player-cards-kicker{margin:0 0 20px;font:700 11px/1.5 var(--sans);letter-spacing:.25em;color:#a47c44}
.player-cards-shell h2{margin:0 0 21px;color:#302b29;font:700 clamp(38px,5vw,64px)/1.15 var(--font-b);letter-spacing:-.045em}
.player-cards-shell h2 span{color:var(--gold)}
.player-cards-intro{max-width:640px;margin:0 auto;color:#77695c;font:400 15px/1.9 var(--font-b)}
.player-cards-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:51px auto 16px;padding:0 8px}
.player-cards-scroll-label{font:700 11px/1.4 var(--sans);letter-spacing:.19em;color:#9d7d53;text-align:left}
.player-cards-arrow-group{display:flex;align-items:center;gap:12px}
.player-cards-arrow{width:54px;height:54px;border:1px solid #b58a4d;background:#1d2027;color:#e2c089;font:400 25px/1 var(--font-b);cursor:pointer;box-shadow:0 5px 15px #5e49321a;transition:background .2s,border-color .2s,color .2s}
.player-cards-arrow:not(:disabled):hover{background:#b58a4d;color:#1d2027}
.player-cards-arrow:focus-visible{outline:3px solid #b58a4d;outline-offset:4px}
.player-cards-arrow:disabled{opacity:.4;cursor:default}
.player-cards-grid{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:start;gap:27px;margin:0 auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:8px;scroll-behavior:smooth;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bd9c6a #efe4d7;padding:11px 8px 25px}
.player-cards-grid:focus-visible{outline:2px solid #b58a4d;outline-offset:2px}
.player-card-tile{flex:0 0 clamp(350px,34vw,465px);min-width:0;scroll-snap-align:start}
.player-card-toggle{display:block;position:relative;width:100%;aspect-ratio:5/7;padding:0;overflow:hidden;border:1px solid #d4b98a;background:#22315a;box-shadow:0 11px 27px #5e493222;cursor:pointer}
.player-card-toggle:focus-visible{outline:3px solid #b38a4d;outline-offset:5px}
.player-card-toggle img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.player-card-toggle .player-card-back{opacity:0;pointer-events:none}
.player-card-toggle:is(:hover,:focus-visible,.is-flipped) .player-card-back{opacity:1}
.player-card-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:15px;text-align:left;font:700 12px/1.45 var(--sans);letter-spacing:.12em;color:#554332}
.player-card-caption span:last-child{font-size:9px;letter-spacing:.1em;color:#a1845e;white-space:nowrap}
@media(max-width:620px){.player-cards-section{padding:76px 17px 92px}.player-cards-controls{margin-top:32px;padding:0 3px}.player-cards-scroll-label{font-size:9px;letter-spacing:.1em}.player-cards-arrow-group{gap:7px}.player-cards-arrow{width:41px;height:41px;font-size:20px}.player-cards-grid{gap:16px;padding:9px 3px 22px;scroll-padding-inline:3px}.player-card-tile{flex-basis:min(79vw,345px)}.player-card-caption{margin-top:10px;font-size:11px;letter-spacing:.08em;gap:5px}.player-card-caption span:last-child{font-size:8px;letter-spacing:0}.player-cards-intro{font-size:13px}}
/* Both original print cover artworks remain flat, unretouched, and correctly proportioned. */
.book-section{position:relative;padding:112px 30px 135px;border-top:1px solid #e1cdae;background:radial-gradient(ellipse at 28% 48%,#fffefd 0%,#fff8f1 55%,#f6e7d9 130%)}
.book-section:before{content:"";position:absolute;top:0;left:50%;width:min(360px,40vw);height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#be9657,transparent)}
.book-shell{display:grid;grid-template-columns:minmax(0,690px) minmax(0,430px);align-items:center;justify-content:center;gap:clamp(36px,5vw,80px);width:min(1320px,100%);margin:0 auto}
.book-artwork{min-width:0}
.book-cover-frame{display:block;position:relative;appearance:none;border:0;background:none;width:min(100%,650px);margin:0 auto;padding:0;cursor:pointer;line-height:0;overflow:hidden}
.book-cover-frame:focus-visible{outline:3px solid #bd9051;outline-offset:7px}
.book-cover-frame img{display:block;width:100%;height:auto}
.book-cover-frame .book-cover-back{position:absolute;inset:0;height:100%;object-fit:contain;background:#fff9f3;opacity:0;pointer-events:none}
.book-cover-frame:is(:hover,:focus-visible,.is-flipped) .book-cover-back{opacity:1}
.book-cover-hint{margin:18px 0 0;text-align:center;color:#947b62;font:700 10px/1.5 var(--sans);letter-spacing:.17em}
.book-content{text-align:left;min-width:0;padding:20px 0}
.book-eyebrow{font:700 11px/1.4 var(--sans);letter-spacing:.23em;color:#a47c44;margin:0 0 23px}
.book-content h2{font:700 clamp(39px,5vw,67px)/1.13 var(--font-b);letter-spacing:-.052em;color:#302d2b;margin:0 0 12px;text-wrap:balance}
.book-title-divider{color:var(--gold)}
.book-subtitle{font:400 clamp(22px,2.4vw,32px)/1.3 var(--font-b);color:#7a5b38;margin:0 0 15px}
.book-authors{font:600 12px/1.6 var(--sans);letter-spacing:.10em;text-transform:uppercase;color:#8c7864;margin:0}
.book-rule{width:75px;height:2px;margin:31px 0;background:linear-gradient(90deg,#9b7540,#e9d7bd)}
.book-description{max-width:460px;font:400 16px/1.95 var(--font-b);color:#776a5f;margin:0 0 33px}
.book-price{font:700 clamp(34px,3.7vw,49px)/1.2 var(--font-b);color:#2f2d2a;margin:0 0 3px}
.book-format{font:600 12px/1.6 var(--sans);letter-spacing:.1em;color:#8c7864;margin:0 0 27px}
.book-buy{display:inline-flex;min-width:275px;margin:0;text-decoration:none}.book-buy:disabled{cursor:not-allowed;opacity:.78;transform:none;box-shadow:0 3px 16px #4834221b}
.leaderboard-eyebrow{font:700 11px/1.4 var(--sans);letter-spacing:.28em;color:#a57d47;margin:0 0 20px}
.leaderboard-heading-wrap h2{font:700 clamp(36px,5vw,61px)/1.15 var(--font-b);letter-spacing:-.048em;color:#292b31;max-width:790px;margin:0 auto 24px}
.leaderboard-heading-wrap h2 span{color:#b9934e}.leaderboard-heading-wrap>p:last-child{font:400 14px/1.95 var(--font-b);color:#7a6a5b;max-width:620px;margin:0 auto}
.leaderboard-card{position:relative;isolation:isolate;overflow:hidden;padding:19px;background:linear-gradient(125deg,#eae6e0 0%,#dedad4 53%,#e6e1db 100%);border:1px solid #baa581;box-shadow:0 28px 65px #5c423d25,0 5px 12px #5746341b}
.leaderboard-card:before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 11% 20%,#fff9ed90,transparent 38%),radial-gradient(ellipse at 85% 75%,#c7ae8a3b,transparent 40%);filter:blur(45px)}
.leaderboard-card-header,.leaderboard-card-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#756856;font:700 10px/1.6 var(--sans);letter-spacing:.17em}
.leaderboard-card-header{padding:9px 13px 24px}.leaderboard-header-divider{margin:0 8px;color:#9d9489}.leaderboard-sealed{color:#98754d}
.leaderboard-filter-bar{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:17px 18px 19px;margin:0 0 14px;background:#f9f5eee8;border:1px solid #c5b59f85}
.leaderboard-filter-label{display:flex;flex-direction:column;gap:6px;min-width:0}
.leaderboard-filter-label strong{color:#302b27;font:700 18px/1.35 var(--font-b);letter-spacing:-.03em}
.leaderboard-filter-label span{color:#978470;font:600 10px/1.4 var(--sans);letter-spacing:.05em}
.leaderboard-filter-fields{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.leaderboard-filter-fields label{display:flex;flex-direction:column;gap:6px;color:#76634e;font:800 9px/1.3 var(--sans);letter-spacing:.16em}
.leaderboard-filter-fields select{min-width:146px;max-width:100%;min-height:44px;padding:10px 34px 10px 13px;border:1px solid #b9a88e;border-radius:2px;background:#fffdfa;color:#322d28;font:700 13px/1.3 var(--sans);letter-spacing:0;cursor:pointer}
.leaderboard-filter-fields select:focus-visible{outline:3px solid #b6945e;outline-offset:2px}
.leaderboard-current-view{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 11px;padding:4px 5px;color:#3b3029;font:800 10px/1.6 var(--sans);letter-spacing:.15em}
.leaderboard-current-view span{color:#8e7d68;font:600 10px/1.6 var(--sans);letter-spacing:.02em;text-transform:none}
.leaderboard-empty{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:38px;background:#faf6ef;border:1px solid #bcae9a68}
.leaderboard-empty strong{font:700 27px/1.3 var(--font-b);color:#40352f}.leaderboard-empty span{max-width:480px;font:400 13px/1.8 var(--sans);color:#867564}
.leaderboard-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-color:#b49b78 #dfd9d1;scrollbar-width:thin;outline-offset:3px}
.leaderboard-card:not(.leaderboard-unlocked) .leaderboard-scroll{min-height:610px}
.leaderboard-rows{display:flex;flex-direction:column;gap:8px;min-width:1000px}
.leaderboard-rows.is-empty{min-width:0}
.leaderboard-row{display:grid;grid-template-columns:minmax(240px,1.24fr) minmax(540px,3fr) 78px;align-items:center;gap:16px;min-height:97px;padding:11px 17px;background:linear-gradient(100deg,#faf7f1c7,#f0ede7af 42%,#f9f4ece0);border:1px solid #bcae9a68;box-shadow:inset 0 1px #ffffff8a}
.leaderboard-row:nth-child(odd){background:linear-gradient(100deg,#fffaf1e0,#eae5dccc 42%,#f5eee3d9)}
.leaderboard-player{display:flex;align-items:center;gap:15px;min-width:0}.leaderboard-rank{display:flex;align-items:center;justify-content:center;flex:none;width:45px;height:45px;border:1px solid #a89a86;border-radius:50%;font:700 15px/1 var(--font-b);color:#70665b;background:#d5cfc6;box-shadow:0 0 0 3px #bba88b26}
.leaderboard-gold .leaderboard-rank{color:#513d13;background:linear-gradient(140deg,#fff0b7,#d3a843 55%,#9a6a23);border-color:#ffdf80;box-shadow:0 0 0 3px #d6b05c28,0 0 22px #d6b05c38}
.leaderboard-silver .leaderboard-rank{color:#44434b;background:linear-gradient(140deg,#fafbfc,#b9bdc9 55%,#7b808c);border-color:#e8ebed;box-shadow:0 0 0 3px #d2d6dc28,0 0 19px #b9bdc933}
.leaderboard-bronze .leaderboard-rank{color:#3e251b;background:linear-gradient(140deg,#f5c29a,#bf7d58 55%,#7d4636);border-color:#e7a882;box-shadow:0 0 0 3px #cf8c6528,0 0 19px #cf8c6533}
.leaderboard-player-avatar{display:block;flex:none;width:51px;height:68px;object-fit:cover;object-position:center top;border:1px solid #c3ae89;box-shadow:0 3px 8px #4f3a2925;background:#f2e6d7}
.leaderboard-player-avatar-pending{display:flex;align-items:center;justify-content:center;font:700 25px/1 var(--font-b);color:#a38b69;background:#f4eee4}
.leaderboard-player-details{display:flex;flex-direction:column;gap:5px;min-width:0}
.leaderboard-player-name{font:700 13px/1.3 var(--sans);letter-spacing:.035em;white-space:nowrap;color:#392f2a}
.leaderboard-player-house{font:800 9px/1.3 var(--sans);letter-spacing:.14em;color:#334d75}
.leaderboard-player-house.house-earth{color:#326c51}
.leaderboard-player-house.house-fire{color:#aa463b}
.leaderboard-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.leaderboard-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:60px;border-left:1px solid #ab9a8357}
.leaderboard-stat strong{font:700 18px/1 var(--font-b);color:#755d3c;letter-spacing:.06em}.leaderboard-stat span{font:700 9px/1.4 var(--sans);color:#8d8174;letter-spacing:.10em;white-space:nowrap}
.leaderboard-ovr{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:65px;background:#c8ac7d3d;border:1px solid #bba06f85}
.leaderboard-ovr strong{font:700 29px/1.1 var(--font-b);color:#98703b;letter-spacing:.02em}.leaderboard-ovr span{font:700 11px/1.3 var(--sans);color:#987445;letter-spacing:.18em}
.leaderboard-card-footer{justify-content:center;text-align:center;padding:24px 10px 6px;color:#867867;font-size:9px}.leaderboard-card-footer span{color:#a7834e;margin:0 8px}
.leaderboard-rows{filter:blur(5.5px);opacity:.68;pointer-events:none;user-select:none}
.leaderboard-unlocked .leaderboard-rows{filter:none;opacity:1;pointer-events:auto;user-select:auto}
.leaderboard-gate[hidden]{display:none}
.leaderboard-gate{position:absolute;z-index:2;top:177px;left:50%;transform:translateX(-50%);width:min(525px,calc(100% - 40px));padding:36px 39px 31px;text-align:center;background:linear-gradient(145deg,#fffdf8,#f8ede0);border:1px solid #b99a67;box-shadow:0 20px 75px #6957476b,0 0 0 7px #c6a36a27;color:#302c28}
.leaderboard-gate-kicker{font:700 10px/1.5 var(--sans);letter-spacing:.23em;color:#a27c45;margin:0 0 16px}
.leaderboard-gate h3{font:700 clamp(23px,2.8vw,33px)/1.3 var(--font-b);letter-spacing:-.035em;margin:0 0 18px;text-wrap:balance}
.leaderboard-gate>p:not(.leaderboard-gate-kicker){font:400 13px/1.8 var(--font-b);color:#776758;max-width:405px;margin:0 auto}
.leaderboard-register{display:inline-flex;margin:24px auto 0;min-height:53px;padding:0 25px;gap:23px;font-size:10px;letter-spacing:.15em;max-width:100%;white-space:normal}
.leaderboard-gate-footnote{display:block;margin-top:17px;font:700 9px/1.5 var(--sans);letter-spacing:.16em;color:#a18b70}
/* Standalone survey page, following the same parchment-and-gold visual language. */
.survey-page-body{background:radial-gradient(ellipse at 50% 18%,#fffefd 0%,#fff8f4 70%,#f9ece1 150%)}
.survey-page{min-height:100svh;display:flex;flex-direction:column;border-top:3px solid #c39a5a}
.survey-page-header{width:min(1030px,calc(100% - 72px));margin:0 auto;padding:27px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e8d7c3}
.survey-back,.survey-page-brand,.survey-page-footer a{font:700 10px/1.6 var(--sans);color:#9c7743;letter-spacing:.16em;text-decoration:none}
.survey-back:hover,.survey-page-footer a:hover{color:#322b26}.survey-back span{font:400 19px/1 Georgia,serif;vertical-align:-1px;margin-right:8px}
.survey-page-brand{color:#b29468;text-align:right}
.survey-page-content{width:min(860px,calc(100% - 48px));margin:0 auto;padding:84px 0 94px}
.survey-page-intro{text-align:center;max-width:740px;margin:0 auto 52px}
.survey-page-intro h1{font:700 clamp(34px,5vw,62px)/1.14 var(--font-b);letter-spacing:-.048em;color:#28282b;margin:0 0 23px}
.survey-page-intro>p:not(.survey-kicker){font:400 14px/1.92 var(--font-b);color:#75695f;margin:0 auto;max-width:590px}
.survey-progress-label{display:flex;justify-content:space-between;gap:16px;margin:44px 0 11px;font:700 10px/1.5 var(--sans);letter-spacing:.16em;color:#a27b43}
.survey-progress{height:3px;background:#e5d7c5;overflow:hidden}.survey-progress span{display:block;width:0;height:100%;background:#ad864a;transition:width .25s ease}
.story-survey-form{display:flex;flex-direction:column;gap:23px}.survey-question{margin:0;padding:30px 31px 32px;border:1px solid #e4d6c3;background:#fffdfa;min-width:0}
.survey-question legend{float:left;width:100%;padding:0;margin:0 0 23px;display:flex;align-items:center;gap:16px;color:#322c28;font:700 17px/1.5 var(--font-b);letter-spacing:-.018em}
.survey-writing textarea{display:block;clear:both;width:100%;min-height:118px;resize:vertical;background:#fffefa;border:1px solid #e0cfb7;border-radius:0;padding:19px 20px;color:#43392f;font:400 14px/1.7 var(--sans)}
.survey-writing textarea::placeholder{color:#aea093}.survey-writing textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.survey-email input[type="email"]{display:block;clear:both;width:100%;min-height:58px;background:#fffefa;border:1px solid #e0cfb7;border-radius:0;padding:14px 20px;color:#43392f;font:400 16px/1.5 var(--sans)}
.survey-email input[type="email"]::placeholder{color:#aea093}.survey-email input[type="email"]:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.survey-number{font:700 11px/1 var(--sans);letter-spacing:.15em;color:#a98144;min-width:22px}.survey-options{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.survey-choice{display:flex;align-items:center;gap:13px;min-height:64px;padding:13px 18px;border:1px solid #e3d3bd;background:#fffdfb;color:#5b5048;font:600 13px/1.5 var(--sans);cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
.survey-choice:hover{border-color:#b58b49;background:#fffaf1}.survey-choice:has(input:checked){border-color:#b58b49;background:#fff6e7;box-shadow:inset 0 0 0 1px #d5b478}
.survey-choice input{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:1px solid #b9a88f;border-radius:50%;background:#fff;flex:none;position:relative;cursor:pointer}
.survey-choice input:checked{border-color:#9e753b}.survey-choice input:checked:after{content:"";position:absolute;inset:4px;background:#b28a4d;border-radius:50%}.survey-choice:has(input:focus-visible){outline:2px solid #ad864a;outline-offset:2px}
.survey-submit-row{display:flex;align-items:center;justify-content:center;gap:24px;flex-direction:column;margin-top:14px}.survey-submit{min-width:266px}.survey-note{font:400 11px/1.7 var(--sans);text-align:center;color:#9b8a79;margin:0;max-width:520px}
.survey-confirmation{font:600 13px/1.8 var(--sans);padding:15px 22px;text-align:center;color:#67512e;background:#f8ecd6;border:1px solid #d9bd87;margin:0}
.survey-confirmation[hidden]{display:none}.survey-page-footer{padding:30px 24px 38px;margin-top:auto;text-align:center;border-top:1px solid #e8d7c3}
/* Email invitation is the only modal on this page. */
.email-popup{width:min(690px,calc(100vw - 30px));max-height:calc(100svh - 30px);padding:0;border:1px solid var(--gold-soft);background:var(--peach);color:var(--ink);box-shadow:0 24px 100px #44332445;overflow:auto}.email-popup::backdrop{background:#2b251dc0}
.dialog-content{position:relative;padding:65px 63px 55px}.dialog-close{position:absolute;top:15px;right:19px;width:43px;height:43px;background:transparent;border:0;color:var(--gold);font:400 32px Arial,sans-serif;line-height:1}.dialog-close:hover{background:var(--peach-deep);color:var(--ink)}
.popup-eyebrow{font:700 11px var(--sans);letter-spacing:.2em;color:var(--gold);margin:0 0 28px}.dialog-content h2{font:700 clamp(31px,3.7vw,48px)/1.23 var(--font-b);letter-spacing:-.045em;margin:0 0 25px;color:var(--ink)}.dialog-content>p:not(.popup-eyebrow){font:400 16px/1.85 var(--font-b);color:var(--text);margin:0 0 32px}
.dialog-content label{display:block;font:700 11px var(--sans);letter-spacing:.15em;color:var(--gold);margin-bottom:11px}.dialog-content input{display:block;width:100%;height:58px;padding:13px 16px;border:1px solid #decab2;border-radius:0;background:#fffdfb;color:var(--ink);font-size:15px}.dialog-content input::placeholder{color:#a59a90}
.submit-email{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;margin-top:14px;padding:12px 20px;border:1px solid var(--gold);background:var(--gold);color:#fff;font:700 12px var(--sans);letter-spacing:.13em;transition:background .2s,color .2s}.submit-email:hover{background:#92703b}.submit-email span{font-size:19px}.form-note{font:400 11px/1.6 var(--sans);color:#968476;margin:18px 0 0}.form-message{padding:10px 12px;border-left:2px solid var(--gold);font:500 12px/1.6 var(--sans);color:var(--ink);background:#f8eddd}
.dialog-content .signup-consent{margin:13px 0 0;font:500 12px/1.5 var(--sans);letter-spacing:normal;color:var(--text)}
@media(max-width:850px){.landing-header,.landing-footer{width:calc(100% - 52px)}.landing-header{min-height:67px}.cinematic-hero-art{max-height:calc(100svh - 205px)}}
@media(max-width:800px){.landing-header{flex-wrap:wrap;justify-content:center;align-content:center;gap:4px;padding:12px 0 8px}.header-edition{flex-basis:100%;text-align:center}.landing-nav{gap:clamp(12px,3vw,24px);justify-content:center;flex-wrap:wrap}.header-nav-link{font-size:16px}.leaderboard-section{padding:76px 16px 90px}.leaderboard-heading-wrap{margin-bottom:36px}.leaderboard-card{padding:12px}.leaderboard-card-header{font-size:9px;letter-spacing:.1em;padding:9px 6px 18px}.leaderboard-filter-bar{flex-wrap:wrap}.leaderboard-filter-fields{width:100%;justify-content:stretch}.leaderboard-filter-fields label{flex:1 1 135px}.leaderboard-filter-fields select{width:100%}.leaderboard-card-footer{font-size:8px}.leaderboard-gate{top:245px;padding:29px 25px 26px}}
@media(min-width:801px) and (max-width:1160px){.landing-header{gap:12px}.header-logo{width:175px}.header-edition{font-size:8px}.landing-nav{gap:13px}.header-nav-link{font-size:15px;letter-spacing:.08em}}
@media(max-width:800px){.header-brand-group{justify-content:center;flex-basis:100%;flex-wrap:wrap;gap:5px}.header-logo{width:175px}.header-edition{flex-basis:auto}}
@media(max-width:1240px){.leaderboard-artwork figcaption{display:block}.leaderboard-artwork figcaption strong{display:block;margin-top:5px}}
@media(max-width:1430px){.leaderboard-heading-wrap{width:100%;margin:0 auto 52px}.leaderboard-showcase{grid-template-columns:1fr}.leaderboard-artwork{position:relative;top:auto;width:min(420px,76%);margin:58px auto 0}.leaderboard-artwork figcaption{display:flex}.leaderboard-artwork figcaption strong{margin:0}}
@media(max-width:800px){.book-section{padding:80px 22px 95px}.book-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px}.book-content h2{font-size:37px}.book-description{font-size:13px;line-height:1.8}.book-buy{min-width:0}}
@media(max-width:650px){.book-shell{grid-template-columns:1fr;gap:42px}.book-cover-frame{max-width:440px}.book-content{text-align:center;padding:0}.book-content h2{font-size:42px}.book-rule{margin:27px auto}.book-description{margin:0 auto 29px}.book-buy{margin:0 auto}.book-eyebrow{font-size:9px;letter-spacing:.17em}}
@media(max-width:560px){.landing-header,.landing-footer{width:calc(100% - 35px)}.landing-header{min-height:62px;gap:7px}.header-edition{font-size:6.5px;letter-spacing:0}.header-edition span{margin:0 3px}.landing-nav{gap:8px 12px}.header-nav-link{font-size:14px;letter-spacing:.04em;padding:10px 1px}.landing-stage{justify-content:center;padding:0 6px 35px}.cinematic-hero-art{width:100%;height:auto;max-height:none}.cinematic-enter{font-size:10px;min-height:49px;gap:20px;padding:0 23px;margin-top:8px}.landing-footer{min-height:48px;font-size:7px;letter-spacing:.07em}.gold-dot{margin:0 3px}.dialog-content{padding:45px 23px 28px}.dialog-content h2{font-size:28px}.dialog-content>p:not(.popup-eyebrow){font-size:12px}}
@media(max-width:560px){.header-brand-group{gap:2px}.header-logo{width:142px}}
@media(max-width:370px){.header-edition{max-width:125px}}
@media(max-width:560px){.leaderboard-filter-bar{padding:14px 12px}.leaderboard-filter-label strong{font-size:16px}.leaderboard-filter-fields{gap:7px}.leaderboard-filter-fields label{flex-basis:110px}.leaderboard-filter-fields select{font-size:12px;min-width:0;padding-left:8px}.leaderboard-current-view{flex-wrap:wrap;font-size:9px}.leaderboard-gate{top:224px;width:calc(100% - 24px);padding:26px 15px 24px}.leaderboard-gate-kicker{font-size:8px;letter-spacing:.13em}.leaderboard-gate h3{font-size:23px}.leaderboard-gate>p:not(.leaderboard-gate-kicker){font-size:12px}.leaderboard-register{gap:14px;padding:0 15px;font-size:9px;margin-top:19px}.leaderboard-gate-footnote{font-size:8px}}

/* The historical leaderboard is a four-column roster, not the player-card stats. */
.leaderboard-scroll{max-height:680px;overflow:auto}
.leaderboard-rows{min-width:0;gap:6px}
.leaderboard-table-header,.leaderboard-row{display:grid;grid-template-columns:minmax(142px,2.2fr) minmax(75px,1fr) minmax(115px,1.4fr) minmax(70px,.7fr);gap:14px;align-items:center}
.leaderboard-table-header{position:sticky;z-index:3;top:0;min-height:45px;padding:12px 19px;background:#e6dacc;border:1px solid #bcae9a;color:#6b5540;font:800 10px/1.4 var(--sans);letter-spacing:.13em}
.leaderboard-row{min-height:75px;padding:11px 19px;box-shadow:inset 0 1px #fff9}
.leaderboard-row .leaderboard-player-name{font:700 clamp(12px,1.2vw,15px)/1.4 var(--sans);white-space:normal;letter-spacing:0}
.leaderboard-row .leaderboard-player-house{font:800 11px/1.5 var(--sans);letter-spacing:.07em;text-transform:uppercase}
.leaderboard-row .leaderboard-player-house.house-wind{color:#334d75}
.leaderboard-row .leaderboard-player-house.house-ice{color:#38749a}
.leaderboard-row .leaderboard-country{font:600 12px/1.5 var(--sans);color:#6e6052}
.leaderboard-row .leaderboard-ovr{display:inline-flex;min-height:43px;min-width:56px;align-items:center;justify-content:center;background:#c8ac7d3d;border:1px solid #bba06f85;color:#845d2a;font:700 23px/1 var(--font-b);letter-spacing:0}
.leaderboard-empty-title{font:700 27px/1.3 var(--font-b);color:#40352f}
.leaderboard-empty-explanation{max-width:480px;font:400 13px/1.8 var(--sans);color:#867564}
@media(max-width:660px){.leaderboard-table-header,.leaderboard-row{min-width:525px;grid-template-columns:minmax(145px,2fr) 78px minmax(100px,1.25fr) 74px;gap:11px}.leaderboard-table-header{padding:11px 13px}.leaderboard-row{padding:10px 13px}.leaderboard-filter-fields label{flex:1 1 125px}.leaderboard-current-view{line-height:1.9}}
@media(max-width:700px){.future-survey{padding:72px 16px 80px}.survey-kicker{font-size:9px;letter-spacing:.2em}.survey-invite>p:not(.survey-kicker):not(.survey-invite-note){font-size:13px;line-height:1.85}.survey-invite .survey-link{font-size:10px;min-height:54px;gap:15px;padding:0 20px}.survey-page-header{width:calc(100% - 32px);padding:22px 0}.survey-back,.survey-page-brand{font-size:8px;letter-spacing:.08em}.survey-page-content{width:calc(100% - 30px);padding:60px 0 72px}.survey-page-intro{margin-bottom:37px}.survey-page-intro>p:not(.survey-kicker){font-size:12px;line-height:1.85}.survey-progress-label{margin-top:30px;font-size:9px}.story-survey-form{gap:18px}.survey-question{padding:22px 17px}.survey-question legend{font-size:14px;gap:9px;margin-bottom:19px}.survey-writing textarea{min-height:105px;padding:14px;font-size:13px}.survey-options{grid-template-columns:1fr;gap:9px}.survey-choice{min-height:54px;padding:11px 13px;font-size:12px}}
@media(max-height:700px) and (min-width:561px){.landing-header{min-height:60px}.landing-footer{min-height:40px}.cinematic-hero-art{max-height:calc(100svh - 155px)}.cinematic-enter{min-height:46px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition-duration:.01ms!important}}

/* Compact leaderboard: blur all controls and column headings behind the access panel. */
.leaderboard-section{padding:77px clamp(16px,2.5vw,48px) 94px}
.leaderboard-shell{--alfred-width:clamp(230px,21vw,280px);--leaderboard-gap:28px;max-width:1200px}
.leaderboard-heading-wrap{margin-bottom:36px}
.leaderboard-heading-wrap h2{font-size:clamp(34px,4vw,49px);max-width:670px;margin-bottom:16px}
.leaderboard-heading-wrap>p:last-child{font-size:13px;line-height:1.75}
.leaderboard-card{padding:12px}
.leaderboard-card-header{padding:5px 8px 15px;font-size:9px}
.leaderboard-filter-bar{gap:12px;padding:12px 13px;margin-bottom:8px}
.leaderboard-filter-label strong{font-size:16px}
.leaderboard-filter-fields{gap:9px}
.leaderboard-filter-fields select{min-width:126px;min-height:37px;padding:7px 29px 7px 9px;font-size:12px}
.leaderboard-current-view{font-size:9px;padding:4px 5px;margin-bottom:6px}
.leaderboard-current-view span{font-size:9px}
.leaderboard-scroll{max-height:335px;overflow:auto}
.leaderboard-card:not(.leaderboard-unlocked) .leaderboard-scroll{min-height:0}
.leaderboard-rows{min-width:0;gap:4px;filter:none;opacity:1;pointer-events:auto;user-select:auto}
.leaderboard-unlocked .leaderboard-rows{filter:none;opacity:1}
.leaderboard-card-content{transition:filter .22s ease,opacity .22s ease}
.leaderboard-card:not(.leaderboard-unlocked) .leaderboard-card-content{filter:blur(6px);opacity:.52;pointer-events:none;user-select:none}
.leaderboard-table-header,.leaderboard-row{grid-template-columns:minmax(110px,1.7fr) minmax(60px,.85fr) minmax(66px,.9fr) minmax(86px,1.1fr) 69px;gap:10px}
.leaderboard-table-header{min-height:33px;padding:8px 13px;font-size:8px;letter-spacing:.12em}
.leaderboard-row{min-height:55px;padding:7px 13px}
.leaderboard-row .leaderboard-player-name{font-size:12px}
.leaderboard-row .leaderboard-player-house{font-size:10px;line-height:1.1}
.leaderboard-gender-tag{font:700 9px/1.3 var(--sans);color:#8b7964;letter-spacing:.08em;text-transform:uppercase}
.leaderboard-row .leaderboard-country{font-size:11px}
.leaderboard-row .leaderboard-ovr{min-height:33px;min-width:48px;font-size:19px}
.leaderboard-card-footer{padding:13px 8px 3px;font-size:8px}
.leaderboard-gate{z-index:10;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 28px));padding:25px 26px 23px;box-shadow:0 20px 55px #69574758,0 0 0 5px #c6a36a26}
.leaderboard-gate-kicker{margin-bottom:11px}
.leaderboard-gate h3{font-size:clamp(23px,2.5vw,29px);margin-bottom:11px}
.leaderboard-gate>p:not(.leaderboard-gate-kicker){font-size:12px;line-height:1.65}
.leaderboard-register{min-height:46px;margin-top:17px}
.leaderboard-gate-footnote{margin-top:12px}
@media(min-width:1121px) and (max-width:1430px){.leaderboard-heading-wrap{width:calc(100% - var(--alfred-width) - var(--leaderboard-gap));margin:0 0 36px}.leaderboard-showcase{grid-template-columns:minmax(0,1fr) var(--alfred-width)}.leaderboard-artwork{width:100%;margin:0;align-self:center}}
@media(max-width:1120px){.leaderboard-heading-wrap{width:100%;margin:0 auto 32px}.leaderboard-showcase{grid-template-columns:1fr;max-width:860px;margin:auto}.leaderboard-artwork{max-width:280px;margin:28px auto 0}}
@media(max-width:620px){.leaderboard-section{padding:62px 12px 72px}.leaderboard-heading-wrap h2{font-size:34px}.leaderboard-filter-bar{align-items:stretch;flex-direction:column}.leaderboard-filter-fields{width:100%;justify-content:stretch}.leaderboard-filter-fields label{flex:1 1 120px}.leaderboard-filter-fields select{width:100%;min-width:0}.leaderboard-table-header{display:none}.leaderboard-row{min-width:0;grid-template-columns:minmax(0,1fr) 58px;grid-template-rows:auto auto auto;row-gap:3px;column-gap:8px;min-height:76px;padding:10px 12px}.leaderboard-row .leaderboard-player-name{grid-column:1;grid-row:1;font-size:12px}.leaderboard-row .leaderboard-player-house{grid-column:1;grid-row:2;align-self:center}.leaderboard-gender-tag{grid-column:1;grid-row:2;margin-left:48px;align-self:center}.leaderboard-row .leaderboard-country{grid-column:1;grid-row:3;font-size:10px}.leaderboard-row .leaderboard-ovr{grid-column:2;grid-row:1 / span 3;align-self:stretch;min-height:42px;font-size:19px}.leaderboard-scroll{max-height:322px}.leaderboard-gate{top:52%;padding:21px 15px}.leaderboard-gate h3{font-size:22px}.leaderboard-gate>p:not(.leaderboard-gate-kicker){font-size:11px}.leaderboard-artwork{max-width:220px}}

/* Expanded rankings: full-width original showcase, full-height results and medals. */
.leaderboard-shell{--alfred-width:clamp(320px,24vw,380px);--leaderboard-gap:12px;max-width:1350px}
.leaderboard-heading-wrap{width:calc(100% - var(--alfred-width) - var(--leaderboard-gap))}
.leaderboard-showcase{grid-template-columns:minmax(0,1fr) var(--alfred-width)}
.leaderboard-scroll{max-height:none;overflow:visible}
.leaderboard-rows{gap:7px}
.leaderboard-row{min-height:78px;padding:13px 17px}
.leaderboard-table-header{min-height:43px;padding:12px 17px;font-size:9px}
.leaderboard-player{display:flex;align-items:center;gap:13px;min-width:0}
.leaderboard-row .leaderboard-player-name{font-size:clamp(12px,1.15vw,15px);min-width:0;white-space:normal}
.leaderboard-rank{width:40px;height:40px;font-size:14px}
.leaderboard-artwork{align-self:start;margin-top:125px}
.leaderboard-artwork img{transform:scale(1.08);transform-origin:top center}
.leaderboard-gate{top:265px;transform:translateX(-50%)}
@media(min-width:1121px) and (max-width:1430px){.leaderboard-heading-wrap{width:calc(100% - var(--alfred-width) - var(--leaderboard-gap))}.leaderboard-showcase{grid-template-columns:minmax(0,1fr) var(--alfred-width)}.leaderboard-artwork{width:100%;align-self:start;margin:125px 0 0}}
@media(max-width:1120px){.leaderboard-heading-wrap{width:100%}.leaderboard-showcase{grid-template-columns:1fr}.leaderboard-artwork{max-width:360px;margin:30px auto 0}}
@media(max-width:620px){.leaderboard-row{min-height:90px}.leaderboard-row .leaderboard-player{grid-column:1;grid-row:1;gap:8px}.leaderboard-rank{width:30px;height:30px;font-size:11px}.leaderboard-gate{top:270px;transform:translateX(-50%)}.leaderboard-artwork{max-width:285px}}

/* The OVR box holds ONLY the rating. The optional delta is a separate
   sibling positioned immediately LEFT of the box, never inside it. */
.leaderboard-row .leaderboard-ovr-wrap {
  display:flex; align-items:center; justify-content:flex-end; gap:6px;
  width:100%; min-width:0; overflow:visible; position:relative;
}
.leaderboard-row .leaderboard-ovr-wrap .leaderboard-ovr {
  box-sizing:border-box; flex:0 0 48px; width:48px; min-width:48px;
  display:flex; align-items:center; justify-content:center; padding:0;
}
.leaderboard-row .leaderboard-ovr-score {font:inherit; color:inherit; letter-spacing:0}
.leaderboard-row .leaderboard-ovr-change {
  display:inline-block; position:static; flex:0 0 auto;
  min-width:0; margin:0; padding:0; border:0; background:none;
  font:800 12px/1 var(--sans)!important; letter-spacing:0!important;
  white-space:nowrap; text-align:right; pointer-events:none;
}
.leaderboard-row .leaderboard-ovr-change.is-up {color:#198344!important}
.leaderboard-row .leaderboard-ovr-change.is-down {color:#cb3039!important}
@media(max-width:620px) {
  .leaderboard-row .leaderboard-ovr-wrap {grid-column:2;grid-row:1 / span 3;align-self:stretch;gap:4px}
  .leaderboard-row .leaderboard-ovr-wrap .leaderboard-ovr {min-height:42px;flex-basis:46px;width:46px;min-width:46px}
  .leaderboard-row .leaderboard-ovr-change {font-size:11px!important}
}
.leaderboard-spoiler-dialog{position:fixed;inset:0;margin:auto;max-width:min(340px,calc(100vw - 36px));width:100%;border:1px solid #d3a2a0;border-radius:8px;background:#fffaf9;padding:22px;text-align:center;box-shadow:0 20px 65px #0005;z-index:1000}
.leaderboard-spoiler-dialog::backdrop{background:rgba(17,19,24,.55)}
.leaderboard-spoiler-dialog p{font:800 17px/1.4 var(--sans);color:#bb212a;margin:0 0 18px}
.leaderboard-spoiler-actions{display:flex;gap:10px;justify-content:center}
.leaderboard-spoiler-actions button{border:1px solid #b52a32;background:#b52a32;color:white;padding:10px 18px;font:700 12px var(--sans);cursor:pointer}
.leaderboard-spoiler-actions button:last-child{background:#fff;color:#b52a32}

/* Reader-focused discovery: natural text, accessible, consistent with existing parchment palette. */
.book-reader-guide{font:500 12px/1.75 var(--sans);color:var(--text);margin:18px 0 0;max-width:450px}.book-reader-guide a,.reader-discovery a{color:#85602f;text-underline-offset:4px}.book-reader-guide a:hover,.reader-discovery a:hover{color:#302b26}
.reader-discovery{background:#fffaf5;border-top:1px solid #e7d8c6;padding:70px 24px 78px}.reader-discovery-inner{max-width:890px;margin:auto}.reader-discovery-kicker{font:700 11px/1.4 var(--sans);letter-spacing:.2em;color:#997443;margin:0 0 16px}.reader-discovery h2{font:700 clamp(25px,3.5vw,42px)/1.3 var(--font-b);letter-spacing:-.03em;margin:0 0 20px;color:#342a23}.reader-discovery p:not(.reader-discovery-kicker){max-width:800px;color:#695d52;font:400 15px/1.9 var(--sans);margin:0 0 24px}.reader-discovery-links{display:flex;flex-wrap:wrap;gap:12px 25px}.reader-discovery-links a{font:700 13px/1.5 var(--sans)}

/* Parent-focused book discovery: compact and responsive, without changing existing sections. */
.reader-discovery-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}
.reader-discovery .reader-benefit{background:#fff;border:1px solid #eadbca;border-radius:12px;padding:20px 18px}
.reader-discovery .reader-benefit h3{font:700 16px/1.4 var(--font-b);color:#342a23;margin:0 0 9px}
.reader-discovery .reader-benefit p{font:400 13px/1.65 var(--sans);margin:0;color:#695d52}
.reader-discovery-links .reader-guide-primary{display:inline-flex;align-items:center;gap:10px;color:#fff;background:#302b26;text-decoration:none;border:1px solid #302b26;padding:10px 16px;border-radius:4px}
.reader-discovery-links .reader-guide-primary:hover,.reader-discovery-links .reader-guide-primary:focus-visible{color:#fff;background:#70522d;border-color:#70522d}
@media(max-width:680px){.reader-discovery-benefits{grid-template-columns:1fr;gap:10px}.reader-discovery .reader-benefit{padding:14px 16px}.reader-discovery-links{align-items:flex-start;flex-direction:column}.reader-discovery{padding-top:48px;padding-bottom:54px}}

/* Roberto's official story synopsis. Works in both light and night modes. */
.temple-story-feature{max-width:1160px;margin:clamp(38px,6vw,78px) auto 10px;padding:clamp(22px,4.5vw,52px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.55fr);gap:clamp(25px,5vw,70px);align-items:center;border:1px solid rgba(172,137,78,.35);border-radius:16px;background:linear-gradient(145deg,#f8f0e3,#fdf9f2);color:#362b22}
.temple-story-copy{min-width:0}.temple-story-eyebrow{letter-spacing:.19em;font-weight:700;font-size:11px;color:#89652d!important}.temple-story-feature h3{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(22px,3vw,34px);line-height:1.35;margin:8px 0 20px;color:#2d251f}.temple-story-feature p{font-size:clamp(14px,1.5vw,16px);line-height:1.8;margin:0 0 16px;color:#504238}.temple-story-feature .temple-story-question{font-weight:700;font-size:clamp(17px,2vw,21px);color:#2d251f;margin-top:20px}.temple-story-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:20px}.temple-story-links a{font-weight:700;color:#755124;text-underline-offset:4px}.temple-story-art{margin:0;text-align:center}.temple-story-art img{display:block;width:100%;max-height:540px;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(0,0,0,.13))}.temple-story-art figcaption{font-size:12px;line-height:1.5;color:#735e49;margin-top:12px}
html[data-theme="dark"] .temple-story-feature{background:linear-gradient(145deg,#28221d,#1b1a19);color:#f3e9d8;border-color:#725d3b}html[data-theme="dark"] .temple-story-feature h3,html[data-theme="dark"] .temple-story-feature .temple-story-question{color:#f4e6d3}html[data-theme="dark"] .temple-story-feature p{color:#d7c4af}html[data-theme="dark"] .temple-story-feature .temple-story-eyebrow{color:#e1b775!important}html[data-theme="dark"] .temple-story-links a{color:#e8c18b}html[data-theme="dark"] .temple-story-art figcaption{color:#cfbda7}
@media(max-width:760px){.temple-story-feature{grid-template-columns:1fr;margin:30px 15px 0;padding:25px 20px}.temple-story-art img{max-height:330px}.temple-story-feature h3{font-size:24px}}


/* ===== house-preview.css ===== */
/* A compact invitation beneath the player cards; full house information lives on houses.html. */
.house-preview {
  position: relative;
  padding: 103px clamp(20px, 4vw, 65px) 111px;
  border-top: 1px solid #decdb6;
  background: radial-gradient(ellipse at 50% 8%, #fffefb 0%, #f7eee3 68%, #f1e2d2 145%);
}
.house-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(360px, 50vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, #bb914d, transparent);
  transform: translateX(-50%);
}
.house-preview-shell { width: min(1430px, 100%); margin: auto; text-align: center; }
.house-preview-eyebrow {
  margin: 0 0 18px;
  color: #aa8451;
  font: 700 11px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .24em;
}
.house-preview h2 {
  margin: 0 0 18px;
  color: #2b2b2a;
  font: 700 clamp(39px, 5vw, 65px)/1.2 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.055em;
}
.house-preview h2 span { color: #b9934e; }
.house-preview-intro {
  max-width: 650px;
  margin: 0 auto;
  color: #74685b;
  font: 400 15px/1.9 'Libre Baskerville', Georgia, serif;
}
.house-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 51px;
}
.house-preview-card {
  --house-dark: #185d45;
  --house-light: #e5efe2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 312px;
  padding: 28px 16px 22px;
  border: 1px solid #d0dbc9;
  border-top: 4px solid var(--house-dark);
  color: var(--house-dark);
  background: linear-gradient(150deg, #fffcf8, var(--house-light));
  text-decoration: none;
  box-shadow: 0 12px 28px #61472d0f;
  transition: transform .22s, box-shadow .22s;
}
.house-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px #61472d21;
}
.house-preview-card:focus-visible { outline: 3px solid #b9934e; outline-offset: 5px; }
.house-preview-fire { --house-dark: #a43830; --house-light: #fae7df; border-color: #ead3cb; }
.house-preview-ice { --house-dark: #3877a2; --house-light: #dff1fa; border-color: #bfdbe9; }
.house-preview-ice .house-preview-medallion { background: #0e4c6c; }
.house-preview-wind { --house-dark: #25375e; --house-light: #f1f2f5; border-color: #c8cdd8; }
.house-preview-medallion {
  display: block;
  width: clamp(115px, 12vw, 159px);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--house-dark);
  box-shadow: 0 8px 18px #1f263223;
}
.house-preview-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(43% at 50% 50%);
}
.house-preview-wind .house-preview-medallion img {
  transform: translateY(6%);
  clip-path: circle(43% at 50% 44%);
}
.house-preview-card strong {
  font: 700 clamp(28px, 3vw, 43px)/1.18 'Libre Baskerville', Georgia, serif;
  letter-spacing: -.045em;
}
.house-preview-visit {
  margin-top: 18px;
  color: #806f5d;
  font: 700 9px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .16em;
}
.house-preview-visit span { margin-left: 6px; font-size: 18px; line-height: .7; vertical-align: -.1em; }
.house-preview-note {
  margin: 30px 0 0;
  color: #aa8652;
  font: 700 10px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .17em;
}
@media (max-width: 860px) {
  .house-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .house-preview-card { min-height: 290px; }
}
@media (max-width: 530px) {
  .house-preview { padding: 75px 18px 83px; }
  .house-preview-grid { gap: 10px; margin-top: 34px; }
  .house-preview-card { min-height: 225px; padding: 19px 9px 17px; }
  .house-preview-medallion { width: min(32vw, 119px); margin-bottom: 13px; }
  .house-preview-card strong { font-size: 27px; }
  .house-preview-visit { font-size: 8px; letter-spacing: .08em; margin-top: 12px; }
  .house-preview-intro { font-size: 13px; }
  .house-preview-note { font-size: 8px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .house-preview-card { transition: none; }
}


/* ===== instagram.css ===== */
/* Editorial Instagram invitation, inspired by the supplied centered reference. */
.instagram-section {
  padding: 111px 20px 121px;
  border-top: 1px solid #e5d9cb;
  background: #f2ece4;
  color: #261e24;
  text-align: center;
}
.instagram-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1330px, 100%);
  margin: auto;
}
.instagram-mark {
  display: block;
  width: 75px;
  height: 75px;
  margin-bottom: 25px;
  border-radius: 25%;
  object-fit: contain;
}
.instagram-eyebrow {
  margin: 0 0 20px;
  color: #896e63;
  font: 700 12px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .2em;
}
.instagram-shell h2 {
  margin: 0 0 26px;
  font: 400 clamp(32px, 7.5vw, 108px)/1.13 'Didot', 'Bodoni MT', 'Times New Roman', Georgia, serif;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
  color: #241b22;
}
.instagram-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 26px;
}
.instagram-stats a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 21px;
  border: 1px solid #ddd7d0;
  border-radius: 999px;
  background: #faf7f3;
  color: #31282c;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.instagram-stats a:hover { background: #fff; border-color: #b49f8e; }
.instagram-stats strong { font: 700 14px/1.4 'DM Sans', Arial, sans-serif; }
.instagram-stats span { color: #84777b; font: 400 12px/1.5 'DM Sans', Arial, sans-serif; }
.instagram-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; }
.instagram-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 56px;
  padding: 13px 28px;
  border: 1px solid #30252b;
  border-radius: 999px;
  font: 700 14px/1.5 'DM Sans', Arial, sans-serif;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.instagram-follow-button { background: #281e26; color: #fff; }
.instagram-videos-button { background: transparent; color: #30252b; }
.instagram-follow-button:hover { background: #493744; transform: translateY(-2px); }
.instagram-videos-button:hover { background: #fff8f1; transform: translateY(-2px); }
@media (max-width: 680px) {
  .instagram-section { padding: 78px 18px 88px; }
  .instagram-mark { width: 62px; height: 62px; margin-bottom: 18px; }
  .instagram-eyebrow { font-size: 10px; }
  .instagram-shell h2 { margin-bottom: 21px; font-size: clamp(30px, 7vw, 52px); letter-spacing: -.055em; }
  .instagram-actions { width: 100%; }
  .instagram-actions a { min-width: 145px; min-height: 53px; }
}
@media (max-width: 380px) {
  .instagram-shell h2 { font-size: 27px; }
  .instagram-stats a { padding-inline: 15px; gap: 7px; }
  .instagram-actions { flex-direction: column; }
  .instagram-actions a { width: min(240px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .instagram-stats a,
  .instagram-actions a { transition: none; }
}


/* ===== site-nav.css ===== */
/* One persistent, traditional navigation strip across the Temple pages. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #f0e4d6;
  border-top: 3px solid #b99561;
  border-bottom: 1px solid #d4bea5;
  box-shadow: 0 6px 23px #5e43221a;
}
.site-nav-inner {
  width: min(100%, 1920px);
  min-height: 72px;
  margin: 0 auto;
  padding: 8px clamp(18px, 2.7vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 21px;
  flex: none;
  min-width: 0;
}
.site-nav-logo { display: block; width: clamp(156px, 12vw, 205px); flex: none; }
.site-nav-logo img { width: 100%; height: auto; }
.site-nav-logo:hover { opacity: .73; }
.site-nav-edition {
  color: #987d61;
  font: 800 9px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .16em;
  white-space: nowrap;
}
.site-nav-edition span { color: #bda181; margin: 0 6px; }
.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(3px, .65vw, 11px);
  min-width: 0;
}
.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 42px;
  padding: 10px clamp(9px, .85vw, 15px);
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #6f563f;
  font: 800 clamp(10px, .85vw, 13px)/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: .11em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s, background-color .16s, border-color .16s;
  cursor: pointer;
}
.site-nav-link:hover,
.site-nav-link:focus-visible { color: #2f2924; background: #e2d0bb; }
.site-nav-link[aria-current] {
  color: #292521;
  background: #e1ceb8;
  border-bottom-color: #a47b48;
}
.site-nav-register {
  border-color: #b9a184;
  background: #f6ede2;
  color: #574332;
}
.site-nav-register:hover { background: #ddc6ab; border-color: #a5855d; }
.site-nav :is(a, button):focus-visible { outline: 3px solid #ad864a; outline-offset: 2px; }

/* The navigation is outside the hero so it remains visible below the fold. */
.landing { min-height: calc(100svh - 75px); grid-template-rows: minmax(0, 1fr) auto; }
.survey-page { border-top: 0; }
#main, #survey-main, #book, #leaderboard, #players, #instagram, #house-lineup { scroll-margin-top: 100px; }

@media (max-width: 1290px) {
  .site-nav-edition { display: none; }
}
@media (max-width: 1040px) {
  .site-nav-inner { flex-wrap: wrap; justify-content: center; gap: 3px; padding-top: 9px; padding-bottom: 7px; }
  .site-nav-brand { justify-content: center; width: 100%; }
  .site-nav-logo { width: 174px; }
  .site-nav-links { justify-content: center; flex-wrap: wrap; gap: 2px 5px; width: 100%; }
  .site-nav-link { min-height: 34px; padding: 6px 10px; font-size: 11px; }
  #main, #survey-main, #book, #leaderboard, #players, #instagram, #house-lineup { scroll-margin-top: 124px; }
}
@media (max-width: 680px) {
  .site-nav-inner { padding: 8px 0 4px; gap: 6px; }
  .site-nav-brand { padding: 0 16px; justify-content: flex-start; }
  .site-nav-logo { width: 150px; }
  .site-nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 3px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #bfa485 #eee0d1;
    padding: 0 12px 5px;
  }
  .site-nav-link { padding: 7px 11px; font-size: 10px; letter-spacing: .08em; }
  #main, #survey-main, #book, #leaderboard, #players, #instagram, #house-lineup { scroll-margin-top: 112px; }
}


/* ===== night-mode.css ===== */
/* Temple of Football: an opt-in after-dark palette. The original white theme is unchanged. */
.theme-toggle{flex:none;display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;min-width:39px;min-height:39px;padding:7px;border:1px solid #9b846a;border-radius:50%;background:#faf7f1;color:#372d26;box-shadow:0 1px 6px #2e231513;cursor:pointer;transition:background-color .18s,color .18s,border-color .18s,transform .18s}
.theme-toggle:hover{transform:rotate(-12deg);background:#eadbc8;border-color:#85623c}
.theme-toggle:focus-visible{outline:3px solid #c5a16f;outline-offset:3px}
.theme-toggle svg{width:21px;height:21px;flex:none}
.theme-toggle .theme-sun{display:none}
html[data-theme="dark"] .theme-toggle{background:#f0e7d8;color:#1a1715;border-color:#d4b78e;box-shadow:0 0 0 2px #d9b17d23}
html[data-theme="dark"] .theme-toggle:hover{background:#fff6e8}
html[data-theme="dark"] .theme-toggle .theme-moon{display:none}
html[data-theme="dark"] .theme-toggle .theme-sun{display:block}
@media(max-width:680px){.theme-toggle{position:absolute;top:12px;right:14px;z-index:2;width:34px;height:34px;min-width:34px;min-height:34px;margin:0;padding:6px}.theme-toggle svg{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}.theme-toggle:hover{transform:none}}

html[data-theme="dark"]{
  --peach:#161513;--peach-deep:#211e1a;--ink:#f5eee3;--text:#c8bcb0;
  --gold:#d3ad76;--gold-soft:#776144;
  --night-bg:#151513;--night-panel:#24211e;--night-panel-alt:#2c2722;
  --night-border:#56493b;--night-text:#f4eadb;--night-muted:#c6b5a3;
  background:#151513;color-scheme:dark;
}
html[data-theme="dark"] body{background:#151513;color:var(--night-text)}
html[data-theme="dark"] .skip-link{background:#26221d;color:#fff3e3}
html[data-theme="dark"] ::selection{background:#7c613e;color:#fff}

/* Persistent nav and its compact corner switch. */
html[data-theme="dark"] .site-nav{background:#181715;border-top-color:#ad8652;border-bottom-color:#433c34;box-shadow:0 7px 24px #0008}
html[data-theme="dark"] .site-nav-logo img{filter:brightness(0) invert(.91) sepia(.12)}
html[data-theme="dark"] .site-nav-edition{color:#bba385}
html[data-theme="dark"] .site-nav-edition span{color:#8c7152}
html[data-theme="dark"] .site-nav-link{color:#d4c4b0}
html[data-theme="dark"] .site-nav-link:hover,html[data-theme="dark"] .site-nav-link:focus-visible{color:#fff2df;background:#302a23}
html[data-theme="dark"] .site-nav-link[aria-current]{color:#f9eacb;background:#393127;border-bottom-color:#d0a769}
html[data-theme="dark"] .site-nav-register{background:#28221c;color:#e8d5bc;border-color:#8b7358}
html[data-theme="dark"] .site-nav-register:hover{background:#423425;border-color:#c29d6b}
html[data-theme="dark"] .site-nav-links{scrollbar-color:#715c45 #1a1715}
html[data-theme="dark"] .landing{background:radial-gradient(ellipse at 50% 55%,#25221d 0%,#171614 62%,#111110 115%)}
html[data-theme="dark"] .landing-footer{color:#b8a48b}

/* Home: survey invitation, leaderboard, book and player gallery. */
html[data-theme="dark"] .future-survey{background:linear-gradient(180deg,#191817,#201d19 47%,#171615);border-top-color:#493d30}
html[data-theme="dark"] .survey-invite h2,html[data-theme="dark"] .player-cards-shell h2,html[data-theme="dark"] .book-content h2,html[data-theme="dark"] .leaderboard-heading-wrap h2,html[data-theme="dark"] .house-preview h2{color:#f8efe1}
html[data-theme="dark"] .survey-invite>p:not(.survey-kicker):not(.survey-invite-note),html[data-theme="dark"] .player-cards-intro,html[data-theme="dark"] .book-description,html[data-theme="dark"] .leaderboard-heading-wrap>p:last-child,html[data-theme="dark"] .house-preview-intro{color:#cbbba9}
html[data-theme="dark"] .survey-kicker,html[data-theme="dark"] .survey-invite-note,html[data-theme="dark"] .leaderboard-eyebrow,html[data-theme="dark"] .book-eyebrow,html[data-theme="dark"] .player-cards-kicker,html[data-theme="dark"] .house-preview-eyebrow{color:#d4ad75}
html[data-theme="dark"] .leaderboard-section{background:radial-gradient(ellipse at 49% 20%,#29241d 0%,#1c1a17 65%,#151513 130%);border-top-color:#4d4032}
html[data-theme="dark"] .leaderboard-card{background:linear-gradient(130deg,#292622,#211f1e 53%,#30291f);border-color:#746049;box-shadow:0 24px 65px #0008}
html[data-theme="dark"] .leaderboard-card:before{background:radial-gradient(ellipse at 11% 20%,#e7ad4c16,transparent 38%),radial-gradient(ellipse at 85% 75%,#c49a4b0e,transparent 42%)}
html[data-theme="dark"] .leaderboard-card-header,html[data-theme="dark"] .leaderboard-card-footer{color:#c5b5a0}
html[data-theme="dark"] .leaderboard-header-divider,html[data-theme="dark"] .leaderboard-current-view span{color:#a9977e}
html[data-theme="dark"] .leaderboard-filter-bar{background:#26221e;border-color:#5a4d3c}
html[data-theme="dark"] .leaderboard-filter-label strong,html[data-theme="dark"] .leaderboard-current-view{color:#f4e9d9}
html[data-theme="dark"] .leaderboard-filter-label span,html[data-theme="dark"] .leaderboard-filter-fields label{color:#c5aa8b}
html[data-theme="dark"] .leaderboard-filter-fields select{background:#171615;border-color:#746049;color:#f0e2cf}
html[data-theme="dark"] .leaderboard-table-header{background:#42372a;border-color:#705c43;color:#f3e2c5}
html[data-theme="dark"] .leaderboard-row,html[data-theme="dark"] .leaderboard-row:nth-child(odd){background:linear-gradient(100deg,#2c2924,#24221f 50%,#2b2722);border-color:#524638;box-shadow:inset 0 1px #ffffff0a}
html[data-theme="dark"] .leaderboard-row .leaderboard-player-name{color:#f5ebdd}
html[data-theme="dark"] .leaderboard-row .leaderboard-country,html[data-theme="dark"] .leaderboard-gender-tag{color:#c9b8a4}
html[data-theme="dark"] .leaderboard-row .leaderboard-player-house.house-wind{color:#aec5ed}
html[data-theme="dark"] .leaderboard-row .leaderboard-player-house.house-ice{color:#91d2f3}
html[data-theme="dark"] .leaderboard-row .leaderboard-player-house.house-earth{color:#a3d7b7}
html[data-theme="dark"] .leaderboard-row .leaderboard-player-house.house-fire{color:#f1ac94}
html[data-theme="dark"] .leaderboard-row .leaderboard-ovr{background:#7e63402e;border-color:#9d7c4e;color:#e6c48f}
html[data-theme="dark"] .leaderboard-row:not(.leaderboard-gold):not(.leaderboard-silver):not(.leaderboard-bronze) .leaderboard-rank{background:#4b443b;color:#eadcc9;border-color:#776652}
html[data-theme="dark"] .leaderboard-empty{background:#24211e;border-color:#574c3d}
html[data-theme="dark"] .leaderboard-empty strong,html[data-theme="dark"] .leaderboard-empty-title{color:#f6ecdc}
html[data-theme="dark"] .leaderboard-empty span,html[data-theme="dark"] .leaderboard-empty-explanation{color:#cbbca8}
html[data-theme="dark"] .leaderboard-gate{background:linear-gradient(145deg,#302820,#211e1b);border-color:#bd9561;box-shadow:0 20px 65px #000b,0 0 0 5px #b9966024;color:#f8ecda}
html[data-theme="dark"] .leaderboard-gate-kicker,html[data-theme="dark"] .leaderboard-gate-footnote{color:#d9b37d}
html[data-theme="dark"] .leaderboard-gate>p:not(.leaderboard-gate-kicker){color:#d2c1ac}
html[data-theme="dark"] .player-cards-section{background:radial-gradient(ellipse at 50% 5%,#25211d 0%,#1c1917 64%,#151413 135%);border-top-color:#493d31}
html[data-theme="dark"] .player-cards-scroll-label,html[data-theme="dark"] .player-card-caption span:last-child{color:#c3a783}
html[data-theme="dark"] .player-card-caption{color:#e1cdb3}
html[data-theme="dark"] .player-cards-grid{scrollbar-color:#98764c #28231e}
html[data-theme="dark"] .book-section{background:radial-gradient(ellipse at 28% 48%,#25211c 0%,#1a1916 60%,#141413 135%);border-top-color:#493d31}
html[data-theme="dark"] .book-subtitle,html[data-theme="dark"] .book-price{color:#f4dfbc}
html[data-theme="dark"] .book-authors,html[data-theme="dark"] .book-format,html[data-theme="dark"] .book-cover-hint{color:#c6ac8a}
html[data-theme="dark"] .book-cover-frame .book-cover-back{background:#1a1714}

/* Main page house preview: retain each team's emblem and accent color. */
html[data-theme="dark"] .house-preview{background:radial-gradient(ellipse at 50% 8%,#27241f 0%,#1d1b18 70%,#151513 140%);border-top-color:#4b3c2b}
html[data-theme="dark"] .house-preview-card{background:linear-gradient(145deg,#292824,#1f2e25);border-color:#516151;color:#9ad1af}
html[data-theme="dark"] .house-preview-fire{background:linear-gradient(145deg,#292321,#3c2421);border-color:#71483e;color:#f0a898}
html[data-theme="dark"] .house-preview-ice{background:linear-gradient(145deg,#232b31,#1b3443);border-color:#526e7c;color:#a6d8f7}
html[data-theme="dark"] .house-preview-wind{background:linear-gradient(145deg,#24252a,#2c3345);border-color:#5c6884;color:#c8d5f2}
html[data-theme="dark"] .house-preview-visit,html[data-theme="dark"] .house-preview-note{color:#c9b08a}

/* Instagram invitation: velvet-charcoal treatment, not a bright patch. */
html[data-theme="dark"] .instagram-section{background:#1d1a19;border-top-color:#493b34;color:#f4e8e2}
html[data-theme="dark"] .instagram-shell h2{color:#f6ecdf}
html[data-theme="dark"] .instagram-eyebrow,html[data-theme="dark"] .instagram-stats span{color:#c8b4ad}
html[data-theme="dark"] .instagram-stats a{background:#2b2524;border-color:#5a4844;color:#f3e7df}
html[data-theme="dark"] .instagram-stats a:hover{background:#39302d;border-color:#99776a}
html[data-theme="dark"] .instagram-actions a{border-color:#baa397}
html[data-theme="dark"] .instagram-follow-button{background:#e9d4c3;color:#1f1a19}
html[data-theme="dark"] .instagram-follow-button:hover{background:#f7e7d7}
html[data-theme="dark"] .instagram-videos-button{color:#f1e3db;background:transparent}
html[data-theme="dark"] .instagram-videos-button:hover{background:#322a27}

/* Houses page and every house's expanded coaches and formations. */
html[data-theme="dark"] body.houses-page{--page-bg:#151513;--hero-glow:#24211d;--house-soft:#1e1c19;--house-ink:#f5ebdc;--theme-ink:#f5ebdc;--theme-muted:#c5b5a0;--theme-stroke:#534636;--panel-bg:#292520;--footer-bg:#171614;--name-bg:#29241f;--name-ink:#f9e8cf;--circle:#d4bd91;--circle-ink:#292114}
html[data-theme="dark"] body.houses-page[data-house="earth"]{--house-primary:#8bc49b;--house-secondary:#c6a270;--house-soft:#18221c;--panel-bg:#202b22;--footer-bg:#151d17}
html[data-theme="dark"] body.houses-page[data-house="fire"]{--house-primary:#e59b85;--house-secondary:#edc386;--house-soft:#2b1d1a;--panel-bg:#32231e;--footer-bg:#1c1514}
html[data-theme="dark"] body.houses-page[data-house="ice"]{--house-primary:#92c7e6;--house-secondary:#8dadcf;--house-soft:#18232c;--panel-bg:#202b35;--footer-bg:#131b23;--field-base:#204a63;--field-stripe:#1b425a;--field-line:#c9e9f27e}
html[data-theme="dark"] body.houses-page[data-house="wind"]{--house-primary:#b3c5e9;--house-secondary:#cfac75;--house-soft:#202430;--panel-bg:#242939;--footer-bg:#171a22;--field-base:#263448;--field-stripe:#202c40;--field-line:#d5e4fc71;--circle:#dfe7f5;--circle-ink:#253149}
html[data-theme="dark"] .house-option{background:linear-gradient(145deg,#232923,#1b3528);border-color:#435d4a;color:#a7d6b3}
html[data-theme="dark"] .house-option:after{border-color:#ffffff25}
html[data-theme="dark"] .house-option-fire{background:linear-gradient(145deg,#2a201f,#43221e);border-color:#7b4841;color:#f0a69b}
html[data-theme="dark"] .house-option-ice{background:linear-gradient(145deg,#1e2b32,#193b52);border-color:#496d87;color:#a3d5ef}
html[data-theme="dark"] .house-option-wind{background:linear-gradient(145deg,#262a34,#202841);border-color:#677692}
html[data-theme="dark"] .house-option-wind .house-option-name{color:#fff}
html[data-theme="dark"] .lineup-description,html[data-theme="dark"] .formation-note,html[data-theme="dark"] .house-switch-note{color:#d2bc9e}
html[data-theme="dark"] .coach-card,html[data-theme="dark"] .match-fact{background:var(--panel-bg);border-color:var(--theme-stroke);border-top-color:var(--house-primary)}
html[data-theme="dark"] .squad-switch{background:#28231e;border-color:var(--theme-stroke)}
html[data-theme="dark"] .squad-tab:not([aria-selected="true"]){color:#edd9bf}
html[data-theme="dark"] .squad-tab:hover:not([aria-selected="true"]){background:#494030}
html[data-theme="dark"] .squad-tab[aria-selected="true"]{background:var(--house-primary);color:#171411}
html[data-theme="dark"] .named-player{background:var(--name-bg);color:var(--name-ink)}
html[data-theme="dark"] .named-player-role,html[data-theme="dark"] .named-player-country{color:#d7c0a0}
html[data-theme="dark"] .named-player-rating{background:var(--house-primary);color:#171411}
html[data-theme="dark"] .named-player-rating.is-pending{background:#40382f;color:#f5e3c8}
html[data-theme="dark"] .bench-panel{background:linear-gradient(180deg,var(--panel-bg),var(--house-soft));border-color:var(--theme-stroke);border-top-color:var(--house-primary)}
html[data-theme="dark"] .bench-player{background:#ffffff0b;border-color:#ffffff26}
html[data-theme="dark"] .bench-player-info small,html[data-theme="dark"] .bench-header>span,html[data-theme="dark"] .lineup-footnote{color:#c7b59d}
html[data-theme="dark"] .formation-mark,html[data-theme="dark"] .pitch-panel{background:var(--panel-bg);border-color:var(--theme-stroke)}

/* Survey's many forms, chips, stars and expanding panels. */
html[data-theme="dark"] .survey-page-body{background:radial-gradient(ellipse 280px 240px at 1% 14%,#36252b 0%,transparent 100%),radial-gradient(ellipse 310px 310px at 100% 36%,#1f332c 0%,transparent 100%),radial-gradient(ellipse 260px 260px at 4% 79%,#232a42 0%,transparent 100%),#171615}
html[data-theme="dark"] .survey-page-intro h1,html[data-theme="dark"] .survey-question legend,html[data-theme="dark"] .survey-progress-label{color:#f3e9dd}
html[data-theme="dark"] .survey-page-intro>p:not(.survey-kicker),html[data-theme="dark"] .survey-helper,html[data-theme="dark"] .survey-progress-hint,html[data-theme="dark"] .survey-note{color:#cab9af!important}
html[data-theme="dark"] .survey-progress{background:#51453d}
html[data-theme="dark"] .survey-progress span{background:#d5aa79}
html[data-theme="dark"] .survey-question{background:#282421;border-color:#574b45;box-shadow:0 8px 30px #0004}
html[data-theme="dark"] .survey-question:focus-within{border-color:#9a827f;box-shadow:0 12px 30px #0005}
html[data-theme="dark"] .survey-number{background:#3f3732;color:#f1dcca}
html[data-theme="dark"] .survey-email input[type="email"],html[data-theme="dark"] .survey-writing textarea,html[data-theme="dark"] .survey-select,html[data-theme="dark"] .survey-short-answer,html[data-theme="dark"] .survey-search{background-color:#191819;border-color:#685954;color:#f6ece5}
html[data-theme="dark"] .survey-page :is(input,textarea)::placeholder{color:#aaa097}
html[data-theme="dark"] .survey-subquestion,html[data-theme="dark"] .survey-factor-name,html[data-theme="dark"] .survey-rank-list strong{color:#f1e5df}
html[data-theme="dark"] .survey-choice,html[data-theme="dark"] .survey-factor-row,html[data-theme="dark"] .survey-factor-row:nth-child(even),html[data-theme="dark"] .survey-rank-list li,html[data-theme="dark"] .survey-rank-list li:nth-child(2n){background:#342d2c;border-color:#60504c;color:#ead9d6}
html[data-theme="dark"] .survey-choice:hover,html[data-theme="dark"] .survey-bubble:hover span{background:#493739;border-color:#a57c83}
html[data-theme="dark"] .survey-choice:has(input:checked){background:#633d49;border-color:#d098a8;color:#fff1ef}
html[data-theme="dark"] .survey-choice input{background:#221e1d;border-color:#ad8d90}
html[data-theme="dark"] .survey-bubble span,html[data-theme="dark"] .survey-bubble:nth-child(2n) span,html[data-theme="dark"] .survey-bubble:nth-child(3n) span{background:#3c3438;border-color:#796368;color:#ecc6c0}
html[data-theme="dark"] .survey-bubble input:checked+span{background:#a86667;border-color:#d2968b;color:#fff}
html[data-theme="dark"] .survey-stars .star-glyph{color:#786e66}
html[data-theme="dark"] .survey-star-caption,html[data-theme="dark"] .character-group-title,html[data-theme="dark"] .survey-selection-summary small{color:#c8adae}
html[data-theme="dark"] .survey-house-options .house-earth{background:#273e34;color:#a9d1b3;border-color:#517a64}
html[data-theme="dark"] .survey-house-options .house-fire{background:#4d2c2a;color:#f0aea0;border-color:#85534d}
html[data-theme="dark"] .survey-house-options .house-ice{background:#263d50;color:#acd4f5;border-color:#5b7c97}
html[data-theme="dark"] .survey-house-options .house-wind{background:#33374f;color:#cdd6ef;border-color:#737b9f}
html[data-theme="dark"] .survey-house-options .survey-choice:has(input:checked){box-shadow:0 0 0 2px #caa47788}
html[data-theme="dark"] .survey-rank-list li{color:#f0e2d8}
html[data-theme="dark"] .rank-position{background:#624c49;color:#ffe2cf}
html[data-theme="dark"] .rank-arrows button{background:#332b2a;color:#e0b9c7;border-color:#82666d}
html[data-theme="dark"] .rank-arrows button:hover:not(:disabled){background:#523741}
html[data-theme="dark"] .survey-character-picker{background:#292226;border-color:#715b69}
html[data-theme="dark"] .survey-character-picker summary{color:#edcedc}
html[data-theme="dark"] .survey-character-picker[open] summary{border-bottom-color:#62505a}
html[data-theme="dark"] .character-pick{background:#3b303a;border-color:#6c5768;color:#f0dae4}
html[data-theme="dark"] .character-pick:hover{background:#544052}
html[data-theme="dark"] .character-pick[aria-pressed="true"]{background:#9d79b1;color:#fff;border-color:#c09bcf}
html[data-theme="dark"] .selected-character-list span{background:#453549;color:#e7cfea}
html[data-theme="dark"] .survey-confirmation{background:#41372c;color:#eed9b6;border-color:#947149}
html[data-theme="dark"] .survey-page-footer{border-top-color:#554a3e;color:#c6b09a}

/* Signup popup remains readable in the same theme as the page behind it. */
html[data-theme="dark"] .email-popup{background:#211e1b;color:#f5ebdb;border-color:#b59264;box-shadow:0 24px 100px #000a}
html[data-theme="dark"] .email-popup::backdrop{background:#000b}
html[data-theme="dark"] .dialog-content input{background:#131211;border-color:#80684a;color:#f6e6d2}
html[data-theme="dark"] .dialog-content input::placeholder{color:#a99888}
html[data-theme="dark"] .dialog-close:hover{background:#392f25}
html[data-theme="dark"] .form-note{color:#c6b09b}
html[data-theme="dark"] .form-message{background:#3b3022;color:#f9e7c8}


/* ===== roberto-updates.css ===== */
/* Roberto's final launch notes, shared across the home, houses, and survey pages. */

/* The navigation's original mark is 30% larger at each responsive breakpoint. */
.site-nav-logo { width: clamp(203px, 15.6vw, 267px); }
@media (max-width: 1040px) { .site-nav-logo { width: 226px; } }
@media (max-width: 680px) { .site-nav-logo { width: 195px; } }

/* Source screenshots include the book's spine. Show the front/back panels without
   altering the supplied artwork; the spine remains available in the source files. */
.book-cover-frame { aspect-ratio: 854 / 1308; width: min(100%, 560px); }
.book-cover-frame .book-cover-front,
.book-cover-frame .book-cover-back {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff9f3;
}
.book-cover-frame .book-cover-front { object-position: right center; }
.book-cover-frame .book-cover-back { object-position: left center; }
.book-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 17px;
  margin-bottom: 12px;
}
.book-price-was { color: #918375; font: 500 clamp(20px, 2vw, 27px)/1.3 var(--sans); text-decoration-thickness: 2px; }
.book-price-now { color: #2f2d2a; font: 700 clamp(34px, 3.7vw, 49px)/1.2 var(--font-b); }
.book-price-label {
  width: 100%;
  color: #996b2f;
  font: 800 12px/1.5 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
html[data-theme="dark"] .book-price-now { color: #f4dfbc; }
html[data-theme="dark"] .book-price-was { color: #a6a09a; }
html[data-theme="dark"] .book-price-label { color: #d2ae6b; }
@media (max-width: 650px) { .book-price { justify-content: center; } }

/* Wind is light blue; Ice is white. The house crests themselves stay intact. */
html:not([data-theme="dark"]) .house-preview-wind {
  --house-dark: #39799f;
  --house-light: #d5eefb;
  border-color: #a6cee4;
  background: linear-gradient(145deg, #f1faff, #c9e9f9);
}
html:not([data-theme="dark"]) .house-preview-wind .house-preview-medallion { background: #75bfe8; }
html:not([data-theme="dark"]) .house-preview-ice {
  --house-dark: #415e76;
  --house-light: #ffffff;
  border-color: #c3d2df;
  background: linear-gradient(145deg, #fff, #f5f8fb);
}
html:not([data-theme="dark"]) .house-preview-ice .house-preview-medallion { background: #f9fcff; border: 1px solid #d2dfe8; }

html:not([data-theme="dark"]) .house-option-wind {
  --option-dark: #39799f;
  --option-tint: #d5eefb;
  --option-light: #97d4f2;
  border-color: #abd4ec;
  border-top-color: #539fc8;
  background: linear-gradient(145deg, #f1faff, #c9e9f9);
}
html:not([data-theme="dark"]) .house-options .house-option-wind .house-option-portrait { background: #76bce5; }
html:not([data-theme="dark"]) .house-options .house-option-wind .house-option-name {
  color: #235579;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
html:not([data-theme="dark"]) .house-option-ice {
  --option-dark: #607a8e;
  --option-tint: #ffffff;
  --option-light: #d2e3ee;
  border-color: #c7d8e3;
  border-top-color: #c0d2e0;
  background: linear-gradient(145deg, #fff, #f4f9fc);
}
html:not([data-theme="dark"]) .house-options .house-option-ice .house-option-portrait { background: #f9fcff; }

html:not([data-theme="dark"]) .houses-page[data-house="wind"] {
  --house-primary: #4f98c2;
  --house-secondary: #337aa4;
  --house-soft: #def2fc;
  --house-ink: #235270;
  --field-base: #a2d9f4;
  --field-stripe: #91cee9;
  --field-line: #ffffffaa;
  --circle: #eefaff;
  --circle-ink: #285b7a;
  --name-bg: #f7fcff;
  --name-ink: #225676;
  --page-bg: #def2fc;
  --hero-glow: #f2fbff;
  --theme-ink: #205473;
  --theme-muted: #518baa;
  --theme-stroke: #b0d8ee;
  --panel-bg: #ebf8ff;
  --footer-bg: #c9e9f8;
}
html:not([data-theme="dark"]) .houses-page[data-house="ice"] {
  --house-primary: #7292a6;
  --house-secondary: #a9bece;
  --house-soft: #ffffff;
  --house-ink: #2f4d60;
  --field-base: #ffffff;
  --field-stripe: #eef4f8;
  --field-line: #91b0c480;
  --circle: #ffffff;
  --circle-ink: #314f63;
  --name-bg: #ffffff;
  --name-ink: #315267;
  --page-bg: #ffffff;
  --hero-glow: #ffffff;
  --theme-ink: #334c5e;
  --theme-muted: #657d8f;
  --theme-stroke: #cedbe5;
  --panel-bg: #fbfdff;
  --footer-bg: #f1f6fa;
}

/* Keep the updated house identities visible in night mode as well. */
html[data-theme="dark"] .house-preview-wind { color: #93d9ff; border-color: #568dab; background: linear-gradient(145deg, #173346, #244b63); }
html[data-theme="dark"] .house-preview-ice { color: #eff8ff; border-color: #7c90a0; background: linear-gradient(145deg, #363d45, #242c34); }
html[data-theme="dark"] .house-option-wind { border-color: #5a9fc2; background: linear-gradient(145deg, #173346, #244b63); }
html[data-theme="dark"] .house-option-ice { border-color: #a2adba; background: linear-gradient(145deg, #414850, #2b3540); }


/* ===== mobile.css ===== */
/* Phone and tablet layout refinements, shared by the Temple pages. */
html { scroll-padding-top: 86px; }
body { min-width: 0; }
.site-nav-mobile-toggle { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .site-nav { position: sticky; top: 0; isolation: isolate; }
  .site-nav-inner {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    padding: 10px max(17px, env(safe-area-inset-right)) 10px max(17px, env(safe-area-inset-left));
    gap: 10px;
  }
  .site-nav-brand { flex: 1 1 auto; width: auto; min-width: 0; padding: 0; justify-content: space-between; gap: 12px; }
  .site-nav-logo { width: clamp(169px, 52vw, 218px); max-width: calc(100% - 60px); }
  .site-nav-mobile-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #bda17e;
    border-radius: 8px;
    background: #f9f3e9;
    color: #4e3926;
    cursor: pointer;
    box-shadow: 0 4px 12px #49371e0c;
  }
  .site-nav-mobile-toggle span { display: block; width: 20px; height: 2px; border-radius: 3px; background: currentColor; transition: transform .2s, opacity .2s; }
  .site-nav.is-menu-open .site-nav-mobile-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-nav.is-menu-open .site-nav-mobile-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.is-menu-open .site-nav-mobile-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav-mobile-toggle:focus-visible { outline: 3px solid #b68c55; outline-offset: 3px; }
  .site-nav.mobile-nav-ready .site-nav-links { display: none; }
  .site-nav.mobile-nav-ready.is-menu-open .site-nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-height: min(75svh, 560px);
    padding: 14px max(16px, env(safe-area-inset-right)) 17px max(16px, env(safe-area-inset-left));
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f6eee3;
    border-top: 1px solid #dbc6a9;
    border-bottom: 1px solid #bf9d74;
    box-shadow: 0 18px 36px #28170938;
  }
  .site-nav-link {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 7px;
    font-size: 11px;
    letter-spacing: .075em;
    white-space: normal;
    text-align: center;
    border: 1px solid #dac4aa;
    border-radius: 6px;
    background: #fff9f1;
  }
  .site-nav-link[aria-current] { border-color: #af8655; }
  .site-nav-register { grid-column: 1 / -1; background: #e1c49d; border-color: #a58151; }
  .site-nav .theme-toggle {
    position: static;
    inset: auto;
    justify-self: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin: 0;
  }
  #main, #survey-main, #book, #leaderboard, #players, #instagram, #house-lineup, #join-a-house { scroll-margin-top: 88px; }

  html[data-theme="dark"] .site-nav-mobile-toggle { background: #302921; color: #f2dfc2; border-color: #896a48; }
  html[data-theme="dark"] .site-nav.is-menu-open .site-nav-links { background: #211c17; border-color: #6f553b; }
  html[data-theme="dark"] .site-nav-link { background: #2d251e; border-color: #594936; }
  html[data-theme="dark"] .site-nav-register { background: #4a3625; }
  html body.survey-page-body .site-nav-mobile-toggle { background: var(--survey-paper); border-color: var(--survey-ink); color: var(--survey-ink); }
  html body.survey-page-body .site-nav.is-menu-open .site-nav-links { background: var(--survey-paper); border-color: var(--survey-ink); }
  html body.survey-page-body .site-nav-link { background: var(--survey-paper); color: var(--survey-ink); border-color: color-mix(in srgb, var(--survey-ink) 38%, transparent); }

  .landing { min-height: calc(100svh - 72px); }
  .landing-stage { min-height: 0; overflow: hidden; padding: 38px 12px 54px; }
  .cinematic-hero-art { flex: 0 1 auto; width: min(690px, 116vw); max-width: none; max-height: min(67svh, 610px); height: auto; }
  .cinematic-enter { min-height: 52px; gap: 12px; padding: 12px 24px; font-size: 11px; letter-spacing: .11em; white-space: normal; text-align: center; }
  .landing-footer { min-height: 22px; }

  .future-survey, .book-section, .player-cards-section, .house-preview { padding-top: 70px; padding-bottom: 78px; }
  .future-survey, .book-section, .player-cards-section, .house-preview, .instagram-section { padding-left: 18px; padding-right: 18px; }
  .book-shell { gap: 27px; }
  .book-cover-frame { max-width: 320px; }
  .book-content h2 { font-size: clamp(32px, 9vw, 44px); }
  .book-description { font-size: 14px; }
  .book-buy { width: min(100%, 330px); justify-content: space-between; }
  .book-price { align-items: center; }

  .leaderboard-section { padding: 70px 14px 75px; }
  .leaderboard-heading-wrap h2 { font-size: clamp(30px, 8vw, 40px); }
  .leaderboard-card { padding: 9px; }
  .leaderboard-card-header { flex-wrap: wrap; gap: 6px; }
  .leaderboard-card-footer { line-height: 1.6; }
  .leaderboard-filter-fields { gap: 9px; }
  .leaderboard-register { width: 100%; }
  .leaderboard-gate { top: 245px; width: calc(100% - 18px); padding: 25px 16px; }
  .leaderboard-gate h3 { font-size: clamp(21px, 6vw, 27px); }
  .leaderboard-gate>p:not(.leaderboard-gate-kicker) { font-size: 12px; line-height: 1.6; }
  .leaderboard-artwork { width: min(310px, 75%); }
  .leaderboard-unlocked .leaderboard-scroll { overflow: visible; }

  .player-cards-grid { scroll-padding-left: 3px; }
  .player-card-tile { flex-basis: min(82vw, 348px); }
  .player-cards-arrow { min-width: 44px; min-height: 44px; }
  .player-cards-scroll-label { font-size: 9px; line-height: 1.6; }
  .player-card-caption { flex-wrap: wrap; }

  .house-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .house-preview-card { min-height: 219px; padding: 19px 9px; border-radius: 9px; }
  .house-preview-medallion { width: min(31vw, 113px); }
  .house-preview-visit { overflow-wrap: anywhere; }

  .email-popup { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .dialog-content { padding: 49px 22px 25px; }
  .dialog-content h2 { font-size: clamp(27px, 7vw, 35px); line-height: 1.22; }
  .dialog-content input { min-height: 52px; font-size: 16px; }
  .submit-email { min-height: 54px; font-size: 11px; line-height: 1.4; letter-spacing: .075em; gap: 12px; }
  .dialog-close { top: 8px; right: 8px; width: 46px; height: 46px; }

  /* House rosters should fit without sideways scrolling or clipped names. */
  .houses-intro { width: calc(100% - 34px); padding-top: 52px; padding-bottom: 67px; }
  .house-options { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .house-option { min-height: 0; padding: 16px 10px; border-radius: 8px; }
  .house-option-name { font-size: clamp(24px, 6.5vw, 37px); }
  .house-detail-shell { width: calc(100% - 30px); }
  .squad-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .squad-tab { min-width: 0; min-height: 46px; padding: 10px 8px; font-size: 10px; }
  .squad-match-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .match-fact { min-width: 0; overflow-wrap: anywhere; }
  .named-formation-row { min-width: 0; }
  .named-player { min-width: 0; }

  /* Survey inputs must remain comfortably tappable without triggering iOS zoom. */
  .survey-page-content { width: calc(100% - 26px); padding-top: 48px; }
  .survey-page-intro h1 { font-size: clamp(31px, 8.2vw, 46px); overflow-wrap: break-word; }
  .survey-question { padding: 22px 16px 24px; }
  .survey-question legend { align-items: flex-start; overflow-wrap: anywhere; }
  .survey-email input[type="email"], .survey-select, .survey-short-answer, .survey-search, .survey-writing textarea { font-size: 16px; }
  .survey-choice { min-height: 48px; }
  .survey-factor-row { flex-wrap: wrap; gap: 5px 12px; }
  .survey-factor-row .survey-stars { justify-content: space-between; width: 100%; }
  .survey-factor-row .survey-stars label { flex: 1 1 0; min-height: 44px; }
  .survey-factor-row .survey-stars .star-glyph { font-size: clamp(24px, 7vw, 32px); }
  .survey-bubble-row { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .survey-bubble span { width: 100%; max-width: 62px; aspect-ratio: 1; height: auto; }
  .survey-rank-list li { gap: 7px; }
  .survey-rank-list strong { min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
  .rank-position { width: 29px; height: 29px; }
  .rank-arrows button { width: 44px; height: 44px; }
  .survey-character-picker summary { padding: 14px; }
  .character-pick { min-height: 44px; }
  .survey-submit { width: min(100%, 350px); min-width: 0; }
}

@media (max-width: 390px) {
  .site-nav-inner { min-height: 66px; }
  .site-nav-logo { width: clamp(155px, 51vw, 195px); }
  .site-nav.is-menu-open .site-nav-links { gap: 6px; padding: 11px 13px 13px; }
  .site-nav-link { font-size: 10px; letter-spacing: .02em; }
  .cinematic-hero-art { width: 124vw; }
  .cinematic-enter { padding-left: 19px; padding-right: 19px; }
  .leaderboard-card-header { font-size: 8px; }
  .leaderboard-gate { top: 260px; }
  .house-preview-card { min-height: 198px; padding: 15px 7px; }
  .house-preview-medallion { width: min(30vw, 99px); }
  .house-preview-card strong { font-size: 25px; }
  .house-preview-visit { font-size: 7px; }
  .squad-match-facts { grid-template-columns: 1fr; gap: 7px; }
  .match-fact { min-height: 0; padding: 11px 13px; }
  .named-formation { padding: 23px 6px; }
  .named-player { padding: 7px 2px; }
  .survey-star-caption { font-size: 8px; letter-spacing: .04em; }
  .survey-plain-options { grid-template-columns: 1fr; }
  .survey-question { padding-left: 13px; padding-right: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-mobile-toggle span { transition: none; }
}


/* ===== member.css ===== */
/* Registration feedback and the small, optional reader initial in the top-right. */
.site-member[hidden], .site-member-details[hidden], .registration-success[hidden], .site-nav-register[hidden],
#popup-email-form[hidden] { display: none !important; }
.site-member { position: relative; flex: 0 0 auto; z-index: 12; }
.site-member-avatar {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 2px solid #b98a4e; border-radius: 50%; background: #1d3048; color: #fff1d8;
  box-shadow: 0 0 0 3px #f3e7d9; cursor: pointer;
  font: 700 17px/1 'DM Sans', Arial, sans-serif;
  transition: transform .18s ease, box-shadow .18s ease;
}
.site-member-avatar:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px #e7c996, 0 5px 15px #33231130; }
.site-member-avatar:focus-visible { outline: 3px solid #9b6b2e; outline-offset: 5px; }
.site-member-details {
  position: absolute; top: calc(100% + 17px); right: 0; z-index: 20;
  width: min(310px, calc(100vw - 34px)); padding: 22px 23px;
  border: 1px solid #bda27e; border-radius: 7px;
  background: #fffaf2; color: #30281f; box-shadow: 0 15px 40px #261c1438;
  text-align: left; font-family: 'DM Sans', Arial, sans-serif;
}
.site-member-kicker { margin: 0 0 11px; color: #a07948; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.site-member-email { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.site-member-note { margin: 10px 0 16px; font-size: 12px; line-height: 1.7; color: #74695d; }
.site-member-change { color: #79582e; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }

.registration-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0 0; }
.dialog-content.is-registered > #email-popup-title,
.dialog-content.is-registered > #email-popup-description { display: none; }
.registration-success-icon { width: 102px; margin: 0 0 24px; }
.registration-success-icon svg { width: 100%; height: auto; overflow: visible; }
.registration-success-icon circle, .registration-success-icon path {
  fill: none; stroke: #268851; stroke-linecap: round; stroke-linejoin: round;
}
.registration-success-icon circle { stroke-width: 5; stroke-dasharray: 290; stroke-dashoffset: 290; animation: tof-reg-ring .65s ease-out forwards; }
.registration-success-icon path { stroke-width: 7; stroke-dasharray: 75; stroke-dashoffset: 75; animation: tof-reg-check .46s ease-out .53s forwards; }
.registration-success-kicker { margin: 0 0 11px; font: 800 10px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: .18em; color: #30784c; }
.dialog-content .registration-success h2 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 39px); }
.registration-success-copy { max-width: 360px; margin: 0 auto 12px; color: #6e6050; font: 400 14px/1.65 'DM Sans', Arial, sans-serif; }
.registration-success-email { margin: 3px 0 28px; font: 700 12px/1.6 'DM Sans', Arial, sans-serif; color: #267248; overflow-wrap: anywhere; }
.registration-success-action {
  width: 100%; min-height: 55px; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 19px; border: 1px solid #133222; border-radius: 2px; background: #143925;
  color: #fff; font: 800 11px/1.5 'DM Sans', Arial, sans-serif; letter-spacing: .13em; cursor: pointer;
}
.registration-success-action:hover { background: #28653e; }
.registration-success-action:focus-visible { outline: 3px solid #4b9d67; outline-offset: 3px; }
.registration-success-action span { font-size: 19px; }
@keyframes tof-reg-ring { to { stroke-dashoffset: 0; } }
@keyframes tof-reg-check { to { stroke-dashoffset: 0; } }

html[data-theme="dark"] .site-member-avatar { border-color: #d4b17e; box-shadow: 0 0 0 3px #2b241d; }
html[data-theme="dark"] .site-member-details { background: #211e1b; color: #f4e7d3; border-color: #9b7850; }
html[data-theme="dark"] .site-member-note { color: #cfbea7; }
html[data-theme="dark"] .site-member-change { color: #e4c393; }
html[data-theme="dark"] .registration-success-kicker, html[data-theme="dark"] .registration-success-email { color: #85c79d; }
html[data-theme="dark"] .registration-success-copy { color: #d5c6b2; }

@media (max-width: 1040px) and (min-width: 761px) {
  .site-nav-inner { position: relative; }
  .site-member { position: absolute; right: 22px; top: 18px; }
}
@media (max-width: 760px) {
  .site-member { flex: 0 0 41px; }
  .site-member-avatar { width: 41px; height: 41px; font-size: 16px; }
  .site-member-details { right: -1px; top: calc(100% + 16px); }
  .site-nav-logo { max-width: calc(100% - 50px); }
  .registration-success { padding-top: 8px; }
  .registration-success-icon { width: 90px; margin-bottom: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .registration-success-icon circle, .registration-success-icon path { animation: none; stroke-dashoffset: 0; }
  .site-member-avatar { transition: none; }
}
/* Consent is an optional, clearly separated choice on both entry forms. */
.dialog-content .newsletter-optin { display:flex; align-items:center; gap:7px; margin:14px 0; font:500 12px/1.4 var(--sans); letter-spacing:0; white-space:normal; color:var(--text); cursor:pointer; }
.dialog-content .newsletter-optin input { display:block; flex:0 0 14px; margin:0; padding:0; width:14px; height:14px; min-height:0; accent-color:#b68b38; }
@media(max-width:700px) { .dialog-content .newsletter-optin { white-space:normal; } }


/* Reader reviews: responsive, mobile-first; no impact on existing sections. */
.reader-reviews-section{padding:clamp(52px,8vw,96px) 20px;background:#f7f2eb;color:#28231f}
.reader-reviews-inner{max-width:1100px;margin:0 auto}
.reader-reviews-eyebrow{margin:0 0 12px;text-align:center;font-family:"DM Sans",Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;font-size:11px;font-weight:700;color:#80674c}
.reader-reviews-section h2{margin:0 0 28px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(29px,5vw,50px);line-height:1.14;letter-spacing:-.025em;color:#28231f}
.reader-reviews-section h2 span{color:#b08a4f}
.reader-review-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.reader-review-card{margin:0;padding:25px 22px 23px;border:1px solid #d9cbb9;border-radius:18px;background:#fffaf5;display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 22px rgba(38,30,22,.04)}
.reader-review-stars{font-size:24px;line-height:1;letter-spacing:3px;color:#b58a45;white-space:nowrap;margin-bottom:17px}
.reader-review-title{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.35;margin:0 0 17px;font-weight:700;color:#292320}
.reader-review-card blockquote{padding:0;margin:0 0 23px;flex:1}
.reader-review-card blockquote p{margin:0 0 13px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(16px,2.25vw,18px);line-height:1.65;overflow-wrap:break-word}
.reader-review-card blockquote p:last-child{margin-bottom:0}
.reader-review-card figcaption{padding-top:17px;border-top:1px solid #e3d9cc;display:flex;flex-direction:column;gap:4px;font-family:"DM Sans",Arial,sans-serif}
.reader-review-card figcaption strong{font-size:14px;line-height:1.4}
.reader-review-card figcaption>span{font-size:12px;line-height:1.5;color:#6c6258}
.reader-review-card figcaption a{align-self:flex-start;margin-top:8px;font-size:12px;font-weight:700;color:#755627;text-decoration:underline;text-underline-offset:3px}
.reader-review-card figcaption a:hover{color:#a06b25}
.reader-review-card figcaption a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(min-width:740px){.reader-review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.reader-review-card{padding:32px 32px 29px}}
@media(max-width:380px){.reader-reviews-section{padding-left:14px;padding-right:14px}.reader-review-card{padding:23px 17px}.reader-review-stars{font-size:21px}}
html[data-theme="dark"] .reader-reviews-section{background:#191b24;color:#f5eee3}
html[data-theme="dark"] .reader-reviews-section h2{color:#f5eee3}
html[data-theme="dark"] .reader-reviews-eyebrow{color:#d6b985}
html[data-theme="dark"] .reader-review-card{background:#242836;border-color:#55515a;box-shadow:none}
html[data-theme="dark"] .reader-review-stars{color:#e3bd71}
html[data-theme="dark"] .reader-review-title{color:#f5eee3}
html[data-theme="dark"] .reader-review-card figcaption{border-top-color:#55515a}
html[data-theme="dark"] .reader-review-card figcaption>span{color:#c9c4c0}
html[data-theme="dark"] .reader-review-card figcaption a{color:#eac783}

/* Registration CTA stays disabled until affirmative announcement consent. */
.submit-email:disabled,
.submit-email[aria-disabled="true"] {
  background: #b8b8b8 !important;
  color: #f5f5f5 !important;
  border-color: #b8b8b8 !important;
  cursor: not-allowed !important;
  opacity: .8;
  box-shadow: none !important;
  transform: none !important;
}
.submit-email:disabled:hover,
.submit-email[aria-disabled="true"]:hover {
  background: #b8b8b8 !important;
  color: #f5f5f5 !important;
  transform: none !important;
}
