/* /discord-bots/gaming-communities (gcp-). Loaded after builtin_services.css
   (pa- tokens, hero type, buttons, mock window bar, closing band) and
   all_in_one.css (aio- sections, fact tiles, perks, steps, plans, FAQ,
   related links, the plugin rail), both unchanged. Only what is new to this
   page lives here. */

.gcp { --gcp-ok: #34d399; --gcp-bad: #f87171; --gcp-blurple: #5865f2; --gcp-grey: #4e5058; --gcp-green: #248046; --gcp-red: #da373c; --gcp-gold: #f6c453; }

.gcp-k { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted); }
.gcp-hash { color: var(--yb-muted); font-weight: 700; margin-right: 0.2rem; }

/* Discord's button colours, the same in both themes as in the app. */
.gcp-btn { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 500; line-height: 1; color: #fff; border-radius: 4px; padding: 0.42rem 0.66rem; white-space: nowrap; }
.gcp-btn-primary { background: var(--gcp-blurple); }
.gcp-btn-secondary { background: var(--gcp-grey); }
.gcp-btn-success { background: var(--gcp-green); }
.gcp-btn-danger { background: var(--gcp-red); }
.gcp-btn-sm { font-size: 0.64rem; padding: 0.34rem 0.5rem; }
.gcp-btn-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }

/* A Discord window: channel header, one bot message, an embed. */
.gcp-win { margin: 0; background: var(--yb-void); border: 1px solid var(--yb-border); border-radius: 12px; overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,0.28); min-width: 0; }
.gcp-chan { display: flex; align-items: center; font-weight: 600; font-size: 0.84rem; color: var(--yb-text); padding: 0.55rem 0.85rem; border-bottom: 1px solid var(--yb-border); background: var(--yb-overlay-soft); }
.gcp-msg { padding: 0.7rem 0.85rem 0.85rem; min-width: 0; }
.gcp-msg-head { display: flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; margin-bottom: 0.45rem; }
.gcp-msg-head b { font-weight: 600; color: var(--yb-text); }
.gcp-msg-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--yb-depth); border: 1px solid var(--yb-gold-dim); overflow: hidden; flex: none; }
.gcp-msg-av img { width: 76%; height: auto; display: block; }
.gcp-embed { border-left: 4px solid var(--yb-border2); background: var(--yb-depth); border-radius: 4px; padding: 0.55rem 0.8rem 0.6rem; display: grid; gap: 0.4rem; }
.gcp-embed-blurple { border-left-color: var(--gcp-blurple); }
.gcp-embed-gold { border-left-color: var(--gcp-gold); }
.gcp-embed-title { font-weight: 700; font-size: 0.9rem; color: var(--yb-text); }
.gcp-embed-desc { font-size: 0.76rem; line-height: 1.5; color: var(--yb-muted); }
.gcp-embed-desc b { color: var(--yb-text); }
.gcp-embed-foot { font-size: 0.62rem; color: var(--yb-muted2); }
.gcp-ef-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 0.8rem; }
.gcp-ef { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.gcp-ef-k { font-size: 0.7rem; font-weight: 700; color: var(--yb-text); }
.gcp-ef-v { font-size: 0.74rem; line-height: 1.45; color: var(--yb-muted); overflow-wrap: anywhere; }
.gcp-ef-v b { color: var(--yb-text); }
.gcp-ef-v em { font-style: italic; }
.gcp-ts { color: var(--yb-text); background: var(--yb-overlay-soft); border-radius: 3px; padding: 0 3px; }
.gcp-mention { color: #a5b4fc; background: rgba(88,101,242,0.16); border-radius: 3px; padding: 0 2px; }

/* ---- Hero stage: the raid signup, the LFG listing and the party ---- */
.gcp-stage { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 540px; padding-top: 112px; }
.gcp-bot { position: absolute; top: -44px; right: -24px; width: 290px; height: auto; z-index: 0; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.42)); }
.gcp-event { position: relative; z-index: 1; width: 74%; }
.gcp-lfg { position: relative; z-index: 2; width: 54%; margin: -118px 0 0 auto; background: var(--yb-abyss); border: 1px solid var(--yb-gold-dim); border-radius: 12px; padding: 0.7rem 0.8rem 0.75rem; display: grid; gap: 0.45rem; box-shadow: 0 0 0 1px rgba(59,130,246,0.1), 0 20px 50px rgba(37,99,235,0.22); transform: rotate(1deg); }
.gcp-lfg-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.gcp-lfg-top b { font-size: 0.86rem; color: var(--yb-text); }
.gcp-need { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: #0b1020; background: #72fac0; border-radius: 4px; padding: 1px 6px; }
.gcp-lfg-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem; font-size: 0.7rem; color: var(--yb-muted); }
.gcp-roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.gcp-roster li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; color: var(--yb-text); background: var(--yb-overlay-soft); border-radius: 5px; padding: 0.22rem 0.5rem; }
.gcp-roster li b { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; }
.gcp-slot-full { color: var(--yb-muted) !important; }
.gcp-select { display: flex; align-items: center; justify-content: space-between; font-size: 0.74rem; color: var(--yb-muted); background: var(--yb-depth); border: 1px solid var(--yb-border2); border-radius: 5px; padding: 0.38rem 0.55rem; }
.gcp-select svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Inline links in a section note. */
.gcp .aio-sec-note a { color: var(--yb-cyan); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Cards ---- */
.gcp-cards { display: grid; gap: 0.8rem; }
.gcp-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gcp-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gcp-cards-1 { grid-template-columns: 1fr; }
.gcp-card { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 1rem 1.05rem 1.1rem; }
.gcp-card-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--yb-cyan-bg); border: 1px solid var(--yb-cyan-dim); color: var(--yb-cyan); margin-bottom: 0.2rem; }
.gcp-card-ic svg { width: 17px; height: 17px; }
.gcp-card-t { font-family: var(--disp); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--yb-text); }
.gcp-card-x { font-size: 0.86rem; line-height: 1.56; color: var(--yb-muted); }

/* ---- 02 Events: the templates list ---- */
.gcp-events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.1rem; align-items: start; }
.gcp-templates { margin: 0; background: var(--yb-void); border: 1px solid var(--yb-border2); border-radius: 12px; padding: 0.95rem 1rem 0.85rem; box-shadow: 0 22px 60px rgba(0,0,0,0.24); }
.gcp-tpl-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.6rem; }
.gcp-tpl-n { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; color: var(--yb-text); }
.gcp-tpl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.gcp-tpl-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.6rem; padding: 0.42rem 0.6rem; border-radius: 7px; background: var(--yb-overlay-soft); border: 1px solid var(--yb-border); }
.gcp-tpl-list b { font-size: 0.84rem; font-weight: 600; color: var(--yb-text); }
.gcp-tpl-size { font-family: var(--mono); font-size: 0.66rem; color: var(--yb-cyan); align-self: center; justify-self: end; }
.gcp-tpl-roles { grid-column: 1 / -1; font-size: 0.74rem; color: var(--yb-muted); }
.gcp-tpl-cap { font-size: 0.8rem; line-height: 1.5; color: var(--yb-muted); margin-top: 0.7rem; }

/* ---- 03 Three services, one tile each ---- */
.gcp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.gcp-tile { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; padding: 1.15rem 1.15rem 1.1rem; text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.gcp-tile:hover { border-color: var(--yb-cyan-dim); transform: translateY(-2px); }
.gcp-tile-go { margin-top: auto; padding-top: 0.4rem; font-size: 0.84rem; font-weight: 600; color: var(--yb-cyan); }

/* ---- 04 Patch notes and streams ---- */
.gcp-news { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.gcp-games { background: var(--yb-void); border: 1px solid var(--yb-border2); border-radius: 12px; padding: 1rem 1.1rem 1.05rem; }
.gcp-game-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gcp-game-list li { font-size: 0.84rem; color: var(--yb-text); background: var(--yb-overlay-soft); border: 1px solid var(--yb-border2); border-radius: 6px; padding: 0.28rem 0.62rem; }
.gcp-game-more { color: var(--yb-cyan) !important; border-style: dashed !important; }
.gcp-games-note { font-size: 0.84rem; line-height: 1.55; color: var(--yb-muted); margin: 0.8rem 0 0; }

/* ---- 05 Giveaways ---- */
.gcp-split { align-items: start; }

/* ---- Closing band ---- */
.gcp-close .aio-close-art { max-width: 320px; }

/* ---- Light theme ---- */
[data-theme="light"] .gcp { --gcp-ok: #0f9f6e; --gcp-bad: #d63c3c; }
[data-theme="light"] .gcp-win, [data-theme="light"] .gcp-templates { box-shadow: 0 16px 40px rgba(30,41,80,0.12); }
[data-theme="light"] .gcp-lfg { box-shadow: 0 0 0 1px rgba(37,99,235,0.08), 0 14px 34px rgba(37,99,235,0.14); }
[data-theme="light"] .gcp-bot { filter: drop-shadow(0 14px 22px rgba(20,30,60,0.22)); }
[data-theme="light"] .gcp-btn-secondary { background: #6d6f78; }
[data-theme="light"] .gcp-mention { color: #4338ca; background: rgba(88,101,242,0.12); }
[data-theme="light"] .gcp-need { background: #34d399; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .gcp-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .gcp-stage { justify-self: center; max-width: 560px; }
  .gcp-events, .gcp-news { grid-template-columns: 1fr; }
  .gcp-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* Mono labels: legible floor on a phone, nothing below ~10px. */
  .gcp-k, .gcp-tpl-size, .gcp-need { font-size: 0.64rem; }
}
@media (max-width: 560px) {
  .gcp-stage { padding-top: 150px; }
  .gcp-bot { width: 220px; top: -18px; right: -6px; }
  .gcp-event { width: 94%; }
  .gcp-lfg { width: 92%; margin-top: 12px; transform: none; }
  .gcp-cards-4, .gcp-cards-2, .gcp-trio { grid-template-columns: 1fr; }
  .gcp-ef-row { grid-template-columns: 1fr 1fr; }
}
