/* Accepted Playerdetail presentation; native V1 and protected Hybrid share these rules. */
/* The profile uses our fading left sidebar, with no inline navigation fallback. */
.hp-page .player-anchor-nav:not(.is-sidebar-layout) { display:none; }
.hp-page .hp-hero { padding:28px 0 36px; }
.hp-hero-main { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.hp-page .hp-hero h1 { margin:8px 0 12px; font-size:2.75rem; line-height:1.15; font-weight:600; text-transform:none; letter-spacing:normal; overflow-wrap:anywhere; }
.hp-eyebrow { margin:0; color:var(--accent-gold); font-size:.8rem; letter-spacing:.08em; }
.hp-clan { display:flex; gap:8px 16px; flex-wrap:wrap; margin:0; color:var(--text-muted); }
.hp-clan a { color:var(--accent-gold); text-decoration:none; }
.hp-clan svg { width:15px; height:15px; vertical-align:middle; }
.hp-region { display:flex; gap:12px; align-items:center; white-space:nowrap; color:var(--text-muted); }
.hp-region svg { width:32px; height:32px; color:var(--accent-gold); }
.hp-region--label { flex:none; gap:18px; padding:12px 0 12px 28px; border-left:1px solid var(--fh-accent-rule, rgba(197,160,89,.2)); }
.hp-region--label svg { width:28px; height:28px; flex:none; }
.hp-region-copy { display:grid; gap:3px; }
.hp-region-copy strong { color:var(--text-main); font-size:1rem; font-weight:600; line-height:1.35; }
.hp-region-copy small { color:var(--text-muted); font-size:.8125rem; line-height:1.5; }

.hp-page .hp-actions { justify-content:flex-start; padding:24px 0; }
.hp-page .hp-actions .btn { gap:8px; }
.hp-page .hp-actions svg { width:15px; height:15px; flex:none; }
.hp-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px 28px; padding:24px 0 0; border-top:1px solid var(--fh-accent-rule, rgba(197,160,89,.2)); }
.hp-facts span { display:block; font-size:.8rem; color:var(--text-muted); }
.hp-facts strong { display:block; font-size:1rem; font-weight:600; }
.hp-page .player-detail-section>.card-head p { margin:10px 0 0; color:var(--text-muted); font-size:.875rem; }
.hp-page .hp-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:start; }
.hp-page .hp-grid .ship-detail-card { min-width:0; margin:0; }
.hp-pairs { margin:0; }
.hp-pairs>div { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid var(--fh-rule, rgba(255,255,255,.06)); }
.hp-pairs>div:last-child { border-bottom:0; }
.hp-pairs dt { color:var(--text-muted); }
.hp-pairs dd { margin:0; text-align:right; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.hp-page a { overflow-wrap:anywhere; }
.hp-page .ship-detail-card a { color:var(--accent-gold); text-decoration:none; }
.hp-page .ship-detail-card a:hover { text-decoration:underline; }
.hp-page a>svg { width:15px; height:15px; vertical-align:middle; }
.hp-note { margin:0 0 18px; color:var(--text-muted); font-size:.9rem; }
.hp-rating { position:relative; min-height:210px; }
.hp-rating>strong { font-size:2.25rem; }
.hp-rating>p { color:var(--text-muted); font-size:.85rem; max-width:65%; }
.hp-rating-image { position:absolute; right:20px; top:64px; width:64px; height:64px; object-fit:contain; }
.hp-big { display:block; font-size:1.8rem; line-height:1.3; margin:12px 0; }
.hp-history-chart svg { width:100%; height:auto; }
.hp-ranked-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.hp-ranked-layout { display:grid; grid-template-columns:minmax(0,1fr) 145px; align-items:center; gap:28px; }
.hp-ranked-summary { grid-column:1/-1; margin-top:12px; }
.hp-page .hp-ranked-summary h3 { margin:0 0 20px; font-size:1rem; }
.hp-ranked-summary .hp-pairs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.hp-ranked-summary .hp-pairs>div { flex-direction:column; gap:10px; border:0; border-top:1px solid var(--fh-rule, #30363d); padding:20px 0 0; }
.hp-ranked-summary dt { font-size:.75rem; }
.hp-ranked-summary dd { text-align:left; font-size:1rem; line-height:1.5; }
.hp-page .player-record-ship-image { width:200px; height:128px; }
.hp-page .hp-record-name { display:inline-flex; align-items:center; justify-content:center; gap:6px; color:var(--accent-gold); }
.hp-record-name svg { width:15px; height:15px; flex:none; }
.hp-disclosure { margin-top:18px; border:1px solid var(--fh-rule, rgba(255,255,255,.12)); border-radius:6px; background:var(--card-bg); }
.hp-disclosure>summary { padding:16px 20px; cursor:pointer; color:var(--text-main); font-weight:600; }
.hp-disclosure>summary span { font-weight:400; color:var(--text-muted); margin-left:12px; font-size:.8rem; }
.hp-disclosure>div { margin:0 20px 20px; }
.hp-page .hp-top { grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; align-items:stretch; }
.hp-page .hp-record { display:flex; flex-direction:column; padding:16px; text-align:center; }
.hp-record>img { width:100%; height:112px; object-fit:contain; }
.hp-page .hp-record h3 { margin-top:8px; }
.hp-page .hp-record h3 a { color:inherit; }
.hp-page .hp-record h3 a:hover { color:var(--accent-gold); }
.hp-page .hp-record h3::after { width:100%; background:linear-gradient(90deg,transparent,var(--accent-gold) 50%,transparent); }
.hp-top-link-tail { white-space:nowrap; }
.hp-top-link-tail svg { width:15px; height:15px; vertical-align:middle; }
.hp-top-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.hp-position { font-variant-numeric:tabular-nums; }
.hp-top-badges { display:flex; align-items:center; gap:10px; }
.hp-top-class { position:relative; }
.hp-top-expert .hp-expert { display:block; width:32px; height:32px; object-fit:contain; }
.hp-top .hp-pairs { margin-top:auto; }
.hp-top .hp-pairs>div { gap:8px; text-align:left; }
.hp-top .hp-pairs dd { flex:none; white-space:nowrap; }
.hp-page .hp-clan-counts { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 24px; }
.hp-page .hp-achievement-counts { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 24px; }
/* Native disclosure rows follow the accepted Clanmitglieder presentation. */
.hp-achievement-group { margin-top:20px; border-top:1px solid var(--fh-rule, rgba(255,255,255,.1)); }
.hp-achievement-group>summary { display:flex; align-items:center; gap:12px; min-height:56px; padding:12px 0; list-style:none; font-size:1.0625rem; font-weight:600; cursor:pointer; }
.hp-achievement-group>summary::-webkit-details-marker { display:none; }
.hp-achievement-group>summary::before { content:'›'; color:var(--accent-gold); font-size:1.25rem; line-height:1; }
.hp-achievement-group[open]>summary::before { transform:rotate(90deg); }
.hp-achievement-group>summary>span { margin-left:auto; color:var(--text-muted); font-size:.8125rem; font-weight:400; text-align:right; }
.hp-page .achievement-command-card { min-width:0; padding-right:38px; cursor:pointer; }
.hp-page .achievement-command-info { overflow-wrap:anywhere; }
.hp-achievement-open { display:flex; align-items:flex-start; gap:15px; min-width:0; width:100%; padding:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.hp-achievement-info { border:0; background:transparent; padding:2px; font:inherit; cursor:pointer; }
.hp-page .hp-achievement-info .achievement-tooltip-text { top:28px; left:auto; right:0; width:320px; max-width:calc(100vw - 64px); text-align:left; font-weight:400; pointer-events:auto; }
.hp-page .hp-achievement-info:focus-visible .achievement-tooltip-text { visibility:visible; opacity:1; }
.hp-page[data-ready=true] .hp-achievement-info .achievement-tooltip-text { visibility:hidden; opacity:0; }
.hp-page[data-ready=true] .hp-achievement-info.is-tooltip-visible .achievement-tooltip-text { visibility:visible; opacity:1; }
.hp-page :is(.hp-achievement-open,.hp-achievement-info,.hp-achievement-group>summary):focus-visible { outline:2px solid var(--accent-gold); outline-offset:4px; }
body:has(.hp-achievement-dialog[open]) { overflow:hidden; }
.hp-achievement-dialog { box-sizing:border-box; width:min(440px,calc(100vw - 32px)); max-height:85dvh; margin:auto; padding:32px; border:1px solid var(--fh-rule, #6e7681); border-radius:10px; background:var(--fh-surface, #161b1f); color:var(--text-main); overflow:auto; }
.hp-achievement-dialog::backdrop { background:rgba(0,0,0,.76); }
.hp-achievement-dialog h2 { margin:0 30px 16px 0; font-size:1.5rem; line-height:1.3; font-weight:600; text-transform:none; letter-spacing:normal; overflow-wrap:anywhere; }
.hp-achievement-dialog img { width:96px; height:96px; object-fit:contain; margin-bottom:12px; }
.hp-achievement-dialog p { margin:12px 0 0; color:var(--text-muted); font-size:1rem; line-height:1.6; }
.hp-achievement-dialog .hp-achievement-dialog-meta { color:var(--accent-gold); }
#hp-achievement-dialog-close { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:36px; height:38px; padding:0; border:1px solid var(--fh-rule, #30363d); border-radius:4px; background:transparent; color:var(--text-main); font-size:1.5rem; cursor:pointer; }
#hp-achievement-dialog-close:focus-visible { outline:2px solid var(--accent-gold); outline-offset:3px; }
.hp-table th button { border:0; padding:0; background:transparent; color:inherit; font:inherit; font-weight:inherit; cursor:pointer; text-align:inherit; white-space:nowrap; }
.hp-table td { font-variant-numeric:tabular-nums; }
.hp-table .hp-ship-badge { width:32px; text-align:center; padding-inline:8px; }
.hp-table .hp-ship-badge img { display:block; width:25px; height:25px; margin-inline:auto; object-fit:contain; }
.hp-table td small { display:block; color:var(--text-muted); font-size:.75rem; }
.hp-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.hp-table .hp-expand-cell { width:32px; padding-inline:8px; }
.hp-ship-expand { display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid var(--fh-accent-rule, rgba(197,160,89,.3)); border-radius:4px; background:transparent; color:var(--accent-gold); font:inherit; font-size:1.25rem; cursor:pointer; }
.hp-ship-expand:hover,.hp-ship-expand[aria-expanded=true] { background:var(--fh-accent-tint-10, rgba(197,160,89,.1)); border-color:var(--accent-gold); }
.hp-ship-expand:focus-visible { outline:2px solid var(--accent-gold); outline-offset:3px; }
.hp-ship-name { display:flex; align-items:center; gap:12px; }
.hp-ship-name img { flex:none; width:88px; height:56px; object-fit:contain; }
.hp-table .player-pvp-mini-stat span { text-transform:none; letter-spacing:normal; }
.hp-filters { display:grid; grid-template-columns:minmax(180px,1fr) 128px 120px 100px auto; align-items:end; gap:12px; margin:18px 0; }
.hp-filters label { min-width:0; color:var(--text-muted); font-size:.85rem; }
.hp-filters input,.hp-filters select { display:block; box-sizing:border-box; width:100%; min-width:0; height:40px; padding:8px 10px; margin-top:7px; border:1px solid var(--fh-control-border, #30363d); border-radius:4px; background:var(--card-bg); color:var(--text-main); font:inherit; }
.hp-filters select,.hp-filters option { color-scheme:dark; background:var(--fh-surface, #161b1f); color:var(--text-main); }
.hp-filters option:checked { background:var(--fh-surface, #302b20); color:var(--accent-gold); }
/* The star uses an installed symbol font, without requesting a public font fallback. */
.hp-tier-star,#hp-tier:has(option[value="11"]:checked) { font-family:system-ui,sans-serif; }
.hp-filters .btn { margin:0; height:40px; box-sizing:border-box; border:1px solid var(--fh-control-border, #30363d); min-height:40px; padding:8px 12px; background:transparent; font:inherit; color:var(--text-main); cursor:pointer; }
.hp-page [hidden] { display:none!important; }
.hp-page .player-radar-svg { max-width:100%; }
.hp-page .player-radar-grid { align-items:start; }
.hybrid-player .hybrid-preview-bar nav { flex-wrap:wrap; }
@media(max-width:1250px) { .hp-page .hp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hp-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { .hp-hero-main { align-items:flex-start; flex-wrap:wrap; } .hp-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } .hp-page .hp-hero { padding-top:16px; } }
@media(max-width:850px) { .hp-page .hp-clan-counts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:550px) { .hp-page .hp-grid,.hp-page .hp-clan-counts,.hp-filters { grid-template-columns:minmax(0,1fr); } .hp-facts { gap:18px; } .hp-facts strong { font-size:.9rem; } .hp-page .player-radar-grid { grid-template-columns:minmax(0,1fr); } .hp-disclosure>div { margin-inline:12px; } }
@media(max-width:700px) { .hp-ranked-grid { grid-template-columns:minmax(0,1fr); } .hp-ranked-summary .hp-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(pointer:coarse) { .hp-ship-expand { width:44px; height:44px; } }
@media(max-width:1100px) { .hp-ranked-layout { grid-template-columns:minmax(0,1fr) 110px; } .hp-ranked-layout .ranked-rank-icon { width:110px; height:110px; } .hp-ranked-layout .hp-pairs>div { flex-direction:column; gap:4px; } .hp-ranked-layout dd { text-align:left; } }

@media(max-width:700px) { .hp-page .hp-hero h1 { font-size:2.25rem; } }
@media(min-width:1101px) { .hp-page .hp-ranked-layout .ranked-rank-icon { width:145px; height:145px; object-fit:contain; } }
.hp-page .category-title>i,.hp-page .category-title>svg { display:none; }
.hp-page .category-arrow { color:var(--accent-gold); width:16px; height:16px; }
.hp-page .player-pvp-mini-stat span { text-transform:none; letter-spacing:normal; }

/* Keep the accepted Hybrid spacing inside the native page frame. */
.hp-page .hp-clan-tag { color:var(--text-muted); }
.hp-page .hp-ranking-link { margin:0 0 1em; }
.hp-page .player-section-rank-link { display:inline-flex; align-items:center; gap:6px; margin:0; font:inherit; letter-spacing:normal; white-space:normal; }
.hp-page .hp-disclosure .clan-battle-history-wrap { max-height:none; opacity:1; overflow-x:auto; }
