.profile-body {
    --rsc-black: #050407;
    --rsc-ink: #110b1d;
    --rsc-panel: #171022;
    --rsc-purple: #4b276d;
    --rsc-violet: #7b4aa6;
    --rsc-orange: #f07a16;
    --rsc-moon: #f6a034;
    --rsc-cream: #eadfd0;
    --rsc-red: #c92738;
    --rsc-acid: #9be15d;
    --rsc-cold: #8fc7df;
    min-height: 100vh;
    color: var(--rsc-cream);
    background:
        linear-gradient(180deg, rgba(5, 4, 7, 0.18), rgba(5, 4, 7, 0.82)),
        linear-gradient(90deg, rgba(5, 4, 7, 0.54), rgba(5, 4, 7, 0.16) 42%, rgba(5, 4, 7, 0.58)),
        url("/public/assets/img/site-background.png"),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(135deg, rgba(201, 39, 56, 0.24) 0 9rem, transparent 9.1rem 100%),
        linear-gradient(225deg, rgba(240, 122, 22, 0.22) 0 11rem, transparent 11.1rem 100%),
        linear-gradient(180deg, #1b102a 0%, #0b0710 48%, #030204 100%);
    background-position: center top, center top, center top, center top, center top, center top, center top, center top;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover, 32px 32px, 32px 32px, auto, auto, auto;
}

.profile-body::before {
    background:
        linear-gradient(180deg, rgba(5, 4, 7, 0.04), rgba(5, 4, 7, 0.5)),
        linear-gradient(90deg, transparent 0 68%, rgba(240, 122, 22, 0.08) 68.1% 72%, transparent 72.1%),
        linear-gradient(120deg, transparent 0 30%, rgba(123, 74, 166, 0.12) 30.1% 33%, transparent 33.1%);
}

.profile-shell {
    display: grid;
    gap: 1rem;
    width: min(100% - 2rem, 76rem);
    margin: 1rem auto 3rem;
}

.profile-hero,
.profile-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 122, 22, 0.34);
    background:
        linear-gradient(135deg, rgba(75, 39, 109, 0.42), rgba(17, 11, 29, 0.72)),
        rgba(5, 4, 7, 0.78);
    backdrop-filter: blur(7px);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.42);
}

.profile-hero::before,
.profile-panel::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, rgba(240, 122, 22, 0.18), transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 6rem);
}

.profile-hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: 15rem 1fr 11rem;
    align-items: stretch;
    min-height: 14rem;
    padding: 1rem;
}

.profile-brand,
.profile-id,
.profile-tokens,
.profile-panel > * {
    position: relative;
    z-index: 1;
}

.profile-brand {
    display: grid;
    align-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(240, 122, 22, 0.46);
    background: rgba(2, 4, 10, 0.42);
}

.profile-brand img {
    width: min(100%, 12rem);
    height: auto;
    filter: drop-shadow(0 0.65rem 1.4rem rgba(0, 0, 0, 0.44));
}

.profile-brand span,
.panel-heading span,
.profile-hero p {
    color: var(--rsc-moon);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-brand strong {
    display: block;
    color: var(--rsc-orange);
    font-size: 1.15rem;
    line-height: 1;
    text-transform: uppercase;
}

.profile-id {
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    align-items: end;
    min-width: 0;
    padding: 1rem;
    background:
        linear-gradient(90deg, rgba(5, 4, 7, 0.76), transparent),
        rgba(48, 25, 70, 0.26);
}

.profile-avatar {
    display: grid;
    width: 8.25rem;
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid rgba(240, 122, 22, 0.58);
    background:
        linear-gradient(135deg, rgba(201, 39, 56, 0.24), rgba(123, 74, 166, 0.22)),
        rgba(5, 4, 7, 0.82);
    place-items: center;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.035);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar span {
    color: var(--rsc-orange);
    font-size: 3.5rem;
    font-weight: 900;
}

.profile-hero p {
    margin: 0;
}

.profile-hero h1 {
    max-width: 100%;
    margin: 0.25rem 0 0.65rem;
    color: var(--rsc-cream);
    font-size: 4rem;
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 0.2rem 0 var(--rsc-black), 0 0 1.4rem rgba(240, 122, 22, 0.26);
    word-break: break-word;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-meta a,
.profile-meta span {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    padding: 0 0.7rem;
    border: 1px solid rgba(240, 122, 22, 0.34);
    color: var(--rsc-cream);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(5, 4, 7, 0.58);
}

.profile-meta a {
    color: var(--rsc-moon);
}

.profile-tokens {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid rgba(240, 122, 22, 0.52);
    background:
        linear-gradient(180deg, rgba(240, 122, 22, 0.18), transparent),
        rgba(5, 4, 7, 0.6);
    text-align: center;
}

.profile-tokens div:first-child {
    display: grid;
    justify-items: center;
}

.profile-tokens span {
    color: var(--rsc-moon);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-tokens strong {
    color: var(--rsc-orange);
    font-size: 4rem;
    line-height: 0.95;
    text-shadow: 0 0 1.2rem rgba(240, 122, 22, 0.42);
}

.profile-tokens small,
.profile-tokens b {
    color: var(--rsc-cream);
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-tokens b {
    color: var(--rsc-moon);
}

.xp-meter {
    width: 100%;
    height: 0.72rem;
    overflow: hidden;
    border: 1px solid rgba(240, 122, 22, 0.24);
    background: rgba(5, 4, 7, 0.78);
}

.xp-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--rsc-violet), var(--rsc-orange));
    box-shadow: 0 0 1rem rgba(240, 122, 22, 0.38);
}

.profile-grid {
    position: relative;
    z-index: 40;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
    overflow: visible;
}

.profile-panel {
    padding: 1rem;
}

.profile-panel-pack {
    z-index: 40;
    overflow: visible;
}

.profile-panel-crafting {
    z-index: 30;
    overflow: visible;
}

.profile-panel-quest {
    z-index: 1;
}

.panel-heading {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(240, 122, 22, 0.24);
    padding-bottom: 0.75rem;
}

.panel-heading h2 {
    margin: 0;
    color: var(--rsc-cream);
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-muted {
    margin: 0.75rem 0 0;
    color: rgba(234, 223, 208, 0.68);
}

.stat-row,
.objective-row {
    display: grid;
    gap: 0.42rem;
    grid-template-columns: 1fr auto;
    margin-top: 0.95rem;
}

.stat-row span,
.objective-row span {
    min-width: 0;
    font-weight: 900;
}

.stat-row strong,
.objective-row strong {
    color: var(--rsc-orange);
}

.stat-row div,
.objective-row div,
.quest-meter {
    grid-column: 1 / -1;
    height: 0.72rem;
    overflow: hidden;
    border: 1px solid rgba(240, 122, 22, 0.2);
    background: rgba(5, 4, 7, 0.78);
}

.stat-row i,
.objective-row i,
.quest-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--rsc-orange), var(--rsc-acid));
    box-shadow: 0 0 1rem rgba(240, 122, 22, 0.36);
}

.stat-health i {
    background: linear-gradient(90deg, #b9162f, #ff4c57);
    box-shadow: 0 0 1rem rgba(255, 76, 87, 0.36);
}

.stat-hunger i {
    background: linear-gradient(90deg, #d55b11, #f6a034);
    box-shadow: 0 0 1rem rgba(246, 160, 52, 0.32);
}

.stat-stamina i {
    background: linear-gradient(90deg, #3c9f41, #9be15d);
    box-shadow: 0 0 1rem rgba(155, 225, 93, 0.3);
}

.stat-sanity i {
    background: linear-gradient(90deg, #6a3fb2, #b47cff);
    box-shadow: 0 0 1rem rgba(180, 124, 255, 0.34);
}

.inventory-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(auto-fill, minmax(5.8rem, 1fr));
}

.crafting-board {
    display: grid;
    gap: 0.85rem;
}

.craft-tier {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 8.5rem 1fr;
    align-items: start;
    padding: 0.7rem;
    border: 1px solid rgba(240, 122, 22, 0.18);
    background:
        linear-gradient(90deg, rgba(240, 122, 22, 0.08), transparent 18rem),
        rgba(5, 4, 7, 0.36);
}

.craft-tier.is-tier-locked {
    border-color: rgba(234, 223, 208, 0.12);
    background:
        linear-gradient(90deg, rgba(234, 223, 208, 0.035), transparent 18rem),
        rgba(5, 4, 7, 0.26);
}

.craft-tier-heading {
    display: grid;
    gap: 0.45rem;
    position: sticky;
    top: 0.7rem;
}

.craft-tier-heading span,
.craft-tier-heading strong,
.recipe-lock {
    display: inline-grid;
    min-height: 1.75rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.55rem;
    border: 1px solid rgba(240, 122, 22, 0.34);
    color: var(--rsc-orange);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(240, 122, 22, 0.08);
}

.craft-tier-heading strong {
    color: var(--rsc-acid);
    border-color: rgba(155, 225, 93, 0.28);
    background: rgba(155, 225, 93, 0.07);
}

.craft-tier.is-tier-locked .craft-tier-heading strong,
.recipe-card.is-locked .recipe-lock {
    color: #ff6f94;
    border-color: rgba(255, 111, 148, 0.3);
    background: rgba(255, 111, 148, 0.08);
}

.craft-tier-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr));
}

.recipe-card {
    position: relative;
    display: grid;
    gap: 0.38rem;
    align-content: start;
    min-height: 10.5rem;
    padding: 0.58rem;
    border: 1px solid rgba(240, 122, 22, 0.32);
    background:
        linear-gradient(180deg, rgba(240, 122, 22, 0.09), transparent 46%),
        radial-gradient(circle at 50% 30%, rgba(123, 74, 166, 0.24), transparent 60%),
        rgba(5, 4, 7, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    text-align: center;
    outline: none;
}

.recipe-card:focus,
.recipe-card:hover {
    z-index: 20;
    border-color: rgba(155, 225, 93, 0.62);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 1.2rem rgba(155, 225, 93, 0.18);
}

.recipe-card.is-locked {
    border-color: rgba(234, 223, 208, 0.16);
    background:
        linear-gradient(180deg, rgba(234, 223, 208, 0.04), transparent 46%),
        rgba(5, 4, 7, 0.5);
}

.recipe-card.is-locked .recipe-icon,
.recipe-card.is-locked > h3,
.recipe-card.is-locked > p {
    filter: grayscale(1) saturate(0.3);
    opacity: 0.52;
}

.recipe-lock {
    justify-self: end;
    min-height: 1.45rem;
    padding: 0 0.42rem;
    font-size: 0.62rem;
}

.recipe-icon {
    display: grid;
    width: min(4.2rem, 78%);
    aspect-ratio: 1;
    align-items: center;
    justify-items: center;
    justify-self: center;
    margin-top: 0.1rem;
    border: 1px solid rgba(240, 122, 22, 0.24);
    color: var(--rsc-orange);
    font-size: 1rem;
    font-weight: 900;
    background:
        radial-gradient(circle, rgba(240, 122, 22, 0.12), transparent 62%),
        rgba(5, 4, 7, 0.52);
}

.recipe-icon img {
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.recipe-card h3 {
    margin: 0.2rem 0 0;
    color: var(--rsc-cream);
    font-size: 0.82rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.recipe-card > p {
    margin: 0;
    color: rgba(234, 223, 208, 0.58);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.recipe-popover {
    position: absolute;
    left: calc(100% + 0.75rem);
    top: 0;
    z-index: 80;
    display: grid;
    gap: 0.65rem;
    width: min(19rem, 84vw);
    padding: 0.85rem;
    border: 1px solid rgba(155, 225, 93, 0.42);
    background:
        linear-gradient(135deg, rgba(123, 74, 166, 0.18), transparent 52%),
        rgba(8, 7, 10, 0.98);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-0.35rem, 0);
    transition: opacity 140ms ease, transform 140ms ease;
}

.recipe-popover::after {
    content: "";
    position: absolute;
    left: -0.48rem;
    top: 2rem;
    width: 0.9rem;
    height: 0.9rem;
    border-left: 1px solid rgba(155, 225, 93, 0.42);
    border-bottom: 1px solid rgba(155, 225, 93, 0.42);
    background: rgba(8, 7, 10, 0.98);
    transform: rotate(45deg);
}

.recipe-card:hover .recipe-popover,
.recipe-card:focus .recipe-popover,
.recipe-card:focus-within .recipe-popover {
    opacity: 1;
    transform: translate(0, 0);
}

.recipe-popover header,
.recipe-popover footer,
.recipe-popover li {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.recipe-popover h4 {
    margin: 0;
    color: var(--rsc-cream);
    font-size: 1.05rem;
    line-height: 1;
    text-transform: uppercase;
}

.recipe-popover p {
    margin: 0.25rem 0 0;
    color: rgba(234, 223, 208, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
}

.recipe-popover header > span,
.recipe-popover footer span,
.recipe-popover footer strong {
    padding: 0.34rem 0.52rem;
    border: 1px solid rgba(240, 122, 22, 0.32);
    color: var(--rsc-orange);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(240, 122, 22, 0.08);
}

.recipe-effect {
    display: grid;
    gap: 0.42rem;
    padding: 0.58rem 0.65rem;
    border: 1px solid rgba(240, 122, 22, 0.22);
    background:
        linear-gradient(90deg, rgba(155, 225, 93, 0.08), transparent),
        rgba(5, 4, 7, 0.5);
}

.recipe-effect span {
    color: var(--rsc-orange);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.recipe-effect strong {
    color: var(--rsc-cream);
    font-size: 0.84rem;
    line-height: 1.25;
}

.recipe-popover ul {
    display: grid;
    gap: 0.38rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recipe-popover li {
    padding: 0.5rem 0.6rem;
    background: rgba(5, 4, 7, 0.56);
}

.recipe-popover li span,
.recipe-popover li strong {
    color: var(--rsc-cream);
    font-size: 0.84rem;
    font-weight: 900;
}

.recipe-popover li span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-width: 0;
}

.ingredient-icon {
    display: inline-grid;
    width: 1.8rem;
    aspect-ratio: 1;
    flex: 0 0 auto;
    align-items: center;
    justify-items: center;
    border: 1px solid rgba(240, 122, 22, 0.24);
    color: var(--rsc-orange);
    font-size: 0.56rem;
    font-style: normal;
    line-height: 1;
    background:
        radial-gradient(circle, rgba(240, 122, 22, 0.14), transparent 64%),
        rgba(5, 4, 7, 0.58);
}

.ingredient-icon img {
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.recipe-popover li.ready strong,
.recipe-popover footer strong {
    color: var(--rsc-acid);
}

.recipe-popover li.missing strong,
.recipe-card.is-locked .recipe-popover footer strong {
    color: #ff6f94;
}

.item-slot {
    position: relative;
    display: grid;
    gap: 0.22rem;
    grid-template-rows: 1fr auto auto;
    align-content: stretch;
    justify-items: center;
    min-height: 0;
    aspect-ratio: 1;
    padding: 0.48rem;
    overflow: visible;
    border: 1px solid rgba(240, 122, 22, 0.34);
    background:
        linear-gradient(180deg, rgba(240, 122, 22, 0.08), transparent 42%),
        radial-gradient(circle at 50% 34%, rgba(123, 74, 166, 0.22), transparent 58%),
        rgba(5, 4, 7, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    text-align: center;
}

.item-slot:focus {
    outline: 2px solid rgba(155, 225, 93, 0.72);
    outline-offset: 2px;
}

.item-icon {
    display: grid;
    width: 100%;
    min-height: 0;
    align-items: center;
    justify-items: center;
    border: 0;
    color: var(--rsc-orange);
    font-size: 0.78rem;
    font-weight: 900;
    background: transparent;
    box-shadow: none;
}

.item-icon img {
    width: min(4.8rem, 92%);
    height: min(4.8rem, 92%);
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 0.26rem 0.28rem rgba(0, 0, 0, 0.56));
}

.item-slot strong {
    color: var(--rsc-cream);
    font-size: 0.68rem;
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-slot small {
    color: rgba(234, 223, 208, 0.54);
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-slot b {
    position: absolute;
    top: 0.28rem;
    right: 0.32rem;
    min-width: 1.45rem;
    min-height: 1.25rem;
    padding: 0 0.24rem;
    border: 1px solid rgba(155, 225, 93, 0.42);
    color: var(--rsc-acid);
    font-size: 0.72rem;
    line-height: 1.25rem;
    background: rgba(5, 4, 7, 0.76);
    box-shadow: 0 0 0.55rem rgba(155, 225, 93, 0.16);
}

.item-popover {
    position: absolute;
    left: 0;
    top: calc(100% + 0.55rem);
    z-index: 50;
    display: grid;
    gap: 0.62rem;
    width: min(18rem, 78vw);
    padding: 0.8rem;
    border: 1px solid rgba(155, 225, 93, 0.42);
    background:
        linear-gradient(135deg, rgba(240, 122, 22, 0.16), transparent 54%),
        rgba(8, 7, 10, 0.98);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(0, -0.28rem);
    transition: opacity 140ms ease, transform 140ms ease;
}

.item-popover::after {
    position: absolute;
    top: -0.46rem;
    left: 1.1rem;
    width: 0.85rem;
    height: 0.85rem;
    border-top: 1px solid rgba(155, 225, 93, 0.42);
    border-left: 1px solid rgba(155, 225, 93, 0.42);
    background: rgba(8, 7, 10, 0.98);
    content: "";
    transform: rotate(45deg);
}

.item-slot:hover .item-popover,
.item-slot:focus .item-popover,
.item-slot:focus-within .item-popover {
    opacity: 1;
    transform: translate(0, 0);
}

.item-popover header,
.item-popover footer {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.item-popover h4 {
    margin: 0;
    color: var(--rsc-cream);
    font-size: 1rem;
    line-height: 1;
    text-transform: uppercase;
}

.item-popover p {
    margin: 0.24rem 0 0;
    color: rgba(234, 223, 208, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.item-popover header > span,
.item-popover footer span {
    padding: 0.34rem 0.52rem;
    border: 1px solid rgba(240, 122, 22, 0.32);
    color: var(--rsc-orange);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(240, 122, 22, 0.08);
}

.item-popover footer strong {
    color: var(--rsc-acid);
    font-size: 0.82rem;
    line-height: 1.25;
}

.item-slot-empty {
    overflow: hidden;
    border-style: dashed;
    border-color: rgba(234, 223, 208, 0.16);
    background:
        linear-gradient(180deg, rgba(234, 223, 208, 0.035), transparent),
        rgba(5, 4, 7, 0.32);
    opacity: 0.62;
}

.item-slot-empty .item-icon {
    width: 46%;
    aspect-ratio: 1;
    align-self: center;
    border-color: rgba(234, 223, 208, 0.16);
    background:
        linear-gradient(90deg, transparent 47%, rgba(234, 223, 208, 0.16) 47% 53%, transparent 53%),
        linear-gradient(180deg, transparent 47%, rgba(234, 223, 208, 0.16) 47% 53%, transparent 53%);
}

.rarity-rare,
.rarity-epic {
    border-color: rgba(201, 39, 56, 0.52);
}

.rarity-rare > span,
.rarity-epic > span {
    border-color: rgba(201, 39, 56, 0.58);
    color: #ff6f94;
}

.quest-card {
    margin-top: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(240, 122, 22, 0.2);
    background:
        linear-gradient(90deg, rgba(201, 39, 56, 0.12), transparent 16rem),
        rgba(5, 4, 7, 0.52);
}

.quest-card header {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr auto;
    align-items: start;
}

.quest-card h3 {
    margin: 0;
    color: var(--rsc-cream);
    font-size: 1.6rem;
    line-height: 1;
    text-transform: uppercase;
}

.quest-card p {
    max-width: 52rem;
    margin: 0.55rem 0 0;
    color: rgba(234, 223, 208, 0.72);
    line-height: 1.55;
}

.quest-card header span {
    min-width: 7rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(240, 122, 22, 0.42);
    color: var(--rsc-orange);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    background: rgba(240, 122, 22, 0.1);
}

.quest-meter {
    margin: 1rem 0 0.25rem;
}

.quest-meter i {
    background: linear-gradient(90deg, var(--rsc-red), var(--rsc-orange));
}

.ledger-list {
    display: grid;
    gap: 0.55rem;
}

.ledger-list div {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 5rem 1fr auto;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(240, 122, 22, 0.18);
    background: rgba(5, 4, 7, 0.48);
}

.ledger-list strong {
    color: var(--rsc-acid);
    font-size: 1.2rem;
}

.ledger-list .xp-entry strong {
    color: var(--rsc-orange);
}

.ledger-list span {
    color: var(--rsc-cream);
    font-weight: 900;
    text-transform: uppercase;
}

.ledger-list em {
    color: rgba(234, 223, 208, 0.62);
    font-style: normal;
}

@media (max-width: 58rem) {
    .profile-hero,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-id {
        align-items: center;
    }

    .profile-tokens {
        justify-items: start;
        text-align: left;
    }

    .craft-tier {
        grid-template-columns: 1fr;
    }

    .craft-tier-heading {
        position: static;
        grid-template-columns: auto auto;
        justify-content: start;
    }
}

@media (max-width: 42rem) {
    .profile-shell {
        width: min(100% - 1rem, 76rem);
        margin-top: 0.5rem;
    }

    .profile-hero,
    .profile-panel,
    .profile-id,
    .profile-brand {
        padding: 0.75rem;
    }

    .profile-id,
    .quest-card header,
    .ledger-list div {
        grid-template-columns: 1fr;
    }

    .profile-avatar {
        width: min(100%, 10rem);
    }

    .profile-hero h1 {
        font-size: 2.2rem;
    }

    .profile-tokens strong {
        font-size: 3rem;
    }

    .recipe-popover {
        left: 0;
        top: calc(100% + 0.65rem);
        width: min(100%, 20rem);
        transform: translate(0, -0.25rem);
    }

    .recipe-popover::after {
        left: 1.4rem;
        top: -0.48rem;
        border: 0;
        border-left: 1px solid rgba(155, 225, 93, 0.42);
        border-top: 1px solid rgba(155, 225, 93, 0.42);
    }

    .recipe-card:hover .recipe-popover,
    .recipe-card:focus .recipe-popover,
    .recipe-card:focus-within .recipe-popover {
        transform: translate(0, 0);
    }
}

@media (max-width: 30rem) {
    .profile-hero h1 {
        font-size: 1.9rem;
    }

    .quest-card h3 {
        font-size: 1.3rem;
    }
}
