.frontier-game{isolation:isolate;color:#edf1df;background:#091820;font:16px/1.5 Segoe UI,sans-serif;position:fixed;inset:0;overflow:hidden}.frontier-canvas{touch-action:none;cursor:grab;width:100%;height:100%;position:absolute;inset:0}.frontier-canvas:active{cursor:grabbing}.frontier-game button,.frontier-dialog button{font:inherit;background:var(--theme-night-raised);min-height:44px;color:var(--theme-night-ink);cursor:pointer;border:1px solid #688179;border-radius:5px;padding:.65rem .9rem}.frontier-game button:hover:not(:disabled),.frontier-dialog button:hover:not(:disabled){background:#2d493f;border-color:#e2bd73}.frontier-game button:disabled,.frontier-dialog button:disabled{opacity:.5;cursor:not-allowed}:is(.frontier-game :is(button,select,summary):focus-visible,.frontier-dialog :is(button,select,summary):focus-visible){outline-offset:3px;outline:3px solid #f2cb7b}:where(.frontier-game) small{letter-spacing:.09em;color:var(--theme-night-muted);font-size:.875rem}.frontier-hud{background:linear-gradient(#071318f7,#071318d4);border-bottom:1px solid #6c82604d;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex;position:absolute;inset:0 0 auto}.frontier-brand{margin-right:auto}.frontier-brand small{color:#d4b37d}.frontier-brand h1{font:1.5rem/1.3 var(--font-frontier-display);color:var(--theme-night-ink);margin:0}.frontier-explorer{gap:.25rem;font-size:.875rem;display:grid}.frontier-explorer select{font:inherit;background:var(--theme-night);color:#e8edd9;border:1px solid #758674;max-width:15rem;min-height:36px;padding:.4rem .7rem}.frontier-status{pointer-events:none;background:#63817266;border:1px solid #63817266;border-radius:6px;gap:1px;display:flex;position:absolute;top:110px;left:24px;overflow:hidden}.frontier-status>div{background:#0b211eee;padding:.75rem 1.1rem}.frontier-status small,.frontier-status strong{display:block}.frontier-status strong{font:1.5rem var(--font-frontier-display);color:#efd19a}.frontier-status strong span{color:var(--theme-night-muted);font:14px Segoe UI,sans-serif}.frontier-map-controls{flex-wrap:wrap;align-items:center;gap:.5rem;max-width:calc(100% - 380px);display:flex;position:absolute;top:205px;left:24px}.frontier-map-controls span{color:#b9cac3;width:100%;font-size:.875rem}.frontier-inspector{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0d2423ed;border:1px solid #95a28366;border-radius:10px;width:320px;position:absolute;top:110px;bottom:100px;right:24px;overflow:auto;box-shadow:0 15px 50px #0007}.frontier-location-art{object-fit:cover;width:100%;height:155px;display:block}.frontier-inspector-body{padding:1.25rem}.frontier-inspector h2{font:1.65rem/1.25 var(--font-frontier-display);color:#efdab0;margin:.75rem 0}.frontier-inspector p{color:#ced8c8;font-size:1rem;line-height:1.6}.frontier-inspector button{text-align:left;width:100%;margin:.35rem 0}.frontier-game .frontier-primary{color:#111f1c;background:#bb9455;border-color:#f1d396;font-weight:700}.frontier-inspector details{border-top:1px solid #59796b;margin-top:1rem;padding-top:.75rem}.frontier-inspector summary{cursor:pointer;font-size:.875rem}.frontier-inspector .frontier-hint{font-size:.875rem}.frontier-encounter{background:#452a2acc;border-left:3px solid #ce856c;padding:1rem}.frontier-encounter h3{font:1.3rem var(--font-frontier-display)}.frontier-log{background:linear-gradient(90deg,#06161df2,#06161d99);border-left:2px solid #e3b56c;width:min(470px,100% - 405px);max-height:28vh;padding:1rem 1.25rem;position:absolute;bottom:102px;left:24px;overflow:auto}.frontier-log p{margin:.4rem 0}.frontier-log summary{cursor:pointer;color:#bed2c7;font-size:.875rem}.frontier-log ol{padding-left:1.25rem}.frontier-log li{margin:.5rem 0;font-size:.875rem}.frontier-dock{background:#07181cf5;border-top:1px solid #9caf8555;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex;position:absolute;inset:auto 0 0}.frontier-dock>div{gap:.5rem;display:flex}.frontier-dock>span{color:#b6cabc;font-size:.875rem}.frontier-error,.frontier-render-error{z-index:4;background:#532d2b;border:1px solid #e8a280;max-width:90vw;padding:1rem;position:absolute;top:105px;left:50%;transform:translate(-50%)}.frontier-error button{margin-left:1rem}.frontier-dialog{background:var(--theme-night);width:min(1050px,94vw);max-height:90dvh;color:var(--theme-night-ink);border:1px solid #a59266;border-radius:12px;margin:auto;padding:0;box-shadow:0 35px 120px #000a}.frontier-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#020c14c9}.frontier-dialog>header{z-index:2;background:var(--theme-night);border-bottom:1px solid #8c936866;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex;position:sticky;top:0}.frontier-dialog h2{font:1.6rem var(--font-frontier-display);margin:0}.frontier-concept{width:100%;height:auto;display:block}.frontier-dialog>p,.frontier-camp-content{padding:1rem 1.5rem}.frontier-camp-art{object-fit:cover;width:100%;height:280px}.frontier-camp-content dl{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;display:grid}.frontier-camp-content dl>div{background:var(--theme-night-raised);border:1px solid #778a5e;padding:1rem}.frontier-camp-content dd{font:2rem var(--font-frontier-display);margin:.5rem 0 0}.frontier-camp-content h3{font:1.4rem var(--font-frontier-display);margin:1.5rem 0 .5rem}@media (max-width:900px){.frontier-brand h1{font-size:1.15rem}.frontier-hud{gap:.5rem;padding:.75rem}.frontier-explorer{max-width:170px}.frontier-inspector{width:285px;top:155px;bottom:100px;right:12px}.frontier-status{top:92px;left:12px}.frontier-status>div{padding:.5rem .75rem}.frontier-map-controls{max-width:calc(100% - 320px);top:173px;left:12px}.frontier-map-controls span{display:none}.frontier-log{width:calc(100% - 330px);left:12px}.frontier-dock{flex-wrap:wrap;gap:.5rem;padding:.75rem}.frontier-dock>span:last-child{display:none}}@media (max-width:600px){.frontier-hud{flex-wrap:wrap}.frontier-brand{flex:45%}.frontier-hud>button{padding:.4rem .6rem;font-size:.875rem}.frontier-explorer{flex:45%;max-width:none}.frontier-status{justify-content:stretch;top:145px;left:8px;right:8px}.frontier-status>div{flex:1;padding:.4rem}.frontier-status small{letter-spacing:0;font-size:.875rem}.frontier-status strong{font-size:1.1rem}.frontier-map-controls{max-width:none;top:218px;left:8px}.frontier-inspector{width:auto;max-height:34dvh;inset:auto 8px 79px}.frontier-location-art{display:none}.frontier-inspector-body{padding:.85rem}.frontier-inspector h2{margin:.4rem 0;font-size:1.3rem}.frontier-log{display:none}.frontier-dock{justify-content:center;height:72px;padding:.5rem}.frontier-dock>span{display:none}.frontier-dock button{padding:.4rem;font-size:.875rem}.frontier-dialog>header{padding:1rem}.frontier-dialog h2{font-size:1.3rem}}.frontier-creation{gap:1rem;max-width:44rem;margin:auto;padding:1.5rem;display:grid}.frontier-creation label{gap:.5rem;display:grid}.frontier-creation input,.frontier-creation select{min-height:44px;font:inherit;background:var(--theme-parchment);color:#132a22;border:1px solid #9eaa80;border-radius:4px;width:100%;padding:.75rem}.frontier-map-mode{background:var(--theme-night);color:var(--theme-night-ink);pointer-events:none;border-radius:4px;padding:.3rem .6rem;font-size:.875rem;position:absolute;bottom:85px;left:24px}.frontier-map-controls>span{background:#102722df;border-radius:4px;padding:.3rem .6rem}.frontier-backgrounds{border:0;gap:10px;margin:16px 0;padding:0;display:grid}.frontier-backgrounds>label{border:1px solid #a29673;border-radius:6px;align-items:center;gap:14px;padding:14px;display:flex}.frontier-backgrounds input{flex:none;width:auto!important}.frontier-backgrounds small{margin-top:4px;font-size:14px;display:block}.frontier-backgrounds>label:has(input:checked){color:#18342d;background:#d8c991}
