/* Alliance Wars - The Throne, world buildings and the Bounty board. Portrait first (360-430 wide). */
.th-hero h3 { font-size: 19px; margin: 2px 0; overflow-wrap: anywhere; }
.th-empty { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: rgba(0,0,0,.35); }
.th-win { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(154,160,180,.16); font-size: 14px; }
.th-win span { margin-left: auto; color: var(--ink2); font-weight: 800; }
.th-win.open { background: rgba(255,215,95,.18); box-shadow: 0 0 0 2px rgba(255,215,95,.55), 0 0 14px rgba(255,215,95,.35); color: #ffe9a8; }
.th-btns { flex-wrap: wrap; margin-top: 10px; gap: 8px; } .th-btns .btn { flex: 1 1 auto; }
.th-laws { display: flex; flex-direction: column; gap: 8px; }
.th-law { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--card); border: 2px solid #11161f; min-height: 52px; }
.th-law span { display: flex; flex-direction: column; min-width: 0; } .th-law small { color: var(--ink2); }
.th-law.on { border-color: var(--gold); }
.th-law input { width: 22px; height: 22px; flex: none; accent-color: #e09a1f; }
.th-law:has(input:checked) { border-color: var(--gold); background: rgba(255,215,95,.1); }
.th-decree p { margin: 0 0 10px; } .th-decree .btn { margin-top: 10px; }
.th-rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.th-held { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.th-sites { display: flex; flex-direction: column; gap: 6px; }
.th-site { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 10px; border-radius: 12px; background: var(--card); border: 2px solid #11161f; text-align: left; }
.th-site .q-grow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-site.mine { border-color: var(--green); }
.th-state { flex: none; }
.bt-hero small { display: block; margin-top: 3px; }
.bt-new { margin-top: 10px; } .bt-cd { text-align: center; margin: 6px 0 0; }
.bt-row { gap: 8px; } .bt-row .q-grow small { display: block; }
.bt-rank { font: 700 18px var(--pix); color: var(--gold); min-width: 20px; text-align: center; }
.bt-pot { font-weight: 800; color: #9fd6ff; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.bt-acts { display: flex; gap: 4px; } .bt-acts .btn { min-width: 40px; padding: 0 8px; }
.bt-log { font-size: 13px; }
.bp-amt { display: flex; align-items: center; gap: 10px; } .bp-amt input { flex: 1; min-height: 40px; } .bp-amt b { min-width: 70px; text-align: right; display: inline-flex; align-items: center; gap: 3px; justify-content: flex-end; }
.bp-fee { margin: 6px 0; }
.bt-pick #btQ { width: 100%; min-height: 42px; margin-bottom: 8px; }
.bt-list { display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow-y: auto; }
.bt-pickrow { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 8px; border-radius: 10px; background: rgba(0,0,0,.25); text-align: left; }
.cs-note.site-note { margin: 10px 0 0; padding: 8px; border-radius: 10px; color: #e9eef5; text-align: center; font-size: 13px; }
.cs-note.site-note .btn { margin-top: 6px; }
/* the Throne button makes the left HUD column one taller: keep its labels on screen on narrow phones */
@media (max-width: 380px) { #hud .h-col.left .hb-l { font-size: 10px; padding: 0 3px; } }
