/* Android FixedGameViewport399: one fixed 800x450 surface, world under the
   whole surface, HUD drawn over it (CoreGameView), chat dock at chatBounds. */
.game.pc-layout.android-layout{width:800px;height:450px;overflow:hidden;background:#080806}
.game.android-layout #viewport{width:800px;height:450px;touch-action:none}
.game.android-layout #world{width:800px;height:450px;touch-action:none}
/* crispStage fill mode: the world is drawn at a whole multiple, the browser scales it smoothly (no uneven pixels). */
.game.pc-layout.android-layout.stage-smooth #world{image-rendering:auto}
.game.android-layout .dpad{display:none!important}
#android-hud{position:absolute;left:0;top:0;width:800px;height:450px;pointer-events:none;z-index:5}
/* The PC HUD strip is not part of the Android surface. Its prompts stay usable. */
.game.android-layout .pc-hud{top:0;left:0;width:800px;height:450px;background:none;pointer-events:none;z-index:7}
.game.android-layout .pc-hud>:not(.pc-quantity-prompt):not(.world-chat):not(#chat-form):not(.android-chat-tabs){display:none!important}
/* MobileChatRenderer182 at CoreGameView.chatBounds (7.5,82)-(213,202): 4 rows of
   11px text over the scene, a 24px input, then the channel strip. */
.game.android-layout .pc-hud .world-chat{position:absolute;left:7.5px;top:86px;width:205.5px;height:66px;pointer-events:auto;overflow:hidden;text-align:center}
.game.android-layout .pc-hud .world-chat #explanation,.game.android-layout .pc-hud .world-chat #log{display:none}
.game.android-layout .pc-hud #chat-history{max-height:66px;overflow-y:auto;scrollbar-width:none;margin:0;padding:0 8px;list-style:none}
.game.android-layout .pc-hud #chat-history::-webkit-scrollbar{display:none}
.game.android-layout .pc-hud #chat-history li{font:11px/16px "Microsoft JhengHei",sans-serif;color:#eceeef;text-shadow:0 1px 1px #000;white-space:normal}
.game.android-layout .pc-hud #chat-form{position:absolute;left:8.5px;top:154px;width:203.5px;height:24px;display:flex!important;pointer-events:auto;background:rgba(0,0,0,.157)}
.game.android-layout .pc-hud #chat-form input#chat-text{flex:1;height:24px;min-height:0;padding:0 6px;border:0;border-radius:0;background:rgba(0,0,0,.35);color:#eee;font:12px "Microsoft JhengHei",sans-serif}
.game.android-layout .automation-dock .automation-dock-entry[data-entry="force"]{display:block}
/* MobileStatusLayout182: LEFT=82*.75, TOP=62*.75+4, 22px cells, 3px gap, 8 columns, 2 rows. */
.game.android-layout>.android-statuses{position:absolute;left:61.5px;top:50.5px;width:197px;margin:0;display:grid;grid-auto-rows:22px;gap:3px;z-index:6;pointer-events:none}
.game.android-layout>.android-statuses[hidden]{display:none}
.game.android-layout>.android-statuses .core-status{position:relative;width:22px;height:22px;font:7px sans-serif;line-height:11px}
.game.android-layout>.android-statuses .core-status img{width:20px;height:20px;margin:1px}
/* Original windows at Android positions (OriginalWindowScale313.fit(800,450)=0.9027,
   top 12%): equipment docked left 1% (OriginalEquipmentWindowLayout182); inventory
   and magic docked right 1% (OriginalInventory/MagicWindowLayout182). */
.game.android-layout #original-equipment{left:8px!important;top:54px!important;transform:scale(.9027)!important;transform-origin:0 0!important}
.game.android-layout #original-inventory,.game.android-layout #original-magic{left:590.7px!important;top:54px!important;transform:scale(.9027)!important;transform-origin:0 0!important}
/* MobileChatRenderer182 bottom strip (24px): 公頻 一般 血盟 隊伍 + collapse (44px). */
.game.android-layout .pc-hud .android-chat-tabs{position:absolute;left:7.5px;top:178px;width:205.5px;height:24px;display:flex!important;pointer-events:auto;background:rgba(0,0,0,.157)}
.game.android-layout .android-chat-tabs button{flex:1;min-width:0;min-height:0;height:24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#b7bdc1;font:10px "Microsoft JhengHei",sans-serif;position:relative}
.game.android-layout .android-chat-tabs button.selected{background:rgba(60,60,60,.25);color:#f5e6c4}
.game.android-layout .android-chat-tabs button.selected::after{content:'';position:absolute;left:5px;right:5px;bottom:0;height:2px;background:#c5b58b}
.game.android-layout .android-chat-tabs .android-chat-collapse{flex:0 0 44px;color:#eee;font:17px sans-serif}
.game.android-layout.android-chat-collapsed .pc-hud .world-chat,.game.android-layout.android-chat-collapsed .pc-hud #chat-form{display:none!important}
.game.android-layout.android-chat-collapsed .pc-hud .android-chat-tabs{top:90px}
/* Modal 257x336 original shells: Android docks them top-right, 1% margin, 12% down,
   OriginalWindowScale313.fit(800,450)=0.9027 (MobilePanelLayout.compactDialog,
   OriginalItemListLayout315, OriginalReadingLayout317, OriginalPolymorphLayout182). */
.game.pc-layout.android-layout #dialog:modal:is(.pc-npc-dialog,.pc-map-paper-dialog,.pc-polymorph-dialog,.pc-social-dialog,.pc-party-dialog,.pc-clan-dialog,.pc-board-dialog,.pc-letter-dialog,.pc-bookmark-dialog,.pc-shop-dialog),
.game.pc-layout.android-layout #dialog:modal:has(.pc-item-list){left:calc(var(--pc-stage-left) + 560px * var(--pc-stage-scale,1));top:calc(var(--pc-stage-top) + 54px * var(--pc-stage-scale,1));transform:scale(calc(var(--pc-stage-scale,1) * .9027));transform-origin:top left}
/* The 640x480 PC login/roster/creation planes, fitted inside the 800x450 surface. */
.game.pc-layout.android-layout #dialog:is(.pc-login-dialog,.pc-create-dialog,.pc-roster-dialog){left:calc(var(--pc-stage-left) + 100px * var(--pc-stage-scale,1));top:var(--pc-stage-top);transform:scale(calc(var(--pc-stage-scale,1) * .9375));transform-origin:top left}
/* MobileTouchForm422: plain menus and prompts use 17px text and 44px touch rows. */
.game.android-layout #dialog:not([class*="pc-"]):not(.android-lobby-dialog) #dialogbody button,.game.android-layout #dialog:not([class*="pc-"]):not(.android-lobby-dialog) #dialogbody input,.game.android-layout #dialog:not([class*="pc-"]):not(.android-lobby-dialog) #dialogbody select{min-height:44px;font-size:17px}
.game.android-layout #dialog:not([class*="pc-"]):not(.android-lobby-dialog) #dialogbody{display:flex;flex-direction:column;gap:6px;max-height:340px;overflow-y:auto}
.game.android-layout #dialog:not([class*="pc-"]) #close{min-width:44px;min-height:44px;font-size:20px}
.game.android-layout .pc-quantity-prompt :is(button,input){min-height:44px;font-size:17px}
/* LobbyStyle182: login/roster over the whole 800x450 surface. */
.game.pc-layout.android-layout #dialog.android-lobby-dialog{left:var(--pc-stage-left)!important;top:var(--pc-stage-top)!important;width:800px;height:450px;max-width:800px;max-height:450px;padding:0;margin:0;border:0;border-radius:0;background:#080809;transform:scale(var(--pc-stage-scale,1))!important;transform-origin:top left;overflow:hidden}
#dialog.android-lobby-dialog .dialoghead{display:none}
#dialog.android-lobby-dialog #dialogbody{width:800px;height:450px;max-height:450px;padding:0;margin:0;overflow:hidden;display:block}
.android-lobby{position:relative;width:800px;height:450px;display:flex;align-items:center;gap:0;padding:18px 22px;box-sizing:border-box;color:#ededee;font-family:"Microsoft JhengHei",sans-serif;
  background:linear-gradient(135deg,rgba(0,0,0,.06),rgba(0,0,0,0) 50%,rgba(0,0,0,.25)),url('/assets/pc-create/105.png') center bottom/cover no-repeat,#080809}
.android-lobby::before{content:'';position:absolute;left:22px;right:22px;top:9px;height:1px;background:rgba(150,157,166,.24)}
.android-lobby-brand{flex:0 0 40%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 24px 8px 16px;text-align:center}
.android-lobby-edition,.android-lobby-caption,.android-lobby-kicker{font-size:11px;color:#b3b6bb;letter-spacing:.5px}
.android-lobby-panel .android-lobby-kicker{font-size:12px}
.android-lobby-caption{font-size:12px;margin-top:2px}
.android-lobby-title{margin:10px 0 0;font:48px serif;color:#ededee;font-weight:normal}
#dialog.android-lobby-dialog .android-lobby-brand .android-lobby-title{margin:10px 0 0;font:normal 48px serif;color:#ededee;line-height:1.15}
#dialog.android-lobby-dialog .android-lobby-brand .android-lobby-title.roster{font-size:27px}
.android-lobby-art{height:176px;width:100%;display:flex;align-items:center;justify-content:center;margin-top:4px}
.android-lobby-art img{max-height:176px;max-width:100%;image-rendering:pixelated}
.android-lobby-panel{flex:0 0 60%;max-height:414px;overflow-y:auto;box-sizing:border-box;padding:18px 20px;border:1px solid rgba(111,116,125,.32);border-radius:12px;background:rgba(0,0,0,.55);display:flex;flex-direction:column}
.android-lobby-heading{margin:7px 0 2px;font:500 26px "Microsoft JhengHei",sans-serif;color:#ededee}
.android-lobby-form{display:flex;flex-direction:column;position:static!important;transform:none!important;width:auto!important;height:auto!important;background:none!important}
.android-lobby-form>div{display:flex;flex-direction:column;position:static!important}
.android-lobby-form label{position:static!important;margin:10px 0 5px 2px;font-size:11px;color:#b3b6bb;display:block}
.android-lobby-form input:not([type=checkbox]){position:static!important;height:42px;box-sizing:border-box;padding:0 13px;border:1px solid rgba(95,101,110,.33);border-radius:7px;background:rgba(0,0,0,.6);color:#ededee;font-size:15px;width:100%!important}
.android-lobby-form input:focus{border-color:rgba(200,204,211,.67);background:rgba(0,0,0,.69);outline:none}
.android-lobby-form .pc-login-remember{display:flex!important;align-items:center;gap:8px;min-height:52px;font-size:16px;color:#ededee;margin:4px 0 0}
.android-lobby-form .pc-login-remember input{width:22px;height:22px}
#dialogbody .android-lobby-form button.pc-login-submit,#dialogbody .android-lobby-form button.pc-login-leave,.android-lobby-button{position:static!important;min-height:46px!important;margin:10px 0 0!important;padding:0 12px!important;border:1px solid rgba(213,216,221,.67)!important;border-radius:8px!important;background:rgba(0,0,0,.63);color:#ededee!important;font:500 14px "Microsoft JhengHei",sans-serif;width:auto!important;height:auto!important;background-image:none!important;text-indent:0!important;font-size:14px!important;cursor:pointer}
#dialogbody .android-lobby-form .pc-login-submit{order:10}#dialogbody .android-lobby-form .pc-login-leave{order:11;border-color:rgba(121,125,131,.4)!important;background:rgba(0,0,0,.53)!important}
#dialogbody .android-lobby-form button:disabled{color:#85888d!important;border-color:rgba(79,83,89,.2)!important}
.android-lobby-button:disabled{color:#85888d;border-color:rgba(79,83,89,.2);background:rgba(0,0,0,.33)}
.android-lobby-button.selected{border-color:rgba(213,216,221,.67);background:rgba(0,0,0,.63);color:#fff}
.android-lobby-status{min-height:28px;margin:9px 0 0;font-size:12px;color:#b3b6bb}
.android-lobby-row{display:flex;gap:8px}.android-lobby-row .android-lobby-button{flex:1}
.android-lobby-carousel{display:flex;gap:8px;align-items:center;margin-top:6px}
.android-lobby-arrow{flex:0 0 48px;height:72px}
.android-lobby-card{flex:1;min-height:132px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:15px!important}
.android-lobby-card strong{font-size:24px}
.android-lobby-empty{flex:1;height:132px;display:flex;align-items:center;justify-content:center;white-space:pre-line;text-align:center;font-size:17px;color:#b3b6bb;border:1px solid rgba(95,101,110,.27);border-radius:8px;background:rgba(0,0,0,.33)}
.android-lobby-danger{color:#c7adb0}
/* MobileBlackGoldSkin400 panels (restart OriginalRestartWindow358, more OriginalMoreMenu313). */
.android-restart-shade{position:absolute;inset:0;z-index:60}
.android-bg-panel{position:absolute;box-sizing:border-box;transform-origin:top left;background:rgba(23,21,18,.95);border:0;box-shadow:inset 0 0 0 2px #735938;color:#eee8dc;font-family:"Microsoft JhengHei",sans-serif;z-index:61}
.android-bg-panel::before{content:'';position:absolute;inset:3.5px;border:1px solid #b18d53;pointer-events:none}
.android-bg-panel::after{content:'';position:absolute;left:6px;right:6px;top:6px;height:15px;background:#302820;pointer-events:none}
.android-bg-panel>*{position:absolute;z-index:1}
.android-bg-panel button{margin:0;padding:0;border:0;border-radius:0;min-width:0;min-height:0;box-shadow:none;font:14px "Microsoft JhengHei",sans-serif;color:#eee8dc;background:#302820;cursor:pointer;touch-action:manipulation}
.android-bg-panel button:active{background:#59472c}
.android-bg-panel button[hidden],.android-bg-panel [hidden]{display:none!important}
.android-bg-panel .android-bg-close{background:transparent;color:#ead5ac;font-size:22px;line-height:1}
.android-bg-panel .android-bg-close:active{background:transparent;color:#fff}
.android-bg-title{left:16px;top:17px;font-size:14px;font-weight:normal;color:#eee8dc}
.android-restart{width:320px;height:220px}
.android-restart.collapsed{background:transparent;box-shadow:none}
.android-restart.collapsed::before,.android-restart.collapsed::after{display:none}
.android-restart-status{left:16px;top:48px;margin:0;font-size:14px;line-height:22px;white-space:pre-line}
.android-more{width:257px;height:336px}
.android-more .android-more-title{left:92px;top:15px;color:#ffe2a2}
.android-more .android-more-cell{border-radius:4px;font-size:11px;padding-top:12px}
.android-more .android-more-cell:disabled{color:#7b746a;cursor:default}
/* MobileCharacterCreate527 on the lobby surface. */
.android-create{position:relative;display:flex;width:800px;height:450px;margin:0;box-sizing:border-box;background:#111315;color:#ededee;font-family:"Microsoft JhengHei",sans-serif}
.android-create-art{flex:0 0 36%;display:flex;align-items:center;justify-content:center}
.android-create-art img{max-width:90%;max-height:300px;image-rendering:pixelated}
.android-create-main{flex:1;display:flex;flex-direction:column;padding:8px 12px;min-width:0}
.android-create-row{display:flex;align-items:center;gap:6px}.android-create-row>*{flex:1}
.android-create-title{margin:0;font:normal 24px "Microsoft JhengHei",sans-serif;color:#ffd78a}
.android-create-body{flex:1;overflow-y:auto;padding:0 4px 12px;display:flex;flex-direction:column}
.android-create-label{display:block;margin:8px 0;font-size:18px;font-weight:normal;color:#ffd78a}
.android-create-workshop{font-size:22px}
.android-create-name{min-height:56px;box-sizing:border-box;padding:0 12px;font-size:20px;color:#fff;background:rgba(0,0,0,.6);border:1px solid rgba(95,101,110,.33);border-radius:7px}
.android-create-grid{display:flex;gap:6px;margin:3px 0}.android-create-grid .android-lobby-button{flex:1;min-height:56px!important;font-size:18px!important;margin:0!important}
.android-create-stat{display:flex;align-items:center;gap:6px;margin:3px 0}.android-create-stat span{flex:1;font-size:18px;color:#ffd78a}
.android-create-stat .android-lobby-button{flex:0 0 60px;height:56px!important;margin:0!important;font-size:18px!important}
.android-create-message{margin:8px 0;font-size:16px;color:#ffd78a}
.android-create-balance{margin:4px 0;font-size:20px;color:#ffd78a}
.android-create-submit{min-height:60px!important;font-size:18px!important;margin:0!important}
.android-create .android-lobby-button.selected{border-color:#ffd78a!important;color:#ffd78a!important}
/* Lobby without the brand column (LINEAGE/1.82, 天堂, class art, caption) and creation
   without the left preview: the form panel sits centred on the backdrop. */
#dialog.android-lobby-dialog .android-lobby-brand{display:none}
#dialog.android-lobby-dialog .android-lobby{justify-content:center}
#dialog.android-lobby-dialog .android-lobby-panel{flex:0 0 480px}
#dialog.android-lobby-dialog .android-create-art{display:none}
#dialog.android-lobby-dialog .android-create-main{flex:0 1 560px;margin:0 auto}
/* Phone-sized entry: bigger fields, labels and keys in login, roster and creation. */
#dialog.android-lobby-dialog .android-lobby{padding:10px 22px}
#dialog.android-lobby-dialog .android-lobby-panel{flex:0 0 560px;max-height:430px;padding:12px 24px}
#dialog.android-lobby-dialog .android-lobby-heading{margin:2px 0 0;font-size:24px}
#dialog.android-lobby-dialog .android-lobby-kicker{font-size:13px}
#dialog.android-lobby-dialog .android-lobby-form label{margin:8px 0 4px 2px;font-size:15px;color:#d8d2c2}
#dialog.android-lobby-dialog .android-lobby-form input:not([type=checkbox]){height:56px;font-size:20px;padding:0 16px;border-radius:9px}
#dialog.android-lobby-dialog .android-lobby-form .pc-login-remember{min-height:48px;font-size:17px}
#dialog.android-lobby-dialog .android-lobby-form .pc-login-remember input{width:26px;height:26px}
#dialog.android-lobby-dialog #dialogbody .android-lobby-form button.pc-login-submit,#dialog.android-lobby-dialog #dialogbody .android-lobby-form button.pc-login-leave,#dialog.android-lobby-dialog .android-lobby-button{min-height:54px!important;font-size:18px!important;border-radius:9px!important}
#dialog.android-lobby-dialog #dialogbody .android-lobby-form button.pc-login-submit{background:rgba(107,82,38,.85)!important;border-color:#d0a95c!important;color:#fff4d6!important}
#dialog.android-lobby-dialog .android-lobby-status{font-size:15px}
#dialog.android-lobby-dialog .android-lobby-card strong{font-size:28px}
#dialog.android-lobby-dialog .android-lobby-card{font-size:17px!important}
#dialog.android-lobby-dialog .android-create-name{min-height:60px;font-size:22px}
#dialog.android-lobby-dialog .android-lobby-form label:not(.pc-login-remember){position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip-path:none!important}
#dialog.android-lobby-dialog .android-lobby-form label.pc-login-remember{width:auto!important;height:auto!important;white-space:nowrap;font:17px/1.4 "Microsoft JhengHei",sans-serif;color:#e9d8a6}
/* Web182 new-player run: 推薦配點 (one tap spends the bonus points for the class). */
#dialog.android-lobby-dialog .android-create .android-create-suggest{width:100%;min-height:52px!important;margin:4px 0 8px!important;color:#ffd78a!important;border-color:#c9a45e!important;background:linear-gradient(rgba(201,164,94,.28),rgba(0,0,0,.55))!important}
/* Web182 新手指引 card (between the player HUD and the top menu) and checklist window. */
.np-guide-card{position:absolute;left:216px;top:8px;width:252px;height:46px;z-index:30;display:flex;align-items:center;gap:6px;padding:4px 5px 4px 8px;box-sizing:border-box;border:1px solid #c9a45e;border-radius:10px;background:rgba(10,8,5,.78);box-shadow:0 2px 8px rgba(0,0,0,.45)}
.np-guide-card[hidden]{display:none}
.np-guide-card .np-guide-text{flex:1;min-width:0;height:100%;padding:0;border:0;background:none;color:#f1e3bd;font:600 12.5px/1.25 "Microsoft JhengHei",sans-serif;text-align:left;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;cursor:pointer}
.np-guide-card .np-guide-go{flex:0 0 auto;min-width:62px;height:36px;padding:0 8px;border:1px solid #e2c98a;border-radius:8px;background:linear-gradient(#e2c98a,#a9844a);color:#1b1206;font:700 13px "Microsoft JhengHei",sans-serif}
.np-guide-card .np-guide-go:active{transform:scale(.94)}
.np-guide-list{display:flex;flex-direction:column;gap:8px}
.np-guide-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(201,164,94,.45);border-radius:10px;background:rgba(0,0,0,.35)}
.np-guide-row.done{opacity:.62}
.np-guide-mark{flex:0 0 26px;height:26px;border:2px solid #c9a45e;border-radius:50%;color:#7ee08a;font:700 17px/22px sans-serif;text-align:center}
.np-guide-body{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.np-guide-body strong{color:#f5e6be;font:700 16px "Microsoft JhengHei",sans-serif}
.np-guide-body span{color:#bdb6a4;font:14px/1.35 "Microsoft JhengHei",sans-serif}
.np-guide-row .mw-button{flex:0 0 auto;min-width:104px;min-height:44px}
/* Web182 手機強化視窗 (mobile-enchant.js). */
.mw-enchant .mw-enchant-split{display:flex;gap:12px;height:100%;min-height:0}
.mw-enchant .mw-enchant-list{flex:1 1 55%;display:flex;flex-direction:column;gap:6px;overflow-y:auto;min-height:0;padding-right:4px}
.mw-enchant .mw-enchant-item{display:flex;align-items:center;gap:10px;min-height:52px;padding:4px 10px;border:1px solid rgba(201,164,94,.4);border-radius:9px;background:rgba(0,0,0,.35);color:#eee4c8;font:16px "Microsoft JhengHei",sans-serif;text-align:left}
.mw-enchant .mw-enchant-item.selected{border-color:#ffd78a;background:rgba(201,164,94,.22)}
.mw-enchant .mw-enchant-item img{width:32px;height:32px;image-rendering:pixelated;flex:0 0 32px}
.mw-enchant .mw-enchant-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mw-enchant .mw-enchant-badge{flex:0 0 auto;padding:2px 6px;border-radius:6px;background:#c9a45e;color:#1b1206;font:700 12px sans-serif}
.mw-enchant .mw-enchant-side{flex:1 1 45%;display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid rgba(201,164,94,.45);border-radius:10px;background:rgba(0,0,0,.4);min-width:0}
.mw-enchant .mw-enchant-head{display:flex;align-items:center;gap:10px;color:#f5e6be;font:700 17px "Microsoft JhengHei",sans-serif}
.mw-enchant .mw-enchant-head img{width:40px;height:40px;image-rendering:pixelated}
.mw-enchant .mw-enchant-nums{display:flex;gap:14px;color:#ffd78a;font:700 18px "Microsoft JhengHei",sans-serif}
.mw-enchant .mw-enchant-risk{margin:0;padding:8px;border-radius:8px;font:15px/1.4 "Microsoft JhengHei",sans-serif}
.mw-enchant .mw-enchant-risk.safe{background:rgba(90,180,110,.18);color:#a8e6b0}
.mw-enchant .mw-enchant-risk.danger{background:rgba(220,80,70,.2);color:#ffb0a8}
.mw-enchant .mw-enchant-risk.down{background:rgba(160,100,200,.2);color:#dcc0ff}
.mw-enchant .mw-enchant-risk.none{background:rgba(255,255,255,.06);color:#c8c2b0}
.mw-enchant .mw-enchant-status{margin:auto 0 0;min-height:28px;color:#e9d8a6;font:700 18px "Microsoft JhengHei",sans-serif;text-align:center}
.mw-enchant .mw-enchant-status.up{color:#ffe27a;text-shadow:0 0 8px rgba(255,210,90,.8);animation:mw-enchant-pop .5s ease-out}
.mw-enchant .mw-enchant-status.lost{color:#ff8a80;animation:mw-enchant-shake .45s ease-out}
.mw-enchant .mw-enchant-status.down{color:#dcc0ff}
@keyframes mw-enchant-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.25);opacity:1}100%{transform:scale(1)}}
@keyframes mw-enchant-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
/* Web182 排行榜 (mobile-rank.js). */
.mw-rank .mw-rank-tabs{display:flex;gap:8px;margin-bottom:8px}
.mw-rank .mw-rank-tab{flex:1;min-height:46px}
.mw-rank .mw-rank-tab.selected{border-color:#ffd78a;color:#ffd78a;background:rgba(201,164,94,.22)}
.mw-rank .mw-rank-list{display:flex;flex-direction:column;gap:5px}
.mw-rank .mw-rank-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 10px;border:1px solid rgba(201,164,94,.3);border-radius:9px;background:rgba(0,0,0,.35)}
.mw-rank .mw-rank-no{flex:0 0 34px;height:30px;border-radius:50%;background:rgba(255,255,255,.08);color:#e9d8a6;font:700 16px/30px sans-serif;text-align:center}
.mw-rank .mw-rank-row.top1 .mw-rank-no{background:linear-gradient(#ffe68a,#c9962e);color:#1b1206}
.mw-rank .mw-rank-row.top2 .mw-rank-no{background:linear-gradient(#f2f2f2,#9ea4ab);color:#1b1206}
.mw-rank .mw-rank-row.top3 .mw-rank-no{background:linear-gradient(#f0b27a,#9c5a2c);color:#1b1206}
.mw-rank .mw-rank-who{flex:1;display:flex;flex-direction:column;min-width:0}
.mw-rank .mw-rank-who strong{color:#f5e6be;font:700 16px "Microsoft JhengHei",sans-serif}
.mw-rank .mw-rank-who span{color:#bdb6a4;font:13px "Microsoft JhengHei",sans-serif}
.mw-rank .mw-rank-value{flex:0 0 auto;color:#ffd78a;font:700 15px "Microsoft JhengHei",sans-serif}
.mw-rank .mw-rank-note{margin:6px 2px 0;color:#9d978a;font:12.5px/1.4 "Microsoft JhengHei",sans-serif}
.mw-rank .mw-rank-me{flex:1;margin:0;align-self:center;color:#f1e3bd;font:700 16px "Microsoft JhengHei",sans-serif}
.mw-enchant .mw-enchant-risk.unknown{background:rgba(230,150,60,.2);color:#ffd09a}
/* Web182 掛機收益回報 chip (hunt-report.js). */
.hunt-chip{position:absolute;left:216px;top:8px;width:252px;min-height:30px;z-index:29;box-sizing:border-box;padding:4px 8px;border:1px solid rgba(126,224,138,.6);border-radius:9px;background:rgba(6,14,8,.78);color:#c9f5cf;font:600 11.5px/1.35 "Microsoft JhengHei",sans-serif;pointer-events:none}
.hunt-chip[hidden]{display:none}
.hunt-chip.below{top:58px}
.hunt-chip.done{border-color:#c9a45e;color:#ffe6a8}
.idle-report-text{font:17px/1.6 "Microsoft JhengHei",sans-serif;color:#f1e3bd}
