.rally-photo-editor{border:1px solid var(--line);background:var(--paper-light);width:min(760px,100% - 32px);max-height:calc(100dvh - 30px);color:var(--ink);overscroll-behavior:contain;border-radius:14px;padding:clamp(17px,3vw,29px);overflow:auto;box-shadow:0 24px 80px #17362955}.rally-photo-editor::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17352880}.rally-photo-header{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px;display:flex}.rally-photo-header h2{font:400 clamp(25px, 3vw, 36px)/1.05 var(--serif);letter-spacing:-.035em;color:var(--green);margin:0}.rally-photo-content{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:start;gap:clamp(17px,3.5vw,34px);display:grid}.rally-photo-preview{aspect-ratio:640/864;background:var(--green);border-radius:10px;width:100%;position:relative;overflow:hidden;box-shadow:0 6px 14px #26352b25}.rally-photo-preview canvas{width:100%;height:100%;display:block}.rally-photo-preview canvas.is-positionable{cursor:grab;touch-action:none}.rally-photo-preview canvas.is-positionable:active{cursor:grabbing}.rally-photo-video{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;inset:0}.rally-photo-preview-status{color:#fff4d9;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:15px;font-size:14px;display:flex;position:absolute;inset:0}.rally-photo-controls{align-content:start;gap:15px;display:grid}.rally-photo-controls .eyebrow{color:var(--red);margin:1px 0 5px}.rally-photo-hint,.rally-photo-privacy,.rally-photo-error{color:var(--muted);margin:0;font-size:14px;line-height:1.45}.rally-photo-privacy{font-size:12px}.rally-photo-error{border-left:3px solid var(--red);color:#623c32;background:#f2e5d7;border-radius:3px;padding:8px 10px}.rally-photo-sources{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rally-photo-sources .btn,.rally-photo-actions .btn{min-height:42px;padding:0 11px;font-size:13px}.rally-photo-device{color:var(--muted);gap:5px;font-size:13px;display:grid}.rally-photo-device select{width:100%;color:var(--green);background:var(--paper);border:1px solid var(--line);font:inherit;border-radius:6px;padding:8px 10px}.rally-photo-adjust{border:1px solid var(--line);border-radius:8px;gap:9px;min-width:0;margin:0;padding:10px 13px 12px;display:grid}.rally-photo-adjust legend{color:var(--green);padding:0 5px;font-size:13px;font-weight:700}.rally-photo-adjust label{color:var(--muted);gap:3px;font-size:12px;display:grid}.rally-photo-adjust label>span{justify-content:space-between;display:flex}.rally-photo-zoom-value{font-variant-numeric:tabular-nums}.rally-photo-adjust input{width:100%;min-height:18px;accent-color:var(--green);margin:0}.rally-photo-adjust input:disabled{opacity:.45}.rally-photo-adjust .text-button{justify-self:start;min-height:24px;font-size:12px}.rally-photo-editor :focus-visible{outline:2px solid var(--red);outline-offset:3px}.rally-photo-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:end;gap:8px;margin-top:18px;padding-top:15px;display:flex}@media (max-width:620px){.rally-photo-editor{width:min(440px,100% - 22px)}.rally-photo-header{margin-bottom:13px}.rally-photo-content{grid-template-columns:minmax(0,1fr);gap:13px}.rally-photo-preview{justify-self:center;width:clamp(155px,35dvh,220px);max-width:100%}.rally-photo-controls{gap:10px}.rally-photo-actions{margin-top:12px;padding-top:11px}}.rally-brand,.rally-home{text-decoration:none}.rally-layout{grid-template-columns:minmax(260px,460px) minmax(290px,410px);grid-template-areas:"intro board""controls board";place-content:center;align-items:start;gap:20px clamp(42px,7.5vw,116px);padding-block:clamp(32px,5vw,74px);display:grid}.rally-intro{grid-area:intro;align-self:end}.rally-intro h1{font:400 clamp(62px,6.6vw,96px)/.89 var(--serif);letter-spacing:-.065em;margin:18px 0 21px}.rally-intro h1 em{color:var(--red);font-weight:400;display:block}.rally-lead{color:#455c4d;max-width:430px;font-size:clamp(16px,1.4vw,19px);line-height:1.5}.rally-controls{grid-area:controls;align-self:start;min-width:0}.rally-rules{color:#43564a;gap:11px;padding:0;font-size:14px;line-height:1.45;list-style:none;display:grid}.rally-rules li,.rally-fine,.rally-record{align-items:flex-start;gap:11px;display:flex}.rally-rules li>svg{width:19px;height:19px;color:var(--red);flex:none;margin-top:1px}.rally-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.rally-rules+.rally-actions,.rally-fine+.rally-actions{margin-top:21px}.rally-actions .btn{min-height:45px;padding:0 14px}.rally-fine,.rally-record,.rally-notice{color:var(--muted);margin-top:15px;font-size:13px;line-height:1.5}.rally-fine svg,.rally-record svg{margin-top:2px}.rally-controls>.rally-fine:first-child{margin-top:0}.rally-notice{color:#4f4432;background:#eee5cc;border-left:3px solid #aa7642;border-radius:3px;padding:10px 12px}.rally-board-column{grid-area:board;place-self:center;width:min(100%,410px,74svh - 115.44px);min-width:min(270px,100%);scroll-margin-block:12px}.rally-frame{isolation:isolate;aspect-ratio:640/864;outline-offset:-1px;background:#93ac94 url(/winterpost.webp) 44%/cover no-repeat;border-radius:14px;outline:1px solid #8e9a83;position:relative;overflow:hidden;box-shadow:0 8px 22px #26352b21,0 2px 3px #283e302b}.rally-frame:before{content:"";z-index:-1;background:linear-gradient(#294c3d15 0%,#fff4d08c 50%,#f4edcba3 74%,#d3dcb996 100%);position:absolute;inset:0}.rally-video,.rally-field,.rally-overlay,.result-image{width:100%;height:100%;position:absolute;inset:0}.rally-video{object-fit:cover;opacity:0;pointer-events:none;transform:scaleX(-1)}.rally-video.visible{opacity:1}.rally-field{touch-action:auto;display:block}.rally-running .rally-field{touch-action:none;cursor:crosshair}.rally-field.quiet{visibility:hidden}.rally-hud{pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:12px 12px auto}.rally-hearts,.rally-score{color:#fff4d8;background:#173c32ed;border-radius:7px;align-items:center;gap:5px;padding:7px 9px;display:flex;box-shadow:0 1px 5px #183b3329}.rally-score{font:750 16px/1.1 var(--body);font-variant-numeric:tabular-nums}.rally-score small{font-size:12px;font-weight:600}.full-heart{color:#ffd6bc;fill:#df755d}.lost-heart{color:#9fada1;fill:#0000}.tempo-bar,.tempo-bar>div,.tempo-bar>span{align-items:center;gap:7px;display:flex}.tempo-bar{color:var(--green);font-variant-numeric:tabular-nums;justify-content:space-between;padding:10px 2px 0;font-size:13px}.pace-meter{align-items:end;gap:3px;height:13px;margin-inline:2px;display:flex}.pace-meter i{background:#c5cbb8;border-radius:1px;width:4px;height:6px}.pace-meter i:nth-child(2){height:7px}.pace-meter i:nth-child(3){height:8px}.pace-meter i:nth-child(4){height:9px}.pace-meter i:nth-child(5){height:10px}.pace-meter i:nth-child(6){height:11px}.pace-meter i:nth-child(7){height:12px}.pace-meter i.filled{background:#a64938}.rally-overlay,.result-image{place-items:center;display:grid}.rally-overlay{color:var(--paper-light);text-align:center;background:#193d35a6}.rally-count strong{font:400 97px/1 var(--serif);color:#fff5d8;text-shadow:0 2px 12px #173129}.pause-card{background:var(--paper);border:1px solid var(--line);color:var(--green);border-radius:11px;justify-items:center;gap:13px;padding:26px 32px;display:grid}.pause-card h2{font-size:33px;line-height:1}.face-guide{pointer-events:none;border:3px dashed #fff1c6;border-radius:50%;position:absolute;box-shadow:0 0 0 999px #122b3050,0 0 0 1px #263b30}.guide-bar{text-align:center;justify-content:center;display:flex;position:absolute;bottom:16px;left:12px;right:12px}.guide-bar>span,.guide-btn{color:#fff3d6;background:#143d33f5;border-radius:8px;padding:12px 16px;font-size:14px;line-height:1.4}.guide-btn{border:1px solid #fff2ce;min-height:45px}.result-image{background:var(--green);color:#fff4d9;text-align:center}.result-image>img{object-fit:contain;width:100%;height:100%;display:block}.result-image>span{justify-items:center;gap:12px;padding:15px;display:grid}.rally-result-stats{border-bottom:1px solid var(--line);justify-content:flex-start;gap:clamp(20px,2.6vw,34px);margin-bottom:18px;padding:1px 0 20px;display:flex}.rally-result-stats div{gap:2px;display:grid}.rally-result-stats strong{font:400 31px/1.13 var(--serif);color:var(--green);font-variant-numeric:tabular-nums}.rally-result-stats span,.share-fallback{color:var(--muted);font-size:12px}.small-actions{gap:12px 20px;margin-top:16px}.rally-outfit-tiers{border-top:1px solid var(--line);color:var(--green);margin-top:20px;padding-top:12px;font-size:13px}.rally-outfit-tiers summary{cursor:pointer;width:fit-content;font-weight:700}.rally-outfit-tiers ul{gap:3px;max-width:330px;margin:9px 0 0;padding:0;list-style:none;display:grid}.rally-outfit-tiers li{border-radius:5px;justify-content:space-between;gap:12px;padding:5px 8px;display:flex}.rally-outfit-tiers li[aria-current]{background:#e5eadb}.rally-outfit-tiers li span{font-variant-numeric:tabular-nums;color:var(--muted)}.share-fallback{gap:4px;margin-top:12px;display:grid}.share-fallback input{width:100%}.rally-camera-help{gap:12px;margin-top:14px;display:grid}.rally-camera-help:empty{display:none}.rally-camera-help label{color:var(--muted);gap:6px;font-size:13px;display:grid}.rally-camera-help select{border:1px solid var(--line);background:var(--paper);max-width:100%;color:var(--green);font:inherit;border-radius:6px;padding:10px}.rally-camera-help .btn{justify-self:start;font-size:13px}.rally-team-result{justify-items:center;gap:12px;padding:24px;display:grid}.rally-team-result strong{font:400 88px/1 var(--serif)}.rally-embedded{grid-template-columns:minmax(230px,1fr) minmax(250px,370px);column-gap:32px;width:100%;padding-block:20px}.rally-embedded .rally-intro h1{font-size:clamp(44px,5vw,70px)}@media (max-width:860px){.rally-layout{grid-template-columns:minmax(245px,1fr) minmax(258px,.9fr);gap:18px 32px}}@media (max-width:720px){.rally-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro""controls""board";gap:18px;width:min(100% - 36px,530px);padding-block:24px 28px}.rally-layout:not(.rally-ready){grid-template-areas:"intro""board""controls"}.rally-intro h1{letter-spacing:-.064em;margin:13px 0;font-size:clamp(47px,10vw,63px);line-height:1}.rally-intro h1 em{display:inline}.rally-lead{font-size:16px}.rally-rules{gap:8px}.rally-rules+.rally-actions{margin-top:15px}.rally-board-column{width:min(100%,385px,74svh - 107.3px);min-width:min(240px,100%)}.rally-ready .rally-board-column{width:min(100%,340px)}.rally-running,.rally-countdown,.rally-paused{row-gap:11px;padding-top:14px}.rally-layout:not(.rally-ready) .hero-kicker,.rally-running .rally-intro .rally-lead,.rally-paused .rally-intro .rally-lead,.rally-countdown .rally-intro .rally-lead{display:none}.rally-layout:not(.rally-ready) h1{margin:0;font-size:32px}.rally-layout:not(.rally-ready) .rally-lead{margin-top:7px;font-size:14px}.rally-running .rally-fine,.rally-paused .rally-fine,.rally-countdown .rally-fine{margin-top:8px}.rally-result-stats{margin-bottom:13px;padding:0 0 10px}.rally-result-stats strong{font-size:25px}}@media (max-width:370px){.rally-actions{gap:7px}.rally-actions .btn{padding:0 9px;font-size:12px}.rally-board-column{min-width:0}.rally-record{margin-top:8px}}
