/* Compact result UI. Native combat and saved input styles are independent. */
.v4-simulation-panel{container-type:inline-size;padding:12px;margin-top:12px}
.v4-simulation-head{margin-bottom:10px;gap:8px}.v4-simulation-head h3{font-size:20px}.v4-simulation-kicker{display:none}.v4-preparing{padding:5px 8px;font-size:12px}
.v4-battle-settings>summary{padding:9px 11px;font-size:12px}.v4-battle-settings>summary small{font-size:12px}
.v4-settings-body{padding:8px 10px;display:grid;gap:8px}.v4-settings-body .v4-input-fields{margin:0;gap:8px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.v4-settings-body .v4-input-field{gap:4px;font-size:12px}.v4-input-field>select,.v4-duration-input{min-height:36px}.v4-duration-input input{padding:8px 0}
.v4-settings-body .v4-start-conditions{padding:0;border:0}#v4ScenarioInputs .v4i-grid{margin:0;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}#v4ScenarioInputs .v4i-field{gap:4px}
.v4-visually-hidden,.v4-duration-note{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.v4-simulation-start{min-height:38px;margin:9px 0 5px;padding:8px;font-size:13px}.v4-simulation-start:not(:disabled){background:#167c82;border-color:#47c0c3;color:#f0ffff;cursor:pointer}.v4-simulation-start:not(:disabled):hover{background:#1a9298}
.v4-encounter-summary{margin:0 0 8px;color:#9ebbc8;font-size:12px;line-height:1.5}
.v4-encounter-summary[data-clear-result="possible"]{color:#76ddca;font-size:12px;font-weight:700}.v4-encounter-summary[data-clear-result="impossible"]{color:#e9bd83;font-size:12px;font-weight:700}
.v4-locked-content .v4-connection-check{margin:4px 0 8px;font-size:12px;line-height:1.4}
.v4-result-summary{gap:6px;margin-bottom:8px}.v4-result-summary article{padding:9px 10px}.v4-result-summary h4{font-size:12px}.v4-result-summary strong{margin:5px 0 0;font-size:19px;white-space:nowrap;letter-spacing:-.025em}.v4-result-summary article>span{display:none}.v4-result-summary article:last-child strong{font-size:16px;letter-spacing:-.04em}
.v4-damage-breakdown{padding:10px;border:1px solid #2a4a5b;border-radius:11px;background:#0b1d27;margin-bottom:9px}.v4-damage-breakdown:empty{display:none}
.v4-share-heading,.v4-share-legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:12px}.v4-share-heading strong{color:#dcebf1;font-size:12px}.v4-share-heading span{color:#92afbc;font-size:12px}
.v4-share-bar{height:8px;border-radius:6px;overflow:hidden;background:#af8afb;margin:8px 0}.v4-share-basic{display:block;height:100%;background:#60dcc9}.v4-share-legend span:first-child{color:#60dcc9}.v4-share-legend span:nth-child(2){color:#c1a6ff}.v4-share-legend strong{color:#ffd277}
.v4-damage-skill-list{display:grid;grid-template-columns:minmax(0,1fr);column-gap:16px;margin-top:8px;padding-top:5px;border-top:1px solid #29414f}
.v4-damage-skill{display:grid;grid-template-columns:minmax(0,1fr) auto 48px;align-items:center;gap:6px;min-height:28px;font-size:12px;border-bottom:1px solid #18323f}.v4-damage-skill .v4-lane-label{grid-template-columns:22px minmax(0,1fr)}.v4-damage-skill img{width:22px;height:22px}.v4-skill-amount{color:#d6e6ee;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.v4-skill-share{text-align:right;color:#b79ce8;font-size:12px;font-variant-numeric:tabular-nums}.v4-damage-skill.is-basic .v4-skill-share{color:#60dcc9}.v4-damage-skill.is-companion .v4-skill-share,.v4-damage-skill.is-companion .v4-lane-label strong{color:#ffd277}
.v4-analysis-grid{display:grid;gap:9px;min-width:0;align-items:start}.v4-damage-chart{margin:0;padding:10px 8px 0}.v4-graph-stage{margin-top:5px}.v4-graph-stage svg{height:180px;min-height:0;outline-offset:2px}.v4-graph-stage svg:focus-visible{outline:2px solid #78d9d4;border-radius:5px}
.v4-timeline-panel{min-width:0;padding:10px;border:1px solid #2a4a5b;border-radius:11px;background:#0b1d27}.v4-timeline-panel h4{margin:0;color:#c9e0e9;font-size:12px}.v4-timeline-panel>p{font-size:12px;color:#91afbd;margin:7px 0}
.v4-lanes-grid{display:grid;gap:10px;min-width:0}.v4-lanes-grid>section{min-width:0}.v4-lanes-grid h5{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0;font-size:12px;color:#c6dce6}.v4-lanes-grid h5 small{font-size:12px;color:#829eac;font-weight:400}.v4-buff-details h5{color:#c2abeb}
.v4-timeline-scroll{max-height:none;overflow:visible}.v4-lane-axis,.v4-timeline-lane{display:grid;grid-template-columns:150px minmax(0,1fr);gap:6px;align-items:center}
.v4-lane-axis{font-size:12px;color:#8ba9b7;padding:4px 0;line-height:1.2}.v4-lane-axis>div{display:flex;justify-content:space-between}.v4-lane-axis>span{font-size:12px;white-space:nowrap}
.v4-timeline-lane{padding:1px 0;border-top:1px solid #203845;height:28px;min-height:0;box-sizing:border-box}
.v4-lane-label{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:4px;align-items:center;min-width:0}.v4-lane-label img{width:24px;height:24px;object-fit:contain}.v4-icon-placeholder{width:22px;height:22px;display:grid;place-items:center;border-radius:5px;background:#23404b;color:#93b9c8;font-size:12px}
.v4-lane-label strong{display:block;font-size:12px;color:#c5dae3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.v4-lane-label small{font-size:12px;color:#8caab8;white-space:nowrap;font-variant-numeric:tabular-nums}.is-companion .v4-lane-label small{color:#f2c977}
.v4-lane-track{position:relative;height:24px;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#203845 calc(25% - 1px),#203845 25%)}.v4-lane-track:after{content:'';position:absolute;left:var(--playhead,0%);top:0;bottom:0;border-left:1px solid #ddedf4;pointer-events:none}
.v4-cast-mark{position:absolute;top:6px;transform:translateX(-50%);width:6px;height:12px;padding:0;border:0;border-radius:2px;background:#70dcce;cursor:help}.is-companion .v4-cast-mark{background:#f2c977}
.v4-buff-band{position:absolute;top:6px;height:12px;min-width:1px;padding:0;border:0;border-radius:2px;background:#b69bea;cursor:help}.is-buff .v4-lane-label{grid-template-columns:24px minmax(0,1fr)}.is-buff.is-active .v4-lane-label strong{color:#d0b5ff}
.v4-peak-summary{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 10px}.v4-peak-info{font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-size:12px;line-height:1.2;color:#ffdc8c;background:#2c2a20;border:1px solid #74603b;border-radius:6px;padding:5px 7px;cursor:help}
.v4-cast-mark:hover,.v4-buff-band:hover{outline:2px solid #fff;outline-offset:2px;z-index:5}
.v4-graph-tooltip{position:absolute;z-index:20;top:24px;width:330px;max-width:100%;padding:10px;border:1px solid #52717d;border-radius:9px;background:#112732;box-shadow:0 6px 25px #0008;pointer-events:none;box-sizing:border-box;color:#d6e6ee}.v4-tooltip-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:12px}.v4-graph-tooltip>small{display:block;font-size:12px;color:#95b0be;margin:3px 0 6px}.v4-tooltip-skills p{font-size:12px;margin:5px 0}.v4-graph-tooltip .v4-damage-skill{min-height:25px}.v4-graph-tooltip .v4-lane-label strong{font-size:12px}.v4-graph-tooltip .v4-lane-label img{width:20px;height:20px}
.v4-playback-controls{margin-top:9px}.v4-playback-status{margin:6px 0}.v4-analysis-grid [hidden]{display:none!important}
@container(min-width:430px){.v4-lanes-grid{grid-template-columns:1fr 1fr;gap:14px}.v4-lane-axis,.v4-timeline-lane{grid-template-columns:118px minmax(0,1fr)}.v4-buff-details .v4-lane-axis,.v4-buff-details .v4-timeline-lane{grid-template-columns:105px minmax(0,1fr)}.v4-damage-skill-list{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-graph-stage svg{height:190px}}
@container(min-width:700px){.v4-settings-body{grid-template-columns:1fr 1fr}.v4-lane-axis,.v4-timeline-lane{grid-template-columns:150px minmax(0,1fr)}.v4-buff-details .v4-lane-axis,.v4-buff-details .v4-timeline-lane{grid-template-columns:130px minmax(0,1fr)}}
@container(min-width:1100px){.v4-analysis-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr)}}
@media(max-width:600px){.v4-simulation-panel{padding:10px;margin-top:10px}.v4-simulation-head h3{font-size:19px}.v4-result-summary{gap:5px}.v4-result-summary article{padding:7px 8px}.v4-result-summary strong{font-size:17px}.v4-result-summary article:last-child{padding:7px 8px}.v4-result-summary article:last-child strong{font-size:14px}.v4-timeline-panel{padding:8px}.v4-lane-axis,.v4-timeline-lane{grid-template-columns:142px minmax(0,1fr)}.v4-lanes-grid h5 small{font-size:12px}.v4-share-legend{font-size:12px}.v4-graph-stage svg{height:155px}}

.v4-damage-chart .v4-playback-status{margin-bottom:10px}
.v4-state-lanes{display:grid;gap:12px;min-width:0}.v4-debuff-details{min-width:0}.v4-debuff-details h5{color:#f2b58a}.v4-debuff-band{background:#e6a476}.is-debuff .v4-lane-label{grid-template-columns:24px minmax(0,1fr)}.is-debuff.is-active .v4-lane-label strong{color:#ffd1af}.v4-state-empty{margin:6px 0;font-size:12px;color:#8ba9b7}
@container(min-width:430px){.v4-debuff-details .v4-lane-axis,.v4-debuff-details .v4-timeline-lane{grid-template-columns:105px minmax(0,1fr)}}
@container(min-width:700px){.v4-debuff-details .v4-lane-axis,.v4-debuff-details .v4-timeline-lane{grid-template-columns:130px minmax(0,1fr)}}
.v4-hit-record{padding:0;border-style:solid}.v4-hit-record>summary{margin:0;padding:11px 12px;list-style:none;cursor:pointer;flex-wrap:nowrap}.v4-hit-record>summary::-webkit-details-marker{display:none}.v4-hit-record>summary strong{color:#aac7d6;font-size:12px}.v4-hit-record>summary span{margin-left:auto}.v4-hit-record>summary:after{content:"+";color:#83bfd2;font-size:18px}.v4-hit-record[open]>summary:after{content:"−"}.v4-hit-record>summary:focus-visible{outline:2px solid #7cdaef;outline-offset:-3px;border-radius:10px}.v4-hit-record-body{padding:0 12px 12px}

#v4ScenarioInputs .v4i-dummy-immunity{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:#bfd8e4;font-size:12px;cursor:pointer}#v4ScenarioInputs .v4i-dummy-immunity input{width:15px;height:15px;margin:0;accent-color:#70d4c0}#v4ScenarioInputs .v4i-dummy-immunity small{margin-left:auto;color:#849fac;font-size:12px}

/* Boss self-effects and received debuffs use the same compact clocked lanes. */
.v4-boss-effect-details{min-width:0}.v4-boss-effect-details h5{color:#e5ca91}.is-boss-buff .v4-lane-label,.is-player-debuff .v4-lane-label{grid-template-columns:24px minmax(0,1fr)}.v4-boss-buff-band{background:#d2b56c}.v4-player-debuff-band{background:#db927f}.is-boss-buff.is-active .v4-lane-label strong{color:#f1d79c}.is-player-debuff.is-active .v4-lane-label strong{color:#f7b6a4}
@container(min-width:430px){.v4-boss-effect-details .v4-lane-axis,.v4-boss-effect-details .v4-timeline-lane{grid-template-columns:105px minmax(0,1fr)}}
@container(min-width:700px){.v4-boss-effect-details .v4-lane-axis,.v4-boss-effect-details .v4-timeline-lane{grid-template-columns:130px minmax(0,1fr)}}
