/* ==========================================================================
   VZR gaming layer v2 (round 4): HERO (home page)
   A centred title column with a flank on each side and the tip strip.

     left flank   HOW TO JOIN  quest card
     centre       wordmark, subtitle, portal badge, pitch, call to action
     right flank  LOBBY UNIT CARD  (key art as portrait; seats / list / food)
     bottom       tip strip

   Wide screens: 3 columns. Below 1180px the title is on top and the two flanks sit side by side under it. Below 800px everything stacks.
   ========================================================================== */

body.g2.vzr-v2 main { padding-bottom: 6px; }
body.g2 .hero, body.g2 .hero-visual { background: transparent; }
body.g2 .mi-wrap { width: var(--g2-w); margin: 0 auto 28px; }

/* ---------- the frame ---------- */
body.g2 .hero-command.g2-hero {
  --hero-flank: clamp(268px, 22vw, 400px);
  position: relative; z-index: 3; display: grid; width: var(--g2-w); max-width: none; min-height: 0; margin: 44px auto 16px; padding: 24px 22px 0;
  grid-template-columns: var(--hero-flank) minmax(0, 1fr) var(--hero-flank); grid-template-areas: "join copy unit" "tip tip tip";
  column-gap: 22px; align-items: center;
  border: 2px solid transparent; border-radius: 8px;
  background:
    radial-gradient(60% 90% at 50% 0, rgba(var(--g2-glow), .30), transparent 72%),
    linear-gradient(180deg, rgba(255, 240, 210, .05), transparent 80px),
    linear-gradient(90deg, rgba(9, 6, 16, .84), rgba(11, 8, 20, .66) 50%, rgba(9, 6, 16, .84));
  box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .09), inset 0 0 44px rgba(var(--g2-glow), .16), 0 20px 46px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .55);
}
body.g2 .hero-command.g2-hero::after {
  content: ""; position: absolute; inset: -2px; z-index: 4; padding: 2px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(140deg, #f5d99b 0, #9b7b4c 16%, #5e4a3b 34%, #a471c0 50%, #5e4a3b 66%, #9b7b4c 84%, #f5d99b 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
body.g2 .hero-command.g2-hero::before {
  content: ""; position: absolute; inset: -3px; z-index: 4; pointer-events: none; box-shadow: none; background:
    var(--g2-corner-tl) left top / 26px 26px no-repeat, var(--g2-corner-tr) right top / 26px 26px no-repeat,
    var(--g2-corner-bl) left bottom / 26px 26px no-repeat, var(--g2-corner-br) right bottom / 26px 26px no-repeat;
}
.g2-hero-sky { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; pointer-events: none; z-index: 0; }
.g2-stars {
  position: absolute; inset: 0; opacity: .9; animation: g2-twinkle 6s ease-in-out infinite;
  background:
    radial-gradient(1.4px 1.4px at 6% 20%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 12% 62%, #e6dcff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 21% 34%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 29% 78%, #d9ccff 50%, transparent 55%),
    radial-gradient(1.4px 1.4px at 41% 12%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 58% 86%, #e6dcff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 66% 16%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 74% 76%, #d9ccff 50%, transparent 55%),
    radial-gradient(1.4px 1.4px at 82% 40%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 90% 12%, #e6dcff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 95% 66%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 35% 48%, #e6dcff 50%, transparent 55%);
}
@keyframes g2-twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
html[data-g2-time="day"] .g2-stars { opacity: 0; animation: none; }
html[data-g2-time="day"] .g2-hero-sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0, rgba(255, 210, 140, .10), transparent 70%); }

/* ---------- centre column ---------- */
.g2-hero-copy {
  grid-area: copy; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-width: 0; padding: 18px 4px 16px; text-align: center;
}
body.g2 .g2-badge {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid #b095cb; border-radius: 4px; white-space: nowrap;
  background: linear-gradient(180deg, #4a3070, #1f1233); color: #f6ebff; font: 800 10.5px/1 var(--g2-ui); letter-spacing: .2em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(0, 0, 0, .55), 0 0 20px rgba(var(--g2-glow), .5), 0 4px 10px rgba(0, 0, 0, .5);
  text-shadow: 0 1px 2px #000;
}
body.g2 .g2-badge span { padding: 0; color: #ffe6ad; font-size: 8px; }
body.g2 .g2-hero-copy > .g2-badge { margin-top: 2px; }

/* OPEN / FULL / ... pill lives on the board live line (injected by g2-home.js) */
.g2-pill {
  --pc: #39e27d; --pc-rgb: 57, 226, 125;
  margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 800 10.5px/1 var(--g2-ui); letter-spacing: .14em; text-transform: uppercase; color: #fff;
  border: 1px solid var(--pc);
  background: linear-gradient(180deg, rgba(var(--pc-rgb), .30), rgba(var(--pc-rgb), .10)), rgba(8, 6, 14, .88);
  box-shadow: 0 0 14px rgba(var(--pc-rgb), .38), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.g2-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 0 rgba(var(--pc-rgb), .7); animation: g2-pulse 1.9s ease-out infinite; }
.g2-pill-count { color: var(--pc); letter-spacing: .06em; }
.g2-pill-count:empty { display: none; }
.g2-pill[data-phase="full"] { --pc: #f2d98a; --pc-rgb: 242, 217, 138; }
.g2-pill[data-phase="starting"], .g2-pill[data-phase="hosting"] { --pc: #f4a45c; --pc-rgb: 244, 164, 92; }
.g2-pill[data-phase="ingame"] { --pc: #cba6ff; --pc-rgb: 203, 166, 255; }
.g2-pill[data-phase="idle"] { --pc: #a79bb6; --pc-rgb: 167, 155, 182; }
.g2-pill[data-phase="idle"] .g2-pill-dot { animation: none; box-shadow: none; }
@keyframes g2-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--pc-rgb), .7); } 70% { box-shadow: 0 0 0 9px rgba(var(--pc-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--pc-rgb), 0); } }
body.g2 .lobby-live .g2-pill { margin-left: 4px; flex: none; }

body.g2 .g2-title { margin: 0; max-width: none; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 0; line-height: 0; }
.g2-wordmark { width: min(500px, 100%); height: auto; aspect-ratio: 900 / 121; filter: drop-shadow(0 4px 18px rgba(var(--g2-glow), .8)) drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.g2-title-sub { display: flex; align-items: center; gap: 14px; font: 800 13px/1 var(--g2-ui); letter-spacing: .42em; text-transform: uppercase; color: #f0c97c; text-shadow: 0 2px 4px #000; }
.g2-title-sub::before, .g2-title-sub::after { content: ""; width: clamp(24px, 5vw, 64px); height: 1px; background: linear-gradient(90deg, transparent, #c9a36a); }
.g2-title-sub::after { transform: scaleX(-1); }
body.g2 .home-pitch { margin: 2px 0 0; max-width: 62ch; color: #f4ecdc; font: 15.5px/1.55 var(--g2-serif); text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
body.g2 .home-board-note { margin: 0; color: #c2b6d0; font: 12.5px/1.4 var(--g2-ui); letter-spacing: .03em; }
body.g2 .home-board-note::after { content: " \2193"; color: var(--g2-gold-mid); }

.g2-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 4px 0 0; }
.g2-cta .g2-btn { min-height: 44px; padding: 0 20px; font-size: 12.5px; }
body.g2 .g2-btn.phone-alerts { margin: 0; padding: 0 20px; font: 800 12.5px/1 var(--g2-ui); letter-spacing: .09em; color: #fff; }
@media (min-width: 801px) { body.g2 .g2-btn.phone-alerts.is-browser { display: inline-flex; } body.g2 .g2-btn.phone-alerts.is-phone { display: none; } }
@media (max-width: 800px) { body.g2 .g2-btn.phone-alerts.is-phone { display: inline-flex; } body.g2 .g2-btn.phone-alerts.is-browser { display: none; } }
html[data-g2-device="desktop"] body.g2 .g2-btn.phone-alerts.is-browser { display: inline-flex; }
html[data-g2-device="desktop"] body.g2 .g2-btn.phone-alerts.is-phone { display: none; }
html[data-g2-device="phone"] body.g2 .g2-btn.phone-alerts.is-phone { display: inline-flex; }
html[data-g2-device="phone"] body.g2 .g2-btn.phone-alerts.is-browser { display: none; }

/* ---------- flanks ---------- */
.g2-flank { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; }
.g2-flank-join { grid-area: join; }
.g2-flank-unit { grid-area: unit; justify-content: flex-start; align-self: start; gap: 16px; }

/* how to join: a quest card */
.g2-qcard {
  position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 18px 18px 16px;
  border: 1px solid #6e5b47; border-radius: 7px; background: linear-gradient(180deg, rgba(49, 40, 58, .9), rgba(27, 21, 31, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .07), inset 0 0 26px rgba(214, 170, 90, .07), 0 6px 14px rgba(0, 0, 0, .4);
}
.g2-qhead { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.g2-qcard .g2-qmark { position: static; flex: none; width: 36px; height: 36px; font-size: 24px; }
.g2-qcard h3 { margin: 0; font: 800 19px/1.2 var(--g2-serif); color: #ffd98a; text-shadow: 0 2px 3px #000; }
.g2-objectives { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; counter-reset: obj; }
.g2-objectives li { position: relative; padding-left: 28px; font: 13.5px/1.42 var(--g2-ui); color: #f0e8f6; counter-increment: obj; }
.g2-objectives li::before { content: counter(obj); position: absolute; left: 0; top: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 4px; border: 1px solid #c9a36a; background: linear-gradient(180deg, #4d3c1c, #1a1208); font: 800 11.5px/1 var(--g2-ui); color: #ffd23f; }
.g2-objectives b { color: #ffd98a; font-weight: 800; }
.g2-qfoot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(201, 163, 106, .25); font: 12.5px/1.45 var(--g2-ui); color: #cfc3dc; }
.g2-qfoot a { color: var(--g2-gold-hi); font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255, 230, 173, .45); white-space: nowrap; }
.g2-qfoot a::after { content: " \203A"; }

/* ---------- lobby unit card (WC3 unit panel; key art is the portrait) ---------- */
.g2-unit {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; width: 100%;
  padding: 12px; border: 1px solid #9a78b8; border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 24, 48, .94), rgba(12, 8, 18, .96));
  box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .08), inset 0 0 28px rgba(120, 70, 170, .12), 0 10px 22px rgba(0, 0, 0, .55);
}
.g2-unit-portrait {
  position: relative; width: 92px; aspect-ratio: 1 / 1; border: 3px solid transparent; border-radius: 6px; overflow: hidden; flex: none;
  background: #07040c padding-box, linear-gradient(145deg, #ffeab4, #8b6b3a 45%, #e8c685) border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .75);
}
.g2-unit-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.02); }
.g2-unit-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 226, 170, .22);
}
.g2-unit-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; overflow: hidden; }
.g2-unit-name {
  margin: 0; font: 800 15px/1.2 var(--g2-serif); color: #ffe08a; text-shadow: 0 2px 3px #000;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.g2-unit-host { margin: 0 0 2px; font: 700 11.5px/1.2 var(--g2-ui); color: #cbbfd8; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-unit-bar {
  position: relative; height: 18px; border-radius: 3px; border: 1px solid #3a2f1f; overflow: hidden;
  background: #050308; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .85), 0 0 0 1px rgba(201, 163, 106, .28);
}
.g2-unit-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width .45s ease; }
.g2-unit-fill::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)); }
.g2-unit-hp .g2-unit-fill { background: linear-gradient(180deg, #9dff9a 0, #2fc84a 42%, #168a2c 100%); box-shadow: 0 0 8px rgba(57, 226, 125, .45); }
.g2-unit-mp .g2-unit-fill { background: linear-gradient(180deg, #9ec4ff 0, #3b6fdb 42%, #2a3ea8 100%); box-shadow: 0 0 8px rgba(90, 140, 255, .45); }
.g2-unit-bar-label {
  position: relative; z-index: 1; display: block; height: 100%; padding: 0 6px; text-align: center;
  font: 800 11px/18px var(--g2-ui); letter-spacing: .04em; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap;
}
.g2-unit-food {
  display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap;
  font: 800 12px/1 var(--g2-ui); letter-spacing: .08em; text-transform: uppercase; color: #ffe08a; text-shadow: 0 1px 2px #000;
}
.g2-unit-food .g2-emb { width: 18px; height: 18px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.g2-upkeep {
  margin-left: auto; padding: 4px 9px; border-radius: 999px; border: 1px solid #36b068;
  background: rgba(12, 40, 24, .85); color: #7bf8a8; font: 800 10px/1 var(--g2-ui); letter-spacing: .1em; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 10px rgba(57, 226, 125, .25);
}
.g2-upkeep[data-level="low"] { border-color: #c9a036; color: #ffe08a; background: rgba(40, 30, 8, .88); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 10px rgba(242, 217, 138, .22); }
.g2-upkeep[data-level="high"] { border-color: #d45454; color: #ffb0b0; background: rgba(42, 12, 14, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 10px rgba(212, 84, 84, .28); }
.g2-upkeep[data-level="idle"] { border-color: #6a5a7a; color: #cbbfd8; background: rgba(30, 24, 40, .88); box-shadow: none; }

/* ---------- lobby status card, round 2: a status tab, segmented slots, a list timer that warns ---------- */
.g2-unit { position: relative; margin-top: 8px; }
.g2-unit-phase {
  --pc: #39e27d; --pc-rgb: 57, 226, 125;
  position: absolute; z-index: 2; top: -11px; right: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px;
  border: 1px solid var(--pc); color: #fff; font: 800 10px/1 var(--g2-ui); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, rgba(var(--pc-rgb), .34), rgba(var(--pc-rgb), .12)), #0b0712;
  box-shadow: 0 0 14px rgba(var(--pc-rgb), .42), 0 3px 8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.g2-unit-phase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 0 rgba(var(--pc-rgb), .7); animation: g2-pulse 1.9s ease-out infinite; }
.g2-unit-phase[data-phase="full"] { --pc: #f2d98a; --pc-rgb: 242, 217, 138; }
.g2-unit-phase[data-phase="starting"], .g2-unit-phase[data-phase="hosting"] { --pc: #f4a45c; --pc-rgb: 244, 164, 92; }
.g2-unit-phase[data-phase="ingame"] { --pc: #cba6ff; --pc-rgb: 203, 166, 255; }
.g2-unit-phase[data-phase="idle"] { --pc: #a79bb6; --pc-rgb: 167, 155, 182; }
.g2-unit-phase[data-phase="idle"] .g2-unit-phase-dot { animation: none; box-shadow: none; }
.g2-unit-top { min-width: 0; }
.g2-unit-bar { height: 21px; border-radius: 4px; border-color: #4a3b28; }
.g2-unit-bar-label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 9px; z-index: 2;
  font: 800 10.5px/21px var(--g2-ui); letter-spacing: .09em; text-transform: uppercase;
}
.g2-unit-bar-label .k { color: rgba(255, 255, 255, .86); }
.g2-unit-bar-label .v { color: #fff; font-size: 11.5px; letter-spacing: .05em; }
/* one block per slot, drawn over the fill so the gaps cut through it */
.g2-unit-hp::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / var(--segs, 12) - 2px), rgba(5, 3, 8, .96) calc(100% / var(--segs, 12) - 2px), rgba(5, 3, 8, .96) calc(100% / var(--segs, 12)));
}
.g2-unit-hp[data-level="low"] .g2-unit-fill { background: linear-gradient(180deg, #ffeaa6 0, #e8ac2c 42%, #a86d0c 100%); box-shadow: 0 0 9px rgba(242, 190, 70, .5); }
.g2-unit-hp[data-level="high"] .g2-unit-fill { background: linear-gradient(180deg, #ffb7ae 0, #e24d3f 42%, #a1241a 100%); box-shadow: 0 0 9px rgba(226, 77, 63, .5); }
/* the list timer: a moving sheen while it counts, amber under five minutes, red and pulsing under one */
.g2-unit-fill { overflow: hidden; }
.g2-unit-mp .g2-unit-fill::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .34) 50%, transparent 75%);
  transform: translateX(-110%); animation: g2-sheen 3.2s ease-in-out infinite;
}
@keyframes g2-sheen { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }
.g2-unit-mp[data-level="soon"] .g2-unit-fill { background: linear-gradient(180deg, #ffeaa6 0, #e8ac2c 42%, #a86d0c 100%); box-shadow: 0 0 9px rgba(242, 190, 70, .5); }
.g2-unit-mp[data-level="urgent"] .g2-unit-fill { background: linear-gradient(180deg, #ffb7ae 0, #e24d3f 42%, #a1241a 100%); box-shadow: 0 0 10px rgba(226, 77, 63, .6); animation: g2-urgent 1s ease-in-out infinite; }
.g2-unit-mp[data-level="idle"] .g2-unit-fill { background: linear-gradient(180deg, #8d8399 0, #5e546b 42%, #3d3549 100%); box-shadow: none; }
.g2-unit-mp[data-level="idle"] .g2-unit-fill::before { animation: none; opacity: 0; }
@keyframes g2-urgent { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.g2-unit-food { padding-top: 4px; border-top: 1px solid rgba(201, 163, 106, .18); margin-top: 3px; }

/* ---------- voice preview under the status card: who is in the room, and a way there ---------- */
#g2VoiceCard[hidden], #g2Voice[hidden], #g2VoicePill[hidden], .g2-vcard[hidden], .g2-voice[hidden] { display: none !important; }
.g2-vcard {
  display: grid; gap: 11px; width: 100%; box-sizing: border-box; padding: 13px 13px 14px; border: 1px solid #9a78b8; border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 24, 48, .94), rgba(12, 8, 18, .96));
  box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .08), inset 0 0 28px rgba(120, 70, 170, .12), 0 10px 22px rgba(0, 0, 0, .55);
}
.g2-vcard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.g2-vcard-title { margin: 0; display: flex; align-items: center; gap: 8px; font: 800 12px/1 var(--g2-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--g2-gold-hi); }
.g2-vcard-title .g2-vico { font-size: 16px; color: #ffd23f; }
.g2-vcard-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(123, 248, 168, .6); background: rgba(12, 40, 24, .75); color: #7bf8a8; font: 800 10px/1 var(--g2-ui); letter-spacing: .11em; text-transform: uppercase;
}
.g2-vcard-live i { width: 7px; height: 7px; border-radius: 50%; background: #39e27d; box-shadow: 0 0 0 0 rgba(57, 226, 125, .7); animation: g2-vcard-pulse 1.9s ease-out infinite; }
@keyframes g2-vcard-pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 226, 125, .7); } 70% { box-shadow: 0 0 0 8px rgba(57, 226, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 226, 125, 0); } }
.g2-vcard[data-state="locked"] .g2-vcard-live, .g2-vcard[data-state="unavailable"] .g2-vcard-live, .g2-vcard[data-state="empty"] .g2-vcard-live { border-color: #6a5a7a; background: rgba(30, 24, 40, .85); color: #cbbfd8; }
.g2-vcard[data-state="locked"] .g2-vcard-live i, .g2-vcard[data-state="unavailable"] .g2-vcard-live i, .g2-vcard[data-state="empty"] .g2-vcard-live i { background: #8d8399; animation: none; box-shadow: none; }
.g2-vcard-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.g2-vcard-people[hidden] { display: none; }
.g2-vcard-person {
  --c: #b073f5; position: relative; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 3px 10px 3px 3px; border-radius: 999px;
  border: 1px solid rgba(201, 163, 106, .4); background: rgba(10, 7, 16, .85); color: #f3ebf8; font: 700 12px/1 var(--g2-ui);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.g2-vcard-person .av { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #1a1208; font: 800 12px/1 var(--g2-serif); text-transform: uppercase; }
.g2-vcard-person .nick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g2-vcard-person .tag { flex: none; font-size: 12px; color: #ffd23f; }
.g2-vcard-person.is-muted { opacity: .72; }
.g2-vcard-person.is-muted .nick { text-decoration: line-through; text-decoration-color: rgba(255, 154, 154, .8); }
.g2-vcard-person.is-speaking { border-color: #39e27d; box-shadow: 0 0 0 2px rgba(57, 226, 125, .24), 0 0 14px rgba(57, 226, 125, .55); }
.g2-vcard-person.is-speaking .av { box-shadow: 0 0 0 2px #39e27d; }
.g2-vcard-text { margin: 0; font: 12.5px/1.45 var(--g2-ui); color: #e5dcef; }
.g2-vcard-cta { justify-self: start; }
.g2-vcard-cta[hidden] { display: none; }
/* "Take me there" lands on the voice panel: a short golden pulse shows where to press Join */
.g2-voice.is-flash { animation: g2-voice-flash 2.2s ease-out 1; }
@keyframes g2-voice-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .85); } 25% { box-shadow: 0 0 0 5px rgba(255, 210, 63, .5), 0 0 34px rgba(255, 210, 63, .45); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0), 0 0 0 rgba(255, 210, 63, 0); } }

/* ---------- tip strip: a loading screen caption ---------- */
.g2-tipbar {
  grid-area: tip; position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 18px -22px 0; padding: 10px 18px 11px;
  border-top: 1px solid rgba(201, 163, 106, .4); border-radius: 0 0 6px 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 6, 14, .6), rgba(8, 6, 14, .92));
}
.g2-tipbar-kicker { display: inline-flex; align-items: center; gap: 7px; flex: none; font: 800 11px/1 var(--g2-ui); letter-spacing: .2em; text-transform: uppercase; color: #ffd23f; text-shadow: 0 0 10px rgba(255, 210, 63, .5); }
.g2-tipbar-kicker .g2-ico { font-size: 14px; }
.g2-tipbar-text { flex: 1 1 auto; min-width: 0; margin: 0; font: 14px/1.4 var(--g2-ui); color: #f3ebf8; transition: opacity .18s ease; }
.g2-tipbar-text.is-out { opacity: 0; }
.g2-tipbar-src { flex: none; font: 700 11.5px/1 var(--g2-ui); letter-spacing: .04em; color: #cbb6e6; text-decoration: none; border-bottom: 1px dotted rgba(203, 182, 230, .55); }
.g2-tipbar-src:hover { color: #fff; border-bottom-color: #fff; }
.g2-tipbar-nav { display: inline-flex; gap: 4px; flex: none; }
.g2-tipbar-btn {
  width: 28px; height: 28px; display: grid; place-items: center; padding: 0 0 2px; border: 1px solid #8a6f44; border-radius: 5px;
  background: linear-gradient(180deg, #33264a, #17101f); color: var(--g2-gold-hi); font: 800 19px/1 var(--g2-serif); cursor: pointer;
}
.g2-tipbar-btn:hover { border-color: #fff0c4; filter: brightness(1.2); }
.g2-tipbar-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, #7a4fc0, #ffd23f); }
.g2-tipbar.is-running .g2-tipbar-timer { animation: g2-timer 12s linear forwards; }
.g2-tipbar.is-paused .g2-tipbar-timer { animation-play-state: paused; }
@keyframes g2-timer { to { width: 100%; } }

/* ---------- responsive ---------- */
@media (min-width: 1600px) {
  .g2-qcard { padding: 26px 26px 22px; }
  .g2-qcard h3 { font-size: 23px; }
  .g2-qcard .g2-qmark { width: 42px; height: 42px; font-size: 28px; }
  .g2-objectives { gap: 13px; }
  .g2-objectives li { padding-left: 32px; font-size: 15.5px; }
  .g2-objectives li::before { width: 22px; height: 22px; font-size: 13px; }
  .g2-qfoot { font-size: 14px; margin-top: 16px; padding-top: 14px; }
  .g2-unit { grid-template-columns: 112px minmax(0, 1fr); padding: 14px; gap: 14px; }
  .g2-unit-portrait { width: 112px; }
  .g2-unit-name { font-size: 17px; }
}
@media (max-width: 1360px) {
  .g2-cta { gap: 8px; }
  .g2-cta .g2-btn, body.g2 .g2-btn.phone-alerts { padding: 0 14px; letter-spacing: .06em; }
  .g2-wordmark { width: min(460px, 100%); }
}
@media (max-width: 1180px) {
  body.g2 .hero-command.g2-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "join unit" "tip tip"; row-gap: 16px; align-items: stretch; }
  .g2-hero-copy { padding-top: 6px; }
  .g2-flank-join, .g2-flank-unit { align-self: center; }
}
@media (max-width: 800px) {
  body.g2 .hero-command.g2-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "unit" "join" "tip"; row-gap: 16px; padding: 22px 14px 0; margin-top: 30px; }
  #g2Unit { display: none !important; }       /* the lobby board right below says the same; the voice card stays */
  .g2-flank-unit { align-self: stretch; }
  .g2-tipbar {
    margin: 16px -14px 0; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px 12px;
    min-height: 78px; box-sizing: border-box;
  }
  .g2-tipbar-text {
    order: 3; flex: 1 1 100%;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    overflow: hidden; height: 2.8em; max-height: 2.8em; line-height: 1.4;
  }
  .g2-tipbar-src { display: none; }
  .g2-tipbar-nav { margin-left: auto; }
  .g2-wordmark { width: min(400px, 92%); }
  body.g2 .home-pitch { font-size: 15px; }
  .g2-cta { gap: 9px; }
  .g2-cta .g2-btn { flex: 1 1 100%; max-width: 360px; }
}
@media (max-width: 420px) {
  .g2-title-sub { font-size: 11px; letter-spacing: .3em; }
  body.g2 .g2-badge { letter-spacing: .16em; padding: 8px 12px; font-size: 10px; }
  .g2-qcard { padding: 16px 14px 14px; }
  .g2-objectives li { font-size: 13px; }
}
