.hero-items [hidden] { display:none; }
.hero-items-controls {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 10px;
  margin-bottom:9px;
}
.hero-items-picker { flex:0 1 230px; min-width:0; max-width:100%; }
.hero-items-scope {
  display:inline-flex;
  flex:none;
  gap:2px;
  padding:3px;
  border:1px solid var(--profile-border);
  border-radius:6px;
  background:var(--profile-surface);
}
.hero-items-scope button {
  padding:6px 10px;
  min-height:32px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
}
.hero-items-scope button:hover { color:var(--profile-cream); }
.hero-items-scope button[aria-pressed="true"] {
  background:var(--profile-gold);
  color:#222018;
  font-weight:500;
}
.hero-items-sample {
  margin-inline-start:auto;
  color:var(--muted);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.hero-items-results:not([hidden]) { display:grid; gap:10px; align-items:start; }
.hero-items-table-frame,.hero-items-builds {
  min-width:0;
  border:1px solid var(--profile-border);
  border-radius:8px;
  background:var(--profile-surface);
}
.hero-items-table-frame { overflow:hidden; }
.hero-items-table-tools { padding:6px 9px; border-bottom:1px solid var(--profile-border); }
.hero-items-search { width:min(100%,260px); min-height:34px; padding:4px 8px; font-size:12px; }
.hero-items-table { table-layout:fixed; font-size:12px; }
.hero-items-table th,.hero-items-table td { padding:6px 9px; border-color:var(--profile-border); }
.hero-items-table thead { background:#202824; }
.hero-items-table th:first-child { width:38%; }
.hero-items-table th:not(:first-child),.hero-items-table td { text-align:center; }
.hero-items-table thead th:not(:first-child) { padding:3px 0; }
.hero-items-table thead th button {
  position:relative;
  width:100%;
  min-height:28px;
  padding:2px 1px 6px;
  border-radius:4px;
  outline-offset:-2px;
}
.hero-items-table th[aria-sort] button::after {
  position:absolute;
  inset:auto auto 2px 50%;
  width:4px;
  height:4px;
  border:solid currentColor;
  border-width:0 1px 1px 0;
  content:"";
  transform:translateX(-50%) rotate(45deg);
}
.hero-items-table th[aria-sort="ascending"] button::after { transform:translateX(-50%) rotate(225deg); }
.hero-items-short-label { display:none; }
.hero-items-table tbody tr { background:var(--profile-surface); }
.hero-items-table tbody tr:hover { background:#ffffff06; }
.hero-items-table tbody tr:last-child th { border-bottom:0; }
.hero-items-table tbody th { text-align:start; font-weight:500; }
.hero-items-table td { white-space:nowrap; }
.hero-items-table .hero-items-empty { color:var(--muted); padding:12px 6px; white-space:normal; }
.hero-items-item { display:flex; align-items:center; gap:7px; }
.hero-items-item-toggle {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  width:100%;
  min-height:32px;
  padding:0;
  border:0;
  border-radius:4px;
  background:transparent;
  text-align:start;
  white-space:normal;
}
.hero-items-item-toggle::after {
  flex:none;
  width:5px;
  height:5px;
  margin-inline-end:3px;
  border:solid var(--profile-gold);
  border-width:0 1px 1px 0;
  content:"";
  transform:rotate(45deg);
}
.hero-items-item-toggle[aria-expanded="true"]::after { transform:rotate(225deg); }
.hero-items-item-toggle:hover { color:var(--profile-gold); }
.hero-items-table .hero-items-timing-row td { padding:7px 9px 9px; background:#151c1a; white-space:normal; }
.hero-items-timing {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
  text-align:start;
}
.hero-items-timing li { min-width:0; padding:5px; border-radius:4px; background:var(--profile-track); }
.hero-items-timing-interval { color:var(--profile-gold); font-size:10px; }
.hero-items-timing-stats { display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 5px; color:var(--muted); }
.hero-items-timing-winrate { color:var(--profile-cream); }
.hero-items-timing-bar { display:block; height:3px; margin:4px 0; overflow:hidden; border-radius:4px; background:#131b18; }
.hero-items-timing-bar::after { display:block; width:var(--share); height:100%; background:var(--profile-blue); content:""; }
.hero-items-name { min-width:0; overflow-wrap:break-word; hyphens:auto; }
.hero-items-icon {
  display:block;
  flex:none;
  width:26px;
  height:26px;
  border-radius:4px;
  background:#151c1a;
  object-fit:contain;
}
.hero-items-frequency {
  display:block;
  width:min(58px,100%);
  height:3px;
  margin:3px auto 0;
  overflow:hidden;
  border-radius:4px;
  background:var(--profile-track);
}
.hero-items-frequency::after {
  display:block;
  width:var(--frequency);
  height:100%;
  border-radius:inherit;
  background:var(--profile-blue);
  content:"";
}
.hero-items-more { width:100%; border-block-start-color:var(--profile-border); border-radius:0; }
.hero-items-more:focus-visible { outline-offset:-3px; }
.hero-items-builds { padding:9px 12px; }
.hero-items-builds h2 { color:var(--profile-cream); font-size:15px; font-weight:500; }
.hero-items-stages { display:grid; gap:8px; margin-top:6px; }
.hero-items-stage h3 { margin:0 0 4px; color:var(--profile-gold); font-size:11px; font-weight:500; }
.hero-items-chains,.hero-items-route { margin:0; padding:0; list-style:none; }
.hero-items-chains { display:grid; gap:4px; }
.hero-items-chain {
  display:grid;
  grid-template-columns:minmax(0,1fr) max-content;
  align-items:center;
  gap:5px 9px;
  padding:6px;
  border:1px solid var(--profile-border);
  border-radius:5px;
  background:#202824;
}
.hero-items-route { display:grid; grid-template-columns:repeat(var(--steps),minmax(0,91px)); align-items:start; gap:8px; }
.hero-items-route li { position:relative; min-width:0; }
.hero-items-step {
  display:grid;
  justify-items:center;
  gap:3px;
  width:100%;
  min-width:0;
  text-align:center;
  font-size:10px;
  line-height:1.15;
}
.hero-items-arrow { position:absolute; left:-8px; top:0; color:var(--profile-gold); font-size:17px; line-height:26px; }
.hero-items-chain-stats {
  display:grid;
  justify-items:end;
  color:var(--muted);
  font-size:10px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.hero-items-chain-stats b { color:var(--profile-cream); font-size:12px; font-weight:500; }
.hero-items-examples-toggle {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:0 5px;
  border:1px solid var(--profile-border);
  border-radius:4px;
  color:var(--profile-gold);
}
.hero-items-examples-toggle::after {
  width:5px;
  height:5px;
  border:solid currentColor;
  border-width:0 1px 1px 0;
  content:"";
  transform:rotate(45deg) translate(-1px,-1px);
}
.hero-items-examples-toggle[aria-expanded="true"]::after { transform:rotate(225deg); }
.hero-items-examples-toggle:hover { border-color:var(--profile-gold); }
.hero-items-examples {
  grid-column:1/-1;
  margin:0;
  padding:0;
  border-top:1px solid var(--profile-border);
  list-style:none;
}
.hero-items-example {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  padding:3px 5px;
  border-radius:4px;
  color:var(--profile-cream);
  font-size:12px;
}
.hero-items-example span { margin-inline-start:auto; }
.hero-items-example span[data-result="win"] { color:var(--green); }
.hero-items-example span[data-result="loss"] { color:var(--red); }
.hero-items-example::after { content:"›"; color:var(--profile-gold); }
.hero-items-example:hover { background:#ffffff0a; }

@media (max-width:520px),(pointer:coarse) {
  .hero-items-examples-toggle,.hero-items-example { min-height:44px; }
}

@media (min-width:940px) {
  .hero-items-results:not([hidden],:has(> [hidden])) { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
}
@media (max-width:520px) {
  .hero-items-picker { flex-basis:100%; }
  .hero-items-search { width:100%; min-height:44px; }
  .hero-items-table { font-size:11px; }
  .hero-items-table th,.hero-items-table td { padding:6px 3px; }
  .hero-items-table th:first-child { width:44%; }
  .hero-items-table thead th:nth-child(2) { width:15%; }
  .hero-items-table thead th { font-size:10px; }
  .hero-items-wide-label { display:none; }
  .hero-items-short-label { display:inline; }
  .hero-items-item { gap:4px; }
  .hero-items-item-toggle { min-height:36px; }
  .hero-items-icon { width:20px; height:20px; }
  .hero-items-builds { padding:8px; }
  .hero-items-arrow { line-height:20px; }
}
@media (max-width:410px) {
  .hero-items-chain[data-steps="3"] { grid-template-columns:minmax(0,1fr); }
  .hero-items-chain[data-steps="3"] .hero-items-chain-stats { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
}
