/* Beta additions on top of style.css. */
:root { --beta: #3dc8ff; }

.beta-tag { color: var(--beta); font-size: 0.6em; vertical-align: super; text-shadow: none; }

/* reaping: perks instead of multipliers */
.district .perk { font-size: 0.72rem; color: var(--gold); line-height: 1.1; }
.perk-desc { min-height: 2.6em; font-size: 0.9rem; border-left: 2px solid var(--accent); padding-left: 0.6rem; }

/* status: three stats */
#status .row1 .kills { color: var(--accent); margin-left: auto; margin-right: 0.6rem; }
#status .row2 { display: flex; align-items: center; gap: 0.9rem; flex-wrap: nowrap; font-size: 0.95rem; }
#status .stat { display: inline-flex; align-items: center; gap: 0.15rem; white-space: nowrap; }
#status .low b { color: var(--gold); }
.hbar { display: inline-block; width: 2.8rem; height: 0.45rem; margin-left: 0.35rem; background: #1b2618; border: 1px solid var(--line); position: relative; }
.hbar i { position: absolute; inset: 0 auto 0 0; background: var(--good); transition: width 0.6s; }
.h-fair .hbar i { background: var(--gold); }
.h-poor .hbar i, .h-verypoor .hbar i { background: var(--bad); }
.kit { display: inline-flex; gap: 0.25rem; margin-left: auto; }
.slot { width: 2rem; height: 2rem; padding: 0; display: grid; place-items: center; font-size: 1.05rem; border: 2px solid var(--line); background: var(--panel); }
.slot.empty { color: var(--line); font-family: var(--pixel); }
#status .row3 { font-size: 0.78rem; }

/* log: one block per day, old days folded */
.dayblock { margin: 0 0 0.4rem; }
.daysum { cursor: pointer; list-style: none; font-size: 0.8rem; color: var(--dim); padding: 0.35rem 0; border-top: 1px dashed var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daysum::-webkit-details-marker { display: none; }
.daysum b { font-family: var(--pixel); font-size: 1.3rem; color: var(--accent); font-weight: normal; }
.dayblock[open] .sumtext { display: none; }
.dayblock:not([open]) .daysum::before { content: "▸ "; }
.daybody { padding-top: 0.2rem; }
.entry.day { font-family: var(--mono); font-size: 0.85rem; color: var(--dim); margin-top: 0; border: 0; padding-top: 0; }
.entry.delta { font-size: 0.85rem; color: var(--fg); background: #15210f; border-left: 3px solid var(--accent); padding: 0.15rem 0.5rem; display: inline-block; margin-bottom: 0.55rem; }
.entry.caesar { color: #e3b8ff; font-style: italic; }
.entry.story { color: var(--fg); }

/* the Cornucopia draft */
.horn { position: relative; margin-bottom: 0.6rem; }
.loot { position: absolute; transform: translate(-50%, -50%); font-size: 1.25rem; filter: drop-shadow(0 0 3px #000); transition: opacity 0.4s; }
.loot.taken { opacity: 0.2; }

/* options: stakes on every choice */
.option .ltext { font-weight: bold; }
.option .stakes { display: flex; flex-wrap: wrap; gap: 0 0.7rem; font-size: 0.74rem; line-height: 1.3; margin-top: 0.1rem; }
.win { color: var(--good); }
.lose { color: #ff9a8a; }
.lose.deadly { color: var(--bad); font-weight: bold; }
.legend { font-size: 0.72rem; color: var(--dim); margin: 0.1rem 0 0; text-align: center; }

/* small phones: keep everything on screen, and keep the story visible above the options */
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.district { min-width: 0; }
.district .name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#status .row2 { gap: 0.6rem; }
.slot { width: 1.8rem; height: 1.8rem; font-size: 0.95rem; }
#options { max-height: 54dvh; overflow-y: auto; overscroll-behavior: contain; }
.option { padding: 0.35rem 0.55rem; min-height: 2.6rem; gap: 0.5rem; }
.option .ltext { font-size: 0.95rem; }
.option small { font-size: 0.7rem; }
@media (max-width: 360px) {
  .hbar { display: none; }
  #status .row2 { font-size: 0.85rem; }
  .chance { min-width: 2.4rem; font-size: 1.25rem; }
}
.option { flex: none; }
