.rh-history{margin-top:22px}.rh-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.rh-heading h2{font-size:29px;margin:9px 0}.rh-heading p,.rh-note{font-size:12px;color:#a6b4c8;line-height:1.65}.rh-history button,.rh-history select,.rh-history input,.rh-history textarea{font:inherit}.rh-history button,.rh-dialog button{border:1px solid #c8dafc36;border-radius:11px;background:#b5cfff10;color:#eaf2ff;padding:10px 14px;cursor:pointer;font-size:13px}.rh-history button:hover{border-color:#f98ea16b;background-color:#cbdcff14}.rh-history button:disabled{opacity:.45;cursor:wait}.rh-history :focus-visible{outline:2px solid #ff9aaa;outline-offset:3px}.rh-history label{display:grid;gap:8px;font-size:12px;color:#b8c6d9;min-width:0}.rh-history select,.rh-history input,.rh-history textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c6d9f735;border-radius:10px;background:#0b1321de;color:#f0f5ff;padding:11px;font-size:13px;color-scheme:dark}.rh-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:22px 0}.rh-filters label{flex:1 1 110px}.rh-filters label:has([name=search]){flex:2 1 170px}#rh-status,#rh-dialog-status{font-size:12px;color:#b8c6db}.rh-day{margin:23px 0}.rh-day>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding:0 3px;color:#c6d2e5}.rh-day>header h3{font-size:14px;margin:0}.rh-day>header>span{font-size:11px;color:#9cafc6}.rh-history .rh-row{display:grid;grid-template-columns:83px minmax(0,1fr) minmax(150px,230px) 110px 16px;gap:15px;align-items:center;padding:15px;width:100%;text-align:left;border:1px solid #d3e3f736;border-radius:17px;margin:10px 0;background:var(--rv-gloss,linear-gradient(135deg,#303d4b80,#101826a6));box-shadow:var(--rv-gloss-shadow,inset 0 1px #ffffff20,0 8px 20px #0003);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.rh-result{display:grid;gap:6px;font-size:28px;color:#6ae2ac;text-align:center}.rh-result b{font-size:10px}.rh-loss .rh-result{color:#f58698}.rh-main,.rh-setup,.rh-box{min-width:0}.rh-track{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.rh-track>b{font-size:17px;overflow-wrap:anywhere}.rh-track>em{font-style:normal;font-size:10px;color:#ffafbb;background:#c8415a20;padding:4px 7px;border-radius:7px}.rh-track>time{font-size:11px;color:#a7b6cc}.rh-team-line{display:block;font-size:12px;color:#dce6f6;line-height:1.6;margin:8px 0 4px}.rh-meta{font-size:10px;color:#9eb0c8;line-height:1.6;display:block}.rh-setup{display:flex;align-items:center;gap:8px}.rh-setup>img{width:92px;height:66px;object-fit:contain;flex:none;filter:drop-shadow(0 5px 7px #0005)}.rh-setup>b{font-size:11px;overflow-wrap:anywhere;line-height:1.5}.rh-box{display:grid;justify-items:center;text-align:center;gap:3px}.rh-chest{width:70px;height:62px;object-fit:contain;display:block}.rh-box small{font-size:10px;color:#bcc9dc}.rh-sequence{display:block;font-size:9px;color:#b7c6dc;line-height:1.5}.rh-chevron{font-size:26px;color:#fa9baa}.rh-no-box{height:50px;display:grid;place-items:center;color:#8c9db4}.rh-dialog{margin:auto;inset:0;max-width:1060px;width:min(1060px,calc(100vw - 28px));border-radius:23px;max-height:92dvh;overflow:auto}.rh-dialog .rg-dialog-close{flex:none}.rh-dialog .rg-picker-head h3{overflow-wrap:anywhere}.rh-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 0;border-bottom:1px solid #d5e6ff24}.rh-detail-hero h2{font-size:32px;margin:10px 0}.rh-detail-hero span,.rh-detail-hero p{font-size:12px;color:#a6b7d0}.rh-detail-hero>strong{font-size:22px}.rh-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.rh-facts>div{padding:13px;border:1px solid #c6daf329;border-radius:12px;background:#cbdef80a}.rh-facts small,.rh-facts b{display:block;font-size:11px;line-height:1.6}.rh-facts small{color:#97abc6;margin-bottom:4px}.rh-driver-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rh-driver-pair>.rv-driver-tile{padding:20px 12px;background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--rarity),transparent 85%),transparent 80%),#10172233;gap:7px}.rh-driver-pair .rv-driver-tile>img{height:140px!important;max-height:140px!important}.rh-driver-pair small{font-size:11px;color:#b5c6dd;line-height:1.6;text-align:center}.rh-tires{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap;margin:10px 0}.rh-tires>span{display:grid;justify-items:center;gap:4px}.rh-tires img{width:46px!important;height:46px!important;max-height:46px!important;object-fit:contain}.rh-tires small{font-size:9px}.rh-tires em{font-style:normal;color:#a1b1c8}.rh-setup-detail{display:flex;align-items:center;gap:25px;padding:18px;border-radius:15px;margin:20px 0;background:linear-gradient(135deg,#d9e6ff12,#d9e6ff03);border:1px solid #d9e6ff30}.rh-setup-detail>img{width:40%;max-width:260px;object-fit:contain}.rh-setup-detail>div{min-width:0}.rh-setup-detail small{font-size:10px;color:#b9c6d9;letter-spacing:.1em}.rh-setup-detail h3{font-size:21px}.rh-setup-detail code{font-size:11px;color:#9bb0cc;overflow-wrap:anywhere}.rh-box-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rh-box-pair>div{display:grid;justify-items:center;gap:8px;padding:14px;border:1px solid #c5d9f72c;border-radius:14px;background:#d5e5ff08}.rh-box-pair small{font-size:11px;color:#b4c4dc;text-align:center}.rh-box-pair b{font-size:13px}.rh-box-pair .rh-chest{height:100px;width:110px}.rh-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.rh-history .rh-danger{border-color:#f3809259;color:#ffafbd}.rh-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.rh-edit-drivers{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rh-edit-drivers>section{padding:16px;min-width:0;background:#d5e6ff08;border:1px solid #d5e6ff2b;border-radius:14px}.rh-edit-drivers label{margin:12px 0}.rh-stint-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}.rh-history .rg-primary{background:linear-gradient(135deg,#eb475e,#b3223c);border-color:#ff96a6;color:#fff}.rh-dialog button:disabled{opacity:.45;cursor:wait}#rh-share-output{margin-top:20px}#rh-share-output>img{display:block;width:100%;max-width:480px;margin:0 auto 20px;border-radius:18px}#rh-share-output>a{display:block;text-align:center}#rh-more{width:100%;margin:10px 0}.rh-history [hidden]{display:none!important}@media(max-width:900px){.rh-history .rh-row{grid-template-columns:55px minmax(0,1fr) 90px 12px;gap:10px}.rh-setup{grid-column:2;grid-row:2}.rh-box{grid-column:3;grid-row:1/3}.rh-chevron{grid-column:4;grid-row:1/3}.rh-result{grid-row:1/3}.rh-setup>img{width:70px;height:46px}}@media(max-width:600px){.rh-heading{align-items:start}.rh-heading h2{font-size:26px}.rh-heading>button{padding:9px;font-size:11px}.rh-history .rh-row{padding:12px 9px;grid-template-columns:35px minmax(0,1fr) 62px 10px;gap:8px}.rh-track>b{font-size:15px}.rh-team-line{font-size:11px}.rh-box .rh-chest{width:55px;height:55px}.rh-box small{font-size:9px}.rh-result{font-size:23px}.rh-result b{font-size:8px}.rh-box .rh-sequence{font-size:8px}.rh-setup>b{font-size:10px}.rh-setup>img{width:58px}.rh-dialog{padding:17px 14px}.rh-detail-hero h2{font-size:25px}.rh-detail-hero>strong{font-size:17px}.rh-detail-hero{align-items:start}.rh-facts{grid-template-columns:1fr 1fr}.rh-facts>div:last-child{grid-column:1/-1}.rh-driver-pair{gap:9px}.rh-driver-pair>.rv-driver-tile{padding:12px 6px}.rh-driver-pair .rv-driver-tile>img{height:105px!important;max-height:105px!important}.rh-driver-pair .rv-driver-name{font-size:12px}.rh-setup-detail{gap:12px;padding:12px}.rh-setup-detail h3{font-size:16px}.rh-edit-grid{gap:12px}.rh-edit-drivers{grid-template-columns:1fr}.rh-history select,.rh-history input,.rh-history textarea{font-size:16px}.rh-actions>button{flex:1 1 130px}.rh-filters label{flex-basis:calc(50% - 10px)}.rh-filters label:has([name=search]){flex-basis:100%}.rh-setup-detail code{font-size:10px}}

.rh-summary{grid-template-columns:1fr;margin-top:20px}

.rh-parts{border:1px solid #d4e4ff2b;border-radius:13px;padding:15px;margin:18px 0;background:#d2e2ff08}.rh-parts summary{cursor:pointer;color:#d1deef;font-size:13px}.rh-parts>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:18px}.rh-parts>div>div{display:grid;gap:7px;align-content:start;min-width:0;padding:9px;background:#0a111b4d;border:1px solid #d4e4ff22;border-radius:10px;text-align:center}.rh-parts img{width:100%;height:55px;object-fit:contain}.rh-parts small,.rh-parts b,.rh-parts em{font-size:10px;font-style:normal;overflow-wrap:anywhere}.rh-parts small,.rh-parts em{color:#a2b6d1}@media(max-width:700px){.rh-parts>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
