.ac-site-main:has(.comms-page) { padding: 0 !important; }
@media (max-width: 991.98px) {
    .ac-site-main:has(.comms-page) { padding: 0 !important; }
}
body:has(.comms-page),
.ac-site-main:has(.comms-page) { background: #070818; }
body:has(.comms-page) footer {
    margin-top: 0;
    background: #070818;
    border-top: 0;
    color: #94a3b8;
}
.comms-page {
    --spot-x: 50%;
    --spot-y: 18%;
    position: relative;
    overflow-x: hidden;
    min-height: calc(100dvh - 4.75rem);
    padding: 1rem clamp(0.8rem, 3vw, 2.4rem) 2.4rem;
    color: #e2e8f0;
    background:
        radial-gradient(900px 280px at 8% -8%, rgba(139, 92, 246, 0.22), transparent 55%),
        radial-gradient(820px 260px at 94% 108%, rgba(56, 189, 248, 0.16), transparent 52%),
        radial-gradient(640px 240px at 50% 0%, rgba(244, 114, 182, 0.12), transparent 46%),
        linear-gradient(180deg, #070818 0%, #0b1220 48%, #111827 100%);
}
.comms-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(255,255,255,0.08) 0 1px, transparent 1.6px),
        radial-gradient(420px 280px at var(--spot-x) var(--spot-y), rgba(125, 211, 252, 0.16), transparent 70%);
}
.comms-hero, .comms-grid, .comms-toast { position: relative; z-index: 1; }
.comms-hero { text-align: center; margin-bottom: 1.1rem; }
.comms-kicker {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.64rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #c4b5fd;
}
.comms-kicker i {
    width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #a78bfa;
    box-shadow: 0 0 12px #a78bfa; animation: commsPulse 1.6s ease-in-out infinite;
}
@keyframes commsPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.5; }
}
@keyframes commsRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.comms-hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 900; margin: 0.25rem 0 0.4rem;
    background: linear-gradient(90deg, #fff, #c4b5fd 38%, #7dd3fc 78%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.comms-hero > p { max-width: 40rem; margin: 0 auto 0.7rem; color: #94a3b8; }
.comms-orbs, .comms-hero-links, .comms-jump {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem;
}
.comms-orbs { margin-bottom: 0.45rem; }
.comms-orb {
    min-width: 5.6rem; padding: 0.22rem 0.7rem; border-radius: 999px; text-align: center;
    border: 1px solid rgba(167, 139, 250, 0.3); background: rgba(139, 92, 246, 0.12);
}
.comms-orb b { display: block; font-weight: 900; }
.comms-orb span { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: #c4b5fd; font-weight: 700; }
.comms-hint { font-size: 0.75rem; color: #64748b; margin: 0.45rem 0 0.55rem; }
.comms-chip {
    border-radius: 999px; padding: 0.32rem 0.75rem; text-decoration: none; font-weight: 700; font-size: 0.8rem;
    border: 1px solid rgba(167, 139, 250, 0.28); background: rgba(139, 92, 246, 0.1); color: #e9d5ff;
}
.comms-chip:hover { color: #fff; background: rgba(139, 92, 246, 0.22); }
.comms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0.85rem;
    max-width: 68rem;
    margin: 0 auto;
}
.comms-card {
    --ch-c: #a78bfa;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 0.85rem;
    padding: 1.05rem 1.1rem 1rem;
    border-radius: 1.25rem;
    background: rgba(8, 12, 24, 0.7);
    border: 1px solid color-mix(in srgb, var(--ch-c) 38%, rgba(255,255,255,0.08));
    animation: commsRise 0.45s cubic-bezier(.16,.84,.32,1) both;
    animation-delay: calc(var(--rise) * 70ms);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comms-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: var(--ch-c);
    box-shadow: 0 0 12px color-mix(in srgb, var(--ch-c) 55%, transparent);
}
.comms-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.4), 0 0 22px color-mix(in srgb, var(--ch-c) 22%, transparent);
}
.comms-card.is-featured { grid-column: 1 / -1; }
@media (min-width: 720px) {
    .comms-card.is-featured {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
}
.comms-card.tone-discord { --ch-c: #818cf8; }
.comms-card.tone-telegram { --ch-c: #38bdf8; }
.comms-card.tone-youtube { --ch-c: #fb7185; }
.comms-card.tone-donate { --ch-c: #fb923c; }
.comms-card.tone-post { --ch-c: #facc15; }
.comms-chip.tone-discord { border-color: rgba(129,140,248,0.35); color: #c7d2fe; }
.comms-chip.tone-telegram { border-color: rgba(56,189,248,0.35); color: #bae6fd; }
.comms-chip.tone-youtube { border-color: rgba(251,113,133,0.35); color: #fecdd3; }
.comms-chip.tone-donate { border-color: rgba(251,146,60,0.35); color: #fed7aa; }
.comms-chip.tone-post { border-color: rgba(250,204,21,0.35); color: #fde68a; }
.comms-mark {
    width: 3.1rem; height: 3.1rem; border-radius: 1rem;
    display: grid; place-items: center;
    font-weight: 900; letter-spacing: 0.04em;
    color: #0b1220; background: var(--ch-c);
    box-shadow: 0 0 18px color-mix(in srgb, var(--ch-c) 45%, transparent);
}
.comms-card h2 { font-size: 1.15rem; font-weight: 900; margin: 0 0 0.3rem; }
.comms-card p { margin: 0 0 0.35rem; color: #cbd5e1; }
.comms-card code {
    font-size: 0.72rem; color: color-mix(in srgb, var(--ch-c) 80%, #fff);
    background: rgba(2, 6, 23, 0.35); border-radius: 999px; padding: 0.12rem 0.5rem;
}
.comms-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.comms-open, .comms-copy {
    border-radius: 999px; padding: 0.38rem 0.85rem; font-weight: 800; font-size: 0.8rem;
    text-decoration: none; cursor: pointer; font: inherit; appearance: none;
}
.comms-open {
    background: linear-gradient(90deg, var(--ch-c), color-mix(in srgb, var(--ch-c) 55%, #fff));
    color: #0b1220; border: 0;
}
.comms-open:hover { color: #0b1220; filter: brightness(1.08); }
.comms-copy {
    border: 1px solid color-mix(in srgb, var(--ch-c) 40%, rgba(255,255,255,0.12));
    background: transparent; color: #e2e8f0;
}
.comms-copy:hover { background: color-mix(in srgb, var(--ch-c) 16%, transparent); color: #fff; }
.comms-copy.is-on { background: #4ade80; border: 0; color: #052e16; }
.comms-toast {
    position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
    border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 800; font-size: 0.8rem;
    background: #4ade80; color: #052e16; z-index: 40;
}
.comms-toast[hidden] { display: none !important; }
.comms-card.is-hot, .comms-card:target { outline: 2px solid var(--ch-c); outline-offset: 2px; }
@media (max-width: 700px) {
    .comms-page { padding: 0.85rem 0.7rem 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .comms-card, .comms-kicker i { animation: none !important; }
}
