:root{--hud-bg: rgba(17, 24, 39, .78);--hud-border: rgba(255, 255, 255, .18);--hud-accent: #fbbf24;--hud-accent-text: #111827;--hud-text: #f9fafb;--hud-muted: #cbd5e1;--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;background:#0f172a;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#renderCanvas{width:100%;height:100%;display:block;outline:none;touch-action:none}#hud-root{position:fixed;inset:0;pointer-events:none;color:var(--hud-text);z-index:10}.hud-fade-curtain{position:fixed;inset:0;background:#0b1120;opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:50}.hud-fade-curtain.active{opacity:1}.hud-loading-overlay{position:fixed;inset:0;background:linear-gradient(160deg,#0f172a,#1e293b);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;z-index:60;transition:opacity .3s ease}.hud-loading-overlay.hidden{opacity:0;pointer-events:none}.hud-loading-title{font-size:1.5rem;font-weight:700;letter-spacing:.04em}.hud-loading-sub{font-size:.95rem;color:var(--hud-muted)}.hud-zone-banner{position:fixed;top:22px;left:50%;transform:translate(-50%);background:var(--hud-bg);border:1px solid var(--hud-border);backdrop-filter:blur(8px);padding:8px 20px;border-radius:999px;font-size:.95rem;font-weight:600;letter-spacing:.04em;box-shadow:0 8px 24px #00000047}.hud-controls-hint{position:fixed;bottom:20px;left:20px;background:var(--hud-bg);border:1px solid var(--hud-border);backdrop-filter:blur(8px);padding:10px 14px;border-radius:10px;font-size:.82rem;line-height:1.6;color:var(--hud-muted)}.hud-controls-hint kbd{background:#ffffff24;color:var(--hud-text);border-radius:4px;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.hud-status-bar{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.hud-badge{background:var(--hud-bg);border:1px solid var(--hud-border);backdrop-filter:blur(8px);padding:6px 12px;border-radius:8px;font-size:.85rem;font-weight:600}.hud-badge-combat{border-color:#fbbf24d9;background:#78350fdb;color:#fef3c7}.hud-stamina-wrap{width:170px;background:var(--hud-bg);border:1px solid var(--hud-border);border-radius:999px;padding:4px}.hud-stamina-fill{height:8px;width:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#84cc16);transition:width .08s linear,background-color .15s ease}.hud-stamina-fill.low{background:linear-gradient(90deg,#ef4444,#f59e0b)}.hud-stamina-fill.is-admin-infinite{background:linear-gradient(90deg,#facc15,#f59e0b,#fbbf24);box-shadow:0 0 10px #fbbf248c}.hud-pointer-prompt{position:fixed;top:72px;left:50%;transform:translate(-50%);background:#0f172adb;border:1px solid rgba(251,191,36,.55);color:#fef3c7;padding:7px 16px;border-radius:999px;font-size:.85rem;transition:opacity .2s ease}.hud-pointer-prompt.hidden{opacity:0}.hud-interact-prompt{position:fixed;bottom:136px;left:50%;transform:translate(-50%);background:var(--hud-bg);border:1px solid var(--hud-accent);backdrop-filter:blur(8px);padding:9px 18px;border-radius:10px;color:var(--hud-text);font-family:inherit;font-size:.95rem;font-weight:600;display:flex;align-items:center;gap:8px;box-shadow:0 8px 24px #00000059;pointer-events:auto;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.hud-interact-prompt:active{transform:translate(-50%) scale(.96)}.hud-interact-prompt.hidden{display:none}.hud-interact-key{background:var(--hud-accent);color:var(--hud-accent-text);font-weight:800;padding:2px 8px;border-radius:6px;font-size:.85rem}.hud-dialogue{position:fixed;bottom:42px;left:50%;transform:translate(-50%);width:min(580px,calc(100vw - 32px));background:#0f172af0;border:1px solid rgba(251,191,36,.65);border-radius:14px;padding:18px 20px;box-shadow:0 18px 40px #00000080;pointer-events:auto;z-index:30}.hud-dialogue.hidden{display:none}.hud-dialogue-title{font-size:1rem;font-weight:700;color:var(--hud-accent);margin-bottom:8px}.hud-dialogue-body{font-size:.95rem;line-height:1.65;color:var(--hud-text);white-space:pre-line}.hud-dialogue-footer{margin-top:14px;display:flex;justify-content:flex-end}.hud-btn{background:#ffffff24;color:var(--hud-text);border:1px solid var(--hud-border);border-radius:6px;padding:5px 12px;font-size:.82rem;cursor:pointer;pointer-events:auto}.hud-btn:hover{background:#ffffff3d}.hud-btn.hidden{display:none}.hud-btn-primary{background:var(--hud-accent);color:var(--hud-accent-text);border-color:var(--hud-accent);font-weight:700}.hud-btn-primary:hover{background:#f59e0b}.hud-btn-close{background:#2563ebe0;color:#fff;border-color:#60a5fad9;font-weight:700}.hud-btn-close:hover:not(:disabled){background:#3b82f6f5}.hud-toast{position:fixed;top:118px;left:50%;transform:translate(-50%);background:#10b981eb;color:#052e16;font-weight:700;padding:8px 18px;border-radius:999px;font-size:.88rem;box-shadow:0 8px 20px #0000004d;transition:opacity .2s ease}.hud-toast.hidden{opacity:0}.hud-debug-panel{position:fixed;top:18px;left:18px;width:300px;background:#0f172ae0;border:1px solid rgba(56,189,248,.45);border-radius:10px;padding:12px 14px;font-size:.8rem;line-height:1.55;pointer-events:auto;z-index:25}.hud-debug-panel.hidden{display:none}.hud-debug-title{font-weight:700;color:#38bdf8;margin-bottom:6px;display:flex;justify-content:space-between;align-items:center}.hud-debug-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#e2e8f0}.hud-debug-actions{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.hud-multiplayer-bar{position:fixed;top:18px;right:18px;background:var(--hud-bg);border:1px solid var(--hud-border);backdrop-filter:blur(8px);border-radius:12px;padding:8px 12px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;box-shadow:0 8px 24px #00000047;pointer-events:auto;z-index:24}.hud-net-row{display:flex;align-items:center;gap:7px;font-size:.82rem;font-weight:600;color:var(--hud-text)}.hud-net-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}.hud-net-dot.connected{background:#22c55e;box-shadow:0 0 8px #22c55ebf}.hud-net-dot.connecting{background:#f59e0b;box-shadow:0 0 8px #f59e0bbf}.hud-net-dot.offline{background:#94a3b8}.hud-player-row{display:flex;align-items:center;gap:8px}.hud-nickname-label{font-size:.84rem;font-weight:700;color:var(--hud-accent);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-btn-compact{padding:3px 9px;font-size:.76rem}.hud-modal-backdrop{position:fixed;inset:0;background:#02061794;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;pointer-events:auto;z-index:40}.hud-modal-backdrop.hidden{display:none}.hud-modal{width:min(360px,calc(100vw - 32px));background:#0f172af5;border:1px solid rgba(251,191,36,.65);border-radius:14px;padding:18px 20px;box-shadow:0 18px 40px #0000008c;display:flex;flex-direction:column;gap:12px}.hud-modal-title{font-size:1rem;font-weight:700;color:var(--hud-accent)}.hud-modal-input{width:100%;background:#1e293be6;border:1px solid var(--hud-border);border-radius:8px;padding:9px 12px;color:var(--hud-text);font-size:.95rem;font-family:inherit;outline:none;user-select:text}.hud-modal-input:focus{border-color:var(--hud-accent)}.hud-modal-actions{display:flex;justify-content:flex-end;gap:8px}.hud-btn:disabled{opacity:.48;cursor:not-allowed}.hud-btn-danger{background:#dc2626d9;color:#fff;border-color:#f87171b3;font-weight:700}.hud-btn-danger:hover:not(:disabled){background:#ef4444f2}.hud-hp-wrap{position:relative;width:170px;height:22px;background:var(--hud-bg);border:1px solid var(--hud-border);border-radius:999px;padding:3px;overflow:hidden}.hud-hp-fill{height:100%;width:100%;border-radius:999px;background:linear-gradient(90deg,#dc2626,#ef4444);transition:width .15s ease}.hud-hp-fill.low{background:linear-gradient(90deg,#991b1b,#f97316)}.hud-hp-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.85)}.hud-badge-pvp-peace{border-color:#38bdf88c;color:#e0f2fe}.hud-badge-pvp-pvp{border-color:#f87171d9;background:#7f1d1de0;color:#fee2e2}.hud-badge-pvp-protected{border-color:#34d399d9;background:#064e3be0;color:#d1fae5}.hud-badge-pvp-recuperating{border-color:#a78bfacc;background:#4c1d95e0;color:#ede9fe}.hud-modal-wide{width:min(410px,calc(100vw - 32px))}.hud-modal-settings{width:min(500px,calc(100vw - 32px));max-height:calc(100vh - 36px);overflow-y:auto;gap:14px}.hud-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hud-modal-subtitle{font-size:.86rem;color:var(--hud-muted);line-height:1.5}.hud-form-stack{display:flex;flex-direction:column;gap:11px}.hud-field{display:flex;flex-direction:column;gap:5px}.hud-field-label{font-size:.82rem;font-weight:600;color:var(--hud-muted)}.hud-error-text{font-size:.84rem;color:#fca5a5;background:#7f1d1d8c;border:1px solid rgba(248,113,113,.45);border-radius:8px;padding:7px 10px}.hud-error-text.hidden,.hud-info-banner.hidden,.hud-pvp-countdown.hidden,.hud-pvp-confirm.hidden{display:none}.hud-info-banner{font-size:.84rem;color:#fde68a;background:#78350f8c;border:1px solid rgba(251,191,36,.45);border-radius:8px;padding:8px 10px}.hud-settings-section{border:1px solid rgba(255,255,255,.12);background:#1e293b85;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:10px}.hud-section-title{font-size:.88rem;font-weight:700;color:var(--hud-accent);letter-spacing:.03em}.hud-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hud-stat-item{background:#0f172aa6;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:7px 10px;display:flex;flex-direction:column;gap:2px}.hud-stat-wide{grid-column:1 / -1}.hud-stat-label{font-size:.74rem;color:var(--hud-muted)}.hud-stat-value{font-size:.88rem;font-weight:700;color:var(--hud-text);word-break:break-word}.hud-nickname-row{display:flex;gap:8px;align-items:center}.hud-nickname-row .hud-modal-input{flex:1}.hud-pvp-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hud-pvp-status-line{font-size:.88rem;color:var(--hud-text)}.hud-pvp-countdown{margin-top:4px;font-size:.8rem;color:#fde68a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.hud-pvp-confirm{background:#7f1d1d59;border:1px solid rgba(248,113,113,.5);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:8px}.hud-pvp-confirm-text{font-size:.84rem;color:#fee2e2}.hud-settings-footer{display:flex;justify-content:flex-end;padding-top:2px}.hud-recuperation-overlay{position:fixed;inset:0;background:#020617b8;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;pointer-events:auto;z-index:35}.hud-recuperation-overlay.hidden{display:none}.hud-recup-card{width:min(480px,calc(100vw - 32px));background:#0f172af0;border:1px solid rgba(129,140,248,.6);border-radius:18px;padding:24px 24px 20px;box-shadow:0 24px 48px #0009;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.hud-recup-badge{background:#4f46e540;border:1px solid rgba(165,180,252,.55);color:#e0e7ff;font-size:.78rem;font-weight:700;padding:4px 12px;border-radius:999px;letter-spacing:.04em}.hud-recup-illustration{width:100%;margin:2px 0;border-radius:14px;overflow:hidden;border:1px solid rgba(165,180,252,.35);box-shadow:0 10px 26px #0206178c;background:#0f172a}.hud-recup-image{width:100%;aspect-ratio:16 / 9;object-fit:cover;display:block}.hud-recup-title{font-size:1.25rem;font-weight:800;color:#f8fafc;letter-spacing:.03em}.hud-recup-desc{font-size:.9rem;line-height:1.6;color:var(--hud-muted)}.hud-recup-timer-box{width:100%;background:#1e293bd9;border:1px solid rgba(148,163,184,.26);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;align-items:center;gap:4px}.hud-recup-timer-label{font-size:.76rem;color:var(--hud-muted);letter-spacing:.04em}.hud-recup-timer-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:2.1rem;font-weight:800;color:#a5b4fc;letter-spacing:.08em}.hud-recup-note{font-size:.78rem;color:#94a3b8}.hud-unread-dot{display:inline-block;width:8px;height:8px;border-radius:999px;background:#ef4444;box-shadow:0 0 8px #ef4444d9;margin-left:6px;vertical-align:middle}.hud-unread-dot.hidden{display:none}.hud-event-banner{position:fixed;top:66px;left:50%;transform:translate(-50%);width:min(620px,calc(100vw - 32px));background:#0f172aeb;border:1px solid rgba(251,191,36,.72);backdrop-filter:blur(10px);border-radius:12px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 12px 28px #0000006b;pointer-events:auto;z-index:23}.hud-event-banner.hidden{display:none}.hud-event-banner:not(.hidden)~.hud-pointer-prompt{top:144px}.hud-event-banner-main{display:flex;flex-direction:column;gap:3px;min-width:0}.hud-event-banner-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hud-event-banner-title{font-size:.92rem;font-weight:700;color:#fef3c7}.hud-event-banner-countdown{font-size:.76rem;color:#fde68a;font-weight:600}.hud-event-banner-desc{font-size:.8rem;color:var(--hud-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-event-banner-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.hud-quest-tracker{position:fixed;top:98px;right:18px;width:268px;background:var(--hud-bg);border:1px solid var(--hud-border);backdrop-filter:blur(8px);border-radius:12px;padding:9px 11px;box-shadow:0 8px 24px #00000047;pointer-events:auto;z-index:22;display:flex;flex-direction:column;gap:8px}.hud-quest-tracker.hidden{display:none}.hud-tracker-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.hud-tracker-title{font-size:.82rem;font-weight:700;color:var(--hud-accent)}.hud-tracker-list{display:flex;flex-direction:column;gap:6px}.hud-tracker-list.hidden{display:none}.hud-tracker-item{background:#0f172aa6;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:6px 8px;cursor:pointer;text-align:left;color:var(--hud-text);display:flex;flex-direction:column;gap:3px}.hud-tracker-item:hover{border-color:#fbbf248c}.hud-tracker-item-title{font-size:.8rem;font-weight:700;color:#f8fafc}.hud-tracker-item-sub{font-size:.74rem;color:var(--hud-muted);line-height:1.35}.hud-dialogue-options{margin-top:12px;display:flex;flex-direction:column;gap:8px}.hud-dialogue-options.hidden{display:none}.hud-dialogue-option-btn{text-align:left;padding:8px 12px;border-radius:8px;background:#1e293be0;border:1px solid rgba(255,255,255,.16);color:var(--hud-text);font-size:.88rem;cursor:pointer}.hud-dialogue-option-btn:hover{border-color:var(--hud-accent);background:#334155eb}.hud-dialogue-menu-item{display:flex;align-items:center;justify-content:space-between;gap:10px}.hud-dialogue-external{margin-top:12px}.hud-dialogue-external.hidden{display:none}.hud-dialogue-footer{margin-top:14px;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.hud-dialogue-status-badge{margin-right:auto;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:6px;font-size:.82rem;font-weight:700;background:#10b9812e;border:1px solid rgba(52,211,153,.58);color:#6ee7b7}.hud-dialogue-status-badge.hidden{display:none}.hud-btn-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;background:#0e7490e0;border-color:#38bdf8b8;color:#e0f2fe;font-weight:700}.hud-btn-link:hover{background:#0891b2f5}.hud-modal-settings{width:min(640px,calc(100vw - 32px))}.hud-tabs{display:flex;gap:8px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:10px}.hud-tab-btn{background:#1e293bb8;color:var(--hud-muted);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 14px;font-size:.86rem;font-weight:700;cursor:pointer}.hud-tab-btn.active{background:var(--hud-accent);color:var(--hud-accent-text);border-color:var(--hud-accent)}.hud-audio-control{display:flex;flex-direction:column;gap:6px;font-size:.86rem;color:var(--hud-text)}.hud-audio-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.hud-audio-label output{color:var(--hud-accent);font-weight:700;font-variant-numeric:tabular-nums}.hud-audio-range{width:100%;accent-color:var(--hud-accent);cursor:pointer}.hud-audio-credits{color:var(--hud-muted);font-size:.8rem;line-height:1.55}.hud-audio-credits summary{cursor:pointer;color:var(--hud-text);font-weight:700}.hud-audio-credits p{margin:8px 0}.hud-audio-credits ul{margin:8px 0;padding-left:18px;display:flex;flex-direction:column;gap:4px}.hud-audio-credits a{color:var(--hud-accent)}.hud-audio-credits code{color:var(--hud-text);background:#0f172a99;border-radius:4px;padding:1px 4px}.hud-tab-panel{display:flex;flex-direction:column;gap:12px}.hud-tab-panel.hidden{display:none}.hud-skill-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.hud-skill-chip{display:inline-flex;align-items:center;gap:5px;background:#1e293be6;border:1px solid rgba(148,163,184,.3);border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:600}.hud-physical-badge{background:#f59e0b38;border:1px solid rgba(251,191,36,.65);color:#fde68a;border-radius:999px;padding:1px 6px;font-size:.7rem;font-weight:700}.hud-quest-list{display:flex;flex-direction:column;gap:10px}.hud-quest-empty{font-size:.84rem;color:#94a3b8;padding:6px 2px}.hud-quest-card{background:#0f172ab8;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.hud-quest-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.hud-quest-card-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hud-quest-card-title{font-size:.94rem;font-weight:700;color:#f8fafc}.hud-quest-card-desc{font-size:.82rem;color:var(--hud-muted);line-height:1.5}.hud-quest-meta{font-size:.76rem;color:#fde68a}.hud-quest-objectives{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.hud-quest-obj-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.8rem;background:#1e293b99;border-radius:6px;padding:4px 8px}.hud-quest-obj-item.completed{color:#86efac}.hud-quest-obj-progress{font-size:.74rem;font-weight:700;color:#cbd5e1;flex-shrink:0}.hud-quest-obj-item.completed .hud-quest-obj-progress{color:#4ade80}.hud-quest-obj-item.awaiting .hud-quest-obj-progress{color:#fcd34d}.hud-quest-rewards{font-size:.78rem;color:#bae6fd}.hud-quest-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.hud-pill{display:inline-block;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.hud-pill-main{background:#3b82f638;border:1px solid rgba(96,165,250,.55);color:#bfdbfe}.hud-pill-side{background:#10b98133;border:1px solid rgba(52,211,153,.55);color:#a7f3d0}.hud-pill-event{background:#f59e0b3d;border:1px solid rgba(251,191,36,.7);color:#fde68a}.hud-pill-verify{background:#f59e0b33;border:1px solid rgba(251,191,36,.65);color:#fcd34d}.hud-pill-done{background:#22c55e33;border:1px solid rgba(74,222,128,.55);color:#86efac}.hud-pill-neutral{background:#94a3b833;border:1px solid rgba(148,163,184,.45);color:#e2e8f0}.hud-modal-media{width:min(760px,calc(100vw - 32px))}.hud-media-head-left{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}.hud-media-stage{width:100%;aspect-ratio:16 / 9;border-radius:12px;overflow:hidden;background:#020617;border:1px solid rgba(148,163,184,.28);display:flex;align-items:center;justify-content:center}.hud-media-image{width:100%;height:100%;object-fit:contain;display:block}.hud-media-iframe{width:100%;height:100%;border:0;display:block}.hud-media-fallback{padding:24px;color:#fca5a5;font-size:.92rem;text-align:center}.hud-media-caption{font-size:.88rem;line-height:1.55;color:var(--hud-muted)}.hud-media-caption.hidden{display:none}.hud-media-footer{display:flex;justify-content:flex-end;align-items:center}.hud-dialogue-illustration{margin-bottom:12px;border-radius:10px;overflow:hidden;border:1px solid rgba(251,191,36,.35);background:#020617;max-height:240px;display:flex;justify-content:center;align-items:center}.hud-dialogue-illustration.hidden{display:none}.hud-dialogue-illustration img{width:100%;max-height:240px;object-fit:cover;display:block}.hud-dialogue-ending-badge{display:inline-block;margin-bottom:8px;padding:2px 10px;border-radius:999px;background:#f59e0b38;border:1px solid rgba(251,191,36,.65);color:#fde68a;font-size:.78rem;font-weight:700}.hud-dialogue-rewards{margin-top:10px;padding:8px 12px;border-radius:8px;background:#1e293bc7;border:1px solid rgba(148,163,184,.28);color:#fde68a;font-size:.84rem}.hud-quest-ending-note{margin-top:4px;padding:6px 10px;border-radius:8px;background:#f59e0b24;border:1px solid rgba(251,191,36,.35);color:#fde68a;font-size:.8rem}.hud-quest-step-row{font-size:.8rem;color:#cbd5e1;line-height:1.45}.hud-quest-step-row.is-current{color:#fef08a;font-weight:600}.hud-quest-step-row.is-done{color:#86efac;opacity:.9}.hud-tracker-step-prefix{color:#fde68a;font-weight:700;margin-right:4px}.hud-control-mode-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hud-control-mode-btn{background:#0f172ab8;color:var(--hud-muted);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:8px 6px;font-size:.82rem;font-weight:700;font-family:inherit;cursor:pointer;touch-action:manipulation}.hud-control-mode-btn.active{background:var(--hud-accent);color:var(--hud-accent-text);border-color:var(--hud-accent)}.hud-control-mode-desc{font-size:.78rem;line-height:1.45;color:var(--hud-muted)}.touch-controls-layer{position:fixed;inset:0;pointer-events:none;z-index:20;touch-action:none}.touch-controls-layer.hidden,.touch-controls-layer.is-suspended{display:none}.touch-joystick-zone{position:fixed;left:calc(14px + var(--safe-left));bottom:calc(18px + var(--safe-bottom));width:148px;height:148px;display:flex;align-items:center;justify-content:center;pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent}.touch-joystick-base{position:relative;width:118px;height:118px;border-radius:50%;background:#0f172a6b;border:1.5px solid rgba(255,255,255,.24);backdrop-filter:blur(6px);box-shadow:inset 0 0 18px #00000059,0 8px 24px #00000047;display:flex;align-items:center;justify-content:center;transition:border-color .15s ease,background-color .15s ease}.touch-joystick-zone.is-active .touch-joystick-base{background:#0f172a94;border-color:#fbbf24a6}.touch-joystick-crosshair{position:absolute;inset:18px;border-radius:50%;border:1px dashed rgba(255,255,255,.14);pointer-events:none}.touch-joystick-knob{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f8fafc7a,#94a3b857);border:1.5px solid rgba(255,255,255,.52);box-shadow:0 6px 16px #0000006b;pointer-events:none;will-change:transform}.touch-joystick-zone.is-active .touch-joystick-knob{border-color:#fbbf24e6;background:radial-gradient(circle at 35% 30%,#fef3c7ad,#f59e0b6b)}.touch-action-pad{position:fixed;right:calc(14px + var(--safe-right));bottom:calc(18px + var(--safe-bottom));width:196px;height:184px;pointer-events:none}.touch-action-btn{position:absolute;border-radius:50%;background:#0f172a94;color:var(--hud-text);border:1.5px solid rgba(255,255,255,.26);backdrop-filter:blur(8px);box-shadow:0 6px 18px #00000061;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;font-family:inherit;cursor:pointer;pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;transition:transform .08s ease,border-color .12s ease,background-color .12s ease}.touch-action-btn.is-pressed{transform:scale(.91);background:#334155d9}.touch-btn-icon{font-size:1.05rem;line-height:1}.touch-btn-label{font-size:.64rem;font-weight:700;line-height:1;color:#f8fafce6}.touch-btn-attack{width:68px;height:68px;right:6px;bottom:8px;border-color:#fbbf24b8;background:#78350f9e}.touch-btn-attack .touch-btn-icon{font-size:1.32rem}.touch-btn-attack.is-pressed{background:#d97706d6;border-color:#fde68a}.touch-btn-jump{width:54px;height:54px;right:10px;bottom:92px}.touch-btn-block{width:54px;height:54px;right:88px;bottom:14px}.touch-btn-block.is-active{background:#2563ebc2;border-color:#93c5fdf2;box-shadow:0 0 14px #3b82f68c}.touch-btn-stance{width:46px;height:46px;right:84px;bottom:82px}.touch-btn-stance .touch-btn-icon,.touch-btn-sprint .touch-btn-icon{font-size:.92rem}.touch-btn-stance .touch-btn-label,.touch-btn-sprint .touch-btn-label{font-size:.6rem}.touch-btn-stance.is-combat{background:#991b1bbd;border-color:#fbbf24d9}.touch-btn-sprint{width:46px;height:46px;right:76px;bottom:138px}.touch-btn-sprint.is-active{background:#15803dc7;border-color:#86eface6;box-shadow:0 0 12px #22c55e73}#hud-root.is-touch-mode .hud-controls-hint,#hud-root.is-touch-mode .hud-pointer-prompt{display:none}#hud-root.is-touch-mode .hud-status-bar{top:calc(12px + var(--safe-top));left:calc(12px + var(--safe-left));right:auto;bottom:auto;align-items:flex-start;gap:5px}#hud-root.is-touch-mode .hud-badge{padding:4px 9px;font-size:.76rem}#hud-root.is-touch-mode .hud-hp-wrap,#hud-root.is-touch-mode .hud-stamina-wrap{width:138px}#hud-root.is-touch-mode .hud-interact-prompt{bottom:calc(196px + var(--safe-bottom));min-height:44px;padding:10px 18px;font-size:.92rem;max-width:calc(100vw - 32px)}@media(max-width:768px){.hud-zone-banner{top:calc(8px + var(--safe-top));padding:4px 14px;font-size:.82rem;max-width:calc(100vw - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-multiplayer-bar{top:calc(42px + var(--safe-top));right:calc(10px + var(--safe-right));padding:6px 9px;border-radius:10px;gap:4px}.hud-net-row{font-size:.74rem;gap:5px}.hud-player-row{gap:6px}.hud-nickname-label{font-size:.76rem;max-width:92px}.hud-btn-compact{padding:4px 8px;font-size:.74rem}#hud-root.is-touch-mode .hud-status-bar{top:calc(42px + var(--safe-top));left:calc(10px + var(--safe-left));gap:4px}#hud-root.is-touch-mode .hud-badge{padding:3px 8px;font-size:.72rem}#hud-root.is-touch-mode .hud-hp-wrap{width:126px;height:19px}#hud-root.is-touch-mode .hud-stamina-wrap{width:126px}.hud-quest-tracker{top:calc(108px + var(--safe-top));right:calc(10px + var(--safe-right));width:min(216px,calc(100vw - 20px));max-height:36dvh;overflow-y:auto;padding:7px 9px}.hud-event-banner{top:calc(108px + var(--safe-top));width:calc(100vw - 20px);flex-direction:column;align-items:stretch;gap:8px;padding:9px 11px;z-index:25}.hud-event-banner-desc{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hud-event-banner-actions{justify-content:flex-end}.hud-toast{top:calc(104px + var(--safe-top));max-width:calc(100vw - 24px);text-align:center;font-size:.82rem;padding:7px 14px}.hud-debug-panel{top:calc(114px + var(--safe-top));left:calc(10px + var(--safe-left));width:min(280px,calc(100vw - 20px));max-height:45dvh;overflow-y:auto}.hud-controls-hint{display:none}.hud-dialogue{bottom:calc(14px + var(--safe-bottom));width:calc(100vw - 20px);max-height:calc(100dvh - 86px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;padding:14px 16px}.hud-dialogue-option-btn{min-height:42px;padding:10px 12px}.hud-dialogue-footer .hud-btn{min-height:38px;padding:7px 12px}.hud-modal,.hud-modal-wide,.hud-modal-settings,.hud-modal-media{width:calc(100vw - 20px);max-height:calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;padding:14px 16px}.hud-modal-input{font-size:16px;padding:10px 12px}.hud-tabs{gap:6px}.hud-tab-btn{flex:1;padding:8px 10px;font-size:.82rem;text-align:center}.hud-nickname-row{flex-direction:column;align-items:stretch}.hud-recup-card{width:calc(100vw - 24px);max-height:calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;padding:18px 16px}.hud-recup-timer-value{font-size:1.75rem}}@media(max-height:520px){.hud-zone-banner{top:calc(6px + var(--safe-top));padding:4px 12px;font-size:.8rem}@media(min-width:560px){.hud-multiplayer-bar{top:calc(6px + var(--safe-top));right:calc(10px + var(--safe-right));padding:5px 9px;gap:3px}#hud-root.is-touch-mode .hud-status-bar{top:calc(6px + var(--safe-top));left:calc(10px + var(--safe-left));gap:3px}.hud-quest-tracker{top:calc(66px + var(--safe-top))}}#hud-root.is-touch-mode .hud-badge{padding:2px 7px;font-size:.7rem}#hud-root.is-touch-mode .hud-hp-wrap{width:122px;height:17px}#hud-root.is-touch-mode .hud-stamina-wrap{width:122px}.hud-quest-tracker{right:calc(10px + var(--safe-right));width:210px;max-height:44dvh;overflow-y:auto}.hud-event-banner{top:calc(44px + var(--safe-top));width:min(500px,calc(100vw - 24px));flex-direction:row;align-items:center;padding:7px 10px}.hud-toast{top:calc(44px + var(--safe-top))}.touch-joystick-zone{left:calc(10px + var(--safe-left));bottom:calc(10px + var(--safe-bottom));width:126px;height:126px}.touch-joystick-base{width:100px;height:100px}.touch-joystick-knob{width:44px;height:44px}.touch-action-pad{right:calc(10px + var(--safe-right));bottom:calc(10px + var(--safe-bottom));width:172px;height:160px}.touch-btn-attack{width:58px;height:58px;right:4px;bottom:6px}.touch-btn-jump{width:48px;height:48px;right:8px;bottom:78px}.touch-btn-block{width:48px;height:48px;right:76px;bottom:10px}.touch-btn-stance{width:42px;height:42px;right:74px;bottom:70px}.touch-btn-sprint{width:42px;height:42px;right:66px;bottom:120px}#hud-root.is-touch-mode .hud-interact-prompt{bottom:calc(16px + var(--safe-bottom));min-height:42px;padding:8px 16px;max-width:calc(100vw - 340px)}.hud-dialogue{bottom:calc(10px + var(--safe-bottom));max-height:calc(100dvh - 28px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;padding:12px 14px}.hud-modal-media .hud-media-stage{max-height:52dvh}.hud-recup-card{max-height:calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;padding:14px 16px;gap:8px}.hud-recup-image{max-height:30dvh}}
