.sp-br { display: none; }
.sim { display: grid; gap: 16px; min-width: 0; }
.sim > * { min-width: 0; } .sim-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sim-tab {
appearance: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700;
color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: .2s var(--ease);
}
.sim-tab:hover { color: #fff; border-color: var(--gold-lo); }
.sim-tab[aria-selected="true"] { color: #14100a; background: var(--gold-grad); border-color: transparent; }
.sim-desc { margin: 0 0 14px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.sim-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.sim-opt { margin-bottom: 14px; }
.sim-opt[hidden] { display: none; }
.sim input[type="search"], .sim select {
width: 100%; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--text);
background: rgba(5, 8, 15, .6); border: 1px solid var(--line-2); appearance: none; -webkit-appearance: none;
}
.sim select {
padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.sim select option { color: #111; }
.sim input:focus-visible, .sim select:focus-visible, .sim button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sim-search { position: relative; max-width: 420px; }
.sim-sug {
position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; max-height: 300px; overflow: auto;
background: var(--panel-solid); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
}
.sim-sug[hidden] { display: none; }
.sim-sug li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.sim-sug li:hover, .sim-sug li.is-on { background: rgba(214, 178, 94, .14); }
.sim-sug small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.sim-picked { margin: 8px 0 0; font-size: 14px; color: var(--gold-hi); font-weight: 700; min-height: 1.4em; }
.sim-boats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.sim-boat {
appearance: none; cursor: pointer; padding: 10px 0; border-radius: 10px; font: inherit; font-weight: 900; font-size: 15px;
color: var(--bt); background: var(--bc); border: 2px solid transparent; opacity: .5; transition: .2s var(--ease);
}
.sim-boat[aria-pressed="true"] { opacity: 1; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(214, 178, 94, .25); }
.sim-combo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; }
.sim-combo label span { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.sim-warn { margin: 8px 0 0; font-size: 13px; color: var(--red); }
.sim-warn[hidden] { display: none; }
.sim-opt[data-opt="pop"] .sim-select { max-width: 220px; }
.sim-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sim-field { min-width: 0; }
.sim-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.sim-seg button { appearance: none; cursor: pointer; padding: 10px 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--text-2); background: rgba(5, 8, 15, .6); border: 0; }
.sim-seg button + button { border-left: 1px solid var(--line-2); }
.sim-seg button[aria-pressed="true"] { color: #14100a; background: var(--gold-grad); } .sim__stage { display: grid; gap: 12px; min-width: 0; }
.sim-hud { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sim-stat { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); min-width: 0; }
.sim-stat span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.sim-stat b { display: block; margin-top: 2px; font-family: var(--ff-num); font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.sim-stat b.is-plus { color: var(--live); }
.sim-stat b.is-minus { color: var(--red); }
.sim-date { margin: 0; font-family: var(--ff-num); font-size: 18px; letter-spacing: .08em; color: var(--gold-hi); min-height: 1.4em; }
.sim-chart { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0a0f1c; }
.sim-chart canvas { display: block; width: 100%; height: auto; }
.sim-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 8, 15, .86); color: var(--gold-hi); font-weight: 700; letter-spacing: .08em; }
.sim[data-state="ready"] .sim-loading, .sim[data-state="error"] .sim-loading.is-hide { display: none; }
.sim-loading.is-hide { display: none; }
.sim__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sim-btn { padding: 10px 20px; font-size: 14px; cursor: pointer; border: 0; font-family: inherit; }
.btn--ghost.sim-btn { border: 0; }
#sim-scrub { flex: 1 1 160px; min-width: 120px; width: auto; accent-color: var(--gold); padding: 0; }
.sim-live { margin: 0; min-height: 1.6em; font-size: 14px; color: var(--text-2); } .sim-info .sim-h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 800; }
.sim-steps, .sim-list { margin: 0; padding-left: 1.3em; line-height: 1.95; color: var(--text-2); font-size: 15px; }
.sim-list b { color: var(--text); }
.sim-info .racer-faq__item:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
.sim-hud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sim-stat { padding: 8px 9px; }
.sim-stat b { font-size: 16px; }
.sim-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sim-field:first-child { grid-column: 1 / -1; }
.sim-search { max-width: none; }
.sim-sug { max-height: 240px; }
.sim__bar .sim-btn { flex: 1 1 calc(50% - 5px); padding-inline: 8px; }
#sim-scrub { flex-basis: 100%; order: 5; }
}
@media (max-width: 600px) {
.sp-br { display: inline; }
} body.sim-video { overflow: hidden; background: #05080f; }
body.sim-video .skip, body.sim-video .site-header, body.sim-video .drawer, body.sim-video .site-footer, body.sim-video .page-hero,
body.sim-video .sim__panel, body.sim-video .sim-hud, body.sim-video .sim-date, body.sim-video .sim__bar, body.sim-video .sim-live,
body.sim-video .sim-info, body.sim-video .crumbs { display: none !important; }
body.sim-video .site-main, body.sim-video .wrap.layout, body.sim-video .layout__main { margin: 0; padding: 0; width: auto; max-width: none; }
body.sim-video .sim { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #05080f; }
body.sim-video .sim__stage { display: block; width: min(100vw, calc(100vh * 16 / 9)); }
body.sim-video .sim-chart { border: 0; border-radius: 0; }