/* Player dossiers extend the existing community theme. */
.profile-mode .hero,.profile-mode .records-section,.profile-mode .closing-line{display:none}
.profile-mode .survivors-section{padding-top:38px;padding-bottom:38px}
.profile-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:32px 0 16px}
.profile-section-heading h4,.history-heading h4{font:700 27px/1.15 var(--display);letter-spacing:.6px;margin:0}
.profile-section-heading p{font-size:14px;color:var(--muted);margin:0}
.player-stat-list{margin:0;border-top:1px solid var(--line)}
.player-stat-row{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) 112px;align-items:center;gap:24px;padding:20px 22px;border-bottom:1px solid var(--line);background:#1b1e172b}
.player-stat-row:nth-child(even){background:#22251b55}
.player-stat-row dt{margin:0;min-width:0}.stat-title{display:block;font-size:16px;font-weight:800;color:#e2e3d5}
.stat-explanation{display:block;font-size:12px;color:#a5ad96;line-height:1.65;margin-top:6px;max-width:560px}
.player-stat-row dd{margin:0}.stat-current strong{display:block;font:700 32px/1.15 var(--display);letter-spacing:.3px;color:#e4e7d8}
.stat-current small{display:block;font-size:11px;line-height:1.6;color:#9ca88c;margin-top:6px}
.stat-trend,.history-refresh,.history-ranges button,.history-sample-controls button{border:1px solid #596347;background:#252d1e;color:#d4ddc2;font:700 12px/1.35 var(--body);padding:10px 12px;min-height:42px}
.stat-trend:hover,.history-refresh:hover,.history-ranges button:hover,.history-sample-controls button:hover{border-color:#d97853;color:#f2dfc9}
.stat-trend[aria-pressed=true]{color:#ecab7d;border-color:#b9764c;background:#54312133}
.player-history{scroll-margin-top:24px;margin-top:38px;border:1px solid #48533b;background:linear-gradient(125deg,#22291d,#191d17);padding:26px}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}
.history-select-label{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;color:#aeb99c}
.history-select{background:#1c2318;border:1px solid #5c684b;padding:11px 30px 11px 12px;color:#e2e6d6;font:600 14px var(--body);min-width:220px;max-width:100%;color-scheme:dark}
.history-select option{background:#20261b;color:#e2e6d6}.history-select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.history-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 15px}.history-ranges{display:flex;gap:7px;flex-wrap:wrap}
.history-ranges button{min-height:38px;font-size:12px;background:transparent;color:#b1bba0;padding:8px 12px}
.history-ranges button[aria-pressed=true]{background:#d46b3f;color:#181b14;border-color:#d46b3f}
.history-refresh{background:transparent;flex-shrink:0;font-size:11px;min-height:38px;padding:8px 11px}
.history-refresh:disabled,.history-sample-controls button:disabled{opacity:.4;cursor:default}
.history-status{font-size:12px;color:#b2bea0;line-height:1.7;margin:12px 0 22px;min-height:20px}
.history-summary>strong{font:700 31px/1.2 var(--display);display:block;letter-spacing:.5px;color:#e7eadc}
.history-selected-note{font-size:13px;line-height:1.7;color:#a8b595;display:block;margin:5px 0 20px;max-width:850px}
.history-plot{background:#141a12;border:1px solid #37442c;min-height:260px;padding:12px 6px 0;position:relative}
.history-plot svg{display:block;width:100%;height:auto;min-height:240px;overflow:visible}
.history-grid{stroke:#b1bfa01f;stroke-width:1;stroke-dasharray:3 5}.history-axis{font:12px var(--body);fill:#a7b797}.history-axis-unit{font:11px var(--body);fill:#9daf8c;text-transform:uppercase;letter-spacing:.8px}
.history-line{fill:none;stroke:#df8358;stroke-width:2.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.history-point{fill:#c88558;stroke:#151b13;stroke-width:1.5;cursor:crosshair;vector-effect:non-scaling-stroke}.history-point.selected{fill:#f3d2a5;stroke:#e59a6d;stroke-width:2;r:5px}
.history-marker{stroke:#e7bb7b88;stroke-width:1;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}
.history-empty{display:grid;place-items:center;text-align:center;min-height:240px;padding:30px;font-size:15px;line-height:1.8;color:#aebd9d}
.history-readout{font-size:13px;color:#d2ddc2;line-height:1.8;margin:15px 0 12px;min-height:24px}
.history-sample-controls{display:flex;gap:15px;align-items:center}.history-sample-controls button{min-width:90px;background:#222c1b;font-size:12px}
.history-scrubber{width:100%;min-width:0;accent-color:#dd8959;cursor:pointer;height:34px}.history-scrubber:disabled{opacity:.5;cursor:default}
.history-data-table{margin-top:20px;border-top:1px solid #424c36;padding-top:15px}.history-data-table summary{cursor:pointer;color:#b6c4a4;font-size:13px;width:max-content;max-width:100%}
.history-table-scroll{max-height:310px;overflow:auto;margin-top:14px}.history-data-table table{width:100%;border-collapse:collapse;font-size:13px}.history-data-table th{text-align:left;color:#cdd9bb;font-size:12px;background:#232d1d;position:sticky;top:0}.history-data-table th,.history-data-table td{padding:10px 14px;border-bottom:1px solid #3d4a31}.history-data-table td{color:#aebd9e}.history-data-table th:last-child,.history-data-table td:last-child{text-align:right}
.history-footnote{color:#91a27e;font-size:12px;line-height:1.8;margin:22px 0 0;max-width:940px}
@media(max-width:800px){.history-heading{align-items:flex-start;flex-direction:column;gap:18px}.history-select-label{width:100%;justify-content:space-between}.history-select{min-width:0;flex:1;max-width:340px}.player-stat-row{gap:18px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 105px;padding-inline:18px}.profile-section-heading{display:block}.profile-section-heading p{margin-top:9px}.player-history{padding:22px}.history-tools{align-items:flex-start}.history-refresh{font-size:10px}.history-axis{font-size:13px}}
@media(max-width:520px){.profile-mode .survivors-section{padding-top:28px}.profile-section-heading{margin-top:27px}.profile-section-heading h4,.history-heading h4{font-size:25px}.profile-section-heading p{font-size:13px;line-height:1.7}.player-stat-row{grid-template-columns:minmax(0,1fr) 108px;gap:10px 15px;padding:19px 15px}.player-stat-row dt{grid-column:1;grid-row:1 / 3}.stat-title{font-size:14px}.stat-explanation{font-size:11px;line-height:1.65}.stat-current strong{font-size:29px}.stat-current small{font-size:10px;line-height:1.6}.stat-trend{min-height:36px;padding:7px 11px;font-size:11px}.stat-trend-control{grid-column:2}.player-history{padding:19px 14px;margin-top:28px}.history-select-label{display:block}.history-select{display:block;width:100%;max-width:none;margin-top:8px;font-size:16px}.history-tools{display:block;margin-top:17px}.history-ranges{gap:5px}.history-ranges button{padding:8px 9px;font-size:11px}.history-refresh{margin-top:12px;font-size:11px}.history-status{font-size:11px;line-height:1.8;margin-bottom:18px}.history-selected-note{font-size:12px}.history-plot{padding:8px 0 0;min-height:210px;overflow:hidden}.history-plot svg{width:100%;max-width:100%;min-height:230px;height:auto}.history-plot svg text{font-size:17px}.history-plot{overflow:hidden}.history-empty{min-height:210px;font-size:13px;padding:20px}.history-readout{font-size:12px;line-height:1.8}.history-sample-controls{gap:10px}.history-sample-controls button{min-width:69px;padding:8px;font-size:11px;min-height:38px}.history-footnote{font-size:11px}.history-data-table td,.history-data-table th{padding:10px 8px;font-size:11px}.history-data-table summary{font-size:12px}}

/* Dated evidence density and explicit visual guides. */
.stat-history-count{display:block;color:#9eae8b;font-size:10px;line-height:1.5;margin-top:6px;text-align:center}
.history-coverage{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;margin:-4px 0 13px;color:#b8c4a8;font-size:12px;line-height:1.7}
.history-coverage>strong{color:#e4c09a;font-size:13px}.history-net-change{color:#d6bb95}
.history-sparse{font-size:12px;line-height:1.7;color:#a7b695;max-width:850px;margin:0 0 14px}
.history-guide{stroke:#dc9c73;stroke-width:1.8;stroke-dasharray:5 6;opacity:.7;vector-effect:non-scaling-stroke}
.history-legend{display:flex;flex-wrap:wrap;gap:9px 18px;font-size:11px;line-height:1.6;color:#adbd9e;margin:0 0 14px}
.history-legend>span{display:flex;align-items:center;gap:7px}.history-legend>span:before{content:'';display:block;width:20px;height:0;border-top:2px solid #df8358}
.history-legend .history-legend-dots:before{width:7px;height:7px;border:0;border-radius:50%;background:#c88558}
.history-legend .history-legend-guide:before{border-top-style:dashed;border-color:#dc9c73}
@media(max-width:520px){.history-coverage{display:block;font-size:11px}.history-coverage>*{display:block;margin:5px 0}.history-legend{gap:7px 13px;font-size:10px}.history-sparse{font-size:11px}.stat-history-count{font-size:9px;text-align:left}}

/* Log-derived activity is visibly separate from the native player totals. */
.recorded-combat-section{margin-top:34px}.combat-intro{color:#a8b595;font-size:13px;line-height:1.8;margin:-2px 0 18px;max-width:880px}
.combat-activity-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.combat-activity-card{padding:20px;border:1px solid #48533b;background:#242b1e66}
.combat-activity-card h5{font:700 21px/1.2 var(--display);letter-spacing:.3px;color:#dce2d1;margin:0 0 13px}.combat-event-count{display:block;color:#e4c09a;font-size:16px;line-height:1.5}.combat-event-coverage{display:block;min-height:36px;color:#a8b595;font-size:11px;line-height:1.7;margin:7px 0 14px}
.combat-trend,.history-modes button{border:1px solid #596347;background:#252d1e;color:#d4ddc2;font:700 12px/1.35 var(--body);padding:10px 12px;min-height:42px}.combat-trend:hover,.history-modes button:hover{border-color:#d97853;color:#f2dfc9}
.combat-trend[aria-pressed=true],.history-modes button[aria-pressed=true]{color:#ecab7d;border-color:#b9764c;background:#54312166}.history-modes{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 -3px}.history-modes button{min-height:38px;padding:8px 12px}
.combat-coverage-note{font-size:12px;line-height:1.8;color:#d7ba94;margin:0 0 15px}
@media(max-width:800px){.combat-activity-cards{gap:10px}.combat-activity-card{padding:16px}.combat-activity-card h5{font-size:20px}.combat-event-count{font-size:14px}}
@media(max-width:520px){.combat-activity-cards{grid-template-columns:1fr}.combat-activity-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px}.combat-activity-card h5{grid-column:1/-1;margin-bottom:7px}.combat-event-count{font-size:14px}.combat-event-coverage{min-height:0;grid-column:1;grid-row:3;margin:0}.combat-trend{grid-column:2;grid-row:2/4;max-width:135px;font-size:11px;padding:8px 10px}.combat-intro{font-size:12px}.history-modes{gap:6px}.history-modes button{font-size:11px;padding:8px 10px}.combat-coverage-note{font-size:11px}}

.history-point.dense:not(.selected){r:2px;stroke-width:.7}

/* Put observed changes first; quiet/single-value records stay compact. */
.player-stat-detail>.player-history{margin-top:0}
.player-current-stats{margin-top:34px;border-top:1px solid #48533b;border-bottom:1px solid #48533b}
.player-current-stats>summary{padding:20px 0;cursor:pointer;color:#dce2d1;font-size:16px;font-weight:700}
.player-current-stats>summary::marker{color:#df8358}
.player-current-stats>summary small{display:inline-block;margin-left:18px;color:#a8b595;font-size:12px;font-weight:400}
.player-current-stats[open]>summary{border-bottom:1px solid #3d4734}
.player-current-stats>.profile-section-heading{margin-top:22px}
.history-no-trend .history-plot{min-height:0;padding:0;border-style:dashed}
.history-no-trend .history-empty{min-height:0;padding:22px;font-size:13px}
.history-flat{padding:20px 24px;display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 20px}
.history-flat>strong{font:700 32px/1.2 var(--display);color:#e4c09a}
.history-flat>span{font-size:14px;color:#d2ddc2}.history-flat>small{font-size:12px;color:#a8b595}
.history-flat .history-refresh{margin:0 0 0 auto}
.history-select optgroup{color:#b5c4a4;font-weight:700}.history-select option{font-weight:400}
@media(max-width:520px){.player-current-stats>summary small{display:block;margin:7px 0 0 18px}.history-flat{padding:16px;gap:8px 14px}.history-flat>strong{font-size:29px}.history-flat>small{display:block;flex-basis:100%;font-size:11px}.history-flat .history-refresh{margin:4px 0 0}.player-current-stats>summary{font-size:15px}}
