.ranch-talk { position:fixed; z-index:66; left:50%; bottom:max(20px, calc(12px + env(safe-area-inset-bottom))); transform:translateX(-50%); width:min(460px, calc(100% - 32px)); box-sizing:border-box; padding:14px 16px 12px; color:#2a2226; background:#fff8e6; border:3px solid #2a2226; box-shadow:4px 4px 0 #0007; font:17px/1.45 Arial,"Helvetica Neue",sans-serif; cursor:default; }
.ranch-talk p { margin:0 0 10px; }
.ranch-talk .ranch-who { margin:0 0 4px; font-size:14px; font-weight:700; letter-spacing:.04em; }
.ranch-choices { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.ranch-choices button { font:inherit; font-size:16px; min-height:44px; padding:6px 16px; color:#fff8e6; background:#2a2226; border:2px solid #2a2226; cursor:pointer; }
.ranch-choices button + button { color:#2a2226; background:transparent; }
.ranch-choices button:focus-visible { outline:3px solid #3f8f7f; outline-offset:2px; }
.ranch-hud { position:fixed; z-index:6; top:max(10px, env(safe-area-inset-top)); left:50%; transform:translateX(-50%); width:min(560px, calc(100% - 32px)); display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 12px; color:#fff8e6; text-shadow:0 1px 0 #000a; font:20px/1.1 "VT323", ui-monospace, Menlo, monospace; pointer-events:none; }
.ranch-hud[hidden] { display:none; }
.ranch-hud p { margin:0; grid-column:1; }
.ranch-hud .ranch-hint { opacity:.85; }
.ranch-hud button { grid-column:2; grid-row:1 / span 2; pointer-events:auto; font:inherit; color:#fff8e6; background:#2a2226cc; border:1px solid #fff8e688; min-height:44px; padding:4px 14px; cursor:pointer; }
@media (max-width:480px) { .ranch-talk { font-size:16px; } .ranch-hud { font-size:18px; } }
/* archery, seen down the arrow (archery.js) */
.arch-room { position:fixed; inset:0; z-index:105; overflow:hidden; background:#5f8a4a; font-family:"Jost", Arial, sans-serif; color:#fff8e6; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.arch-room canvas { position:absolute; inset:0; width:100%; height:100%; touch-action:none; cursor:crosshair; }
.arch-hud { position:absolute; top:max(10px, env(safe-area-inset-top)); left:max(12px, env(safe-area-inset-left)); right:max(12px, env(safe-area-inset-right)); display:flex; align-items:center; gap:6px 16px; flex-wrap:wrap; pointer-events:none; text-shadow:0 1px 3px #000a; }
.arch-hud p { margin:0; font-size:17px; font-weight:500; }
.arch-hud .arch-level { font-size:22px; font-weight:600; letter-spacing:.02em; }
.arch-hud .arch-total { margin-right:auto; opacity:.85; }
.arch-room button { pointer-events:auto; font:500 16px/1 "Jost", Arial, sans-serif; color:#fff8e6; background:#00000055; border:1.5px solid #fff8e6aa; border-radius:999px; min-height:40px; padding:8px 18px; cursor:pointer; touch-action:manipulation; }
.arch-room button:hover, .arch-room button:focus-visible { background:#fff8e6; color:#1f2a1a; outline:none; }
.arch-panel { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); width:min(420px, calc(100% - 32px)); max-height:calc(100% - 90px); overflow:auto; box-sizing:border-box; padding:22px 22px 18px; background:#1f2a1aee; border-radius:18px; text-align:center; box-shadow:0 10px 40px #0008; }
.arch-panel h2 { margin:0 0 6px; font-size:26px; font-weight:600; }
.arch-panel > p { margin:0 0 16px; opacity:.85; }
.arch-actions { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.arch-actions button { background:#fff8e6; color:#1f2a1a; }
.arch-actions button.quiet { background:transparent; color:#fff8e6; }
.arch-board { margin-top:16px; text-align:left; }
.arch-board h3 { margin:0 0 6px; font-size:14px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; opacity:.7; }
.arch-board ol { list-style:none; margin:0; padding:0; }
.arch-board li { display:grid; grid-template-columns:1fr auto auto; gap:12px; padding:5px 0; border-bottom:1px solid #fff8e622; font-size:15px; }
.arch-board li.me { color:#ffd23a; }
.arch-board li em { font-style:normal; opacity:.6; font-size:13px; }
.arch-note { margin:8px 0 0; font-size:13px; opacity:.75; }
@media (max-height:480px) { .arch-hud p { font-size:15px; } .arch-hud .arch-level { font-size:18px; } .arch-panel { padding:14px; } .arch-panel h2 { font-size:20px; } .arch-room button { min-height:34px; padding:6px 14px; } }
