/* Copyright (c) 2026 Lavish Leaf Inc. All rights reserved. See LICENSE. */
/* File:       fairways-factions.css
   Purpose:    The colors and marks of factions 2 to 5 (Humans, Cyborgs, Elves, and Boar): the same marks fairways.css gives the Wolves and the Frogs.
   Defines:    CSS custom properties and classes for sides s2 to s5.
   Depends on: fairways.css, which must come first.
   Loaded:     3rd stylesheet in index.html (after ../games.css and fairways.css).
   Guide:      ARCHITECTURE.md (this folder). The notes below this header are the file's own history and design reasons. */
/* The Humans (side 2, orange) and the Cyborgs (side 3, yellow) in the experimental version: the same marks fairways.css gives the Wolves and the Frogs. */
:root { --human: #fe860f; --cyborg: #ffe83d; }
.ol.s2 { --olc: #fe860f; } .ol.s3 { --olc: #ffe83d; }
.fw-turncard.s2 { --tc: var(--human); } .fw-turncard.s3 { --tc: var(--cyborg); }
.fw-pl.s2 { border-color: rgba(254, 134, 15, .55); } .fw-pl.s3 { border-color: rgba(255, 232, 61, .55); }
.fw-tabs button[aria-pressed="true"].s2 { background: rgba(254, 134, 15, .22); border-color: var(--human); } .fw-tabs button[aria-pressed="true"].s3 { background: rgba(255, 232, 61, .18); border-color: var(--cyborg); }
.fl-item.s2 { border-left: 5px solid var(--human); } .fl-item.s3 { border-left: 5px solid var(--cyborg); }
.fl-item.s2 .n { background: var(--human); color: #2c1600; } .fl-item.s3 .n { background: var(--cyborg); color: #2a2400; }
.ob-row .ic.s2 { border-color: var(--human); } .ob-row .ic.s3 { border-color: var(--cyborg); }
.dot.s2 { background: var(--human); } .dot.s3 { background: var(--cyborg); }
.fw-log .l.s2 { border-left-color: var(--human); } .fw-log .l.s3 { border-left-color: var(--cyborg); }
.fw-btn.side2 { border-color: var(--human); } .fw-btn.side3 { border-color: var(--cyborg); }
.bt-side.s2 { border-color: rgba(254, 134, 15, .65); } .bt-side.s3 { border-color: rgba(255, 232, 61, .6); }
.bt-pip.s2 { background: var(--human); } .bt-pip.s3 { background: var(--cyborg); }
.bt-duel .won.s2 { color: #ffc48c; } .bt-duel .won.s3 { color: #fff29a; }
.bt-duel.special.s2 { color: #ffc48c; background: rgba(254, 134, 15, .12); } .bt-duel.special.s3 { color: #fff29a; background: rgba(255, 232, 61, .1); }
.bt-stage .st-col.s2 { border-color: rgba(254, 134, 15, .5); } .bt-stage .st-col.s3 { border-color: rgba(255, 232, 61, .45); }
.fw-alert.s2 { border-color: #fe860f; background: rgba(58, 30, 6, .95); --pc: 254, 134, 15; } .fw-alert.s2 .ag > i.fas { color: #ffc48c; }
.fw-alert.s3 { border-color: #ffe83d; background: rgba(48, 42, 6, .95); --pc: 255, 232, 61; } .fw-alert.s3 .ag > i.fas { color: #fff29a; }
.fw-alert.danger.s2 .ag > i.fas, .fw-alert.danger.s3 .ag > i.fas { color: var(--ember-lt); }
.lore-hero.s2 { border-color: rgba(254, 134, 15, .55); } .lore-hero.s3 { border-color: rgba(255, 232, 61, .5); }
.sc-head.s2, .bio-head.s2 { border-color: rgba(254, 134, 15, .55); } .sc-head.s3, .bio-head.s3 { border-color: rgba(255, 232, 61, .5); }
/* The Elves (side 4, violet) and the Boar (side 5, red): the same marks again. */
:root { --elf: #c06dca; --boar: #f45249; }
.ol.s4 { --olc: #c06dca; } .ol.s5 { --olc: #f45249; }
.fw-turncard.s4 { --tc: var(--elf); } .fw-turncard.s5 { --tc: var(--boar); }
.fw-pl.s4 { border-color: rgba(192, 109, 202, .55); } .fw-pl.s5 { border-color: rgba(244, 82, 73, .55); }
.fw-tabs button[aria-pressed="true"].s4 { background: rgba(192, 109, 202, .22); border-color: var(--elf); } .fw-tabs button[aria-pressed="true"].s5 { background: rgba(244, 82, 73, .2); border-color: var(--boar); }
.fl-item.s4 { border-left: 5px solid var(--elf); } .fl-item.s5 { border-left: 5px solid var(--boar); }
.fl-item.s4 .n { background: var(--elf); color: #1e0f36; } .fl-item.s5 .n { background: var(--boar); color: #2e0805; }
.ob-row .ic.s4 { border-color: var(--elf); } .ob-row .ic.s5 { border-color: var(--boar); }
.dot.s4 { background: var(--elf); } .dot.s5 { background: var(--boar); }
.fw-log .l.s4 { border-left-color: var(--elf); } .fw-log .l.s5 { border-left-color: var(--boar); }
.fw-btn.side4 { border-color: var(--elf); } .fw-btn.side5 { border-color: var(--boar); }
.bt-side.s4 { border-color: rgba(192, 109, 202, .65); } .bt-side.s5 { border-color: rgba(244, 82, 73, .65); }
.bt-pip.s4 { background: var(--elf); } .bt-pip.s5 { background: var(--boar); }
.bt-duel .won.s4 { color: #ecc2f0; } .bt-duel .won.s5 { color: #ffb0a8; }
.bt-duel.special.s4 { color: #ecc2f0; background: rgba(192, 109, 202, .12); } .bt-duel.special.s5 { color: #ffb0a8; background: rgba(244, 82, 73, .12); }
.bt-stage .st-col.s4 { border-color: rgba(192, 109, 202, .5); } .bt-stage .st-col.s5 { border-color: rgba(244, 82, 73, .5); }
.fw-alert.s4 { border-color: #c06dca; background: rgba(36, 20, 60, .95); --pc: 192, 109, 202; } .fw-alert.s4 .ag > i.fas { color: #ecc2f0; }
.fw-alert.s5 { border-color: #f45249; background: rgba(60, 16, 12, .95); --pc: 244, 82, 73; } .fw-alert.s5 .ag > i.fas { color: #ffb0a8; }
.fw-alert.danger.s4 .ag > i.fas, .fw-alert.danger.s5 .ag > i.fas { color: var(--ember-lt); }
.lore-hero.s4 { border-color: rgba(192, 109, 202, .55); } .lore-hero.s5 { border-color: rgba(244, 82, 73, .55); }
.sc-head.s4, .bio-head.s4 { border-color: rgba(192, 109, 202, .55); } .sc-head.s5, .bio-head.s5 { border-color: rgba(244, 82, 73, .55); }
/* four tabs and four score cards: two by two, so nothing runs out of the panel */
.fw-tabs.four { display: grid; grid-template-columns: 1fr 1fr; }
.fw-tabs.four button { min-width: 0; padding: 6px 4px; font-size: .8rem; white-space: nowrap; overflow: hidden; }
.fw-score.four .fw-pl { padding: 7px 8px; min-width: 0; } .fw-score.four .nm { font-size: .84rem; } .fw-score.four .vp { font-size: 1.4rem; } .fw-score.four .st { font-size: .76rem; }
/* who is fighting whom, and whose die is rolling */
.bt-who { text-align: center; font-weight: 800; font-size: .95rem; margin: 2px 0 6px; }
.bt-rolling { text-align: center; font-weight: 800; font-size: .86rem; min-height: 1.3em; margin: 2px 0 4px; }
.fw-roundflash .order { font-size: .55em; opacity: .92; }
.st-wrap.many .fw-stats-tbl.go td, .st-wrap.many .fw-stats-tbl.go th { padding-left: 5px; padding-right: 5px; font-size: .88rem; }
