/* Race badge, Thai-first typography and thumb-sized controls. Card artwork is untouched. */
@font-face{font-family:"Runner UI";src:url("fonts/NotoSansThai[wdth,wght].ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
body.runnerstats-simple{font-family:"Runner UI",Tahoma,sans-serif;background:#f6f5f7;color:#243044}
.rs-simple{--race-red:#99192b;--race-deep:#690e20;--race-line:#dedce4;--race-ink:#243044;--race-soft:#fbf3f4;--race-lime:#e4fa60;font-family:"Runner UI",Tahoma,sans-serif;max-width:1100px;padding:24px 24px 64px;font-size:16px;line-height:1.75}
.rs-simple button,.rs-simple input,.rs-simple select{font-family:inherit}
.rs-simple .rs-heading{padding:0 0 24px}
.rs-simple .rs-back{display:inline-flex;align-items:center;min-height:46px;font-size:14px;text-decoration:none;color:var(--race-deep);margin-bottom:8px}
.rs-brand-banner{position:relative;display:flex;align-items:center;gap:32px;padding:32px 40px;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#a91d30,#6e1022);color:#fff;border-radius:24px;box-shadow:0 14px 32px #690e2017}
.rs-brand-banner:after{content:"";position:absolute;right:24px;bottom:-60px;width:100px;height:240px;border-left:2px solid #ffffff19;border-right:2px solid #ffffff19;transform:skew(-28deg);z-index:-1}
.rs-event-crest{position:relative;display:block;flex:none;width:86px;height:115px;overflow:hidden;clip-path:polygon(50% 0,100% 23%,100% 78%,50% 100%,0 78%,0 23%);filter:drop-shadow(0 5px 8px #34081044)}
.rs .rs-event-crest img{position:absolute;width:756px!important;height:945px!important;max-width:none!important;left:-26px;top:-12px;display:block}
.rs-brand-copy{position:relative;z-index:1;min-width:0}
.rs-simple .rs-brand-kicker{font-family:"Runner Display","Runner UI",sans-serif;font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--race-lime);margin:0 0 9px}
.rs-simple .rs-brand-copy h1{font-size:42px;line-height:1.25;font-weight:800;letter-spacing:-.025em;margin:0;color:#fff}
.rs-simple .rs-brand-copy h1 br{display:none}
.rs-simple .rs-brand-event{font-size:19px;font-weight:650;color:#fff;margin:12px 0 0}
.rs-simple .rs-brand-caption{color:#f4dce2;font-size:14px;margin:4px 0 0}
.rs-brand-stamp{position:absolute;right:34px;top:25px;font-family:"Runner Display",sans-serif;font-size:17px;font-weight:800;color:#ffffffad;letter-spacing:.08em}
.rs-simple .rs-steps{gap:8px;margin-top:18px}
.rs-simple .rs-steps span{background:#e9e6ed;border:1px solid transparent;color:#5d6070;font-size:14px;padding:11px 6px;font-weight:600;line-height:1.5}
.rs-simple .rs-steps span.is-active{background:var(--race-deep);color:#fff;border-color:var(--race-deep)}
.rs-simple .rs-tools,.rs-simple .rs-match-review{max-width:820px;border:1px solid var(--race-line);border-radius:22px;padding:30px;box-shadow:0 8px 28px #29354b08}
.rs-simple .rs-tools{border-top:4px solid var(--race-red)}
.rs-simple h2,.rs-simple .rs-tools h2{font-size:24px;line-height:1.5;font-weight:750;margin:0 0 8px;color:var(--race-ink)}
.rs-simple .rs-search-guide{font-size:15px;line-height:1.8;margin:8px 0 20px;color:#5f6474}
.rs-simple label{font-size:16px;font-weight:650}
.rs-simple input[type=search],.rs-simple select,.rs-simple .rs-file{min-height:58px;border-radius:13px;font-size:17px}
.rs-simple input[type=search]{padding:15px 17px;border:1.5px solid #bec4d2;background:#fdfdff;box-shadow:0 2px 6px #28344b04}
.rs-simple input[type=search]:focus{border-color:var(--race-red);outline:3px solid #99192b20;outline-offset:2px;background:#fff}
.rs-simple button,.rs-simple a.rs-jump{min-height:50px;font-size:16px;font-weight:650;border-radius:12px;line-height:1.6;padding:13px 18px;touch-action:manipulation}
.rs-simple #rsSearchButton,.rs-simple #rsReviewConfirm,.rs-simple #rsSave{min-height:56px;background:var(--race-red);color:#fff;font-size:17px;font-weight:750;box-shadow:0 5px 12px #99192b1c}
.rs-simple button:hover:not(:disabled){filter:brightness(.97)}
.rs-simple button:focus-visible,.rs-simple a:focus-visible,.rs-simple summary:focus-visible{outline:3px solid #347dc2;outline-offset:3px}
.rs-simple button:disabled{box-shadow:none;background:#e4e5eb;color:#767b89}
.rs-simple .rs-secondary{background:#fff;border:1px solid #d5dae3;color:#39475c;box-shadow:none;font-weight:600}
.rs-simple #rsStatus{font-size:14px;padding:8px 0;margin:9px 0;line-height:1.8}
.rs-simple .rs-result{position:relative;padding:17px 18px;margin:12px 0;border-radius:14px;background:#fff!important;min-height:90px}
.rs-simple .rs-result:hover{border-color:var(--race-red)!important;background:#fff8f9!important}
.rs-simple .rs-result strong{font-size:18px;font-weight:750;line-height:1.65}
.rs-simple .rs-result span{font-size:14px;line-height:1.8;color:#5a6475;margin-top:5px}
.rs-simple .rs-result span:last-child{font-size:14px;font-weight:700;color:var(--race-red);margin-top:9px}
.rs-simple details>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;line-height:1.6;color:#4a5367;list-style:none;font-weight:600;padding:11px 0}
.rs-simple details>summary::-webkit-details-marker{display:none}
.rs-simple details>summary:after{content:"＋";font-size:20px;color:var(--race-red);flex:none}
.rs-simple details[open]>summary:after{content:"−"}
.rs-simple .rs-filter{border-bottom:1px solid #ebe9ef;margin-top:9px}
.rs-simple .rs-help{border-top:1px solid #ebe9ef;padding:10px 0;font-size:14px;line-height:1.9}
.rs-simple .rs-team-credit{font-size:13px;line-height:1.9;color:#687184}
.rs-simple .rs-review-notice{font-size:14px;line-height:1.85}
.rs-simple .rs-match-row{padding:16px;border-radius:14px;gap:15px}
.rs-simple .rs-match-row input{min-width:26px;width:26px;height:26px;accent-color:var(--race-red)}
.rs-simple .rs-match-content strong{font-size:17px;font-weight:700}
.rs-simple .rs-match-content small,.rs-simple .rs-match-content>span{font-size:14px;line-height:1.8}
.rs-simple .rs-review-actions>button{min-height:54px;font-size:16px}
.rs-simple .rs-review-kicker{font-size:14px}
.rs-simple[data-step=review] .rs-brand-banner,.rs-simple[data-step=edit] .rs-brand-banner{display:none}
.rs-simple[data-step=review] .rs-heading>.rs-back{display:none}
.rs-simple[data-step=review] .rs-heading{padding-bottom:18px}
.rs-simple #rsEditor{border:1px solid var(--race-line);border-radius:18px;padding:20px;margin:0;background:#fff;text-align:left}
.rs-simple #rsEditor .rs-file{display:flex;align-items:center;justify-content:center;background:#fff3f5;color:var(--race-red);border:2px dashed #c77683;font-size:18px;font-weight:750;min-height:60px}
.rs-simple .rs-privacy{font-size:13px;line-height:1.8;text-align:left;margin:11px 0}
.rs-simple #rsPhotoStatus{font-size:14px;background:#f7f8fb;border-radius:10px;line-height:1.8;padding:11px}
.rs-simple .rs-zoom{font-size:15px;display:block;white-space:normal;margin:15px 0}
.rs-simple .rs-zoom input{display:block;height:44px;padding:0;margin:4px 0;accent-color:var(--race-red);width:100%}
.rs-simple #rsCardStatus{font-size:14px;line-height:1.6;margin-top:9px}
.rs-simple .rs-filename{font-size:12px;line-height:1.6;color:#626e80;margin:5px 0 0;overflow-wrap:anywhere;font-weight:450}
.rs-simple .rs-editor-toolbar button{font-size:14px;min-height:46px;white-space:normal}
.rs-simple .rs-editor-toolbar span{font-size:13px}
.rs-simple .rs-save-help{font-size:14px;line-height:1.8}
.rs-simple .rs-save-help button{min-height:48px;font-size:15px}
.rs-simple .rs-own-check{padding:14px;font-size:14px;line-height:1.8}
.rs-simple .rs-own-check input{width:23px;height:23px;vertical-align:middle;accent-color:var(--race-red)}
@media(max-width:760px){
 body.runnerstats-simple .mobile-quick-nav{display:none!important}
 body.runnerstats-simple{padding-bottom:0!important}
 .rs-simple{padding:12px 14px 42px;font-size:16px}
 .rs-simple .rs-back{margin-bottom:6px;font-size:14px}
 .rs-brand-banner{gap:19px;padding:26px 20px;border-radius:20px;align-items:center}
 .rs-event-crest{margin-top:3px;flex-shrink:0}
 .rs-simple .rs-brand-copy h1{font-size:29px;line-height:1.25;letter-spacing:-.02em}
 .rs-simple .rs-brand-copy h1 br{display:block}
 .rs-simple .rs-brand-kicker{font-size:9px;letter-spacing:.09em;margin-bottom:8px}
 .rs-simple .rs-brand-event{font-size:14px;line-height:1.7;margin-top:10px}
 .rs-simple .rs-brand-caption{display:none}
 .rs-brand-stamp{right:16px;top:12px;font-size:10px}
 .rs-simple .rs-heading{padding-bottom:18px}
 .rs-simple .rs-steps{gap:5px;margin-top:14px}
 .rs-simple .rs-steps span{font-size:12px;padding:10px 3px;white-space:nowrap}
 .rs-simple .rs-tools,.rs-simple .rs-match-review{padding:22px 17px;border-radius:18px}
 .rs-simple h2,.rs-simple .rs-tools h2{font-size:21px;line-height:1.6}
 .rs-simple .rs-search-guide{font-size:14px;margin:7px 0 16px}
 .rs-simple #rsEditor{padding:17px}
 .rs-simple[data-step=edit]{padding:10px 12px 172px}
 .rs-simple .rs-savebar{padding:12px 17px calc(12px + env(safe-area-inset-bottom));border-color:#e3dce0;box-shadow:0 -8px 24px #29354b0b}
 .rs-simple .rs-filename{text-align:center;font-size:11px;max-width:540px;margin:4px auto 0}
 .rs-simple #rsSave{min-height:54px}
 .rs-simple .rs-match-row{padding:14px 12px;gap:12px}
 .rs-simple .rs-match-content strong{font-size:16px}
 .rs-simple .rs-match-content>span{font-size:13px}
 .rs-simple .rs-editor-toolbar{align-items:flex-start;gap:9px}
 .rs-simple .rs-editor-toolbar button{max-width:48%}
 .rs-simple .rs-editor-toolbar span{font-size:12px;white-space:normal}
}
@media(max-width:359px){.rs-brand-banner{padding:24px 15px;gap:13px}.rs-simple .rs-brand-copy h1{font-size:26px}.rs-simple .rs-brand-event{font-size:13px}}
@media(prefers-reduced-motion:reduce){.rs-simple *{scroll-behavior:auto!important;transition:none!important}}
