.seh-recordbook-shell{max-width:1180px}.seh-recordbook-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:18px;margin:24px 0}.seh-recordbook-hero>div,.seh-recordbook-hero>aside{padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(145deg,#09111c,#060a11)}.seh-recordbook-hero h1{margin:4px 0 8px;color:#f4f1e9;font-size:clamp(2.5rem,6vw,5rem);letter-spacing:-.055em;line-height:.9}.seh-recordbook-hero p{max-width:760px;color:#9aa5af;line-height:1.5}.seh-recordbook-hero aside{display:grid;align-content:end;border-color:rgba(214,177,95,.2);background:linear-gradient(145deg,rgba(214,177,95,.08),#080c13)}.seh-recordbook-hero aside span{color:#d6b15f;font-size:.7rem;font-weight:900;letter-spacing:.13em}.seh-recordbook-hero aside strong{margin-top:6px;color:#fff;font-size:1.4rem}.seh-recordbook-panel{padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:#070b12}.seh-recordbook-switch,.seh-recordbook-filters,.seh-recordbook-metrics{display:flex;gap:8px;flex-wrap:wrap}.seh-recordbook-switch{margin-bottom:12px}.seh-recordbook-switch button,.seh-recordbook-filters button,.seh-recordbook-metrics button{appearance:none;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#0a1019;color:#9ca6b0;padding:8px 13px;font:800 .72rem/1 inherit;cursor:pointer}.seh-recordbook-switch button.is-active,.seh-recordbook-filters button.is-active,.seh-recordbook-metrics button.is-active{border-color:rgba(255,208,0,.55);background:rgba(255,208,0,.08);color:#ffd000}.seh-recordbook-switch button{min-width:110px;border-radius:12px;font-size:.8rem}.seh-recordbook-toolbar{display:grid;grid-template-columns:1fr;gap:10px;padding:12px 0 15px;border-top:1px solid rgba(255,255,255,.055);border-bottom:1px solid rgba(255,255,255,.055)}.seh-recordbook-status{display:flex;justify-content:space-between;gap:12px;margin:14px 2px 9px;color:#7f8993;font-size:.7rem}.seh-record-list{display:grid;gap:7px}.seh-record-row{display:grid;grid-template-columns:34px 52px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 12px;border:1px solid rgba(255,255,255,.065);border-radius:14px;background:#090e16;color:#f3f0e8;text-decoration:none}.seh-record-row.is-leader{border-color:rgba(214,177,95,.28);background:linear-gradient(90deg,rgba(214,177,95,.085),#090e16 48%)}.seh-record-rank{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.045);color:#87919b}.seh-record-row.is-leader .seh-record-rank{background:rgba(255,208,0,.12);color:#ffd000}.seh-record-avatar{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(80,227,220,.15);border-radius:12px;background:#0c1520;color:#50e3dc;font-weight:900}.seh-record-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.seh-record-avatar.is-team img{object-fit:contain;padding:4px;box-sizing:border-box}.seh-record-copy{min-width:0}.seh-record-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem}.seh-record-copy small{display:block;margin-top:4px;color:#76828d;font-size:.68rem}.seh-record-value{text-align:right}.seh-record-value strong{display:block;color:#ffd000;font-size:1.05rem}.seh-record-value small{display:block;margin-top:2px;color:#7e8993;font-size:.62rem;font-weight:900}.seh-record-loading{padding:34px 10px;color:#7d8791;text-align:center}.seh-recordbook-note{margin:12px 2px 0;color:#68737d;font-size:.66rem;line-height:1.45}@media(max-width:720px){.seh-recordbook-hero{grid-template-columns:1fr;margin:14px 0}.seh-recordbook-hero>div,.seh-recordbook-hero>aside{padding:17px;border-radius:16px}.seh-recordbook-hero h1{font-size:3rem}.seh-recordbook-panel{padding:12px 9px;border-radius:16px}.seh-record-row{grid-template-columns:28px 44px minmax(0,1fr) auto;gap:8px;padding:8px}.seh-record-rank{width:26px;height:26px}.seh-record-avatar{width:44px;height:44px}.seh-record-copy strong{font-size:.82rem}.seh-record-copy small{font-size:.62rem}.seh-record-value strong{font-size:.9rem}.seh-recordbook-switch button{min-width:96px}}

/* Recordbook V1.1 — clearer controls + stronger all-time hierarchy */
.seh-recordbook-panel{
  position:relative;
  overflow:hidden;
  padding:20px;
  background:
    radial-gradient(circle at 12% 0,rgba(80,227,220,.035),transparent 30%),
    linear-gradient(180deg,#080d15 0%,#060a11 100%);
}
.seh-recordbook-panel::before{
  position:absolute;
  top:0;
  left:18px;
  width:128px;
  height:2px;
  content:"";
  background:linear-gradient(90deg,#ffd000,rgba(80,227,220,.65),transparent);
}
.seh-recordbook-control-group{
  display:grid;
  gap:7px;
}
.seh-recordbook-control-group--type{
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.seh-recordbook-control-label{
  color:#687887;
  font-size:.61rem;
  font-weight:950;
  letter-spacing:.15em;
  line-height:1;
}
.seh-recordbook-switch{
  margin-bottom:0;
}
.seh-recordbook-switch button{
  min-width:112px;
  min-height:34px;
  border-radius:8px;
}
.seh-recordbook-toolbar{
  gap:14px;
  padding:14px 0 16px;
}
.seh-recordbook-filters,
.seh-recordbook-metrics{
  gap:7px;
}
.seh-recordbook-filters button,
.seh-recordbook-metrics button{
  min-height:34px;
  padding:8px 13px;
  border-radius:9px;
  background:rgba(8,14,23,.92);
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.seh-recordbook-filters button:hover,
.seh-recordbook-metrics button:hover,
.seh-recordbook-switch button:hover{
  transform:translateY(-1px);
  border-color:rgba(80,227,220,.28);
  color:#dbe4eb;
}
.seh-recordbook-filters button.is-active,
.seh-recordbook-metrics button.is-active,
.seh-recordbook-switch button.is-active{
  border-color:rgba(255,208,0,.72);
  background:
    linear-gradient(180deg,rgba(255,208,0,.12),rgba(255,208,0,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:#ffd000;
}
.seh-recordbook-status{
  align-items:center;
  margin:15px 1px 10px;
  padding-top:2px;
}
.seh-recordbook-status strong{
  color:#8da0b0;
  font-size:.62rem;
  letter-spacing:.12em;
}
.seh-recordbook-status span{
  color:#7890a4;
}
.seh-record-row{
  position:relative;
  min-height:64px;
  border-radius:10px;
  background:
    linear-gradient(90deg,rgba(10,17,27,.98),rgba(7,12,20,.98));
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.seh-record-row:hover{
  transform:translateX(2px);
  border-color:rgba(80,227,220,.22);
  background:
    linear-gradient(90deg,rgba(12,21,32,.99),rgba(8,14,23,.99));
}
.seh-record-row.is-leader{
  border-color:rgba(255,208,0,.32);
  background:
    linear-gradient(90deg,rgba(255,208,0,.095),rgba(10,16,24,.98) 38%,rgba(7,12,20,.98));
}
.seh-record-row.is-leader::before{
  position:absolute;
  top:9px;
  bottom:9px;
  left:0;
  width:2px;
  content:"";
  background:#ffd000;
  box-shadow:0 0 12px rgba(255,208,0,.24);
}
.seh-record-value strong{
  font-size:1.08rem;
  letter-spacing:-.02em;
}
@media(max-width:720px){
  .seh-recordbook-panel{padding:14px 10px}
  .seh-recordbook-control-group--type{grid-template-columns:1fr;gap:7px}
  .seh-recordbook-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .seh-recordbook-switch button{min-width:0;width:100%}
  .seh-recordbook-filters,.seh-recordbook-metrics{gap:6px}
  .seh-recordbook-filters button,.seh-recordbook-metrics button{padding:8px 10px}
}


/* Recordbook V1.2 — grouped career, merit and match records */
.seh-recordbook-metrics{
  display:grid;
  gap:10px;
}
.seh-recordbook-metric-group{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:start;
  gap:10px;
}
.seh-recordbook-metric-group>span{
  padding-top:10px;
  color:#536575;
  font-size:.57rem;
  font-weight:950;
  letter-spacing:.14em;
  line-height:1;
}
.seh-recordbook-metric-group>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.seh-recordbook-metric-group.is-match-records{
  margin-top:2px;
  padding-top:10px;
  border-top:1px solid rgba(80,227,220,.07);
}
.seh-recordbook-metric-group.is-match-records>span{
  color:rgba(80,227,220,.68);
}
.seh-recordbook-metric-group.is-match-records button{
  border-color:rgba(80,227,220,.13);
  background:rgba(7,20,27,.72);
}
.seh-recordbook-metric-group.is-match-records button.is-active{
  border-color:rgba(80,227,220,.55);
  color:#72e5df;
  background:rgba(80,227,220,.075);
}
@media(max-width:720px){
  .seh-recordbook-metric-group{grid-template-columns:1fr;gap:5px}
  .seh-recordbook-metric-group>span{padding-top:2px}
}


/* Recordbook V1.3 — match context for single-game records */
.seh-record-row.has-match-context{
  min-height:76px;
}
.seh-record-meta-primary,
.seh-record-meta-secondary{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-copy .seh-record-meta-primary{
  color:#aeb9c3;
  font-weight:750;
}
.seh-record-copy .seh-record-meta-secondary{
  margin-top:2px;
  color:#617282;
  font-size:.62rem;
}
@media(max-width:720px){
  .seh-record-row.has-match-context{min-height:72px}
  .seh-record-copy .seh-record-meta-primary{font-size:.61rem}
  .seh-record-copy .seh-record-meta-secondary{font-size:.57rem}
}


/* Recordbook V1.3 — compact category-led control deck */
.seh-recordbook-panel{
  padding:18px 20px 20px;
}
.seh-recordbook-control-group--type{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:10px;
  margin:0;
  padding-bottom:14px;
}
.seh-recordbook-control-group--type .seh-recordbook-switch{
  width:max-content;
  padding:3px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:11px;
  background:rgba(2,7,12,.54);
}
.seh-recordbook-control-group--type .seh-recordbook-switch button{
  min-width:112px;
  min-height:32px;
  border:0;
  border-radius:8px;
  background:transparent;
}
.seh-recordbook-control-group--type .seh-recordbook-switch button.is-active{
  border:1px solid rgba(255,208,0,.68);
  background:linear-gradient(180deg,rgba(255,208,0,.13),rgba(255,208,0,.055));
}
.seh-recordbook-toolbar{
  gap:16px;
  padding:14px 0 4px;
}
.seh-recordbook-toolbar>.seh-recordbook-control-group{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:start;
  gap:10px;
}
.seh-recordbook-toolbar>.seh-recordbook-control-group .seh-recordbook-control-label{
  padding-top:11px;
}
.seh-recordbook-filters{
  gap:6px;
}
.seh-recordbook-filters button{
  min-width:54px;
  min-height:34px;
  border-radius:8px;
  padding:8px 12px;
}
.seh-recordbook-record-picker{
  display:grid;
  gap:12px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.055);
}
.seh-recordbook-record-picker>.seh-recordbook-control-group{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:start;
  gap:10px;
}
.seh-recordbook-record-picker>.seh-recordbook-control-group .seh-recordbook-control-label{
  padding-top:12px;
}
.seh-recordbook-group-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.seh-recordbook-group-tabs button{
  appearance:none;
  min-height:36px;
  padding:9px 16px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:9px;
  background:#09101a;
  color:#8d9aa6;
  font:900 .72rem/1 inherit;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.seh-recordbook-group-tabs button:hover{
  transform:translateY(-1px);
  border-color:rgba(80,227,220,.25);
  color:#e4ebf0;
}
.seh-recordbook-group-tabs button.is-active{
  border-color:rgba(255,208,0,.62);
  background:linear-gradient(180deg,rgba(255,208,0,.12),rgba(255,208,0,.05));
  color:#ffd000;
}
.seh-recordbook-group-tabs button.is-match-group.is-active{
  border-color:rgba(80,227,220,.5);
  background:linear-gradient(180deg,rgba(80,227,220,.12),rgba(80,227,220,.045));
  color:#64e4de;
}
.seh-recordbook-metrics{
  display:flex !important;
  flex-wrap:wrap;
  gap:7px;
  margin-left:102px;
  min-height:36px;
}
.seh-recordbook-metrics button{
  min-height:34px;
  padding:8px 13px;
  border-radius:8px;
}
.seh-recordbook-metrics.is-match-records button{
  border-color:rgba(80,227,220,.12);
  background:rgba(7,20,27,.68);
}
.seh-recordbook-metrics.is-match-records button.is-active{
  border-color:rgba(80,227,220,.56);
  background:rgba(80,227,220,.08);
  color:#6ce7e1;
}
.seh-recordbook-metric-group{
  display:contents !important;
}
.seh-recordbook-status{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.055);
}
@media(max-width:720px){
  .seh-recordbook-panel{padding:14px 10px 16px}
  .seh-recordbook-control-group--type{
    grid-template-columns:1fr;
    gap:7px;
  }
  .seh-recordbook-control-group--type .seh-recordbook-switch{
    width:100%;
  }
  .seh-recordbook-control-group--type .seh-recordbook-switch button{
    width:100%;
    min-width:0;
  }
  .seh-recordbook-toolbar>.seh-recordbook-control-group,
  .seh-recordbook-record-picker>.seh-recordbook-control-group{
    grid-template-columns:1fr;
    gap:6px;
  }
  .seh-recordbook-toolbar>.seh-recordbook-control-group .seh-recordbook-control-label,
  .seh-recordbook-record-picker>.seh-recordbook-control-group .seh-recordbook-control-label{
    padding-top:0;
  }
  .seh-recordbook-filters,
  .seh-recordbook-group-tabs,
  .seh-recordbook-metrics{
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    padding-bottom:2px;
  }
  .seh-recordbook-filters::-webkit-scrollbar,
  .seh-recordbook-group-tabs::-webkit-scrollbar,
  .seh-recordbook-metrics::-webkit-scrollbar{display:none}
  .seh-recordbook-filters button,
  .seh-recordbook-group-tabs button,
  .seh-recordbook-metrics button{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .seh-recordbook-metrics{
    margin-left:0;
  }
}


/* Recordbook V1.4 — final hierarchy and density polish */
.seh-recordbook-panel{
  padding:15px 20px 18px;
}
.seh-recordbook-control-group--type{
  padding-bottom:11px;
}
.seh-recordbook-toolbar{
  gap:13px;
  padding:11px 0 2px;
}
.seh-recordbook-record-picker{
  gap:9px;
  padding-top:11px;
}
.seh-recordbook-group-tabs{
  gap:7px;
}
.seh-recordbook-group-tabs button{
  min-height:35px;
  padding:9px 17px;
  border-color:rgba(255,255,255,.11);
  color:#a8b4bf;
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.005em;
}
.seh-recordbook-group-tabs button.is-active{
  border-color:rgba(255,208,0,.78);
  background:linear-gradient(180deg,rgba(255,208,0,.15),rgba(255,208,0,.055));
  box-shadow:0 0 0 1px rgba(255,208,0,.035) inset;
  color:#ffd000;
}
.seh-recordbook-group-tabs button.is-match-group.is-active{
  border-color:rgba(80,227,220,.64);
  background:linear-gradient(180deg,rgba(80,227,220,.14),rgba(80,227,220,.05));
  box-shadow:0 0 0 1px rgba(80,227,220,.025) inset;
  color:#6de9e3;
}
.seh-recordbook-metrics{
  gap:6px;
  min-height:31px;
}
.seh-recordbook-metrics button{
  min-height:31px;
  padding:7px 11px;
  border-radius:7px;
  color:#91a0ad;
  font-size:.69rem;
  font-weight:850;
}
.seh-recordbook-metrics button.is-active{
  color:#ffd000;
}
.seh-recordbook-metrics.is-match-records button.is-active{
  color:#72ebe5;
}
.seh-recordbook-filters button{
  min-height:32px;
  padding:7px 11px;
}
.seh-recordbook-status{
  min-height:28px;
  margin:14px 0 7px;
  padding:10px 2px 0;
}
.seh-recordbook-status strong{
  color:#a2b4c4;
  font-size:.63rem;
  letter-spacing:.14em;
}
.seh-recordbook-status span{
  color:#8da7bb;
  font-size:.67rem;
}
.seh-record-list{
  gap:6px;
}
.seh-record-row{
  min-height:61px;
}
@media(max-width:720px){
  .seh-recordbook-panel{padding:12px 10px 15px}
  .seh-recordbook-control-group--type{padding-bottom:9px}
  .seh-recordbook-toolbar{gap:10px;padding:9px 0 1px}
  .seh-recordbook-record-picker{gap:8px;padding-top:9px}
  .seh-recordbook-group-tabs button{
    min-height:34px;
    padding:8px 14px;
    font-size:.72rem;
  }
  .seh-recordbook-metrics button{
    min-height:31px;
    padding:7px 10px;
  }
  .seh-recordbook-status{
    margin-top:12px;
    padding-top:9px;
  }
}


/* Recordbook V1.5 — Hall of Fame top three */
.seh-record-podium{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 10px;
}
.seh-record-podium:empty{
  display:none;
}
.seh-record-podium-card{
  position:relative;
  min-width:0;
  min-height:132px;
  display:grid;
  grid-template-columns:62px minmax(0,1fr) auto;
  grid-template-rows:auto 1fr;
  align-items:center;
  gap:8px 11px;
  padding:13px 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  color:#f5f2ea;
  text-decoration:none;
  background:
    radial-gradient(circle at 0 0,rgba(80,227,220,.055),transparent 34%),
    linear-gradient(145deg,#0a111b,#070c13 72%);
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.seh-record-podium-card:hover{
  transform:translateY(-2px);
  border-color:rgba(80,227,220,.25);
}
.seh-record-podium-card.is-rank-1{
  border-color:rgba(255,208,0,.42);
  background:
    radial-gradient(circle at 0 0,rgba(255,208,0,.13),transparent 38%),
    linear-gradient(145deg,rgba(20,18,7,.97),#09101a 70%);
  box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.seh-record-podium-card.is-rank-1::before{
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:2px;
  content:"";
  background:linear-gradient(90deg,#ffd000,rgba(255,208,0,.25),transparent);
}
.seh-record-podium-rank{
  position:absolute;
  top:10px;
  right:11px;
  z-index:2;
  color:#657687;
  font-size:.62rem;
  font-weight:950;
  letter-spacing:.1em;
}
.seh-record-podium-card.is-rank-1 .seh-record-podium-rank{
  color:#ffd000;
}
.seh-record-podium-media{
  grid-row:1 / span 2;
  width:62px;
  height:82px;
  display:grid;
  place-items:center;
  align-self:end;
  overflow:hidden;
  border:1px solid rgba(80,227,220,.16);
  border-radius:10px;
  background:#0c1520;
  color:#6de9e3;
  font-weight:950;
}
.seh-record-podium-card.is-rank-1 .seh-record-podium-media{
  border-color:rgba(255,208,0,.28);
}
.seh-record-podium-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.seh-record-podium-card.is-team .seh-record-podium-media img{
  object-fit:contain;
  padding:6px;
  box-sizing:border-box;
}
.seh-record-podium-copy{
  min-width:0;
  align-self:end;
}
.seh-record-podium-copy>small{
  display:block;
  margin-bottom:4px;
  color:#63798d;
  font-size:.54rem;
  font-weight:950;
  letter-spacing:.13em;
}
.seh-record-podium-card.is-rank-1 .seh-record-podium-copy>small{
  color:#c5a532;
}
.seh-record-podium-copy>strong{
  display:block;
  overflow:hidden;
  color:#f4f1e9;
  font-size:.92rem;
  font-weight:950;
  line-height:1.08;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-copy>span{
  display:-webkit-box;
  margin-top:5px;
  overflow:hidden;
  color:#708293;
  font-size:.61rem;
  line-height:1.35;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.seh-record-podium-value{
  grid-column:2 / span 2;
  align-self:start;
  display:flex;
  align-items:baseline;
  gap:6px;
}
.seh-record-podium-value strong{
  color:#e8edf1;
  font-size:1.42rem;
  font-weight:950;
  letter-spacing:-.035em;
  line-height:1;
}
.seh-record-podium-card.is-rank-1 .seh-record-podium-value strong{
  color:#ffd000;
}
.seh-record-podium-value small{
  color:#6d8192;
  font-size:.57rem;
  font-weight:950;
  letter-spacing:.08em;
}
.seh-record-podium + .seh-record-list .seh-record-row:first-child{
  margin-top:2px;
}
@media(max-width:840px){
  .seh-record-podium{
    display:flex;
    gap:9px;
    margin-right:-10px;
    padding-right:10px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  .seh-record-podium::-webkit-scrollbar{display:none}
  .seh-record-podium-card{
    flex:0 0 min(82vw,310px);
  }
}
@media(max-width:520px){
  .seh-record-podium-card{
    min-height:122px;
    grid-template-columns:56px minmax(0,1fr) auto;
    padding:11px 12px;
  }
  .seh-record-podium-media{
    width:56px;
    height:74px;
  }
  .seh-record-podium-value strong{
    font-size:1.25rem;
  }
}


/* Recordbook V1.6 — tournament-stat inspired podium */
.seh-record-podium{
  gap:12px;
  margin-bottom:12px;
}
.seh-record-podium-card{
  min-height:214px;
  grid-template-columns:42% 58%;
  grid-template-rows:1fr;
  gap:0;
  padding:0;
  border-radius:16px;
  background:#05090e;
  box-shadow:none;
}
.seh-record-podium-card:hover{
  transform:translateY(-2px);
}
.seh-record-podium-card.is-rank-1{
  background:#05090e;
}
.seh-record-podium-card.is-rank-1::before{
  display:none;
}
.seh-record-podium-rank{
  top:5px;
  left:5px;
  right:auto;
  z-index:5;
  min-width:36px;
  height:32px;
  display:grid;
  place-items:center;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:10px;
  color:#dce5eb;
  background:rgba(8,14,23,.88);
  font-size:.78rem;
  letter-spacing:0;
}
.seh-record-podium-card.is-rank-1 .seh-record-podium-rank{
  border-color:#ffd000;
  color:#101214;
  background:#ffd000;
}
.seh-record-podium-card.is-rank-3 .seh-record-podium-rank{
  border-color:rgba(194,120,69,.56);
  color:#d6a07b;
}
.seh-record-podium-media{
  position:relative;
  z-index:1;
  grid-row:auto;
  width:100%;
  height:100%;
  min-height:214px;
  align-self:stretch;
  border:0;
  border-right:1px solid rgba(255,208,0,.28);
  border-radius:0;
  background:
    radial-gradient(circle at 50% 30%,rgba(45,119,194,.28),transparent 46%),
    linear-gradient(180deg,#17436f 0%,#102f50 55%,#0b2239 100%);
}
.seh-record-podium-card.is-rank-2 .seh-record-podium-media{
  border-right-color:rgba(111,174,225,.35);
}
.seh-record-podium-card.is-rank-3 .seh-record-podium-media{
  border-right-color:rgba(194,120,69,.34);
}
.seh-record-podium-media::after{
  position:absolute;
  inset:0;
  z-index:-1;
  content:"";
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 35%),
    linear-gradient(90deg,rgba(255,255,255,.025),transparent 50%);
}
.seh-record-podium-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transform:none;
}
.seh-record-podium-card.is-team .seh-record-podium-media{
  padding:22px;
  box-sizing:border-box;
}
.seh-record-podium-card.is-team .seh-record-podium-media img{
  object-fit:contain;
  padding:0;
}
.seh-record-podium-main{
  position:relative;
  z-index:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:28px 18px 15px 20px;
  overflow:hidden;
  background:
    linear-gradient(120deg,rgba(7,12,18,.99),rgba(3,7,11,.98));
}
.seh-record-podium-copy{
  position:relative;
  z-index:3;
  align-self:auto;
  padding-right:42px;
}
.seh-record-podium-copy>strong{
  color:#fff;
  font-size:1.08rem;
  line-height:1.05;
  letter-spacing:-.025em;
}
.seh-record-podium-team{
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#d6e3ea;
  font-size:.61rem;
  font-weight:900;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-teamlogo{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
  width:38px;
  height:38px;
  object-fit:contain;
}
.seh-record-podium-watermark{
  position:absolute;
  right:-20px;
  bottom:5px;
  z-index:-1;
  width:150px;
  height:150px;
  object-fit:contain;
  opacity:.11;
  filter:saturate(.8);
  pointer-events:none;
}
.seh-record-podium-value{
  position:relative;
  z-index:3;
  grid-column:auto;
  display:flex;
  margin-top:16px;
  align-items:baseline;
  gap:6px;
}
.seh-record-podium-value strong{
  color:#ffd000;
  font-size:1.9rem;
  line-height:.95;
  letter-spacing:-.045em;
}
.seh-record-podium-card:not(.is-rank-1) .seh-record-podium-value strong{
  color:#f3f6f8;
}
.seh-record-podium-value small{
  color:#c8d4db;
  font-size:.72rem;
}
.seh-record-podium-stats{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin-top:13px;
}
.seh-record-podium-stats>span{
  min-width:0;
  min-height:48px;
  display:grid;
  align-content:center;
  gap:3px;
  padding:6px 7px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018));
}
.seh-record-podium-stats small{
  overflow:hidden;
  color:#7d8d99;
  font-size:.48rem;
  font-weight:950;
  letter-spacing:.08em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-stats strong{
  overflow:hidden;
  color:#f3f4f3;
  font-size:.81rem;
  font-weight:950;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-detail{
  position:relative;
  z-index:3;
  display:block;
  min-height:13px;
  margin-top:9px;
  overflow:hidden;
  color:#667886;
  font-size:.52rem;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-progress{
  position:relative;
  z-index:3;
  height:3px;
  display:block;
  margin-top:11px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(130,150,165,.18);
}
.seh-record-podium-progress i{
  height:100%;
  display:block;
  border-radius:inherit;
  background:#ffd000;
}
.seh-record-podium-card.is-rank-2 .seh-record-podium-progress i{
  background:#d9e5eb;
}
.seh-record-podium-card.is-rank-3 .seh-record-podium-progress i{
  background:#c78255;
}
@media(max-width:980px){
  .seh-record-podium{
    display:flex;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .seh-record-podium-card{
    flex:0 0 min(88vw,430px);
    min-height:210px;
  }
}
@media(max-width:520px){
  .seh-record-podium-card{
    grid-template-columns:40% 60%;
    min-height:190px;
  }
  .seh-record-podium-media{
    min-height:190px;
  }
  .seh-record-podium-main{
    padding:25px 13px 12px 14px;
  }
  .seh-record-podium-copy>strong{
    font-size:.96rem;
  }
  .seh-record-podium-value{
    margin-top:12px;
  }
  .seh-record-podium-value strong{
    font-size:1.55rem;
  }
  .seh-record-podium-stats{
    gap:4px;
    margin-top:10px;
  }
  .seh-record-podium-stats>span{
    min-height:43px;
    padding:5px;
  }
}


/* Recordbook V1.7 — record-specific podium details */
.seh-record-podium-stats small{
  text-overflow:clip;
}
.seh-record-podium-detail{
  min-height:13px;
  display:grid;
  gap:2px;
  overflow:visible;
  white-space:normal;
}
.seh-record-podium-detail-primary,
.seh-record-podium-detail-secondary{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.seh-record-podium-detail-primary{
  color:#718595;
  font-size:.54rem;
  font-weight:750;
}
.seh-record-podium-detail-secondary{
  color:#566978;
  font-size:.49rem;
}
.seh-record-podium-card .seh-record-podium-stats small{
  letter-spacing:.055em;
}
@media(max-width:520px){
  .seh-record-podium-detail-primary{font-size:.51rem}
  .seh-record-podium-detail-secondary{font-size:.47rem}
}


/* Recordbook V1.8 — full numeric podium stats */
.seh-record-podium-stats{
  gap:5px;
}
.seh-record-podium-stats>span{
  padding-left:6px;
  padding-right:6px;
}
.seh-record-podium-stats strong{
  width:100%;
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  color:#f3f4f3;
  font-size:clamp(.65rem,.68vw,.81rem);
  font-weight:950;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.025em;
  line-height:1.05;
}
@media(max-width:520px){
  .seh-record-podium-stats{
    gap:3px;
  }
  .seh-record-podium-stats>span{
    padding-left:4px;
    padding-right:4px;
  }
  .seh-record-podium-stats strong{
    font-size:.67rem;
  }
}


/* Recordbook V1.9 — compact premium record dock */
.seh-recordbook-panel{
  padding:0 18px 18px;
}
.seh-recordbook-dock{
  position:relative;
  padding:14px 0 12px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.seh-recordbook-dock::before{
  position:absolute;
  top:0;
  left:0;
  width:160px;
  height:2px;
  content:"";
  background:linear-gradient(90deg,#ffd000 0%,rgba(80,227,220,.72) 45%,transparent 100%);
}
.seh-recordbook-dock-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:0;
  padding-bottom:11px;
}
.seh-recordbook-switch{
  flex:0 0 auto;
  display:inline-flex;
  gap:2px;
  margin:0;
  padding:3px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:#060b12;
}
.seh-recordbook-switch button{
  min-width:104px;
  min-height:32px;
  padding:7px 15px;
  border:0;
  border-radius:7px;
  color:#7f8d99;
  background:transparent;
  font-size:.72rem;
  font-weight:900;
}
.seh-recordbook-switch button.is-active{
  border:1px solid rgba(255,208,0,.62);
  color:#ffd000;
  background:linear-gradient(180deg,rgba(255,208,0,.12),rgba(255,208,0,.045));
  box-shadow:0 0 0 1px rgba(255,208,0,.025) inset;
}
.seh-recordbook-filters{
  min-width:0;
  display:flex;
  justify-content:flex-end;
  gap:4px;
  flex-wrap:wrap;
}
.seh-recordbook-filters button{
  min-width:0;
  min-height:30px;
  padding:6px 11px;
  border:1px solid transparent;
  border-radius:7px;
  color:#7e8b97;
  background:transparent;
  font-size:.69rem;
  font-weight:850;
}
.seh-recordbook-filters button:hover{
  border-color:rgba(255,255,255,.08);
  color:#c8d1d8;
  background:rgba(255,255,255,.025);
}
.seh-recordbook-filters button.is-active{
  border-color:rgba(255,208,0,.48);
  color:#ffd000;
  background:rgba(255,208,0,.075);
}
.seh-recordbook-group-tabs{
  position:relative;
  display:flex;
  align-items:flex-end;
  gap:24px;
  min-width:0;
  padding:2px 0 0;
  border-top:1px solid rgba(255,255,255,.035);
}
.seh-recordbook-group-tabs button{
  position:relative;
  min-height:42px;
  padding:13px 0 11px;
  border:0;
  border-radius:0;
  color:#667684;
  background:transparent;
  font-size:.77rem;
  font-weight:950;
  letter-spacing:.005em;
}
.seh-recordbook-group-tabs button::after{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  height:2px;
  border-radius:99px;
  content:"";
  opacity:0;
  transform:scaleX(.5);
  background:#ffd000;
  transition:opacity .16s ease,transform .16s ease;
}
.seh-recordbook-group-tabs button:hover{
  transform:none;
  border:0;
  color:#cbd5db;
}
.seh-recordbook-group-tabs button.is-active{
  border:0;
  color:#f5f2e9;
  background:transparent;
  box-shadow:none;
}
.seh-recordbook-group-tabs button.is-active::after{
  opacity:1;
  transform:scaleX(1);
}
.seh-recordbook-group-tabs button.is-match-group.is-active{
  border:0;
  color:#70e8e2;
  background:transparent;
  box-shadow:none;
}
.seh-recordbook-group-tabs button.is-match-group.is-active::after{
  background:#50e3dc;
}
.seh-recordbook-metrics{
  width:max-content;
  max-width:100%;
  min-height:0;
  display:flex !important;
  gap:3px;
  margin:9px 0 0 !important;
  padding:4px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:9px;
  background:#05090f;
}
.seh-recordbook-metrics button{
  min-height:29px;
  padding:6px 10px;
  border:0;
  border-radius:6px;
  color:#667785;
  background:transparent;
  font-size:.66rem;
  font-weight:900;
}
.seh-recordbook-metrics button:hover{
  color:#c5d0d7;
  background:rgba(255,255,255,.035);
}
.seh-recordbook-metrics button.is-active{
  border:0;
  color:#16191c;
  background:#ffd000;
  box-shadow:none;
}
.seh-recordbook-metrics.is-match-records{
  border-color:rgba(80,227,220,.1);
  background:rgba(4,13,18,.88);
}
.seh-recordbook-metrics.is-match-records button{
  border:0;
  background:transparent;
}
.seh-recordbook-metrics.is-match-records button.is-active{
  border:0;
  color:#041012;
  background:#50e3dc;
}
.seh-recordbook-status{
  margin:12px 0 8px;
  padding:0;
  border-top:0;
}
@media(max-width:760px){
  .seh-recordbook-panel{
    padding:0 10px 15px;
  }
  .seh-recordbook-dock{
    padding:11px 0 10px;
  }
  .seh-recordbook-dock-top{
    display:grid;
    gap:8px;
    padding-bottom:9px;
  }
  .seh-recordbook-switch{
    width:max-content;
  }
  .seh-recordbook-switch button{
    min-width:92px;
  }
  .seh-recordbook-filters,
  .seh-recordbook-group-tabs,
  .seh-recordbook-metrics{
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }
  .seh-recordbook-filters{
    justify-content:flex-start;
  }
  .seh-recordbook-filters::-webkit-scrollbar,
  .seh-recordbook-group-tabs::-webkit-scrollbar,
  .seh-recordbook-metrics::-webkit-scrollbar{display:none}
  .seh-recordbook-filters button,
  .seh-recordbook-group-tabs button,
  .seh-recordbook-metrics button{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .seh-recordbook-group-tabs{
    gap:20px;
  }
  .seh-recordbook-metrics{
    width:100%;
  }
}


/* Recordbook V2.0 — dedicated team podium cards */
.seh-record-podium-card.is-team .seh-record-podium-copy{
  padding-right:0;
}
.seh-record-podium-card.is-team .seh-record-podium-copy>strong{
  display:-webkit-box;
  overflow:hidden;
  color:#fff;
  font-size:.98rem;
  line-height:1.08;
  letter-spacing:-.025em;
  text-overflow:clip;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.seh-record-podium-card.is-team .seh-record-podium-main{
  padding-right:15px;
}
.seh-record-podium-card.is-team .seh-record-podium-teamlogo{
  display:none;
}
.seh-record-podium-card.is-team .seh-record-podium-watermark{
  right:-18px;
  bottom:-2px;
  width:156px;
  height:156px;
  opacity:.105;
}
@media(max-width:520px){
  .seh-record-podium-card.is-team .seh-record-podium-copy>strong{
    font-size:.91rem;
  }
}


/* Recordbook V2.1 — unified player/team controls */
.seh-recordbook-dock-top{
  justify-content:flex-start;
  gap:22px;
}
.seh-recordbook-filters{
  justify-content:flex-start;
  gap:5px;
  margin-left:0;
}
.seh-recordbook-switch button,
.seh-recordbook-filters button,
.seh-recordbook-group-tabs button,
.seh-recordbook-metrics button{
  outline:none;
}
.seh-recordbook-switch button:focus,
.seh-recordbook-switch button:focus-visible,
.seh-recordbook-filters button:focus,
.seh-recordbook-filters button:focus-visible,
.seh-recordbook-group-tabs button:focus,
.seh-recordbook-group-tabs button:focus-visible,
.seh-recordbook-metrics button:focus,
.seh-recordbook-metrics button:focus-visible{
  outline:none;
  box-shadow:none;
}
.seh-recordbook-switch button.is-active{
  border-color:#ffd000;
  color:#11151a;
  background:#ffd000;
  box-shadow:none;
}
.seh-recordbook-switch button.is-active:hover,
.seh-recordbook-switch button.is-active:focus,
.seh-recordbook-switch button.is-active:focus-visible{
  border-color:#ffd000;
  color:#11151a;
  background:#ffd000;
  box-shadow:none;
}
.seh-recordbook-filters button.is-active{
  border-color:#ffd000;
  color:#11151a;
  background:#ffd000;
}
.seh-recordbook-filters button.is-active:hover,
.seh-recordbook-filters button.is-active:focus,
.seh-recordbook-filters button.is-active:focus-visible{
  border-color:#ffd000;
  color:#11151a;
  background:#ffd000;
}
.seh-recordbook-group-tabs,
.seh-recordbook-metrics{
  margin-left:0;
}
@media(min-width:761px){
  .seh-recordbook-dock-top{
    min-height:42px;
  }
  .seh-recordbook-switch{
    flex:0 0 216px;
  }
  .seh-recordbook-filters{
    flex:0 1 auto;
  }
}
@media(max-width:760px){
  .seh-recordbook-dock-top{
    gap:8px;
  }
  .seh-recordbook-filters{
    margin-left:0;
  }
}


/* Recordbook V2.2 — align with the primary Svensk eHockey visual system */
.seh-recordbook-shell{
  width:min(var(--seh-wide,1450px),calc(100% - 40px));
}
.seh-recordbook-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  align-items:stretch;
  gap:0;
  margin:0;
  padding:64px 0;
  border-top:1px solid var(--seh-line,rgba(255,255,255,.12));
  border-bottom:1px solid var(--seh-line,rgba(255,255,255,.12));
  background:transparent;
}
.seh-recordbook-hero>div,
.seh-recordbook-hero>aside{
  min-width:0;
  padding:34px 38px;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.seh-recordbook-hero>div{
  background:transparent;
}
.seh-recordbook-hero h1{
  margin:8px 0 18px;
  color:#f4f1e9;
  font-family:"Arial Black",Impact,Haettenschweiler,sans-serif;
  font-size:clamp(4.6rem,7.8vw,7.6rem);
  font-weight:900;
  letter-spacing:-.065em;
  line-height:.82;
}
.seh-recordbook-hero>div>p:last-child{
  max-width:760px;
  margin:0;
  color:#a2a8a5;
  font-size:.96rem;
  line-height:1.65;
}
.seh-recordbook-hero>aside{
  align-content:space-between;
  color:#090a0a;
  background:#ffd000;
}
.seh-recordbook-hero aside span,
.seh-recordbook-hero aside strong,
.seh-recordbook-hero aside p{
  color:#090a0a;
}
.seh-recordbook-hero aside span{
  font-size:.64rem;
  letter-spacing:.12em;
}
.seh-recordbook-hero aside strong{
  margin-top:14px;
  font-family:"Arial Black",Impact,Haettenschweiler,sans-serif;
  font-size:clamp(2rem,3vw,3rem);
  letter-spacing:-.045em;
  line-height:.92;
}
.seh-recordbook-hero aside p{
  margin:18px 0 0;
  opacity:.74;
  line-height:1.45;
}
.seh-recordbook-panel{
  margin:32px 0 70px;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.seh-recordbook-panel::before{display:none}
.seh-recordbook-dock{
  padding:18px 0 14px;
  border-top:1px solid var(--seh-line,rgba(255,255,255,.12));
  border-bottom:1px solid var(--seh-line,rgba(255,255,255,.12));
}
.seh-recordbook-dock::before{
  top:-1px;
  left:0;
  width:150px;
  height:2px;
  background:#ffd000;
}
.seh-recordbook-switch,
.seh-recordbook-metrics{
  border-radius:0;
  background:#0b0d0d;
}
.seh-recordbook-switch button,
.seh-recordbook-filters button,
.seh-recordbook-group-tabs button,
.seh-recordbook-metrics button{
  border-radius:0;
}
.seh-recordbook-switch button.is-active,
.seh-recordbook-filters button.is-active{
  color:#080909;
  border-color:#ffd000;
  background:#ffd000;
}
.seh-recordbook-group-tabs{
  border-top:1px solid rgba(255,255,255,.065);
}
.seh-recordbook-group-tabs button.is-active::after{
  border-radius:0;
}
.seh-recordbook-metrics{
  border-color:rgba(255,255,255,.09);
}
.seh-recordbook-metrics button.is-active{
  color:#080909;
  background:#ffd000;
}
.seh-recordbook-status{
  min-height:44px;
  margin:0;
  padding:15px 2px 10px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.seh-record-podium{
  gap:0;
  margin-top:0;
  border-left:1px solid var(--seh-line,rgba(255,255,255,.12));
  border-top:1px solid var(--seh-line,rgba(255,255,255,.12));
}
.seh-record-podium-card,
.seh-record-podium-card.is-team{
  border-radius:0;
  border-color:var(--seh-line,rgba(255,255,255,.12));
  border-top:0;
  border-left:0;
  background:#0b0d0d;
  box-shadow:none;
}
.seh-record-podium-stats>span,
.seh-record-avatar,
.seh-record-rank{
  border-radius:0;
}
.seh-record-list{
  gap:0;
  border-top:1px solid var(--seh-line,rgba(255,255,255,.12));
  border-left:1px solid var(--seh-line,rgba(255,255,255,.12));
}
.seh-record-row,
.seh-record-row.is-leader{
  min-height:68px;
  border-radius:0;
  border-top:0;
  border-left:0;
  border-color:var(--seh-line,rgba(255,255,255,.12));
  background:#0b0d0d;
}
.seh-record-row:hover{
  transform:none;
  border-color:var(--seh-line,rgba(255,255,255,.12));
  background:rgba(255,208,0,.035);
}
.seh-record-row.is-leader{
  background:linear-gradient(90deg,rgba(255,208,0,.08),#0b0d0d 42%);
}
.seh-record-row.is-leader::before{
  top:0;
  bottom:0;
  width:3px;
  box-shadow:none;
}
.seh-recordbook-note{
  margin:18px 2px 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.07);
}

@media(max-width:820px){
  .seh-recordbook-shell{
    width:min(100% - 24px,1450px);
  }
  .seh-recordbook-hero{
    grid-template-columns:1fr;
    padding:28px 0;
  }
  .seh-recordbook-hero>div,
  .seh-recordbook-hero>aside{
    padding:24px 18px;
  }
  .seh-recordbook-hero h1{
    font-size:clamp(3.45rem,16vw,5.4rem);
  }
  .seh-recordbook-hero>aside{
    min-height:155px;
  }
  .seh-recordbook-panel{
    margin-top:20px;
  }
  .seh-recordbook-dock-top{
    display:grid;
    gap:9px;
  }
  .seh-recordbook-switch{
    width:100%;
  }
  .seh-recordbook-switch button{
    flex:1 1 0;
    min-width:0;
  }
  .seh-record-podium{
    border-left:0;
  }
  .seh-record-podium-card{
    border-left:1px solid var(--seh-line,rgba(255,255,255,.12));
  }
}


/* Recordbook V2.3 — prevent desktop hero title collision */
@media(min-width:821px){
  .seh-recordbook-hero{
    grid-template-columns:minmax(0,1fr) clamp(300px,31vw,360px);
    gap:24px;
  }
  .seh-recordbook-hero>div{
    padding-right:18px;
  }
  .seh-recordbook-hero>aside{
    padding:34px 30px;
  }
  .seh-recordbook-hero h1{
    max-width:100%;
    font-size:clamp(4.15rem,6.55vw,6.35rem);
    line-height:.84;
    white-space:nowrap;
  }
  .seh-recordbook-hero aside strong{
    font-size:clamp(1.9rem,2.55vw,2.7rem);
  }
}
@media(min-width:821px) and (max-width:1100px){
  .seh-recordbook-hero{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:18px;
  }
  .seh-recordbook-hero>div{
    padding-left:26px;
    padding-right:10px;
  }
  .seh-recordbook-hero h1{
    font-size:clamp(3.8rem,6.35vw,4.8rem);
  }
}


/* Recordbook V2.4 — same desktop shell width as the rest of the site */
.seh-recordbook-shell{
  width:min(var(--seh-wide,1460px),calc(100% - 40px));
  max-width:var(--seh-wide,1460px);
}
@media(max-width:820px){
  .seh-recordbook-shell{
    width:min(100% - 24px,var(--seh-wide,1460px));
    max-width:var(--seh-wide,1460px);
  }
}


/* Recordbook V2.5 — shared desktop hero geometry */
@media(min-width:921px){
  body:not(.seh-route-records) .seh-recordbook-shell{
    width:min(1540px,calc(100% - 42px));
    max-width:1540px;
    margin-inline:auto;
  }

  body:not(.seh-route-records) .seh-recordbook-hero{
    box-sizing:border-box;
    min-height:356px;
    height:356px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:54px;
    align-items:center;
    margin:0;
    padding:0 54px;
    border-top:1px solid rgba(255,255,255,.11);
    border-bottom:1px solid rgba(255,255,255,.11);
    background:
      linear-gradient(108deg,transparent 0 61%,rgba(255,208,0,.025) 61.05% 61.13%,transparent 61.2%),
      radial-gradient(circle at 88% 26%,rgba(10,56,78,.055),transparent 28%),
      linear-gradient(90deg,#070909 0%,#050706 55%,#06090a 100%);
    overflow:hidden;
  }

  body:not(.seh-route-records) .seh-recordbook-hero>div{
    min-width:0;
    align-self:center;
    padding:0;
  }

  body:not(.seh-route-records) .seh-recordbook-hero h1{
    max-width:1040px;
    margin:10px 0 16px;
    font-size:clamp(68px,5vw,96px);
    font-weight:1000;
    line-height:.86;
    letter-spacing:-.065em;
    white-space:normal;
    text-wrap:balance;
  }

  body:not(.seh-route-records) .seh-recordbook-hero>div>p:last-child{
    max-width:780px;
    margin:0;
    color:rgba(244,241,233,.68);
    font-size:14px;
    line-height:1.58;
  }

  body:not(.seh-route-records) .seh-recordbook-hero .directory-kicker{
    margin:0 0 8px;
    color:#43e8e1;
    font-size:11px;
    font-weight:950;
    letter-spacing:.055em;
  }

  body:not(.seh-route-records) .seh-recordbook-hero>aside{
    width:360px;
    min-width:360px;
    max-width:360px;
    height:240px;
    min-height:240px;
    max-height:240px;
    align-self:center;
    justify-self:end;
    box-sizing:border-box;
    margin:0;
    padding:26px 28px;
    border:0;
    border-radius:0;
    color:#080909;
    background:#ffd000;
    box-shadow:none;
  }

  body:not(.seh-route-records) .seh-recordbook-hero aside strong{
    margin-top:12px;
    font-size:clamp(2rem,2.35vw,2.7rem);
    line-height:.94;
  }
}


/* Recordbook V2.6 — align hero top and title baseline */
@media(min-width:921px){
  body:not(.seh-route-records) .seh-recordbook-shell{
    padding-top:28px;
  }

  body:not(.seh-route-records) .seh-recordbook-hero>div{
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    box-sizing:border-box;
    padding:68px 0 0;
  }
}


/* Recordbook V2.7 — shared yellow-block eyebrow */
@media(min-width:921px){
  body:not(.seh-route-records) .seh-recordbook-hero>aside>span:first-child{
    display:block;
    margin:0 0 12px;
    padding:0;
    color:#080909;
    font-family:Inter,Arial,Helvetica,sans-serif;
    font-size:10px;
    font-weight:1000;
    line-height:1;
    letter-spacing:.095em;
    text-transform:uppercase;
  }
}


/* Recordbook V2.8 — compact horizontal player/team switch */
.seh-recordbook-dock-top{
  justify-content:flex-start;
  align-items:center;
  gap:22px;
}
.seh-recordbook-switch{
  flex:0 0 auto;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(104px,1fr)) !important;
  gap:0 !important;
  width:auto !important;
  margin:0 !important;
  padding:3px !important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:0 !important;
  background:#090b0b;
}
.seh-recordbook-switch button{
  width:auto !important;
  min-width:104px !important;
  min-height:34px !important;
  margin:0 !important;
  padding:0 16px !important;
  border:0 !important;
  border-right:1px solid rgba(255,255,255,.07) !important;
  border-radius:0 !important;
  background:transparent !important;
}
.seh-recordbook-switch button:last-child{
  border-right:0 !important;
}
.seh-recordbook-switch button.is-active{
  color:#080909 !important;
  background:#ffd000 !important;
  box-shadow:none !important;
}
.seh-recordbook-filters{
  justify-content:flex-start !important;
  flex:0 1 auto;
}
@media(max-width:720px){
  .seh-recordbook-dock-top{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .seh-recordbook-switch{
    width:min(100%,260px) !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .seh-recordbook-switch button{
    min-width:0 !important;
  }
}


/* Recordbook V2.9 — fixed player podium portrait geometry */
@media(min-width:981px){
  /* Player podium cards keep one geometry regardless of metric/detail content.
     42% media width inside a 16:9 card is ~3:4, matching 1200x1600 portraits. */
  .seh-record-podium-card:not(.is-team){
    min-height:0 !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
  }

  .seh-record-podium-card:not(.is-team) .seh-record-podium-media{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    align-self:stretch !important;
  }

  .seh-record-podium-card:not(.is-team) .seh-record-podium-media img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:50% 0% !important;
    transform:none !important;
  }

  /* Content may vary by record, but it must not resize the portrait/card. */
  .seh-record-podium-card:not(.is-team) .seh-record-podium-main{
    min-height:0 !important;
    overflow:hidden !important;
  }
}
