.e4a.pf-dashboard {
    padding: clamp(18px, 4vw, 54px) 0 clamp(44px, 7vw, 88px);
    background: var(--pfb-surface-2, var(--cream));
}
.pf-dashboard__wrap { max-width: 1120px; }
.pf-dashboard__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 252px;
    border-radius: 28px;
    padding: clamp(22px, 5vw, 52px);
    color: #fff;
    background:
        radial-gradient(ellipse at 94% 52%, #3d3a2a 0%, transparent 56%),
        linear-gradient(125deg, #101013 30%, #27241e);
    box-shadow: 0 14px 38px #0c0c111d;
}
.pf-dashboard__hero--premium {
    background:
        radial-gradient(ellipse at 95% 66%, #795820 0%, transparent 57%),
        linear-gradient(125deg, #101013 30%, #332716);
}
.pf-dashboard__hero-body { position: relative; z-index: 1; max-width: 72%; }
.pf-dashboard__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(12px, 2.5vw, 22px);
}
.pf-dashboard__portrait {
    display: grid;
    place-items: center;
    width: clamp(50px, 8vw, 80px);
    height: clamp(50px, 8vw, 80px);
    flex: none;
    overflow: hidden;
    border: 2px solid #ffcd18;
    border-radius: 50%;
    background: #393022;
    color: #ffdf66;
    font: 800 clamp(21px, 4vw, 34px)/1 var(--e4-display);
}
.pf-dashboard__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-dashboard__greeting { min-width: 0; }
.pf-dashboard__hero h1 {
    color: #fff;
    margin: 0;
    font: 900 clamp(27px, 5vw, 56px)/1.06 var(--e4-display);
    overflow-wrap: anywhere;
}
.pf-dashboard__plan {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 18px 0 0;
    padding: 6px 11px;
    border: 1px solid #ffffff32;
    border-radius: 999px;
    background: #ffffff10;
    color: #fff3c3;
    font-size: 12.5px;
    font-weight: 750;
}
.pf-dashboard__plan > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #ffcf33;
}
.pf-dashboard__hero-note {
    margin: 10px 0 0;
    max-width: 46ch;
    color: #ece8e1;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.45;
}
.pf-dashboard__art {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: clamp(12px, 3vw, 54px);
    width: clamp(176px, 30vw, 330px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #ffd15343;
    border-radius: 50%;
    background: radial-gradient(circle, #ffcf4936, transparent 68%);
    pointer-events: none;
}
.pf-dashboard__art::before,
.pf-dashboard__art::after {
    content: "";
    position: absolute;
    border: 1px solid #ffd15330;
    border-radius: 50%;
    inset: 10%;
}
.pf-dashboard__art::after { inset: -13%; }
.pf-dashboard__art img {
    position: relative;
    z-index: 1;
    width: 77%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 14px #140e09a8);
}
.pf-dashboard__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 18px 0 0;
}
.pf-dashboard__actions .e4-btn {
    min-height: 44px;
    max-width: 100%;
    text-align: center;
    line-height: 1.25;
}
.pf-dashboard__hero .e4-btn--light { background: #fdf9f0; color: #171411; }
.pf-dashboard__refresh,
.pf-dashboard__logout {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: inherit;
    font: 700 13px/1.3 var(--font);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.pf-dashboard__refresh:disabled,
.pf-dashboard__logout:disabled { opacity: .65; cursor: wait; }

.pf-dashboard__section { margin: clamp(23px, 4vw, 44px) 0 0; }
.pf-dashboard__section h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font: 900 clamp(23px, 3vw, 32px)/1.15 var(--e4-display);
}
.pf-dashboard__shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.pf-dashboard__shortcut {
    --pf-dashboard-accent: #e2b940;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 66px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
}
.pf-dashboard__shortcut--decks { --pf-dashboard-accent: #e68458; }
.pf-dashboard__shortcut--teams { --pf-dashboard-accent: #7ba8d6; }
.pf-dashboard__shortcut--forums { --pf-dashboard-accent: #d195b8; }
.pf-dashboard__shortcut img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: color-mix(in srgb, var(--pf-dashboard-accent) 23%, var(--white));
}
.pf-dashboard__shortcut-name { overflow-wrap: anywhere; }
.pf-dashboard__arrow { font-size: 16px; color: var(--ink-light); }
.pf-dashboard__shortcut:hover,
.pf-dashboard__link:hover { border-color: var(--ink); color: var(--ink); }
.pf-dashboard__more { margin-top: 10px; color: var(--ink); }
.pf-dashboard__more summary {
    min-height: 36px;
    padding: 8px 2px;
    width: fit-content;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}
.pf-dashboard__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}
.pf-dashboard__link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 40px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
    background: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.pf-dashboard__language {
    margin-inline-start: 2px;
    color: var(--ink-light);
    font-size: 10px;
    font-weight: 800;
}

.pf-dashboard__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.pf-dashboard__benefit {
    --pf-dashboard-accent: #e4bc48;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    color: var(--ink);
}
.pf-dashboard__benefit--collection { --pf-dashboard-accent: #eba853; }
.pf-dashboard__benefit--expert { --pf-dashboard-accent: #7ba8d6; }
.pf-dashboard__benefit--communaute { --pf-dashboard-accent: #d195b8; }
.pf-dashboard__benefit header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 62px;
    padding: 0 15px;
    background: color-mix(in srgb, var(--pf-dashboard-accent) 23%, var(--white));
}
.pf-dashboard__benefit h3 {
    margin: 0;
    font: 800 clamp(17px, 2.5vw, 22px)/1.2 var(--e4-display);
}
.pf-dashboard__benefit header img { display: block; width: 60px; height: 60px; object-fit: contain; }
.pf-dashboard__benefit ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px 15px 16px;
    list-style: none;
}
.pf-dashboard__benefit li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin: 0;
}
.pf-dashboard__check {
    display: grid;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    place-items: center;
    border-radius: 6px;
    background: color-mix(in srgb, var(--pf-dashboard-accent) 22%, var(--white));
    color: var(--ink);
    font: 800 12px/1 var(--font);
}
.pf-dashboard__benefit li b {
    display: block;
    font-size: 14px;
    line-height: 1.3;
}
.pf-dashboard__benefit li p {
    margin: 3px 0 0;
    color: var(--ink-light);
    font-size: 13px;
    line-height: 1.45;
}

.pf-dashboard__preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
}
.pf-dashboard__preferences .pf-dashboard__link { margin: 0 5px 5px 0; }
.pf-dashboard__account-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink); }
.pf-dashboard__preferences .pf-dashboard__contact h2 { font-size: clamp(19px, 2.5vw, 24px); }
.pf-dashboard__contact select {
    min-height: 44px;
    max-width: 100%;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
    background: var(--white);
    font: 700 14px/1 var(--font);
}

@media (max-width: 680px) {
    .pf-dashboard__shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-dashboard__preferences { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .pf-dashboard__hero { min-height: 0; border-radius: 20px; }
    .pf-dashboard__hero-body { max-width: 100%; }
    .pf-dashboard__hero h1 { font-size: clamp(23px, 7vw, 30px); }
    .pf-dashboard__art { top: 28%; right: -20px; width: 138px; opacity: .34; }
    .pf-dashboard__benefits { grid-template-columns: 1fr; }
    .pf-dashboard__shortcut { grid-template-columns: 36px minmax(0, 1fr); gap: 6px; padding-inline: 7px; font-size: 13px; }
    .pf-dashboard__shortcut .pf-dashboard__arrow { display: none; }
    .pf-dashboard__shortcut img { width: 36px; height: 36px; }
}
