.avatar.emblem{--emblem-ink:#bde596;--emblem-weapon-ink:#bde596;--emblem-base:#203128;--emblem-mid:#294537;--emblem-glow:#749a7a;color:var(--emblem-ink);background:var(--emblem-base);overflow:hidden;flex-shrink:0;border:1px solid #ffffff24;box-shadow:inset 0 0 20px #0003;display:inline-flex;align-items:center;justify-content:center}
.emblem svg{display:block;width:92%;height:92%}
.emblem.epic{width:140px;height:140px;border-radius:26px}
.emblem.emblem-color-pink{--emblem-ink:#ff78ba}
.emblem.emblem-color-gold{--emblem-ink:#f5cd78}
.emblem.emblem-color-sky{--emblem-ink:#83d9f5}
.emblem.emblem-color-violet{--emblem-ink:#c3a0ff}
.emblem.emblem-background-color-pink{--emblem-base:#3b2035;--emblem-mid:#623551;--emblem-glow:#ba769c}
.emblem.emblem-background-color-gold{--emblem-base:#362b1d;--emblem-mid:#61502e;--emblem-glow:#b79c63}
.emblem.emblem-background-color-sky{--emblem-base:#19313d;--emblem-mid:#2e5366;--emblem-glow:#73a9be}
.emblem.emblem-background-color-violet{--emblem-base:#302240;--emblem-mid:#52406d;--emblem-glow:#9f85c2}
.emblem.emblem-weapon-color-mint{--emblem-weapon-ink:#bde596}
.emblem.emblem-weapon-color-pink{--emblem-weapon-ink:#ff78ba}
.emblem.emblem-weapon-color-gold{--emblem-weapon-ink:#f5cd78}
.emblem.emblem-weapon-color-sky{--emblem-weapon-ink:#83d9f5}
.emblem.emblem-weapon-color-violet{--emblem-weapon-ink:#c3a0ff}
.emblem .emblem-frame{color:var(--emblem-glow);stroke:currentColor;fill:currentColor;stroke-width:2}
.emblem .emblem-accessory{color:var(--emblem-weapon-ink);stroke:currentColor}
.emblem-bg-forest{background:linear-gradient(135deg,var(--emblem-base),color-mix(in srgb,var(--emblem-mid) 50%,var(--emblem-base)))!important}
.emblem-bg-moonwater{background:radial-gradient(circle at 70% 20%,color-mix(in srgb,var(--emblem-glow) 40%,var(--emblem-base)),var(--emblem-mid) 40%,var(--emblem-base))!important}
.emblem-bg-aurora{background:linear-gradient(125deg,var(--emblem-base),color-mix(in srgb,var(--emblem-glow) 40%,var(--emblem-base)),var(--emblem-mid))!important}
.emblem-bg-embers{background:radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--emblem-glow) 40%,var(--emblem-base)),var(--emblem-mid) 60%,var(--emblem-base))!important}
.emblem-symbol,.emblem-accessory{display:none}.emblem-icon-shield .symbol-shield,.emblem-icon-mountain .symbol-mountain,.emblem-icon-flame .symbol-flame,.emblem-icon-owl .symbol-owl,.emblem-weapon-sword .weapon-sword,.emblem-weapon-bow .weapon-bow,.emblem-weapon-banner .weapon-banner{display:initial}.progression-tracks{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.progression-tracks .panel{margin:0}.progression-tracks strong{display:block;font-size:1.7rem;margin:10px 0}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.achievement-card{border:1px solid var(--line,#34413c);border-radius:12px;padding:18px;background:#111b17}.achievement-card h3{margin:8px 0}.achievement-card p{font-size:.88rem;margin:8px 0}.achievement-card.is-locked{background:#14191a}.achievement-card.is-unlocked{border-color:#86bd7066;background:linear-gradient(135deg,#263c2966,#14201c)}.achievement-progress{height:5px;background:#ffffff12;border-radius:10px;overflow:hidden;margin:12px 0}.achievement-progress span{display:block;height:100%;background:#d799e5}.profile-identity>.emblem{margin-bottom:16px}.review-classification{display:grid;grid-template-columns:1fr 130px;gap:12px}.discord-setup-notice{margin-bottom:20px}.share-discord-option{margin:22px 0;padding:18px;border:1px solid #5865f255;border-radius:12px;background:#5865f20a}.share-discord-option label{font-weight:600}.share-discord-option p{font-size:.85rem;margin:8px 0 0}.achievement-reward{color:#d6b5ed}.progression-note{font-size:.9rem}.import-issue{padding:12px 0;border-top:1px solid #ffffff18}.import-issue p{margin:5px 0}@media(max-width:650px){.progression-tracks{grid-template-columns:1fr}.review-classification{grid-template-columns:1fr}.emblem.epic{width:120px;height:120px}}

/* A single layered preview and visible, keyboard-accessible cosmetic choices. */
.emblem-studio{text-align:left;margin:24px 0}
.emblem-studio .section-heading p{color:var(--muted);margin-bottom:0}
.profile-identity.emblem-studio form{max-width:none;margin:0}
.emblem-editor-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.emblem-preview-column{position:sticky;top:20px;align-self:start}
.emblem-preview{text-align:center;padding:24px 12px;background:#101916;border:1px solid var(--border);border-radius:12px}
.emblem-preview .emblem.epic{width:180px;height:180px;margin-bottom:18px}
.emblem-preview h3{overflow-wrap:anywhere}
.emblem-preview p{font-size:12px;margin:8px 0 0}
.emblem-preview-status{color:var(--mint);min-height:1.7em}
.emblem-preview-status.is-unsaved{color:#ff9dce}
.emblem-picker{border:0;padding:0;margin:0 0 24px;min-width:0}
.emblem-picker legend{font-size:13px;font-weight:600;margin-bottom:10px;padding:0}
.emblem-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px}
.emblem-choice{position:relative;min-width:0;cursor:pointer}
.emblem-choice input{position:absolute;opacity:0;width:1px;height:1px}
.emblem-choice-content{display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;padding:10px 6px;border:2px solid var(--border);border-radius:9px;background:#101916}
.emblem-choice input:checked+.emblem-choice-content{border-color:var(--green);background:#b9df8c14;box-shadow:0 0 0 1px #b9df8c44}
.emblem-choice input:focus-visible+.emblem-choice-content{outline:2px solid #ff9dce;outline-offset:4px}
.emblem-choice:not(.is-locked):hover .emblem-choice-content{border-color:#869c83}
.emblem-choice .avatar.emblem{width:64px;height:64px;border-radius:12px}
.emblem-choice-label{font-size:11px;text-align:center;line-height:1.4;overflow-wrap:anywhere}
.emblem-choice.is-locked{cursor:default}
.emblem-choice.is-locked .emblem-option-art{opacity:.55}
.emblem-choice-lock{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#c3abbc}
.emblem-unlock-hint{font-size:10px;color:var(--muted);line-height:1.4;text-align:center}
.adventurer-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;border-top:1px solid var(--border);padding-top:20px}
.emblem-editor-actions{display:flex;gap:12px;flex-wrap:wrap}
.profile-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}
@media(max-width:1100px){.emblem-editor-grid{grid-template-columns:190px minmax(0,1fr);gap:20px}.emblem-preview .emblem.epic{width:150px;height:150px}.profile-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.emblem-editor-grid{grid-template-columns:1fr;gap:20px}.emblem-preview-column{top:0;z-index:2;background:var(--panel);padding:6px 0}.emblem-preview{display:flex;align-items:center;gap:16px;text-align:left;padding:12px}.emblem-preview .emblem.epic{width:88px;height:88px;border-radius:18px;margin:0}.emblem-preview h3{font-size:16px;margin-bottom:0}.emblem-preview p{font-size:11px}.emblem-options{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px}.adventurer-details{grid-template-columns:1fr;gap:0}.emblem-editor-actions .button{flex:1}}

/* Compact independent color palettes keep the shape choices easy to scan. */
.emblem-color-picker .emblem-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.emblem-color-picker .emblem-choice-content{padding:9px 4px;gap:6px}
.emblem-swatch{display:block;width:25px;height:25px;border-radius:50%;border:1px solid #ffffff44;box-shadow:inset 0 0 0 3px #0002}
.emblem-swatch-mint{background:#bde596}.emblem-swatch-pink{background:#ff78ba}.emblem-swatch-gold{background:#f5cd78}.emblem-swatch-sky{background:#83d9f5}.emblem-swatch-violet{background:#c3a0ff}
.emblem-color-picker .emblem-choice-label{font-size:10px}

.emblem .emblem-background{display:none;color:var(--emblem-glow);stroke:currentColor;stroke-width:1.5;fill:none;opacity:.35}
.emblem-bg-forest .background-forest,.emblem-bg-moonwater .background-moonwater,.emblem-bg-embers .background-embers,.emblem-bg-aurora .background-aurora{display:initial}
.achievement-art{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.achievement-art .emblem{width:56px;height:56px;border-radius:10px}

/* Keep complete boss portraits visible; labels have their own space below. */
.boss-art{background:#182122}
.boss-art>img{object-fit:contain;object-position:center}
.boss-art-shade{background:linear-gradient(180deg,#10141670,transparent 25%);pointer-events:none}
.boss-card>.boss-title{position:static;padding:22px 25px 0}
.boss-card{min-width:0}.boss-card>.boss-title h2{overflow-wrap:anywhere}

/* Later rewards retain clean silhouettes at feed-avatar sizes. */
.emblem-icon-sun .symbol-sun,.emblem-icon-wolf .symbol-wolf,.emblem-icon-dragon .symbol-dragon,.emblem-icon-crown .symbol-crown,.emblem-weapon-axe .weapon-axe,.emblem-weapon-spear .weapon-spear,.emblem-weapon-staff .weapon-staff{display:initial}
.emblem-bg-ruins .background-ruins,.emblem-bg-forge .background-forge,.emblem-bg-summit .background-summit,.emblem-bg-stars .background-stars{display:initial}
.emblem-bg-ruins{background:linear-gradient(160deg,var(--emblem-mid),var(--emblem-base))!important}
.emblem-bg-forge{background:radial-gradient(ellipse at 50% 100%,var(--emblem-mid),var(--emblem-base))!important}
.emblem-bg-summit{background:linear-gradient(180deg,var(--emblem-mid),var(--emblem-base) 70%)!important}
.emblem-bg-stars{background:radial-gradient(ellipse at 15% 15%,var(--emblem-mid),var(--emblem-base) 65%)!important}
.emblem.emblem-color-coral{--emblem-ink:#ffaf91}.emblem.emblem-weapon-color-coral{--emblem-weapon-ink:#ffaf91}.emblem.emblem-background-color-coral{--emblem-base:#392720;--emblem-mid:#654334;--emblem-glow:#bb896c}.emblem-swatch-coral{background:#ffaf91}
.emblem.emblem-color-ice{--emblem-ink:#aff2eb}.emblem.emblem-weapon-color-ice{--emblem-weapon-ink:#aff2eb}.emblem.emblem-background-color-ice{--emblem-base:#193233;--emblem-mid:#315756;--emblem-glow:#78b5b0}.emblem-swatch-ice{background:#aff2eb}
.emblem.emblem-color-steel{--emblem-ink:#bdcad8}.emblem.emblem-weapon-color-steel{--emblem-weapon-ink:#bdcad8}.emblem.emblem-background-color-steel{--emblem-base:#262d36;--emblem-mid:#424f60;--emblem-glow:#909fb3}.emblem-swatch-steel{background:#bdcad8}
.emblem.emblem-color-ruby{--emblem-ink:#ff8d9e}.emblem.emblem-weapon-color-ruby{--emblem-weapon-ink:#ff8d9e}.emblem.emblem-background-color-ruby{--emblem-base:#39212a;--emblem-mid:#623646;--emblem-glow:#bd7789}.emblem-swatch-ruby{background:#ff8d9e}
.emblem.emblem-color-pearl{--emblem-ink:#fff0cf}.emblem.emblem-weapon-color-pearl{--emblem-weapon-ink:#fff0cf}.emblem.emblem-background-color-pearl{--emblem-base:#322e29;--emblem-mid:#565047;--emblem-glow:#b8ab95}.emblem-swatch-pearl{background:#fff0cf}

.guild-standard{--standard-ink:#bde596;--standard-base:#24392e;color:var(--standard-ink);display:inline-flex;flex-direction:column;align-items:center;gap:8px;max-width:100%;text-align:center}
.guild-standard svg{width:62px;height:74px;flex-shrink:0;overflow:visible}.guild-standard>span{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.standard-cloth{fill:var(--standard-base)}
.guild-standard-cinder{--standard-ink:#ffc087;--standard-base:#492d25}.guild-standard-hollow{--standard-ink:#c4c3ff;--standard-base:#302c49}.guild-standard-iron{--standard-ink:#c4d2df;--standard-base:#2a3843}.guild-standard-sovereign{--standard-ink:#f1c879;--standard-base:#3d294a}.guild-standard-victory{--standard-ink:#e7d18e;--standard-base:#3e3827}
.standard-symbol{display:none}.guild-standard-frontier .standard-frontier,.guild-standard-victory .standard-victory,.guild-standard-cinder .standard-cinder,.guild-standard-hollow .standard-hollow,.guild-standard-iron .standard-iron,.guild-standard-sovereign .standard-sovereign{display:initial}
.guild-standard.compact{flex-shrink:0}.guild-standard.compact svg{width:34px;height:42px}.active-guild-context{gap:12px}.guild-banner-studio{margin-bottom:24px}.guild-banner-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}.guild-banner-options .emblem-choice-content{padding:16px 10px}.world-map-heading>.guild-standard{max-width:130px}.world-map-heading>.guild-standard svg{width:42px;height:50px}
@media(max-width:450px){.guild-standard.compact svg{width:27px;height:34px}.active-guild-context{gap:7px}.emblem-color-picker .emblem-options{grid-template-columns:repeat(3,minmax(0,1fr))}.guild-banner-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Race portraits are the character identity; earned shield designs remain a badge. */
.avatar.emblem.has-race-portrait{position:relative}
.emblem.has-race-portrait>.race-portrait{width:100%;height:100%}
.adventurer-insignia{position:absolute;right:1%;bottom:1%;width:34%;height:34%;display:flex;align-items:center;justify-content:center;background:var(--emblem-base);border:1px solid var(--emblem-glow);border-radius:28%;box-shadow:0 1px 4px #0009}
.emblem .adventurer-insignia>svg{width:94%;height:94%}
