@font-face{font-family:Supreme;src:url('/assets/fonts/supreme/supreme-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Supreme;src:url('/assets/fonts/supreme/supreme-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--ink:#161815;--paper:#f3f3ef;--white:#fff;--muted:#62665f;--line:#d7d9d1;--green:#c6cd9f;--orange:#c15d39;--red:#9e392c}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.5 Supreme,Arial,sans-serif}button,input,textarea,select{font:inherit}a{color:inherit}button,a,input,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(34px,5vw,60px);line-height:1.03;letter-spacing:-.045em;font-weight:700}h2{font-size:25px;line-height:1.2;letter-spacing:-.025em}h3{font-size:25px;line-height:1.15;letter-spacing:-.025em}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:-70px;background:white;padding:12px;z-index:100}.skip:focus{top:12px}.demo-wrap{max-width:1160px;margin:auto;padding:28px 32px 48px}.demo-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:28px}.demo-tabs a{text-decoration:none;font-size:14px;padding:9px 15px;border:1px solid var(--line);border-radius:30px;min-height:42px}.demo-tabs a[aria-current]{background:var(--ink);color:white;border-color:var(--ink)}.live-badge{font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px;margin-left:auto}.live-badge:before{content:'';width:7px;height:7px;background:var(--olive,#62664a);border-radius:50%}.intro{margin-bottom:24px}.intro p{color:var(--muted);margin-top:12px;max-width:660px}.primary{background:var(--ink);color:white;border-radius:10px;min-height:50px;padding:12px 23px;font-weight:700}.primary:hover{background:#34392f}.secondary{border:1px solid var(--line);background:var(--white);border-radius:10px;min-height:46px;padding:10px 16px;font-weight:700}.subtle{color:var(--muted);font-size:14px}.error{color:var(--red);background:#fff0e8;padding:14px;border-radius:8px;margin-top:12px}.footnote{font-size:13px;color:var(--muted)}.learn{border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.learn summary{cursor:pointer;font-weight:700;min-height:40px}.learn p{margin:10px 0;max-width:780px}.learn a{font-size:14px}.learn pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 Menlo,monospace;background:var(--white);padding:15px;border-radius:10px;max-height:260px;overflow:auto}.demo-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:14px}.demo-footer a{font-weight:700}.status{min-height:24px;font-size:14px;color:var(--muted)}.mono{font-variant-numeric:tabular-nums;font-family:Menlo,monospace}.time-strip{display:flex;gap:22px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:22px}.time-strip b{display:block;font-size:22px;color:var(--ink);font-weight:700}.time-strip span{font-size:13px;color:var(--muted)}
/* Toyota finder */
.search-panel{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:22px}.search-panel label{display:block;font-weight:700;margin-bottom:8px}.search-panel textarea{display:block;width:100%;min-height:114px;resize:vertical;border:0;background:transparent;padding:0;color:var(--ink);font-size:21px;line-height:1.45}.search-panel textarea::placeholder{color:#7c8077}.form-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-top:15px;border-top:1px solid var(--line);margin-top:15px}.form-bottom .footnote{max-width:470px}.examples{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 20px}.chip{border:1px solid var(--line);background:transparent;padding:9px 13px;border-radius:25px;font-size:14px;min-height:42px}.chip:hover{border-color:var(--ink)}.chip[aria-pressed=true]{background:var(--green);border-color:var(--green)}.requirements{margin:12px 0}.requirements .chip{margin:4px 4px 4px 0}.result-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0 0}.match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.vehicle-card{border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden;display:flex;flex-direction:column}.vehicle-card.best{border-color:#777e55}.vehicle-art{padding:15px 20px 8px;background:#e4e7db;position:relative;height:142px;display:flex;align-items:center;justify-content:center}.vehicle-card:nth-child(2) .vehicle-art{background:#e5e9ea}.vehicle-card:nth-child(3) .vehicle-art{background:#e9e2d9}.vehicle-art svg{width:100%;max-width:265px;height:85px}.rank{position:absolute;top:12px;left:16px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.vehicle-info{padding:19px;display:flex;flex-direction:column;flex:1;gap:12px}.vehicle-year{font-size:13px;color:var(--muted)}.vehicle-trim{font-size:14px;color:var(--muted)}.price{font-size:23px;font-weight:700}.price small{font-size:12px;font-weight:400;color:var(--muted)}.facts{display:flex;flex-wrap:wrap;gap:6px}.facts span{font-size:12px;border:1px solid var(--line);padding:4px 7px;border-radius:6px}.fact-list{padding-left:18px;font-size:14px;margin:0}.tradeoff{font-size:14px;border-top:1px solid var(--line);padding-top:10px}.vehicle-info a{font-size:14px;font-weight:700;margin-top:auto;padding-top:8px}.catalog-list{margin:12px 0;padding:0;list-style:none;font-size:14px}.catalog-list li{padding:8px 0;border-bottom:1px solid var(--line)}.catalog-list a{font-weight:700}.empty{padding:30px;background:white;border-radius:15px}.empty h3{margin-bottom:10px}.update-options{margin-top:22px}.update-options p{font-weight:700;margin-bottom:10px}.filter-controls{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}.filter-controls label{font-size:13px;margin:0}.filter-controls input{display:block;width:125px;margin-top:4px;min-height:40px;border:1px solid var(--line);border-radius:6px;padding:7px;background:white}.filter-controls .clear{background:none;text-decoration:underline;min-height:40px;align-self:end;font-size:14px}
/* Driver */
.driver-layout{display:grid;grid-template-columns:minmax(300px,430px) 1fr;gap:34px;align-items:start}.game-shell{position:relative;border-radius:22px;overflow:hidden;background:#beca9e;aspect-ratio:430/540;max-height:560px;border:1px solid #a6b084}.game-shell canvas{display:block;width:100%;height:100%;touch-action:manipulation}.game-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;background:#161815cf;text-align:center;color:white;gap:14px}.game-overlay h2{font-size:36px;line-height:1.08}.game-overlay p{max-width:275px;color:#e1e5d7}.game-overlay .primary{background:var(--green);color:var(--ink)}.game-hud{display:flex;justify-content:space-between;gap:15px;margin-bottom:12px;font-size:14px}.game-hud b{font-size:18px}.driver-panel{display:flex;flex-direction:column;gap:20px}.driver-panel .intro{margin-bottom:0}.decision-card{background:white;border-radius:16px;padding:22px;border:1px solid var(--line)}.decision-card h2{margin:8px 0;font-size:29px}.decision-card .time{color:var(--muted);font-size:14px}.action-row{display:flex;gap:7px;margin:16px 0}.action-pill{flex:1;text-align:center;background:var(--paper);padding:10px 5px;border-radius:8px;font-size:13px}.action-pill.selected{background:var(--green);font-weight:700}.placement-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.placement-buttons button{font-size:14px;background:white;border:1px solid var(--line);border-radius:8px;min-height:46px}.placement-buttons button:disabled{cursor:default}.rule-list{margin:0;padding-left:20px;font-size:15px}.rule-list li{padding:4px 0}.round-progress{height:5px;background:var(--line);border-radius:8px;overflow:hidden;margin-top:10px}.round-progress div{height:100%;width:0;background:var(--ink);transition:width .3s}.decision-log{padding:0;list-style:none;font-size:14px;max-height:165px;overflow:auto}.decision-log li{border-bottom:1px solid var(--line);padding:8px 0;display:flex;justify-content:space-between;gap:12px}.driver-caption{margin:12px 0;font-size:14px;color:var(--muted)}
@media(max-width:760px){.demo-wrap{padding:20px 18px 35px}.demo-tabs{margin-bottom:22px}.live-badge{width:100%;margin-left:0;margin-top:4px}.intro p{font-size:16px}.search-panel{padding:17px}.search-panel textarea{font-size:18px;min-height:130px}.form-bottom{align-items:stretch;flex-direction:column;gap:12px}.form-bottom .primary{width:100%}.match-grid{grid-template-columns:1fr}.vehicle-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.vehicle-art{height:100%;padding:35px 8px 8px;align-items:flex-start}.vehicle-art svg{margin-top:22px;height:70px}.rank{left:9px;right:5px;font-size:12px}.vehicle-info{padding:16px}.vehicle-info h3{font-size:24px}.result-top{align-items:start;flex-direction:column;gap:4px}.time-strip{gap:15px}.time-strip b{font-size:19px}.driver-layout{display:flex;flex-direction:column;gap:20px}.game-column{width:100%;max-width:420px;align-self:center}.game-shell{aspect-ratio:430/485;max-height:460px}.driver-panel{width:100%;gap:14px}.driver-panel .intro{order:-1}.driver-layout>.driver-panel{display:contents}.driver-heading{order:-1}.decision-card{width:100%;padding:17px}.driver-rules{width:100%}.decision-card h2{font-size:24px}.driver-caption{margin-bottom:0}.game-overlay h2{font-size:31px}.demo-footer{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.inline-decision{font-size:14px;margin:-4px 0 10px;font-variant-numeric:tabular-nums;min-height:21px}.driver-heading br{display:block}@media(max-width:760px){.driver-heading br{display:none}.driver-heading h1{font-size:32px}.driver-heading p{margin-top:8px}.driver-layout{gap:14px}.game-shell{max-height:400px}}
