/* The form book: Panenka's typography and print rules, with real account data. */
.community{padding-bottom:44px;min-width:0}.community-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:42px 0 28px}.community-heading h1{font:800 clamp(48px,6vw,76px)/.95 var(--display);text-transform:uppercase;letter-spacing:-.02em;overflow-wrap:anywhere}.community-heading p{color:#555b50;font-size:17px;line-height:1.7;margin-top:14px}.community-heading .btn{flex-shrink:0}.community-tabs{display:flex;gap:28px;align-items:center;border-bottom:1px solid var(--ink);margin-bottom:30px}.community-tabs button,.community-tabs a{padding:14px 0;background:transparent;border:0;border-bottom:3px solid transparent;text-decoration:none;font-size:16px;min-height:50px}.community-tabs .active{border-bottom-color:var(--ink);font-weight:700}.community-tabs a{margin-left:auto;color:#555b50}.community-playing-since{font:13px var(--mono);color:#555b50;margin:2px 0 13px}.community-counters{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 34px;border-bottom:1px solid var(--ink)}.community-counters>div{padding:16px 22px 25px 0}.community-counters strong{font:800 66px/1 var(--display);display:block;margin-bottom:10px}.community-counters span{font-size:15px;color:#555b50}.community-panel{border:1px solid var(--ink);background:#f8f7f0;padding:26px;margin-bottom:24px;min-width:0}.community-panel h2,.community-section-head h2{font:700 31px/1.05 var(--display);text-transform:uppercase;letter-spacing:-.01em}.community-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.community-section-head p{font-size:14px;line-height:1.6;color:#555b50;margin-top:8px}.community-section-head .eyebrow{margin-bottom:8px}.community-unit{font:13px/1.6 var(--mono);color:#555b50;white-space:nowrap}.community-segment{border:1px solid var(--ink);display:inline-flex;flex-shrink:0;background:var(--paper)}.community-segment button{border:0;border-right:1px solid var(--ink);background:transparent;min-height:42px;padding:10px 16px;font-size:14px;white-space:nowrap}.community-segment button:last-child{border-right:0}.community-segment button[aria-pressed=true]{background:var(--ink);color:var(--paper);font-weight:700}.community-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 25px}.community-select{display:flex;flex-direction:column;gap:8px;min-width:220px;max-width:100%;font-size:14px}.community-select>span{font:13px var(--mono);text-transform:uppercase}.community-select select{font:16px var(--sans);border:1px solid var(--ink);background:var(--paper);padding:11px 36px 11px 13px;min-height:44px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2320231e' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;border-radius:0}.community-select select:focus-visible{outline:3px solid var(--green);outline-offset:3px}.community-calendar-wrap{margin:20px 0 14px;overflow-x:auto}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-weekdays{margin-bottom:12px}.calendar-weekdays span{text-align:center;font:13px var(--mono);color:#555b50}.calendar-days{row-gap:12px}.calendar-day{display:flex;align-items:center;justify-content:center;position:relative;border:1px solid transparent;background:transparent;min-height:51px;min-width:36px;font-size:14px;color:var(--ink);width:100%;padding:6px;isolation:isolate}.calendar-day>span{display:flex;align-items:center;justify-content:center;min-height:38px;min-width:38px;padding:5px;z-index:1}.calendar-day small{position:absolute;top:-6px;font:10px var(--mono);text-transform:uppercase;left:50%;transform:translateX(-50%)}.calendar-day:not(.level-0){background:transparent!important}.calendar-day:not(.level-0)>span{background:var(--level-color);border:1px solid #335d4566}.calendar-day.today>span{outline:2px solid var(--ink);outline-offset:4px}.calendar-day.selected{border-color:var(--ink);background:#e6eadd!important}.calendar-day.outside{opacity:.28;cursor:default}.calendar-day.level-0{color:#6c7066}.level-0{--level-color:#e8e9df;background:#e8e9df}.level-1{--level-color:#e1e9ce;background:#e1e9ce}.level-2{--level-color:#b8d39d;background:#b8d39d}.level-3{--level-color:#87ad71;background:#87ad71}.level-4{--level-color:#527f4b;background:#527f4b}.level-5{--level-color:#335d45;background:#335d45}.calendar-day.level-4>span,.calendar-day.level-5>span{color:var(--paper)}.calendar-legend{display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#555b50;font-size:12px;margin-top:18px}.calendar-legend i{width:13px;height:13px;border:1px solid #335d4533}.calendar-detail{display:flex;align-items:baseline;flex-wrap:wrap;gap:13px 20px;border-top:1px solid var(--line);margin-top:22px;padding-top:18px;font-size:14px;line-height:1.7}.community-calendar.compact{display:flex;gap:10px;min-width:calc(var(--calendar-weeks)*25px + 42px);width:100%}.compact .calendar-weekdays{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(7,20px);gap:5px;margin:0;align-items:center;width:32px}.compact .calendar-weekdays span{font-size:10px;overflow:hidden;width:22px}.compact .calendar-days{flex:1;display:grid;grid-auto-flow:column;grid-template-columns:repeat(var(--calendar-weeks),minmax(18px,1fr));grid-template-rows:repeat(7,20px);gap:5px}.compact .calendar-day{min-width:0;min-height:0;height:20px;padding:0;background:#e8e9df!important}.compact .calendar-day>span{min-height:0;min-width:0;height:20px;width:100%;font-size:0;padding:0;border:0}.compact .calendar-day.level-0>span{background:#e8e9df}.compact .calendar-day.today>span{outline-offset:0;outline-width:2px}.community-by-game{margin:30px 0}.community-game-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.community-game-tabs button{text-align:left;border:1px solid var(--line);padding:16px;background:transparent;min-height:86px}.community-game-tabs button strong{font-size:15px;display:block;margin-bottom:9px}.community-game-tabs button span{font-size:13px;color:#555b50}.community-game-tabs button.active{border-color:var(--ink);background:var(--acid);box-shadow:inset 0 0 0 1px var(--ink)}.community-analysis-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.community-analysis-grid .community-panel{height:100%}.community-analysis-grid{margin-bottom:24px}.community-analysis-grid .community-panel{margin-bottom:0}.community-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.community-metric-grid>div{border-top:2px solid var(--ink);padding:17px 0}.community-metric-grid strong{display:block;font:700 35px var(--display);margin-bottom:8px}.community-metric-grid span{font-size:14px;color:#555b50;line-height:1.5}.community-chart svg{width:100%;height:auto;display:block;overflow:visible}.chart-grid{stroke:var(--line);stroke-width:1}.chart-label{font:11px var(--mono);fill:#6c7066}.chart-line{fill:none;stroke:var(--green);stroke-width:3;stroke-linejoin:round}.chart-point{fill:var(--acid);stroke:var(--green);stroke-width:2}.chart-dates{display:flex;justify-content:space-between;font-size:12px;color:#555b50;margin-top:4px}.community-chart-data{font-size:13px;line-height:1.7;margin-top:20px}.community-chart-data summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.community-chart-values{margin-top:12px;max-height:200px;overflow:auto}.community-chart-values>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-bottom:1px solid var(--line)}.compare-stat{margin:22px 0}.compare-stat>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px;font-size:15px}.compare-stat strong{font:700 37px/1 var(--display)}.compare-track{height:13px;background:#e4e5da;border:1px solid var(--line)}.compare-track i{height:100%;display:block;background:var(--green)}.community-benchmark .compare-track i{background:var(--acid);border-right:1px solid var(--ink)}.community-comparison .community-section-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.community-comparison-fact{font-size:15px;line-height:1.6;margin-top:18px;border-top:1px solid var(--line);padding-top:16px;font-weight:600}.community-note{font-size:13px;line-height:1.75;color:#555b50;margin:14px 0}.community-results-table,.leaderboard-table{margin-top:24px}.community-result-row,.leaderboard-row{display:grid;align-items:center;gap:18px;border-bottom:1px solid var(--line);min-height:67px;padding:15px 0;font-size:14px}.community-result-row{grid-template-columns:1fr 1.4fr .65fr 1fr}.community-result-row a{text-decoration:none}.community-result-row a:hover{text-decoration:underline}.community-result-row small,.leaderboard-row small{display:block;color:#555b50;font-size:12px;margin-top:4px}.community-result-row .result-met{color:var(--green);font-weight:600}.table-heading{font:12px var(--mono);text-transform:uppercase;letter-spacing:.04em;min-height:45px;padding:10px 0;border-bottom:1px solid var(--ink)}.leaderboard-row{grid-template-columns:70px minmax(0,1fr) 100px 120px;font-size:16px}.leaderboard-row>strong{font:700 30px var(--display)}.leaderboard-row>span,.leaderboard-row>b{text-align:right}.leaderboard-row>a{font-weight:600;text-decoration:none;overflow-wrap:anywhere}.leaderboard-row>a:hover{text-decoration:underline}.leaderboard-row.is-you{background:#e8edda;margin:0 -12px;padding-left:12px;padding-right:12px}.leaderboard-row.is-you small{font:12px var(--mono);text-transform:uppercase}.leaderboard-panel>.community-note{max-width:750px}.community-public-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px;margin-top:25px}.community-public-games article{border-top:1px solid var(--line);padding-top:20px}.community-public-games h3{font:700 25px var(--display);text-transform:uppercase;margin-bottom:15px;min-height:50px}.community-public-games strong{font:700 38px/1 var(--display)}.community-public-games p{font-size:13px;color:#555b50;line-height:1.7;margin:11px 0 5px}.community-public-games small{font-size:12px;color:#555b50}.community-empty{padding:34px 0;text-align:center;line-height:1.7}.community-empty h3{font:700 30px var(--display);text-transform:uppercase;margin-bottom:12px}.community-empty p{font-size:16px;color:#555b50;max-width:550px;margin:0 auto 20px}.community-loading{border-top:1px solid var(--line);padding:45px 0;color:#555b50;font-size:16px}.community-error{padding:30px;border:1px solid var(--red);background:#f3e4dc}.community-error h2{font:700 30px var(--display);text-transform:uppercase}.community-error p{margin:14px 0;line-height:1.7}.community-inline-links{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0 4px;font-size:14px}.community-gate{display:grid;grid-template-columns:1.3fr 1fr;border:1px solid var(--ink);background:#f8f7f0;margin:8px 0 24px}.community-gate-main{padding:36px;background:var(--acid);border-right:1px solid var(--ink)}.community-gate-main h2{font:800 55px/.95 var(--display);text-transform:uppercase;letter-spacing:-.02em}.community-gate-main>p{font-size:17px;line-height:1.7;margin-top:21px;max-width:420px}.community-gate-main .community-note{font-size:13px}.community-gate-features{padding:17px 32px}.community-gate-features>div{border-bottom:1px solid var(--line);padding:23px 0}.community-gate-features>div:last-child{border:0}.community-gate-features strong{font:700 24px var(--display);text-transform:uppercase}.community-gate-features p{font-size:16px;line-height:1.7;margin-top:10px;color:#555b50}.community-account{max-width:780px}.community-account>p{font-size:16px;line-height:1.8;margin:15px 0}.community-account hr{border:0;border-top:1px solid var(--line);margin:30px 0}.community-danger{font-size:15px;line-height:1.8}.community-danger summary{color:var(--red);cursor:pointer}.community-danger p{margin:15px 0}.community-auth form,.community-danger form{display:flex;flex-direction:column;align-items:stretch;gap:9px}.community-auth label,.community-danger label{font-size:15px;font-weight:600;margin-top:11px}.community-auth input,.community-danger input{border:1px solid var(--ink);background:#fbfaf5;min-height:48px;padding:12px;width:100%;border-radius:0}.community-auth small{font-size:12px;line-height:1.6;color:#555b50}.community-auth .error{margin:4px 0 7px;line-height:1.7}.community-auth-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14px;line-height:1.6;margin-top:24px}.community-modal-close{font-size:13px;color:#555b50;margin-top:24px}.community-auth textarea{font:14px/1.8 var(--mono);overflow-wrap:anywhere;min-height:86px;margin:12px 0 18px}.community-form-status{font-size:14px!important;color:var(--green);line-height:1.7}.community-auth #community-copy-status{font-size:14px;color:var(--green)}
@media(max-width:1000px){.community-analysis-grid{grid-template-columns:1fr}.community-public-games{grid-template-columns:repeat(2,minmax(0,1fr))}.community-public-games h3{min-height:0}.community-heading h1{font-size:62px}.community-gate-main{padding:28px}.community-gate-main h2{font-size:49px}}
@media(max-width:700px){.community-heading{padding:31px 0 23px;display:block}.community-heading h1{font-size:51px}.community-heading p{font-size:16px}.community-heading>.btn{margin-top:20px}.community-tabs{gap:23px;margin-bottom:25px}.community-tabs a,.community-tabs button{font-size:14px}.community-tabs a{margin-left:auto}.community-counters{margin-bottom:25px}.community-counters strong{font-size:48px}.community-counters>div{padding:10px 12px 20px 0}.community-counters span{font-size:13px}.community-panel{padding:19px 15px;margin-bottom:20px}.community-section-head{gap:12px;align-items:flex-start;margin-bottom:20px}.community-section-head h2,.community-panel h2{font-size:28px}.community-section-head p{font-size:13px}.community-unit{font-size:11px;white-space:normal}.community-segment button{padding:10px 12px;font-size:12px;min-height:40px}.calendar-weekdays,.calendar-days{gap:3px}.calendar-days{row-gap:9px}.calendar-day{min-width:0;min-height:45px;padding:2px;font-size:12px}.calendar-day>span{min-width:29px;min-height:29px;padding:4px}.calendar-day.today>span{outline-offset:2px}.calendar-weekdays span{font-size:11px}.calendar-legend{font-size:10px;gap:5px}.calendar-legend i{width:11px;height:11px}.community-game-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-game-tabs button{padding:13px;min-height:86px}.community-game-tabs button strong{font-size:14px}.community-game-tabs button span{font-size:12px}.community-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.community-metric-grid>div{padding:15px 0}.community-metric-grid strong{font-size:31px}.community-metric-grid span{font-size:13px}.community-analysis-grid{gap:20px}.community-note{font-size:12px}.community-toolbar{align-items:stretch;flex-wrap:wrap}.community-select{min-width:180px;flex:1}.community-toolbar>.community-segment{align-self:flex-end}.community-result-row{grid-template-columns:.9fr 1.2fr .6fr;font-size:12px;gap:10px;line-height:1.6}.community-result-row>:last-child{display:none}.community-result-row small{font-size:10px}.leaderboard-row{grid-template-columns:38px minmax(0,1fr) 45px 72px;gap:10px;font-size:14px}.leaderboard-row>strong{font-size:26px}.leaderboard-row.table-heading{font-size:10px}.community-public-games{gap:23px 16px}.community-public-games h3{font-size:24px}.community-public-games strong{font-size:33px}.community-gate{grid-template-columns:1fr}.community-gate-main{border-right:0;border-bottom:1px solid var(--ink);padding:27px 23px}.community-gate-main h2{font-size:49px}.community-gate-main>p{font-size:16px}.community-gate-features{padding:7px 23px}.community-gate-features>div{padding:22px 0}.community-gate-features strong{font-size:23px}.community-gate-features p{font-size:15px}.community-gate .game-actions .btn{flex:initial}.community-inline-links{font-size:13px}.community-playing-since{font-size:11px}.community .btn{font-size:14px}.community-chart .community-section-head{margin-bottom:17px}.community-chart-values{font-size:12px}.community-tabs a{white-space:nowrap}.community-auth-links{font-size:13px}.community-account>p{font-size:15px}}
@media(max-width:390px){.community-tabs{gap:15px}.community-tabs a,.community-tabs button{font-size:13px}.community-panel .community-section-head{flex-wrap:wrap}.community-counters strong{font-size:42px}.community-counters span{font-size:12px}.community-segment button{padding:10px 11px}.community-game-tabs button{padding:11px}}
/* Calendar dates keep a full touch target, including longer-range heatmaps. */
.community-calendar.compact{min-width:calc(var(--calendar-weeks)*49px + 42px)}
.compact .calendar-weekdays{grid-template-rows:repeat(7,44px)}
.compact .calendar-days{grid-template-columns:repeat(var(--calendar-weeks),minmax(44px,1fr));grid-template-rows:repeat(7,44px)}
.compact .calendar-day,.compact .calendar-day>span{height:44px;min-height:44px}
.compact .calendar-day>span{font-size:11px}
@media(max-width:700px){.calendar-day{min-height:44px}.community-calendar.compact .calendar-day{min-width:44px}}
/* Passwordless sign-in keeps email private and codes easy to enter. */
.community-email-pending{border-left:3px solid var(--green);background:#e6eadd;padding:13px 16px;font-size:15px!important;line-height:1.7}
.community-auth .community-otp-input{font:600 29px var(--mono);letter-spacing:.3em;text-align:center;padding:14px;min-height:60px}
.community-private-email{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:22px 0}
.community-private-email>span{font:13px var(--mono);text-transform:uppercase;color:#555b50}
.community-private-email strong{font-size:17px;overflow-wrap:anywhere;font-weight:500}
.community-private-email small{font-size:13px;line-height:1.6;color:#555b50}
@media(max-width:700px){.community-toolbar>.community-segment{width:100%;max-width:100%}.community-toolbar>.community-segment button{flex:1;padding:10px 7px;font-size:12px}.community-auth .community-otp-input{font-size:27px}.community-private-email strong{font-size:16px}}

/* Keep all leaderboard columns readable on small screens with a contained scroll. */
.leaderboard-panel{overflow-x:auto}.leaderboard-table{min-width:680px}.leaderboard-row{grid-template-columns:48px minmax(150px,1fr) 90px 85px 90px 110px;gap:16px}.community-select input[type=month]{font:inherit;border:1px solid var(--ink);padding:12px;background:transparent;min-height:46px;width:100%}
