/* In-game right-click menu for bag items (src/context-menu.js). */
#game-context-menu{position:fixed;inset:auto;margin:0;z-index:2147483000;display:flex;flex-direction:column;gap:2px;min-width:176px;max-width:260px;padding:6px;border:2px solid #c9a272;border-radius:12px;background:linear-gradient(#fff9ea,#f1dfbf);box-shadow:0 12px 28px #2a1a0c66,inset 0 1px #fff;color:#4a3526;font:inherit;overflow:visible}
#game-context-menu[hidden]{display:none}
#game-context-menu .game-context-title{padding:5px 10px 7px;margin-bottom:2px;border-bottom:1px solid #d9c3a0;font-weight:700;font-size:14px;color:#6b4f35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#game-context-menu [role="menuitem"]{display:block;width:100%;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:15px;text-align:left;cursor:pointer}
#game-context-menu [role="menuitem"]:hover:enabled,#game-context-menu [role="menuitem"]:focus-visible{outline:0;background:linear-gradient(#ffe7ab,#f2d397);box-shadow:inset 0 0 0 1px #c9a272}
#game-context-menu [role="menuitem"]:disabled{opacity:.45;cursor:default}
/* The hotbar skill cast by the right mouse button (src/game.js markMouseSkill). */
#adventure-hotbar [data-mouse-button="right"]{box-shadow:0 0 0 2px #ffd98a,0 0 12px #ffcf6e99}
/* Skill buttons clip overflow, so the badge sits inside the top edge. */
#adventure-hotbar [data-mouse-button="right"]::after{content:'คลิกขวา';position:absolute;top:2px;left:50%;transform:translateX(-50%);z-index:3;padding:0 4px;border:1px solid #c9a272;border-radius:6px;background:#302923e6;color:#ffe7ab;font-size:9px;line-height:12px;white-space:nowrap;pointer-events:none}
