._list_xn0rj_1 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Game header row (settings variant — narrower padding than GameCard) */
._gameHeaderRow_xn0rj_8 {
  display: flex;
  align-items: center;
  padding: 11px 8px 10px;
  gap: var(--slot-gap);
}
._colorSlot_xn0rj_14 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
._colorSlot_xn0rj_14:empty {
  display: none;
}

/* ── Game item card ──────────────────────────────────────────────── */
._gameItem_xn0rj_24 {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-surface);
  margin-bottom: 10px;
  container-type: inline-size;
  container-name: taskInfo;
}
._colorInput_xn0rj_32 {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
._gameName_xn0rj_40 {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}
._gameBody_xn0rj_45 {
  padding: 8px 8px 10px;
  gap: var(--row-gap);
}

/* Reset label + time input + image button grouped for meta slot */
._gameResetGroup_xn0rj_51 {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-start;
}
._resetLbl_xn0rj_59 {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 6px;
}
._resetTime_xn0rj_65 {
  width: 5.5rem;
  font-family: monospace;
  flex-shrink: 0;
}
._addTaskBtn_xn0rj_70 {
  margin-top: 4px;
}

/* ── New game form ───────────────────────────────────────────────── */
._newGameBox_xn0rj_75 {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
  margin-bottom: 10px;
}
._newGameHeader_xn0rj_82 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
._newGameActions_xn0rj_88 {
  display: flex;
  gap: 8px;
}

._addGameBtn_xn0rj_93 {
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  font-family: inherit;
  transition:
    border-color 0.15s,
    color 0.15s;
}
._addGameBtn_xn0rj_93:hover {
  border-color: var(--link);
  color: var(--link);
}

/* ── Image section ───────────────────────────────────────────────── */
._imgSection_xn0rj_113 {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
}
._imgSectionTitle_xn0rj_119 {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
._listSeparator_xn0rj_126 {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0 14px;
}

/* ── Drop zone ───────────────────────────────────────────────────── */
._dropZone_xn0rj_133 {
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  background: transparent;
}
._dropZone_xn0rj_133:hover {
  border-color: var(--link);
  color: var(--link);
  background: rgba(88, 166, 255, 0.05);
}
._dropZoneLarge_xn0rj_154 {
  padding: 14px 0;
  width: 100%;
}
._dropZoneOver_xn0rj_158 {
  border-color: var(--link);
  background: rgba(88, 166, 255, 0.08);
  color: var(--link);
}

._thumbRow_xn0rj_164 {
  display: flex;
  align-items: center;
  gap: 10px;
}
._thumb_xn0rj_164 {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
._thumbInfo_xn0rj_177 {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
}

/* ── Compact image button ────────────────────────────────────────── */
._imgBtn_xn0rj_184 {
  width: 32px;
  height: 26px;
  border-radius: 5px;
  border: 1px dashed var(--border);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.15s;
  overflow: hidden;
  padding: 0;
}
._imgBtn_xn0rj_184:hover {
  border-color: var(--link);
}
._imgBtnThumb_xn0rj_204 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

._imgBtnCompactWrap_xn0rj_211 {
  position: relative;
  flex-shrink: 0;
}
._imgBtnRemove_xn0rj_215 {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--danger);
  border: none;
  color: white;
  font-size: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Preference rows ─────────────────────────────────────────────── */
._prefRow_xn0rj_234 {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 2px;
  cursor: pointer;
  user-select: none;
}
._prefCheck_xn0rj_242 {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--link);
  cursor: pointer;
}
._prefLabel_xn0rj_249 {
  font-size: 13px;
  color: var(--text);
}
._prefDayInput_xn0rj_253 {
  width: 52px;
  text-align: center;
  flex-shrink: 0;
}
._prefDayDisabled_xn0rj_258 {
  opacity: 0.35;
  pointer-events: none;
}

/* ── Version panel ───────────────────────────────────────────────── */
._verPanel_xn0rj_264 {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
  margin-bottom: 14px;
}
._verPanelHeader_xn0rj_271 {
  display: flex;
  align-items: center;
  gap: 8px;
}
._verPanelTitle_xn0rj_276 {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  flex: 1;
}
._verPanelBody_xn0rj_283 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12px;
}
._verRow_xn0rj_291 {
  display: flex;
  align-items: center;
  gap: 6px;
}
._verLbl_xn0rj_296 {
  color: var(--muted);
}
._verVal_xn0rj_299 {
  font-family: monospace;
  font-weight: 600;
  color: var(--text);
}
._verChecking_xn0rj_304 {
  color: var(--muted);
  font-size: 12px;
}
._verUpToDate_xn0rj_308 {
  color: var(--muted);
  font-size: 12px;
}
._verError_xn0rj_312 {
  color: var(--danger);
  font-size: 12px;
}
._verUpdateBtn_xn0rj_316 {
  font-size: 12px;
  padding: 3px 12px;
}
