/* 2026-10-23（使用者：技能換頁彈出小圈號碼1-5直接選）：浮在快捷列上方，直橫式均限制在可見範圍。 */
.skill-page-picker{position:fixed;z-index:10000;display:flex;gap:6px;width:max-content;padding:8px;border:1px solid #bda76c;border-radius:28px;background:rgba(24,29,27,.96);box-shadow:0 3px 14px #0009;pointer-events:auto;touch-action:none;isolation:isolate}
.skill-page-picker[hidden]{display:none!important}
.skill-page-picker .skill-page-choice{display:grid;place-items:center;box-sizing:border-box;flex:0 0 38px;width:38px;height:38px;min-height:0;padding:0;border:1px solid #b8a77b;border-radius:50%;background:#35443c;color:#fff2c7;font:700 17px/1 sans-serif;text-align:center;text-shadow:0 1px 2px #000;box-shadow:inset 0 0 5px #0008;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none}
.skill-page-picker .skill-page-choice[aria-pressed=true]{background:#8b6829;border-color:#ffe3a0;box-shadow:0 0 0 2px #e4c67c55,inset 0 0 5px #0006}
.skill-page-picker .skill-page-choice:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(hover:hover){.skill-page-picker .skill-page-choice:hover{background:#63573b;border-color:#ffe3a0}}

/* 2026-10-23（使用者：原本1/5按鍵放大一點背景改黑底白字）：清楚的單行頁碼，保留原位置附近。 */
body.desktop-client .actionbar .skill-page-toggle{width:40px!important;height:34px!important;min-width:0!important;min-height:0!important;padding:0!important;border:1px solid #aaa!important;border-radius:8px!important;background:#000!important;color:#fff!important;font:700 15px/1 sans-serif!important;white-space:nowrap!important;letter-spacing:0!important;text-shadow:none!important;box-shadow:0 2px 5px #0008!important}
body.desktop-client.touch-client .actionbar .skill-page-toggle{left:211px!important;top:-15px!important;width:46px!important;height:36px!important}
body.desktop-client:not(.touch-client) .actionbar .skill-page-toggle{left:-46px!important;top:-3px!important}
/* 2026-10-23（使用者：撿取按鈕取消變成回城按鈕）：手機舊回城格若沒有其他自訂內容就隱藏，避免出現兩顆。 */
body.desktop-client.touch-client .actionbar [data-slot="5"][data-shortcut-binding=""]{display:none!important}

/* 換頁鈕使用已移到左下回城後空出的上方位置，避開配置與右側功能列。 */


/* 2026-10-23（使用者：紅圈增加一顆、直式配置上移換頁下移、橫式換頁下移）：新格在原三顆左邊。 */
body.desktop-client:not(.touch-client) .actionbar [data-slot="15"]{display:none!important}
body.desktop-client.touch-client .actionbar button.action[data-slot="15"]{position:absolute;left:-6px!important;top:24px!important;right:auto;bottom:auto;width:44px;height:44px;min-width:44px;min-height:0;padding:0;border-radius:50%;background:none}
body.desktop-client.touch-client .actionbar button.action[data-slot="15"] .action-icon{height:30px;width:32px;margin-bottom:7px}
body.desktop-client.touch-client .actionbar button.action[data-slot="15"] .native-item-icon{width:32px;height:32px}
body.desktop-client.touch-client .actionbar button.action[data-slot="15"] b{font-size:10px;line-height:11px;bottom:5px}
body.desktop-client.touch-client .actionbar .skill-page-toggle{left:211px!important;top:20px!important}
html[data-portrait="true"] body.desktop-client.touch-client #quick-edit{left:190px!important;top:24px!important;translate:none!important}

html[data-portrait="true"] body.desktop-client.touch-client .actionbar .skill-page-toggle{top:54px!important}
/* 2026-10-23（使用者：交換位置）：直式頁碼在上、配置在下，依兩鈕高度留出間距。 */
html[data-portrait="true"] body.desktop-client.touch-client .actionbar .skill-page-toggle{left:190px!important;top:20px!important}
html[data-portrait="true"] body.desktop-client.touch-client #quick-edit{left:211px!important;top:64px!important;translate:none!important}
/* 2026-10-23（使用者：直式沒調整好往右一點）：頁碼與配置各往右36px，保留目前高度及上下順序。 */
html[data-portrait="true"] body.desktop-client.touch-client .actionbar .skill-page-toggle{left:226px!important}
html[data-portrait="true"] body.desktop-client.touch-client #quick-edit{left:247px!important}
/* 較矮的直式畫面縮小右移量，避開還延伸到下方的功能列。 */
@media(max-height:650px){
 html[data-portrait="true"] body.desktop-client.touch-client .actionbar .skill-page-toggle{left:194px!important}
 html[data-portrait="true"] body.desktop-client.touch-client #quick-edit{left:195px!important}
}

/* 2026-10-23（使用者：配置鈕再往上一點）：直式配置由64px上移至58px，與頁碼保留2px間距。 */
html[data-portrait="true"] body.desktop-client.touch-client #quick-edit{top:58px!important}
