/* pbPT (29/10) hud-top: top bar like pweb (FPS/ping top left and players online top centre are in
   performance-hud.css; this file is loaded after autohunt.css and only overrides positions). */

/* The page's PC fullscreen button left the game screen (System menu > "Tela cheia" now). The button
   stays in the page, hidden: the System menu and the login's own fullscreen button click it. */
#pt-desktop-fullscreen { display:none !important; }

/* The login bar (language, settings, fullscreen) only on the login itself (and its register / forgot
   password forms): not on the character selection / creation screens. login-ui.js still moves it there
   (.pb-shared-toolbar) and back; the language picked at the login keeps applying. */
.pb-shared-toolbar, .pb-shared-settings { display:none !important; }

/* Auto-hunt plate (PC): pbPT 30/10 (etapa 6) away from the corner, like pweb: ~230 px from the right edge and ~75 px
   below the top, on a line of buttons. autohunt.js writes left/top inline (top centre); these win over them. Its
   tooltip is the browser's own (title), kept on screen. On narrow windows it never goes past the middle. */
.pah-top {left:auto!important;right:max(min(230px,calc(50vw - 160px)),10px,env(safe-area-inset-right))!important;top:max(75px,env(safe-area-inset-top))!important;width:auto;height:26px!important;gap:5px;}
/* pbPT 30/10 (etapa 6): our own icon on the plate (a looping arrow around a sword, bronze like the classic skin) so
   the button stands out; drawn as a vector, crisp at any interface size. */
.pah-top::before { content:''; flex:none; width:14px; height:14px; margin-left:-2px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E %3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M15.6 6.2A7.2 7.2 0 1 0 17.1 11.4' stroke='%231b1007' stroke-width='3.6'/%3E %3Cpath d='M15.6 6.2A7.2 7.2 0 1 0 17.1 11.4' stroke='%23c99a3f' stroke-width='1.9'/%3E %3Cpath d='M15.6 6.2A7.2 7.2 0 0 0 9.2 2.8' stroke='%23f1d58a' stroke-width='0.8'/%3E %3Cpath d='M12.4 6.4L16.1 6.6L16.6 2.9' stroke='%231b1007' stroke-width='3.4'/%3E %3Cpath d='M12.4 6.4L16.1 6.6L16.6 2.9' stroke='%23f1d58a' stroke-width='1.7'/%3E %3Cpath d='M7.2 12.8L12.6 7.4' stroke='%231b1007' stroke-width='3.4'/%3E %3Cpath d='M7.2 12.8L12.6 7.4' stroke='%23eeeadf' stroke-width='1.7'/%3E %3Cpath d='M5.7 10.9L9.1 14.3' stroke='%231b1007' stroke-width='3.2'/%3E %3Cpath d='M5.7 10.9L9.1 14.3' stroke='%23d6a64a' stroke-width='1.6'/%3E %3Cpath d='M7.4 12.6L5.2 14.8' stroke='%231b1007' stroke-width='3'/%3E %3Cpath d='M7.4 12.6L5.2 14.8' stroke='%238a5a2b' stroke-width='1.4'/%3E %3C/g%3E%3C/svg%3E") center/contain no-repeat; filter:drop-shadow(0 1px 1px #000); }

/* One arrow only: with the mouse over the page's own overlays (auto-hunt, buffs, System menu, map...)
   hud-top.js sets .pb-html-pointer and the game stops drawing its arrow (sinSubMain.cpp DrawCursor);
   the page shows the game's arrow instead, inherited by everything without a cursor of its own. */
html.pb-html-pointer body { cursor:url('login-assets/game-cursor.png') 0 0, auto; }

/* The OS pointer remains above HTML and WebGL, even during a slow frame. */
html.pb-browser-cursor:not(.pt-touch),html.pb-browser-cursor:not(.pt-touch) * {cursor:var(--pb-game-cursor,url('login-assets/game-cursor.png') 0 0,auto)!important;}
