.dv-view {
  --dv-glass: linear-gradient(138deg, rgb(90 133 116 / .13), rgb(35 61 60 / .08) 55%, rgb(77 105 119 / .11)), rgb(17 34 35 / .68);
  --dv-edge: rgb(181 225 207 / .19);
  --dv-sheen: inset 0 1px 0 rgb(230 255 244 / .075), 0 5px 15px rgb(0 11 14 / .15);
  font-variant-numeric: tabular-nums;
}
.dv-view :is(.summary-tile,.data-row,.parlay-card,.dv-log,.inline-empty) {
  background: var(--dv-glass);
  border-color: var(--dv-edge);
  box-shadow: var(--dv-sheen);
  backdrop-filter: blur(15px) saturate(115%);
}
.dv-view .summary-tile {
  border-radius: 13px;
  background: radial-gradient(ellipse at 0 0,rgb(143 215 163 / .115),transparent 75%), var(--dv-glass);
}
.dv-view .summary-tile:nth-child(2) { background: radial-gradient(ellipse at 0 0,rgb(135 188 211 / .10),transparent 75%), var(--dv-glass); }
.dv-view .summary-tile strong { letter-spacing: -.055em; }
.dv-view .empty-state { background: rgb(23 43 40 / .46); border-color: rgb(182 224 205 / .24); border-radius: 12px; }
.dv-view :is(.quiet-button,.chip) { background: linear-gradient(145deg,rgb(134 194 143 / .15),rgb(79 135 116 / .09)); border: 1px solid rgb(163 218 164 / .24); box-shadow: inset 0 1px 0 rgb(226 255 230 / .06); }
.dv-view .quiet-button:hover { border-color: rgb(186 232 179 / .45); background: rgb(88 149 115 / .2); }
.dv-view .list-heading h2 { font-size: 20px; }
.dv-stat-note, .dv-date, .dv-count { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.dv-view .list-heading:has(.dv-count) { justify-content: flex-start; }
.dv-count { margin: 0; }
.dv-position .dv-instrument { min-width: 0; overflow-wrap: anywhere; }
.dv-position .row-end { flex: none; }
.dv-position .dv-change.positive { color: var(--green); }
.dv-position .dv-change.negative { color: var(--red); }
.dv-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 12px; }
.dv-card-top, .dv-byline, .dv-builder, .dv-builder-title, .dv-return, .dv-leg-list li { display: flex; align-items: center; gap: 8px; }
.dv-card-top, .dv-builder, .dv-return { justify-content: space-between; }
.dv-card-top h3 { margin: 0; }
.dv-builder {
  gap: 16px; padding: 22px;
  background: radial-gradient(ellipse at 0 0,rgb(170 217 162 / .13),transparent 56%), linear-gradient(119deg,rgb(29 65 53 / .85),rgb(25 48 47 / .72) 54%,rgb(25 40 48 / .75));
  border: 1px solid rgb(180 227 192 / .25); border-radius: 14px;
  backdrop-filter: blur(20px); box-shadow: var(--dv-sheen);
}
.dv-builder-title .icon { color: var(--lime); width: 31px; height: 31px; padding: 5px; border-radius: 9px; border: 1px solid rgb(184 233 173 / .28); background: linear-gradient(135deg,rgb(179 237 161 / .14),rgb(80 135 103 / .09)); }
.dv-builder-title h2 { font-size: 23px; }
.dv-builder p { margin: 7px 0 0; max-width: 540px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.dv-builder button { flex: none; }
.dv-view .dv-example { display: flex; flex-direction: column; min-width: 0; }
.dv-example > h3 { font-size: 19px; margin: 14px 0 0; }
.dv-odds { color: var(--lime); font-size: 22px; letter-spacing: -.045em; }
.dv-leg-list { margin: 11px 0; padding: 0; list-style: none; }
.dv-leg-list li { min-height: 43px; }
.dv-leg-list li+li { border-top: 1px solid var(--line); }
.dv-leg-list img { width: 26px; height: 26px; object-fit: contain; }
.dv-leg-list strong, .dv-byline strong { display: block; font-weight: 650; font-size: 12px; }
.dv-leg-list small, .dv-byline small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.dv-byline { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.dv-byline .avatar { width: 25px; height: 25px; box-shadow: 0 0 0 1px rgb(206 240 225 / .22); }
.dv-view .dv-thesis { margin: 8px 0 16px; color: #cbd1c7; }
.dv-example footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.dv-return { align-items: flex-start; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.dv-return strong { color: var(--text); font-size: 12px; }
.dv-review { margin-top: 13px; }
.dv-ticket { min-width: 0; }
.dv-ticket .chip .dot { width: 5px; height: 5px; background: var(--green); }
.dv-facts { margin: 13px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; }
.dv-facts dt { color: var(--muted); font-size: 10px; }
.dv-facts dd { margin: 3px 0 0; font-size: 13px; font-weight: 650; }
.dv-log { overflow-x: auto; }
.dv-log table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.4; }
.dv-log th, .dv-log td { padding: 10px 13px; vertical-align: middle; }
.dv-log th { color: var(--muted); font-size: 10px; font-weight: 600; background: rgb(177 215 197 / .035); }
.dv-log td { border-top: 1px solid var(--line); }
.dv-log td:first-child, .dv-log td:last-child { white-space: nowrap; }
.dv-log th:last-child,.dv-log td:last-child { text-align: right; }
.dv-log td small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.dv-log td .dv-log-inline-size { display: none; }
.dv-view .dv-first-parlay { display: none; }
@media (max-width: 620px) {
  .dv-builder { flex-direction: column; align-items: flex-start; padding: 17px; }
  .dv-stat-note { font-size: 9px; }
  .dv-cards { grid-template-columns: 1fr; }
  .dv-position .dv-instrument { flex: 1; }
  .dv-position .row-end { margin-left: 0; }
  .dv-log th, .dv-log td { padding: 8px; font-size: 10px; }
  .dv-log td small, .dv-log th { font-size: 9px; }
}

@media (max-width: 760px) {
  .dv-view {
    --dv-rule: #2a2a2c;
    --dv-secondary: #a5a5aa;
    --dv-glass: #111112;
    --dv-edge: var(--dv-rule);
    --dv-sheen: none;
  }
  .dv-view :is(.summary-tile,.data-row,.parlay-card,.dv-log,.inline-empty,.dv-builder) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .dv-view .summary-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
    padding: 4px 0 20px;
    border-bottom: 1px solid var(--dv-rule);
  }
  .dv-view .summary-grid .summary-tile {
    min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  }
  .dv-view .summary-tile small { font-size: 12px; color: #acacb1; line-height: 1.5; }
  .dv-view .summary-tile strong { margin: 3px 0 0; font-size: clamp(18px,5vw,24px); font-weight: 580; line-height: 1.22; overflow-wrap: anywhere; }
  .dv-view .summary-tile:first-child { grid-column: 1 / -1; margin-bottom: 20px; }
  .dv-view .summary-tile:first-child strong { font-size: clamp(36px,10vw,50px); letter-spacing: -.062em; }
  .dv-view .summary-tile:nth-child(3) { padding-left: 18px; border-left: 1px solid var(--dv-rule); }
  .dv-stat-note { margin-top: 3px; font-size: 11px; line-height: 1.4; color: var(--dv-secondary); }
  .dv-view .list-heading { margin: 24px 0 9px; min-height: 30px; }
  .dv-view .list-heading h2 { margin: 0; font: 620 18px/1.25 Inter, sans-serif; letter-spacing: -.035em; }
  .dv-view .inline-link { min-height: 44px; color: #e3e3e4; }
  .dv-view .empty-state, .dv-view .inline-empty {
    padding: 14px 0 17px; text-align: left; background: transparent; border: 0;
    border-top: 1px solid var(--dv-rule); border-radius: 0;
  }
  .dv-view .empty-state h3 { font-size: 14px; font-weight: 550; }
  .dv-view .empty-state p, .dv-view .inline-empty { font-size: 13px; line-height: 1.55; color: var(--dv-secondary); }
  .dv-view .quiet-button { min-height: 42px; border: 1px solid #38383b; border-radius: 8px; background: #1a1a1c; color: #eeeeef; box-shadow: none; }
  .dv-view .empty-state .quiet-button { min-height: 44px; margin-top: 12px; }
  .dv-new-account .list-heading:has(.dv-count), .dv-new-account .dv-open-parlays { display: none; }
  .dv-new-account .empty-state { margin-top: 21px; border-top: 0; padding: 0 0 3px; }
  .dv-new-account .empty-state h3 { font-size: 18px; font-weight: 620; letter-spacing: -.035em; }
  .dv-new-account .empty-state p { max-width: 36ch; }
  .dv-new-account .dv-first-parlay { display: inline-flex; padding: 0 4px; margin-left: 10px; }
  .dv-view .stack { gap: 0; }
  .dv-view .dv-position { gap: 9px; min-height: 70px; padding: 9px 0; background: transparent; border: 0; border-bottom: 1px solid var(--dv-rule); border-radius: 0; }
  .dv-position .dv-instrument strong, .dv-position .row-end strong { font-size: 13px; letter-spacing: -.018em; }
  .dv-position .dv-instrument small, .dv-position .row-end small { font-size: 11px; color: var(--dv-secondary); line-height: 1.4; }
  .dv-view .dv-position .quiet-button { min-width: 42px; padding-inline: 8px; font-size: 12px; }
  .dv-view .dv-builder {
    display: grid; grid-template-columns: minmax(0,1fr); gap: 13px;
    padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--dv-rule);
    border-radius: 0; background: transparent;
  }
  .dv-view .dv-builder-title { display: none; }
  .dv-builder p { margin: 5px 0 0; max-width: 40ch; font-size: 13px; line-height: 1.5; color: var(--dv-secondary); }
  .dv-builder .primary-button { min-height: 44px; justify-self: start; color: #131315; background: #f0f0ef; border: 0; border-radius: 8px; box-shadow: none; }
  .dv-cards { grid-template-columns: 1fr; gap: 12px; }
  .dv-view .parlay-card { border: 1px solid var(--dv-rule); border-radius: 12px; padding: 16px; background: #101011; }
  .dv-view .chip { color: #bdbdc1; font-size: 11px; font-weight: 560; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .dv-odds { color: #f2f2f2; font-size: 19px; font-weight: 620; }
  .dv-example > h3 { margin: 5px 0 4px; font-size: 18px; }
  .dv-leg-list { margin: 7px 0 10px; }
  .dv-leg-list li { min-height: 43px; }
  .dv-leg-list strong, .dv-byline strong { font-size: 13px; font-weight: 590; }
  .dv-leg-list small, .dv-byline small { font-size: 11px; color: var(--dv-secondary); }
  .dv-byline { width: fit-content; padding-top: 0; min-height: 44px; border: 0; }
  .dv-byline .avatar { outline: 0; box-shadow: none; }
  .dv-view .dv-thesis { margin: 2px 0 12px; font-size: 13px; line-height: 1.55; color: #c7c7ca; }
  .dv-example footer { padding-top: 11px; }
  .dv-return { align-items: center; font-size: 12px; }
  .dv-view .dv-review { width: 100%; justify-content: center; margin-top: 11px; }
  .dv-view .dv-log { background: transparent; border: 0; border-radius: 0; }
  .dv-log th, .dv-log td { padding: 10px 6px; }
  .dv-log th { font-size: 11px; color: var(--dv-secondary); background: transparent; }
  .dv-log td { font-size: 12px; }
  .dv-log td small { font-size: 11px; color: var(--dv-secondary); line-height: 1.4; }
  .dv-log th:first-child, .dv-log td:first-child { padding-left: 0; white-space: normal; }
  .dv-log th:last-child, .dv-log td:last-child { padding-right: 0; }
  .dv-log .dv-log-size { display: none; }
  .dv-log td .dv-log-inline-size { display: block; }
}
