/* Profiloldal: fejléc, fülek, jelvények, felszerelés */
.pf-head { position: relative; margin-bottom: 18px; padding: 22px 24px; background: rgba(26,26,26,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; }
.pf-head::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #e10600, #ff5a4f); }
.pf-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 18px; align-items: start; }
.pf-avatar { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid #e10600; }
.pf-avatar--empty { display: inline-flex; align-items: center; justify-content: center; background: #2a2a2a; color: #666; font-size: 2rem; }
.pf-main { min-width: 0; }
.pf-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pf-name h1 { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1.1; color: #fff; overflow-wrap: anywhere; }
.pf-num { padding: 2px 9px; border-radius: 6px; background: #e10600; color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.pf-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.9rem; color: #b5b5b5; }
.pf-meta i { width: 16px; margin-right: 6px; text-align: center; color: #e10600; }
.pf-bday { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; background: rgba(225,6,0,0.15); border: 1px solid rgba(225,6,0,0.45); color: #ffb3af; font-weight: 700; }
.pf-bday i { width: auto; color: #ffb3af; }
.pf-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pf-links a, .pf-links__text { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; height: 34px; padding: 0 9px; border-radius: 8px; background: #1f1f1f; border: 1px solid #333; color: #fff; text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.pf-links a:hover, .pf-links a:focus-visible { border-color: #e10600; color: #fff; outline: none; }
.pf-actions { display: flex; flex-direction: column; gap: 6px; min-width: 132px; }
.pf-actions > * { white-space: nowrap; }
.pf-btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #e10600; color: #fff; border: 0; font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.04em; }
.pf-btn-main i { margin: 0 !important; }
.pf-btn-main:hover { background: #ff1a14; color: #fff; }
.pf-bio { margin: 16px 0 0; color: #d0d0d0; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-bio.is-open { display: block; }
.pf-more-link { padding: 0; margin-top: 4px; border: 0; background: none; color: #ff8a85; font-size: 0.88rem; font-weight: 600; }
.pf-hl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pf-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #161616; border: 1px solid #2e2e2e; font-size: 0.82rem; font-weight: 600; color: #e6e6e6; }
.pf-badge > span { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.78rem; color: #fff; }
.pf-hl__more { padding: 5px 11px; border-radius: 999px; background: #1f1f1f; border: 1px solid #333; color: #d6d6d6; font-size: 0.82rem; font-weight: 700; }
.pf-hl__more:hover { border-color: #e10600; color: #fff; }
.pf-empty-note { margin-top: 16px; padding: 10px 14px; border: 1px dashed #3a3a3a; border-radius: 10px; color: #c9c9c9; font-size: 0.9rem; }
.pf-empty-note a { color: #ff8a85; font-weight: 600; }

/* Jelvényszínek */
.pf-badge--gold > span, .pf-c-gold { background: linear-gradient(135deg, #f5c542, #b8860b); }
.pf-badge--silver > span, .pf-c-silver { background: linear-gradient(135deg, #d9d9d9, #8a8a8a); }
.pf-badge--bronze > span, .pf-c-bronze { background: linear-gradient(135deg, #d08b52, #8a4f24); }
.pf-badge--red > span, .pf-c-red { background: #e10600; }
.pf-badge--purple > span, .pf-c-purple { background: #7c3aed; }
.pf-badge--blue > span, .pf-c-blue { background: #2f6fd6; }
.pf-badge--green > span, .pf-c-green { background: #1f9d55; }
.pf-badge--teal > span, .pf-c-teal { background: #0f9488; }
.pf-badge--pink > span, .pf-c-pink { background: #db2777; }
.pf-badge--dark > span, .pf-c-dark { background: #444; }

/* Fülek: ha nem férnek el, sorokba törnek; telefonon rácsban, vízszintes görgetés nélkül */
.pf-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; padding: 4px; background: #141414; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; }
.pf-tabs button { flex: 1 1 auto; padding: 9px 14px; border: 0; border-radius: 7px; background: transparent; color: #a8a8a8; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.pf-tabs button:hover { color: #fff; }
.pf-tabs button:focus-visible { outline: 2px solid #ff8a85; outline-offset: 1px; }
.pf-tabs button.is-on { background: #e10600; color: #fff; }
.pf-tabs__n { margin-left: 6px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,0.15); font-size: 0.75rem; }
.pf-tabs__own { color: #f1d9a0 !important; }
.pf-tabs__own.is-on { color: #fff !important; }
.pf-pane { display: none; }
.pf-pane.is-on { display: block; }

.pf-card { margin-bottom: 18px; padding: 22px 24px; background: rgba(26,26,26,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; }
.pf-card h2 { margin: 0 0 14px; font-family: 'Rajdhani', sans-serif; font-size: 1.35rem; font-weight: 700; color: #fff; }
.pf-card h2 i { margin-right: 8px; color: #e10600; }
.pf-muted { font-size: 0.88rem; color: #9a9a9a; }
.pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pf-stats > div { padding: 14px 8px; text-align: center; background: rgba(26,26,26,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; }
.pf-stats strong { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; line-height: 1.1; color: #fff; }
.pf-stats span { font-size: 0.8rem; color: #a8a8a8; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #141414; border: 1px solid #2e2e2e; color: #fff; font-weight: 600; font-size: 0.88rem; }
.pf-chips span.is-main { border-color: #e10600; background: rgba(225,6,0,0.12); }
.pf-chips span.is-main i { color: #e10600; }
.pf-chips small { color: #a8a8a8; font-weight: 400; }

.pf-bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pf-bitem { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; text-align: center; background: #141414; border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; }
.pf-bitem__ic { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.25rem; color: #fff; }
.pf-bitem b { font-family: 'Rajdhani', sans-serif; font-size: 1.02rem; line-height: 1.15; color: #fff; }
.pf-bitem small { font-size: 0.74rem; line-height: 1.35; color: #9a9a9a; }
.pf-bitem__date { font-size: 0.72rem; color: #4fd18b; }
.pf-bitem.is-off { opacity: 0.45; }
.pf-bitem.is-off .pf-bitem__ic { filter: grayscale(1); }
.pf-progress { width: 100%; height: 4px; margin-top: 2px; border-radius: 2px; background: #2a2a2a; overflow: hidden; }
.pf-progress i { display: block; height: 100%; background: #e10600; }
details.pf-grp { border-top: 1px solid rgba(255,255,255,0.07); }
details.pf-grp:first-of-type { border-top: 0; }
details.pf-grp summary { padding: 12px 0 10px; cursor: pointer; list-style: none; font-family: 'Titillium Web', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #c9c9c9; }
details.pf-grp summary::-webkit-details-marker { display: none; }
details.pf-grp summary::after { content: '+'; float: right; font-size: 1rem; line-height: 1; color: #888; }
details.pf-grp[open] summary::after { content: '–'; }
details.pf-grp summary small { margin-left: 8px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #8a8a8a; }
details.pf-grp > .pf-bgrid { padding-bottom: 14px; }

.pf-gear { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf-gear > div { display: flex; gap: 12px; align-items: center; padding: 12px; background: #141414; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; min-width: 0; }
.pf-gear i { flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(225,6,0,0.12); color: #e10600; }
.pf-gear small, .pf-fav small { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9a9a; }
.pf-gear b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.pf-fav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf-fav > div { padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #1f1f1f, #141414); border: 1px solid rgba(255,255,255,0.07); }
.pf-fav b { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; color: #fff; overflow-wrap: anywhere; }

/* Tableten és telefonon a gombok a fejléc alján, teljes szélességben */
@media (max-width: 767.98px) {
    .pf-top { grid-template-columns: auto minmax(0, 1fr); }
    .pf-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
    .pf-actions > * { flex: 1 1 0; }
}
@media (max-width: 575.98px) {
    .pf-head { padding: 18px 16px; }
    .pf-avatar { flex-basis: 64px; width: 64px; height: 64px; }
    .pf-name h1 { font-size: 1.45rem; }
    .pf-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pf-tabs button { padding: 9px 4px; font-size: 0.92rem; white-space: normal; line-height: 1.15; }
    .pf-tabs__n { display: none; }
    .pf-card { padding: 18px 16px; }
    .pf-gear, .pf-fav { grid-template-columns: 1fr; }
    .pf-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pf-tabs button { transition: none; } }

/* Profil adatai űrlap */
.pf-form-head { margin-bottom: 18px; }
.pf-form-head h1 { margin: 14px 0 4px; font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; }
.pf-form-head p { margin: 0; color: #a8a8a8; }
.pf-form-error { margin-bottom: 16px; padding: 10px 14px; border: 1px solid rgba(225,6,0,0.5); border-left: 3px solid #e10600; border-radius: 8px; background: rgba(225,6,0,0.12); color: #ffb3af; }
.pf-form label, .pf-label { display: block; margin-bottom: 5px; font-family: 'Titillium Web', sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c9c9c9; }
.pf-form input:not([type=checkbox]), .pf-form select, .pf-form textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #333; border-radius: 8px; background: #111; color: #fff; font-size: 1rem; }
.pf-form textarea { min-height: 110px; resize: vertical; }
.pf-form input:focus, .pf-form select:focus, .pf-form textarea:focus { border-color: #e10600; box-shadow: 0 0 0 3px rgba(225,6,0,0.2); outline: none; }
.pf-hint { color: #8f8f8f; font-size: 0.8rem; }
.pf-pair { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.pf-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 1px solid #333; border-radius: 8px; background: #141414; color: #e6e6e6; font-size: 0.9rem; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.pf-checks input { accent-color: #e10600; width: 16px; height: 16px; }
.pf-vis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.pf-vis label { margin: 0; font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: #e6e6e6; }
.pf-vis select { width: auto !important; min-width: 200px; }
.pf-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 575.98px) {
    .pf-vis select { width: 100% !important; }
    .pf-form-actions > * { flex: 1 1 0; }
}
.pf-avatar-row { display: flex; align-items: center; gap: 16px; }
.pf-avatar-row .pf-avatar { flex: 0 0 72px; width: 72px; height: 72px; }
.pf-form input[type=file] { padding: 8px; color: #aaa; }
.pf-linked__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.pf-linked__row > i { flex: 0 0 28px; font-size: 1.4rem; text-align: center; color: #fff; }
.pf-linked__text { flex: 1 1 auto; min-width: 0; }
.pf-linked__text b { display: block; color: #fff; }
.pf-linked__text small { display: block; color: #9a9a9a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-linked__row .btn { flex: 0 0 auto; }
.pf-form-ok { margin-bottom: 16px; padding: 10px 14px; border: 1px solid rgba(25,135,84,0.5); border-left: 3px solid #1f9d55; border-radius: 8px; background: rgba(25,135,84,0.14); color: #b9f0d0; }

/* Nyilvános versenyzői oldal (regisztráció nélküli versenyző) */
.pf-avatar--initials { font-family: 'Rajdhani', sans-serif; font-size: 1.9rem; font-weight: 700; color: #d6d6d6; border-color: #3a3a3a; }
.dv-claim { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; padding: 20px 22px; border: 1px solid rgba(225,6,0,0.45); border-radius: 12px; background: linear-gradient(135deg, rgba(225,6,0,0.14), rgba(26,26,26,0.95) 60%); }
.dv-claim__icon { flex: 0 0 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #e10600; color: #fff; font-size: 1.2rem; }
.dv-claim__text { min-width: 0; }
.dv-claim h2 { margin: 0 0 6px; font-family: 'Rajdhani', sans-serif; font-size: 1.45rem; font-weight: 700; color: #fff; }
.dv-claim p { margin: 0 0 14px; color: #d6d6d6; line-height: 1.5; }
.dv-claim__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-claim__hint { display: block; margin-top: 10px; font-size: 0.8rem; color: #a8a8a8; }
@media (max-width: 575.98px) {
    .dv-claim { flex-direction: column; padding: 18px 16px; }
    .dv-claim__actions > * { flex: 1 1 100%; }
}
.dv-disclaimer { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #2e2e2e; border-radius: 10px; background: #141414; font-size: 0.84rem; line-height: 1.5; color: #a8a8a8; }
.dv-disclaimer a { color: #ff8a85; }

/* A böngésző által kitöltött mezők is sötétek maradnak (a böngésző saját sárga/fehér jelölése helyett) */
.pf-form input:-webkit-autofill,
.pf-form input:-webkit-autofill:hover,
.pf-form input:-webkit-autofill:focus,
.pf-form textarea:-webkit-autofill,
.pf-form select:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #111 inset;
    transition: background-color 9999s ease-out 0s;
}
.pf-form input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #111 inset, 0 0 0 3px rgba(225,6,0,0.2); }
.pf-form input[readonly] { cursor: text; }
