/* Targeted visual matching pass. No gameplay or persistence rules. */
body{font-family:'Times New Roman',serif;font-size:14px}
header{height:72px;grid-template-columns:334px 98px repeat(4,1fr);gap:4px;padding:0 8px 9px;border-bottom-width:4px}
.hud{border-radius:0;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);border:3px ridge #a5b8c0;background:linear-gradient(#b7c9d2,#7393a8 55%,#496e87);font-size:14px;color:#342e27}
.hud.profile{border-radius:9px;clip-path:none}.hud.energy{color:#ecfbff;background:radial-gradient(#183d57,#030e19);border-radius:7px;clip-path:none}.profiletop{font-family:Georgia,serif;height:27px;font-size:11px}.profiletop .name{max-width:155px}.xp{max-width:170px;letter-spacing:1px;font-size:12px;height:17px}.profile .badge{min-width:35px;padding:0 9px;line-height:14px;text-align:center;background:linear-gradient(#fff5ad,#b7913e);color:#352917;box-shadow:0 1px 2px #102233}.coin,.coin.teeth,.coin.tokens,.coin.silver{background:none;border:0;box-shadow:none;border-radius:0;width:27px;height:28px;padding:0;margin-right:7px;overflow:hidden}.coin img{width:27px;height:28px;object-fit:cover}.currency-inline{width:16px;height:17px;object-fit:cover;vertical-align:-4px;border-radius:50%}.currency-inline.teeth{border-radius:0}.shoplink{left:449px;bottom:-14px;font-size:15px;letter-spacing:1px}.blue{background:linear-gradient(#4263a0,#142b63 60%,#071a48);border-color:#91aac0;font-family:Georgia,serif}.pill{font-size:12px;padding:2px 13px}
.layout{grid-template-columns:729px 161px}.home{background:#2d3820 url('assets/home-native.webp') 53px 0/672px 633px no-repeat}.medalrail{width:53px;padding:10px 4px;background:url('assets/medal-rail.webp') left top/51px 633px no-repeat;border:0;gap:8px}.medalrail button{height:47px;width:45px;background:transparent;border:0;padding:0}.medalrail img{width:42px;height:47px;object-fit:contain}.ribbon{left:300px;top:0;width:146px;height:53px;padding:0;border:0;border-radius:0;background:none}.ribbon img{width:146px;height:53px;display:block}.eagle{right:0;top:8px;width:130px;height:120px;border-radius:0}.homeactions{right:29px;top:141px;gap:0;width:70px}.portraitbtn{padding:0;border:0;box-shadow:none;border-radius:0;width:70px;height:69px;background:none;margin-bottom:19px}.portraitbtn img{object-fit:fill;width:70px;height:69px}.portraitbtn span{display:none}.portraitbtn.event{margin-top:-13px;margin-bottom:11px;height:71px;border:2px solid #796324;background:#061109;border-radius:3px}.portraitbtn.event img{height:53px;width:66px}.portraitbtn.event span{display:block;position:static;font:bold 13px/14px 'Times New Roman',serif;letter-spacing:0;background:#050b06;color:#ffe18a;height:14px}.portraitbtn.event+.portraitbtn.event{margin-top:0}.gift{left:320px;bottom:64px;width:75px;height:77px}.gift small{top:76px;left:-13px;width:102px;background:#453b26;font:bold 13px/16px 'Times New Roman',serif;border-radius:0;padding:0;text-shadow:0 1px #171408}.homecaption{display:none}
.navigation{height:302px;padding:0;position:relative}.navhome{position:absolute;top:5px;right:5px;width:82px;height:83px;padding:0;text-align:center;font-size:14px}.navhome img{display:block;width:66px;height:65px;margin:0 auto 2px}.navhome span{display:none}.navgrid{position:static;display:block}.navgrid button{position:absolute;min-height:0;width:78px;height:86px;font-size:14px;line-height:16px;transform:none!important}.navgrid button:nth-child(1){left:1px;top:50px}.navgrid button:nth-child(2){right:2px;top:94px}.navgrid button:nth-child(3){left:1px;top:145px}.navgrid button:nth-child(4){right:2px;top:195px}.navgrid img{width:70px;height:67px;mix-blend-mode:normal}.dailylist{padding:9px 10px 5px}.dailytitle{font-size:14px;padding:2px 12px;line-height:18px;margin-bottom:3px}.dailylist button.quest{font-size:14px;line-height:14px;min-height:0;height:auto;padding:0;margin:0 0 14px;display:grid;grid-template-columns:17px 1fr;letter-spacing:.1px}.dailylist button.quest:first-of-type{margin-top:5px}.dailydate{font-size:14px;line-height:13px;margin-top:4px;color:#c13d30;letter-spacing:.5px}.sidebar{background-size:55px 30px}
.footer{padding:0 26px 8px;border-top-width:5px;background:linear-gradient(#0c2a36,#07212a);height:170px}.footer:after{content:'';pointer-events:none;position:absolute;left:0;right:0;bottom:0;height:23px;background:url('assets/footer-bottom.webp') center bottom/890px 27px}.iconbar{justify-content:flex-start;gap:4px;margin:-5px 20px 15px;height:57px}.iconbar button{flex:0 0 52px}.friendstrip{gap:0;height:80px;overflow:visible;position:relative}.friendcard{position:relative;width:75px;height:75px;flex:0 0 75px;border:0;border-radius:0;background:url('assets/friend-empty.webp') center/75px 75px;padding:6px;opacity:1!important;font-size:0;color:transparent}.friendcard img{display:none}.friendcard .friendlevel{position:absolute;bottom:-8px;left:18px;font:bold 13px Georgia;color:#342610;background:linear-gradient(#fff2a0,#ce9e2d);border:1px solid #8e6820;border-radius:50%;padding:3px 9px;box-shadow:0 2px 3px #0008}.friendcard.player{background:#fff7d2;border:2px ridge #d2b151;border-radius:9px;width:64px;flex-basis:64px;margin-right:5px;z-index:1}.friendcard.player img{display:block;width:54px;height:61px;border-radius:0;object-fit:cover;margin:0}.friendcard.player:before{content:attr(data-level);position:absolute;left:-9px;top:-8px;background:linear-gradient(#fff6b1,#cf9c21);color:#382505;font:bold 14px Georgia;border:1px solid #a77818;border-radius:50%;width:24px;height:24px;line-height:24px;box-shadow:0 2px 4px #0006}.invite{position:absolute;right:-1px;top:0;width:83px;height:82px;font-size:14px;letter-spacing:1px;z-index:2}.statusline{position:absolute;right:29px;bottom:0;z-index:3;font-size:9px;margin:0;gap:8px}.statusline>span:first-child{display:none}.statusline>span:last-child{background:#09212be8;padding:1px 4px}.friendcard.empty{font-size:0}.iconbar img{object-fit:cover}
.iconbar button.selected{border:1px solid #b6b6a4;border-radius:3px;background:#9db0af22;box-shadow:inset 0 0 0 1px #183b4c,0 0 3px #071620}
.armor-menu-page,.armor-detail{background:radial-gradient(ellipse at 48% 46%,#162344,#080f20 75%);box-shadow:none}.armor-menu-page>h1{display:none}.armor-menu{width:305px;margin:-3px auto 0;display:flex;flex-direction:column;gap:10px}.armor-menu .blue{height:30px;padding:2px 8px;border:1px solid #214987;border-radius:18px;background:linear-gradient(#2e59a1,#112a6a);font-size:14px}.armor-detail{position:relative;height:636px;min-height:636px;padding:0;overflow:hidden}.armor-detail .equipmentchoices{display:block;position:absolute;inset:0;margin:0;max-width:none;height:auto}.armor-detail .equipmentchoices button{position:absolute;width:160px;height:181px;padding:0;color:#fff;line-height:18px}.armor-detail .equipmentchoices button:nth-child(1){left:calc(50% - 80px);top:72px}.armor-detail .equipmentchoices button:nth-child(2){left:35px;top:254px}.armor-detail .equipmentchoices button:nth-child(3){right:35px;top:254px}.armor-detail .equipmentchoices button:nth-child(4){left:calc(50% - 80px);top:422px}.armor-detail .equipmentchoices img{width:158px;height:158px;object-fit:contain;border:2px solid #626b78;border-radius:50%;margin:0 auto}.armor-detail .equipmentchoices button.selected img{border-color:#f1c64d;box-shadow:none}.armor-detail .equipmentchoices span{display:block;font:bold 14px/16px 'Times New Roman',serif;text-shadow:0 1px 2px #000}.armor-details{position:absolute;top:296px;left:240px;width:245px;text-align:center;font-size:12px;line-height:13px}.armor-details>b{display:block;min-height:29px}.armor-details>.blue{display:block;width:215px;height:32px;margin:1px auto;border-radius:4px;padding:3px 8px;font-size:14px}.armor-owned{margin-top:5px;font-size:11px}.armor-owned .bottom-actions{margin:4px 0;gap:4px}.armor-owned .blue{padding:3px 5px;font-size:11px}.armor-arrow{position:absolute;bottom:26px;width:44px;height:44px;border:0;border-radius:50%;background:linear-gradient(#4181c0,#12345e);color:#fff;font:bold 22px Arial;box-shadow:0 3px 6px #0007}.armor-prev{left:22px}.armor-next{right:22px}
.armor-locked{background:radial-gradient(ellipse at 48% 46%,#162344,#080f20 75%);box-shadow:none;text-align:center;padding-top:285px}.armor-locked p{font-size:18px;font-weight:bold;color:#e9dfce}
.armor-special-page{background:radial-gradient(ellipse at 48% 46%,#162344,#080f20 75%);box-shadow:none;min-height:636px;padding:42px 32px;overflow:auto}.armor-special-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.armor-special-card{min-height:110px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:12px 7px;border:1px solid #5579a1;border-radius:6px;background:linear-gradient(#1f3762,#0b1730);color:#e5e9f3}.armor-special-card b{font-size:14px}.armor-special-card span{font-size:12px}.armor-special-card button{font-size:12px}.armor-special-two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:120px}.armor-special-two .armor-special-card{min-height:230px}
.armor-carousel{position:relative;overflow:hidden;padding:70px 60px 80px}.armor-special-selected{min-height:190px;max-width:360px;margin:0 auto 22px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;text-align:center;color:#e9e8eb;font-size:18px}.armor-special-selected span{font-size:14px}.armor-special-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:245px;overflow:auto}.armor-special-selector button{min-height:52px;border:1px solid #54759e;border-radius:6px;background:#172b50;color:#f0f1f5;padding:5px;font-size:12px}.armor-special-selector button.selected{border-color:#edc15f;background:#29466d}.armor-carousel .armor-arrow{bottom:25px}
.medal-progress{margin:7px 0;font-size:13px}.medal-progress small{display:block;margin-top:4px}.medal-steps{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.medal-steps span{border:1px solid #8b8065;border-radius:3px;padding:2px 4px;background:#ddd2b2;color:#574e3b}.medal-steps span.earned{border-color:#af802b;background:#f1d17b;color:#452d0b}
.page:has(.taskhead){padding:25px 25px 14px;background-color:#d5c6a5}.taskhead{grid-template-columns:1fr 1fr 1fr;gap:14px;margin:0 26px 17px;font-size:24px}.taskhead .ornate{height:45px;padding:4px;font-size:25px;line-height:28px;border:12px solid transparent;border-image:url('assets/task-heading.webp') 12 stretch;background:#635640;box-shadow:none;outline:none}.ornate:before,.ornate:after{display:none}.taskhead .ornate{line-height:20px}.taskrow{height:66px;min-height:66px;grid-template-columns:263px 170px 191px;gap:1px;margin:0 0 1px;padding:6px 2px;border:9px solid transparent;border-image:url('assets/task-border.webp') 9 stretch;background:#665b48;box-shadow:none;outline:none;font-size:14px;color:#e8e0c9}.taskrow>div{line-height:16px}.taskrow button{height:43px;border:10px solid transparent;border-image:url('assets/task-button.webp') 10 stretch;outline:0;box-shadow:none;background:#63513b;font-size:23px;line-height:20px;padding:0;white-space:nowrap}.taskrow .center:nth-child(2){font-size:13px}.taskrow .segments{margin-top:3px}.segments i{width:31px;height:7px}.taskrow .energy-inline{width:15px;height:20px;vertical-align:-5px}.taskrow .xp-inline{width:27px;height:20px;vertical-align:-5px}.page:has(.taskhead) .bottom-actions{margin:12px 8px 0;gap:18px}.page:has(.taskhead) .bottom-actions button{flex:1;font-size:23px;border:10px solid transparent;border-image:url('assets/task-button.webp') 10 stretch;background:#62513a;padding:2px 1px;white-space:nowrap;height:50px}.page:has(.taskhead)>.muted{font-size:10px;margin-top:5px}
.inventoryPage{padding:10px;background:#e1d5b2;box-shadow:none}.inventoryPage>h1{display:none}.inventoryPage>.tabs{gap:4px;margin:0 0 4px}.inventoryPage>.tabs button{padding:3px;font-size:14px;border-radius:5px 5px 0 0;background:linear-gradient(#f0e8cd,#d4c696);color:#493d27;height:25px}.inventoryPage .profilepanel{padding:7px 7px 5px!important;height:345px;border:1px solid #8e7b43;border-radius:5px;background:linear-gradient(#eee4c3,#d5c59d);margin-bottom:8px}.inventoryName{height:23px;text-align:center;border:1px solid #a49362;border-radius:2px;background:#dfd3ae;font-weight:bold;line-height:21px;margin-bottom:8px}.inventorySummary{display:flex;align-items:center;gap:8px;height:61px;margin:0 0 2px}.inventorySummary img{width:55px;height:55px;border:1px solid #b39b61;border-radius:3px}.inventorySummary p{margin:0;line-height:16px}.inventoryPage .statrow{height:22px;margin:0;grid-template-columns:100px 1fr 46px;border-bottom:1px solid #b7a77442;font-size:14px;gap:7px}.inventoryPage .statrow b{text-align:right;color:#7d211b}.inventoryPage .statrow .bar{height:7px;border-width:1px;border-radius:2px;background:#ccbf98}.inventoryPage .profilepanel>p{margin:11px 0 4px}.inventoryPage .profilepanel .bottom-actions{margin:4px}.inventoryPage .profilepanel .bar.red>span{background:#b31624}.inventoryPage .profilepanel .bar:not(.red)>span{background:#38a642}.inventoryPage .petpanel{height:154px;padding:7px!important;border:1px solid #a08b52;border-radius:4px;margin:0;background:#e8dcb8}.petpanel h3{font-size:14px;border:1px solid #ae9a5b;border-radius:2px;height:25px;line-height:22px;background:#ede4c2;margin-bottom:10px}.petpanel .pets{gap:4px}.pet{height:102px;background:linear-gradient(#f4edcc,#dacb9d);border-radius:3px;position:relative;padding:3px;border-color:#b19b60}.pet img{width:50px;height:50px;margin:0 auto 2px;border-width:2px}.pet b{font-size:14px;line-height:16px;margin:0}.pet .blue{font-size:12px;padding:1px 7px;line-height:16px}.pet .active-pet{position:absolute;top:1px;right:3px;background:#e9e8c5;color:#34703b;border:1px solid #4a9054;font-size:12px;line-height:14px;padding:0 3px}.inventoryPage .pill{font-size:12px;padding:1px 11px}.inventoryPage .petpanel .blue[data-action=petHelp]{border-radius:50%;padding:0;width:20px;height:20px;background:linear-gradient(#80db76,#11871c);font-family:Arial}.chestpage{position:relative}.chest-top{display:flex;align-items:center;justify-content:center;gap:12px}.chest-steps{display:flex;gap:2px}.chest-steps i{width:21px;height:12px;border:1px solid #d1b469;background:#24160e}.chest-steps i.on{background:#d4322e}.chestpage .chests{margin:65px 20px 28px}.chest-slot{text-align:center;min-width:170px}.chest-slot button{display:block;margin:auto}.chest-slot strong{display:block;font-size:19px;color:#fff4bd;text-shadow:0 2px 3px #000}.chest-slot.dim{opacity:.62}.chest-slot.won{filter:drop-shadow(0 0 13px #ffe55c)}.chest-result{width:300px;margin:0 auto;padding:12px;text-align:center;background:#1a1120e8;border:3px ridge #d8b757;border-radius:8px}.chest-result h2{margin:0 0 8px}.chest-result>strong{display:block;font-size:22px;margin-bottom:10px}.chest-result button{width:100%}
.arenaPage .arenabanner{height:303px;width:724px;object-fit:fill}.arenaRules{padding:0 18px;gap:14px}.arenaRules>.panel{height:255px;padding:10px 15px 12px;border:9px solid transparent;border-image:url('assets/arena-panel.webp') 16 stretch;border-radius:0;box-shadow:none;margin:0;background:#f0e8d1;position:relative}.arenaRules h2{height:62px;display:flex;align-items:center;gap:5px;font-size:29px;margin:0 0 10px;white-space:nowrap}.arenaRules h2 img{width:77px;height:60px;object-fit:cover;margin-left:-6px}.arenaRules p{font-size:16px;line-height:19px;margin:0;min-height:94px}.arenaRules .goldbtn{height:52px;border:12px solid transparent;border-image:url('assets/arena-gold-button.webp') 14 stretch;box-shadow:none;background:#634019;padding:0;font-size:19px;line-height:21px;white-space:nowrap;width:100%;position:absolute;left:0;bottom:1px}.arenaPage>.center{margin:7px 18px 0}.arenaPage>.center>.redbtn{height:57px;width:100%;background:#622317;border:12px solid transparent;border-image:url('assets/arena-history.webp') 13 stretch;font-size:27px;line-height:25px;padding:0;letter-spacing:1px}.arenaPage{background:#c1b493;min-height:636px;padding:0}.arenaPage .battlefield{height:368px}.arenaPage .combatlog{height:230px;margin:8px 10px;padding:12px 20px;font-size:13px}.arenaPage:has(.battle-result) .combatlog{height:187px}.fighter{width:125px;height:125px}.fighters{margin:73px 82px 0}.hpheads>div{padding:5px}.battle-result{padding:6px}
.arenaRules>.panel{height:320px}.arenaRules .medal-steps{position:absolute;left:12px;right:12px;bottom:58px;max-height:88px;overflow:auto;align-content:start}.arenaRules .medal-steps button{font-size:11px;padding:2px 5px}
.clancoin-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:2px ridge #e3c173;background:#654c23;color:#ffdc78;font:bold 10px Arial;vertical-align:middle}.login-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.login-calendar .panel{min-height:85px}.login-calendar .panel:nth-child(6){border-color:#bf9643;background:#ebd0a3}header{grid-template-columns:300px 88px repeat(6,minmax(0,1fr))}.hud:not(.profile):not(.energy){font-size:12px;overflow:hidden}.hud .coin{margin-right:2px;flex:0 0 25px}
.chatlink{position:absolute;left:405px;bottom:-14px;z-index:4;width:38px;padding:2px 4px;font-size:15px}
.medalrail .medal-toggle{height:24px;color:#f1d893;font:bold 18px Georgia;text-shadow:0 1px 3px #000}.medalrail.collapsed button:not(.medal-toggle){display:none}
.inventory-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.inventory-items .panel{min-height:135px;padding:9px 5px}.inventory-items .sigil{font-size:29px}.inventory-items p{margin:6px 0}
.dailylist div.quest{font-size:14px;line-height:14px;min-height:0;height:auto;padding:0;margin:0 0 14px;display:grid;grid-template-columns:17px 1fr;letter-spacing:.1px;cursor:default}.dailylist .dailytitle+div.quest{margin-top:5px}
.wheel-reward{display:flex;align-items:center;justify-content:center;gap:10px;font-size:20px;font-weight:bold}.wheel-reward img{width:48px;height:48px;object-fit:contain}
