/* ANT CANVAS V6 shared HUD: five fixed slots, no wrapping, safe area aware. */
.ac-game-nav{position:fixed;z-index:80;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);box-sizing:border-box;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:1fr;gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#304b3e,#172e28);border:1px solid #c8a66c;border-radius:22px 22px 0 0;box-shadow:0 -5px 22px #172b2850;color:#fff0c5}
.ac-game-nav>*{appearance:none;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:53px;margin:0;padding:4px 1px!important;border:1px solid transparent;border-radius:13px;background:none;color:inherit;text-decoration:none;box-shadow:none;font:800 11px/1.1 system-ui;white-space:nowrap;touch-action:manipulation;cursor:pointer}.ac-game-nav i{display:block;width:25px;height:25px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.ac-game-nav span{font-size:clamp(9px,2.5vw,12px);overflow:hidden;text-overflow:ellipsis;max-width:100%}.ac-game-nav [aria-current=page]{background:linear-gradient(#fff3c6,#eac47e);border-color:#ffedb0;color:#493b25;box-shadow:0 3px 0 #9d7744}.ac-game-nav>*:focus-visible{outline:2px solid white}
.ac-game-nav [data-nav=play] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%207h10l4%204%201%207-3%202-5-4h-4l-5%204-3-2%201-7z%22%2F%3E%3Cpath%20d%3D%22M7%2010v6m-3-3h6m6-1h.1m3%203h.1%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%207h10l4%204%201%207-3%202-5-4h-4l-5%204-3-2%201-7z%22%2F%3E%3Cpath%20d%3D%22M7%2010v6m-3-3h6m6-1h.1m3%203h.1%22%2F%3E%3C%2Fsvg%3E")}
.ac-game-nav [data-nav=world] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V9m0%207C4%2017%202%2010%203%205c6%200%2010%204%209%2011zm0-4C12%205%2016%202%2022%202c0%206-3%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V9m0%207C4%2017%202%2010%203%205c6%200%2010%204%209%2011zm0-4C12%205%2016%202%2022%202c0%206-3%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E")}
.ac-game-nav [data-nav=raid] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%203%205%202%2012%2012-4%204L5%209zM3%203l3%201m8%2011%204-4M3%2020l7-7m-7%207%202%202m8-12%207-7%202%202-7%207%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%203%205%202%2012%2012-4%204L5%209zM3%203l3%201m8%2011%204-4M3%2020l7-7m-7%207%202%202m8-12%207-7%202%202-7%207%22%2F%3E%3C%2Fsvg%3E")}
.ac-game-nav [data-nav=tasks] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V2h6v2M9%2010h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V2h6v2M9%2010h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E")}
.ac-game-nav [data-nav=collection] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v8c0%204-2%206-5%206s-5-2-5-6zM7%205H3v3c0%203%202%204%204%204m10-7h4v3c0%203-2%204-4%204m-5%205v4m-5%200h10%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v8c0%204-2%206-5%206s-5-2-5-6zM7%205H3v3c0%203%202%204%204%204m10-7h4v3c0%203-2%204-4%204m-5%205v4m-5%200h10%22%2F%3E%3C%2Fsvg%3E")}
body.ac-world{background:radial-gradient(ellipse at 15% 2%,#f1f1c5,transparent 48%),linear-gradient(150deg,#dce7ca,#c3dfcb 70%,#f6e8c1);color:#4e5538}.ac-world main{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important}.ac-world .topbar{position:relative;background:linear-gradient(135deg,#284b39,#3d664a);border-bottom:2px solid #bda36f;gap:8px;padding:12px max(12px,calc((100vw - 1280px)/2));box-shadow:0 5px 20px #344e3b25}.ac-world .brand{flex:1;min-width:0;letter-spacing:.5px;line-height:1.2}.ac-world .brand-icon{border-radius:18px}.ac-world .topbar .return{font-size:12px;padding:8px;white-space:nowrap}.ac-world .topbar .return:last-child{display:none}.ac-world .stat{border:1px solid #fff5ce;background:linear-gradient(#fffaf0,#f6e8bf);border-radius:16px;box-shadow:0 3px 0 #ad976a40}.ac-world .stat small{letter-spacing:.25px}.ac-world .panel{background:linear-gradient(145deg,#fff9e7,#f5ecd2);border:1px solid #fff8df;border-radius:20px;box-shadow:0 4px 0 #af9a6740,0 10px 22px #455e3920}.ac-world .region-panel{padding:14px}.ac-world .region-panel h2{color:#3d6041;font-family:Georgia,serif;font-size:clamp(18px,4vw,25px)}.ac-world .region-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ac-world .region-card{min-height:105px;justify-content:center;position:relative;overflow:hidden;border:1px solid #bca77b;background:linear-gradient(155deg,#fff9e5,#e6dac0);border-radius:13px;box-shadow:0 3px 0 #b6a27a60}.ac-world .region-card.active{border:2px solid #c29348;background:linear-gradient(#fff5c5,#f6d584);box-shadow:0 4px 0 #ac8442}.ac-world .region-card:disabled{opacity:.72}.ac-world .region-card b{line-height:1.2;overflow-wrap:anywhere}.ac-world .global-status{font-size:12px;opacity:.85;margin:8px 0}.ac-world #world-panel{border:3px solid #f9eac0;box-shadow:0 4px 0 #b7a171,0 12px 22px #3a513b35}.ac-world .ac-world-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.ac-world .ac-world-actions .btn{flex:1;min-width:0;text-align:center;background:linear-gradient(#63875b,#3f6949);color:#fff8db;border:1px solid #8ba46c;box-shadow:0 3px 0 #39553b}.ac-world .ac-world-actions .btn:last-child{background:linear-gradient(#e9c77b,#b8863e);color:#422e18;border-color:#d6b266;box-shadow:0 3px 0 #926329}.ac-world main[data-tab] [hidden]{display:none!important}
@media(max-width:480px){.ac-world .topbar .brand{font-size:12px}.ac-world .topbar .return{font-size:10px;padding:6px}.ac-world .resource-line{gap:5px}.ac-world .stat{min-width:0;gap:3px;padding:6px 3px}.ac-world .stat-icon{width:24px;height:24px;flex-shrink:0;font-size:14px}.ac-world .stat strong{font-size:13px}.ac-world .stat small{font-size:8px}.ac-world .region-card{min-height:88px}.ac-world .region-card b{font-size:11px}.ac-world .region-card small{font-size:9px}}
body.ac-raid{background:radial-gradient(ellipse at 50% 0,#465775,#111b29 68%);color:#f2e6cb}.ac-raid main{padding-bottom:110px!important}.ac-raid .panel{background:linear-gradient(145deg,#2b3c50,#182534);border:1px solid #a38b5c80;border-radius:18px;box-shadow:0 5px 18px #0005}.ac-raid #arena{height:clamp(230px,65vw,350px)!important;border:2px solid #bb9b63;box-shadow:0 7px 18px #0006}.ac-raid .boss-card{background:linear-gradient(145deg,#3c5063,#203144);border-color:#ac93626e;min-height:58px}.ac-raid .boss-card[aria-pressed=true]{background:linear-gradient(135deg,#705a32,#394452);border-color:#e9c47d}.ac-raid button.primary{background:linear-gradient(#ffe6a6,#c1924b);box-shadow:0 3px 0 #705126}.ac-raid .notice{position:static}.ac-raid #tier,.ac-raid #create{width:100%}.ac-raid #create{margin-top:12px}
body.ac-collection{background:radial-gradient(ellipse at top,#f1e4bb,#dae6d2 54%,#c8d9c4);color:#38523e}.ac-collection header{background:linear-gradient(135deg,#2c4b3b,#4a6850);border-bottom:2px solid #bf9e60}.ac-collection main{padding-bottom:115px}.ac-collection .stat,.ac-collection .painting{background:#fff8e4;border-color:#e2c98b;box-shadow:0 4px 0 #bda47155,0 8px 16px #37503b20}.ac-collection .stat b{color:#446144}.ac-collection .lead,.ac-collection .stat small{color:#647454}.ac-collection button{background:#547750;box-shadow:0 3px 0 #344c32}.ac-collection button.alt{background:#efe1b5;color:#56482d;box-shadow:0 3px 0 #c9b27b}.ac-collection #detail{z-index:100}
#ant-home .ah-main-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px}#ant-home .ah-main-nav button{min-width:0;padding:3px 0!important;border-color:#d6c08d77;background:linear-gradient(#ffffff20,#00000014)}#ant-home .ah-main-nav span{font-size:clamp(8px,2.3vw,11px);white-space:nowrap}#ant-home .ah-main-nav button i{display:block;width:23px;height:23px;background:#fff0c5;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}#ant-home [data-nav=play] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%207h10l4%204%201%207-3%202-5-4h-4l-5%204-3-2%201-7z%22%2F%3E%3Cpath%20d%3D%22M7%2010v6m-3-3h6m6-1h.1m3%203h.1%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%207h10l4%204%201%207-3%202-5-4h-4l-5%204-3-2%201-7z%22%2F%3E%3Cpath%20d%3D%22M7%2010v6m-3-3h6m6-1h.1m3%203h.1%22%2F%3E%3C%2Fsvg%3E")}
#ant-home [data-nav=world] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V9m0%207C4%2017%202%2010%203%205c6%200%2010%204%209%2011zm0-4C12%205%2016%202%2022%202c0%206-3%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V9m0%207C4%2017%202%2010%203%205c6%200%2010%204%209%2011zm0-4C12%205%2016%202%2022%202c0%206-3%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E")}
#ant-home [data-nav=raid] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%203%205%202%2012%2012-4%204L5%209zM3%203l3%201m8%2011%204-4M3%2020l7-7m-7%207%202%202m8-12%207-7%202%202-7%207%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%203%205%202%2012%2012-4%204L5%209zM3%203l3%201m8%2011%204-4M3%2020l7-7m-7%207%202%202m8-12%207-7%202%202-7%207%22%2F%3E%3C%2Fsvg%3E")}
#ant-home [data-nav=tasks] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V2h6v2M9%2010h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V2h6v2M9%2010h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E")}
#ant-home [data-nav=collection] i{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v8c0%204-2%206-5%206s-5-2-5-6zM7%205H3v3c0%203%202%204%204%204m10-7h4v3c0%203-2%204-4%204m-5%205v4m-5%200h10%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22black%22%20fill%3D%22none%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v8c0%204-2%206-5%206s-5-2-5-6zM7%205H3v3c0%203%202%204%204%204m10-7h4v3c0%203-2%204-4%204m-5%205v4m-5%200h10%22%2F%3E%3C%2Fsvg%3E")}
