/* Additional reading aids. Shared by public regions and the unlisted page. */
.frugal-theme .extra-note{color:var(--muted);font-size:.875rem;line-height:1.5}
.frugal-theme .ranking-labels,.frugal-theme .ranking-row{grid-template-columns:minmax(245px,1.2fr) minmax(180px,1.4fr) minmax(125px,.65fr);gap:1rem}
.frugal-theme .delay-cell{text-align:right;font-variant-numeric:tabular-nums}
.frugal-theme .delay-gap{display:inline-block;font-size:.9375rem;font-weight:700;line-height:1.4;color:var(--muted);white-space:nowrap}
.frugal-theme .delay-gap.is-lowest{color:var(--good);background:#e5f1e6;padding:.15rem .4rem;border-radius:3px;white-space:normal}
.frugal-theme .ranking-table col.value-col{width:6.3rem}
.frugal-theme .ranking-table col.gap-col{width:7rem}
.frugal-theme .ranking-table .gap-cell{text-align:right;padding-left:.4rem;vertical-align:middle}
.frugal-theme .ranking-table .provider-label{white-space:normal;overflow-wrap:anywhere}
.frugal-theme .ranking-table th{white-space:normal}
.frugal-theme .ranking-table .gap-cell .delay-gap{font-size:.875rem;white-space:normal}
.frugal-theme .reading-aid-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}
.frugal-theme .reading-aid-heading h2{font-size:1.95rem}
.frugal-theme .reading-aid-heading button{background:var(--accent);color:white;border:2px solid var(--ink);box-shadow:2px 2px 0 var(--ink);min-height:44px;min-width:116px;font-weight:700;flex-shrink:0}
.frugal-theme .reading-aid-heading button:disabled{background:#6c6258;box-shadow:none;cursor:default}
.frugal-theme .replay-label{display:inline-block;padding:.3rem .65rem;margin:0 0 .65rem;background:#fff0d0;border:1px solid #b6944b;border-radius:3px;color:#634419;font-weight:700;font-size:.9375rem}
.frugal-theme .replay-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.65rem;flex-shrink:0}
.frugal-theme .replay-controls .replay-stop{background:#fffaf1;color:var(--ink);min-width:70px;box-shadow:none}
.frugal-theme .replay-speed{font-size:.75rem;font-weight:700;color:var(--muted)}
.frugal-theme .replay-speed select{min-height:44px;width:155px;font-size:.875rem;margin-top:.2rem}
.frugal-theme .replay-panel .extra-note+.extra-note{margin-top:.4rem}
.frugal-theme #latencyReplay{margin-top:1rem}
.frugal-theme .replay-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,2.5fr) 95px;gap:1rem;align-items:center;padding:.65rem .65rem;border:1px solid transparent;border-bottom-color:var(--line)}
.frugal-theme .replay-row:last-child{border-bottom-color:transparent}
.frugal-theme .replay-row>strong{overflow-wrap:anywhere;font-size:1rem;line-height:1.35;min-width:0}
.frugal-theme .replay-leader{background:#edf6e4;border-radius:5px;border:1px solid #b1cb99}
.frugal-theme .replay-track{--racer-size:84px;position:relative;height:92px;min-width:0;border:1px solid #b9aa99;background:#fffaf1;border-radius:4px;overflow:hidden}
.frugal-theme .replay-course{position:absolute;left:3px;right:20px;top:0;height:90px}
.frugal-theme .replay-course:before{content:'';position:absolute;left:0;right:0;top:80px;border-top:1px dashed #b9aa99}
.frugal-theme .replay-fill{position:absolute;left:0;top:80px;display:block;height:4px;background:var(--provider-color);opacity:.55;transition:none!important}
.frugal-theme .replay-racer{position:absolute;left:0;top:calc((90px - var(--racer-size))/2);display:block;width:var(--racer-size);height:var(--racer-size);transition:none!important;animation:none!important;z-index:1}
.frugal-theme .replay-banner{position:absolute;left:0;right:var(--racer-size);top:8px;height:68px;overflow:hidden;pointer-events:none}
.frugal-theme .replay-banner-sweep{display:block;width:100%;height:100%;overflow:hidden;transition:none!important;animation:none!important}
.frugal-theme .replay-banner-message{box-sizing:border-box;display:flex;align-items:center;width:100%;height:100%;padding:6px 12px;border:1px solid #c99d54;border-radius:5px;background:linear-gradient(110deg,#f7e7c5,#efd2a0);color:#60451e;box-shadow:inset 0 1px 0 #fff6e5;font-size:clamp(.875rem,1.3vw,1.0625rem);font-weight:900;line-height:1.25;overflow-wrap:break-word;transition:none!important;animation:none!important}
.frugal-theme .replay-leader .replay-banner-message{border-color:#77a536;background:linear-gradient(110deg,#e5f9be,#bfe779);color:#294515;box-shadow:inset 0 1px 0 #f8ffe9}
.frugal-theme .replay-racer img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.frugal-theme .replay-finish{position:absolute;right:4px;top:6px;width:10px;height:77px;border:1px solid #30281f;background:repeating-conic-gradient(#30281f 0% 25%,#fffaf1 0% 50%) 0 0/8px 8px}
.frugal-theme .replay-result{text-align:right;font-size:.9375rem;font-variant-numeric:tabular-nums}
.frugal-theme .replay-result small{display:block;color:var(--muted);font-size:.875rem;margin-top:.1rem}
.frugal-theme #replayStatus{margin-top:.8rem;min-height:1.5em}
.frugal-theme .probe-score-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:1.3rem;align-items:start;margin-top:1rem}
.frugal-theme .probe-score-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:7px;align-content:start}
.frugal-theme .probe-square{display:flex;align-items:center;justify-content:center;height:44px;padding:0;border:2px solid transparent;border-radius:4px;background:var(--tile-color);color:var(--tile-ink,#fff);font-size:.875rem;font-weight:900;cursor:pointer}
.frugal-theme .probe-square:hover{filter:brightness(.9)}
.frugal-theme .probe-square[aria-pressed=true]{outline:3px solid var(--ink);outline-offset:2px}
.frugal-theme .tile-tie{background:repeating-linear-gradient(45deg,#50473e 0 5px,#766959 5px 10px)!important;color:white!important}
.frugal-theme .tile-missing{background:#f1e9df!important;border:1px dashed #7c6e5d!important;color:#514333!important}
.frugal-theme .probe-score-legend{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin:.9rem 0}
.frugal-theme .probe-score-legend>span{display:inline-flex;align-items:center;gap:.4rem;font-size:.875rem}
.frugal-theme .probe-score-legend b{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:3px;background:var(--tile-color);color:var(--tile-ink,#fff);font-size:.8125rem}
.frugal-theme .probe-score-detail{padding:1rem;background:#f4ede3;border:1px solid var(--line);border-radius:4px;min-height:100px}
.frugal-theme .probe-score-detail h3{font-family:Lato,sans-serif;font-size:1.2rem;font-weight:900;margin:0 0 .45rem}
.frugal-theme .probe-score-detail p{font-size:.9375rem;line-height:1.5}
.frugal-theme .probe-outcome{font-weight:900;margin:.75rem 0 .3rem}
.frugal-theme .probe-score-detail dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem 1rem;margin:.9rem 0 0;font-size:.875rem}
.frugal-theme .probe-score-detail dt{margin:0;overflow-wrap:anywhere}
.frugal-theme .probe-score-detail dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.frugal-theme .daily-block h3{font-family:Bangers,Impact,sans-serif;font-size:1.7rem;font-weight:400;letter-spacing:.03em;margin:0 0 .4rem}
.frugal-theme .daily-headline{font-size:1rem;font-weight:700;margin:0 0 .35rem}
.frugal-theme .day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem;margin:1rem 0 .7rem}
.frugal-theme .day-cell{padding:.65rem .5rem;border:1px solid var(--line);border-top:4px solid #b4a797;background:#f1ebe2;border-radius:4px;min-width:0;line-height:1.3;overflow-wrap:anywhere}
.frugal-theme .day-cell.has-winner{border-top-color:var(--day-color);background:#fffaf2}
.frugal-theme .day-cell:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.frugal-theme .day-date{display:block;font-size:.875rem;color:var(--muted);margin-bottom:.4rem}
.frugal-theme .day-cell strong{display:block;font-size:.9375rem;line-height:1.35}
.frugal-theme .day-tie,.frugal-theme .day-partial{display:block;font-size:.8125rem;color:var(--muted);margin-top:.4rem}
.frugal-theme .daily-compact{margin:.4rem 1.3rem 1rem;padding-top:1rem;border-top:1px solid var(--line)}
.frugal-theme .daily-compact .day-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
.frugal-theme .daily-compact .daily-headline{font-size:.9375rem}
@media(max-width:1100px){
 .frugal-theme .replay-row{grid-template-columns:minmax(0,1fr) 90px;gap:.45rem .75rem}
 .frugal-theme .replay-row>strong{grid-column:1;grid-row:1}
 .frugal-theme .replay-track{grid-column:1/-1;grid-row:2}
 .frugal-theme .replay-result{grid-column:2;grid-row:1;align-self:center}
 .frugal-theme .ranking-labels,.frugal-theme .ranking-row{grid-template-columns:minmax(230px,1.2fr) minmax(150px,1fr) 125px}
 .frugal-theme .ranking-table col.rank-col{width:4.5rem}
 .frugal-theme .ranking-table col.value-col{width:5rem}
 .frugal-theme .ranking-table col.gap-col{width:5.5rem}
 .frugal-theme .ranking-table .gap-cell{padding-left:.2rem}
 .frugal-theme .ranking-table .value-cell.median{font-size:1rem}
 .frugal-theme .ranking-table .rank-with-mood{min-width:0}
 .frugal-theme .ranking-table .ranking-mood{width:2rem;height:2rem}
 .frugal-theme .probe-score-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
 .frugal-theme .replay-panel .reading-aid-heading{flex-direction:column;align-items:stretch}
 .frugal-theme .replay-controls{width:100%}
 .frugal-theme .ranking-labels,.frugal-theme .ranking-row{grid-template-columns:minmax(0,1fr) 110px;gap:.4rem .6rem}
 .frugal-theme .ranking-labels>span:last-child{display:none}
 .frugal-theme .ranking-row .provider-name{grid-column:1;grid-row:1/3;align-self:center}
 .frugal-theme .ranking-row .median-cell{grid-column:2;grid-row:1;justify-content:flex-end}
 .frugal-theme .ranking-row .delay-cell{grid-column:2;grid-row:2}
 .frugal-theme .ranking-row .delay-cell:before{content:'vs #1 ';font-size:.75rem;color:var(--muted)}
 .frugal-theme .ranking-row .delay-cell:has(.is-lowest):before{content:none}
 .frugal-theme .ranking-row .delay-gap{font-size:.875rem}
 .frugal-theme .ranking-row .bar-track{display:none}
 .frugal-theme .ranking-table col.rank-col{width:3.6rem}
 .frugal-theme .ranking-table col.value-col{width:4.5rem}
 .frugal-theme .ranking-table col.gap-col{width:5rem}
 .frugal-theme .ranking-table .ranking-mood{width:1.6rem;height:1.6rem}
 .frugal-theme .ranking-table .rank-with-mood{gap:.1rem}
 .frugal-theme .ranking-table .provider-label{font-size:.875rem}
 .frugal-theme .reading-aid-heading{align-items:flex-start}
 .frugal-theme .reading-aid-heading h2{font-size:1.8rem}
 .frugal-theme .replay-row{grid-template-columns:minmax(0,1fr) 90px;gap:.45rem .75rem}
 .frugal-theme .replay-row>strong{grid-column:1;grid-row:1;font-size:.9375rem}
 .frugal-theme .replay-track{grid-column:1/-1;grid-row:2}
 .frugal-theme .replay-result{grid-column:2;grid-row:1;align-self:center}
 .frugal-theme .day-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
 .frugal-theme .daily-compact{margin-left:1rem;margin-right:1rem}
 .frugal-theme .day-cell strong{font-size:.875rem}
}
@media(max-width:560px){
 .frugal-theme .replay-track{--racer-size:64px}
 .frugal-theme .replay-banner-message{padding:5px 8px;font-size:.875rem}
 .frugal-theme .replay-panel .reading-aid-heading{flex-direction:column;gap:.6rem}
 .frugal-theme .replay-controls{width:100%}
 .frugal-theme .replay-speed{flex:1}
 .frugal-theme .replay-speed select{width:100%;max-width:180px}
 .frugal-theme .replay-row{padding:.65rem .4rem}
}
@media(prefers-reduced-motion:reduce){.frugal-theme .replay-fill,.frugal-theme .replay-racer{transition:none!important;animation:none!important}}
