/* V9: structural profile refinement, retaining the restored KEGT palette. */
.profile-v9{max-width:820px}.profile-v9 .profile-header{gap:14px;padding-bottom:18px}.profile-v9 .profile-header h1{font-size:clamp(25px,4vw,36px);overflow-wrap:anywhere}.profile-v9 .profile-photo{width:64px;height:64px;border-radius:8px}.profile-v9 .profile-header p{margin-top:4px}.profile-v9 .season-summary{margin-top:18px}.profile-v9 .profile-scope{margin:0 0 12px;padding:0;background:none;border:0;font-size:12px}.profile-v9 .profile-metrics{background:#eaf0e5;border:1px solid #cbd8c1;border-radius:5px}.profile-v9 .profile-metrics>div{padding:12px 14px}.profile-v9 .profile-metrics strong{font-size:30px}.profile-disclosures{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;align-items:start}.profile-panel{border:1px solid #cbd8c1;background:#f0f4e9;border-radius:5px;overflow:hidden}.profile-panel>summary,.history-round>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:14px 16px;color:#163f2f;font-weight:700}.profile-panel>summary::-webkit-details-marker,.history-round>summary::-webkit-details-marker{display:none}.profile-panel summary small{display:block;font-size:11px;font-weight:400;color:#53674e;margin-top:3px}.disclosure-chevron{flex:none;font-size:21px;line-height:1}.profile-panel[open]>summary .disclosure-chevron,.history-round[open]>summary .disclosure-chevron{transform:rotate(180deg)}.profile-panel[open]>summary{border-bottom:1px solid #cbd8c1}.profile-panel-body{padding:14px 16px;background:#fff}.profile-panel-body p:first-child{margin-top:0}.profile-panel-body p:last-child{margin-bottom:0}.profile-panel h3{font-size:13px;margin:16px 0 10px}.profile-v9 .profile-achievements{margin:0;gap:0}.profile-v9 .profile-achievements li{background:transparent;padding:9px 11px;margin-bottom:8px;font-size:13px}.oom-contributions{list-style:none;margin:0;padding:0;font-size:12px}.oom-contributions li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #d4decd}.oom-contributions li:last-child{border:0}.oom-contributions strong{white-space:nowrap}.profile-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.profile-section-heading h2{margin:0;font-size:25px}.profile-section-heading>span{font-size:11px;color:#61705a}.profile-v9 .profile-history{margin:0}.profile-v9 .profile-history>li{display:block;padding:0;border:0;margin:0 0 8px}.history-round{background:white;border:1px solid #d4decd;border-radius:5px}.history-round>summary{font-weight:400;padding:13px 14px;gap:10px}.history-event{min-width:0;flex:1}.history-event strong{font-size:15px;display:block;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}.history-date{font-size:11px;color:#61705a;display:block}.history-score{text-align:right;flex:none}.history-score>strong{font:26px/1.15 Georgia,serif;display:block;color:#153f2f}.history-score strong small{font:11px 'DM Sans',sans-serif}.history-score>span{font-size:11px;color:#61705a}.history-round-body{padding:0 14px 14px;border-top:1px solid #d4decd}.round-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.round-facts dt{font-size:11px;color:#61705a}.round-facts dd{margin:3px 0 0;font-size:13px;font-weight:600}.profile-scorecard-link{display:inline-flex;min-height:44px;align-items:center;color:#153f2f;font-size:12px;text-underline-offset:4px}.performance-panel{margin-top:24px}.performance-chart{margin:0}.performance-scroll{overflow-x:auto;max-width:100%}.performance-chart svg{width:100%;display:block}.performance-chart figcaption{font-size:11px;color:#61705a;margin-top:8px}.performance-grid{stroke:#d4decd;stroke-width:1}.performance-reference{stroke:#84631e;stroke-width:1.5}.performance-line{stroke:#23563e;stroke-width:2.5}.performance-point{fill:#23563e;stroke:white;stroke-width:2}.performance-chart text{font:12px 'DM Sans',sans-serif;fill:#3e5744}.performance-chart .point-label{font-weight:700;fill:#153f2f}.performance-chart .reference-label{fill:#76591c;font-size:11px;paint-order:stroke;stroke:#fff;stroke-width:4px}.all-appearances>summary{min-height:44px;cursor:pointer;color:#153f2f;font-size:13px;padding:10px 0}.all-appearances .when-open{display:none}.all-appearances[open] .when-open{display:inline}.all-appearances[open] .when-closed{display:none}.profile-v9 summary:focus-visible{outline:2px solid #927327;outline-offset:-3px}
@media(max-width:600px){.profile-disclosures{grid-template-columns:1fr;gap:8px;margin-top:16px}.profile-panel>summary{padding:12px 14px;min-height:60px}.profile-panel-body{padding:12px 14px}.profile-v9 .profile-metrics>div{padding:10px 8px}.profile-v9 .profile-metrics strong{font-size:28px}.profile-v9 .profile-metrics span{font-size:11px}.history-round>summary{padding:12px 10px}.history-event strong{font-size:14px}.profile-v9 section{margin-top:22px}.profile-v9 .season-summary{margin-top:15px}.profile-section-heading h2{font-size:23px}.performance-panel .profile-panel-body{padding:10px 5px}.performance-chart figcaption{padding:0 7px}.history-score>strong{font-size:25px}}

.profile-v9 .overline{color:#765e30}
/* Final approved profile order and six equal season statistics. */
.profile-v9 .six-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,1fr);overflow:hidden}
.profile-v9 .six-metrics>.profile-stat{min-width:0;display:flex;flex-direction:column;padding:12px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-v9 .six-metrics>.profile-stat:nth-child(3n){border-right:0}
.profile-v9 .six-metrics>.profile-stat:nth-child(n+4){border-bottom:0}
.profile-v9 .six-metrics>.profile-stat>span{font-size:12px;line-height:1.35;min-height:2.7em}
.profile-v9 .six-metrics small{font-size:10px;line-height:1.4;color:var(--muted);margin-top:5px}
.oom-position-unavailable{cursor:default}.profile-v9 .oom-panel{margin-top:20px}.profile-v9 .performance-panel{margin-top:10px}
@media(max-width:600px){.profile-v9 .six-metrics>.profile-stat{padding:10px 7px}.profile-v9 .six-metrics>.profile-stat>span{font-size:11px}.profile-v9 .six-metrics strong{font-size:27px}.profile-v9 .six-metrics small{font-size:9px}.profile-v9 .oom-panel .profile-panel-body{padding:12px 8px}}
