.pv2-tabs,#bdo-pve-v2{width:100%;max-width:none;margin:0 auto 22px;color:#ededed;font-family:inherit}.pv2-tabs{display:flex;gap:8px;flex-wrap:wrap}.pv2-tabs button,#bdo-pve-v2 .pv2-actions button{padding:10px 14px;border:1px solid #383838;background:#171717;color:#ddd;border-radius:7px;cursor:pointer;font:inherit;font-size:14px}.pv2-tabs button[aria-pressed=true]{background:#303030;border-color:#909090;color:#fff}.pv2-tabs button:hover,#bdo-pve-v2 .pv2-actions button:hover{border-color:#777;background:#262626}.pv2-tabs button:focus-visible,#bdo-pve-v2 .pv2-actions button:focus-visible{outline:2px solid #bcbcbc;outline-offset:2px}[data-pve-calculator][hidden],#bdo-pve-v2[hidden],#bdo-pve-v2 [hidden]{display:none!important}.pv2-advanced{display:grid;gap:16px}.pv2-advanced h2{margin:0;font-size:30px}.pv2-card{background:#151515;border:1px solid #303030;border-radius:10px;padding:20px;min-width:0}.pv2-card h3{font-size:18px;margin:0 0 15px}.pv2-note{font-size:13px;color:#aaa;line-height:1.55;margin:0}.pv2-source{margin-top:16px}.pv2-source a{text-decoration:underline;color:#ddd}.pv2-fields,.pv2-builds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pv2-field{display:grid;gap:6px;font-size:13px;color:#ccc;min-width:0}.pv2-field :is(input,select){width:100%;min-width:0;background:#171717;color:#efefef;border:1px solid #383838;border-radius:8px;min-height:42px;padding:9px 11px;font:inherit;font-size:14px}.pv2-custom{margin-top:14px}.pv2-actions{display:flex;gap:8px;flex-wrap:wrap}.pv2-card .pv2-actions{margin-top:12px}.pv2-error{color:#ffabab;font-size:13px}.pv2-metrics{display:grid;gap:0;margin:15px 0 0}.pv2-metrics div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-top:1px solid #303030}.pv2-metrics dt{color:#aaa;font-size:13px}.pv2-metrics dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.pv2-simple-metrics{margin-top:16px}.pv2-big{font-size:28px;font-variant-numeric:tabular-nums}.pv2-bar{display:flex;align-items:center;gap:12px;margin-top:9px}.pv2-bar span{width:15px}.pv2-bar i{display:block;height:12px;border-radius:4px;background:#a7a7a7;max-width:calc(100% - 27px)}.pv2-bar i[data-bar=B]{background:#b6bba8}.pv2-chart{display:block;width:100%;height:auto;overflow:visible;color:#ddd}.pv2-chart text{font:12px Arial,sans-serif;fill:#bbb}.pv2-gridline{stroke:#333;stroke-width:1}.pv2-line-initial{stroke:#777;stroke-width:3}.pv2-line-full{stroke:#c1d0b6;stroke-width:3}.pv2-line-over{stroke:#bdab86;stroke-width:3}.pv2-marker-line{stroke:#c6c6c6;stroke-dasharray:3 4}.pv2-mark-A{fill:#fff;stroke:#000;stroke-width:1}.pv2-mark-B{fill:#c2caa8;stroke:#000;stroke-width:1}.pv2-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:4px 0 10px}.pv2-initial{color:#a2a2a2}.pv2-full{color:#c1d0b6}.pv2-over{color:#bdab86}.pv2-scroll{overflow-x:auto}.pv2-scroll table{border-collapse:collapse;width:100%;margin-top:16px;font-size:14px}.pv2-scroll th,.pv2-scroll td{text-align:left;padding:10px 8px;border-bottom:1px solid #303030}.pv2-scroll :is(th,td):not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:760px){.pv2-builds{grid-template-columns:1fr}.pv2-card{padding:14px}}@media(max-width:470px){.pv2-fields{grid-template-columns:1fr}.pv2-chart text{font-size:16px}}

.pv2-jump{stroke:#929292;stroke-width:1.5;stroke-dasharray:4 5}

/* Common PvE control styling; the original fields and picker keep their scoped Astro CSS. */
#bdo-pve-v2 .pv2-build-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px; }
#bdo-pve-v2 .pv2-field { color:#e3e3e3;font-size:13px;font-weight:650;gap:7px; }
#bdo-pve-v2 .pv2-field :is(input,select) { font-weight:400;outline:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease; }
#bdo-pve-v2 .pv2-field :is(input,select):focus {border-color:#666;box-shadow:0 0 0 2px rgba(255,255,255,.045);outline:none;}
#bdo-pve-v2 .pv2-build-fields .pve-field {min-width:0;}
#bdo-pve-v2 .pv2-build-fields .pve-field--wide {grid-column:1/-1;}
#bdo-pve-v2 .pve-spot-option[hidden] {display:none!important;}
#bdo-pve-v2 .pve-spot-select__menu {z-index:40;}
#bdo-pve-v2 .pv2-card {background:var(--color-panel-bg,#161616);border-color:var(--color-border,#2d2d2d);}
@media(max-width:620px){#bdo-pve-v2 .pv2-build-fields {grid-template-columns:minmax(0,1fr);gap:13px;}}

/* V2.3: separate stat increments; simultaneous A/B gains. */
#bdo-pve-v2 .pv2-sensitivity {table-layout:fixed;min-width:530px;}
#bdo-pve-v2 .pv2-sensitivity th {font-weight:600;}
#bdo-pve-v2 .pv2-sensitivity th:first-child {width:40%;white-space:normal;}
#bdo-pve-v2 .pv2-sensitivity th:nth-child(2) {width:26%;}
#bdo-pve-v2 .pv2-sensitivity th:nth-child(n+3) {width:17%;}
#bdo-pve-v2 .pv2-sensitivity small {display:block;color:#aaa;font-size:11px;font-weight:400;line-height:1.35;white-space:normal;margin-top:4px;}
#bdo-pve-v2 .pv2-sensitivity .pv2-increase {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;max-width:190px;margin-left:auto;}
#bdo-pve-v2 .pv2-sensitivity .pv2-increase input {text-align:right;min-width:0;font-variant-numeric:tabular-nums;}
#bdo-pve-v2 .pv2-sensitivity .pv2-increase input[aria-invalid="true"] {border-color:#b66;}
#bdo-pve-v2 .pv2-sensitivity td:nth-child(n+3) {vertical-align:middle;}
#bdo-pve-v2 .pv2-sensitivity td:nth-child(n+3) strong {font-weight:650;}

/* V2.6: compact neutral AP chart, precise hover and keyboard cursor. */
#bdo-pve-v2 .pv2-chart {height:220px;width:100%;overflow:hidden;cursor:crosshair;touch-action:pan-y;outline-offset:4px;}
#bdo-pve-v2 .pv2-chart text {font:11px Arial,sans-serif;fill:#a5a5a5;}
#bdo-pve-v2 .pv2-gridline {stroke:#292929;stroke-width:1;}
#bdo-pve-v2 :is(.pv2-line-initial,.pv2-line-full,.pv2-line-over) {stroke:#bcbcbc;stroke-width:1.7;}
#bdo-pve-v2 .pv2-line-initial {stroke:#858585;}
#bdo-pve-v2 .pv2-jump {stroke:#777;stroke-width:1;stroke-dasharray:3 4;}
#bdo-pve-v2 .pv2-mark-A {fill:#ededed;stroke:#141414;stroke-width:1;}
#bdo-pve-v2 .pv2-mark-B {fill:#141414;stroke:#ededed;stroke-width:1.5;}
#bdo-pve-v2 .pv2-crosshair {stroke:#747474;stroke-width:1;stroke-dasharray:3 4;}
#bdo-pve-v2 .pv2-hover-dot {fill:#f0f0f0;stroke:#171717;stroke-width:1.5;}
#bdo-pve-v2 .pv2-tip-bg {fill:#202020;stroke:#555;stroke-width:1;}
#bdo-pve-v2 .pv2-chart .pv2-tip-text {font:12px Arial,sans-serif;fill:#ededed;}
#bdo-pve-v2 [data-chart-note] {margin-top:6px;font-size:12px;}
