@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');
*{box-sizing:border-box}body{margin:0;background:#f6f5eb;color:#193d31;font-family:'DM Sans',Arial,sans-serif}.ach-header{height:72px;background:#fff;border-bottom:1px solid #e1e8de;padding:0 6%;display:flex;align-items:center;justify-content:space-between;gap:20px}.ach-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:#193d31;font-weight:700;letter-spacing:1px}.ach-brand img{width:42px;height:42px}.ach-brand span span,.ach-hero h1 span{color:#d98751}.ach-back{font-size:13px;font-weight:700;color:#245840;text-decoration:none}.ach-back:hover{text-decoration:underline}.ach-back:focus-visible{outline:3px solid #d98751;outline-offset:4px}.ach-main{max-width:1210px;margin:auto;padding:50px 5% 80px}.ach-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e7f0e3;border:1px solid #d7e7d4;border-radius:10px;padding:32px 38px}.ach-kicker{margin:0;color:#bb7a51;font-size:10px;font-weight:700;letter-spacing:1.7px}.ach-hero h1{margin:9px 0;font:700 clamp(31px,4vw,45px) 'Playfair Display',Georgia,serif;letter-spacing:-1px}.ach-hero p:last-child{font-size:14px;line-height:1.6;color:#6b8371;margin:0;max-width:530px}.ach-emblem{flex:none;width:100px;height:100px;display:flex;align-items:center;justify-content:center;border:3px solid #dfb57e;border-radius:50%;background:#f9f6e8;box-shadow:0 0 0 9px #dce8d7;color:#b97e4b;position:relative}.ach-emblem span{position:absolute;top:12px;font-size:20px}.ach-emblem b{font:700 25px Georgia,serif;margin-top:17px}.ach-status{margin-top:20px;font-size:13px;line-height:1.55}.ach-status:empty{display:none}.ach-status.is-notice{background:#fff;border:1px solid #dfe9dc;padding:15px 18px;border-radius:7px;color:#597461}.ach-status a,.ach-status button{color:#245840;font-weight:700}.ach-status button{border:0;background:none;text-decoration:underline;cursor:pointer;font:inherit}.ach-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 42px}.ach-summary article{background:#fff;border:1px solid #e1e9de;border-radius:8px;padding:18px 20px}.ach-summary span{display:block;color:#7b9280;text-transform:uppercase;font-size:9px;letter-spacing:1px;font-weight:700}.ach-summary strong{display:block;margin:7px 0 3px;font:700 27px Georgia,serif;color:#245840}.ach-summary small{font-size:11px;color:#859889}.ach-section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:16px}.ach-section-heading h2{font:700 26px Georgia,serif;margin:5px 0 0}.ach-section-heading>span{font-size:12px;font-weight:700;color:#79917c}.ach-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ach-card{min-width:0;background:#fff;border:1px solid #e1e9de;border-radius:8px;padding:18px;display:flex;gap:14px;align-items:start}.ach-card.is-unlocked{border-color:#bed8b8;background:#fcfefb}.ach-icon{width:47px;height:47px;display:grid;place-items:center;flex:none;border-radius:12px;background:#eef3ea;color:#9aab98;font-size:23px}.ach-card.is-unlocked .ach-icon{background:#f6e9ce;color:#b67b38}.ach-content{flex:1;min-width:0}.ach-card h3{font-size:14px;line-height:1.3;margin:1px 0 5px;color:#294c37}.ach-card p{font-size:11px;line-height:1.5;color:#7a8f7f;margin:0 0 10px}.ach-progress-line{height:5px;background:#eaf0e8;border-radius:10px;overflow:hidden}.ach-progress-line i{display:block;height:100%;border-radius:10px;background:#68a36d}.ach-progress-label{display:flex;justify-content:space-between;gap:8px;margin-top:6px;font-size:10px;color:#819381}.ach-card.is-unlocked .ach-progress-label{color:#5c9162}.ach-reward{display:inline-block;margin-top:8px;font-size:9px;font-weight:700;color:#b0784d}.ach-footnote{max-width:800px;color:#879889;font-size:11px;line-height:1.7;margin-top:30px}@media(max-width:800px){.ach-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.ach-header{height:62px;padding:0 5%}.ach-brand img{width:34px;height:34px}.ach-brand{font-size:12px}.ach-back{font-size:11px}.ach-main{padding:25px 5% 50px}.ach-hero{padding:24px 20px}.ach-emblem{width:60px;height:60px;box-shadow:0 0 0 5px #dce8d7}.ach-emblem span{font-size:13px;top:7px}.ach-emblem b{font-size:17px;margin-top:11px}.ach-hero p:last-child{font-size:12px}.ach-summary{gap:7px;margin-bottom:30px}.ach-summary article{padding:13px 10px}.ach-summary strong{font-size:22px}.ach-summary span{font-size:8px}.ach-summary small{font-size:9px}.ach-grid{grid-template-columns:1fr}.ach-card{padding:15px}}
/* A clear completed state stands out without relying on color alone. */
.ach-card.is-unlocked{position:relative;border:2px solid #6ca274;background:#f0f8ed;box-shadow:0 3px 12px #28563c18}
.ach-card.is-unlocked .ach-progress-line{background:#d5e9d1;height:7px}.ach-card.is-unlocked .ach-progress-line i{background:#36814d}
.ach-card .ach-done-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:20px;background:#d7ecd3;color:#245f36;font-size:10px;font-weight:700;line-height:1.2}
.ach-card .ach-done-badge::before{content:'✓';font-size:12px;font-weight:700}

.ach-locked-label{display:inline-flex;align-items:center;gap:4px;font-weight:700;color:#718a75}.ach-locked-label svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.ach-signin{display:block;margin:-24px 0 40px;padding:13px 21px;min-height:48px;border:0;border-radius:8px;background:#245840;color:#fff;font:700 14px 'DM Sans',Arial,sans-serif;cursor:pointer}.ach-signin[hidden]{display:none}.ach-signin:hover{background:#193d31}.ach-signin:focus-visible{outline:3px solid #d98751;outline-offset:3px}@media(max-width:540px){.ach-signin{margin:-14px 0 30px;width:100%}}

/* The trophy-room emblem reflects completed achievements across every category. */
@property --progress{syntax:'<percentage>';inherits:false;initial-value:0%}
.ach-emblem{--progress:0%;padding:5px;border:0;background:conic-gradient(#bf804d var(--progress),#d5e5d1 0);transition:--progress .45s ease;box-shadow:0 0 0 7px #dce8d7}
.ach-emblem-inner{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#faf7eb;text-align:center;line-height:1.1}
.ach-emblem-inner strong{color:#a96c3c;font:700 22px Georgia,serif;white-space:nowrap}.ach-emblem-inner small{margin-top:4px;color:#7b937e;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
@media(max-width:540px){.ach-emblem{width:68px;height:68px;padding:4px;box-shadow:0 0 0 4px #dce8d7}.ach-emblem-inner strong{font-size:14px}.ach-emblem-inner small{font-size:7px;letter-spacing:0}}
@media(prefers-reduced-motion:reduce){.ach-emblem{transition:none}}
/* Ranked awards have their own collection, alongside daily achievements. */
.ranked-collection,.solo-collection{margin:34px 0 0;padding:30px;border:1px solid #d9e7d5;border-radius:16px;background:#fbfcf7}.ranked-collection .ach-section-heading,.solo-collection .ach-section-heading{margin-top:0}.ranked-collection .ach-section-heading p:not(.ach-kicker),.solo-collection .ach-section-heading p:not(.ach-kicker){margin:5px 0;color:#6b8172;font-size:14px;line-height:1.5}.ranked-collection #ranked-ach-count,.solo-collection #ach-count{white-space:nowrap}
@media(max-width:600px){.ranked-collection,.solo-collection{padding:20px}.ranked-collection .ach-section-heading,.solo-collection .ach-section-heading{gap:12px}}

/* Loading placeholders hold the shape of the real collections. */
.ach-skeleton-card{display:grid;align-content:center;gap:12px;min-height:130px;padding:22px;border:1px solid #dce9d8;border-radius:12px;background:#f2f7ee}.ach-skeleton-card i,.ach-skeleton-count{display:block;border-radius:5px;background:#dce9d8}.ach-skeleton-card i{height:12px}.ach-skeleton-card i:nth-child(1){width:45%;height:18px}.ach-skeleton-card i:nth-child(2){width:85%}.ach-skeleton-card i:nth-child(3){width:65%}.ach-skeleton-count{width:66px;height:16px}.ach-emblem-inner strong.ach-loading-count{font:700 11px/1.2 Arial,sans-serif;white-space:normal;max-width:85px}.ach-status button,.daily-ach-note button{margin-left:8px;padding:8px 13px;border:1px solid #b9d0b6;border-radius:6px;background:#fff;color:#245840;font-weight:700;cursor:pointer}

/* Achievement descriptions and progress are game information, not decoration. */
.ach-card p{font-size:14px;line-height:1.5;color:#4b6652}.ach-progress-label{font-size:12px;color:#48674e}.ach-card.is-unlocked .ach-progress-label{color:#396a42}.ach-reward{font-size:12px;color:#80502c}.ach-footnote{font-size:13px;color:#4c6653}.ach-summary span{font-size:11px;color:#506c56}.ach-summary small{font-size:12px;color:#526d59}.ach-kicker{font-size:11px;color:#925329}.ach-hero p:last-child,.ranked-collection .ach-section-heading p:not(.ach-kicker),.solo-collection .ach-section-heading p:not(.ach-kicker){font-size:14px;color:#4c6653}.ach-section-heading>span{font-size:13px;color:#4d6b52}
/* Fragment navigation and keyboard focus share a quiet, visible collection ring. */
#daily-achievements:focus{outline:2px solid #67956d;outline-offset:3px}

/* Each collection stays compact until its native, keyboard-accessible disclosure opens. */
.ach-collection-disclosure>summary{position:relative;display:block;list-style:none;cursor:pointer;padding:2px 46px 2px 0;border-radius:6px}
.ach-collection-disclosure>summary::-webkit-details-marker{display:none}
.ach-collection-disclosure>summary::after{content:"";position:absolute;right:7px;top:50%;width:10px;height:10px;border-right:2px solid #427052;border-bottom:2px solid #427052;transform:translateY(-70%) rotate(45deg);transition:transform .18s ease}
.ach-collection-disclosure[open]>summary::after{transform:translateY(-25%) rotate(225deg)}
.ach-collection-disclosure>summary:hover h2{color:#36764a}
.ach-collection-disclosure>summary:focus-visible{outline:3px solid #d98751;outline-offset:5px}
.ach-collection-disclosure>summary .ach-section-heading{margin-bottom:0}
.ach-collection-disclosure[open]>summary{margin-bottom:16px}
#solo-achievements:focus,#ranked-achievements:focus,#fill-achievements:focus{outline:2px solid #67956d;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ach-collection-disclosure>summary::after{transition:none}}

/* Match earned counts across all four achievement collections. */
#daily-achievements .daily-ach-count,#fill-achievements .fill-ach-count{font:700 13px 'DM Sans',Arial,sans-serif;color:#4d6b52;white-space:nowrap}
