* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f1923;
  --card-bg: #1a2634;
  --card-border: #2a3a4a;
  --primary: #4a9eff;
  --primary-hover: #3a8eef;
  --text: #e0e6ed;
  --text-muted: #8899aa;
  --success: #4caf50;
  --danger: #f44336;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #141e2a;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { opacity: 0.85; }

.btn-sm { padding: 5px 12px; font-size: 12px; }

/* Tabs */
.tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  margin-top: 20px;
}

.tab {
  padding: 8px 0;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.tab:hover, .tab.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.search-box {
  margin-left: auto;
  position: relative;
}

.search-box input {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 16px 8px 36px;
  color: var(--text);
  font-size: 14px;
  width: 220px;
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--primary); }
.search-box::before {
  content: '🔍';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px 32px;
  justify-items: center;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: min(100%, 500px);
  justify-self: center;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.game-card-top {
  display: flex;
  gap: 16px;
  padding: 16px;
  min-height: 0;
}

/* 竖图/方图：预览在左（默认 game-card--layout-side） */
.game-card--layout-side .game-card-top {
  flex-direction: row;
  align-items: flex-start;
}
.game-card--layout-side .thumb {
  flex: 0 0 148px;
  width: 148px;
  height: 220px;
}

/* 横图：预览在上 */
.game-card--layout-top .game-card-top {
  flex-direction: column;
  align-items: stretch;
}
.game-card--layout-top .thumb {
  flex: 0 0 auto;
  width: 100%;
  height: 200px;
  max-height: 240px;
  align-self: stretch;
}

.game-card .thumb {
  background: #0d1520;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.game-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d1520;
}
.game-card .thumb .badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}
.game-card .thumb .badge-private {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
}
.game-card .thumb .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--card-border);
}

.game-card .info {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.game-card .info .title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}
.game-card .info-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
}
/* 类名避免使用 author（易被广告拦截扩展误杀） */
.game-card .card-uploader-line {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
  color: var(--text);
}
.game-card .card-pubdate {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--text-muted);
}
/* 最多两行高度，超出纵向滚动；短/无描述不占多余空白 */
.game-card .info .desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 0;
  min-height: 0;
  white-space: normal;
  word-break: break-word;
  max-height: calc(1.45em * 2);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.game-card .info .desc::-webkit-scrollbar {
  width: 5px;
}
.game-card .info .desc::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}
.game-card .info .desc::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 3px;
}
.game-card .info .desc::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
/* 卡片内类别：单行横向滑动，与顶栏类别条一致的滚动条 */
.game-card .info-cats {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-bottom: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.game-card .info-cats::-webkit-scrollbar {
  height: 5px;
}
.game-card .info-cats::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.game-card .info-cats::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 3px;
}
.game-card .info-cats::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
.game-card .info-cats .card-cat {
  flex-shrink: 0;
  margin-right: 0;
}

.game-card .card-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 8px 6px;
  border-top: 1px solid var(--card-border);
}
.game-card .card-action-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  padding: 5px 4px;
  border-radius: 4px;
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: color 0.15s, background 0.15s;
}
.game-card .card-action-btn:hover {
  color: var(--primary);
  background: rgba(74, 158, 255, 0.1);
}
.game-card .card-action-btn.liked {
  color: #f44336;
}
.game-card .card-action-btn.card-action-danger:hover {
  color: var(--danger);
  background: rgba(244, 67, 54, 0.1);
}

.card-manage-left { display: flex; align-items: center; gap: 12px; }
.card-manage-right { display: flex; align-items: center; gap: 8px; }

@media (max-width: 600px) {
  .game-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .game-card--layout-side .game-card-top,
  .game-card--layout-top .game-card-top {
    flex-direction: column;
    align-items: center;
  }
  .game-card--layout-side .thumb,
  .game-card--layout-top .thumb {
    flex-basis: auto;
    width: 100%;
    max-width: 220px;
    height: 200px;
    max-height: 200px;
  }
}

/* Empty state */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty .icon { font-size: 64px; margin-bottom: 16px; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }

.modal {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal h2 { margin-bottom: 20px; font-size: 20px; }

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input.readonly-path { background: var(--bg-secondary); color: var(--text-muted); }

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.modal-comments { max-width: 420px; }
.comment-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 8px;
}
.comment-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 14px;
}
.comment-item:last-child { border-bottom: none; }
.comment-item .comment-author { color: var(--primary); font-weight: 500; margin-right: 8px; }
.comment-item .comment-time { font-size: 12px; color: var(--text-muted); }
.comment-actions { margin-left: 8px; }
.comment-action-btn { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 12px; padding: 0 4px; }
.comment-action-btn:hover { text-decoration: underline; }
.comment-action-del { color: var(--text-muted); }
.comment-action-del:hover { color: var(--danger); }
.comment-edit-wrap { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.comment-edit-wrap textarea { width: 100%; padding: 8px; background: var(--bg); border: 1px solid var(--card-border); border-radius: 6px; color: var(--text); font-size: 14px; resize: vertical; }
.comment-form-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.comment-form-wrap textarea {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  resize: none;
}
.game-meta-extra { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.game-meta-extra .like-btn { cursor: pointer; border: none; background: none; color: var(--text-muted); font-size: 14px; padding: 0 4px; display: inline-flex; align-items: center; gap: 4px; }
.game-meta-extra .like-btn:hover { color: var(--primary); }
.game-meta-extra .like-btn.liked { color: #f44336; }
.game-meta-extra .comment-btn { cursor: pointer; border: none; background: none; color: var(--text-muted); font-size: 14px; padding: 0 4px; display: inline-flex; align-items: center; gap: 4px; }
.game-meta-extra .comment-btn:hover { color: var(--primary); }
.list-meta-extra { font-size: 12px; color: var(--text-muted); margin-right: 8px; }
.comment-btn-inline { background: none; border: none; color: inherit; cursor: pointer; padding: 0; font-size: inherit; }
.comment-btn-inline:hover { color: var(--primary); }
.text-muted { color: var(--text-muted); font-size: 14px; }

.trash-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
}
.trash-title { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.trash-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.trash-expire { font-size: 12px; color: var(--danger); margin-bottom: 12px; }
.trash-actions { display: flex; gap: 8px; }

.alert {
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-error { background: rgba(244,67,54,0.15); color: #f44336; }
.alert-success { background: rgba(76,175,80,0.15); color: #4caf50; }

/* Play page */
.play-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.play-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #141e2a;
  border-bottom: 1px solid var(--card-border);
  flex-shrink: 0;
}
.play-header .game-title { font-size: 18px; font-weight: 600; }
.play-inapp-tip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(74, 158, 255, 0.12);
  border-bottom: 1px solid var(--card-border);
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.play-inapp-tip.visible { display: flex; }
.play-inapp-tip span { flex: 1; line-height: 1.4; }
.play-tip-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.play-tip-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.play-frame {
  flex: 1;
  border: none;
  width: 100%;
}

/* Manage page */
.manage-container { padding: 24px 32px; }
.manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.game-table {
  width: 100%;
  border-collapse: collapse;
}
.game-table th, .game-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.game-table th {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}
.game-table td { font-size: 14px; }
.game-table tr:hover { background: rgba(74,158,255,0.05); }

.actions { display: flex; gap: 8px; }

/* Auth page */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.auth-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
.auth-box h1 { text-align: center; margin-bottom: 8px; }
.auth-box .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.auth-toggle { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-muted); }

/* User info in header */
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header { padding: 12px 16px; }
  .tabs { padding: 0 16px; }
  .game-grid { padding: 16px; grid-template-columns: 1fr; }
  .manage-container { padding: 16px; }
}

/* Upload mode tabs */
.upload-tabs {
  display: flex;
  gap: 8px;
}
.upload-tab {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.upload-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(74,158,255,0.1);
}
.upload-tab:hover { border-color: var(--primary); }

.folder-info {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.folder-info.ready { color: var(--success); }

/* Field hint */
.field-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Thumbnail loading shimmer */
.game-card .thumb.loading {
  background: linear-gradient(90deg, #0d1520 25%, #1a2634 50%, #0d1520 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.game-card .thumb.loaded {
  animation: none;
  background: #0d1520;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 32px 32px;
  flex-wrap: wrap;
}
.page-info {
  color: var(--text-muted);
  font-size: 13px;
}
.page-btns {
  display: flex;
  gap: 4px;
  align-items: center;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all .15s;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-dots {
  color: var(--text-muted);
  padding: 0 4px;
}
.page-size {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-size select {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* View toggle */
.view-toggle {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}
.view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all .15s;
}
.view-btn:hover { border-color: var(--primary); color: var(--primary); }
.view-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Category bar：单行横向滑动，不占多行高度 */
.category-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 12px 32px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.category-bar::-webkit-scrollbar {
  height: 6px;
}
.category-bar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.category-bar::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 3px;
}
.category-bar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
.cat-tag {
  flex-shrink: 0;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all .15s;
  white-space: nowrap;
}
.cat-tag:hover { border-color: var(--primary); color: var(--primary); }
.cat-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px 0;
  flex-wrap: wrap;
}
.sort-label { font-size: 13px; color: var(--text-muted); }
.sort-btn {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
}
.sort-btn:hover { border-color: var(--primary); color: var(--primary); }
.sort-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.card-cat, .list-cat {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(74,158,255,0.15);
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 2px;
}
@media (max-width: 768px) {
  .category-bar { padding: 8px 12px 8px; gap: 6px; }
  .cat-tag { font-size: 12px; padding: 3px 10px; }
}

/* Category checkboxes in upload form */
.cat-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.cat-checkbox {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 3px 10px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: all .15s;
}
.cat-checkbox:hover { border-color: var(--primary); color: var(--primary); }
.cat-checkbox.checked { border-color: var(--primary); color: var(--primary); background: rgba(74,158,255,0.1); }
.cat-checkbox input { display: none; }

/* Shared checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* Private badge */
.badge-private {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(244,67,54,0.15);
  color: var(--danger);
  white-space: nowrap;
  flex-shrink: 0;
}

/* List view */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 32px;
}
.game-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.game-list-item:hover {
  background: rgba(74,158,255,0.08);
}
.list-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.list-title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}
.list-uploader {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 0;
  flex: 0 1 auto;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}
.list-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.list-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.list-play {
  color: var(--success);
  font-size: 16px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .game-list { padding: 8px 12px; }
  .game-list-item { gap: 8px; padding: 8px 12px; }
  .list-date { display: none; }
  .list-uploader { font-size: 11px; }
}
