:root{color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}body{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0f172a;color:#e2e8f0}.center{text-align:center}.card{width:min(420px,90vw);background:#1e293b;border-radius:12px;padding:2rem;box-shadow:0 10px 30px #0000004d}.card h1{margin-top:0;font-size:1.4rem}form{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem}input{padding:.6rem .7rem;border-radius:8px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;font-size:1rem}button{padding:.65rem;border-radius:8px;border:none;background:#6366f1;color:#fff;font-size:1rem;cursor:pointer}button:disabled{opacity:.6;cursor:default}.error{color:#f87171;font-size:.9rem;margin:0}.dashboard-header{display:flex;justify-content:space-between;align-items:center}.dashboard-header button{width:auto;padding:.4rem .9rem}.ok{color:#4ade80}.offline{color:#f87171}.hint{font-size:.85rem;color:#94a3b8}.hint code{background:#0f172a;padding:.1rem .4rem;border-radius:4px}.accordion{border:1px solid #334155;border-radius:10px;overflow:hidden}.accordion summary{cursor:pointer;list-style:none;padding:.9rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-weight:600}.accordion summary::-webkit-details-marker{display:none}.accordion summary:after{content:"▸";color:#94a3b8;transition:transform .15s ease;flex-shrink:0}.accordion[open] summary:after{transform:rotate(90deg)}.accordion-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accordion-subtitle{font-weight:400;font-size:.85rem;color:#94a3b8;margin-left:auto;margin-right:.5rem}.accordion-body{padding:1rem;border-top:1px solid #334155}.world-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.world-list li{padding:.6rem .8rem;border-radius:8px;background:#0f172a;border:1px solid #334155;display:flex;flex-direction:column;gap:.2rem}.world-list li.active{border-color:#4ade80}.world-title{display:flex;align-items:center;gap:.5rem;font-weight:600}.world-badge{font-size:.7rem;font-weight:600;color:#0f172a;background:#4ade80;padding:.1rem .5rem;border-radius:999px}.backup-actions{margin:.75rem 0}.backup-actions button{width:auto;padding:.6rem 1rem}.backup-list{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.5rem}.backup-list li{padding:.6rem .8rem;border-radius:8px;background:#0f172a;border:1px solid #334155;display:flex;flex-direction:column;gap:.5rem}.backup-info{display:flex;flex-direction:column;gap:.2rem;min-width:0}.backup-filename{font-weight:600;font-size:.85rem;word-break:break-all}.backup-button-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.backup-delete-button{width:auto;padding:.4rem .8rem;font-size:.85rem;background:#7f1d1d}.backup-delete-button:hover:not(:disabled){background:#991b1b}.backup-buttons{display:flex;gap:.5rem;align-items:center;flex-shrink:0}.backup-buttons a{color:#a5b4fc;font-size:.85rem}.backup-buttons button{width:auto;padding:.4rem .8rem;font-size:.85rem}.backup-upload-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.backup-upload-form input[type=file]{flex:1;min-width:0;padding:.4rem;font-size:.85rem}.backup-upload-form button{width:auto;padding:.5rem 1rem}.update-form{display:flex;flex-direction:column;gap:.6rem}.update-form input{font-size:.85rem}.update-form button{width:auto;padding:.5rem 1rem;align-self:flex-start}.status-line{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.restart-button{width:auto;padding:.35rem .8rem;font-size:.85rem}
