
/* Desktop content density. Header and footer intentionally have no overrides. */
@media (min-width: 1100px) {
  .main .container { max-width: 1380px; }
  body:not(.page-index) .main { padding-top: 24px; padding-bottom: 44px; }
  .main .grid-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .main .sidebar { gap: 14px; }
  .main .column { min-width: 0; }
  .main .h1, .main .page-title .h1, .main .compact-hero .h1 {
    font-size: clamp(34px, 3.2vw, 44px); line-height: 1.06;
  }
  .main .h2 { font-size: 32px; }
  .main .text { line-height: 1.6; }
  .main .page-title, .main .compact-hero { padding: 24px 28px; margin-bottom: 18px; }
  .main .profile-clean { padding: 26px; }
  .main .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .main .news-card .img-banner { height: 170px; }

  .main .cm-home-hero { min-height: 500px; }
  .main .cm-home-hero-inner { min-height: 500px; padding-top: 80px; padding-bottom: 60px; }
  .main .cm-wordmark { font-size: clamp(62px, 5.2vw, 88px); }
  .main .cm-hero-tagline { margin-top: 14px; font-size: 18px; }
  .main .cm-hero-actions { margin-top: 20px; }
  .main .cm-hero-features { margin-top: 20px; }
  .main .cm-home-stack { gap: 14px; margin-top: -42px; }
  .main .cm-world-section { padding-bottom: 30px; }
  .main .cm-server-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .main .cm-server-card, .main .cm-server-content { min-height: 340px; }
  .main .cm-server-card { display: flex; flex-direction: column; }
  .main .cm-server-content { padding: 20px; flex: 1; }
  .main .cm-server-content h2 { font-size: 42px; }
  .main .cm-version { font-size: 20px; }
  .main .cm-server-content ul { margin-top: 10px; margin-bottom: 16px; gap: 6px; }
  .main .cm-card-button { min-width: 235px; height: 38px; margin-top: auto; flex-shrink: 0; }
  .main .cm-stat-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 66px; }
  .main .cm-stat-item { padding: 10px; gap: 10px; border-bottom: 0; }
  .main .cm-stat-item:last-child { grid-column: auto; }
  .main .cm-stat-item strong { font-size: 21px; }
  .main .cm-stat-item svg { width: 26px; height: 26px; }
  .main .cm-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main .cm-news-card:last-child { grid-column: auto; }
  .main .cm-news-image, .main .cm-news-card:last-child .cm-news-image { height: 125px; }
  .main .cm-news-body p { min-height: 0; }
}
@media (min-width: 1100px) and (max-width: 1380px) {
  .main .cm-home-hero-inner { padding-top: 48px; padding-bottom: 48px; }
}

/* Compact authentication captcha */
.auth-card .cm-captcha-field {display:grid;gap:7px;}
.auth-card .cm-captcha-row {display:grid;grid-template-columns:minmax(90px,140px) minmax(55px,1fr) 36px;align-items:center;gap:8px;}
.auth-card .cm-captcha-row img {display:block;width:100%;height:48px;object-fit:contain;border-radius:8px;}
.auth-card .cm-captcha-row input {width:100%;min-width:0;height:48px;margin:0;padding:8px;text-align:center;text-transform:uppercase;letter-spacing:2px;}
.auth-card .cm-captcha-refresh {width:36px;height:48px;padding:0;border:1px solid rgba(70,255,115,.25);border-radius:8px;background:rgba(30,80,45,.2);color:var(--green);font-size:26px;cursor:pointer;}
.auth-card .cm-captcha-refresh:hover {background:rgba(50,180,75,.2);}
.auth-card .cm-captcha-refresh:focus-visible {outline:2px solid var(--green);outline-offset:2px;}
