/* glc.css: the GLC format's own rules (class prefix gl-). The LOOK below is the session's: keep it as it is. */

/* the format row: one choice for the whole site (lobby, Decks, Ladder) */
.gl-fmt{display:inline-flex;gap:4px;padding:4px;border-radius:14px;border:1px solid var(--line2);background:color-mix(in srgb,var(--panel) 78%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.gl-fmt button{height:40px;min-width:118px;padding:0 18px;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--ink2);font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:.05em;cursor:pointer;white-space:nowrap}
.gl-fmt button:hover{color:var(--ink)}
.gl-fmt button[aria-pressed="true"]{background:linear-gradient(180deg,color-mix(in srgb,var(--gold) 88%,#fff),var(--gold2));color:var(--on-gold);border-color:var(--gold)}
.gl-fmt button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.gl-fmt.sm button{height:34px;min-width:0;padding:0 14px;font-size:16px}   /* beside a page's title: Decks, Ladder */
.gl-fmt{width:fit-content;max-width:100%;justify-self:start}   /* never stretched by a grid or column parent (the Ladder page) */
@media (max-width:899px){.gl-fmt{display:flex}.gl-fmt button{flex:1;min-width:0;padding:0 6px;font-size:17px;letter-spacing:.03em}}

/* the GLC mark on a row, a card or a header */
.gl-chip{display:inline-block;padding:1px 8px;border-radius:999px;border:1px solid var(--gold);color:var(--gold);font-family:var(--display);font-size:13px;font-weight:700;letter-spacing:.06em;line-height:18px;vertical-align:middle;white-space:nowrap}

/* where the row stands: the first row of the home's stage column, and the first element of step 2 */
@media (min-width:900px){
  .shell .body.athome>.home{grid-template-rows:auto minmax(0,1fr) auto}
  .home-modes{grid-row:1/4}
  .gl-home-fmt{grid-column:2;grid-row:1;display:flex;justify-content:center;min-width:0}
}
.gl-step-fmt{display:flex;justify-content:center;margin-bottom:12px}
@media (max-width:899px){.gl-step-fmt .gl-fmt{width:100%}}

/* the Decks page: the format row beside the Decks / Cubes switch; the shelf's type headings; the builder's type row */
.gl-decks-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.gl-typeh{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--display);font-size:20px;font-weight:700;letter-spacing:.03em;color:var(--ink)}
.gl-typegrp{min-width:0}
/* the GLC shelf (the session's design): the 11 types side by side, each with its two boxes: three groups a row at desktop width, one on a phone */
.cp-shelf.gl-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:26px 44px}
.gl-typegrp .boxes.cp-row{grid-template-columns:repeat(2,minmax(0,170px));gap:36px 28px}
@media (max-width:640px){.cp-shelf.gl-shelf{grid-template-columns:1fr;gap:18px}.gl-typegrp .boxes.cp-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* the small format row keeps its own width and side padding on a phone */
@media (max-width:899px){.gl-fmt.sm{display:inline-flex}.gl-fmt.sm button{flex:0 0 auto;padding:0 14px}}
.gl-types{display:flex;flex-wrap:wrap;gap:6px}
.gl-chip-std{border-color:var(--line2);color:var(--ink2)}
