/* GRUMPY//NET v2 0.21.0 — Phase 9e: WoW achievements on the site + the Grumps Guild System addon's own art.
   Sprites use the addon's numbers (Theme.lua): gg- = Media/GGSIcons (32 px cells, 8 x 8), ga- = Media/GGSAchieve
   (64 px cells, 8 x 4), gm- = the Hall medallions GGSMedals (4 x 2). Art in img/wow/ (WebP made from the addon's .tga).
   Page prefix wa- (checked free). */
.gg{display:inline-block;flex:none;width:20px;height:20px;background:url(/v2/img/wow/ggsicons.webp) no-repeat;background-size:800% 800%;vertical-align:-4px}
.ga{display:inline-block;flex:none;width:40px;height:40px;background:url(/v2/img/wow/ggsachieve.webp) no-repeat;background-size:800% 400%}
.gm{display:inline-block;flex:none;width:44px;height:44px;background:url(/v2/img/wow/ggsmedals.webp) no-repeat;background-size:400% 200%}
.gg-bag{background-position:100.000% 14.286%}
.gg-bell{background-position:14.286% 28.571%}
.gg-binoculars{background-position:71.429% 0.000%}
.gg-chat{background-position:71.429% 14.286%}
.gg-check_off{background-position:71.429% 42.857%}
.gg-check_on{background-position:85.714% 42.857%}
.gg-clipboard{background-position:28.571% 14.286%}
.gg-close{background-position:100.000% 42.857%}
.gg-close_dark{background-position:0.000% 57.143%}
.gg-coins{background-position:85.714% 14.286%}
.gg-crown{background-position:28.571% 57.143%}
.gg-dot_blue{background-position:14.286% 42.857%}
.gg-dot_green{background-position:85.714% 28.571%}
.gg-dot_grey{background-position:28.571% 42.857%}
.gg-dot_red{background-position:0.000% 42.857%}
.gg-dot_yellow{background-position:100.000% 28.571%}
.gg-eye{background-position:42.857% 0.000%}
.gg-fish{background-position:71.429% 57.143%}
.gg-flag{background-position:57.143% 0.000%}
.gg-gear{background-position:14.286% 14.286%}
.gg-gem_orange{background-position:42.857% 42.857%}
.gg-gem_red{background-position:57.143% 42.857%}
.gg-globe{background-position:71.429% 28.571%}
.gg-hammer{background-position:0.000% 14.286%}
.gg-home{background-position:0.000% 0.000%}
.gg-laurel{background-position:57.143% 57.143%}
.gg-list{background-position:85.714% 0.000%}
.gg-people{background-position:57.143% 14.286%}
.gg-pin{background-position:28.571% 28.571%}
.gg-pinred{background-position:42.857% 28.571%}
.gg-search{background-position:42.857% 14.286%}
.gg-shield{background-position:28.571% 0.000%}
.gg-skull{background-position:100.000% 0.000%}
.gg-star{background-position:42.857% 57.143%}
.gg-swords{background-position:14.286% 0.000%}
.gg-target{background-position:57.143% 28.571%}
.gg-trash{background-position:14.286% 57.143%}
.gg-trophy{background-position:85.714% 57.143%}
.gg-wanted{background-position:100.000% 57.143%}
.gg-warning{background-position:0.000% 28.571%}
.ga-alerts{background-position:14.286% 66.667%}
.ga-award_craft{background-position:14.286% 100.000%}
.ga-award_fishing{background-position:28.571% 100.000%}
.ga-award_pve{background-position:100.000% 66.667%}
.ga-award_pvp{background-position:85.714% 66.667%}
.ga-award_quest{background-position:0.000% 100.000%}
.ga-bounty{background-position:85.714% 33.333%}
.ga-chat{background-position:71.429% 33.333%}
.ga-deaths{background-position:100.000% 0.000%}
.ga-diagnostics{background-position:28.571% 33.333%}
.ga-guild{background-position:57.143% 33.333%}
.ga-home{background-position:0.000% 0.000%}
.ga-journal{background-position:85.714% 0.000%}
.ga-last_seen{background-position:42.857% 66.667%}
.ga-map_marker{background-position:28.571% 66.667%}
.ga-materials{background-position:100.000% 33.333%}
.ga-npc_lookout{background-position:57.143% 0.000%}
.ga-protected{background-position:28.571% 0.000%}
.ga-pvp{background-position:14.286% 0.000%}
.ga-search{background-position:42.857% 33.333%}
.ga-settings{background-position:14.286% 33.333%}
.ga-sightings{background-position:71.429% 0.000%}
.ga-target{background-position:57.143% 66.667%}
.ga-trade_skills{background-position:0.000% 33.333%}
.ga-trophy{background-position:42.857% 100.000%}
.ga-warning{background-position:0.000% 66.667%}
.ga-watch{background-position:42.857% 0.000%}
.ga-world_map{background-position:71.429% 66.667%}
.gm-1{background-position:0.000% 0.000%}
.gm-2{background-position:33.333% 0.000%}
.gm-3{background-position:66.667% 0.000%}
.gm-4{background-position:100.000% 0.000%}
.gm-5{background-position:0.000% 100.000%}
.gm-6{background-position:33.333% 100.000%}


/* the gold WoW title (Dan: "addon gold + shield"): anywhere a title badge is drawn */
.title-badge.title-rarity-wow{border-color:#b3772c;color:#f0c46c;background:linear-gradient(180deg,rgba(42,28,8,.92),rgba(22,14,4,.92));gap:4px;padding-left:5px}
.title-badge.title-rarity-wow::before{content:"";width:1.15em;height:1.15em;flex:none;background:url(/v2/img/wow/ggsicons.webp) no-repeat;background-size:800% 800%;background-position:28.571% 0%}
.r-wow{color:#f0c46c;border-color:#7a5a1c}

/* Achievements: the two shelves */
.wa-shelf{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.wa-sh{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 16px 6px 10px;border-radius:14px;border:1px solid var(--line);background:var(--card-2);color:var(--text-2);font:800 14px var(--f-body);cursor:pointer;text-align:left;text-decoration:none}
.wa-sh small{display:block;font:700 12px var(--f-body);color:var(--dim)}
.wa-sh:hover{border-color:var(--orange);color:var(--text)}
.wa-sh.on{border-color:var(--orange);background:#2a1708;color:#fff;box-shadow:inset 0 -3px 0 var(--orange)}
.wa-sh.wow.on{border-color:#e3b05c;box-shadow:inset 0 -3px 0 #e3b05c}
.wa-shi{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#120a05;border:1px solid var(--line);font-size:18px;flex:none}
.wa-shi .gg{width:22px;height:22px}
/* the WoW strip: the round Grump (eyes on) in the addon's gold ring · count · almost there */
.wa-strip{display:grid;grid-template-columns:330px 270px minmax(0,1fr);gap:18px;align-items:center;padding:14px 18px}
.wa-me{display:flex;align-items:center;gap:14px;min-width:0}
.wa-port{position:relative;width:88px;height:88px;flex:none}
.wa-port .bg,.wa-port .rg{position:absolute;inset:0;background:url(/v2/img/wow/ggsportrait.webp) no-repeat;background-size:200% 100%}
.wa-port .bg{background-position:100% 0}
.wa-port .rg{background-position:0 0}
.wa-port .fc{position:absolute;inset:11%;border-radius:50%;background:url(/v2/img/wow/grump_eyes.webp) center/112% no-repeat}
.wa-port .lv{position:absolute;right:-4px;bottom:-2px;min-width:30px;height:30px;padding:0 4px;box-sizing:border-box;border-radius:15px;background:#1a0f05;border:2px solid #e3b05c;color:#ffd98a;font:400 20px/26px var(--f-num);text-align:center}
.wa-meb{display:flex;flex-direction:column;gap:5px;min-width:0;align-items:flex-start}
.wa-meb .lvl{font:400 24px/1 var(--f-head);color:#e3b05c}
.wa-meb small{color:var(--dim);font-size:12px}
.wa-sum{padding-left:18px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:6px;min-width:0}
.wa-big{display:flex;align-items:baseline;gap:6px}.wa-big b{font:400 36px/1 var(--f-head);color:#e3b05c}.wa-big span{font-size:15px;color:var(--dim);font-weight:700}
.wa-bar{position:relative;display:block;height:10px;border-radius:5px;background:#2a180a;overflow:hidden}
.wa-bar > span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#b3772c,#f0c46c)}
.wa-coins{display:flex;align-items:center;gap:6px;font:700 12.5px var(--f-body);color:var(--text-2);flex-wrap:wrap}
.wa-almost{padding-left:18px;border-left:1px solid var(--line);min-width:0;display:flex;flex-direction:column;gap:6px}
.wa-al{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wa-alb{display:grid;grid-template-columns:34px minmax(0,1fr);gap:3px 8px;align-items:center;padding:7px 9px;border-radius:12px;border:1px solid var(--line);background:var(--card-2);color:var(--text);font:inherit;text-align:left;cursor:pointer;min-width:0}
.wa-alb:hover{border-color:#e3b05c}
.wa-alb .ga{width:34px;height:34px;grid-row:span 2;border-radius:7px}
.wa-alb b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-alb .n{font-size:11px;color:var(--yellow);font-weight:700}
.wa-upd{font-size:12px;color:var(--dim);display:flex;gap:4px 12px;flex-wrap:wrap;align-items:center}
.wa-upd b{color:var(--text-2)}
.wa-upd .gg{width:12px;height:12px;vertical-align:-1px}
/* the box */
.wa-box{padding:14px 18px 12px}
.wa-lay{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px}
.wa-side{display:flex;flex-direction:column;gap:2px}
.wa-cat{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 10px 0 6px;border-radius:9px;border:0;background:none;color:var(--text-2);font:700 13px var(--f-body);text-align:left;cursor:pointer}
.wa-cat .ga{width:26px;height:26px;border-radius:6px}
.wa-cat .l{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-cat .cn{font-size:11.5px;color:var(--dim)}
.wa-cat:hover{background:#1c1209;color:var(--text)}
.wa-cat.on{background:#2a1c08;color:#fff;box-shadow:inset 3px 0 0 #e3b05c}
.wa-gsel{display:none}
.wa-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px;align-content:start;min-height:560px}
.wa-row{border-radius:12px;background:var(--card-2);border:1px solid var(--line);min-width:0;align-self:start;scroll-margin-top:100px}
.wa-row.earned{border-color:#5a4214;background:linear-gradient(90deg,rgba(227,176,92,.12),var(--card-2) 45%)}
.wa-row.sec{border-style:dashed;border-color:#6a4cb0;background:repeating-linear-gradient(135deg,#130b1c 0 8px,#160d20 8px 16px)}
.wa-row.open{grid-column:1/-1;border-color:#e3b05c;box-shadow:0 0 0 3px rgba(227,176,92,.14)}
.wa-rh{display:flex;align-items:center;gap:11px;width:100%;padding:8px 12px 8px 8px;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer;min-height:58px;border-radius:12px}
.wa-ic{position:relative;width:42px;height:42px;flex:none;border-radius:9px;border:2px solid;box-sizing:border-box;overflow:hidden;background:#0d0804;display:grid;place-items:center}
.wa-ic .ga{width:38px;height:38px}
.wa-ic.t1{border-color:#9e6633}.wa-ic.t2{border-color:#b3b8c2}.wa-ic.t3{border-color:#edba68}
.wa-ic.sec{border-color:#6a4cb0;color:#c7a2ff;font:800 18px var(--f-body)}
.wa-row:not(.earned) .wa-ic .ga{opacity:.55}
.wa-row.earned .wa-ic.t3{box-shadow:0 0 10px rgba(237,186,104,.35)}
.wa-rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wa-rt b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-rt span{font-size:12px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-mini{display:flex;align-items:center;gap:6px;width:110px;flex:none;font:700 11.5px var(--f-body);color:var(--text-2)}
.wa-mini .wa-bar{flex:1;height:6px}
.wa-tick{width:24px;height:24px;flex:none;display:grid;place-items:center}
.wa-tick .gg{width:22px;height:22px}
.wa-tier{font:800 10px var(--f-body);letter-spacing:.08em;padding:2px 6px;border-radius:5px;flex:none}
.wa-tier.t1{color:#e7a56a;background:#2a1606}.wa-tier.t2{color:#d6dae2;background:#1e2026}.wa-tier.t3{color:#ffd98a;background:#2e2006}
.wa-coin{display:flex;align-items:center;gap:4px;min-width:50px;justify-content:flex-end;font:400 19px var(--f-num);color:#ffd23f;flex:none}
.wa-row:not(.earned) .wa-coin{color:var(--dim)}
.wa-det{padding:2px 14px 14px 64px;display:flex;flex-direction:column;gap:9px;font-size:13.5px}
.wa-got{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#a6f0c0;font-weight:700}
.wa-got .gg{width:18px;height:18px}
.wa-facts{display:flex;gap:6px 16px;flex-wrap:wrap;color:var(--text-2);font-size:12.5px;align-items:center}
.wa-facts b{color:var(--text)}
.wa-acts{display:flex;gap:8px;flex-wrap:wrap}
.wa-gray .wa-row{filter:grayscale(1);opacity:.55}
.wa-conn{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 20px;border-radius:16px;border:1px solid #5a4214;background:linear-gradient(90deg,#24170a,#120b05)}
.wa-conn .gm{width:64px;height:64px}
.wa-conn h3{margin:0 0 4px;font:400 20px var(--f-head);color:#e3b05c}
.wa-conn p{margin:0;color:var(--text-2);font-size:13.5px;line-height:1.45}
.wa-steps{display:flex;gap:6px 14px;margin-top:8px;flex-wrap:wrap;font-size:12.5px;color:var(--dim)}
.wa-steps b{color:#ffd98a}
.wa-btn{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #e3b05c;background:linear-gradient(180deg,#f0c46c,#b3772c);color:#1a0d02;font:800 14px var(--f-body);cursor:pointer;white-space:nowrap;text-decoration:none}
.wa-btn:hover{filter:brightness(1.08)}
.wa-btn.sec{background:#1a1108;color:#ffd98a}
.wa-btn.sm{min-height:36px;font-size:13px;padding:0 12px}
.wa-btn .gg{width:18px;height:18px}
.wa-msg{font-size:12.5px;font-weight:700;color:#a6f0c0}.wa-msg.err{color:#ff8a8a}
.wa-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--dim);flex-wrap:wrap}
.wa-pages{display:flex;gap:6px;flex-wrap:wrap}
.wa-pages button{height:34px;min-width:40px;border-radius:9px;border:1px solid var(--line);background:#140d06;color:var(--text-2);font:700 12.5px var(--f-body);cursor:pointer}
.wa-pages button.on{background:#e3b05c;color:#1a0d02;border-color:#e3b05c}
.wa-sw{width:44px;height:26px;border-radius:999px;background:#3a220c;border:0;position:relative;cursor:pointer;flex:none}
.wa-sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#bbb;transition:left .15s}
.wa-sw.on{background:#e3b05c}.wa-sw.on::after{left:21px;background:#1a0d02}
.wa-set{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:#140c05;border:1px solid #2c1c08}
.wa-set > div{flex:1;min-width:0}.wa-set > div > b{display:block;font-size:14px}.wa-set small{color:var(--dim);font-size:12px;line-height:1.4;display:block}
.wa-dlg{position:fixed;inset:0;z-index:300;display:grid;place-items:center;background:rgba(0,0,0,.6);padding:16px}
.wa-dlgb{max-width:440px;border-radius:16px;border:1px solid #5a4214;background:#170e06;box-shadow:0 20px 60px #000c;padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.wa-dlgb h3{margin:0;font:400 19px var(--f-head);color:#fff}
.wa-dlgb p{margin:0;font-size:13.5px;color:var(--text-2);line-height:1.45}
/* profile + compare + shelf */
.wa-pcount{display:inline-flex;align-items:center;gap:5px;font-weight:700}
.wa-pcount .gg{width:15px;height:15px}
.wa-trophy .wa-ic{width:46px;height:46px}.wa-trophy .wa-ic .ga{width:42px;height:42px}
/* narrower screens */
@media (max-width:1100px){
  .wa-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .wa-almost{grid-column:1/-1;padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:10px}
}
@media (max-width:760px){
  .wa-strip{grid-template-columns:minmax(0,1fr);padding:12px}
  .wa-sum{padding-left:0;border-left:0}
  .wa-al{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wa-lay{grid-template-columns:minmax(0,1fr)}
  .wa-side{display:none}.wa-gsel{display:block}
  .wa-list{grid-template-columns:minmax(0,1fr);min-height:0}
  .wa-mini{width:70px}
  .wa-tier{display:none}
  .wa-det{padding-left:14px}
  .wa-conn{grid-template-columns:minmax(0,1fr)}
  .wa-conn .gm{display:none}
  .wa-port{width:64px;height:64px}.wa-port .lv{min-width:24px;height:24px;font:400 16px/20px var(--f-num)}
  .wa-sh{flex:1;min-height:46px;font-size:12.5px;padding:6px 10px}
}
/* Grumpy By Nature with the addon's own icons (0.21.0) */
.gb-crest.wcrest{border:0;border-radius:0;background:url(/v2/img/wow/crest.webp) center/contain no-repeat;font-size:0;width:58px;height:58px}
.gb-crest.wcrest.big{width:72px;height:72px}
.gb-tab .gg{width:20px;height:20px}
.gb-tab.on .gg{filter:brightness(.55) saturate(1.2)}
.gb-box h2 .gg{width:22px;height:22px}
.gb-crown .ic .gm{width:34px;height:34px;display:block;margin:auto}
.gb-crown .ic .gg{width:22px;height:22px}
.gb-chip .gg{width:18px;height:18px;margin-right:2px}
.gb-lst{display:inline-flex;align-items:center;gap:4px}
.gb-lst .gg{width:15px;height:15px}
.gb-gear .gg{width:20px;height:20px}
.gb-note .gg,.ca-line .gg{width:17px;height:17px;vertical-align:-3px}
.cm-tab .gg{width:18px;height:18px;vertical-align:-3px}
.gb-tbl td .gg{width:18px;height:18px}
.lk-wmatch{margin:0 0 10px}
@media (max-width:760px){ .gb-banner .gb-crest.wcrest.big{width:52px;height:52px} }
.gb-ptag .gg{width:16px;height:16px;vertical-align:-3px}
.cgoal-i .gg{width:24px;height:24px}
.cm-fine .gg{width:15px;height:15px;vertical-align:-3px}
