/* Ref21: separate gold slices, button states, leather and five independent trophy images. */
html body.pc-redesign #app .r129-achievements{height:var(--gp124-height,calc(100dvh - 140px))!important;max-height:var(--gp124-height,calc(100dvh - 140px))!important;min-height:0!important;display:flex!important;flex-direction:column;padding:6px!important;gap:7px;box-sizing:border-box;overflow:hidden;color:#f3dfaf;font:14px Georgia,serif}
html body.pc-redesign #app .r129-achievements *{box-sizing:border-box;min-width:0}
html body.pc-redesign #app .r129-achievements .smith-button-skin{display:none!important}
html body.pc-redesign #app .r129-achievements button{border:1px solid transparent!important;border-image:url('assets/round2-crafting/frames/button-normal.png') 80 110 / 10px 13.75px / 0 stretch!important;border-radius:0!important;background:#2c1c10 url('assets/round2-crafting/73-craft-leather-tile-v1.png') center/180px!important;box-shadow:none!important;color:#fff0c3!important;font:14px Georgia,serif;min-height:34px;padding:7px 10px;cursor:pointer}
html body.pc-redesign #app .r129-achievements button:is(:hover,:focus-visible,[aria-pressed=true]){border-image-source:url('assets/round2-crafting/frames/button-hover.png')!important;background-color:#634019!important}
html body.pc-redesign #app .r129-achievements button:active{border-image-source:url('assets/round2-crafting/frames/button-pressed.png')!important}
html body.pc-redesign #app .r129-achievements button:disabled{border-image-source:url('assets/round2-crafting/frames/button-disabled.png')!important;color:#bab19a!important;cursor:default}
html body.pc-redesign #app .r129-achievements>.r129-ach-header{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px!important;flex:none;background:#2b1d11 linear-gradient(#120e09b8,#120e09b8) center/cover;background-image:linear-gradient(#120e09b8,#120e09b8),url('assets/pc-v124/ui/hall-header.webp');background-position:center 35%;background-size:cover}
html body.pc-redesign #app .r129-achievements>.r129-ach-header h1{font:700 clamp(21px,2vw,31px)/1.1 Georgia;margin:0;color:#f3d391}
html body.pc-redesign #app .r129-ach-header>nav{display:flex;gap:5px}
html body.pc-redesign #app .r129-achievements>.gp124-mobile-tabs{display:none!important}
html body.pc-redesign #app .r129-achievements>.gp124-columns{display:grid!important;grid-template-columns:minmax(0,.75fr) minmax(0,1.65fr) minmax(0,1fr)!important;flex:1;min-height:0;gap:8px}
html body.pc-redesign #app .r129-achievements .gp124-columns>section{display:flex!important;flex-direction:column;min-height:0;gap:8px;padding:12px!important;overflow:hidden;border:1px solid transparent!important;border-image:url('assets/round2-crafting/frames/city-card.png') 120 / 12px / 0 stretch!important;background:#141714 url('assets/round2-crafting/28-work-panel-backing-v1.png') center/cover!important}
html body.pc-redesign #app .r129-achievements :is(h2,h3){margin:0;color:#efd18e;font:700 22px/1.15 Georgia}
html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav{display:grid;gap:7px;flex:none}
html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav>button{display:flex;align-items:center;gap:8px;text-align:left;min-height:48px}
html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav img{width:34px;height:34px;object-fit:contain}
html body.pc-redesign #app .r129-achievements .r129-ach-category-art{flex:1;min-height:25px;position:relative}
html body.pc-redesign #app .r129-achievements .r129-ach-category-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html body.pc-redesign #app .r129-achievements .gp124-ach-total{display:flex;flex-direction:column;gap:5px;flex:none;padding:6px;border-top:1px solid #97783c;font-size:13px}
html body.pc-redesign #app .r129-achievements .gp124-ach-total small{font-size:11px}
html body.pc-redesign #app .r129-achievements progress{appearance:none;width:100%;height:10px;border:1px solid #a48040;border-radius:3px;background:#12100d;accent-color:#e8ad34;flex:none}
html body.pc-redesign #app .r129-achievements progress::-webkit-progress-bar{background:#17130e;border-radius:3px}
html body.pc-redesign #app .r129-achievements progress::-webkit-progress-value{background:linear-gradient(#ffe19b,#b97716);border-radius:2px}
html body.pc-redesign #app .r129-achievements .gp124-ach-list>header{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none}
html body.pc-redesign #app .r129-achievements select{max-width:55%;min-height:32px;padding:5px;border:1px solid #9b793b;background:#17120e;color:#f3dfaf;font:13px Georgia}
html body.pc-redesign #app .r129-achievements .gp124-ach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;flex:1;min-height:0;overflow:hidden}
html body.pc-redesign #app .r129-achievements .gp124-ach-grid>.r129-ach-card{display:flex;align-items:center;gap:8px;padding:10px!important;min-height:0!important;overflow:hidden;border-image:url('assets/round2-crafting/frames/city-card.png') 120 / 10px / 0 stretch!important;background:#141714 url('assets/round2-crafting/28-work-panel-backing-v1.png') center/cover!important}
html body.pc-redesign #app .r129-achievements .r129-ach-card[aria-pressed=true]{outline:2px solid #f7ce6d;outline-offset:-3px}
html body.pc-redesign #app .r129-achievements .r129-ach-card>.smith-button-label{display:flex!important;flex-direction:row!important;gap:8px;align-items:center;width:100%;height:100%;min-height:0;padding:0!important}
html body.pc-redesign #app .r129-achievements .r129-ach-card img{width:38%!important;height:100%!important;min-height:0;object-fit:contain;flex:none}
html body.pc-redesign #app .r129-achievements .r129-ach-card>span:not(.smith-button-label):not(.smith-button-skin),html body.pc-redesign #app .r129-achievements .r129-ach-card .smith-button-label>span{display:flex;flex-direction:column;gap:6px;min-width:0;text-align:left;flex:1;font-size:13px}
html body.pc-redesign #app .r129-achievements .r129-ach-card strong{font:700 16px/1.15 Georgia;overflow-wrap:anywhere}
html body.pc-redesign #app .r129-achievements .r129-ach-card small{font-size:11px;line-height:1.2}
html body.pc-redesign #app .r129-achievements .r129-ach-state{color:#c4b69b}
html body.pc-redesign #app .r129-achievements :is([data-state=pending] .r129-ach-state,.r129-ach-state[data-state=pending]){color:#ffda8b}
html body.pc-redesign #app .r129-achievements :is([data-state=claimed] .r129-ach-state,.r129-ach-state[data-state=claimed]){color:#b8d194}
html body.pc-redesign #app .r129-achievements .r129-ach-pagination{display:flex;justify-content:space-between;align-items:center;gap:5px;flex:none}
html body.pc-redesign #app .r129-achievements .r129-ach-empty{grid-column:1/-1;grid-row:1/-1;align-self:center;line-height:1.5;text-align:center}
html body.pc-redesign #app .r129-achievements .gp124-ach-detail>header{flex:none}
html body.pc-redesign #app .r129-achievements .gp124-ach-detail>header small{font-size:12px;display:block;margin-top:5px}
html body.pc-redesign #app .r129-achievements .gp124-ach-trophy{flex:1;min-height:35px;position:relative;overflow:hidden}
html body.pc-redesign #app .r129-achievements .gp124-ach-trophy>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html body.pc-redesign #app .r129-achievements .r129-ach-description{flex:none;font-size:13px;line-height:1.35;margin:0}
html body.pc-redesign #app .r129-achievements .r129-ach-reward{flex:none;padding:9px;border:1px solid #97783c;background:#14120c}
html body.pc-redesign #app .r129-achievements .r129-ach-reward h3{font-size:18px;margin-bottom:5px}
html body.pc-redesign #app .r129-achievements .r129-ach-reward>strong{display:flex;align-items:center;gap:7px}
html body.pc-redesign #app .r129-achievements .r129-ach-reward img{width:28px;height:28px;object-fit:contain}
html body.pc-redesign #app .r129-achievements .r129-ach-reward b{margin-left:auto;color:#efcc77}
html body.pc-redesign #app .r129-achievements .r129-ach-reward small{display:block;font-size:11px;line-height:1.3;margin-top:5px}
html body.pc-redesign #app .r129-achievements .r129-ach-footnote{font-size:10px;line-height:1.3;flex:none}
html body.pc-redesign #app .r129-achievements .gp124-ach-detail>button{flex:none;width:100%;min-height:40px}
@media(max-width:1100px){
 html body.pc-redesign[data-layout=sidebar]:has(.r129-achievements) .layout-footer{display:none!important}
 html body.pc-redesign[data-layout=sidebar]:has(.r129-achievements) #app{grid-template-rows:62px minmax(0,1fr) 0!important}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header{display:block!important;padding:5px!important}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header h1{font-size:23px;margin-bottom:5px}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header>nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header button{font-size:12px;padding:4px!important}
 html body.pc-redesign #app .r129-achievements>.gp124-mobile-tabs{display:flex!important;gap:4px;flex:none;margin:0}
 html body.pc-redesign #app .r129-achievements>.gp124-mobile-tabs>button{flex:1;padding:4px!important;font-size:12px}
 html body.pc-redesign #app .r129-achievements>.gp124-columns{display:block!important}
 html body.pc-redesign #app .r129-achievements .gp124-columns>section{display:none!important;height:100%;padding:9px!important}
 html body.pc-redesign #app .r129-achievements[data-pane="0"] .gp124-ach-categories,html body.pc-redesign #app .r129-achievements[data-pane="1"] .gp124-ach-list,html body.pc-redesign #app .r129-achievements[data-pane="2"] .gp124-ach-detail{display:flex!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.pc-redesign #app .r129-achievements .r129-ach-category-art{max-height:45%}
}
@media(max-height:700px){
 html body.pc-redesign #app .r129-achievements .gp124-ach-grid{grid-template-rows:repeat(2,minmax(0,1fr))}
 html body.pc-redesign #app .r129-achievements .r129-ach-card{gap:5px!important;padding:6px!important}
 html body.pc-redesign #app .r129-achievements .r129-ach-card strong{font-size:13px}
 html body.pc-redesign #app .r129-achievements .r129-ach-card img{width:30%!important}
 html body.pc-redesign #app .r129-achievements .r129-ach-card>span{gap:4px}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail{gap:5px!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail h2{font-size:20px}
 html body.pc-redesign #app .r129-achievements .r129-ach-reward{padding:6px}
 html body.pc-redesign #app .r129-achievements .r129-ach-reward h3{font-size:15px}
}
@media(max-width:600px) and (max-height:700px){
 html body.pc-redesign #app .r129-achievements .r129-ach-card>.smith-button-label{flex-direction:column!important;gap:3px;justify-content:center}
 html body.pc-redesign #app .r129-achievements .r129-ach-card img{height:24px!important;width:40px!important}
 html body.pc-redesign #app .r129-achievements .r129-ach-card .smith-button-label>span{flex:none;gap:3px;width:100%;text-align:center}
 html body.pc-redesign #app .r129-achievements .r129-ach-card strong{font:700 12px/1.1 Georgia!important;overflow-wrap:normal}
 html body.pc-redesign #app .r129-achievements .r129-ach-card small{font-size:10px}
 html body.pc-redesign #app .r129-achievements .r129-ach-card progress{height:8px}
 html body.pc-redesign #app .r129-achievements[data-pane="2"] .gp124-ach-detail{display:grid!important;grid-template-columns:minmax(0,.35fr) minmax(0,.65fr);grid-template-rows:auto minmax(35px,1fr) auto auto auto;gap:5px!important;padding:7px!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>header{grid-column:1/3}
 html body.pc-redesign #app .r129-achievements .gp124-ach-trophy{grid-column:1;grid-row:2/4}
 html body.pc-redesign #app .r129-achievements .r129-ach-description{grid-column:2;grid-row:2;font-size:12px;line-height:1.3}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>.gp124-ach-total{grid-column:2;grid-row:3;font-size:12px;padding:4px}
 html body.pc-redesign #app .r129-achievements .r129-ach-reward{grid-column:1/3;grid-row:4}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>button{grid-column:1/3;grid-row:5;min-height:34px}
 html body.pc-redesign #app .r129-achievements .r129-ach-footnote{display:none}
}
@media(max-height:460px){
 html body.pc-redesign[data-layout=sidebar]:has(.r129-achievements) #app{grid-template-rows:46px minmax(0,1fr) 0!important}
 html body.pc-redesign #app .r129-achievements{gap:4px!important;padding:4px!important}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header{display:flex!important;padding:0!important}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header h1{font-size:17px;margin:0}
 html body.pc-redesign #app .r129-achievements>.r129-ach-header>nav{width:65%}
 html body.pc-redesign #app .r129-achievements button{font-size:11px!important;min-height:28px!important;padding:4px!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
 html body.pc-redesign #app .r129-achievements .gp124-ach-list>header h2{font-size:18px}
 html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav>button{min-height:38px!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-categories>nav img{width:25px;height:25px}
 html body.pc-redesign #app .r129-achievements .r129-ach-category-art{display:none}
 html body.pc-redesign #app .r129-achievements[data-pane="2"] .gp124-ach-detail{display:grid!important;grid-template-columns:minmax(0,.65fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:5px!important;padding:6px!important}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>header{grid-column:1/4}
 html body.pc-redesign #app .r129-achievements .gp124-ach-trophy{grid-column:1;grid-row:2/5}
 html body.pc-redesign #app .r129-achievements .r129-ach-description{grid-column:2;grid-row:2;font-size:11px}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>.gp124-ach-total{grid-column:2;grid-row:3/5;padding:3px}
 html body.pc-redesign #app .r129-achievements .r129-ach-reward{grid-column:3;grid-row:2/4;padding:4px}
 html body.pc-redesign #app .r129-achievements .gp124-ach-detail>button{grid-column:3;grid-row:4}
 html body.pc-redesign #app .r129-achievements .r129-ach-footnote{display:none}
}
