.phd {
  height: 68px;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
}
.phd-logo {
  margin: 4px 0 0;
  width: 102px;
  height: 35px;
}
.phd-bal {
  margin: 7px 0 0;
  width: 82px;
  height: 30px;
  padding: 0 12px 0 6px;
  border-radius: 10px;
  gap: 6px;
}
.phd-coin {
  width: 22px;
  height: 22px;
  margin: 0;
}
.phd-bal span {
  padding: 0;
}
.phd-theme {
  margin: 0;
}
.phd-av {
  margin: 4px 0 0;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: #262d3a;
  color: #c8d0dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.tabbar {
  height: 64px;
}
.tabbar .tb {
  display: block;
  flex: 0 0 68px;
  width: 68px;
  height: 64px;
  gap: 0;
}
.tabbar .tb img {
  position: absolute;
  left: 22px;
  top: 13px;
  width: 24px;
  height: 24px;
}
.tabbar .tb img.b {
  left: 18px;
  top: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
}
.tabbar .tb span {
  position: absolute;
  left: 0;
  top: 41px;
  width: 68px;
  height: 12px;
  font-size: 11px;
  line-height: 12px;
}
.tabbar .tb.bon span {
  font-weight: 700;
  color: #7fcf4e;
}
.tabbar .tb-n {
  left: 44px;
  top: 2px;
  width: 26px;
  padding: 0;
  text-align: center;
}
.arrows {
  display: flex;
  gap: 8px;
  width: auto;
  height: 35px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  align-self: center;
}
.arrows button {
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: none;
  color: #c8d0dc;
  display: grid;
  place-items: center;
}
.arrows button:active {
  background: #262d3a;
  color: #fff;
}
.arrows svg {
  width: 18px;
  height: 18px;
}
.rv-grid {
  scroll-padding-inline: 12px;
}
.sh:has(.arrows) {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  grid-template-rows: 35px auto;
  column-gap: 12px;
  row-gap: 0;
  align-items: center;
}
.sh:has(.arrows) > div:not(.arrows) {
  display: contents;
}
.sh:has(.arrows) .sh-ic {
  grid-area: 1/1;
}
.sh:has(.arrows) h2 {
  grid-area: 1/2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh:has(.arrows) .sp {
  display: none;
}
.sh:has(.arrows) .arrows {
  grid-area: 1/3;
}
.sh:has(.arrows) .sub {
  grid-area: 2/2/3/4;
  margin-top: 0;
}
@media (min-width: 600px) {
  html {
    background: #0a0d12;
  }
  body {
    max-width: 360px;
    margin: 0 auto;
    box-shadow: 0 0 0 1px #2c3442;
    min-height: 100vh;
  }
  .tabbar {
    left: 50%;
    right: auto;
    width: 360px;
    transform: translateX(-50%);
  }
}
