/* 1.1.331 owner: Settings → App speed (fastest possible vs right now). */
.speed-sheet{position:fixed;inset:auto 0 0 0;width:min(100%,560px);max-width:100vw;max-height:88svh;margin:0 auto;padding:16px 16px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:26px 26px 0 0;background:#fff;color:#1b2a20;box-shadow:0 -10px 40px #1020182e;overflow:auto}
.speed-sheet:not([open]){display:none}
.speed-sheet::backdrop{background:#10201866}
@media(min-width:851px){.speed-sheet{inset:0;margin:auto;height:fit-content;border-radius:24px}}
.speed-sheet header{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.speed-sheet header>span{font-size:24px}
.speed-sheet h2{flex:1;margin:0;font-size:21px;font-weight:800}
.speed-x{width:40px;height:40px;border:0;border-radius:50%;background:#f0f3f0;color:#2b332e;font-size:26px;line-height:1;cursor:pointer}
.speed-table{display:grid;gap:6px}
.speed-head,.speed-line{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(0,1.2fr);align-items:center;gap:8px}
.speed-head{padding:0 12px;color:#6b776f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.speed-line{min-height:58px;padding:8px 12px;border-radius:16px;background:#f5f8f4;font-size:14px}
.speed-line b{font-weight:750}
.speed-line>span:nth-child(2){color:#1f7a37;font-weight:700}
.speed-line>span:last-child{display:grid;gap:2px}
.speed-line em{font-style:normal;font-weight:800;overflow-wrap:anywhere}
.speed-line small{justify-self:start;padding:1px 8px;border-radius:99px;font-size:11px;font-weight:800}
.speed-line[data-level="good"] small{background:#dff3dc;color:#1c7a32}
.speed-line[data-level="ok"] small{background:#fff2cf;color:#8a6100}
.speed-line[data-level="slow"] small{background:#fde2e0;color:#b42318}
.speed-line[data-level="wait"] small{background:#eceeec;color:#5f6b63}
.speed-note{margin:12px 2px;color:#55615a;font-size:13px;line-height:1.45}
.speed-again{width:100%;min-height:48px;border:0;border-radius:16px;background:#1f7a37;color:#fff;font:inherit;font-weight:800;font-size:16px;cursor:pointer}
.speed-again:disabled{opacity:.6}
body:has(.speed-sheet[open]){overflow:hidden}
:root[data-theme="dark"] .speed-sheet{background:#142119;color:#e1f0de}
:root[data-theme="dark"] .speed-line{background:#1b2a20}
:root[data-theme="dark"] .speed-x{background:#22332a;color:#e1f0de}
