.profil-oldal {
    padding: 28px 0 64px;
}

.profil-fejlec {
    max-width: 760px;
    margin-bottom: 22px;
}

.profil-fejlec h1 {
    margin: 4px 0 8px;
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.profil-fejlec > p:last-child {
    margin: 0;
    color: var(--muted);
}

.profil-elrendezes {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.profil-oldalsav,
.profil-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(13, 43, 88, 0.08);
}

.profil-oldalsav {
    position: sticky;
    top: 92px;
    padding: 22px;
}

.profil-oldalsav > strong,
.profil-oldalsav > span {
    display: block;
    text-align: center;
}

.profil-oldalsav > strong {
    margin-top: 12px;
    color: var(--navy);
}

.profil-oldalsav > span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
}

.profil-avatar {
    width: 72px;
    height: 82px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    color: var(--gold-soft);
    background: var(--navy);
    border: 2px solid var(--gold-soft);
    outline: 1px dashed rgba(255, 255, 255, 0.55);
    outline-offset: -8px;
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    transform: rotate(-2deg);
}

.profil-menu {
    display: grid;
    gap: 4px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.profil-menu a {
    padding: 9px 11px;
    color: #3d454b;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 700;
}

.profil-menu a:hover,
.profil-menu a:focus-visible {
    color: var(--navy);
    background: #f4f0e8;
}

.profil-tartalom {
    display: grid;
    gap: 18px;
}

.profil-panel {
    padding: 22px;
    scroll-margin-top: 90px;
}

.profil-panel__fejlec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.profil-panel__fejlec .eyebrow {
    margin-bottom: 3px;
}

.profil-panel h2,
.profil-panel h3 {
    color: var(--navy);
}

.profil-panel h2 {
    margin: 0;
    font-size: 1.3rem;
}

.profil-panel h3 {
    margin: 22px 0 10px;
    font-size: 1rem;
}

.profil-csomag {
    padding: 6px 10px;
    color: #6d4b0d;
    background: #fff4df;
    border: 1px solid #ead2a3;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.profil-statisztika {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.profil-statisztika > div {
    padding: 14px;
    text-align: center;
    background: #f7f4ee;
    border: 1px solid #e7e0d5;
    border-radius: 12px;
}

.profil-statisztika strong,
.profil-statisztika span,
.profil-elofizetes span,
.profil-elofizetes strong {
    display: block;
}

.profil-statisztika strong {
    color: var(--navy);
    font-size: 1.45rem;
}

.profil-statisztika span,
.profil-elofizetes span {
    color: var(--muted);
    font-size: 0.78rem;
}

.profil-urlap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.profil-urlap label,
.profil-urlap label > span {
    display: block;
}

.profil-urlap label > span {
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 750;
}

.profil-urlap input,
.profil-urlap textarea {
    width: 100%;
    padding: 10px 12px;
    color: #222;
    background: #fffdf9;
    border: 1px solid #d8d1c7;
    border-radius: 9px;
    font: inherit;
}

.profil-urlap textarea {
    resize: vertical;
}

.profil-urlap__teljes {
    grid-column: 1 / -1;
}

.profil-elofizetes {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr)) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f7f4ee;
    border: 1px solid #e7e0d5;
    border-radius: 12px;
}

.profil-elofizetes strong {
    margin-top: 3px;
    color: var(--navy);
}

.elofizetes-csomagok {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.elofizetes-csomag {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #faf8f4;
    border: 1px solid #ddd5c8;
    border-radius: 12px;
}

.elofizetes-csomag--aktiv {
    background: #fff8e9;
    border-color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold);
}

.elofizetes-csomag h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.elofizetes-csomag ul {
    flex: 1;
    margin: 0 0 16px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.7;
}

.elofizetes-csomag .button {
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.8rem;
}

.elofizetes-teszt-panel {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto minmax(210px, 280px);
    align-items: center;
    gap: 8px 14px;
    margin-top: 16px;
    padding: 14px;
    color: #6d4b0d;
    background: #fff4df;
    border: 1px solid #e1bd77;
    border-radius: 11px;
}

.elofizetes-teszt-panel > span,
.elofizetes-teszt-panel > label {
    font-size: 0.8rem;
}

.elofizetes-teszt-panel input {
    width: 100%;
    padding: 8px 10px;
    color: #222;
    background: #fff;
    border: 1px solid #d3b77f;
    border-radius: 8px;
    font: inherit;
}

.elofizetes-elozmenyek {
    display: grid;
    gap: 7px;
}

.elofizetes-elozmeny {
    display: grid;
    grid-template-columns: minmax(100px, 0.5fr) minmax(220px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #faf8f4;
    border: 1px solid #e7e0d5;
    border-radius: 9px;
    font-size: 0.82rem;
}

.elofizetes-statusz {
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
}

.profil-ures-allapot {
    padding: 15px;
    color: var(--muted);
    background: #faf8f4;
    border: 1px dashed #d7d0c5;
    border-radius: 10px;
    font-size: 0.88rem;
}

.profil-muveletek {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profil-muveletek button {
    padding: 9px 12px;
    color: var(--navy);
    background: #f4f0e8;
    border: 1px solid #ddd5c8;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
}

.profil-muveletek button:hover,
.profil-muveletek button:focus-visible {
    background: #e9e1d4;
}

@media (max-width: 900px) {
    .profil-elrendezes {
        grid-template-columns: 1fr;
    }

    .profil-oldalsav {
        position: static;
    }

    .profil-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .elofizetes-csomagok {
        grid-template-columns: 1fr;
    }

    .elofizetes-teszt-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .profil-oldal {
        padding-top: 18px;
    }

    .profil-panel,
    .profil-oldalsav {
        padding: 16px;
        border-radius: 14px;
    }

    .profil-panel__fejlec {
        align-items: flex-start;
        flex-direction: column;
    }

    .profil-statisztika,
    .profil-urlap,
    .profil-elofizetes {
        grid-template-columns: 1fr;
    }

    .elofizetes-elozmeny {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .profil-urlap__teljes {
        grid-column: auto;
    }
}
