/* God's Greek campaign. Scoped so the older valley at /town keeps its stone. */

body.gg-campaign {
  --bg: #140c08;
  --panel: #24160f;
  --ink: #f3e6cf;
  --muted: #c4b09a;
  --stone: #3a2a1c;
  --stone-2: #1c120c;
  --accent: #e6c27a;
  --accent-soft: #a8844a;
  --gold: #e6c27a;
  --shadow: rgba(0, 0, 0, 0.45);
  background: #100b08;
  background-image: radial-gradient(900px 420px at 80% -10%, rgba(230, 194, 122, 0.16), transparent 55%);
  color: var(--ink);
}

body.gg-campaign .top {
  background: rgba(16, 11, 8, 0.92);
  border-bottom: 1px solid rgba(230, 194, 122, 0.28);
}

body.gg-campaign .brand-text strong,
body.gg-campaign h1,
body.gg-campaign h2,
body.gg-campaign h3 {
  font-family: "Cinzel", var(--serif), serif;
  letter-spacing: 0.04em;
}

body.gg-campaign .brand-text em,
.gg-motto {
  color: var(--gold);
}

.gg-landing,
.gg-play {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 80px;
}

.gg-landing h1,
.gg-play h1 {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.95;
  margin: 0.2em 0;
}

.gg-motto {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.35rem;
  margin: 0 0 0.6em;
}

.gg-lead {
  font-size: 1.08rem;
  line-height: 1.45;
  max-width: 38rem;
}

.gg-hero {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  margin: 12px 0 18px;
  background: linear-gradient(160deg, #3a2414, #120c08 70%);
}

.gg-hero img,
.gg-city img,
.gg-mission-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gg-hero img { min-height: 220px; max-height: 420px; }

.gg-hero figcaption,
.gg-city figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  color: #f8efd8;
  text-shadow: 0 1px 8px #000;
  font-family: "Cinzel", serif;
}

.gg-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0;
}

.gg-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.gg-meter {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(230, 194, 122, 0.25);
  border-radius: 12px;
  padding: 8px 10px;
}

.gg-meter span {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

.gg-meter b { color: var(--ink); font-weight: 600; }

.gg-meter i {
  display: block;
  height: 6px;
  margin-top: 6px;
  border-radius: 99px;
  background: #3a2a1c;
  overflow: hidden;
}

.gg-meter i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8a6230, #e6c27a);
}

.gg-cities {
  display: grid;
  gap: 12px;
}

.gg-city {
  position: relative;
  min-height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #3a2414, #120c08);
  border: 1px solid rgba(230, 194, 122, 0.2);
}

.gg-city img { min-height: 180px; max-height: 240px; }

.gg-city .gg-city-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.gg-city h2 { margin: 0; font-size: 1.2rem; }

.gg-city p { margin: 4px 0 0; font-size: 0.9rem; }

.gg-panel {
  background: rgba(36, 22, 15, 0.88);
  border: 1px solid rgba(230, 194, 122, 0.22);
  border-radius: 16px;
  padding: 14px;
  margin: 14px 0;
}

.gg-mission-art {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #1a100b;
  min-height: 140px;
}

.gg-mission-art img { max-height: 280px; }

.gg-choices { display: grid; gap: 8px; }

.gg-choices button,
.gg-primary,
.gg-skip,
.gg-unmute,
.gg-chat-toggle {
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 14px;
}

.gg-choices button,
.gg-primary {
  text-align: left;
  background: #1a100b;
  color: var(--ink);
  border: 1px solid rgba(230, 194, 122, 0.45);
}

.gg-choices button strong { display: block; font-family: "Cinzel", serif; }
.gg-choices button small { display: block; color: var(--muted); margin-top: 4px; }
.gg-choices button.battle { border-color: #e6c27a; }

.gg-primary {
  background: #e6c27a;
  color: #1a100b;
  font-weight: 700;
  border: 0;
}

.gg-gods {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gg-god {
  flex: 0 0 auto;
  min-width: 132px;
  background: #1a100b;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(230, 194, 122, 0.2);
}

.gg-god b { display: block; }
.gg-god em { color: var(--muted); font-style: normal; font-size: 0.8rem; }

.gg-feed .row { padding: 8px 0; border-bottom: 1px solid rgba(230, 194, 122, 0.15); }
.gg-feed .kind { color: var(--gold); margin-right: 6px; text-transform: uppercase; font-size: 0.72rem; }

.gg-battle { margin: 0; }
.gg-battle-video,
.gg-battle-still {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  object-fit: cover;
}

.gg-ending {
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
}

.gg-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.gg-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(230, 194, 122, 0.4);
  background: #1a100b;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.gg-chat-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  background: #e6c27a;
  color: #1a100b;
  border: 0;
  font-weight: 700;
}

.gg-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 30;
  max-height: 86vh;
  overflow: auto;
  background: #1a100b;
  color: var(--ink);
  border-radius: 18px 18px 0 0;
  padding: 12px 12px 24px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}

.gg-cast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gg-person {
  display: flex;
  gap: 8px;
  text-align: left;
  background: #24160f;
  color: inherit;
  border: 1px solid rgba(230, 194, 122, 0.25);
  border-radius: 12px;
  padding: 8px;
  min-height: 72px;
  font: inherit;
  cursor: pointer;
}

.gg-person img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.gg-thread { display: grid; gap: 8px; margin: 8px 0; }
.gg-bubble { padding: 8px 10px; border-radius: 12px; background: #2a1b12; }
.gg-bubble.user { background: #3d2a16; }

.gg-intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
}

.gg-intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.gg-skip,
.gg-unmute {
  position: fixed;
  z-index: 81;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 700;
}

.gg-skip { top: 16px; right: 16px; min-width: 88px; }
.gg-unmute { left: 16px; bottom: 20px; }

.gg-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(230, 194, 122, 0.4);
  border-radius: 12px;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 800px) {
  .gg-cities { grid-template-columns: 1fr 1fr; }
  .gg-meters { grid-template-columns: repeat(3, 1fr); }
  .gg-cast { grid-template-columns: 1fr 1fr 1fr; }
  .gg-sheet { left: auto; width: min(480px, 100%); border-radius: 18px; bottom: 12px; right: 12px; }
}
