/* =========================================================================
   MC 启动器列表样式（加载顺序 mc-gui.css → launcher.css）
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 15px 40px; background: rgba(10, 10, 21, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.15); line-height: 1.5;
}
.header-content { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-item-dropdown, .user-dropdown, .settings-menu { position: relative; }
.nav-item { display: flex; align-items: center; gap: 6px; }
.nav-item i { font-size: 10px; transition: transform .3s ease; color: #a5b4fc; }
.nav-item-dropdown:hover .nav-item i { transform: rotate(180deg); }
.nav-link { padding: 10px 20px; color: rgba(255,255,255,.8); text-decoration: none; font-weight: 500; transition: all .3s ease; border-radius: 8px; white-space: nowrap; }
.nav-link:hover { color: #667eea; background: rgba(102,126,234,.1); }
.nav-link.active { color: #a5b4fc; background: rgba(102,126,234,.15); }
.dropdown-menu { position: absolute; top: 100%; left: 0; margin-top: 10px; background: rgba(15,23,42,.98); backdrop-filter: blur(20px); border: 1px solid rgba(102,126,234,.2); border-radius: 12px; padding: 8px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s ease; box-shadow: 0 20px 40px rgba(0,0,0,.5); z-index: 100; }
.nav-item-dropdown:hover .dropdown-menu, .user-dropdown:hover .dropdown-menu, .settings-menu:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; color: rgba(226,232,240,.8); text-decoration: none; border-radius: 8px; transition: all .2s ease; font-size: 14px; }
.dropdown-menu a:hover { background: rgba(102,126,234,.15); color: #a5b4fc; }
.user-dropdown-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(102,126,234,.1); border: 1px solid rgba(102,126,234,.2); border-radius: 10px; text-decoration: none; color: #e0e7ff; transition: all .3s ease; }
.settings-menu > a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: rgba(102,126,234,.1); border: 1px solid rgba(102,126,234,.2); border-radius: 10px; color: #a5b4fc; text-decoration: none; }
.settings-menu .dropdown-menu, .user-dropdown .dropdown-menu { right: 0; left: auto; }
.header-right { display: flex; align-items: center; gap: 16px; }
.logo img { height: 38px; width: auto; }
#auth-buttons { display: flex; align-items: center; gap: 10px; }
.btn-login, .btn-register, .btn-secondary, .btn-primary { padding: 10px 22px; font-size: 14px; border-radius: 50px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; transition: all .3s ease; border: none; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); color: #fff; box-shadow: 0 4px 20px rgba(102,126,234,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(102,126,234,.5); }
.btn-secondary { background: rgba(102,126,234,.15); border: 1px solid rgba(102,126,234,.3); color: #a5b4fc; }
.btn-secondary:hover { background: rgba(102,126,234,.25); color: #818cf8; }

.footer { background: rgba(10,10,21,.7); border-top: 1px solid rgba(102,126,234,.15); padding: 60px 20px 40px; margin-top: 60px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; color: #e0e7ff; }
.footer-brand p { color: #cbd5e1; line-height: 1.6; font-size: 14px; }
.footer-links h4 { font-size: 12px; font-weight: 700; margin-bottom: 16px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 14px; transition: all .3s ease; }
.footer-links a:hover { color: #818cf8; }

/* ---------------------------------------------------------- 主体 */
body { background: #0b1120; color: #e2e8f0; font-family: system-ui,-apple-system,'Segoe UI','Microsoft YaHei',sans-serif; }
.lnch-main { padding: 120px 20px 40px; max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }

.lnch-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.lnch-hero h1 { font-size: 28px; font-weight: 800; color: #e0e7ff; display: flex; align-items: center; gap: 10px; }
.lnch-hero h1 i { color: #a5b4fc; }
.lnch-hero p { color: #94a3b8; font-size: 14px; margin-top: 8px; max-width: 720px; line-height: 1.7; }
.lnch-stat { display: flex; gap: 22px; }
.lnch-stat div { text-align: center; }
.lnch-stat strong { display: block; font-size: 22px; color: #a5b4fc; font-weight: 800; }
.lnch-stat span { font-size: 12px; color: #94a3b8; }

.lnch-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.lnch-toolbar select, .lnch-toolbar input {
  background: rgba(15,23,42,.9); border: 1px solid rgba(102,126,234,.25); color: #cbd5e1;
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; outline: none; min-width: 130px;
}
.lnch-toolbar input { min-width: 240px; flex: 1; max-width: 380px; }
.lnch-toolbar select:focus, .lnch-toolbar input:focus { border-color: rgba(102,126,234,.7); }
.lnch-toolbar .lnch-btn { margin-left: auto; }

.lnch-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid rgba(102,126,234,.28); background: rgba(102,126,234,.14); color: #c7d2fe; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s ease; white-space: nowrap; }
.lnch-btn:hover { background: rgba(102,126,234,.25); color: #fff; border-color: rgba(102,126,234,.5); }
.lnch-btn.primary { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); color: #fff; border: none; box-shadow: 0 4px 18px rgba(102,126,234,.35); }
.lnch-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(102,126,234,.5); }
.lnch-btn.ghost { background: transparent; color: #94a3b8; }
.lnch-btn.ghost:hover { background: rgba(102,126,234,.12); color: #cbd5e1; }
.lnch-btn.sm { padding: 7px 12px; font-size: 12.5px; }
.lnch-btn.danger { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.12); color: #fca5a5; }

/* 卡片网格 */
.lnch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
.lnch-card { background: rgba(15,23,42,.86); border: 1px solid rgba(102,126,234,.2); border-radius: 16px; overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.lnch-card:hover { transform: translateY(-4px); border-color: rgba(102,126,234,.55); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.lnch-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg,#1e293b,#312e81); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lnch-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnch-cover .ph { font-size: 34px; font-weight: 800; letter-spacing: 1px; color: rgba(199,210,254,.85); text-transform: uppercase; }
.lnch-type { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(99,102,241,.9); color: #fff; }
.lnch-type.official { background: rgba(34,197,94,.92); }
.lnch-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lnch-name { font-size: 16px; font-weight: 800; color: #e0e7ff; line-height: 1.35; }
.lnch-sum { font-size: 13px; color: #94a3b8; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.lnch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lnch-tag { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(102,126,234,.14); border: 1px solid rgba(102,126,234,.22); color: #a5b4fc; }
.lnch-foot { margin-top: auto; display: flex; gap: 8px; padding-top: 10px; }
.lnch-foot .lnch-btn { flex: 1; justify-content: center; }

.lnch-empty, .lnch-skel { padding: 46px 20px; text-align: center; color: #64748b; font-size: 14px; border: 1px dashed rgba(102,126,234,.25); border-radius: 14px; }
.lnch-pager { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }

/* ---------------------------------------------------------- 详情页 */
.lnch-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.lnch-panel { background: rgba(15,23,42,.86); border: 1px solid rgba(102,126,234,.2); border-radius: 16px; padding: 20px; }
.lnch-gallery .big { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#1e293b,#312e81); display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.lnch-gallery .big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnch-gallery .big .ph { font-size: 60px; font-weight: 800; color: rgba(199,210,254,.8); text-transform: uppercase; }
.lnch-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.lnch-thumbs img { width: 108px; height: 62px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: .72; transition: all .2s ease; }
.lnch-thumbs img:hover { opacity: 1; }
.lnch-thumbs img.on { border-color: #818cf8; opacity: 1; }
.lnch-detail h1 { font-size: 26px; font-weight: 800; color: #e0e7ff; margin-bottom: 8px; }
.lnch-meta { color: #64748b; font-size: 12.5px; margin-bottom: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.lnch-desc { color: #cbd5e1; font-size: 14px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.lnch-side h3 { font-size: 13px; color: #94a3b8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.lnch-kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(102,126,234,.14); font-size: 13.5px; }
.lnch-kv span { color: #94a3b8; flex: 0 0 auto; }
.lnch-kv b { color: #e2e8f0; font-weight: 600; text-align: right; word-break: break-all; }
.lnch-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.lnch-actions .lnch-btn { justify-content: center; padding: 13px 18px; font-size: 14px; }
.lnch-note { margin-top: 14px; font-size: 12px; color: #64748b; line-height: 1.7; }

/* ---------------------------------------------------------- 投稿页 */
.lnch-form { display: flex; flex-direction: column; gap: 16px; }
.lnch-field { display: flex; flex-direction: column; gap: 7px; }
.lnch-field label { font-size: 13px; color: #94a3b8; font-weight: 600; }
.lnch-field label .req { color: #f87171; }
.lnch-field input, .lnch-field textarea, .lnch-field select {
  background: rgba(2,6,23,.72); border: 1px solid rgba(102,126,234,.25); color: #e2e8f0;
  border-radius: 10px; padding: 11px 14px; font-size: 14px; outline: none; transition: border-color .2s ease;
  font-family: inherit; width: 100%;
}
.lnch-field input:focus, .lnch-field textarea:focus, .lnch-field select:focus { border-color: rgba(102,126,234,.7); }
.lnch-field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.lnch-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lnch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lnch-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(102,126,234,.25); background: rgba(15,23,42,.8); color: #94a3b8; font-size: 13px; cursor: pointer; user-select: none; transition: all .2s ease; }
.lnch-chip.on { border-color: #818cf8; background: rgba(102,126,234,.28); color: #fff; }
.lnch-shots { display: flex; flex-wrap: wrap; gap: 10px; }
.lnch-shot-item { position: relative; width: 150px; height: 86px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(102,126,234,.25); }
.lnch-shot-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lnch-shot-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0,0,0,.65); color: #fca5a5; cursor: pointer; font-size: 13px; line-height: 1; }
.lnch-upload { width: 150px; height: 86px; border-radius: 10px; border: 1px dashed rgba(102,126,234,.45); background: rgba(102,126,234,.08); color: #a5b4fc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 12.5px; }
.lnch-upload:hover { background: rgba(102,126,234,.16); }
.lnch-fine { font-size: 12px; color: #64748b; }
.lnch-submit-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lnch-msg { font-size: 13px; padding: 10px 14px; border-radius: 10px; display: none; }
.lnch-msg.ok { display: block; background: rgba(34,197,94,.14); color: #86efac; border: 1px solid rgba(34,197,94,.35); }
.lnch-msg.err { display: block; background: rgba(239,68,68,.14); color: #fca5a5; border: 1px solid rgba(239,68,68,.35); }

.lnch-mine { display: flex; flex-direction: column; gap: 10px; }
.lnch-mine-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(2,6,23,.55); border: 1px solid rgba(102,126,234,.16); font-size: 13.5px; }
.lnch-badge { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.lnch-badge.pending { background: rgba(234,179,8,.16); color: #fcd34d; }
.lnch-badge.approved { background: rgba(34,197,94,.16); color: #86efac; }
.lnch-badge.rejected { background: rgba(239,68,68,.16); color: #fca5a5; }

@media (max-width: 900px) {
  .lnch-detail { grid-template-columns: 1fr; }
  .lnch-row2 { grid-template-columns: 1fr; }
  .lnch-main { padding: 108px 14px 30px; }
  .lnch-hero { flex-direction: column; align-items: flex-start; }
}
