/* v0.15.153 (#455 release A1): the joiner's board IS board.html — the guest view's styles, lifted from remote.html so the real page wears them */
.guest-page .board { display: none; } /* the host-driven board stands aside; the guest's live board takes its place */
.guest-page .bottom-bar.host-bar { display: none; }
.guest-status { max-width: 1400px; margin: 8px auto 4px; padding: 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 0.82rem; color: #cbb87e; }
.guest-status b { color: #ffe9b0; }
.guest-status .link-ok { color: #51cf66; }
.guest-status .link-down { color: #ff8787; }
.guest-status .phase { padding: 2px 8px; border-radius: 99px; background: rgba(201,168,76,0.18); color: #f0d488; font-weight: 700; }
.rv-seatchips { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-seatchip { font-size: 0.72rem; padding: 2px 7px; border-radius: 99px; border: 1px solid #55482a; color: #b9a06a; }
.rv-seatchip.me { border-color: #c9a84c; color: #ffe9b0; }
.rv-seatchip.confirmed { color: #51cf66; }
.rv-boardwrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding: 4px 0 10px; }
.rv-boardwrap .board { width: 100%; min-width: 760px; margin: 0; display: block; }
.rv-boardwrap.fit { overflow: hidden; }
.rv-boardwrap.fit .board { transform-origin: top left; width: 760px; min-width: 760px; }
.rv-live-board .mini-card.rv-mine { box-shadow: 0 0 0 2px rgba(201,168,76,0.85), 0 0 10px rgba(201,168,76,0.35); cursor: pointer; }
.rv-live-board .mini-card.rv-armed { box-shadow: 0 0 0 3px #ff6b6b, 0 0 14px rgba(255,107,107,0.6); }
.rv-live-board .mini-card.rv-targetable { cursor: crosshair; }
.rv-live-board .mini-card .deploy-pill { opacity: 1; transform: translate(-50%, -50%) scale(0.9); }
.guest-chrome .bottom-bar { margin-top: 8px; }
.rv-seatbar-host { margin: 2px 0 6px; }
.rv-preview-note { font-size: 0.78rem; color: #f0d488; text-align: center; margin-top: 4px; }
.rv-popout { z-index: 3000; }
.rv-declared { font-size: 0.78rem; color: #f0a070; margin: 4px 12px; }
.rv-note { font-size: 0.78rem; color: #8fa1b8; }
.guest-dialog button.guest-seat-act { border-color: #c9a84c; color: #ffe9b0; } /* v0.15.183 (#455 D7): a Haven row this seat may buy */
.rv-oc-stash { margin: 0 0 6px; color: #ffd76a; } /* v0.15.182 (#455 D6): the Stash of the Take's payout line on the joiner's outcome card */
.rv-toast { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2000; padding: 8px 14px; border-radius: 10px; font-size: 0.85rem; color: #ffe9b0; background: rgba(60,20,20,0.95); border: 1px solid #ff8787; display: none; }
.rv-toast.ok { background: rgba(20,50,20,0.95); border-color: #6faa4a; }
.rv-turnflash { animation: rvflash 0.9s ease-in-out 3; }
@keyframes rvflash { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 0 3px #c9a84c, 0 0 24px rgba(201,168,76,0.6); } }
.guest-prompt { position: fixed; left: 50%; top: 14vh; transform: translateX(-50%); z-index: 2500; width: min(640px, 94vw); background: rgba(12,10,6,0.96); border: 1px solid #c9a84c; border-radius: 12px; padding: 14px; display: none; box-shadow: 0 10px 40px rgba(0,0,0,0.7); }
.guest-prompt h3 { color: #ffe9b0; margin: 0 0 8px; font-size: 1rem; }
.guest-prompt button { margin: 3px; }
.rv-prompt-cards { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 4px 0 10px; }
.rv-prompt-card { position: relative; width: min(120px, 26vw); cursor: pointer; text-align: center; }
.rv-prompt-card .mini-card { position: relative; width: 100%; aspect-ratio: 111 / 102; height: auto; }
.rv-prompt-card:hover .mini-card { transform: translateY(-3px); box-shadow: 0 0 0 2px #c9a84c; }
.rv-prompt-cap { font-size: 0.72rem; color: #cbb87e; margin-top: 16px; }
.guest-outcome { position: fixed; inset: 0; z-index: 2400; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.62); }
.guest-outcome.active { display: flex; }
.guest-outcome .panel { width: min(760px, 94vw); max-height: 88vh; overflow: auto; background: rgba(12,10,6,0.96); border: 1px solid #6a5a2a; border-radius: 14px; padding: 16px; }
.rv-oc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rv-oc-head .icon { font-size: 2rem; }
.rv-oc-head h2 { margin: 0; font-size: 1.25rem; color: #ffe9b0; }
.rv-oc-head.victory h2 { color: #7ee08a; }
.rv-oc-head.defeat h2 { color: #ff8787; }
.rv-oc-sub { font-size: 0.82rem; color: #cbb87e; }
.rv-oc-cols { display: flex; flex-wrap: wrap; gap: 14px; }
.rv-oc-col { flex: 1 1 220px; }
.rv-oc-col h4 { color: #f0d488; margin: 6px 0 4px; font-size: 0.85rem; }
.rv-oc-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-oc-card { width: 72px; }
.rv-oc-card .mini-card { position: relative; width: 100%; aspect-ratio: 111 / 102; height: auto; }
.rv-oc-card .cap { font-size: 0.62rem; color: #9a8a5a; text-align: center; margin-top: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-oc-rewards { font-size: 0.8rem; color: #ffe9b0; line-height: 1.5; }
.rv-oc-seats { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.78rem; color: #cbb87e; margin: 6px 0; }
.rv-spectating { color: #8fa1b8; }
.guest-log { max-width: 1400px; margin: 6px auto; padding: 8px 12px; max-height: 24vh; overflow-y: auto; font-size: 0.8rem; color: #b9a06a; line-height: 1.5; background: rgba(12,10,6,0.7); border: 1px solid #55482a; border-radius: 10px; }
.guest-log div { padding: 1px 0; }
.guest-tools { max-width: 1400px; margin: 0 auto; padding: 0 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.guest-tools button { padding: 4px 9px; font-size: 0.78rem; }
/* v0.15.157 (#455 B): the phase strip over the prompt; a trait offer's tiles */
.guest-phase-strip { position: fixed; left: 50%; top: 8vh; transform: translateX(-50%); z-index: 2501; display: none; gap: 8px; align-items: center; flex-wrap: wrap; padding: 6px 12px; border-radius: 99px; background: rgba(12,10,6,0.92); border: 1px solid #55482a; font-size: 0.8rem; color: #cbb87e; }
.guest-phase-strip .gp-title { color: #ffe9b0; font-weight: 700; margin-right: 6px; }
.rv-trait-tile { width: 100%; aspect-ratio: 111 / 102; border-radius: 8px; background: linear-gradient(#2a2416, #14110a); border: 1px solid #c9a84c; padding: 8px; color: #f0d488; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.rv-trait-tile b { font-size: 0.85rem; color: #ffe9b0; } .rv-trait-tile small { font-size: 0.65rem; color: #b9a06a; } .rv-trait-tile p { font-size: 0.68rem; margin: 0; color: #e8dcc0; line-height: 1.3; }
/* v0.15.154 (#455 release A2): the joiner's map IS map.html */
.guest-map #map-dock .dock-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.guest-seat-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: #cbb87e; padding: 2px 10px; border: 1px solid rgba(201,168,76,0.5); border-radius: 99px; background: rgba(14,12,10,0.7); margin-right: 8px; }
.guest-seat-chip b { color: #ffe9b0; }
.guest-map .map-cell.vote-option { cursor: pointer; z-index: 40; }
.guest-map .map-cell.vote-option::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #ffd76a; box-shadow: 0 0 18px rgba(255, 215, 106, 0.85); animation: wm-throb 1.6s ease-in-out infinite; pointer-events: none; }
.guest-prompt.is-vote { top: auto; bottom: 12vh; }
/* v0.15.158 (#455 C): the item at stake over the page; the reveal */
.rv-prompt-item { display: flex; justify-content: center; margin: 4px 0 10px; }
.rv-prompt-item .tos-card { transform: scale(0.82); transform-origin: top center; margin-bottom: -40px; }
.guest-nvg-reveal { position: fixed; inset: 0; z-index: 2600; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.6); }
.gnr-panel { background: linear-gradient(#2a2416, #14110a); border: 1px solid #c9a84c; border-radius: 12px; padding: 1rem 1.4rem; min-width: 280px; max-width: 520px; color: #f0d488; text-align: center; }
.gnr-panel h3 { margin: 0 0 0.6rem; color: #ffe9b0; }
.gnr-row { padding: 4px 8px; border-radius: 8px; margin: 2px 0; }
.gnr-row.me { outline: 1px solid rgba(201, 168, 76, 0.35); }
.gnr-row.winner.lit { background: rgba(201, 168, 76, 0.2); }
.gnr-vote.need { color: #ff9f6b; } .gnr-vote.greed { color: #ffd76a; } .gnr-vote.pass { opacity: 0.6; }
.gnr-die { display: inline-block; min-width: 3.2em; }
.gnr-result { margin: 8px 0 0; color: #ffe9b0; font-weight: 700; }
/* v0.15.159 (#455 D1): the host's dialogs on this screen — an advancing button is a vote; the rest is the host's */
.guest-dialog button.host-only { opacity: 0.55; cursor: default; }
.guest-dialog button.guest-gated.guest-voted { outline: 2px solid #c9a84c; outline-offset: 2px; }
