/* Shared hunt room. All artwork outside this room remains untouched. */
.rh-room{--rh-gold:#e5c17d;--rh-border:#8b73494f;color:#f4ecdc;background:#101c19;font:14px/1.35 system-ui,sans-serif;display:flex;flex-direction:column;gap:10px;padding:12px;min-width:0;box-sizing:border-box;width:100%;max-width:1320px;margin:auto}.rh-room *{box-sizing:border-box}.rh-heading,.rh-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.rh-heading h2{font:700 clamp(20px,3vw,32px)/1 Georgia,serif;letter-spacing:.065em;color:#f9e4b6;margin:4px 0}.rh-kicker,.rh-tag{font:700 10px/1.2 system-ui;letter-spacing:.14em;color:#dabb7b}.rh-tag{border:1px solid var(--rh-border);padding:8px 10px}.rh-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.rh-stat{background:linear-gradient(140deg,#26332a,#15211e);border:1px solid var(--rh-border);padding:7px 11px;min-width:0}.rh-stat small{display:block;color:#d8c5a2;font-size:10px;font-weight:700;letter-spacing:.1em}.rh-stat b{font:700 clamp(17px,2.1vw,25px)/1.2 Georgia,serif;color:#fff1cc}.rh-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px;min-height:0}.rh-stage{position:relative;overflow:hidden;border:1px solid #af8b54;box-shadow:0 0 30px #0008 inset;align-self:start;background:#14251d}.rh-stage canvas{display:block;width:100%;height:auto;max-height:56vh;object-fit:fill;cursor:crosshair;touch-action:none;outline-offset:-4px}.rh-intro{position:absolute;inset:0;background:linear-gradient(100deg,#0c1714ed,#0b1716b0 55%,#101b1666);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:15px}.rh-intro[hidden]{display:none}.rh-intro h3{font:700 clamp(23px,4vw,48px)/1.1 Georgia;color:#ffe4a8;margin:0;text-shadow:0 3px 18px #000}.rh-intro p{max-width:400px;color:#f5edda;margin:0;font-size:14px}.rh-room button{border:1px solid #947a4c;background:#29342b;color:#f3e3bf;font:700 11px system-ui;letter-spacing:.055em;padding:10px 11px;cursor:pointer;min-height:35px;border-radius:4px}.rh-room button:disabled{opacity:.43;cursor:default}.rh-room button:hover:not(:disabled){filter:brightness(1.25)}.rh-room .rh-gold{background:linear-gradient(#e3c58c,#ac7939);color:#18140e;border-color:#ffe1a4;padding:12px 20px}.rh-notice{position:absolute;left:8px;bottom:8px;background:#0a1613c9;padding:6px 10px;color:#fff2d6;font-size:11px;pointer-events:none;max-width:95%}.rh-notice:empty{display:none}.rh-side{display:flex;flex-direction:column;gap:7px;min-width:0;background:#1c2a23;border:1px solid var(--rh-border);padding:9px}.rh-selected{display:flex;align-items:center;gap:9px;min-width:0}.rh-selected img{width:68px;height:75px;object-fit:cover;object-position:50% 25%;border:1px solid #a98a50}.rh-selected strong,.rh-selected small{display:block}.rh-selected strong{color:#ffe0a4;font:700 17px Georgia}.rh-selected small{font-size:10px;color:#dfd7bf;margin-top:2px}.rh-side label{font-size:10px;letter-spacing:.08em;font-weight:700;color:#dbc697;display:grid;gap:3px}.rh-side select{width:100%;color:#f9ecd1;background:#101b16;border:1px solid #8c744b;border-radius:3px;padding:7px;font:600 12px system-ui}.rh-species{padding:6px;border:1px solid #8c744b66}.rh-species>span{font:700 9px system-ui;color:#d2b980;letter-spacing:.1em}.rh-species>div{display:grid;grid-template-columns:1fr 1fr;gap:3px 10px;margin-top:4px}.rh-species small{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#f0e5cd}.rh-species b{color:#efd193}.rh-side-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px}.rh-side-buttons button:last-child{grid-column:span 2}.rh-help{font-size:10px;color:#d4d6c7;line-height:1.35}.rh-bottom{font-size:12px;color:#dccba8}.rh-modal{padding:0;background:#101c19;border:1px solid #b59455;color:#eee;width:min(96vw,1320px);max-width:96vw;max-height:96dvh;overflow:auto;z-index:99999}.rh-modal::backdrop{background:#040b09e8}.rh-room [hidden]{display:none!important}.game-card .art.hunt{background-image:linear-gradient(90deg,#0d1a16aa,#0b171611),url(rootways.webp);background-size:cover;background-position:center}.game-card .art.hunt:after{content:'';position:absolute;right:0;bottom:0;width:51%;height:100%;background:var(--lord) center 25%/cover;mask-image:linear-gradient(90deg,transparent,#000 35%);opacity:.9}.game-card .art.hunt{position:relative}.game-card .art.hunt .pill{z-index:2;position:relative}#gameDialog[data-room=hunt] #gameBody{overflow:auto;display:block}#gameDialog[data-room=hunt] .rh-room{padding:6px}.rh-room button:focus-visible,.rh-room select:focus-visible{outline:2px solid #ffe6ad;outline-offset:2px}@media(max-width:800px){.rh-grid{grid-template-columns:1fr;gap:6px}.rh-room{gap:6px;padding:7px}.rh-stage canvas{max-height:37vh}.rh-side{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px}.rh-selected{grid-column:span 2}.rh-selected img{height:42px;width:42px}.rh-selected strong{font-size:14px}.rh-selected small{display:inline;margin-right:5px}.rh-species,.rh-help{display:none}.rh-side-buttons{grid-column:span 2;grid-template-columns:1fr 1fr 1fr}.rh-side-buttons button:last-child{grid-column:auto}.rh-stat{padding:4px 5px}.rh-stat small{font-size:8px;letter-spacing:0}.rh-stat b{font-size:16px}.rh-tag{font-size:8px;padding:4px}.rh-heading h2{font-size:20px}.rh-intro h3{font-size:22px}.rh-intro p{font-size:11px}.rh-intro{gap:5px;padding:8px}.rh-room button{min-height:30px;padding:6px}.rh-bottom{font-size:10px}.rh-stats{gap:3px}.rh-heading .rh-kicker{font-size:8px}}@media(max-height:700px) and (min-width:801px){.rh-stage canvas{max-height:49vh}.rh-side{gap:4px;padding:5px}.rh-selected img{height:55px;width:50px}.rh-species{display:none}.rh-help{font-size:10px}.rh-room{gap:5px}.rh-room button{padding:6px;min-height:29px}}
.rh-side-buttons:has([data-rh-audio]) button:last-child{grid-column:span 2}.rh-side-buttons:has([data-rh-audio]) [data-rh-end]{grid-column:span 2}@media(max-width:800px){.rh-side-buttons:has([data-rh-audio]){grid-template-columns:repeat(4,minmax(0,1fr))}.rh-side-buttons:has([data-rh-audio]) button:last-child,.rh-side-buttons:has([data-rh-audio]) [data-rh-end]{grid-column:auto}}
@keyframes rh-reveal{from{filter:brightness(.5) saturate(.65)}to{filter:brightness(1) saturate(1)}}.rh-stage.rh-enter canvas{animation:rh-reveal .65s ease-out}@media(prefers-reduced-motion:reduce){.rh-stage.rh-enter canvas{animation:none}}
/* V3.6 · FRONTIER field journal */
.rh-room{--rh-time:100%;--rh-gold:#efcb89;--rh-border:#8e7448;gap:9px;background:radial-gradient(ellipse at 48% 0%,#273b30 0,#121c18 62%);padding:10px;box-shadow:inset 0 0 0 1px #9f845332}.rh-room[data-realm="1"]{background:radial-gradient(ellipse at 45% 0%,#263e4a,#111c25 65%)}.rh-room[data-realm="2"]{background:radial-gradient(ellipse at 45% 0%,#30403d,#141e1d 65%)}.rh-heading h2{font-weight:700;letter-spacing:.09em;text-shadow:0 2px 0 #000,0 0 22px #d9b86a30}.rh-heading{border-bottom:1px solid #c5a26a66;padding-bottom:5px}.rh-stat{position:relative;overflow:hidden;border:1px solid #8d784d;background:linear-gradient(155deg,#364136,#101a16 80%);box-shadow:inset 0 1px #e5c79040,0 2px 8px #0005;border-radius:4px}.rh-stat b{color:#fff2d7;font-variant-numeric:tabular-nums}.rh-stat:first-child::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:var(--rh-time);background:#e4ba68;transition:width .15s linear}.rh-low .rh-stat:first-child::after{background:#ef786b}.rh-low #rh-time{color:#ffad98}.rh-stage{border:2px solid #c2a16a;box-shadow:0 0 0 2px #382f20,0 6px 20px #0007;border-radius:5px}.rh-stage canvas{max-height:57vh}.rh-field-label{position:absolute;left:8px;right:8px;top:8px;display:flex;justify-content:space-between;gap:4px;pointer-events:none;font-size:10px;font-weight:800;letter-spacing:.11em;color:#f8e8bd;text-shadow:0 1px 5px #000;background:linear-gradient(90deg,#0b1310d9,#0b131040);padding:7px 10px;border-bottom:1px solid #ae8e53aa}.rh-field-signal{color:#d0c4a8}.rh-focused .rh-field-signal{color:#ffe5a4}.rh-focused .rh-field-signal:after{content:' · FOCUS ACTIVE'}.rh-intro{background:linear-gradient(90deg,#0d1513ed,#0b171678 58%,#101b1638);padding-top:26px;text-shadow:0 2px 12px #000}.rh-intro .rh-kicker{letter-spacing:.2em}.rh-intro h3{color:#fff0d3;font-size:clamp(23px,4vw,40px)}.rh-room .rh-gold{box-shadow:0 3px 12px #0007,inset 0 1px #fff0bb;text-shadow:none}.rh-side{border-color:#a18450;background:linear-gradient(145deg,#27352b,#121e19);border-radius:4px;box-shadow:inset 0 1px #e5c79033}.rh-selected img{border:2px solid #bd9b61;border-radius:3px;box-shadow:0 2px 7px #0008}.rh-species>div{gap:3px 6px}.rh-species small{align-items:center;min-width:0;font-size:10px;line-height:1.15}.rh-species small span{flex:1}.rh-specimen{width:27px;height:22px;object-fit:contain;filter:drop-shadow(0 1px 1px #0008)}.rh-species small:last-child{color:#ffe4a4}.rh-room button{font-weight:800;letter-spacing:.055em;box-shadow:inset 0 1px #c6aa7840}.rh-room button[data-rh-focus]:not(:disabled){border-color:#d8b771;background:linear-gradient(#66562e,#2c3022);color:#fff1be}.rh-pause-layer{display:none;position:absolute;inset:0;background:#0b1212ad;place-items:center;color:#fff2d1;font:700 30px Georgia;letter-spacing:.12em;pointer-events:none}.rh-paused .rh-pause-layer{display:grid}.rh-notice{border-left:2px solid #ddb77a;border-radius:2px;font-weight:600}.rh-bottom{border-top:1px solid #ad90563d;padding-top:4px}.game-card .art.hunt{background-image:linear-gradient(90deg,#101c1566,#0b171611),url(rootways-frontier.webp)}@media(max-width:800px){.rh-room{padding:5px;gap:5px}.rh-heading{padding-bottom:3px}.rh-field-label{font-size:8px;top:4px;left:4px;right:4px;padding:4px}.rh-field-signal{display:none}.rh-stage canvas{max-height:37vh}.rh-intro{padding-top:20px}.rh-intro h3{font-size:22px}.rh-stat b{font-size:16px}.rh-pause-layer{font-size:20px}.rh-side{gap:4px;padding:5px}.rh-room button{letter-spacing:.02em}}

/* V3.8 — compact field HUD */ .rh-grid{grid-template-columns:minmax(0,1fr) 240px}.rh-stage{border-radius:7px;border:2px solid #c6a56c}.rh-side{background:linear-gradient(160deg,#293b32,#111d18);border-color:#aa8e59}.rh-track{position:absolute;right:10px;top:45px;pointer-events:none;background:#101b15e8;border:1px solid #b89b62;border-left:3px solid #a4df91;padding:8px 12px;min-width:150px;color:#fff0cc;box-shadow:0 3px 12px #0008}.rh-track span,.rh-track small{display:block;font-size:10px;color:#d4dcbf;letter-spacing:.06em}.rh-track strong{font:700 16px Georgia;color:#f9e4ab}.rh-mission{padding:6px 8px;border:1px solid #a98b5470;background:#0f1b15}.rh-mission span{font:700 9px system-ui;letter-spacing:.12em;color:#d9c58e;display:block}.rh-mission b{font:600 11px/1.4 system-ui;color:#e7edce}.rh-playing .rh-side label{display:none}.rh-playing .rh-intro{display:none}.rh-reloading canvas{cursor:wait}.rh-side-buttons button{min-height:36px}.rh-notice{border-left:2px solid #e3c483}.rh-stat b{font-size:clamp(18px,2.3vw,28px)}@media(max-width:800px){.rh-grid{grid-template-columns:1fr}.rh-mission{grid-column:span 2;padding:4px}.rh-track{top:30px;padding:4px 6px;min-width:100px}.rh-track strong{font-size:12px}.rh-side-buttons button{min-height:30px}.rh-stat b{font-size:16px}}@media(max-height:720px) and (min-width:801px){.rh-mission{padding:4px}.rh-stage canvas{max-height:50vh}.rh-side-buttons button{min-height:30px}}
.rh-focused .rh-field-signal:after{content:none}.rh-playing .rh-selected img{object-fit:contain}.rh-playing .rh-track{z-index:1}.rh-field-signal{min-width:112px;text-align:right}.rh-reloading .rh-field-signal{color:#f6cc9b}

/* V3.9: premium field optics and spacious, restrained hunting. */
.rh-stage{border:1px solid #d4b77c;box-shadow:0 0 0 3px #281e13,0 0 0 4px #816b45,0 9px 26px #0009;background:#0e1714}.rh-room{background:radial-gradient(ellipse at 55% 0%,#304439,#111915 70%)}.rh-heading h2{letter-spacing:.12em}.rh-stat{border-color:#94794d;background:linear-gradient(165deg,#34473a,#17231d 70%);padding:7px 10px}.rh-stat small{color:#ead8ad}.rh-track{background:#101813ed;border-radius:3px;min-width:135px}.rh-field-label{background:linear-gradient(90deg,#0a130ee8,#0a130e9c);border-radius:3px}.rh-notice{max-width:calc(100% - 16px);white-space:normal;background:#0c1714ed;color:#fff0cc}.rh-side{box-shadow:inset 0 1px #e6c78a55,0 4px 14px #0005}.rh-playing .rh-species{opacity:.92}.rh-room .rh-gold{background:linear-gradient(#f0d49a,#a87938);border-color:#fff0bf}.rh-room button:not(:disabled):active{transform:translateY(1px)}@media(max-width:800px){.rh-stat{padding:4px}.rh-track{min-width:96px}.rh-track small{font-size:9px}.rh-heading h2{letter-spacing:.06em}.rh-stage{box-shadow:0 0 0 1px #816b45,0 4px 12px #0007}}
/* Frontier 1.7 · unified blue/gold hunting interface */
.rh-room{background:radial-gradient(ellipse at 45% 0%,#344e60,#122337 70%);border-color:#a99066}.rh-stat{background:linear-gradient(160deg,#304c61,#152638);border-color:#758ea0}.rh-stat small{color:#d0e4f3}.rh-stat b{color:#f5dfaf}.rh-side{background:linear-gradient(145deg,#233c50,#122538);border-color:#8f9eac}.rh-grid{grid-template-columns:minmax(0,1fr) 242px;gap:12px}.rh-stage{box-shadow:0 0 0 2px #152639,0 0 0 3px #957c51,0 9px 25px #0008}.rh-stage canvas{max-height:52dvh;object-fit:contain;background:#142639}.rh-mission{background:#102538;border-color:#b39c73}.rh-mission small{display:block;color:#e6c785;font-size:10px;margin-top:4px}.rh-room select{background:#0c1e30;color:#e9edf5;border-color:#7c94aa}.rh-room button{background:linear-gradient(180deg,#35546d,#182b3c);border-color:#7f97a8}.rh-room .rh-gold{background:linear-gradient(#f6dba2,#ab7938);color:#142337}.rh-field-label{background:#0c1b2ce6}.rh-track{background:#102238e8;border-color:#d2b477;border-left-color:#a8e5bd}.rh-intro{background:linear-gradient(90deg,#0a192bef,#10263a7c 62%,#0a1b2e18)}.rh-help{color:#c7d6e2}.rh-notice{background:#102237e8}.rh-room .rh-heading h2{font-size:24px}.rh-species small{font-size:11px}.rh-playing .rh-selected{padding:4px}.rh-playing .rh-help{font-size:11px}.rh-side-buttons button{min-height:35px}.rh-low .rh-stat:first-child{border-color:#fa967b}.rh-room .rh-bottom button{min-height:38px}
@media(max-height:800px) and (min-width:801px){.rh-stage canvas{max-height:43dvh}.rh-side{gap:4px}.rh-side-buttons button{min-height:31px}.rh-selected img{height:50px}.rh-species small{font-size:10px}.rh-help{font-size:10px}}@media(max-width:800px){.rh-grid{grid-template-columns:1fr}.rh-stage canvas{max-height:none}}
.rh-stage canvas{max-height:none!important;width:100%;height:auto;object-fit:initial}.rh-species>div{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-species small{font-size:10px;letter-spacing:0}.rh-species small span{white-space:normal}.rh-species small b{font-size:10px}.rh-species .rh-specimen{width:22px}.rh-help{line-height:1.42}
