﻿*{box-sizing:border-box}body{margin:0;background:#101a28;color:#e7edf5;font:17px/1.6 system-ui,sans-serif}main{max-width:850px;margin:40px auto;padding:24px}header{display:flex;justify-content:space-between;gap:16px;align-items:center}.tag{color:#9ddbd0;font-size:13px;letter-spacing:.09em}h1{font-size:36px;line-height:1.2;margin-top:35px}h2{font-size:23px}p{color:#becbdc}section{margin-top:28px;background:#1d2c40;border:1px solid #40546d;padding:25px;border-radius:12px}label{display:block;font-weight:600;margin-bottom:10px}input,select,button,.download{font:inherit;border-radius:7px}input{width:100%;padding:14px;background:#132034;border:1px solid #657b94;color:#fff}select{background:#1d2c40;color:#fff;padding:6px}button,.download{display:inline-block;padding:12px 18px;border:1px solid #58b6a9;background:#2c8176;color:white;text-decoration:none;cursor:pointer;margin:8px 8px 8px 0}button:disabled{opacity:.4;cursor:default}.secondary,#cancel{background:#283e5b;border-color:#7189a4}pre{white-space:pre-wrap;word-break:break-word;color:#b7e6de;min-height:32px;font:15px/1.6 ui-monospace,monospace}progress{display:block;width:100%;margin:18px 0}progress[hidden]{display:none}.notice{border-left:3px solid #e3c582;padding-left:14px;color:#f3dba7}footer{font-size:14px;color:#97a9be;margin-top:30px}a{color:#a5d9ff}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f0d293;outline-offset:3px}

[hidden]{display:none!important}

.file-picker{display:flex;align-items:center;gap:14px;min-width:0;padding:10px 14px;background:#132034;border:1px solid #657b94;border-radius:7px}.file-picker button{flex-shrink:0;margin:0}.file-picker span{min-width:0;overflow-wrap:anywhere}@media(max-width:480px){.file-picker{align-items:flex-start;flex-direction:column}}
.project-check{margin-top:18px;border-top:1px solid #40546d;padding-top:12px;min-width:0}.project-check h3{margin:0;font-size:19px}.project-check pre{overflow-wrap:anywhere}.project-check #projectCheckNote{font-size:14px}
.custom-toggle{display:flex;align-items:center;gap:9px}.custom-toggle input{width:auto;margin:0;flex-shrink:0}.custom-toggle span{flex:1;min-width:0}
.project-diagnostics{border-left:3px solid #e3c582;padding-left:14px;margin-top:16px}.project-diagnostics h4{margin:0}.project-diagnostics pre{font-size:14px;max-height:360px;overflow:auto}.project-diagnostics p{font-size:14px}

.template-section{margin:22px 0 16px;border:1px solid #657b94;border-radius:8px;padding:16px;min-width:0}.template-section legend{font-weight:700;padding:0 8px}.template-section select{width:100%;max-width:100%;margin-bottom:14px}.template-section input{margin-bottom:14px}.template-section p{font-size:15px;line-height:1.5}.template-toggle{display:flex;gap:10px;align-items:center}.template-toggle input{width:auto;margin:0}.template-stat-row{border-top:1px solid #40546d;padding:14px 0;display:grid;gap:4px;min-width:0}.template-stat-row strong{margin-bottom:8px}.template-stat-row label{margin:0}.template-stat-row small{color:#b7e6de;overflow-wrap:anywhere}.template-stat-row button{justify-self:start}.template-stat-row input,.template-stat-row select{margin-bottom:8px}

.support-link{display:inline-block;text-underline-offset:4px}.game-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin:24px 0}.game-card{min-width:0;background:#1d2c40;border:1px solid #40546d;border-radius:12px;padding:24px}.game-card h2{font-size:21px;line-height:1.4;margin:0;overflow-wrap:anywhere}.game-version{margin:8px 0 18px;color:#9ddbd0;font-size:15px}.game-card summary{cursor:pointer;color:#a5d9ff;text-underline-offset:4px}.game-card dl{margin-bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:15px}.game-card dt{color:#becbdc}.game-card dd{margin:0;font-family:ui-monospace,monospace;overflow-wrap:anywhere}summary:focus-visible,select:focus-visible{outline:3px solid #f0d293;outline-offset:3px}@media(max-width:480px){main{margin:16px auto;padding:20px}h1{font-size:29px}.game-card{padding:20px}}
