#desktop-chat,#desktop-toolbar{display:none}

/* Channel color is shared by the mobile toast, chat panel and PC history. */
body #chat-log p[data-channel],body #chat-toast p[data-channel]{padding:7px 10px;border-left:3px solid;border-radius:6px}
body #chat-log p[data-channel=server],body #chat-toast p[data-channel=server]{background:var(--ui-panel-a44-desktop-chat-log-chat-toast-server-server-background);color:var(--ui-panel-a44-desktop-chat-log-chat-toast-server-server-text);border-color:var(--ui-panel-a44-desktop-chat-log-chat-toast-server-server-border-color)}body #chat-log p[data-channel=server]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *),body #chat-toast p[data-channel=server]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *){background:var(--ui-hud-a44-desktop-chat-log-chat-toast-server-server-background);color:var(--ui-hud-a44-desktop-chat-log-chat-toast-server-server-text);border-color:var(--ui-hud-a44-desktop-chat-log-chat-toast-server-server-border-color)}
body #chat-log p[data-channel=party],body #chat-toast p[data-channel=party]{background:var(--ui-panel-a44-desktop-chat-log-chat-toast-party-party-background);color:var(--ui-panel-a44-desktop-chat-log-chat-toast-party-party-text);border-color:var(--ui-panel-a44-desktop-chat-log-chat-toast-party-party-border-color)}body #chat-log p[data-channel=party]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *),body #chat-toast p[data-channel=party]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *){background:var(--ui-hud-a44-desktop-chat-log-chat-toast-party-party-background);color:var(--ui-hud-a44-desktop-chat-log-chat-toast-party-party-text);border-color:var(--ui-hud-a44-desktop-chat-log-chat-toast-party-party-border-color)}
body #chat-log p[data-channel=whisper],body #chat-toast p[data-channel=whisper]{background:var(--ui-panel-a44-desktop-chat-log-chat-toast-whisper-whisper-background);color:var(--ui-panel-a44-desktop-chat-log-chat-toast-whisper-whisper-text);border-color:var(--ui-panel-a44-desktop-chat-log-chat-toast-whisper-whisper-border-color)}body #chat-log p[data-channel=whisper]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *),body #chat-toast p[data-channel=whisper]:where(:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer),:is(#settings-button,#region-hud,#message,#stick,#knob,#home,#combat-controls,#sword-attack,#evade,#skill-button,#skill2-button,#skill3-button,#skill-controls,#skill-name,#skill-timer,#skill2-name,#skill2-timer,#skill3-name,#skill3-timer,#mana-hud,#mana-fill,#mana-text,#quick-items,#desktop-chat,#desktop-chat-log,#desktop-chat-open,#desktop-toolbar,#chat-toast,#down,#interact,#notice,#quest-tracker,#missions,#missions-list,#path-checklist,#alerts,#buff-hud,#health,#boss-hud,#boss-bar,#battle-status,#fish-button,#fish-status,#cook-button,#exit-choice,#screen-recover,#region-event-hud,#minimap,#region-transition,#rewards,#tower-mini,#tower-rule,#tower-party,#tower-haste,#tower-blessings,#tower-spore-notice,#raid-hud,#raid-info,#raid-party,#raid-boss,#raid-boss-status,#raid-message,#raid-leave,#name,#hp-bar,#xp,#people-notice,.buff-chip,.buff-icon,.buff-name,.buff-seconds,.quick-use,.quick-count,.quick-edit,.quick-register,.loot-card,header,footer) *){background:var(--ui-hud-a44-desktop-chat-log-chat-toast-whisper-whisper-background);color:var(--ui-hud-a44-desktop-chat-log-chat-toast-whisper-whisper-text);border-color:var(--ui-hud-a44-desktop-chat-log-chat-toast-whisper-whisper-border-color)}
body #chat-toast p[data-channel] b{color:inherit}
body #chat-toast p[data-channel]{padding:4px 8px}
body #chat-channel[data-channel=server]{color:var(--ui-panel-a44-desktop-chat-channel-server-text);background:var(--ui-panel-a44-desktop-chat-channel-server-background)}
body #chat-channel[data-channel=party]{color:var(--ui-panel-a44-desktop-chat-channel-party-text);background:var(--ui-panel-a44-desktop-chat-channel-party-background)}
body #chat-channel[data-channel=whisper]{color:var(--ui-panel-a44-desktop-chat-channel-whisper-text);background:var(--ui-panel-a44-desktop-chat-channel-whisper-background)}
body.desktop-ui #desktop-chat-log p[data-channel]{padding-left:9px;border-left:3px solid}
body.desktop-ui #desktop-chat-log p[data-channel=server]{border-color:var(--ui-hud-a44-desktop-desktop-chat-log-server-border-color);color:var(--ui-hud-a44-desktop-desktop-chat-log-server-text)}
body.desktop-ui #desktop-chat-log p[data-channel=server] b{color:var(--ui-hud-a44-desktop-desktop-chat-log-server-text-2)}
body.desktop-ui #desktop-chat-log p[data-channel=party]{border-color:var(--ui-hud-a44-desktop-desktop-chat-log-party-border-color);color:var(--ui-hud-a44-desktop-desktop-chat-log-party-text)}
body.desktop-ui #desktop-chat-log p[data-channel=party] b{color:var(--ui-hud-a44-desktop-desktop-chat-log-party-text-2)}
body.desktop-ui #desktop-chat-log p[data-channel=whisper]{border-color:var(--ui-hud-a44-desktop-desktop-chat-log-whisper-border-color);color:var(--ui-hud-a44-desktop-desktop-chat-log-whisper-text)}
body.desktop-ui #desktop-chat-log p[data-channel=whisper] b{color:var(--ui-hud-a44-desktop-desktop-chat-log-whisper-text-2)}
body.desktop-ui.editing-text #social-panel{top:auto;bottom:24px;max-height:88dvh}
body.desktop-ui.editing-text #chat-log{height:clamp(180px,30dvh,350px)}
body.desktop-ui #desktop-toolbar{padding:0;background:none;border:0;box-shadow:none}
#keybindings-panel{width:min(580px,94vw);max-height:88dvh;overflow:auto;padding:20px;border:2px solid var(--ui-panel-a44-desktop-keybindings-panel-border);border-radius:14px;background:var(--ui-panel-a44-desktop-keybindings-panel-background);color:var(--ui-panel-a44-desktop-keybindings-panel-text)}
#keybindings-panel::backdrop{background:var(--ui-panel-a44-desktop-keybindings-panel-background-2)}
#keybindings-panel button{background:var(--ui-panel-a44-desktop-keybindings-panel-background-3);color:var(--ui-panel-a44-desktop-keybindings-panel-text);border:1px solid var(--ui-panel-a44-desktop-keybindings-panel-border-2);border-radius:8px}
#keybindings-panel h2{margin:0;font-size:20px}
#keybindings-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin:12px 0}
.keybinding-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}
.keybinding-row button{min-width:72px;min-height:40px;padding:5px}
#keybindings-status{min-height:2.8em;font-size:14px;line-height:1.4}
@media(max-width:500px){#keybindings-list{grid-template-columns:1fr}}
body.desktop-ui #stick,body.desktop-ui #chat-toast{display:none!important}
body.desktop-ui #settings-button{left:24px;top:24px;width:56px;height:56px;font-size:27px}
body.desktop-ui #region-hud #minimap{width:192px;height:144px;top:14px}
body.desktop-ui #minimap .minimap-title{font-size:15px;line-height:24px;max-height:26px}
body.desktop-ui #region-hud #social-button{left:24px;bottom:calc(clamp(160px,23vh,230px) + 80px);width:52px;height:52px}
body.desktop-ui #desktop-chat{display:flex;position:fixed;left:24px;bottom:24px;width:clamp(280px,28vw,400px);height:clamp(160px,23vh,230px);flex-direction:column;background:var(--ui-hud-a44-desktop-desktop-chat-background);border:1px solid var(--ui-hud-a44-desktop-desktop-chat-border);border-radius:12px;color:var(--ui-hud-a44-desktop-desktop-chat-text);z-index:4;overflow:hidden}
body.desktop-ui #desktop-chat-log{flex:1;overflow:auto;padding:10px 14px;overscroll-behavior:contain;scrollbar-width:thin;user-select:text}
body.desktop-ui #desktop-chat-log p{margin:0 0 7px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
body.desktop-ui #desktop-chat-log b{font-weight:600;color:var(--ui-hud-a44-desktop-desktop-chat-log-text)}
body.desktop-ui #desktop-chat-log .chat-empty{color:var(--ui-hud-a44-desktop-desktop-chat-log-chat-empty-text)}
body.desktop-ui #desktop-chat-open{flex:none;min-height:36px;font-size:14px;padding:6px 10px;border:0;border-image:none;background:var(--ui-hud-a44-desktop-desktop-chat-open-background);color:var(--ui-hud-a44-desktop-desktop-chat-open-text);border-radius:0}
body.desktop-ui #desktop-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:calc(clamp(280px,28vw,400px) + 48px);bottom:24px;width:210px;z-index:4}
body.desktop-ui #desktop-toolbar button{height:46px;font-size:15px;border:1px solid var(--ui-hud-a44-desktop-desktop-toolbar-border);border-image:none;border-radius:10px;background:var(--ui-hud-a44-desktop-desktop-toolbar-background);color:var(--ui-hud-a44-desktop-desktop-toolbar-text);padding:6px}
body.desktop-ui #desktop-chat[hidden],body.desktop-ui #desktop-toolbar[hidden]{display:none}
body.desktop-ui #sword-attack{width:92px;height:92px;right:24px;bottom:24px;font-size:19px;padding-bottom:18px}
body.desktop-ui #evade{width:76px;height:76px;right:134px;bottom:34px;font-size:17px;padding-bottom:16px}
body.desktop-ui #skill-button,body.desktop-ui #skill2-button{width:76px;height:76px;right:32px;bottom:132px;font-size:14px;padding:5px 3px 18px}
body.desktop-ui #skill2-button{right:126px}
body.desktop-ui #skill-name,body.desktop-ui #skill2-name{font-size:12px;max-width:66px}
body.desktop-ui #skill-timer,body.desktop-ui #skill2-timer{font-size:12px}
body.desktop-ui :is(#sword-attack,#evade,#skill-button,#skill2-button)::before{content:attr(data-key);position:absolute;bottom:5px;left:0;right:0;text-align:center;font:11px system-ui;opacity:.85;pointer-events:none}
body.desktop-ui #interact,body.desktop-ui.online #interact{right:24px;bottom:226px;min-height:46px;font-size:16px;max-width:260px}
body.desktop-ui #quick-items{right:232px;bottom:38px;gap:10px}
body.desktop-ui #quick-items .quick-cell{width:56px;height:56px}
body.desktop-ui #quick-items .quick-use{width:56px;height:56px}
body.desktop-ui #quick-items .quick-use::before{content:attr(data-key);position:absolute;top:2px;left:5px;font:700 11px system-ui;opacity:.9;pointer-events:none}
body.desktop-ui #activity-actions{right:24px;bottom:284px}
body.desktop-ui #activity-actions button{font-size:15px;min-height:46px}
body.desktop-ui #fish-status{bottom:342px}
body.desktop-ui #menu-panel{width:540px;padding:20px}
body.desktop-ui #menu-panel .menu-grid button{min-height:76px;font-size:19px}
body.desktop-ui #options-panel,body.desktop-ui #status-panel{width:min(650px,86vw);max-height:88dvh;padding:22px}
body.desktop-ui #bag,body.desktop-ui #quest-panel,body.desktop-ui #shop-panel{width:min(730px,86vw);max-height:88dvh;padding:24px}
body.desktop-ui #options-panel button,body.desktop-ui #options-panel label,body.desktop-ui .panel-heading button{font-size:17px;min-height:44px}
body.desktop-ui .panel-heading h2{font-size:24px}
body.desktop-ui :is(.stat-name,.stat-desc,.stat-points,.equip-label,.equip-bonus,.equip-name,.status-numbers){font-size:15px}
body.desktop-ui .stat-row{grid-template-columns:70px 45px 1fr 50px;gap:12px;padding:10px 0}
body.desktop-ui .stat-value{font-size:20px}
body.desktop-ui .stat-plus{width:48px;height:44px}
body.desktop-ui .equip-slot{min-height:118px}
body.desktop-ui #bag-items{gap:12px}
body.desktop-ui #bag-items .item-slot{min-height:88px;font-size:14px}
body.desktop-ui #bag-items .item-icon{width:40px;height:40px}
body.desktop-ui #map-panel{width:min(1200px,90vw);max-height:94dvh;padding:24px}
body.desktop-ui #map-panel #map-viewport,body.desktop-ui #map-panel.region-map-mode #map-viewport,body.desktop-ui #map-panel:not(.region-map-mode) #map-viewport{height:min(62dvh,calc(94dvh - 230px),760px);min-height:240px}
body.desktop-ui #map-panel .panel-heading button,body.desktop-ui #map-panel .map-mode-tabs button,body.desktop-ui #map-panel #map-center{font-size:17px;min-height:48px}
body.desktop-ui #map-title{font-size:24px}
body.desktop-ui #map-panel #map-detail{font-size:15px}
body.desktop-ui .map-dot{width:24px;height:24px}
body.desktop-ui .map-place.current .map-dot{width:32px;height:32px}
body.desktop-ui #social-panel{width:min(660px,70vw);left:24px;bottom:24px;transform:none;padding:22px;max-height:88dvh;z-index:10}
body.desktop-ui #chat-log{height:clamp(180px,30dvh,350px)}
body.desktop-ui #chat-log p{font-size:16px;line-height:1.5}
body.desktop-ui #chat-form input,body.desktop-ui #chat-form button{font-size:17px;min-height:46px}
/* F406: 알림·임무판의 PC 배치(자리·크기·보임) — 옛 styles·raid·interactions·adventure·a20·a18·a21 에서 옮김. 원래 차례·우선순위 그대로(:where 는 우선순위 0). 폰 쪽은 a47-mobile.css 첫머리 */
:where(body.desktop-ui) #message{position:fixed;left:50%;transform:translateX(-50%)}
.raid-active:where(.desktop-ui) #missions{display:none!important}
:where(body.desktop-ui) #notice{position:fixed;left:50%;transform:translateX(-50%);max-width:80vw;z-index:3}
.boss-present:where(.desktop-ui) #message{display:none}
.boss-present:where(.desktop-ui) #notice{top:auto;bottom:60px;max-width:42vw}
body:where(.desktop-ui) #message{top:calc(var(--hud-top) + 44px)}
body:where(.desktop-ui) #notice{top:calc(var(--hud-top) + 44px)}
@media(orientation:portrait){body:where(.desktop-ui) #message{top:calc(var(--hud-top) + 88px)}}
body.online:where(.desktop-ui) #notice{z-index:5}
body.lobby-active:where(.desktop-ui) #message{display:none!important}
body.desktop-ui #message{font-size:16px;max-width:min(760px,75vw)}
body.desktop-ui #dialogue{max-width:min(850px,80vw)}
body.desktop-ui #dialogue-text{font-size:17px;line-height:1.6}
body.desktop-ui #notice{font-size:16px}
body.desktop-ui.online #message,body.desktop-ui.online #notice{top:auto;left:calc(clamp(280px,28vw,400px) + 48px);right:232px;width:auto;max-width:560px;transform:none;bottom:144px;font-size:15px}
body.desktop-ui.online #notice{bottom:190px}
body.desktop-ui #battle-status{bottom:234px}
/* F227: PC 들판 #message 는 두 줄까지, #notice·#battle-status 는 두 줄 높이만큼 위로(겹침 0) */
body.desktop-ui.online #message:not([hidden]){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.desktop-ui.online #notice{bottom:207px}
body.desktop-ui.online #battle-status{bottom:251px}
/* F227: 키 설정 판 스크롤바를 다른 판처럼 가늘게 · PC 버프 줄을 톱니(24+56) 아래로 */
#keybindings-panel{scrollbar-width:thin;scrollbar-color:var(--ui-panel-a44-desktop-keybindings-panel-scrollbar-color) var(--ui-panel-a44-desktop-keybindings-panel-scrollbar-color-2)}
body.desktop-ui #buff-hud{top:88px;left:24px}
/* F327: PC 채팅 창의 남이 보낸 귓속말 줄(누르면 답장) — 커서·키보드 초점만, 꼴은 그대로 */
body.desktop-ui #desktop-chat-log p[data-reply]{cursor:pointer}body.desktop-ui #desktop-chat-log p[data-reply]:focus-visible{outline:2px solid var(--ui-hud-a44-desktop-desktop-chat-log-whisper-border-color);outline-offset:2px}
/* F406: 임무판·알림 묶음의 PC 배치 — 옛 a45-missions·a47-mobile 에서 옮김 */
body:where(.desktop-ui) #quest-tracker{display:none!important}
body:where(.desktop-ui) #missions{position:fixed;z-index:4}
body:where(.desktop-ui) #missions[hidden]{display:none}
body:where(.desktop-ui) #missions:not([hidden]):has(.mission-resume){display:flex}
body.desktop-ui #missions{top:22px;right:24px;width:280px}
body:where(.desktop-ui) #path-checklist[hidden],body:where(.desktop-ui) #missions-list[hidden]~#path-checklist{display:none}
:where(body.desktop-ui) #hud-notices{display:contents}
body.online:where(.desktop-ui) #hud-notices :is(#message,#notice){max-height:none}
