@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&display=swap";:root{color:#15201d;font-synthesis:none;text-rendering:optimizelegibility;--ink:#16211e;--paper:#f5f3eb;--cream:#e9e5d8;--red:#df4b42;--green:#487d62;--condensed:"Barlow Condensed", sans-serif;background:#e8e7df;font-family:Noto Sans JP,sans-serif}.home-shell{min-height:100vh;color:var(--ink);background:#f5f3eb}.home-nav{color:#fff;background:#17221e;justify-content:space-between;align-items:center;height:76px;padding:0 max(28px,50vw - 660px);display:flex}.home-nav nav{align-items:center;gap:10px;display:flex}.home-nav nav button{color:#dce4df;cursor:pointer;background:0 0;border:1px solid #ffffff1e;height:38px;padding:0 17px;font-size:10px;font-weight:600}.home-nav nav .nav-create{color:#17221e;background:#f0ece0}.home-hero{background:radial-gradient(circle at 75% 35%,#ceddb8,#0000 30%),linear-gradient(135deg,#f5f3eb 55%,#e6e8da);grid-template-columns:minmax(420px,.85fr) minmax(500px,1.15fr);align-items:center;gap:70px;min-height:610px;padding:70px max(30px,50vw - 660px);display:grid;overflow:hidden}.hero-copy{z-index:2;position:relative}.beta-label,.quick-guide header span,.saved-projects header span{color:#d64f47;font:700 10px var(--condensed);letter-spacing:2.2px}.hero-copy h1{letter-spacing:.035em;margin:15px 0 22px;font-size:clamp(44px,5vw,72px);line-height:1.12}.hero-copy h1 em{color:#d64f47;font-style:normal}.hero-copy>p{color:#5f6964;max-width:560px;margin:0;font-size:14px;line-height:2}.hero-actions{gap:12px;margin-top:34px;display:flex}.primary-cta,.secondary-cta{cursor:pointer;border:0;height:50px;padding:0 24px;font-size:12px;font-weight:700}.primary-cta{color:#fff;background:#d95047;box-shadow:0 10px 25px #c7473e2d}.primary-cta span{margin-left:20px}.secondary-cta{background:#fff9;border:1px solid #bfc3b9}.local-note{color:#858c87;margin-top:15px;font-size:9px;display:block}.hero-visual{background:#acd0d2;border:8px solid #f7f4e9;height:410px;position:relative;overflow:hidden;transform:perspective(900px)rotateY(-5deg)rotateX(2deg);box-shadow:0 30px 70px #24372b2d}.visual-sky{background:linear-gradient(#9bcbd1,#d6e3cc);position:absolute;inset:0 0 52%}.visual-track{background:#c99968;height:52%;position:absolute;bottom:8%;left:-15%;right:-15%;transform:skewY(-8deg);box-shadow:0 -45px #83aa67,0 -49px #f3efe2}.visual-track i{background:#e5bd90;height:1px;position:absolute;left:0;right:0}.visual-track i:first-child{top:28%}.visual-track i:nth-child(2){top:52%}.visual-track i:nth-child(3){top:76%}.visual-horses{align-items:flex-end;gap:42px;display:flex;position:absolute;top:46%;left:28%;transform:rotate(-8deg)}.visual-horses span{color:#fff;width:75px;height:40px;font:800 18px var(--condensed);background:#553425;border-radius:55% 45% 42% 50%;place-items:center;display:grid;box-shadow:24px -18px 0 -10px #6c4430,-13px 31px 0 -9px #292824,23px 31px 0 -9px #292824}.visual-horses span:nth-child(2){background:#262827;transform:translateY(42px)}.visual-horses span:nth-child(3){background:#805038;transform:translateY(12px)}.visual-caption{color:#fff;background:#17221ee8;flex-direction:column;padding:14px 18px;display:flex;position:absolute;bottom:18px;left:22px;right:22px}.visual-caption small{color:#e5ba56;font:700 8px var(--condensed);letter-spacing:1.5px}.visual-caption b{margin-top:3px;font-size:11px}.quick-guide,.saved-projects{padding:75px max(30px,50vw - 590px)}.quick-guide{background:#fff}.quick-guide header h2,.saved-projects header h2{margin:5px 0 28px;font-size:27px}.quick-guide>div{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.quick-guide article{background:#faf9f4;border:1px solid #dcdbd2;min-height:170px;padding:26px}.quick-guide article i{color:#d95047;font:700 25px var(--condensed);font-style:normal;display:block}.quick-guide article b{margin-top:18px;font-size:15px;display:block}.quick-guide article p{color:#747c77;margin:8px 0 0;font-size:10px;line-height:1.8}.saved-projects{background:#eeece3}.saved-projects>header{justify-content:space-between;align-items:center;display:flex}.saved-projects>header button{cursor:pointer;background:0 0;border:1px solid #bfc2b9;height:36px;padding:0 15px;font-size:10px}.project-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.project-card{background:#fff;border:1px solid #d2d0c6;min-height:120px;position:relative}.project-open{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;min-height:120px;padding:20px;display:flex}.project-open:hover{background:#fffaf4}.project-venue{color:#fff;font:700 8px var(--condensed);letter-spacing:1px;background:#d95047;padding:3px 6px}.project-open b{margin-top:12px;font-size:13px}.project-open small{color:#858b87;margin-top:6px;font-size:8px}.project-delete{color:#8b918d;cursor:pointer;background:#f0eee6;border:0;width:25px;height:25px;position:absolute;top:10px;right:10px}.empty-projects{text-align:center;border:1px dashed #c8c6bc;grid-column:1/-1;place-content:center;min-height:130px;display:grid}.empty-projects b{font-size:12px}.empty-projects span{color:#8b918d;margin-top:6px;font-size:9px}.home-footer{color:#829089;background:#17221e;min-height:75px;padding:0 max(30px,50vw - 590px)}.home-footer b{color:#fff;letter-spacing:2px}.guide-dialog{width:min(760px,100% - 30px);max-height:calc(100vh - 30px);color:var(--ink);background:#f6f3ea;border:0;padding:0;box-shadow:0 25px 90px #0e17135c}.guide-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#101915c7}.guide-dialog>header{color:#fff;background:#17221e;justify-content:space-between;padding:22px 26px;display:flex}.guide-dialog header small{color:#e5ba56;font:700 8px var(--condensed);letter-spacing:2px}.guide-dialog header h2{margin:3px 0 0}.guide-dialog header button{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff2c;width:33px;height:33px}.guide-content{max-height:60vh;padding:25px 28px;overflow:auto}.guide-content section{border-bottom:1px solid #dbd8cd;grid-template-columns:35px 1fr;gap:15px;padding:15px 0;display:grid}.guide-content section i{color:#fff;width:30px;height:30px;font:700 11px var(--condensed);background:#d95047;place-items:center;font-style:normal;display:grid}.guide-content h3{margin:0;font-size:13px}.guide-content p{color:#6f7873;margin:6px 0 0;font-size:10px;line-height:1.8}.guide-content code{background:#e5e1d5;padding:2px 5px}.guide-content aside{background:#e8e5da;margin-top:18px;padding:15px}.guide-content aside b{font-size:10px}.guide-dialog>footer{border-top:1px solid #d8d5ca;justify-content:flex-end;gap:10px;min-height:65px;padding:0 26px;display:flex}.guide-dialog>footer button:first-child{cursor:pointer;background:0 0;border:0}.flow-shell{background:#e9e7de;min-height:100vh}.flow-nav{color:#fff;background:#17221e;grid-template-columns:1fr auto 1fr;align-items:center;height:68px;padding:0 max(24px,50vw - 620px);display:grid}.flow-back-home{color:#aeb9b4;cursor:pointer;background:0 0;border:0;justify-self:start;font-size:10px}.flow-nav>span{color:#e5ba56;font:700 9px var(--condensed);letter-spacing:2px;justify-self:end}.flow-layout{background:#f7f5ed;grid-template-columns:300px 1fr;width:min(1180px,100% - 40px);min-height:700px;margin:38px auto;display:grid;box-shadow:0 20px 60px #28392d1c}.flow-progress{color:#fff;background:#1d2925;padding:38px 31px}.flow-progress>span{color:#e5ba56;font:700 9px var(--condensed);letter-spacing:2px}.flow-progress h1{margin:7px 0 35px;font-size:22px}.flow-progress ol{margin:0;padding:0;list-style:none}.flow-progress li{color:#788a82;grid-template-columns:35px 1fr;gap:12px;min-height:78px;display:grid;position:relative}.flow-progress li:not(:last-child):after{content:"";background:#ffffff18;width:1px;height:42px;position:absolute;top:34px;left:15px}.flow-progress li i{width:31px;height:31px;font:700 11px var(--condensed);border:1px solid #65736d;place-items:center;font-style:normal;display:grid}.flow-progress li div{flex-direction:column;display:flex}.flow-progress li b{font-size:11px}.flow-progress li small{margin-top:4px;font-size:8px}.flow-progress li.active,.flow-progress li.done{color:#fff}.flow-progress li.active i{background:#d95047;border-color:#d95047}.flow-progress li.done i{color:#8ad09f;border-color:#608c70}.flow-tip{background:#ffffff08;border:1px solid #ffffff12;margin-top:45px;padding:15px}.flow-tip b{color:#d5ddd8;font-size:9px}.flow-tip p{color:#8fa098;margin:6px 0 0;font-size:8px;line-height:1.7}.create-form{flex-direction:column;min-width:0;display:flex}.flow-step{flex:1;padding:48px 55px 30px;display:none}.flow-step.active{display:block}.flow-step>header span{color:#d95047;font:700 9px var(--condensed);letter-spacing:1.8px}.flow-step>header h2{margin:7px 0;font-size:25px}.flow-step>header p{color:#7e8581;margin:0 0 32px;font-size:10px}.flow-fields{grid-template-columns:1fr 1fr;gap:18px 15px;display:grid}.flow-fields label,.flow-order-field{flex-direction:column;gap:7px;display:flex}.flow-fields .wide{grid-column:span 2}.flow-fields label span,.flow-order-field>span{color:#747c77;font-size:9px;font-weight:600}.flow-fields input,.flow-fields select,.flow-order-field input{width:100%;height:44px;color:var(--ink);background:#fff;border:1px solid #cfcdc2;border-radius:0;outline:none;padding:0 12px;font-size:11px}.flow-fields input:focus,.flow-fields select:focus,.flow-order-field input:focus{border-color:#60806e;box-shadow:0 0 0 2px #60806e17}.flow-order-field input{height:58px;font:700 17px var(--condensed);letter-spacing:.09em}.flow-order-field small{color:#8b918d;font-size:8px}.order-preview{margin-top:30px}.order-preview>span{color:#7b827e;font-size:9px}.order-preview>div{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.order-preview div span{background:#fff;border:1px solid #d5d2c7;grid-template-columns:17px 1fr;align-items:center;min-width:48px;height:42px;padding:0 7px;display:grid}.order-preview div i{color:#a2a6a2;font:600 8px var(--condensed);font-style:normal}.order-preview div b{text-align:center;font:800 15px var(--condensed)}.flow-error{color:#ce493f;min-height:20px;font-size:9px}.flow-style-picker{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.flow-style-picker label{cursor:pointer;background:#fff;border:1px solid #d1cfc4;place-content:center;justify-items:center;gap:5px;min-height:105px;display:grid;position:relative}.flow-style-picker input{opacity:0;position:absolute}.flow-style-picker label:has(input:checked){background:#fffaf4;border:2px solid #d95047}.flow-style-picker b{margin-top:8px;font-size:10px}.flow-style-picker small{color:#8b918d;font-size:7px}.flow-optional{background:#fff;border:1px solid #d4d1c6;margin-top:22px}.flow-optional summary{cursor:pointer;align-items:center;gap:12px;min-height:48px;padding:0 15px;list-style:none;display:flex}.flow-optional summary::-webkit-details-marker{display:none}.flow-optional summary:after{content:"＋";color:#d95047;margin-left:auto}.flow-optional summary b{font-size:10px}.flow-optional summary small{color:#8b918d;font-size:8px}.flow-optional .corner-fields{padding:5px 15px 16px}.flow-actions{background:#f0eee6;border-top:1px solid #d7d4ca;justify-content:flex-end;align-items:center;gap:12px;min-height:78px;padding:0 35px;display:flex}.flow-actions>span{color:#939894;font:600 9px var(--condensed);margin-right:auto}.flow-secondary,.flow-primary{cursor:pointer;border:0;min-width:90px;height:40px;padding:0 17px;font-size:10px}.flow-secondary{background:0 0}.flow-primary{color:#fff;background:#d95047}.flow-primary.generate{min-width:155px}.home-button,.save-button{color:#bec9c3;height:34px;font:700 9px var(--condensed);letter-spacing:1px;cursor:pointer;background:0 0;border:1px solid #ffffff1e}.home-button{padding:0 11px}.save-button{color:#17221e;background:#e5ba56;border-color:#e5ba56;padding:0 15px}.app-toast{z-index:50;color:#fff;opacity:0;pointer-events:none;background:#17221e;padding:11px 19px;font-size:10px;transition:all .25s;position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);box-shadow:0 10px 35px #14201948}.app-toast.visible{opacity:1;transform:translate(-50%)}@media (width<=850px){.home-hero{grid-template-columns:1fr;padding-top:55px}.hero-visual{height:330px}.quick-guide>div,.project-grid{grid-template-columns:1fr}.flow-layout{grid-template-columns:1fr;width:100%;min-height:calc(100vh - 68px);margin:0}.flow-progress{padding:22px}.flow-progress>span,.flow-progress h1,.flow-tip{display:none}.flow-progress ol{grid-template-columns:repeat(3,1fr);display:grid}.flow-progress li{grid-template-columns:30px 1fr;min-height:35px}.flow-progress li:not(:last-child):after,.flow-progress li small{display:none}.flow-step{padding:32px 24px}.flow-nav{padding:0 18px}.flow-nav .brand{display:none}.flow-fields{grid-template-columns:1fr}.flow-fields .wide{grid-column:auto}.flow-style-picker{grid-template-columns:1fr}.flow-style-picker label{min-height:72px}.home-nav{padding:0 18px}}@media (width<=600px){.home-hero{grid-template-columns:1fr;gap:40px;padding:45px 18px}.hero-copy h1{font-size:40px}.hero-actions{flex-direction:column}.hero-actions button{width:100%}.hero-visual{height:260px;transform:none}.visual-horses{transform-origin:0;transform:scale(.7)rotate(-8deg)}.quick-guide,.saved-projects{padding:55px 18px}.home-footer{padding:18px}.home-footer span,.flow-progress li div{display:none}.flow-progress ol{justify-items:center}.flow-progress li{display:block}.flow-actions{padding:0 16px}.flow-actions>span,.top-meta .status,.top-meta .home-button{display:none}.top-meta{gap:5px}.save-button{padding:0 9px}}*{box-sizing:border-box}body{background:linear-gradient(135deg,#ddddd4,#f2f0e9 55%,#d7d8ce);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{color:inherit}.shell{background:var(--paper);width:min(1460px,100% - 36px);margin:18px auto;overflow:hidden;box-shadow:0 25px 80px #26352b22}.topbar{color:#fff;background:#18231f;border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:center;height:68px;padding:0 28px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand>div:last-child{flex-direction:column;line-height:1;display:flex}.brand b{font:800 21px/1 var(--condensed);letter-spacing:2.6px}.brand small{color:#91a29b;font:600 8px/1.8 var(--condensed);letter-spacing:3.4px}.brand-mark{border:1px solid #73827c;align-items:flex-end;gap:3px;width:34px;height:34px;padding:6px;display:flex;transform:skew(-9deg)}.brand-mark span{background:#df4b42;width:6px;display:block}.brand-mark span:first-child{height:10px}.brand-mark span:nth-child(2){background:#f2eee0;height:19px}.brand-mark span:nth-child(3){height:14px}.top-meta{align-items:center;gap:12px;height:100%;display:flex}.status{color:#99aaa2;font:600 11px var(--condensed);letter-spacing:1.6px;margin-right:12px}.status i{background:#72c695;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block;box-shadow:0 0 0 4px #72c6951c}.icon-button,.export-button,.setup-button{cursor:pointer;height:34px;font:700 11px var(--condensed);letter-spacing:1px;border:0;transition:all .2s}.setup-button{color:#eef2ef;background:#ffffff12;border:1px solid #ffffff18;padding:0 15px;font-family:Noto Sans JP;font-size:10px}.setup-button span{color:#e8b94f;margin-right:5px;font-size:15px}.icon-button{color:#d5dcd8;background:#ffffff10;padding:0 14px}.icon-button em{margin-left:5px;font-style:normal}.export-button{color:#1d2925;background:#ece9dd;padding:0 18px}.export-button span{color:var(--red);margin-right:7px}.export-button.recording{background:var(--red);color:#fff;animation:1s infinite rec}.export-button.recording span{color:#fff}@keyframes rec{50%{opacity:.72}}.icon-button:hover,.export-button:hover,.setup-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.race-heading{border-bottom:1px solid #d9d7cd;justify-content:space-between;align-items:center;height:90px;padding:0 28px;display:flex}.race-title{align-items:center;gap:17px;display:flex}.race-tag{color:#fff;background:var(--red);font:700 12px var(--condensed);letter-spacing:1.4px;clip-path:polygon(0 0,100% 0,100% 83%,50% 100%,0 83%);align-self:flex-start;padding:18px 9px 7px}.race-title h1{letter-spacing:.05em;margin:0 0 5px;font-size:24px}.race-title p{color:#67706c;margin:0;font-size:11px}.conditions{border-left:1px solid #d7d5ca;display:flex}.conditions div{flex-direction:column;min-width:72px;padding-left:20px;display:flex}.conditions small{color:#8b918e;margin-bottom:5px;font-size:9px}.conditions b{font:700 16px var(--condensed)}.conditions .good{color:var(--green)}.viewer{background:#9bcfdb;height:clamp(500px,62vh,760px);position:relative;overflow:hidden}[data-role=scene],[data-role=scene] canvas{width:100%;height:100%;display:block}.viewer-vignette{pointer-events:none;background:linear-gradient(90deg,#15201d29,#0000 25% 74%,#15201d15),linear-gradient(#0000 68%,#16221e3d);position:absolute;inset:0}.broadcast-badge{color:#fff;font:700 11px var(--condensed);letter-spacing:1.5px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#17221ed9;padding:7px 10px;position:absolute;top:24px;left:25px}.broadcast-badge span{color:#f4584f;margin-right:5px}.broadcast-badge small{color:#aab5b0;letter-spacing:.05em;margin-left:12px;font:500 9px Noto Sans JP}.distance{color:#fff;text-shadow:0 2px 8px #17251f8c;align-items:baseline;display:flex;position:absolute;top:22px;left:50%;transform:translate(-50%)}.distance small{margin-right:8px;font-size:11px}.distance strong{font:700 36px/1 var(--condensed);letter-spacing:1px}.distance b{font:600 14px var(--condensed);margin-left:3px}.camera-switcher{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#17221edb;height:38px;display:flex;position:absolute;top:22px;right:25px}.camera-switcher>span{color:#8fa098;font:700 8px var(--condensed);letter-spacing:1.4px;border-right:1px solid #ffffff16;align-items:center;padding:0 12px;display:flex}.camera-switcher button{color:#8fa098;min-width:57px;font:500 9px var(--condensed);cursor:pointer;background:0 0;border:0;padding:0 9px}.camera-switcher button b{color:#d7ded9;margin-left:2px;font:600 10px Noto Sans JP}.camera-switcher button.active{color:var(--red);background:#f0ede2}.camera-switcher button.active b{color:#1c2824}.camera-switcher .auto-camera{min-width:66px}.standings{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#15211dde;width:228px;position:absolute;top:84px;left:25px;box-shadow:0 13px 30px #17251f2c}.standings header{height:30px;font:700 9px var(--condensed);letter-spacing:1.3px;color:#a6b2ad;border-bottom:1px solid #ffffff15;justify-content:space-between;align-items:center;padding:0 11px;display:flex}.standings header small{color:#e4ba59;font:600 9px var(--condensed)}.standing-row{border-bottom:1px solid #ffffff0d;grid-template-columns:20px 27px 1fr 8px;align-items:center;gap:7px;height:42px;padding:0 11px;animation:.3s enter;display:grid}@keyframes enter{0%{opacity:.4;transform:translate(-4px)}}.standing-row .rank{color:#899892;font:600 11px var(--condensed)}.horse-no{color:#1e2825;width:23px;height:23px;font:800 11px var(--condensed);background:#f1ede2;border:1px solid #fff5;place-items:center;display:grid}.no-1,.no-5,.no-9{color:#161a18;background:#eee}.no-2,.no-6,.no-10{color:#fff;background:#272a29}.no-3,.no-7,.no-11{color:#fff;background:#d74e47}.no-4,.no-8,.no-12{color:#fff;background:#4d6b9b}.standing-row b{white-space:nowrap;letter-spacing:.03em;font-size:10px;font-weight:500;overflow:hidden}.standing-row i{background:var(--silk);width:6px;height:18px;display:block}.commentary{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#17221ee6;align-items:center;width:min(520px,100% - 540px);min-height:57px;padding:10px 18px;display:flex;position:absolute;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #18251f35}.commentary .pulse{background:#e9b842;border-radius:50%;flex:none;width:7px;height:7px;margin-right:15px;box-shadow:0 0 0 5px #e9b84219}.commentary div{flex-direction:column;display:flex}.commentary small{color:#e9b842;font:700 8px var(--condensed);letter-spacing:1.5px;margin-bottom:3px}.commentary b{letter-spacing:.04em;font-size:12px;font-weight:500}.control-deck{background:#f1efe6;border-bottom:1px solid #d6d4ca;align-items:center;height:93px;padding:0 28px;display:flex}.play-button{color:#fff;background:var(--red);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 7px 17px #c8463f3b}.play-button span{font:700 14px sans-serif;transform:translate(1px)}.time{width:113px;font-family:var(--condensed);align-items:baseline;gap:5px;margin-left:16px;display:flex}.time b{font-size:16px}.time span,.time small{color:#909590;font-size:10px}.timeline-wrap{flex:1;padding-bottom:22px;position:relative}[data-role=timeline]{appearance:none;width:100%;height:12px;accent-color:var(--red);cursor:pointer;background:0 0}[data-role=timeline]::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--red) 0 var(--timeline-progress), #c9c7be var(--timeline-progress) 100%);height:3px}[data-role=timeline]::-moz-range-track{background:linear-gradient(90deg, var(--red) 0 var(--timeline-progress), #c9c7be var(--timeline-progress) 100%);height:3px}[data-role=timeline]::-webkit-slider-thumb{appearance:none;background:var(--paper);border:3px solid var(--red);border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 3px #e4534a22}[data-role=timeline]::-moz-range-thumb{background:var(--paper);border:3px solid var(--red);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #e4534a22}.timeline-labels{color:#9c9e99;width:100%;font:600 7px var(--condensed);letter-spacing:.7px;position:absolute;top:22px}.timeline-labels span{white-space:nowrap;position:absolute;transform:translate(-50%)}.timeline-labels span.first{transform:none}.timeline-labels span.last{transform:translate(-100%)}.speed{border-left:1px solid #d2d0c6;align-items:center;height:34px;margin-left:28px;padding-left:20px;display:flex}.speed>span{color:#939792;font:600 8px var(--condensed);letter-spacing:1px;margin-right:9px}.speed button{color:#878c87;width:31px;height:27px;font:600 10px var(--condensed);cursor:pointer;background:0 0;border:0}.speed button.active{color:#fff;background:#202b27}footer{color:#92948f;min-height:42px;font:600 8px var(--condensed);letter-spacing:1px;justify-content:space-between;align-items:center;padding:0 28px;display:flex}.race-editor{width:min(920px,100% - 30px);max-height:min(850px,100vh - 30px);color:var(--ink);background:#f5f3eb;border:0;padding:0;overflow:hidden;box-shadow:0 30px 100px #10171370}.race-editor::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#111a17bd}.race-editor form{flex-direction:column;max-height:min(850px,100vh - 30px);display:flex}.editor-header{color:#fff;background:#192420;flex:none;justify-content:space-between;align-items:flex-start;padding:24px 28px 20px;display:flex}.editor-header small{color:#e8b94f;font:700 8px var(--condensed);letter-spacing:2px}.editor-header h2{letter-spacing:.08em;margin:2px 0 5px;font-size:22px}.editor-header p{color:#9daba5;margin:0;font-size:10px}.editor-header button{color:#cbd3cf;cursor:pointer;background:0 0;border:1px solid #ffffff20;width:34px;height:34px;font-size:22px}.editor-body{padding:24px 28px 28px;overflow:auto}.editor-section+.editor-section{border-top:1px solid #d8d5ca;margin-top:28px;padding-top:24px}.section-title{align-items:center;gap:11px;margin-bottom:16px;display:flex}.section-title>span{color:#fff;background:var(--red);width:27px;height:27px;font:700 10px var(--condensed);place-items:center;display:grid}.section-title div{flex-direction:column;display:flex}.section-title b{font-size:13px}.section-title small{color:#8a908c;margin-top:2px;font-size:9px}.basic-fields{grid-template-columns:2fr 1fr 1fr;gap:12px;display:grid}.basic-fields label{flex-direction:column;gap:6px;display:flex}.basic-fields label.wide{grid-column:span 1}.basic-fields label>span{color:#777f7a;font-size:9px;font-weight:600}.basic-fields input,.horse-editor-row>input,.horse-editor-row select,.rank-field{height:38px;color:var(--ink);background:#fffefa;border:1px solid #d1cfc4;border-radius:0;outline:none;padding:0 11px;font-size:11px}.basic-fields input:focus,.horse-editor-row>input:focus,.horse-editor-row select:focus{border-color:#718d7e;box-shadow:0 0 0 2px #718d7e18}.visual-style-field{margin-top:16px}.visual-style-field>span{color:#777f7a;margin-bottom:7px;font-size:9px;font-weight:600;display:block}.style-picker{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.style-option{cursor:pointer;background:#fffefa;border:1px solid #d5d2c8;grid-template-rows:1fr 1fr;grid-template-columns:35px 1fr;align-items:center;column-gap:10px;min-height:58px;padding:9px 11px;display:grid;position:relative}.style-option:has(input:checked){background:#fffaf5;border-color:#d9564d;box-shadow:inset 0 0 0 1px #d9564d}.style-option input{opacity:0;position:absolute}.style-option b{align-self:end;font-size:11px}.style-option small{color:#8b908c;align-self:start;font-size:8px}.style-swatch{background:linear-gradient(145deg,#9a6543,#4a2b23);border-radius:55% 45% 45% 50%;grid-row:span 2;width:32px;height:24px;box-shadow:9px -7px 0 -5px #70422e,0 4px 0 -2px #26332f}.style-swatch.paper{background:#d78755;border-radius:3px 13px 4px 10px;box-shadow:9px -7px 0 -5px #f0c85a,0 4px 0 -2px #29433b}.style-swatch.broadcast{background:#50382f;box-shadow:9px -7px 0 -5px #e35c55,0 0 0 3px #e35c55,0 4px 0 -2px #26332f}.corner-fields{grid-template-columns:1fr 1fr;gap:10px 12px;display:grid}.corner-fields label{color:#777f7a;flex-direction:column;gap:6px;font-size:9px;font-weight:600;display:flex}.corner-fields input{height:38px;color:var(--ink);font:500 11px var(--condensed);letter-spacing:.04em;background:#fffefa;border:1px solid #d1cfc4;outline:none;padding:0 11px}.corner-fields input:focus{border-color:#718d7e;box-shadow:0 0 0 2px #718d7e18}.corner-help{color:#838984;margin:10px 0 0;font-size:9px;line-height:1.7}.corner-help b{color:#d05249}.finish-order-field{flex-direction:column;gap:7px;display:flex}.finish-order-field>span{color:#777f7a;font-size:9px;font-weight:600}.finish-order-field input{height:46px;color:var(--ink);font:700 14px var(--condensed);letter-spacing:.08em;background:#fffefa;border:1px solid #c9c6ba;outline:none;padding:0 14px}.finish-order-field input:focus{border-color:#718d7e;box-shadow:0 0 0 2px #718d7e18}.finish-order-field small{color:#8b908c;font-size:9px}.advanced-panel{background:#fffefa;border:1px solid #d4d1c5}.advanced-panel+.advanced-panel{margin-top:10px}.advanced-panel>summary{cursor:pointer;align-items:center;gap:12px;min-height:50px;padding:0 15px;list-style:none;display:flex}.advanced-panel>summary::-webkit-details-marker{display:none}.advanced-panel>summary:after{content:"＋";color:#d05249;margin-left:auto;font-weight:700}.advanced-panel[open]>summary:after{content:"−"}.advanced-panel>summary b{font-size:11px}.advanced-panel>summary small{color:#8b908c;font-size:9px}.advanced-panel>.corner-fields,.advanced-panel>.horse-editor-list{padding:4px 15px 16px}.advanced-panel>.corner-help{padding:0 15px 14px}.horse-detail{border-top:1px solid #e2dfd5}.horse-detail>summary{cursor:pointer;grid-template-columns:34px minmax(120px,1fr) auto;align-items:center;gap:9px;min-height:45px;padding:3px 5px;list-style:none;display:grid}.horse-detail>summary::-webkit-details-marker{display:none}.horse-detail>summary b{font-size:10px}.horse-detail>summary small{color:#8c918d;font-size:8px}.horse-detail-fields{grid-template-columns:minmax(150px,1fr) 100px 62px 100px;align-items:end;gap:9px;padding:8px 5px 13px 39px;display:grid}.horse-detail-fields>label{color:#7f8580;flex-direction:column;gap:5px;font-size:8px;display:flex}.horse-detail-fields input:not([type=color]),.horse-detail-fields select{width:100%;height:36px;color:var(--ink);background:#fff;border:1px solid #d1cfc4;padding:0 9px;font-size:10px}.horse-editor-head,.horse-editor-row{grid-template-columns:44px minmax(140px,1fr) 62px 62px 92px 60px;align-items:center;gap:8px;display:grid}.horse-editor-head{color:#949993;padding:0 8px 7px;font-size:8px}.horse-editor-row{border-top:1px solid #e2dfd5;min-height:47px;padding:4px 8px}.horse-editor-row>input,.horse-editor-row select{width:100%;min-width:0}.horse-editor-row:nth-child(odd){background:#eeece3}.editor-horse-number{width:27px;height:27px;color:var(--frame-text,white);background:var(--frame,#26312d);font:700 11px var(--condensed);border:1px solid #1d252244;place-items:center;display:grid}.color-field{cursor:pointer;height:36px;display:block;position:relative;overflow:hidden}.color-field input{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0}.color-field span{color:#fff;text-shadow:0 1px 3px #000;pointer-events:none;place-items:center;font-size:9px;display:grid;position:absolute;inset:0}.rank-field{align-items:center;padding-right:5px;display:flex}.rank-field input{width:100%;font:700 12px var(--condensed);background:0 0;border:0;outline:none}.rank-field span{color:#7c827e;font-size:9px}.editor-footer{color:#89908b;background:#e9e6dc;border-top:1px solid #d6d3c8;flex:none;min-height:68px;padding:0 28px}.editor-footer div{gap:8px;display:flex}.editor-footer button{cursor:pointer;border:0;height:36px;padding:0 19px;font-size:10px;font-weight:600}.cancel-button{color:#5f6863;background:0 0}.apply-button{color:#fff;background:var(--red);box-shadow:0 6px 15px #d34e4530}@media (width<=850px){.shell{width:100%;margin:0}.race-heading{padding:0 16px}.conditions div{min-width:51px;padding-left:12px}.standings{width:190px;left:12px}.camera-switcher{right:12px}.camera-switcher>span{display:none}.commentary{width:calc(100% - 24px);bottom:12px}.control-deck{padding:0 15px}.time{width:94px;margin-left:10px}.speed{margin-left:10px;padding-left:8px}.speed>span,.status{display:none}.basic-fields{grid-template-columns:1fr 1fr}.horse-editor-head,.horse-editor-row{grid-template-columns:36px minmax(110px,1fr) 50px 50px 70px 54px}}@media (width<=600px){.topbar{padding:0 15px}.status,.icon-button,.icon-button em{display:none}.setup-button{padding:0 9px;font-size:9px}.race-title h1{font-size:19px}.race-title p,.conditions div:first-child{display:none}.viewer{height:65vh;min-height:470px}.distance{top:72px;left:auto;right:14px;transform:none}.standings{top:72px}.standing-row{height:37px}.timeline-labels,footer span:last-child{display:none}.control-deck{height:78px}.speed button:first-of-type{display:none}footer{justify-content:center}.race-editor{width:100%;max-height:100vh}.race-editor form{max-height:100vh}.editor-header,.editor-body,.editor-footer{padding-left:15px;padding-right:15px}.basic-fields{grid-template-columns:1fr 1fr}.basic-fields .wide{grid-column:span 2}.runners-section{overflow-x:auto}.corner-fields,.style-picker{grid-template-columns:1fr}.horse-detail-fields{grid-template-columns:90px 55px 90px;padding-left:5px}.horse-detail-fields .detail-name{grid-column:span 3}.horse-detail>summary{grid-template-columns:34px 1fr}.horse-detail>summary small{display:none}.horse-editor-head,.horse-editor-row{min-width:660px}.editor-footer>span{display:none}.editor-footer{justify-content:flex-end}}
