.page {
  gap: 1rem;
}

.page-column {
  gap: 1rem;
}

.widget {
  border: 1px solid hsl(214 32% 28% / 0.55);
  box-shadow: 0 18px 48px hsl(220 55% 3% / 0.28);
}

.widget-header {
  letter-spacing: 0;
}

.widget-content-frame {
  border-radius: 8px;
}

.monitor-site-icon,
.bookmarks-icon,
.docker-container-icon {
  border-radius: 6px;
}

.progress-card {
  text-align: center;
}

.progress-track {
  width: 100%;
  height: 0.8rem;
  overflow: hidden;
  border: 1px solid hsl(215 18% 48% / 0.8);
  border-radius: 999px;
  background: hsl(220 18% 13%);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #34d399, #facc15);
}

.progress-label {
  margin-top: 0.45rem;
}

.speedtest-card {
  display: grid;
  gap: 0.75rem;
}

.speedtest-metric {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  grid-template-areas:
    "change value"
    "label label";
  align-items: end;
  column-gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid hsl(214 24% 28% / 0.55);
}

.speedtest-metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.speedtest-change {
  grid-area: change;
  justify-self: start;
  align-self: center;
}

.speedtest-metric .color-highlight {
  grid-area: value;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.speedtest-metric .size-h6 {
  grid-area: label;
  margin-top: 0.2rem;
  color: hsl(215 18% 72% / 0.72);
  letter-spacing: 0;
}

.speedtest-meta {
  color: hsl(215 18% 72% / 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.summary-card {
  display: grid;
  gap: 0.85rem;
}

.summary-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.summary-pill {
  padding: 0.3rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid hsl(214 24% 28% / 0.55);
}

.summary-grid > div {
  min-width: 0;
}

.summary-alert {
  padding-top: 0.65rem;
  border-top: 1px solid hsl(214 24% 28% / 0.55);
}

.network-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.55);
}

.network-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.network-row > div:first-child {
  min-width: 0;
}

.network-row > div:last-child {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.summary-card .size-h6,
.network-row .size-h6 {
  color: hsl(215 18% 72% / 0.72);
  letter-spacing: 0;
}

.report-list {
  display: grid;
  gap: 0.7rem;
}

.report-list > div {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.55);
}

.report-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.briefing-card,
.attack-card,
.achievement-card,
.match-centre {
  display: grid;
  gap: 0.85rem;
}

.briefing-grid,
.match-centre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.briefing-grid > div,
.match-centre-grid > div {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid hsl(214 24% 28% / 0.55);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.action-list,
.activity-list {
  display: grid;
  gap: 0.75rem;
}

.action-item,
.activity-item {
  display: grid;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.55);
}

.action-item {
  grid-template-columns: minmax(0, 1fr) auto;
  color: inherit;
  text-decoration: none;
}

.activity-item {
  grid-template-columns: 7.5rem minmax(0, 1fr);
}

.action-item:hover .color-highlight {
  color: var(--color-primary);
}

.action-item > div,
.activity-item > div {
  min-width: 0;
  text-align: left;
}

.action-item .summary-pill,
.activity-item .summary-pill {
  justify-self: start;
}

.action-item .summary-pill {
  justify-self: end;
}

.action-item:last-child,
.activity-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.attack-map {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid hsl(214 24% 28% / 0.7);
  border-radius: 8px;
  background:
    linear-gradient(hsl(212 80% 70% / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, hsl(212 80% 70% / 0.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 42%, hsl(143 50% 55% / 0.24) 0 11%, transparent 12%),
    radial-gradient(circle at 48% 45%, hsl(143 50% 55% / 0.22) 0 15%, transparent 16%),
    radial-gradient(circle at 73% 48%, hsl(143 50% 55% / 0.22) 0 18%, transparent 19%),
    radial-gradient(circle at 83% 72%, hsl(143 50% 55% / 0.2) 0 8%, transparent 9%),
    hsl(215 28% 11%);
  background-size:
    10% 20%,
    10% 20%,
    auto,
    auto,
    auto,
    auto,
    auto;
}

.attack-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid hsl(0 0% 98%);
  border-radius: 999px;
  background: hsl(212 100% 58%);
  box-shadow: 0 0 0 0.35rem hsl(212 100% 58% / 0.18);
  transform: translate(-50%, -50%);
}

.attack-point-Banned {
  background: hsl(4 78% 57%);
  box-shadow: 0 0 0 0.4rem hsl(4 78% 57% / 0.2);
}

.attack-list {
  display: grid;
  gap: 0.65rem;
}

.attack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.55);
}

.attack-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.achievement-grid {
  display: grid;
  gap: 0.65rem;
}

.achievement-badge {
  display: grid;
  gap: 0.4rem;
  padding: 0.7rem;
  border: 1px solid hsl(214 24% 28% / 0.6);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.achievement-badge .summary-pill {
  justify-self: start;
}

.achievement-earned {
  border-color: hsl(143 70% 48% / 0.75);
}

.achievement-locked {
  opacity: 0.64;
}

.mission-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mission-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid hsl(214 24% 28% / 0.65);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: hsl(215 22% 16% / 0.45);
}

.mission-card:hover {
  border-color: var(--color-primary);
}

.mission-card-active {
  border-color: hsl(212 100% 58% / 0.75);
}

.mission-card-watch {
  border-color: hsl(143 70% 48% / 0.55);
}

.mission-card-blocked {
  border-color: hsl(45 92% 60% / 0.55);
}

.worldcup-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.worldcup-stat,
.worldcup-round,
.worldcup-match,
.worldcup-table,
.worldcup-group-detail {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid hsl(214 24% 28% / 0.55);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.worldcup-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.worldcup-table {
  display: grid;
  gap: 0.55rem;
}

.worldcup-table-link {
  color: inherit;
  text-decoration: none;
}

.worldcup-table-link:hover {
  border-color: var(--color-primary);
}

.worldcup-table-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem 2.5rem 2.5rem;
  gap: 0.45rem;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.worldcup-table-row > :not(:nth-child(2)) {
  text-align: right;
}

.worldcup-row-qualified > :not(:first-child) {
  color: hsl(143 80% 78%);
}

.worldcup-row-contending > :not(:first-child),
.worldcup-row-pending > :not(:first-child) {
  color: hsl(45 92% 74%);
}

.worldcup-row-eliminated > :not(:first-child) {
  color: hsl(0 0% 73%);
}

.worldcup-stage-nav,
.worldcup-group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.worldcup-group-nav a,
.worldcup-stage-nav a {
  padding: 0.35rem 0.6rem;
  border: 1px solid hsl(214 24% 32% / 0.75);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  background: hsl(215 22% 16% / 0.45);
}

.worldcup-group-nav a:hover,
.worldcup-stage-nav a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.worldcup-stage-tabs {
  display: grid;
  gap: 0.9rem;
}

.worldcup-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.worldcup-stage-tab-list {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.25rem;
  border: 1px solid hsl(214 24% 28% / 0.55);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.worldcup-stage-tab-list label {
  cursor: pointer;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  color: hsl(215 18% 72% / 0.8);
}

#worldcup-tab-groups:checked ~ .worldcup-stage-tab-list label[for="worldcup-tab-groups"],
#worldcup-tab-knockout:checked ~ .worldcup-stage-tab-list label[for="worldcup-tab-knockout"] {
  color: hsl(0 0% 96%);
  background: hsl(212 100% 50% / 0.18);
}

.worldcup-stage-panel {
  display: none;
}

#worldcup-tab-groups:checked ~ .worldcup-stage-panels .worldcup-stage-panel-groups,
#worldcup-tab-knockout:checked ~ .worldcup-stage-panels .worldcup-stage-panel-knockout {
  display: block;
}

.worldcup-modal {
  display: none;
  position: fixed;
  z-index: 80;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.worldcup-modal:target {
  display: flex;
}

.worldcup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(215 30% 6% / 0.74);
}

.worldcup-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 2rem));
  overflow: auto;
  padding: 1rem;
  border: 1px solid hsl(214 24% 34% / 0.85);
  border-radius: 8px;
  background: hsl(215 22% 13%);
  box-shadow: 0 24px 80px hsl(215 30% 3% / 0.65);
}

.worldcup-group-detail {
  display: grid;
  gap: 0.75rem;
  scroll-margin-top: 1rem;
}

.worldcup-group-detail summary {
  cursor: pointer;
  list-style-position: inside;
}

.worldcup-knockout,
.worldcup-matches {
  display: grid;
  gap: 0.75rem;
}

.worldcup-bracket {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.worldcup-bracket-round {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 150px;
}

.worldcup-bracket-heading {
  flex-shrink: 0;
  min-height: 3rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.7);
}

.worldcup-bracket-slots {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.worldcup-bracket-slot {
  position: relative;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.55rem;
  border: 1px solid hsl(214 24% 28% / 0.65);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.worldcup-bracket-round:not(:last-child) .worldcup-bracket-slot::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.85rem;
  width: 0.85rem;
  border-top: 1px solid hsl(214 24% 40% / 0.8);
}

.worldcup-bracket-seed {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  color: hsl(215 18% 72% / 0.8);
  background: hsl(214 24% 28% / 0.55);
  font-variant-numeric: tabular-nums;
}

.worldcup-bracket-team {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.1rem 0;
}

.worldcup-bracket-team + .worldcup-bracket-team {
  border-top: 1px solid hsl(214 24% 28% / 0.45);
}

.worldcup-bracket-team-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.worldcup-flag {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.worldcup-bracket-note {
  margin-top: 0.75rem;
}

.worldcup-bracket-score {
  font-variant-numeric: tabular-nums;
  color: hsl(215 18% 74%);
  flex: 0 0 auto;
  padding-left: 0.4rem;
}

.worldcup-bracket-meta {
  margin-top: 0.3rem;
  color: hsl(215 18% 58%);
}

.worldcup-bracket-tbd .color-highlight {
  color: hsl(215 18% 55% / 0.75);
}

.worldcup-bracket-winner .color-highlight,
.worldcup-bracket-winner .worldcup-bracket-score {
  color: hsl(145 58% 56%);
  font-weight: 600;
}

.worldcup-bracket-slot.worldcup-bracket-in {
  border-color: hsl(145 58% 48% / 0.75);
  box-shadow: 0 0 0 1px hsl(145 58% 48% / 0.3);
}

.worldcup-bracket-slot.worldcup-bracket-in .worldcup-bracket-meta {
  color: hsl(145 58% 60%);
}

.worldcup-round,
.worldcup-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.worldcup-round > div,
.worldcup-match > div {
  min-width: 0;
}

.worldcup-date {
  flex: 0 0 auto;
  color: hsl(215 18% 72% / 0.72);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.worldcup-source {
  display: grid;
  gap: 0.15rem;
  align-items: start;
}

.worldcup-source .color-highlight {
  overflow-wrap: anywhere;
}

.match-spotlight {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid hsl(214 24% 28% / 0.65);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.match-team-right {
  justify-content: end;
  text-align: right;
}

.match-team .worldcup-flag {
  width: 2rem;
  height: 2rem;
}

.match-time {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mini-match-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.worldcup-widget-tabs {
  display: grid;
  gap: 0.9rem;
}

.worldcup-widget-panel {
  display: none;
}

#worldcup-widget-games:checked ~ .worldcup-stage-tab-list label[for="worldcup-widget-games"],
#worldcup-widget-schedule:checked ~ .worldcup-stage-tab-list label[for="worldcup-widget-schedule"],
#worldcup-widget-teams:checked ~ .worldcup-stage-tab-list label[for="worldcup-widget-teams"] {
  color: hsl(0 0% 96%);
  background: hsl(212 100% 50% / 0.18);
}

#worldcup-widget-games:checked ~ .worldcup-widget-panels .worldcup-widget-panel-games,
#worldcup-widget-schedule:checked ~ .worldcup-widget-panels .worldcup-widget-panel-schedule,
#worldcup-widget-teams:checked ~ .worldcup-widget-panels .worldcup-widget-panel-teams {
  display: block;
}

.worldcup-widget-list,
.worldcup-schedule {
  display: grid;
  gap: 0.7rem;
}

.worldcup-widget-card,
.worldcup-widget-row,
.worldcup-team-card {
  color: inherit;
  text-decoration: none;
}

.worldcup-widget-card,
.worldcup-schedule-round,
.worldcup-team-card {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid hsl(214 24% 28% / 0.55);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.worldcup-widget-card:hover,
.worldcup-widget-row:hover,
.worldcup-team-card:hover {
  border-color: var(--color-primary);
}

.worldcup-game-card.worldcup-game-in {
  border-color: hsl(145 58% 48% / 0.75);
  box-shadow: 0 0 0 1px hsl(145 58% 48% / 0.3);
}

.worldcup-game-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.worldcup-game-score {
  min-width: 5.5rem;
  text-align: center;
  color: hsl(215 18% 92%);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.worldcup-game-meta,
.worldcup-widget-row,
.worldcup-schedule-round summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.worldcup-game-meta {
  margin-top: 0.45rem;
  color: hsl(215 18% 72% / 0.72);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.worldcup-widget-row {
  padding: 0.55rem 0;
  border-bottom: 1px solid hsl(214 24% 28% / 0.45);
  color: hsl(215 18% 72% / 0.8);
  font-variant-numeric: tabular-nums;
}

.worldcup-widget-row:last-child {
  border-bottom: 0;
}

.worldcup-schedule-round {
  display: grid;
  gap: 0.5rem;
}

.worldcup-schedule-round summary {
  cursor: pointer;
  list-style-position: inside;
}

.worldcup-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.worldcup-team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.worldcup-team-card .worldcup-flag,
.worldcup-modal-card .match-team .worldcup-flag {
  width: 2rem;
  height: 2rem;
}

.worldcup-modal-card .match-team {
  color: inherit;
  text-decoration: none;
}

.cpu-trend {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
}

.cpu-sample {
  display: grid;
  align-items: end;
  gap: 0.25rem;
  min-width: 0;
}

.cpu-load-bar,
.cpu-memory-bar {
  border-radius: 4px;
}

.cpu-load-bar {
  height: clamp(0.3rem, calc(var(--load) * 0.5rem), 4rem);
  background: hsl(212 100% 58% / 0.75);
}

.cpu-memory-bar {
  height: 0.25rem;
  width: calc(var(--memory) * 1%);
  background: hsl(143 70% 48% / 0.75);
}

@media (max-width: 900px) {
  .worldcup-overview,
  .worldcup-groups,
  .briefing-grid,
  .match-centre-grid,
  .match-teams,
  .mission-board {
    grid-template-columns: 1fr;
  }

  .match-time,
  .match-team-right {
    text-align: left;
  }

  .match-team-right {
    justify-content: start;
  }

  .worldcup-stage-tab-list {
    width: 100%;
  }

  .worldcup-stage-tab-list label {
    flex: 1 1 0;
    text-align: center;
  }

  .action-item,
  .activity-item {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .action-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .action-item .summary-pill {
    justify-self: start;
  }

  .worldcup-table-row {
    grid-template-columns: 1.5rem minmax(0, 1fr) 1.7rem 2rem 2rem;
  }

  .worldcup-round,
  .worldcup-match {
    align-items: flex-start;
    flex-direction: column;
  }

  .worldcup-game-main,
  .worldcup-team-grid,
  .worldcup-team-card {
    grid-template-columns: 1fr;
  }

  .worldcup-game-score,
  .worldcup-game-meta,
  .worldcup-widget-row,
  .worldcup-schedule-round summary {
    text-align: left;
  }

  .worldcup-game-meta,
  .worldcup-widget-row,
  .worldcup-schedule-round summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .worldcup-bracket-round {
    flex: 0 0 78vw;
  }

  .worldcup-bracket-slots {
    justify-content: flex-start;
    gap: 0.55rem;
  }

  .worldcup-date {
    text-align: left;
  }
}

/* ── Portfolio tab ──────────────────────────────────────── */

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.portfolio-stats > div {
  padding: 0.6rem 0.7rem;
  border: 1px solid hsl(214 24% 28% / 0.55);
  border-radius: 8px;
  background: hsl(215 22% 16% / 0.45);
}

.portfolio-positions {
  display: flex;
  flex-direction: column;
}

.portfolio-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem 4rem 4rem;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid hsl(214 24% 28% / 0.3);
  font-variant-numeric: tabular-nums;
}

.portfolio-row-header {
  color: hsl(215 18% 48%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid hsl(214 24% 28% / 0.55);
  padding-bottom: 0.5rem;
}

.portfolio-row > :not(:first-child) {
  text-align: right;
}

.portfolio-name {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  overflow: hidden;
}

.portfolio-name .color-highlight {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-ticker {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: hsl(215 18% 48%);
  font-variant-numeric: tabular-nums;
}

.portfolio-pl-positive {
  color: hsl(143 75% 68%);
}

.portfolio-pl-negative {
  color: hsl(0 68% 68%);
}

.portfolio-pl-neutral {
  color: hsl(215 18% 65%);
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  gap: 0.5rem;
}

.portfolio-chart-wrap {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.portfolio-chart-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

.portfolio-chart-svg {
  width: 100%;
  height: 80px;
  display: block;
  overflow: visible;
}

.portfolio-chart-line {
  stroke: hsl(212 100% 56%);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.portfolio-chart-meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: hsl(215 18% 45%);
  text-align: right;
}
