/* Tourmometer mod_tm_rating modern styles v1 — stage 14A4 */
.tmr-modern,
.tmr-modern *{
  box-sizing:border-box;
}

.tmr-modern{
  width:100%;
  margin:0;
  padding:0 20px;
  color:#173954;
  background:transparent;
  font-family:Arial,sans-serif;
}

.tmr-modern__inner{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  width:100%;
  max-width:1240px;
  min-height:0;
  margin:0 auto;
  padding:25px 0 19px;
  border:0;
  border-bottom:1px solid #d8e3eb;
  background:transparent;
}

.tmr-modern__header{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  min-width:0;
  margin:0;
  padding:0 22px 0 0;
  row-gap:8px;
}

.tmr-modern__kicker,
.tmr-modern__title,
.tmr-modern__updated{
  margin:0;
  padding:0;
}

.tmr-modern__kicker{
  color:#7d98ad;
  font-size:9px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:2px;
  text-transform:uppercase;
}

.tmr-modern__title{
  color:#173954;
  font-size:18px;
  font-weight:650;
  line-height:1.2;
  letter-spacing:-.2px;
}

.tmr-modern__updated{
  color:#7890a3;
  font-size:9.5px;
  font-weight:500;
  line-height:1.15;
  letter-spacing:0;
  white-space:nowrap;
}

.tmr-modern__all-link{
  display:inline-block;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:#2298d5;
  font-size:11px;
  font-weight:500;
  line-height:1.25;
  text-decoration:none;
  transform:scale(1);
  transform-origin:left center;
  transition:transform .18s ease,color .18s ease;
}

.tmr-modern__all-link:hover{
  color:#2298d5;
  background:transparent;
  text-decoration:none;
  transform:scale(1.05);
}

.tmr-modern__all-link:focus-visible{
  color:#2298d5;
  outline:2px solid rgba(34,152,213,.35);
  outline-offset:4px;
}

.tmr-modern__leaders{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  min-width:0;
  margin:0;
  padding:0;
  border-left:1px solid #d8e3eb;
}

.tmr-modern__leader{
  position:relative;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  min-width:0;
  min-height:76px;
  margin:0;
  padding:0 22px;
  border:0;
  border-left:1px solid #d8e3eb;
  background:transparent;
}

.tmr-modern__leader:first-child{
  border-left:0;
}

.tmr-modern__leader::after{
  position:absolute;
  bottom:0;
  left:22px;
  width:32px;
  height:3px;
  border-radius:3px;
  background:#2298d5;
  content:"";
}

.tmr-modern__leader--green::after{
  background:#20a077;
}

.tmr-modern__leader--orange::after{
  background:#f5a125;
}

.tmr-modern__rank{
  display:block;
  color:#aec3d3;
  font-size:31px;
  font-weight:650;
  line-height:1;
  letter-spacing:-1.2px;
}

.tmr-modern__leader-body{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  color:#173954;
  text-decoration:none;
}

.tmr-modern__leader-body:hover,
.tmr-modern__leader-body:focus{
  color:#173954;
  text-decoration:none;
}

.tmr-modern__leader-body:focus-visible{
  border-radius:3px;
  outline:2px solid rgba(34,152,213,.35);
  outline-offset:5px;
}

.tmr-modern__name{
  display:block;
  width:100%;
  overflow:hidden;
  color:#173954;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tmr-modern__iks-row{
  display:flex;
  align-items:baseline;
  min-width:0;
  margin-top:8px;
  gap:7px;
}

.tmr-modern__iks-label{
  color:#718a9d;
  font-size:9px;
  font-weight:700;
  line-height:1;
  letter-spacing:.55px;
  text-transform:uppercase;
}

.tmr-modern__iks-value{
  color:#173954;
  font-size:16px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.15px;
}

.tmr-modern__delta{
  margin-left:1px;
  color:#ef434d;
  font-size:9px;
  font-weight:800;
  line-height:1;
}

.tmr-modern__delta.is-up{
  color:#20a077;
}

.tmr-modern__delta.is-down{
  color:#ef434d;
}

@media(max-width:1000px){
  .tmr-modern__inner{
    grid-template-columns:280px minmax(0,1fr);
  }

  .tmr-modern__leader{
    padding-right:14px;
    padding-left:14px;
  }

  .tmr-modern__leader::after{
    left:14px;
  }
}

@media(max-width:900px){
  .tmr-modern__inner{
    display:block;
    padding:20px 0 22px;
  }

  .tmr-modern__header{
    padding:0 0 18px;
  }
}

@media(max-width:620px){
  .tmr-modern{
    padding-right:16px;
    padding-left:16px;
  }

  .tmr-modern__leaders{
    grid-template-columns:1fr;
    border-top:1px solid #d8e3eb;
    border-left:0;
  }

  .tmr-modern__leader{
    grid-template-columns:52px minmax(0,1fr);
    min-height:72px;
    padding:0 6px;
    border-left:0;
    border-bottom:1px solid #e1e9ef;
  }

  .tmr-modern__leader:last-child{
    border-bottom:0;
  }

  .tmr-modern__leader::after{
    left:6px;
  }

  .tmr-modern__rank{
    font-size:27px;
  }
}

@media(prefers-reduced-motion:reduce){
  .tmr-modern__all-link{
    transition:none;
  }
}

/* Tourmometer rating modern old-template spacing — stage 14A5 */
html[data-tm-ui="off"] .tmr-modern,
html:not([data-tm-ui]) .tmr-modern{
  margin-top:-18px;
}

@media(max-width:620px){
  html[data-tm-ui="off"] .tmr-modern,
  html:not([data-tm-ui]) .tmr-modern{
    margin-top:-12px;
  }
}

/* Tourmometer unified modern module heading — stage 17A6. */
.tmr-modern__kicker {
  color:#7694ab;
  font-family:Arial,sans-serif;
  font-size:9px;
  font-weight:800;
  line-height:1.55;
  letter-spacing:2.5px;
  text-transform:uppercase;
}
.tmr-modern__title {
  color:#173954;
  font-family:Arial,sans-serif;
  font-size:30px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.6px;
}
@media(max-width:760px){
  .tmr-modern__title {font-size:25px;}
}

@media(min-width:1001px){
  .tmr-modern__inner{
    grid-template-columns:390px minmax(0,1fr);
  }
}
