/* Compact run setup; gameplay keeps its dedicated controls. */
body[data-phase="home"] .game{height:auto;min-height:560px;overflow:hidden}
body[data-phase="home"] #world{position:absolute;inset:0;width:100%;height:100%}
.start-screen{position:relative;inset:auto;display:block;min-height:560px;overflow:visible;padding:32px;background:linear-gradient(90deg,#10264660,transparent 70%)}
.start-card{width:360px;max-width:100%;margin:0;padding:24px;border-radius:20px;background:#fffffff5;box-shadow:0 12px 36px #09223b24;min-width:0}
.start-card h1{font-size:31px;line-height:1.13;letter-spacing:-1px;margin:0 0 8px;font-weight:900}
.start-card h1 em{white-space:nowrap}
.start-card .intro{font-size:13px;line-height:1.45;margin:0 0 19px;color:#536078}
.start-card fieldset{margin:0 0 15px;min-width:0}
.start-card legend{font-size:13px;margin-bottom:8px}
.start-card .table-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-width:0}
.start-card .table-options button{min-width:0;min-height:39px;padding:5px 0;font-size:15px;border-radius:8px;transition:background-color .12s ease,color .12s ease}
.start-card .table-options button:last-child{grid-column:span 2;font-size:12px}
.runner-picker{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:11px;min-width:0;margin:0 0 15px;background:#edf2f8;border-radius:12px;padding:0 8px 0 0}
#runnerPreview{width:76px;height:84px;display:block;background:transparent;touch-action:auto;border-radius:10px}
.runner-picker .runner-label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;font-size:12px;min-width:0}
.runner-picker select{display:block;width:100%;max-width:100%;min-width:0;min-height:40px;font-size:12px;font-weight:700;padding:7px 3px;background:white;border:1px solid #c8d4e4;border-radius:8px;color:#182344;letter-spacing:0}
.start-card .start-button{min-height:49px;width:100%;font-size:17px;border-radius:10px;padding:12px 16px}
.run-options{margin-top:15px;border-top:1px solid #dde5ef;padding-top:5px;min-width:0}
.run-options>summary{min-height:35px;display:flex;gap:10px;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:800;list-style:none;padding:5px 0}
.run-options>summary::-webkit-details-marker{display:none}
.run-options>summary::after{content:'+';font-size:20px;color:#6a7991}
.run-options[open]>summary::after{content:'−'}
.run-options>summary span{font-size:11px;color:#68748a;font-weight:600;margin-left:auto}
.options-body{padding-top:9px;min-width:0}
.start-card .modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}
.start-card .modes button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:4px;padding:10px 9px;border-radius:9px;text-align:left}
.start-card .modes button b{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
.start-card .modes button small{font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.start-card .locker-button{margin:0;display:flex;gap:7px;align-items:center;justify-content:center;width:100%;min-height:41px;font-size:12px;background:#edf2f8;color:#253557;border:1px solid #d4ddeb;box-shadow:none;border-radius:9px;text-shadow:none}
.start-card .locker-button span:nth-child(1){color:#8a601a}
.start-card .small-note{font-size:11px;line-height:1.4;margin:10px 0 0;text-align:left}
.graphics-notice{position:absolute;inset:16px 16px auto;z-index:6;padding:17px;background:#fff5e7;color:#653d1e;border:1px solid #d4ac77;border-radius:12px;box-shadow:0 4px 20px #081d3d40}
.graphics-notice p{margin:0 0 10px;font-size:15px}
#pauseDialog button:disabled,.start-card button:disabled{opacity:.55;cursor:not-allowed;filter:none}
.start-screen,.start-card,.runner-picker{animation:menu-arrive .18s ease-out both}
@keyframes menu-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
 body[data-phase="home"] .game{min-height:0}
 .start-screen{min-height:0;padding:18px;background:linear-gradient(90deg,#17335377,#17335333)}
 .start-card{width:340px;max-width:100%;padding:20px}
}
@media(max-width:420px){
 .shell{padding:8px}.topbar{padding:0 2px;margin-bottom:9px}.brand-title{font-size:12px}.brand{gap:7px}.lca{padding:8px;font-size:11px}.quiet{padding:8px;font-size:11px;min-height:36px}
 .start-screen{padding:10px}
 .start-card{width:100%;padding:14px;border-radius:14px}
 .start-card h1{font-size:27px;margin:0 0 12px;line-height:1.14}
 .start-card .intro{display:none}
 .start-card fieldset{margin-bottom:11px}
 .start-card legend{font-size:12px;margin-bottom:6px}
 .start-card .table-options{gap:4px}
 .start-card .table-options button{min-height:36px;font-size:14px}
 .start-card .table-options button:last-child{font-size:11px}
 .runner-picker{grid-template-columns:60px minmax(0,1fr);gap:7px;margin-bottom:12px}
 #runnerPreview{width:60px;height:70px}
 .runner-picker .runner-label{font-size:11px;gap:4px}
 .runner-picker select{font-size:11px;min-height:36px;padding:5px 1px}
 .start-card .start-button{min-height:46px;font-size:16px}
 .run-options{margin-top:12px}
 .run-options>summary{min-height:31px;font-size:12px}.run-options>summary span{font-size:10px}
 .start-card .modes button{padding:9px 7px}.start-card .modes button b{font-size:11px}.start-card .modes button small{font-size:10px;white-space:normal}
 .bottom-bar{padding-top:10px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.start-screen,.start-card,.runner-picker{animation:none}.start-card button{transition:none}}
body[data-motion="less"] .start-screen,body[data-motion="less"] .start-card,body[data-motion="less"] .runner-picker{animation:none}
