/* Kurationsansicht — Referenz: design/curation.html */
.curation { padding: 24px 32px; }

.curation header { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.curation .logo { font-size: 13px; }
.curation header h1 { font-size: 18px; color: var(--muted); font-weight: 700; }
.curation .stats { margin-left: auto; display: flex; gap: 10px; }
.curation .stat { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.curation .stat b { color: var(--lime); }
.curation .stat.warn b { color: var(--amber); }

.curation main { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }

.game-list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.game-list .search { padding: 14px; border-bottom: 1px solid var(--line); }
.game-list .search input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; padding: 10px 14px; outline: none; }
.game-list .tabs { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.game-list .tab { border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 5px 12px; font: 700 12px/1.4 ui-sans-serif, system-ui; text-decoration: none; }
.game-list .tab.active { background: var(--surface); color: var(--cyan); border-color: var(--cyan); }
.game-list .rows { max-height: 70vh; overflow-y: auto; }

.game-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.game-row:hover { background: rgba(34, 211, 238, .05); }
.game-row.sel { background: rgba(34, 211, 238, .1); box-shadow: inset 3px 0 0 var(--cyan); }
.game-row img { width: 56px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.game-row .n { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-row .y { font-size: 12px; color: var(--muted); }
.game-row .badge { font-size: 12px; font-weight: 900; }
.badge.ok { color: var(--lime); }
.badge.warn { color: var(--amber); }
.badge.todo { color: var(--muted); }

.game-detail { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; }
.game-detail .head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.game-detail .head h2 { font-size: 26px; }
.game-detail .head .appid { font-size: 13px; color: var(--muted); }
.game-detail .head .appid a { color: var(--cyan); }
.game-detail .head .state { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--amber); }
.game-detail .dev { color: var(--muted); margin-bottom: 20px; }

.game-detail .fields { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 10px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.field input[type="number"], .field input[type="text"] { background: var(--surface); border: 2px solid var(--line); border-radius: 10px; color: var(--text); font: 700 18px/1 ui-sans-serif, system-ui; padding: 12px 14px; outline: none; width: 130px; }
.field input:focus { border-color: var(--cyan); }
.field input.warn { border-color: var(--amber); }
.field.readonly input { color: var(--muted); }

.pool-toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 12px; }
.pool-toggle input { width: 20px; height: 20px; accent-color: var(--lime); }

.warnbox { display: flex; gap: 10px; align-items: flex-start; background: rgba(251, 191, 36, .09); border: 1px solid rgba(251, 191, 36, .4); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 22px; }
.warnbox b { color: var(--amber); }

.game-detail h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 12px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.shot-pick { position: relative; display: block; cursor: pointer; }
.shot-pick img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); display: block; }
.shot-pick input { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; accent-color: var(--lime); }
.shot-pick:has(input:checked) img { border-color: var(--lime); }
.shot-pick:has(input:not(:checked)) img { opacity: .45; }

.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.actions .hint { font-size: 13px; color: var(--muted); }

.empty { padding: 80px; text-align: center; color: var(--muted); }

.add-game { display: block; margin: 12px 14px; padding: 10px; text-align: center; text-decoration: none;
  border: 1px dashed var(--cyan); border-radius: 10px; color: var(--cyan); font-weight: 700; font-size: 13px; }
.add-game:hover { background: rgba(34, 211, 238, .08); }

.field.wide input { width: 320px; max-width: 100%; }
.urls { width: 100%; background: var(--surface); border: 2px solid var(--line); border-radius: 10px;
  color: var(--text); font: 14px/1.5 ui-monospace, monospace; padding: 12px 14px; outline: none; resize: vertical; }
.urls:focus { border-color: var(--cyan); }
.game-detail .hint { display: block; font-size: 13px; color: var(--muted); margin: 8px 0 20px; }

.delete-game { margin-top: 24px; background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 10px; padding: 8px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.delete-game:hover { border-color: var(--red); color: var(--red); }

.detail-col { min-width: 0; }
