:root{font-family:Arial,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;color:#efe7d0;background:#0c2824;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select{color:inherit;border:1px solid #698276;background:#1b4139;border-radius:9px;cursor:pointer}button{padding:11px 15px}button:hover{background:#31594a}button:focus-visible,select:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ffd179;outline-offset:3px}button:disabled{opacity:.4;cursor:default}header{height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #365248}header .wordmark{font-family:Georgia,serif;letter-spacing:.14em;font-size:17px}header small{font-size:10px;letter-spacing:.14em;color:#b5c4ae}.layout{max-width:1480px;margin:0 auto;padding:24px 28px 18px;display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:24px}.screen{position:relative;align-self:start;border:1px solid #50705c;border-radius:18px;overflow:hidden;background:#163e36;box-shadow:0 25px 70px #021d2288}.screen canvas{display:block;width:100%;height:auto;max-height:calc(100vh - 145px);object-fit:contain;touch-action:pan-y}.screen.tall{max-width:440px;justify-self:center;width:100%}.screen .restore{position:absolute;top:14px;right:14px;opacity:.8;padding:8px 12px;font-size:12px}.panel{padding:8px 0}.eyebrow{font-size:10px;letter-spacing:.19em;color:#c9ab6e}h1{font-family:Georgia,serif;font-size:30px;line-height:1.05;font-weight:400;margin:11px 0}p{font-size:12px;line-height:1.8;color:#b9c8b7}.divider{height:1px;background:#36574a;margin:20px 0}.row{display:flex;gap:7px;align-items:center;justify-content:space-between}.label{font-size:12px;margin-bottom:12px;display:block}.counts{display:flex;gap:7px}.counts button{flex:1;padding:9px 0;font-family:Georgia,serif;font-size:19px}.counts button.active{background:#e9ce95;color:#1a392f;border-color:#e9ce95}.launch{width:100%;background:#df5644;color:#fff4d8;border-color:#df5644;margin-top:15px;font-weight:700;font-size:15px;padding:16px}.launch:hover{background:#f36750}.launch:disabled{background:#795c42;opacity:.65}.secondary{width:100%;margin-top:8px;background:transparent}.mini{font-size:11px;padding:9px 10px}.settings{display:grid;gap:12px}.settings label{font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}select{padding:8px;font-size:11px}input[type=checkbox]{accent-color:#e6c889;width:16px;height:16px}input[type=range]{width:130px}.status{font-size:12px;color:#f0cc7c;min-height:22px;margin-top:13px}.foot{max-width:1480px;padding:0 30px 22px;margin:auto;color:#90a894;font-size:10px;line-height:1.8}.pill{border:1px solid #657959;color:#e3c893;padding:4px 7px;border-radius:30px;font-size:9px}.hidden-ui header,.hidden-ui .panel,.hidden-ui .foot{display:none}.hidden-ui .layout{display:block;padding:0;max-width:none}.hidden-ui .screen{border:0;border-radius:0;margin:auto}.hidden-ui .screen canvas{max-height:100vh}.hidden-ui .screen.tall{max-width:none;width:auto;height:100vh}.hidden-ui .screen.tall canvas{width:auto;max-width:100vw;height:100vh}dialog{width:min(670px,94vw);border:1px solid #839274;border-radius:18px;background:#173d33;color:#f1e4c8;padding:22px}dialog::backdrop{background:#051b18bb}dialog img,dialog video{display:block;max-width:100%;max-height:60vh;margin:15px auto;border-radius:8px}dialog a{display:inline-block;background:#e6c788;color:#173a30;padding:12px 20px;border-radius:8px;font-size:13px;text-decoration:none}dialog h2{font: 25px Georgia;margin:0}dialog .row{margin-top:16px}#cancel{background:#aa3d30;width:100%;margin-top:8px}[hidden]{display:none!important}@media(max-width:800px){header{height:54px;padding:0 18px}header small{display:none}.layout{padding:14px;grid-template-columns:1fr;gap:15px}.screen canvas{max-height:66vh}.panel{display:grid;grid-template-columns:1fr 1fr;gap:14px}.intro,.divider{display:none}.panel>section{min-width:0}.panel h1{font-size:24px}.settings{gap:8px}.foot{padding:0 17px 20px}.screen.tall{max-width:340px}.status{grid-column:1/-1;margin:0}.launch{margin-top:12px}.row{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}@media(max-width:800px){.screen .restore{top:8px;right:8px;padding:5px 8px;font-size:10px}}
