* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #000e15;
  color: #f4f7f8;
  font:
    15px/1.45 system-ui,
    -apple-system,
    sans-serif;
}
#app {
  max-width: 480px;
  margin: auto;
  padding: 0 16px 40px;
}
.site-header {
  position: sticky;
  top: 0;
  background: #000e15;
  z-index: 2;
}
nav {
  display: flex;
  overflow: auto;
  scrollbar-width: none;
}
nav button {
  border: 0;
  color: #94a0a5;
  background: none;
  white-space: nowrap;
  flex: 1;
  min-width: 72px;
  padding: 9px 6px 13px;
  font-size: 14px;
  position: relative;
  cursor: pointer;
}
nav button.active {
  color: #fff;
  font-weight: 700;
}
nav button.active:after {
  content: '';
  position: absolute;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: #ff6d1e;
  bottom: 4px;
  left: calc(50% - 7px);
}
h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 16px 0 12px;
}
.image {
  position: relative;
  background: #10232c;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}
.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item {
  position: relative;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.description,
.meta {
  color: #899ba1;
  font-size: 13px;
}
.grid .items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px 10px;
}
.grid .item-title {
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  min-height: 2.6em;
  margin-top: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
}
.video .items {
  display: flex;
  overflow: auto;
  gap: 10px;
  padding-inline: 0;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video .items::-webkit-scrollbar {
  display: none;
}
.video .item {
  flex: 0 0 45%;
  scroll-snap-align: start;
}
.video .items:not(.has-carousel) .item {
  flex-basis: 100%;
}
.video .image {
  aspect-ratio: 16/9;
}
.video .item-title {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
}
.video-meta {
  position: absolute;
  right: 4px;
  bottom: 4px;
  max-width: calc(100% - 8px);
  padding: 1px 4px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.links .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 10px;
}
.links h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ff6d1e;
  text-align: center;
}
.links h2::before,
.links h2::after {
  content: '';
  width: 7px;
  height: 7px;
  background: #ff6d1e;
  transform: rotate(45deg);
}
.links .item {
  background: #101e27;
  text-align: center;
  padding: 9px 6px;
  border-radius: 3px;
  font-size: 12px;
}
.apps .item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.apps .image {
  width: 60px;
  flex: none;
}
.apps .info {
  flex: 1;
  min-width: 0;
}
.download {
  flex: none;
  background: #ff6d1e;
  color: white;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  white-space: nowrap;
}
.feature .item {
  display: block;
  margin-bottom: 12px;
}
.feature .image {
  aspect-ratio: 3.6/1;
}
.feature .item-title {
  margin-top: 6px;
  font-size: 14px;
}
.feature_grid .items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.feature_grid .item {
  display: block;
}
.feature_grid .image {
  aspect-ratio: 16/9;
}
.feature_grid .item-title {
  margin-top: 5px;
  font-size: 12px;
}
.banner .items {
  display: flex;
  overflow: auto;
  scroll-snap-type: x mandatory;
  gap: 8px;
}
.banner .item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.banner .image {
  aspect-ratio: 2.4/1;
}
.banner .info {
  display: none;
}
.state {
  text-align: center;
  color: #93a2a6;
  padding: 70px 0;
}
.banner {
  position: relative;
  margin-top: 8px;
}
.banner + .section {
  margin-top: 12px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-heading h2 {
  min-width: 0;
}
.channel-link {
  flex: none;
  color: #91a1a8;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.channel-link:hover {
  color: #d6e2e4;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #ff8b4d;
  outline-offset: 3px;
}
