/* Approved homepage carousel and six-character upper rim. */
.carousel-intro > span {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.carousel-intro small {
  font-size: 12px;
}
.recent-carousel {
  border: 2px solid var(--edge);
  background: var(--surface);
  box-shadow:
    inset 0 0 0 2px var(--rim),
    4px 4px var(--shade);
  overflow: hidden;
}
.carousel-stage {
  display: grid;
  isolation: isolate;
  touch-action: pan-y;
}
.carousel-slide {
  display: grid;
  grid-area: 1/1;
  grid-template-columns: minmax(0, 1fr) 325px;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}
.carousel-slide[data-active="true"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.carousel-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  background: var(--media-stage);
  overflow: hidden;
}
.carousel-cover > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  transition: scale 0.35s ease;
}
.carousel-cover:hover > img {
  scale: 1.015;
}
.carousel-cover-corner {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--media-ink) 48%, transparent);
  background: var(--media-label);
  color: var(--media-ink);
  font-size: 11px;
}
.carousel-cover-corner .icon {
  width: 15px;
  height: 15px;
}
.carousel-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px 23px;
  border-left: 2px solid var(--edge);
  background: var(--texture), var(--surface);
}
.carousel-eyebrow {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.carousel-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.carousel-genres > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 3px 7px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.7;
}
.carousel-genres .icon {
  width: 20px;
  height: 20px;
}
.carousel-summary h3 {
  font-size: 26px;
  line-height: 1.45;
  margin: 12px 0 17px;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.carousel-credits {
  min-width: 0;
}
.carousel-credit-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.carousel-authors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 8px;
  min-width: 0;
}
.carousel-author {
  gap: 5px;
  padding: 4px 6px 4px 4px;
  border: 1px solid var(--line);
  background: var(--raised);
  font-size: 12px;
  max-width: 100%;
  line-height: 1.5;
}
.carousel-author .avatar {
  width: 22px;
  height: 22px;
  box-shadow: none;
}
.carousel-author > span:last-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
.carousel-author:hover {
  background: var(--soft);
  border-color: var(--accent);
}
.carousel-summary-bottom {
  margin-top: auto;
  padding-top: 21px;
}
.carousel-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 13px;
}
.carousel-detail {
  width: 100%;
  font-size: 14px;
  min-height: 45px;
  padding: 9px 12px;
  gap: 8px;
}
.carousel-detail > .icon {
  width: 23px;
  height: 23px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-top: 2px solid var(--edge);
  background: var(--slot);
}
.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    700 14px Consolas,
    monospace;
  color: var(--muted);
}
.carousel-arrows .icon-button {
  width: 37px;
  height: 35px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--accent);
  box-shadow:
    inset 1px 1px var(--rim),
    inset -1px -1px var(--shade);
}
.carousel-arrows .icon-button:hover {
  background: var(--soft);
}
.carousel-arrows [data-carousel-prev] .icon {
  rotate: 180deg;
}
.carousel-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  min-height: 35px;
  border: 1px solid var(--line);
  background: var(--raised);
  font-size: 12px;
  white-space: nowrap;
}
.carousel-toggle:hover {
  background: var(--soft);
}
.pause-glyph {
  display: block;
  position: relative;
  width: 17px;
  height: 17px;
}
.pause-glyph::before,
.pause-glyph::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 4px;
  height: 13px;
  background: var(--accent);
}
.pause-glyph::before {
  left: 3px;
}
.pause-glyph::after {
  right: 3px;
}
.recent-carousel[data-paused="true"] .pause-glyph::before {
  left: 4px;
  top: 1px;
  width: 12px;
  height: 15px;
  clip-path: polygon(
    0 0,
    40% 0,
    40% 20%,
    70% 20%,
    70% 40%,
    100% 40%,
    100% 60%,
    70% 60%,
    70% 80%,
    40% 80%,
    40% 100%,
    0 100%
  );
}
.recent-carousel[data-paused="true"] .pause-glyph::after {
  display: none;
}
.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 15px;
  background: var(--texture), var(--surface);
}
.carousel-thumb {
  min-width: 0;
  padding: 5px;
  background: var(--slot);
  border: 2px solid transparent;
  text-align: left;
  color: var(--muted);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.carousel-thumb:hover {
  border-color: var(--line);
  background: var(--raised);
}
.carousel-thumb[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--soft);
  box-shadow: inset 0 -3px var(--accent);
}
.carousel-thumb-image {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge);
  aspect-ratio: 16/9;
  background: var(--slot);
}
.carousel-thumb-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-thumb-number {
  position: absolute;
  left: 4px;
  top: 4px;
  font:
    700 11px Consolas,
    monospace;
  color: var(--media-ink);
  padding: 2px 5px;
  background: var(--media-label);
}
.carousel-thumb-selected {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: none;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--primary);
  color: var(--on-primary);
  border: 1px solid var(--terrain-highlight);
}
.carousel-thumb-selected .icon {
  width: 17px;
  height: 17px;
}
.carousel-thumb[aria-pressed="true"] .carousel-thumb-selected {
  display: grid;
}
.carousel-thumb-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 4px 5px;
  min-height: 39px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .carousel-slide {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .carousel-summary {
    padding: 20px 17px;
  }
  .carousel-summary h3 {
    font-size: 23px;
  }
}
@media (max-width: 850px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .carousel-cover {
    grid-column: 1;
    grid-row: 1;
  }
  .carousel-summary {
    grid-column: 1;
    grid-row: 2;
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--edge);
    padding: 20px;
  }
  .carousel-summary h3 {
    font-size: 24px;
    margin: 9px 0 12px;
  }
  .carousel-genres {
    margin-top: 10px;
  }
  .carousel-summary-bottom {
    padding-top: 18px;
  }
  .carousel-facts {
    justify-content: space-between;
  }
  .carousel-detail {
    width: auto;
    min-width: 205px;
  }
  .carousel-thumb-title {
    font-size: 12px;
  }
  .carousel-thumbs {
    gap: 8px;
    padding: 12px;
  }
}
@media (max-width: 640px) {
  .carousel-intro {
    flex-wrap: wrap;
    gap: 4px !important;
    font-size: 12px !important;
  }
  .carousel-intro small {
    font-size: 10px !important;
  }
  .carousel-cover-corner {
    left: 8px;
    top: 8px;
    font-size: 10px;
    padding: 3px 6px;
  }
  .carousel-summary {
    padding: 17px 15px;
  }
  .carousel-eyebrow {
    font-size: 11px;
  }
  .carousel-summary h3 {
    font-size: 23px;
  }
  .carousel-genres {
    gap: 6px;
  }
  .carousel-genres > span {
    font-size: 11px;
    padding: 2px 5px;
  }
  .carousel-genres .icon {
    width: 18px;
    height: 18px;
  }
  .carousel-author {
    font-size: 11px;
    padding: 3px 5px 3px 3px;
  }
  .carousel-author .avatar {
    width: 20px;
    height: 20px;
  }
  .carousel-authors {
    gap: 6px;
  }
  .carousel-credit-label {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .carousel-facts {
    font-size: 11px;
    gap: 4px 12px;
  }
  .carousel-summary-bottom {
    padding-top: 15px;
  }
  .carousel-detail {
    width: 100%;
    font-size: 13px;
    min-height: 43px;
  }
  .carousel-controls {
    padding: 8px 11px;
    gap: 9px;
  }
  .carousel-thumbs {
    gap: 5px;
    padding: 9px;
  }
  .carousel-thumb {
    padding: 3px;
    border-width: 2px;
  }
  .carousel-thumb-title {
    font-size: 10px;
    margin: 5px 1px 3px;
    min-height: 30px;
    -webkit-line-clamp: 2;
  }
  .carousel-thumb-number {
    font-size: 9px;
    left: 2px;
    top: 2px;
    padding: 1px 3px;
  }
  .carousel-thumb-selected {
    right: 2px;
    bottom: 2px;
    width: 17px;
    height: 17px;
  }
  .carousel-thumb-selected .icon {
    width: 13px;
    height: 13px;
  }
  .carousel-arrows {
    font-size: 12px;
    gap: 8px;
  }
  .carousel-toggle {
    font-size: 11px;
    padding: 5px 8px;
  }
  .recent-carousel {
    box-shadow: 2px 3px var(--shade);
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide,
  .carousel-cover > img,
  .carousel-thumb {
    transition: none;
  }
}

body[data-page="home"] .home-main {
  width: min(1152px, calc(100% - 96px));
  margin-top: 23px;
}

body[data-page="home"] .home-recent {
  margin-top: 0;
}

body[data-page="home"] .home-recent .section-title {
  margin-bottom: 14px;
}

body[data-page="home"] .home-recent .section-title h2 {
  font-size: 24px;
}

body[data-page="home"] .home-recent .section-title h2 > .icon {
  width: 30px;
  height: 30px;
}

body[data-page="home"] .carousel-intro {
  display: none;
}

body[data-page="home"] .home-carousel-frame {
  position: relative;
  isolation: isolate;
  padding: 104px 34px 0;
}

body[data-page="home"] .home-carousel-frame::before {
  content: "";
  position: absolute;
  top: 88px;
  right: 34px;
  left: 34px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 22px,
    var(--soft) 22px 34px,
    var(--accent) 34px 46px
  );
  border: 1px solid var(--edge);
  border-bottom: 0;
  box-shadow: inset 0 2px var(--rim);
  z-index: 3;
}

body[data-page="home"] .recent-carousel {
  position: relative;
  border-width: 2px;
  box-shadow:
    inset 0 0 0 2px var(--rim),
    3px 4px var(--shade);
}

body[data-page="home"] .carousel-slide {
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: 370px;
}

body[data-page="home"] .carousel-cover {
  min-height: 370px;
}

body[data-page="home"] .carousel-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

body[data-page="home"] .carousel-cover:hover > img {
  scale: 1;
}

body[data-page="home"] .carousel-summary {
  padding: 16px 17px;
}

body[data-page="home"] .carousel-eyebrow {
  font-size: 11px;
  line-height: 1.5;
}

body[data-page="home"] .carousel-genres {
  gap: 5px;
  margin-top: 8px;
}

body[data-page="home"] .carousel-genres > span {
  padding: 3px 5px;
  font-size: 11px;
  line-height: 1.35;
}

body[data-page="home"] .carousel-genres .icon {
  width: 18px;
  height: 18px;
}

body[data-page="home"] .carousel-summary h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 8px 0 11px;
}

body[data-page="home"] .carousel-credit-label {
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 5px;
}

body[data-page="home"] .carousel-authors {
  gap: 6px;
}

body[data-page="home"] .carousel-author {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 7px 3px 4px;
  gap: 6px;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-bottom-color: var(--edge);
  background: var(--raised);
  box-shadow:
    inset 1px 1px var(--rim),
    1px 2px var(--shade);
}

body[data-page="home"] .carousel-author:is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: var(--soft);
}

body[data-page="home"] .carousel-author .avatar {
  width: 24px;
  height: 24px;
  border: 1px solid var(--edge);
  box-shadow: 1px 1px var(--rim);
}

body[data-page="home"] .carousel-summary-bottom {
  padding-top: 12px;
}

body[data-page="home"] .carousel-facts {
  gap: 6px;
  font-size: 11px;
  margin-bottom: 9px;
}

body[data-page="home"] .carousel-facts > span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--slot);
  box-shadow:
    inset 1px 1px var(--shade),
    inset -1px -1px var(--rim);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body[data-page="home"] .carousel-detail {
  min-height: 40px;
  padding: 7px 10px;
  font-size: 13px;
}

body[data-page="home"] .carousel-detail > .icon {
  width: 21px;
  height: 21px;
}

body[data-page="home"] .carousel-controls {
  padding: 7px 13px;
}

body[data-page="home"] .carousel-arrows .icon-button {
  width: 34px;
  height: 32px;
}

body[data-page="home"] .carousel-toggle {
  min-height: 32px;
  padding: 4px 8px;
}

body[data-page="home"] .carousel-thumbs {
  gap: 9px;
  padding: 10px;
}

body[data-page="home"] .carousel-thumb {
  padding: 3px;
}

body[data-page="home"] .carousel-thumb-image {
  max-height: 76px;
  aspect-ratio: 16 / 7;
}

body[data-page="home"] .carousel-thumb-image > img {
  object-fit: contain;
  background: var(--media-stage);
}

body[data-page="home"] .carousel-thumb-title {
  font-size: 11px;
  line-height: 1.4;
  margin: 5px 2px 2px;
  min-height: 31px;
}

body[data-page="home"] .home-frame-art {
  position: absolute;
  inset: 0 auto auto 50%;
  translate: -50% 0;
  width: min(820px, calc(100% - 80px));
  height: 94px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

body[data-page="home"] .home-frame-art::before,
body[data-page="home"] .home-frame-art::after {
  display: none;
}

body[data-page="home"] .home-frame-person {
  position: static;
  flex: 1 1 0;
  width: calc(100% / 6);
  height: 156px;
  min-width: 0;
  max-width: 110px;
  object-fit: contain;
  object-position: center top;
  z-index: 1;
  filter: drop-shadow(3px 4px 0 #0002);
}

body[data-page="home"] .home-person-green {
  order: 0;
}

body[data-page="home"] .home-person-pink {
  order: 1;
}

body[data-page="home"] .home-person-tomato {
  order: 2;
}

body[data-page="home"] .home-person-blue {
  order: 3;
}

body[data-page="home"] .home-person-brown {
  order: 4;
}

body[data-page="home"] .home-person-yellow {
  order: 5;
}

body[data-page="home"] .home-team-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 20px 25px;
  border: 2px solid var(--edge);
  border-left: 5px solid var(--accent);
  background: var(--texture), var(--surface);
  box-shadow:
    inset 0 0 0 2px var(--rim),
    3px 3px var(--shade);
}

body[data-page="home"] .home-team-copy,
body[data-page="home"] .home-team-search {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body[data-page="home"] .home-team-copy {
  isolation: isolate;
}

body[data-page="home"] .home-team-copy::before {
  content: "";
  position: absolute;
  inset: -13px -8px -13px -14px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background: var(--landscape) left bottom / cover no-repeat;
}

body[data-page="home"] .home-team-copy > img {
  width: 200px;
  height: auto;
  max-width: 100%;
}

body[data-page="home"] .home-team-copy h1 {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body[data-page="home"] .home-team-copy p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

body[data-page="home"] #home-search-form {
  position: relative;
  inset: auto;
  translate: none;
  width: 100%;
  min-height: 49px;
  background: var(--raised);
  box-shadow: var(--frame);
}

body[data-page="home"] #home-search-form input {
  font-size: 14px;
}

body[data-page="home"] .home-team-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 11px;
}

body[data-page="home"] .home-team-actions .button {
  min-height: 41px;
  padding: 7px 11px;
  font-size: 13px;
  gap: 7px;
}

body[data-page="home"] .home-team-actions .icon {
  width: 22px;
  height: 22px;
}

body[data-page="home"] .home-bottom {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  body[data-page="home"] .home-main {
    width: calc(100% - 44px);
    margin-top: 21px;
  }

  body[data-page="home"] .home-carousel-frame {
    padding: 96px 20px 0;
  }

  body[data-page="home"] .home-carousel-frame::before {
    top: 80px;
    right: 20px;
    left: 20px;
  }

  body[data-page="home"] .home-frame-person {
    height: 140px;
    max-width: 100px;
  }

  body[data-page="home"] .home-frame-art {
    width: min(760px, calc(100% - 56px));
    height: 86px;
  }

  body[data-page="home"] .carousel-slide {
    grid-template-columns: minmax(0, 1fr) 310px;
    min-height: 350px;
  }

  body[data-page="home"] .carousel-cover {
    min-height: 350px;
  }

  body[data-page="home"] .carousel-summary {
    padding: 15px;
  }

  body[data-page="home"] .carousel-summary h3 {
    font-size: 21px;
  }

  body[data-page="home"] .home-team-strip {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
    gap: 18px;
    padding: 18px;
  }

  body[data-page="home"] .home-team-copy h1 {
    font-size: 19px;
  }
}

@media (max-width: 850px) {
  body[data-page="home"] .home-carousel-frame {
    padding: 88px 0 0;
  }

  body[data-page="home"] .home-frame-art::before,
  body[data-page="home"] .home-frame-art::after {
    display: none;
  }

  body[data-page="home"] .home-carousel-frame::before {
    top: 72px;
    right: 0;
    left: 0;
  }

  body[data-page="home"] .home-frame-art {
    width: calc(100% - 24px);
    height: 78px;
    gap: 9px;
  }

  body[data-page="home"] .home-frame-person {
    max-width: 88px;
    height: 132px;
  }

  body[data-page="home"] .carousel-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  body[data-page="home"] .carousel-cover {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body[data-page="home"] .carousel-summary {
    grid-column: 1;
    grid-row: 2;
    border-left: 0;
    border-top: 2px solid var(--edge);
    padding: 17px 20px;
  }

  body[data-page="home"] .carousel-summary h3 {
    margin: 8px 0 12px;
    font-size: 23px;
  }

  body[data-page="home"] .carousel-summary-bottom {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  body[data-page="home"] .carousel-facts {
    margin: 0;
    flex-direction: row;
  }

  body[data-page="home"] .carousel-detail {
    width: auto;
    min-width: 190px;
  }

  body[data-page="home"] .home-team-strip {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  body[data-page="home"] .home-team-copy > img {
    width: 183px;
  }

  body[data-page="home"] .home-team-copy h1 {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-main {
    width: calc(100% - 28px);
    margin-top: 18px;
  }

  body[data-page="home"] .home-recent .section-title {
    margin-bottom: 5px;
    gap: 9px;
  }

  body[data-page="home"] .home-recent .section-title h2 {
    font-size: 21px;
  }

  body[data-page="home"] .home-recent .section-title h2 > .icon {
    width: 27px;
    height: 27px;
  }

  body[data-page="home"] .home-recent .section-title .text-link {
    font-size: 11px;
    white-space: nowrap;
  }

  body[data-page="home"] .carousel-summary {
    padding: 14px;
  }

  body[data-page="home"] .home-carousel-frame {
    padding-top: 68px;
  }

  body[data-page="home"] .home-carousel-frame::before {
    top: 52px;
  }

  body[data-page="home"] .home-frame-art {
    width: calc(100% - 16px);
    height: 58px;
    gap: 7px;
  }

  body[data-page="home"] .home-frame-person {
    height: 105px;
  }

  body[data-page="home"] .carousel-author {
    font-size: 12px;
    padding: 3px 6px 3px 4px;
    gap: 5px;
  }

  body[data-page="home"] .carousel-author .avatar {
    width: 24px;
    height: 24px;
  }

  body[data-page="home"] .carousel-summary h3 {
    font-size: 21px;
  }

  body[data-page="home"] .carousel-summary-bottom {
    gap: 11px;
    padding-top: 13px;
  }

  body[data-page="home"] .carousel-facts {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  body[data-page="home"] .carousel-detail {
    width: 100%;
    min-width: 0;
  }

  body[data-page="home"] .carousel-controls {
    padding: 7px 9px;
  }

  body[data-page="home"] .carousel-thumbs {
    gap: 4px;
    padding: 7px;
  }

  body[data-page="home"] .carousel-thumb {
    padding: 2px;
  }

  body[data-page="home"] .carousel-thumb-image {
    aspect-ratio: 16 / 9;
  }

  body[data-page="home"] .carousel-thumb-title {
    font-size: 9px;
    line-height: 1.45;
    min-height: 27px;
    margin: 4px 0 2px;
  }

  body[data-page="home"] .carousel-thumb-number {
    left: 1px;
    top: 1px;
    font-size: 8px;
    padding: 0 2px;
  }

  body[data-page="home"] .carousel-thumb-selected {
    width: 14px;
    height: 14px;
    right: 1px;
    bottom: 1px;
  }

  body[data-page="home"] .carousel-thumb-selected .icon {
    width: 11px;
    height: 11px;
  }

  body[data-page="home"] .home-team-strip {
    margin-top: 18px;
    padding: 17px 14px;
    gap: 15px;
  }

  body[data-page="home"] .home-team-copy > img {
    width: 166px;
  }

  body[data-page="home"] .home-team-copy h1 {
    font-size: 18px;
    margin-top: 7px;
  }

  body[data-page="home"] .home-team-copy p {
    font-size: 11px;
    margin-top: 5px;
  }

  body[data-page="home"] #home-search-form {
    padding-left: 8px;
    gap: 7px;
  }

  body[data-page="home"] #home-search-form > .icon {
    width: 20px;
    height: 20px;
  }

  body[data-page="home"] #home-search-form input {
    font-size: 12px;
  }

  body[data-page="home"] #home-search-form .search-submit {
    padding: 6px 10px;
  }

  body[data-page="home"] .home-team-actions {
    gap: 8px;
  }

  body[data-page="home"] .home-team-actions .button {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    padding: 7px 8px;
  }

  body[data-page="home"] .home-bottom {
    margin-top: 19px;
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .home-recent .section-title h2 {
    font-size: 19px;
  }

  body[data-page="home"] .home-recent .section-title h2 > .icon {
    width: 23px;
    height: 23px;
  }

  body[data-page="home"] .carousel-summary h3 {
    font-size: 20px;
  }

  body[data-page="home"] .carousel-summary {
    padding: 12px;
  }

  body[data-page="home"] .carousel-authors {
    gap: 4px;
  }

  body[data-page="home"] .carousel-author {
    padding-right: 5px;
    font-size: 12px;
  }

  body[data-page="home"] .carousel-toggle {
    font-size: 10px;
  }

  body[data-page="home"] .carousel-thumbs {
    gap: 3px;
    padding: 5px;
  }

  body[data-page="home"] .carousel-thumb-title {
    font-size: 8px;
    min-height: 24px;
  }
}

body[data-page="home"] .home-team-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}
body[data-page="home"] .home-team-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  background: var(--raised);
}
body[data-page="home"] .home-team-stats .icon {
  width: 17px;
  height: 17px;
}
body[data-page="home"] .home-team-stats strong {
  color: var(--ink);
  font-family: Consolas, monospace;
  font-size: 12px;
}
