/* ============================================
   57_Apple_AppStore - 苹果App Store风格论坛
   ============================================ */

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

:root {
  --as2-blue: #007AFF;
  --as2-blue-dark: #004E9A;
  --as2-bg: #FFFFFF;
  --as2-surface: #F5F5F7;
  --as2-text: #1D1D1F;
  --as2-text-secondary: #86868B;
  --as2-border: #D2D2D7;
  --as2-shadow: 0 4px 20px rgba(0,0,0,0.1);
  --as2-radius: 12px;
  --as2-radius-lg: 22px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, "SF Pro Display", "Noto Sans SC", sans-serif;
  background: var(--as2-bg);
  color: var(--as2-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

a { color: var(--as2-blue); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Top Search Bar ---- */
.as2-topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--as2-border);
  padding: 12px 24px;
}
.as2-topbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.as2-logo img { height: 32px; }
.as2-top-search {
  position: relative; flex: 1; max-width: 400px;
}
.as2-top-search input {
  width: 100%; height: 36px;
  padding: 0 12px 0 36px;
  border: none; border-radius: 10px;
  font-size: 14px; background: var(--as2-surface);
  outline: none;
}
.as2-top-search svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: var(--as2-text-secondary);
}
.as2-user-area { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.as2-user-area img { width: 32px; height: 32px; border-radius: 50%; }
.as2-user-area .as2-login-btn {
  padding: 6px 18px; font-size: 13px; font-weight: 600;
  background: var(--as2-blue); color: #fff;
  border: none; border-radius: 16px; cursor: pointer;
}

/* ---- Category Scroll Bar ---- */
.as2-category-bar {
  background: #fff; border-bottom: 1px solid var(--as2-border);
  position: sticky; top: 61px; z-index: 90;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.as2-category-bar::-webkit-scrollbar { display: none; }
.as2-category-inner {
  display: flex; gap: 8px; padding: 10px 24px;
  max-width: 1200px; margin: 0 auto; width: max-content;
}
.as2-category-item {
  padding: 6px 16px; font-size: 13px; font-weight: 500;
  white-space: nowrap; border-radius: 16px;
  background: var(--as2-surface); color: var(--as2-text);
  cursor: pointer; transition: all .2s;
}
.as2-category-item.active { background: var(--as2-blue); color: #fff; }
.as2-category-item:hover { opacity: .85; }

/* ---- Page Container ---- */
.as2-container {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
}

/* ---- Today Large Card ---- */
.as2-today-card {
  border-radius: var(--as2-radius-lg); overflow: hidden;
  margin-bottom: 24px; box-shadow: var(--as2-shadow);
  position: relative; cursor: pointer;
  transition: transform .2s;
}
.as2-today-card:hover { transform: translateY(-2px); }
.as2-today-card img { width: 100%; }
.as2-today-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.as2-today-label { font-size: 12px; color: #fff; opacity: .8; text-transform: uppercase; letter-spacing: 1px; }
.as2-today-title { font-size: 28px; font-weight: 700; color: #fff; margin-top: 4px; }
.as2-today-subtitle { font-size: 15px; color: #fff; opacity: .9; margin-top: 4px; }

/* ---- Section Header ---- */
.as2-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.as2-section-header h2 { font-size: 22px; font-weight: 700; }
.as2-section-header a { font-size: 14px; color: var(--as2-blue); }

/* ---- Horizontal Scroll Cards ---- */
.as2-h-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 8px;
  margin: 0 -24px; padding-left: 24px; padding-right: 24px;
}
.as2-h-scroll::-webkit-scrollbar { display: none; }
.as2-h-card {
  flex-shrink: 0; width: 280px; border-radius: var(--as2-radius);
  overflow: hidden; background: var(--as2-surface); cursor: pointer;
  transition: transform .2s;
}
.as2-h-card:hover { transform: scale(1.02); }
.as2-h-card-img {
  width: 100%; height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #fff; font-weight: 700;
}
.as2-h-card-body { padding: 14px; }
.as2-h-card-cat { font-size: 11px; color: var(--as2-text-secondary); text-transform: uppercase; letter-spacing: .5px; }
.as2-h-card-title { font-size: 15px; font-weight: 600; margin: 4px 0; line-height: 1.3; }
.as2-h-card-desc { font-size: 12px; color: var(--as2-text-secondary); line-height: 1.4; }

/* Card gradient colors */
.as2-grad-blue { background: linear-gradient(135deg, #007AFF, #5856D6); }
.as2-grad-green { background: linear-gradient(135deg, #34C759, #30D158); }
.as2-grad-orange { background: linear-gradient(135deg, #FF9500, #FF6B00); }
.as2-grad-purple { background: linear-gradient(135deg, #AF52DE, #BF5AF2); }
.as2-grad-red { background: linear-gradient(135deg, #FF3B30, #FF2D55); }
.as2-grad-teal { background: linear-gradient(135deg, #5AC8FA, #007AFF); }
.as2-grad-pink { background: linear-gradient(135deg, #FF2D55, #AF52DE); }
.as2-grad-indigo { background: linear-gradient(135deg, #5856D6, #007AFF); }
.as2-grad-yellow { background: linear-gradient(135deg, #FFCC00, #FF9500); }
.as2-grad-mint { background: linear-gradient(135deg, #00C7BE, #34C759); }

/* ---- App Grid (Board Grid) ---- */
.as2-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}
.as2-app-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--as2-radius);
  background: var(--as2-surface); cursor: pointer;
  transition: background .2s;
}
.as2-app-item:hover { background: #EBEBED; }
.as2-app-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.as2-app-info { flex: 1; min-width: 0; }
.as2-app-name { font-size: 15px; font-weight: 600; }
.as2-app-desc { font-size: 12px; color: var(--as2-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as2-app-stats { font-size: 11px; color: var(--as2-text-secondary); margin-top: 2px; }
.as2-get-btn {
  padding: 6px 16px; font-size: 13px; font-weight: 700;
  background: rgba(0,122,255,0.1); color: var(--as2-blue);
  border: none; border-radius: 16px; cursor: pointer;
  flex-shrink: 0;
}
.as2-get-btn:hover { background: rgba(0,122,255,0.2); }

/* ---- Main Layout (with sidebar) ---- */
.as2-main {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1fr) 280px;
  gap: 24px; padding: 20px 24px;
}

/* ---- Breadcrumb ---- */
.as2-breadcrumb {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px 0; font-size: 13px; color: var(--as2-text-secondary);
}
.as2-breadcrumb a { color: var(--as2-blue); }
.as2-breadcrumb span { margin: 0 6px; }

/* ---- Board Info Card ---- */
.as2-board-card {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
}
.as2-board-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: var(--as2-surface); border-radius: var(--as2-radius-lg);
}
.as2-board-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.as2-board-text h1 { font-size: 24px; font-weight: 700; }
.as2-board-text p { font-size: 13px; color: var(--as2-text-secondary); }
.as2-board-text .as2-board-stats { display: flex; gap: 16px; margin-top: 6px; }
.as2-board-text .as2-board-stats span { font-size: 12px; color: var(--as2-text-secondary); }
.as2-board-text .as2-board-stats strong { color: var(--as2-text); }
.as2-post-btn {
  margin-left: auto; padding: 10px 24px;
  background: var(--as2-blue); color: #fff; border: none;
  border-radius: 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.as2-post-btn:hover { opacity: .9; }

/* ---- Post List ---- */
.as2-post-list { display: flex; flex-direction: column; gap: 10px; }
.as2-post-card {
  display: flex; gap: 14px; padding: 16px;
  border-radius: var(--as2-radius); background: var(--as2-surface);
  cursor: pointer; transition: background .2s;
}
.as2-post-card:hover { background: #EBEBED; }
.as2-post-thumb {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.as2-post-content { flex: 1; min-width: 0; }
.as2-post-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.as2-post-excerpt { font-size: 13px; color: var(--as2-text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as2-post-info { display: flex; gap: 14px; margin-top: 8px; }
.as2-post-info span { font-size: 11px; color: var(--as2-text-secondary); display: flex; align-items: center; gap: 4px; }
.as2-post-info svg { width: 12px; height: 12px; fill: currentColor; }
.as2-post-screenshots { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.as2-post-screenshots::-webkit-scrollbar { display: none; }
.as2-post-screenshots img { width: 120px; height: 80px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }

/* ---- Pagination ---- */
.as2-pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; }
.as2-pagination a, .as2-pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 10px; font-size: 13px;
  border: 1px solid var(--as2-border); color: var(--as2-text); background: #fff;
}
.as2-pagination a:hover { background: var(--as2-surface); text-decoration: none; }
.as2-pagination .active { background: var(--as2-blue); color: #fff; border-color: var(--as2-blue); }

/* ---- Sidebar ---- */
.as2-sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.as2-widget { background: var(--as2-surface); border-radius: var(--as2-radius); padding: 16px; }
.as2-widget h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.as2-widget-list { list-style: none; }
.as2-widget-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 13px; }
.as2-widget-list li:last-child { border-bottom: none; }
.as2-rank { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--as2-text-secondary); flex-shrink: 0; }
.as2-rank.r1 { background: #FF9500; }
.as2-rank.r2 { background: #86868B; }
.as2-rank.r3 { background: #FF9500; opacity: .7; }
.as2-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.as2-tag { padding: 4px 12px; background: #fff; border-radius: 14px; font-size: 12px; color: var(--as2-blue); border: 1px solid var(--as2-border); }

/* ---- Detail Page ---- */
.as2-detail-main {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1fr) 280px;
  gap: 24px; padding: 20px 24px;
}
.as2-detail-title { font-size: 28px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.as2-op {
  background: var(--as2-surface); border-radius: var(--as2-radius-lg);
  padding: 24px; margin-bottom: 20px;
}
.as2-op-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.as2-op-header img { width: 48px; height: 48px; border-radius: 12px; }
.as2-op-name { font-size: 15px; font-weight: 600; }
.as2-op-time { font-size: 12px; color: var(--as2-text-secondary); }
.as2-op-badge { margin-left: auto; padding: 4px 12px; font-size: 11px; background: var(--as2-blue); color: #fff; border-radius: 12px; }
.as2-op-content { font-size: 15px; line-height: 1.8; overflow: hidden; word-wrap: break-word; overflow-wrap: anywhere; }
.as2-op-content p { margin-bottom: 12px; }
.as2-op-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
.as2-op-content table { max-width: 100%; display: block; overflow-x: auto; }
.as2-op-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.as2-op-images { display: flex; gap: 8px; margin: 16px 0; overflow-x: auto; scrollbar-width: none; }
.as2-op-images::-webkit-scrollbar { display: none; }
.as2-op-images img { width: 200px; height: 140px; border-radius: 12px; flex-shrink: 0; object-fit: cover; }
.as2-op-actions { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--as2-border); }
.as2-op-actions button { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--as2-border); border-radius: 20px; background: #fff; cursor: pointer; font-size: 13px; color: var(--as2-text-secondary); }
.as2-op-actions button:hover { background: var(--as2-surface); }
.as2-op-actions svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- Replies ---- */
.as2-replies { background: #fff; border-radius: var(--as2-radius-lg); padding: 24px; }
.as2-replies h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.as2-reply { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--as2-border); }
.as2-reply:last-child { border-bottom: none; }
.as2-reply img { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.as2-reply-body { flex: 1; }
.as2-reply-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.as2-reply-name { font-size: 14px; font-weight: 600; }
.as2-reply-floor { font-size: 11px; color: var(--as2-text-secondary); }
.as2-reply-text { font-size: 14px; line-height: 1.7; }
.as2-reply-time { font-size: 11px; color: var(--as2-text-secondary); margin-top: 6px; }

/* ---- Reply Box ---- */
.as2-reply-box { margin-top: 24px; background: var(--as2-surface); border-radius: var(--as2-radius); padding: 16px; }
.as2-reply-box h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.as2-reply-box textarea { width: 100%; min-height: 100px; padding: 12px; border: 1px solid var(--as2-border); border-radius: 12px; font-size: 14px; font-family: inherit; resize: vertical; background: #fff; outline: none; }
.as2-reply-box textarea:focus { border-color: var(--as2-blue); }
.as2-reply-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.as2-reply-actions button { padding: 8px 24px; background: var(--as2-blue); color: #fff; border: none; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ---- Search Page ---- */
.as2-search-page { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.as2-search-hero { text-align: center; margin-bottom: 24px; }
.as2-search-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.as2-search-input-wrap { position: relative; margin-bottom: 20px; }
.as2-search-input-wrap input { width: 100%; height: 52px; padding: 0 16px 0 48px; border: 1px solid var(--as2-border); border-radius: 14px; font-size: 16px; background: var(--as2-surface); outline: none; }
.as2-search-input-wrap input:focus { border-color: var(--as2-blue); background: #fff; }
.as2-search-input-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: var(--as2-text-secondary); }
.as2-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.as2-chip { padding: 6px 16px; border-radius: 18px; font-size: 13px; background: var(--as2-surface); color: var(--as2-text); cursor: pointer; border: 1px solid transparent; }
.as2-chip.active { background: var(--as2-blue); color: #fff; }
.as2-search-results { margin-top: 32px; }
.as2-search-results h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.as2-search-result { display: flex; gap: 14px; padding: 16px; background: var(--as2-surface); border-radius: var(--as2-radius); margin-bottom: 10px; cursor: pointer; }
.as2-search-result:hover { background: #EBEBED; }
.as2-search-result-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; font-weight: 700; flex-shrink: 0; }
.as2-search-result-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.as2-search-result-body p { font-size: 13px; color: var(--as2-text-secondary); }
.as2-search-result-meta { font-size: 11px; color: var(--as2-text-secondary); margin-top: 6px; }
.as2-hot-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---- Bottom Tab Bar ---- */
.as2-tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--as2-border);
  display: flex; justify-content: space-around;
  padding: 8px 0; max-width: 600px; margin: 0 auto;
}
.as2-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 16px; cursor: pointer; color: var(--as2-text-secondary);
  font-size: 10px; text-decoration: none;
}
.as2-tab.active { color: var(--as2-blue); }
.as2-tab svg { width: 26px; height: 26px; fill: currentColor; }

/* ---- Footer ---- */
.as2-footer { background: var(--as2-surface); border-top: 1px solid var(--as2-border); padding: 32px 24px; }
.as2-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.as2-footer-links { display: flex; gap: 20px; }
.as2-footer-links a { font-size: 12px; color: var(--as2-text-secondary); }
.as2-footer-copy { font-size: 12px; color: var(--as2-text-secondary); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .as2-main, .as2-detail-main { grid-template-columns: 1fr; }
  .as2-sidebar { order: 2; }
  .as2-app-grid { grid-template-columns: 1fr; }
}

/* ---- PC Layout Protection ---- */
.as2-main > div:first-child,
.as2-detail-main > div:first-child {
  min-width: 0;
  overflow: hidden;
}
.as2-post-content,
.as2-reply-body,
.comment-body {
  min-width: 0;
}

/* ============================================
   CMS Styles - Pagination & Comments
   ============================================ */

/* ---- CMS Pagination (.jv-pagination) ---- */
.jv-pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; flex-wrap: wrap; }
.jv-pagination a, .jv-pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 10px; font-size: 13px;
  border: 1px solid var(--as2-border); color: var(--as2-text); background: #fff;
  text-decoration: none; transition: all .2s;
}
.jv-pagination a:hover { background: var(--as2-surface); text-decoration: none; }
.jv-pagination .current { background: var(--as2-blue); color: #fff; border-color: var(--as2-blue); }
.jv-pagination .disabled { color: var(--as2-text-secondary); cursor: default; opacity: .5; }

/* ---- CMS Comment System (.comment-*) ---- */
.comment-item {
  display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--as2-border);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.comment-name { font-size: 14px; font-weight: 600; color: var(--as2-text); }
.comment-time { font-size: 11px; color: var(--as2-text-secondary); }
.comment-floor { font-size: 11px; color: var(--as2-text-secondary); margin-left: auto; }
.comment-text { font-size: 14px; line-height: 1.7; color: var(--as2-text); }
.comment-text img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.comment-actions { margin-top: 8px; display: flex; gap: 12px; }
.comment-reply-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; font-size: 12px; color: var(--as2-text-secondary);
  background: none; border: 1px solid var(--as2-border); border-radius: 14px;
  cursor: pointer; transition: all .2s;
}
.comment-reply-btn:hover { background: var(--as2-surface); color: var(--as2-blue); }
.comment-reply-form { display: none; margin-top: 12px; padding: 12px; background: var(--as2-surface); border-radius: 12px; }
.comment-reply-input {
  width: 100%; min-height: 60px; padding: 10px; border: 1px solid var(--as2-border);
  border-radius: 10px; font-size: 13px; font-family: inherit; resize: vertical;
  background: #fff; outline: none; margin-bottom: 8px;
}
.comment-reply-input:focus { border-color: var(--as2-blue); }
.comment-reply-submit {
  padding: 6px 16px; background: var(--as2-blue); color: #fff; border: none;
  border-radius: 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.comment-reply-submit:hover { opacity: .9; }
.comment-replies { margin-left: 56px; }
.comment-replies .comment-item { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.comment-replies .comment-avatar { width: 36px; height: 36px; border-radius: 10px; }
.comment-replies .comment-name { font-size: 13px; }
.comment-replies .comment-text { font-size: 13px; }

/* ---- CMS Comment Load More Button ---- */
#commentLoadMoreBtn {
  padding: 8px 24px; background: var(--as2-surface); color: var(--as2-blue);
  border: 1px solid var(--as2-border); border-radius: 20px; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all .2s;
}
#commentLoadMoreBtn:hover { background: #EBEBED; }

/* ---- CMS Comment Form ---- */
#commentTextarea {
  width: 100%; min-height: 100px; padding: 12px; border: 1px solid var(--as2-border);
  border-radius: 12px; font-size: 14px; font-family: inherit; resize: vertical;
  background: #fff; outline: none; margin-bottom: 8px;
}
#commentTextarea:focus { border-color: var(--as2-blue); }
#commentSubmitBtn {
  padding: 8px 24px; background: var(--as2-blue); color: #fff; border: none;
  border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer;
}
#commentSubmitBtn:hover { opacity: .9; }
#commentSubmitBtn:disabled { opacity: .5; cursor: default; }

/* ---- CMS Comment Empty State ---- */
#commentEmpty p { font-size: 14px; color: var(--as2-text-secondary); }

/* ---- Force PC Article Sidebar Layout ---- */
main.as2-detail-main {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 280px !important;
  gap: 24px !important;
  align-items: start !important;
}
main.as2-detail-main > div:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
main.as2-detail-main > aside.as2-sidebar {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}
