/* ===========================================================
   OKRAFANS — campy, okra-powered styles
   =========================================================== */

body {
  background-image: url("/assets/img/okra-raw.jpg");
  margin: 0;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard", cursive;
}

/* ---------- animations ---------- */
.blinking { animation: blinkingText 2s infinite; }
@keyframes blinkingText {
  0%   { color: #000; }
  49%  { color: #000; }
  60%  { color: transparent; }
  99%  { color: transparent; }
  100% { color: #000; }
}

.wiggleOkra { animation: wiggle 2s infinite; display: inline-block; }
@keyframes wiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(25deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-25deg); }
  100% { transform: rotate(0deg); }
}

.okraInline { height: 1.2em; vertical-align: middle; }

/* ---------- header ---------- */
.okraHeader {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
  padding: 0.6em 1em 1em;
}
.okraHeader .okraSpin { height: 8em; }
.okraHeaderTitle { text-align: center; }
.presents { margin: 0.2em 0 0; font-size: 1.5em; color: #2f4d18; }
.siteTitle { margin: 0; font-size: 5em; letter-spacing: 0.05em; }
@media (max-width: 600px) {
  .okraHeader .okraSpin { height: 4em; }
  .siteTitle { font-size: 2.6em; }
}

/* ---------- bio ---------- */
.okraBio {
  background: rgba(255,255,255,0.93);
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 34em;
  margin: 1.4em auto;
  padding: 1em 1.6em 1.3em;
  text-align: center;
  color: #2f4d18;
}
.okraBio h2 { margin: 0 0 0.5em; font-size: 1.6em; }
.okraBio p { margin: 0.4em 0; font-size: 1.1em; line-height: 1.4; }

/* ---------- home-page teaser card → /info/ ---------- */
.infoTeaserSection { padding: 0.4em 1em; }
.infoTeaserCard {
  display: block; max-width: 34em; margin: 1.2em auto; padding: 0.7em 1.4em;
  background: rgba(255,255,255,0.93); border: 4px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 3px #8bbf4d, 0 4px 12px rgba(0,0,0,0.35);
  text-align: center; color: #2f4d18; text-decoration: none;
  transition: transform 0.1s ease, background 0.15s ease;
}
.infoTeaserCard:hover { transform: scale(1.02); background: #f3fae4; }
.infoTeaserTitle { display: block; font-size: 1.4em; font-weight: bold; letter-spacing: 0.03em; }
.infoTeaserSub { display: block; font-size: 0.95em; color: #4f7a28; margin-top: 0.15em; }

/* ---------- /info/ facts page ---------- */
.infoSection { padding: 0.4em 1em; }
.infoPanel {
  background: rgba(255,255,255,0.93); border: 6px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 40em; margin: 0 auto 1.2em; padding: 0.6em 1.6em 1.3em;
  text-align: center; color: #2f4d18;
}
.infoPanel h2 { margin: 0.4em 0 0.4em; font-size: 1.6em; }
.infoDisclaimer {
  font-size: 0.9em; font-style: italic; color: #6a4a10;
  background: #fff0d4; border: 2px solid #e0b341; border-radius: 8px;
  padding: 0.5em 0.8em; margin: 0 0 1em; line-height: 1.35;
}
.factList { list-style: none; margin: 0.3em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5em; text-align: left; counter-reset: fact; }
.factItem {
  background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px;
  padding: 0.55em 0.8em 0.55em 2.4em; position: relative; font-size: 1.05em; line-height: 1.35;
}
.factItem::before {
  counter-increment: fact; content: "★ " counter(fact);
  position: absolute; left: 0.6em; top: 0.55em; font-size: 0.72em; font-weight: bold;
  color: #4f7a28;
}
.factBy { font-size: 0.82em; font-style: italic; color: #4f7a28; }
.factsCommunityHead { margin: 1.1em 0 0.3em; font-weight: bold; color: #4f7a28; text-align: left; }
.factNote { font-size: 0.8em; color: #556; margin: 0.6em 0 0; min-height: 1em; }
.factSubmitCta {
  margin: 1.2em 0 0.2em; font-size: 0.98em; color: #2f4d18; line-height: 1.4;
  border-top: 2px dashed #8bbf4d; padding-top: 0.9em;
}
.factSubmitCta code { background: #2f4d18; color: #eaffd6; border-radius: 4px; padding: 0 0.35em; font-size: 0.92em; }
@media (prefers-reduced-motion: reduce) { .infoTeaserCard { transition: none; } }

/* ---------- poll (OKRAMARKET) ---------- */
.pollSection { padding: 0.4em 1em; }
.okraPoll {
  background: rgba(255,255,255,0.93);
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  padding: 0.6em 1.6em 1.3em;
  max-width: 34em;
  margin: 0 auto;
  text-align: center;
  color: #2f4d18;
}
.okraPoll h2 { margin: 0.4em 0 0.2em; font-size: 1.6em; }
.pollIntro { margin: 0 0 0.7em; font-style: italic; font-size: 0.98em; color: #4f7a28; line-height: 1.3; }
.pollIntro small { font-size: 0.78em; color: #778; }
.pollQuestion { font-size: 1.5em; font-weight: bold; color: #2f4d18; margin: 0.3em 0 0.9em; line-height: 1.25; }
.pollBtn {
  font-family: inherit;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 0.4em;
  padding: 0.3em 1.5em;
  cursor: pointer;
  border: 3px solid #2f4d18;
  border-radius: 8px;
  background: #8bbf4d;
  color: #1c2f0e;
  transition: transform 0.1s, background 0.15s;
}
.pollBtn:hover:enabled { background: #a6d96a; transform: scale(1.06); }
.pollBtn:disabled { opacity: 0.45; cursor: not-allowed; }
.pollResults { margin-top: 1em; color: #2f4d18; font-size: 1.05em; }
.pollBar {
  display: flex;
  height: 1.7em;
  border: 2px solid #2f4d18;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.85em;
  font-weight: bold;
  background: #eee;
}
.pollBarYes, .pollBarNo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  white-space: nowrap;
  transition: width 0.4s ease;
}
.pollBarYes { background: #6fae34; }
.pollBarNo { background: #c0563a; }
.pollNote { font-size: 0.8em; color: #556; margin: 0.6em 0 0; min-height: 1em; }

/* ---------- OKRAMARKET board (read-only; wagering happens in chat) ---------- */
.marketBody { margin-top: 0.4em; }
.mktQuestion { font-size: 1.35em; font-weight: bold; color: #2f4d18; margin: 0.2em 0 0.35em; line-height: 1.25; }
.mktStatus { display: inline-block; font-size: 0.82em; font-weight: bold; border-radius: 999px; padding: 0.15em 0.8em; margin: 0 0 0.8em; border: 2px solid #2f4d18; }
.mktStatus.mkt-open { background: #6fae34; color: #10240a; }
.mktStatus.mkt-closed { background: #fff0d4; color: #6a4a10; border-color: #e0b341; }
.mktStatus.mkt-resolved { background: #2f4d18; color: #eaffd6; }
.mktStatus.mkt-resolving { background: #eee; color: #556; }
.mktOptions { display: flex; flex-direction: column; gap: 0.5em; text-align: left; }
.mktOption { background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.5em 0.7em; }
.mktOption.mktWin { border-color: #6fae34; background: #eef7dd; box-shadow: 0 0 0 2px #6fae34 inset; }
.mktOptTop { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5em; }
.mktOptName { font-weight: bold; color: #2f4d18; }
.mktOptMult { font-variant-numeric: tabular-nums; font-weight: bold; color: #4f7a28; white-space: nowrap; }
.mktBar { height: 0.9em; margin: 0.3em 0 0.25em; border: 1px solid #2f4d18; border-radius: 5px; overflow: hidden; background: #eee; }
.mktBarFill { height: 100%; background: linear-gradient(90deg, #6fae34, #a6d96a); transition: width 0.5s ease; }
.mktOptFoot { font-size: 0.8em; color: #4f7a28; font-variant-numeric: tabular-nums; }
.mktMeta { margin: 0.7em 0 0.2em; font-size: 0.9em; font-weight: bold; color: #4f7a28; }
.mktCta { margin: 0.5em 0 0; font-size: 0.95em; color: #2f4d18; line-height: 1.4; }
.mktCta code { background: #2f4d18; color: #eaffd6; border-radius: 4px; padding: 0 0.35em; font-size: 0.9em; }
@media (prefers-reduced-motion: reduce) { .mktBarFill { transition: none; } }

/* concurrent markets: a grid of cards, each with a free community vote */
.marketGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18em, 1fr)); gap: 1em; margin-top: 0.6em; text-align: left; }
.mktCard { background: rgba(255,255,255,0.96); border: 3px solid #4f7a28; border-radius: 12px; padding: 0.7em 0.9em 0.9em; box-shadow: 0 3px 10px rgba(0,0,0,0.18); display: flex; flex-direction: column; }
.mktCard .mktQuestion { font-size: 1.08em; margin: 0 0 0.4em; }
.mktCard .mktStatus { align-self: flex-start; }
.mktCard .mktMeta { margin-top: 0.55em; }
.mktOption.mktNo .mktBarFill { background: linear-gradient(90deg, #c0563a, #e08b6a); }
.mktVote { margin-top: 0.85em; padding-top: 0.7em; border-top: 1px dashed #cfe6a8; }
.cvTitle { margin: 0 0 0.45em; font-weight: bold; color: #2f4d18; font-size: 0.95em; }
.cvFree { font-weight: normal; font-style: italic; color: #778; font-size: 0.82em; }
.cvBtns { display: flex; gap: 0.5em; }
.cvBtns .pollBtn { flex: 1; font-size: 0.95em; padding: 0.28em 0.5em; margin: 0; }
.cvResults { margin-top: 0.5em; }
.cvTally { margin-top: 0.35em; font-size: 0.84em; color: #4f7a28; font-variant-numeric: tabular-nums; }
.cvTally span { color: #778; }
.cvNote { margin: 0.35em 0 0; font-size: 0.8em; min-height: 1em; }

/* ---------- weekly raid (game) ---------- */
.raidSection { padding: 0.4em 1em; }
.raidPanel, .charCard {
  background: rgba(255,255,255,0.93);
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 34em;
  margin: 0 auto 1.2em;
  padding: 0.6em 1.6em 1.3em;
  text-align: center;
  color: #2f4d18;
}
.raidPanel h2 { margin: 0.4em 0 0.2em; font-size: 1.6em; }
.raidIntro { margin: 0 0 0.8em; font-style: italic; font-size: 0.98em; color: #4f7a28; line-height: 1.3; }
.raidIntro small { font-size: 0.78em; color: #778; }
.raidEmpty, .charEmpty { color: #4f7a28; font-style: italic; }

.bossHead { display: flex; flex-direction: column; align-items: center; gap: 0.25em; margin-bottom: 0.5em; }
.bossName { font-size: 1.5em; font-weight: bold; }
.affixTag {
  font-size: 0.8em; font-weight: bold; color: #1c2f0e;
  background: #e0b341; border: 2px solid #2f4d18; border-radius: 999px; padding: 0.1em 0.7em;
}

.hpBar {
  position: relative; height: 1.9em;
  border: 2px solid #2f4d18; border-radius: 6px;
  overflow: hidden; background: #4a4a4a; margin: 0.3em 0;
}
.hpBarFill { height: 100%; background: linear-gradient(90deg, #c0563a, #e0843a); transition: width 0.5s ease; }
.hpBarLabel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85em; font-weight: bold; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.raidTimer { font-size: 0.95em; font-weight: bold; color: #4f7a28; margin: 0.4em 0 0.8em; }

.roleMeters { display: flex; flex-direction: column; gap: 0.55em; text-align: left; }
.roleMeter { font-size: 0.92em; }
.roleHead { display: flex; justify-content: space-between; font-weight: bold; margin-bottom: 0.15em; }
.roleBar { height: 1em; border: 2px solid #2f4d18; border-radius: 5px; overflow: hidden; background: #eee; }
.roleBarFill { height: 100%; transition: width 0.4s ease; }
.roleMeter.met .roleBarFill { background: #6fae34; }
.roleMeter.unmet .roleBarFill { background: #c0563a; }
.roleWarn { font-size: 0.8em; font-style: italic; color: #c0563a; margin-top: 0.1em; }

.raidStatus { font-weight: bold; border-radius: 8px; padding: 0.4em 0.6em; margin-bottom: 0.6em; }
.raidStatus.downed { background: #6fae34; color: #10240a; }
.raidStatus.wiped { background: #c0563a; color: #fff; }

.raidNote { font-size: 0.8em; color: #556; margin: 0.7em 0 0; min-height: 1em; }
.demoBadge {
  display: inline-block; font-weight: bold; font-size: 0.92em;
  background: #e0b341; color: #1c2f0e; border: 2px solid #2f4d18;
  border-radius: 6px; padding: 0 0.4em; margin-right: 0.3em;
}

/* character card */
.charTitle { margin: 0.3em 0 0.5em; font-size: 1.3em; }
.charForm { display: flex; gap: 0.5em; justify-content: center; flex-wrap: wrap; margin-bottom: 0.7em; }
.charInput {
  font-family: inherit; font-size: 1.05em; padding: 0.3em 0.7em;
  border: 3px solid #2f4d18; border-radius: 8px; max-width: 14em;
}
.charForm .pollBtn { font-size: 1.05em; padding: 0.3em 1em; }
.heroName { font-size: 1.3em; font-weight: bold; margin-bottom: 0.4em; }
.heroStats { display: flex; flex-direction: column; gap: 0.25em; text-align: left; max-width: 18em; margin: 0 auto; }
.charStat { display: flex; justify-content: space-between; border-bottom: 1px dashed #8bbf4d; padding: 0.1em 0; }
.charStat span:last-child { font-weight: bold; }

/* ---------- raid muster: countdown / phase / team / roster ---------- */
.raidPhaseTag { font-weight: bold; border-radius: 8px; padding: 0.4em 0.6em; margin: 0 0 0.7em; }
.raidPhaseTag.signup { background: #eaf6d8; color: #2f4d18; border: 2px solid #6fae34; }
.raidPhaseTag.locked { background: #fff0d4; color: #6a4a10; border: 2px solid #e0b341; }
.raidPhaseTag code, .raidIntro code, .charEmpty code, .raidEmpty code {
  background: #2f4d18; color: #eaffd6; border-radius: 4px; padding: 0 0.35em; font-size: 0.92em;
}

.cdCaption { margin: 0.6em 0 0.2em; font-weight: bold; color: #4f7a28; }
.raidCountdown { display: flex; justify-content: center; gap: 0.5em; margin: 0 0 0.9em; }
.cdCell { background: #2f4d18; color: #eaffd6; border-radius: 8px; padding: 0.35em 0.55em; min-width: 2.6em; display: flex; flex-direction: column; }
.cdNum { font-size: 1.6em; font-weight: bold; line-height: 1; font-variant-numeric: tabular-nums; }
.cdLbl { font-size: 0.65em; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }

.teamStats { display: flex; flex-wrap: wrap; gap: 0.5em; justify-content: center; margin: 0.4em 0 0.9em; }
.statTile { background: #f1f8e6; border: 2px solid #8bbf4d; border-radius: 10px; padding: 0.4em 0.7em; min-width: 6.5em; display: flex; flex-direction: column; }
.statVal { font-size: 1.2em; font-weight: bold; color: #2f4d18; }
.statLbl { font-size: 0.72em; color: #4f7a28; text-transform: uppercase; letter-spacing: 0.03em; }

.rosterTitle { margin: 0.8em 0 0.4em; font-size: 1.2em; }
.roster { display: flex; flex-direction: column; gap: 0.5em; text-align: left; }
.rosterItem { background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.45em 0.6em; }
.rosterWho { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.2em 0.6em; align-items: baseline; }
.rosterName { font-weight: bold; color: #2f4d18; }
.rosterMeta { font-size: 0.82em; color: #4f7a28; }
.gearList { display: flex; flex-wrap: wrap; gap: 0.35em; margin-top: 0.35em; }
.gearItem { font-size: 0.78em; font-weight: bold; border: 1px solid currentColor; border-radius: 999px; padding: 0.05em 0.55em; }
.gearEmpty { color: #aaa; font-weight: normal; font-style: italic; }
.raidResultLine { font-size: 0.95em; color: #4f7a28; }

/* loot rarity */
.rarity-common { color: #6b6b6b; }
.rarity-uncommon { color: #3aa655; }
.rarity-rare { color: #2f6fd1; }
.rarity-epic { color: #9b4dca; }
.rarity-legendary { color: #d98324; }

.raidStatus.live { background: #e0843a; color: #fff; animation: blinkLive 1.2s infinite; }
@keyframes blinkLive { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
.liveCta { display: inline-block; text-decoration: none; margin: 0.3em 0 0.2em; }

/* ---------- live battle ---------- */
.battleSection { padding: 0.4em 1em; }
.battleStage {
  background: rgba(255,255,255,0.95); border: 6px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 40em; margin: 0 auto 1.2em; padding: 0.6em 1.3em 1.2em; text-align: center; color: #2f4d18;
}
.battleStage h2 { margin: 0.3em 0 0.6em; font-size: 1.6em; }
.bossPanel { margin-bottom: 0.7em; }
.bossPanel .bossHead { flex-direction: row; justify-content: space-between; align-items: baseline; }
.turnCounter { font-size: 0.85em; font-weight: bold; color: #4f7a28; white-space: nowrap; }
.bossHpBar { height: 2.1em; }

.partyGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5em, 1fr)); gap: 0.5em; margin: 0.6em 0; text-align: left; }
.pmember { background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.35em 0.5em; transition: opacity 0.3s, filter 0.3s; }
.pmember.down { opacity: 0.45; filter: grayscale(0.7); }
.pmHead { display: flex; align-items: baseline; gap: 0.3em; font-size: 0.85em; margin-bottom: 0.2em; }
.pmName { font-weight: bold; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmHp { font-size: 0.85em; color: #4f7a28; font-variant-numeric: tabular-nums; }
.pmDown { font-size: 0.75em; font-weight: bold; color: #c0563a; }
.pmBar { height: 0.6em; border: 1px solid #2f4d18; border-radius: 4px; overflow: hidden; background: #ddd; }
.pmBarFill { height: 100%; background: #6fae34; transition: width 0.4s ease; }
.partyAlive { font-size: 0.85em; font-weight: bold; color: #4f7a28; margin-bottom: 0.5em; }

.combatLog {
  text-align: left; background: #14210b; color: #d8f0bf; border-radius: 8px;
  padding: 0.6em 0.8em; height: 16em; overflow-y: auto; font-size: 0.9em; line-height: 1.45;
}
.logLine { margin: 0.1em 0; }
.logLine.system { color: #cdebff; font-style: italic; }
.logLine.turnmark { color: #e0b341; font-weight: bold; text-align: center; margin: 0.35em 0 0.15em; }
.logLine.party { color: #b8e986; }
.logLine.enemy { color: #f0a07a; }
.logLine.heal { color: #7fe0c0; }
.logLine.crit { font-weight: bold; text-shadow: 0 0 6px rgba(255,220,120,0.6); }
.logLine.victory { color: #9be34a; font-weight: bold; text-align: center; margin-top: 0.3em; }
.logLine.defeat { color: #e06a4a; font-weight: bold; text-align: center; margin-top: 0.3em; }
.battleOutcome { margin-bottom: 0.7em; }
.battleControls { margin: 0.8em 0 0; display: flex; gap: 0.6em; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .hpBarFill, .roleBarFill, .pmBarFill, .pollBarYes, .pollBarNo, .pmember { transition: none; }
  .raidStatus.live { animation: none; }
}

/* ---------- okra-game cross nav (home + game pages) ---------- */
.gameNav { display: flex; flex-wrap: wrap; gap: 0.5em; justify-content: center; margin: 0.8em 0 0.2em; }
.gameNavLink {
  font-family: inherit; font-weight: bold; text-decoration: none;
  background: #8bbf4d; color: #1c2f0e; border: 3px solid #2f4d18;
  border-radius: 999px; padding: 0.3em 1em; font-size: 0.95em;
  transition: transform 0.1s, background 0.15s;
}
.gameNavLink:hover { background: #a6d96a; transform: scale(1.06); }
.gameNavLink[aria-current="page"] { background: #2f4d18; color: #eaffd6; cursor: default; }
.gameNote { font-size: 0.8em; color: #556; margin: 0.7em 0 0; min-height: 1em; }
/* Game-page nav rendered once by the layout as a contained card near the top of the
   page (see _layouts/default.html + _includes/game-nav.html) — matches the site's
   panel look, so the pills sit in a themed card instead of floating on the okra. */
.gameTopNav {
  max-width: 48em; margin: 1.1em auto 0.2em; padding: 0.5em 1em;
  background: rgba(255,255,255,0.93);
  border: 4px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 3px #8bbf4d, 0 4px 12px rgba(0,0,0,0.35);
  text-align: center;
}
.gameTopNav .gameNav { margin: 0; }

/* ---------- season leaderboard + past-raids archive (game) ---------- */
.lbSection, .archiveSection { padding: 0.4em 1em; }
.lbPanel, .archivePanel {
  background: rgba(255,255,255,0.93);
  border: 6px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 36em; margin: 0 auto 1.2em; padding: 0.6em 1.6em 1.3em;
  text-align: center; color: #2f4d18;
}
.lbPanel h2, .archivePanel h2 { margin: 0.4em 0 0.2em; font-size: 1.6em; }
.lbIntro, .archiveIntro { margin: 0 0 0.5em; font-style: italic; font-size: 0.98em; color: #4f7a28; line-height: 1.3; }
.lbIntro small, .archiveIntro small { font-size: 0.78em; color: #778; }
.lbIntro code, .lbEmpty code, .archiveIntro code, .archiveEmpty code {
  background: #2f4d18; color: #eaffd6; border-radius: 4px; padding: 0 0.35em; font-size: 0.92em;
}
.lbSeason, .archiveSeason {
  display: inline-block; font-weight: bold; color: #1c2f0e;
  background: #e0b341; border: 2px solid #2f4d18; border-radius: 999px;
  padding: 0.12em 0.9em; margin: 0 0 0.7em; font-size: 0.88em;
}
.lbEmpty, .archiveEmpty { color: #4f7a28; font-style: italic; }

/* leaderboard rows (extends the poll's bar idiom with its own classes) */
.lbList { list-style: none; margin: 0.3em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.45em; text-align: left; }
.lbRow { display: flex; align-items: center; gap: 0.6em; background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.45em 0.6em; }
.lbRow.lbTop { background: #eaf6d8; border-color: #8bbf4d; }
.lbRank { font-size: 1.15em; font-weight: bold; min-width: 1.8em; text-align: center; color: #2f4d18; font-variant-numeric: tabular-nums; }
.lbWho { flex: 1; min-width: 0; }
.lbName { display: block; font-weight: bold; color: #2f4d18; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbBar { display: block; height: 0.8em; margin-top: 0.28em; border: 1px solid #2f4d18; border-radius: 5px; overflow: hidden; background: #eee; }
.lbBarFill { display: block; height: 100%; background: linear-gradient(90deg, #6fae34, #a6d96a); transition: width 0.5s ease; }
.lbDmg { font-weight: bold; color: #2f4d18; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lbDmgLbl { font-size: 0.7em; font-weight: normal; color: #4f7a28; text-transform: uppercase; }

/* past-raids archive items */
.archiveList { list-style: none; margin: 0.3em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; text-align: left; }
.archiveItem { background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.5em 0.7em; }
.archiveTop { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4em 0.6em; flex-wrap: wrap; }
.archiveWeek { font-size: 0.76em; font-weight: bold; color: #4f7a28; text-transform: uppercase; letter-spacing: 0.04em; }
.archiveBoss { font-size: 1.12em; font-weight: bold; color: #2f4d18; }
.archiveBadge { font-size: 0.76em; font-weight: bold; border-radius: 999px; padding: 0.12em 0.7em; border: 2px solid #2f4d18; white-space: nowrap; }
.archiveBadge.downed { background: #6fae34; color: #10240a; }
.archiveBadge.wiped { background: #c0563a; color: #fff; }
.archiveBadge.pending { background: #fff0d4; color: #6a4a10; border-color: #e0b341; }
.archiveBadge.live { background: #e0843a; color: #fff; }
.archiveMeta { margin-top: 0.3em; font-size: 0.85em; color: #4f7a28; display: flex; flex-wrap: wrap; gap: 0.15em 1em; }
.archiveHp { font-variant-numeric: tabular-nums; }
/* clickable rows deep-link to that week's replay (/arena/?s=..&w=..) */
.archiveItem--link { padding: 0; }
.archiveItemLink { display: block; padding: 0.5em 0.7em; border-radius: 6px; color: inherit; text-decoration: none; transition: background 0.15s ease; }
.archiveItem--link:hover, .archiveItem--link:focus-within { border-color: #6fae34; background: #eef7dd; }
.archiveWatch { display: block; margin-top: 0.35em; font-size: 0.8em; font-weight: bold; color: #4f7a28; }
.archiveItem--link:hover .archiveWatch, .archiveItem--link:focus-within .archiveWatch { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .lbBarFill { transition: none; } .archiveItemLink { transition: none; } }

/* ---------- how to play (player guide) ---------- */
.htpSection { padding: 0.4em 1em; }
.htpPanel {
  background: rgba(255,255,255,0.93);
  border: 6px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  max-width: 36em; margin: 0 auto 1.2em; padding: 0.6em 1.6em 1.3em;
  text-align: center; color: #2f4d18;
}
.htpPanel h2 { margin: 0.4em 0 0.2em; font-size: 1.6em; }
.htpPanel h3 { margin: 0.4em 0 0.3em; font-size: 1.3em; }
.htpIntro { margin: 0 0 0.8em; font-style: italic; font-size: 0.98em; color: #4f7a28; line-height: 1.3; }
.htpIntro small { font-size: 0.78em; color: #778; }
.htpPanel a { color: #4f7a28; font-weight: bold; }
.htpPanel code {
  background: #2f4d18; color: #eaffd6; border-radius: 4px; padding: 0 0.35em; font-size: 0.92em;
}

/* weekly-loop steps (numbered, extends the rosterItem card idiom) */
.htpSteps { list-style: none; counter-reset: htp; margin: 0.3em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; text-align: left; }
.htpStep {
  counter-increment: htp; position: relative;
  background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px;
  padding: 0.55em 0.7em 0.6em 2.7em;
}
.htpStep::before {
  content: counter(htp); position: absolute; left: 0.6em; top: 0.55em;
  width: 1.5em; height: 1.5em; line-height: 1.5em; text-align: center;
  font-weight: bold; font-size: 0.92em; color: #eaffd6; background: #2f4d18; border-radius: 50%;
}
.htpStepTitle { display: block; font-weight: bold; color: #2f4d18; margin-bottom: 0.1em; }
.htpStep small { color: #4f7a28; line-height: 1.35; }

/* command reference rows */
.cmdList { list-style: none; margin: 0.3em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5em; text-align: left; }
.cmdRow { background: #f7fbef; border: 2px solid #cfe6a8; border-radius: 8px; padding: 0.5em 0.7em; }
.cmdRow.cmdSub { background: #eaf6d8; border-color: #8bbf4d; }
.cmdSyntax { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4em; margin-bottom: 0.2em; }
.cmdDesc { font-size: 0.9em; color: #2f4d18; line-height: 1.35; }
.cmdAlias { font-size: 0.78em; color: #778; font-style: italic; }
.subTag {
  font-size: 0.68em; font-weight: bold; color: #1c2f0e;
  background: #e0b341; border: 2px solid #2f4d18; border-radius: 999px;
  padding: 0.05em 0.6em; text-transform: uppercase; letter-spacing: 0.03em;
}
.modTag {
  font-size: 0.68em; font-weight: bold; color: #fff;
  background: #7a4fb0; border: 2px solid #2f4d18; border-radius: 999px;
  padding: 0.05em 0.6em; text-transform: uppercase; letter-spacing: 0.03em;
}
.cmdRow.cmdMod { background: #f3eefb; border-color: #b79bdd; }
.htpAside { font-size: 0.82em; color: #556; font-style: italic; margin: 0.7em 0 0; }

/* good-to-know + faq */
.htpNotes { text-align: left; margin: 0.3em 0 0; padding-left: 1.2em; color: #2f4d18; line-height: 1.45; }
.htpNotes li { margin: 0.35em 0; }
.htpFaq { text-align: left; }
.htpFaqQ { font-weight: bold; color: #2f4d18; margin: 0.6em 0 0.1em; }
.htpFaqA { margin: 0 0 0.5em; color: #4f7a28; line-height: 1.4; }

/* ---------- meme wall ---------- */
.memeWallSection { padding: 1.5em 1em 0.5em; text-align: center; }
.memeWallHead {
  display: inline-block;
  background: rgba(255, 255, 255, 0.93);
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0, 0, 0, 0.45);
  padding: 0.5em 1.6em 0.8em;
  margin: 0 auto 1.4em;
}
.memeWallTitle { font-size: 2em; color: #2f4d18; margin: 0.15em 0; }
.memeWallSub { color: #2f4d18; font-style: italic; margin: 0; }
.memeWall {
  column-count: 3;
  column-gap: 1.2em;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .memeWall { column-count: 2; } }
@media (max-width: 600px) { .memeWall { column-count: 1; } }

.memeCard {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 1.2em;
  background: rgba(255,255,255,0.95);
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.memeCard:nth-child(odd)  { transform: rotate(-1.3deg); }
.memeCard:nth-child(even) { transform: rotate(1.1deg); }
.memeCard:hover {
  transform: rotate(0) scale(1.03);
  box-shadow: 0 0 0 4px #a6d96a, 0 10px 24px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.memeCard { cursor: pointer; }
.memeCard img { width: 100%; display: block; }
.memeCard figcaption {
  font-family: inherit;
  color: #2f4d18;
  padding: 0.55em 0.7em 0.7em;
  font-size: 1.05em;
  line-height: 1.25;
}
.memeStream { display: block; font-size: 0.75em; color: #4f7a28; font-style: italic; margin-top: 0.25em; }

/* ---------- meme lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 5, 0.88);
  z-index: 1000;
  overflow: auto;
}
.lightbox.open { display: block; }
.lbScroll {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 2vw;
  box-sizing: border-box;
}
.lbFigure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lbFigure img {
  display: block;
  max-width: min(92vw, 600px);
  max-height: 78vh;
  width: auto;
  height: auto;
  background: #fff;
  border: 6px ridge #4f7a28;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 10px 30px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
}
.lbFigure img.zoomed {
  max-width: 95vw;
  max-height: none;
  cursor: zoom-out;
}
.lbCap {
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard", cursive;
  color: #eaffd6;
  text-align: center;
  margin-top: 0.8em;
  font-size: 1.3em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.lbCap .memeStream { color: #a6d96a; }
.lbBtn {
  position: fixed;
  background: #8bbf4d;
  color: #1c2f0e;
  border: 3px solid #2f4d18;
  border-radius: 50%;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard", cursive;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: transform 0.1s, background 0.15s;
  z-index: 1001;
}
.lbBtn:hover { background: #a6d96a; }
.lbClose { top: 3vh; right: 3vw; width: 1.8em; height: 1.8em; font-size: 1.6em; }
.lbClose:hover { transform: scale(1.1); }
.lbPrev, .lbNext { top: 50%; transform: translateY(-50%); width: 2em; height: 2em; font-size: 2em; }
.lbPrev { left: 2vw; }
.lbNext { right: 2vw; }
.lbPrev:hover, .lbNext:hover { transform: translateY(-50%) scale(1.1); }
@media (max-width: 600px) {
  .lbPrev, .lbNext { font-size: 1.4em; width: 1.7em; height: 1.7em; }
}

/* ---------- footer ---------- */
.okraFooter { background: #fff; text-align: center; padding: 1.8em 0 2em; margin-top: 1.5em; }
.homeBannerSection { text-align: center; padding: 1.4em 1em 1.4em; }
.homeBanner {
  width: 100%; max-width: 1100px; display: block; margin: 0 auto;
  border: 6px ridge #4f7a28; border-radius: 12px;
  box-shadow: 0 0 0 4px #8bbf4d, 0 6px 18px rgba(0,0,0,0.45);
}
.footerInner { max-width: 46em; margin: 0 auto; padding: 0 1em; color: #2f4d18; }
.footerTagline { font-style: italic; font-size: 1.2em; margin: 0.2em 0 0.9em; }
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  justify-content: center;
  margin: 0.6em 0 1.1em;
}
.socials a {
  font-family: inherit;
  font-weight: bold;
  text-decoration: none;
  background: #8bbf4d;
  color: #1c2f0e;
  border: 3px solid #2f4d18;
  border-radius: 999px;
  padding: 0.35em 1.1em;
  font-size: 1.05em;
  transition: transform 0.1s, background 0.15s;
}
.socials a:hover { background: #a6d96a; transform: scale(1.06); }
.footerSong { margin: 0.4em 0; }
.footerSong a { font-size: 1.2em; color: #2f4d18; }
.footerNav {
  display: flex; flex-wrap: wrap; gap: 0.5em; justify-content: center; margin: 1em 0 0.2em;
}
.footerNav a {
  font-family: inherit; font-weight: bold; text-decoration: none;
  color: #2f4d18; background: transparent;
  border: 2px solid #8bbf4d; border-radius: 999px;
  padding: 0.28em 0.95em; font-size: 0.95em;
  transition: transform 0.1s, background 0.15s, color 0.15s;
}
.footerNav a:hover { background: #8bbf4d; color: #1c2f0e; transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .footerNav a { transition: none; } }
.footerMeta { font-size: 0.85em; color: #4f7a28; margin: 0.9em 0 0; }

/* Clickable site banner (back to home) + prominent raid-game CTA button. */
.okraHomeLink { text-decoration: none; color: inherit; display: inline-block; cursor: pointer; }
.okraHomeLink:hover .siteTitle { filter: brightness(1.15); }
.gameCta { display: inline-block; margin: 0.2em auto 0.9em; font-size: 1.15em; padding: 0.55em 1.4em; }
