:root {
  --pink: #ff3ca8;
  --pink-dark: #df1984;
  --ink: #202020;
  --muted: #777;
  --line: #e8e8e8;
  --soft: #f7f7f7;
  --dark: #080808;
  --blue: #356fe8;
  --top-ad-height: 260px;
  --image-placeholder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' fill='%23fbfbfb'/%3E%3Ctext x='80' y='45' dominant-baseline='middle' text-anchor='middle' font-family='Arial,sans-serif' font-size='11' fill='%23cfcfcf'%3Eloopfun.co%3C/text%3E%3C/svg%3E");
  font-family: Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: #fff;
}

body {
  overflow-x: hidden;
}

.site-frame {
  background: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  background-color: #fbfbfb;
  background-image: var(--image-placeholder);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

img.is-image-loaded {
  background-color: transparent;
  background-image: none;
}

button,
input {
  font: inherit;
}

.site-header {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand span:nth-child(1) { color: #ff7b38; }
.brand span:nth-child(2) { color: #f8d83c; }
.brand span:nth-child(3) { color: #ff3ca8; }
.brand span:nth-child(4) { color: #c45cff; }
.brand span:nth-child(5) { color: #5d6cff; }
.brand span:nth-child(6) { color: #ff3ca8; }
.brand span:nth-child(7) { color: #ff3ca8; }

.share-rail {
  position: absolute;
  left: 0;
  display: flex;
  gap: 12px;
}

.share-rail a,
.share-row a,
.share-row button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.nav-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.nav-inner > a,
.hot-topic-button,
.search-open {
  border: 0;
  background: transparent;
  color: #333;
  padding: 11px 0 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-inner > a,
.hot-topic-button {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-inner > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--pink);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-inner > a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hot-topic-button {
  gap: 8px;
  background-image: linear-gradient(var(--pink), var(--pink));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 5px;
  transition: color 0.16s ease, background-size 0.16s ease;
}

.hot-topic-button:hover {
  background-size: 100% 5px;
}

.hot-topic-button::before {
  content: "🔥";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff6b70;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.hot-topic-button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -5px;
}

.nav-inner > a:hover,
.hot-topic-button:hover,
.search-open:hover {
  color: var(--pink);
}

.search-open {
  margin-left: auto;
  min-width: 24px;
}

.search-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  vertical-align: -2px;
}

.search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  background: currentColor;
  position: absolute;
  right: -7px;
  bottom: -4px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hot-topic {
  position: relative;
}

.topic-panel {
  display: none;
  position: absolute;
  left: -72px;
  right: auto;
  top: 100%;
  z-index: 31;
  width: min(1040px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(32, 32, 32, 0.14);
  transform: none;
  white-space: normal;
}

.hot-topic:hover .topic-panel,
.hot-topic.is-open .topic-panel {
  display: block;
}

.topic-panel-inner {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 18px 4px 0;
  border-right: 1px solid var(--line);
}

.topic-list button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
}

.topic-list button:hover,
.topic-list button.is-active {
  color: var(--pink);
}

.topic-list button span:last-child {
  white-space: nowrap;
}

.topic-icon {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.topic-icon::before {
  content: "🔥";
}

.topic-icon-heart::before,
.topic-list button:nth-child(3) .topic-icon::before {
  content: "❤️";
}

.topic-icon-crown::before,
.topic-list button:nth-child(4) .topic-icon::before {
  content: "👸";
}

.topic-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.topic-feature {
  display: block;
  min-width: 0;
}

.topic-feature img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  background: var(--soft);
}

.topic-feature span {
  display: block;
  margin-top: 10px;
  color: #969696;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.topic-feature strong {
  display: -webkit-box;
  margin-top: 6px;
  color: #333;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-feature:hover strong {
  color: var(--pink);
}

.topic-more-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 150px;
}

.search-hidden {
  display: none;
}

.search-form {
  width: min(720px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto auto;
  border: 1px solid var(--line);
  background: #fff;
}

.search-form input {
  border: 0;
  padding: 18px;
  min-width: 0;
}

.search-form button {
  border: 0;
  padding: 0 18px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.search-form .search-close {
  background: #111;
}

.go-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 54px;
  height: 54px;
  border: 0;
  background: rgba(120, 120, 120, 0.58);
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.go-top::before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: 5px solid #fff;
  border-left: 5px solid #fff;
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.go-top:hover {
  background: rgba(95, 95, 95, 0.72);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ad-slot {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.ad-label {
  color: #9b9b9b;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  text-align: center;
}

.ad-slot-top {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0 max(16px, calc((100vw - 1200px) / 2));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.ad-slot-top .adsbygoogle {
  min-height: 250px;
}

.has-desktop-top-ad .site-frame {
  margin-top: var(--top-ad-offset, var(--top-ad-height));
}

.ad-slot-rail {
  width: 100%;
  min-height: 260px;
  margin-bottom: 14px;
}

.ad-slot-rail .adsbygoogle {
  max-width: 100%;
}

.ad-slot-result-sidebar-bottom {
  min-height: 610px;
  margin: 14px 0 0;
}

.ad-slot-question-gap {
  width: 100%;
  min-height: 280px;
  margin: 22px 0;
}

.ad-slot-question-gap .adsbygoogle {
  min-height: 250px;
}

.ad-slot-more-sticky {
  min-height: 280px;
  margin: 0;
  position: sticky;
  top: var(--ad-sticky-top, 70px);
}

.ad-slot-more-sticky .adsbygoogle {
  min-height: 250px;
  max-width: 100%;
}

.ad-slot-content {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto 0;
}

.ad-slot-content-wide {
  min-height: 0;
}

.ad-slot-content-wide .adsbygoogle {
  min-height: 0;
}

@media (min-width: 901px) {
  body[data-page="home"] .home-grid {
    padding-bottom: 18px;
  }

  body[data-page="home"] .home-grid + .ad-slot-content {
    margin-top: 8px;
  }

  body[data-page="home"] .home-grid + .ad-slot-content + .content-section {
    padding-top: 22px;
  }

  body[data-page="home"] .content-section:has(+ .ad-slot-content) {
    padding-bottom: 22px;
  }

  body[data-page="home"] .content-section + .ad-slot-content {
    margin-top: 8px;
  }

  body[data-page="home"] .content-section + .ad-slot-content + .content-section {
    padding-top: 22px;
  }
}

.ad-slot[data-ad-empty="true"] {
  display: none;
}

.ad-slot-section-card {
  align-self: stretch;
  min-height: 250px;
  background: #fff;
}

.dark-section .ad-slot-section-card {
  background: #030303;
}

.ad-slot-mobile {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 10px 0 38px;
}

.slanted-label,
.quiz-tag {
  display: inline-block;
  background: #ff4aab;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  padding: 5px 13px;
  position: relative;
  text-transform: uppercase;
  transform: skewX(-15deg);
  z-index: 1;
  margin: 0 auto 22px;
  text-align: center;
}

.slanted-label {
  display: table;
}

.slanted-label > *,
.quiz-tag > * {
  transform: skewX(15deg);
}

.ranked-list,
.feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ranked-list li {
  margin-bottom: 22px;
}

.ranked-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  transition: color 160ms ease, transform 160ms ease;
}

.ranked-media {
  grid-column: 1 / 3;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.ranked-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: #ff4aab;
  background: linear-gradient(136deg, #fff5fa 0%, #fff 100%);
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  grid-row: 2 / 4;
}

.ranked-list a:hover {
  transform: translateY(-1px);
}

.ranked-list a:hover .ranked-media img {
  transform: scale(1.045);
}

.ranked-list a:hover strong {
  color: var(--pink);
}

.ranked-list .kicker,
.ranked-list strong {
  grid-column: 2;
}

.ranked-list .kicker {
  align-self: end;
}

.ranked-list strong {
  display: block;
  align-self: start;
}

.ranked-list strong,
.home-grid .mini-card strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kicker,
.mini-card span,
.feed-list span,
.feature-card span {
  color: #858585;
  font-size: 12px;
  line-height: 1.2;
}

.ranked-list strong,
.mini-card strong,
.feed-list strong,
.feature-card strong,
.related-grid strong {
  color: #252525;
  font-size: 16px;
  line-height: 1.25;
}

.feature-column {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 18px;
}

.feature-column > .feature-card {
  aspect-ratio: 16 / 7.1;
  min-height: 0;
}

.feature-column > .feature-card-large {
  aspect-ratio: 16 / 8.4;
}

.feature-column > .feature-card > img {
  position: absolute;
  inset: 0;
}

.feature-card {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background: #eee;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(32, 32, 32, 0.14);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
}

.feature-card span,
.feature-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 1;
  color: #fff;
}

.feature-card-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #fff;
}

.feature-card-copy span,
.feature-card-copy strong {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  color: inherit;
}

.feature-card span {
  bottom: 42px;
  color: #ddd;
}

.feature-card strong {
  bottom: 14px;
  font-size: 20px;
}

.feature-card-copy span {
  color: rgba(255, 255, 255, 0.82);
}

.feature-card-copy strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feature-card-large {
  min-height: 260px;
}

.right-rail {
  min-width: 0;
}

.subscribe-card {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 26px;
}

.subscribe-card h2 {
  margin: 0;
  padding: 18px 20px;
  background: var(--soft);
  font-size: 18px;
}

.tab-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}

.tab-title button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9c9c9c;
  min-height: 36px;
  padding: 0 18px;
  position: relative;
  text-align: center;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 1;
}

.tab-title button::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #b8b8b8;
  background: #fff;
  transform: skewX(-15deg);
  z-index: -1;
}

.tab-title button:first-child::before {
  left: 8px;
  right: -8px;
}

.tab-title button:last-child::before {
  left: -8px;
  right: 8px;
}

.tab-title button.is-active {
  color: #fff;
}

.tab-title button.is-active::before {
  border-color: var(--pink);
  background: var(--pink);
}

.tab-title button:focus-visible {
  outline: 3px solid #222;
  outline-offset: -3px;
}

.detail-side .tab-title {
  grid-template-columns: minmax(0, 1fr);
}

.detail-side .tab-title > span {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 36px;
  padding: 10px 22px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
}

.detail-side .tab-title > span::before {
  content: "";
  position: absolute;
  inset: 0 10px;
  z-index: -1;
  border: 1px solid var(--pink);
  background: var(--pink);
  transform: skewX(-15deg);
}

.sidebar-tab-panel[hidden] {
  display: none;
}

.mini-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 12px;
  margin-bottom: 18px;
  align-items: start;
  transition: color 160ms ease, transform 160ms ease;
}

.mini-card-media {
  grid-row: span 2;
  width: 160px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.mini-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mini-card:hover {
  transform: translateY(-1px);
}

.mini-card:hover .mini-card-media img {
  transform: scale(1.045);
}

.mini-card:hover strong {
  color: var(--pink);
}

.subscribe-card {
  background: #fff4fa;
  padding: 18px;
}

.subscribe-card h2 {
  background: transparent;
  padding: 0;
}

.subscribe-card p {
  color: var(--muted);
  line-height: 1.35;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.subscribe-form input {
  min-width: 0;
  border: 1px solid var(--pink);
  border-right: 0;
  padding: 12px;
}

.subscribe-form input[name="website"] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.subscribe-form button {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.subscribe-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.subscribe-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.subscribe-form.is-success .subscribe-status {
  color: #147a45;
}

.subscribe-form.is-error .subscribe-status {
  color: #b6253a;
}

.subscribe-form.is-error input[name="email_address"] {
  border-color: #b6253a;
}

.content-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.dark-section {
  background: #030303;
  color: #fff;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.section-grid .wide-card {
  grid-column: span 2;
  grid-row: span 2;
}

.section-kids .section-grid {
  grid-template-columns: minmax(420px, 1.45fr) repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.section-kids .section-card-1 {
  grid-column: 1;
  grid-row: 1;
  min-height: 252px;
}

.section-kids .section-card-3 {
  grid-column: 1;
  grid-row: 2;
  min-height: 252px;
}

.section-kids .section-card-2 {
  grid-column: 2;
  grid-row: 1;
}

.section-kids .section-card-4 {
  grid-column: 2;
  grid-row: 2;
}

.section-kids .section-card-5 {
  grid-column: 3;
  grid-row: 2;
}

.section-kids .ad-slot-section-card {
  grid-column: 3;
  grid-row: 1;
  min-height: 252px;
}

.section-kids .wide-card {
  grid-column: 1;
  grid-row: 1;
}

.section-movies .wide-card {
  grid-row: auto;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) {
  display: grid;
  grid-template-rows: auto minmax(66px, auto);
  overflow: visible;
  min-height: 0;
  background: #fff;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3)::after {
  display: none;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) img {
  height: auto;
  aspect-ratio: 16 / 8.5;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) .feature-card-copy {
  position: static;
  display: grid;
  gap: 6px;
  padding: 8px 0 0;
  color: var(--ink);
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) span,
.section-kids .section-card:not(.section-card-1):not(.section-card-3) strong {
  position: static;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) span {
  color: #858585;
}

.section-kids .section-card:not(.section-card-1):not(.section-card-3) strong {
  color: #252525;
  font-size: 16px;
  line-height: 1.35;
}

.section-personality {
  padding: 46px 0 50px;
  border-top: 0;
}

.section-personality .section-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px 28px;
  align-items: end;
}

.section-personality .section-card-1 {
  grid-column: 1;
  grid-row: 1 / span 4;
  height: 470px;
}

.section-personality .section-card:not(.section-card-1) {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  min-height: 108px;
  background: #030303;
}

.section-personality .section-card:not(.section-card-1)::after {
  display: none;
}

.section-personality .section-card:not(.section-card-1) img {
  grid-row: 1 / span 2;
  width: 158px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-personality .section-card:not(.section-card-1) .feature-card-copy {
  position: static;
  grid-column: 2;
  align-self: center;
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.section-personality .section-card:not(.section-card-1) span,
.section-personality .section-card:not(.section-card-1) strong {
  position: static;
  color: #fff;
}

.section-personality .section-card:not(.section-card-1) span {
  align-self: end;
  color: rgba(255, 255, 255, 0.45);
}

.section-personality .section-card:not(.section-card-1) strong {
  align-self: start;
  font-size: 17px;
  line-height: 1.22;
  -webkit-line-clamp: 3;
}

.section-movies .section-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
}

.section-movies .section-card-1,
.section-movies .section-card-2 {
  grid-column: span 2;
  min-height: 305px;
}

.section-movies .section-card:nth-child(n + 3) {
  min-height: 185px;
}

.dark-section .feature-card {
  background: #111;
}

.more-link,
.load-more,
.test-again {
  display: table;
  min-width: 290px;
  margin: 28px auto 0;
  border: 1px solid var(--pink);
  background: #fff;
  color: var(--pink);
  padding: 14px 28px;
  text-align: center;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.more-link:hover,
.load-more:hover,
.test-again:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-1px);
}

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 644px);
  height: 78px;
  margin-top: 32px;
  border: 2px solid var(--pink);
  padding: 0 28px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.load-more:disabled {
  opacity: 0.65;
}

.load-more:disabled:hover {
  background: #fff;
  color: var(--pink);
  transform: none;
}

.dark-section .more-link {
  background: transparent;
}

.dark-section .more-link:hover {
  background: var(--pink);
}

.content-section .more-link {
  width: min(100%, 320px);
  padding: 13px 18px;
  font-size: 15px;
  line-height: 1;
}

.more-feed,
.listing-page {
  padding: 48px 0;
}

.more-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 357px;
  gap: 20px;
  align-items: stretch;
}

.more-feed-main {
  min-width: 0;
}

.more-feed-aside {
  width: 357px;
  min-width: 0;
}

.more-feed-ad-placeholder {
  min-height: 1px;
}

.feed-list li {
  margin-bottom: 28px;
}

.feed-list .feed-ad-item {
  display: none;
}

.feed-list a {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 5px 20px;
  transition: transform 160ms ease;
}

.feed-media {
  grid-row: span 3;
  width: 280px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.more-feed .feed-media {
  grid-row: span 2;
}

.feed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.feed-list a:hover {
  transform: translateY(-1px);
}

.feed-list a:hover .feed-media img {
  transform: scale(1.04);
}

.feed-list a:hover strong {
  color: var(--pink);
}

.feed-list p {
  color: #555;
  margin: 0;
  line-height: 1.45;
}

.detail-layout,
.result-layout {
  display: grid;
  padding: 42px 0;
}

.detail-layout {
  width: min(1200px, 100%);
  grid-template-columns: minmax(0, 1fr) 357px;
  gap: 20px;
}

.result-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
}

.listing-layout {
  padding: 42px 0;
}

.listing-feed {
  margin-top: 18px;
}

.info-page {
  padding: 48px 0 64px;
}

.info-article {
  width: min(840px, 100%);
  margin: 0 auto;
  line-height: 1.7;
}

.info-kicker {
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.info-article h1 {
  color: #1e1e1e;
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 16px;
}

.info-summary {
  color: #444;
  font-size: 19px;
  margin: 0 0 12px;
}

.info-updated {
  color: #888;
  font-size: 13px;
  margin: 0 0 34px;
}

.info-section {
  border-top: 1px solid var(--line);
  padding: 28px 0 0;
  margin-top: 28px;
}

.info-section h2 {
  color: #222;
  font-size: 24px;
  line-height: 1.18;
  margin: 0 0 12px;
}

.info-section p {
  color: #4a4a4a;
  margin: 0 0 14px;
}

.quiz-article,
.result-article {
  min-width: 0;
}

.quiz-article h1,
.result-article h1 {
  font-size: 36px;
  line-height: 1.08;
  margin: 0 0 14px;
}

.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #777;
  font-size: 15px;
  margin-bottom: 22px;
}

.byline-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: #e6e6e6;
  line-height: 0;
}

.byline-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
}

.byline strong {
  color: var(--pink);
}

.hero-image,
.question-block figure {
  margin: 0 0 22px;
}

.hero-image picture {
  display: block;
}

.hero-image img,
.question-block img {
  width: 100%;
  object-fit: cover;
}

.image-attribution {
  color: #999;
  font-size: 0.5rem;
  margin-top: 5px;
}

.image-attribution a {
  color: inherit;
  text-decoration: none;
}

.start-quiz,
.submit-quiz {
  width: min(620px, 100%);
  display: block;
  margin: 28px auto;
  border: 0;
  background: var(--pink);
  color: #fff;
  padding: 18px;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.submit-quiz {
  margin-bottom: 0;
}

.start-quiz {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-weight: 400;
  animation: startQuizPulse 2.2s ease-in-out infinite;
}

.start-quiz > span {
  position: relative;
  z-index: 1;
}

.start-quiz::before,
.start-quiz::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: startQuizRipple 2.2s ease-out infinite;
}

.start-quiz::after {
  animation-delay: 1.1s;
}

.start-quiz:hover {
  background: var(--pink-dark);
}

@keyframes startQuizPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes startQuizRipple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  12% {
    opacity: 0.58;
  }

  70% {
    opacity: 0.12;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(17);
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-quiz,
  .start-quiz::before,
  .start-quiz::after {
    animation: none;
  }
}

.submit-hint {
  width: min(620px, 100%);
  margin: 14px auto 0;
  color: #999;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.quiz-result-status {
  min-height: 24px;
  margin: 10px auto 0;
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.quiz-form.is-solving .submit-quiz {
  opacity: 0.72;
  cursor: wait;
}

.intro {
  color: #555;
  line-height: 1.6;
}

.question-block {
  margin: 44px 0;
}

.question-count {
  display: inline-flex;
  gap: 4px;
  background: #fff1f8;
  border-radius: 0 14px 14px 0;
  padding: 8px 12px;
  color: #555;
}

.question-count strong,
.question-block h2 {
  color: var(--pink);
}

.question-block h2 {
  font-size: 26px;
  line-height: 1.25;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.option-grid label {
  display: block;
  position: relative;
}

.option-grid input {
  position: absolute;
  opacity: 0;
}

.option-card {
  display: flex;
  min-height: 56px;
  border: 1px solid var(--line);
  padding: 13px;
  color: #444;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.option-card.text-only {
  align-items: center;
  justify-content: center;
}

.option-card:hover {
  border-color: rgba(255, 64, 166, 0.55);
  box-shadow: 0 8px 20px rgba(255, 64, 166, 0.12);
  transform: translateY(-1px);
}

.option-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.option-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #eee;
}

.option-card:hover .option-media img {
  transform: scale(1.04);
}

.option-card .option-attribution {
  display: block;
  color: #aaa;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  padding: 10px 0 0;
}

.option-card .option-title {
  display: block;
  padding: 0;
  line-height: 1.25;
  font-size: 22px;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.option-card.text-only .option-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.option-grid input:checked + .option-card {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 64, 166, 0.2);
  transform: translateY(-1px);
}

.option-grid input:checked + .option-card .option-attribution {
  color: rgba(255, 255, 255, 0.78);
}

.option-grid input:checked + .option-card .option-attribution a {
  color: #fff;
}

.option-grid input:checked + .option-card .option-title {
  color: #fff;
}

.result-display {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  text-align: center;
  margin: 28px 0;
}

.result-display h2 {
  margin: 0 0 12px;
  color: var(--pink);
}

.result-display.is-loading h2 {
  color: #333;
}

.result-spinner {
  display: block;
  width: 36px;
  height: 36px;
  margin: 4px auto 16px;
  border: 4px solid #f3c6d8;
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: result-spin 0.9s linear infinite;
}

.result-display:not(.is-loading) .result-spinner {
  display: none;
}

@keyframes result-spin {
  to {
    transform: rotate(360deg);
  }
}

.result-empty-art,
.result-art {
  width: min(420px, 70%);
  margin: 20px auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.result-empty-art {
  opacity: 0.18;
  filter: grayscale(1);
}

.result-art {
  width: min(520px, 100%);
  opacity: 1;
  filter: none;
}

.result-attribution {
  display: block;
  margin: -10px 0 18px;
  color: #888;
  font-style: italic;
  text-align: left;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 5px solid #111;
  margin-top: 36px;
  padding-top: 24px;
}

.tag-row a {
  color: var(--blue);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.related-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eee;
}

.related-grid strong {
  display: block;
  margin-top: 10px;
}

.you-may-like {
  margin-top: 48px;
}

.result-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 10px 0 24px;
}

.result-carousel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.result-carousel strong {
  display: block;
  margin-top: 8px;
}

.reaction-share {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.reaction-share h2 {
  font-size: 28px;
}

.reaction-row,
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reaction-row button {
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
  color: #555;
  cursor: pointer;
  min-width: 62px;
}

.reaction-row button:disabled {
  cursor: progress;
}

.reaction-row span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffe7f3;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
}

.reaction-row strong {
  font-size: 24px;
  line-height: 1;
}

.reaction-row button.selected span {
  background: var(--pink-dark);
  color: #fff;
}

.reaction-row button.is-error span {
  outline: 2px solid #e81f56;
  outline-offset: 3px;
}

.share-row a,
.share-row button {
  background: var(--blue);
}

.share-row a:nth-child(3) {
  background: #e81f56;
}

.share-row a:nth-child(4) {
  background: #12a5df;
}

.share-row button {
  width: auto;
  border-radius: 22px;
  padding: 0 18px;
}

.test-again {
  background: var(--pink);
  color: #fff;
  font-size: 24px;
}

.next-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 34px 0;
}

.next-row a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px 14px;
  align-items: start;
  background: #f3f3f3;
  position: relative;
  padding: 18px;
}

.next-row span {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  padding: 5px 18px;
  text-transform: uppercase;
}

.next-row img {
  grid-column: 1;
  grid-row: span 2;
  width: 150px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.next-row strong {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  align-self: center;
  line-height: 1.14;
}

.site-footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 56px 16px 24px;
}

.footer-brand {
  display: inline-block;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #999;
  font-size: 13px;
  text-transform: uppercase;
}

.disclosure {
  width: min(880px, 100%);
  margin: 26px auto;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 22px;
  text-align: left;
  line-height: 1.6;
}

.disclosure strong {
  display: block;
  color: #fff;
  text-align: center;
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 24px;
  margin: 28px -16px 0;
}

@media (max-width: 900px) {
  .topic-panel {
    width: min(920px, calc(100vw - 32px));
  }

  .topic-panel-inner {
    width: 100%;
    padding: 18px;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
  }

  .topic-list {
    gap: 12px;
    padding-right: 14px;
  }

  .topic-list button {
    gap: 7px;
    font-size: 15px;
  }

  .topic-icon {
    width: 18px;
    min-width: 18px;
    font-size: 16px;
  }

  .topic-feature-grid {
    gap: 16px;
  }

  .topic-feature span {
    font-size: 12px;
  }

  .topic-feature strong {
    font-size: 15px;
  }

  .home-grid,
  .detail-layout,
  .more-feed-layout,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .ad-slot-rail {
    display: none;
  }

  .more-feed-aside {
    display: none;
  }

  .left-rail {
    display: none;
  }

  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .right-rail .tested-box {
    grid-column: 1 / -1;
  }

  .section-personality .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-personality .section-card-1 {
    grid-row: auto;
    height: 360px;
  }

  .section-personality .section-card:not(.section-card-1) {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .section-personality .section-card:not(.section-card-1) img {
    width: 180px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    justify-content: flex-end;
    min-height: 48px;
  }

  .brand {
    font-size: 28px;
  }

  .share-rail {
    left: 0;
    gap: 6px;
  }

  .share-rail a {
    width: 30px;
    height: 30px;
  }

  .nav-inner {
    overflow-x: auto;
    width: 100%;
    padding: 0 12px;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-inner::-webkit-scrollbar {
    display: none;
  }

  .search-open {
    position: sticky;
    right: 0;
    background: #fff;
    padding-left: 12px;
    padding-right: 8px;
  }

  .topic-panel {
    position: fixed;
    left: 12px;
    top: 94px;
    right: auto;
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    transform: none;
  }

  .topic-panel-inner {
    width: 100%;
    padding: 16px;
    display: block;
  }

  .topic-list {
    gap: 12px;
    padding: 0;
    border-right: 0;
  }

  .topic-list button {
    font-size: 15px;
  }

  .topic-feature {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .topic-feature-grid {
    display: block;
  }

  .topic-feature-grid .topic-feature + .topic-feature {
    margin-top: 20px;
  }

  .topic-feature span {
    margin-top: 12px;
    font-size: 12px;
  }

  .topic-feature strong {
    margin-top: 8px;
    font-size: 15px;
  }

  .home-grid,
  .content-section,
  .more-feed,
  .listing-page,
  .detail-layout,
  .result-layout {
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .home-grid {
    padding-top: 10px;
  }

  .ad-slot-desktop {
    display: none;
  }

  body[data-page="home"] .site-frame,
  body[data-page="category"] .site-frame,
  body[data-page="detail"] .site-frame {
    margin-top: 0;
  }

  .ad-slot-mobile {
    display: block;
    width: 100%;
    min-height: 260px;
    margin: 0 0 16px;
  }

  .ad-slot-mobile .adsbygoogle {
    min-height: 250px;
  }

  .ad-slot-mobile-feed-card {
    margin: 0 0 14px;
  }

  .feed-list .feed-ad-item {
    display: block;
  }

  .feed-ad-item .ad-slot-mobile-feed-loop {
    margin: 0 0 14px;
  }

  .ad-slot-mobile-result {
    width: 100%;
    min-height: 140px;
    margin: 16px 0 18px;
  }

  .ad-slot-mobile-result .adsbygoogle {
    min-height: 100px;
  }

  .ad-slot-mobile-detail-before-quiz {
    margin: 14px 0 18px;
  }

  .ad-slot-question-gap {
    min-height: 260px;
    margin: 16px 0 18px;
  }

  .ad-slot-question-gap .adsbygoogle {
    min-height: 250px;
  }

  .ad-slot-content,
  .ad-slot-section-card {
    display: none;
  }

  .page-shell {
    width: min(100% - 24px, 680px);
  }

  .section-grid,
  .related-grid,
  .result-carousel,
  .reaction-share,
  .next-row,
  .right-rail {
    grid-template-columns: 1fr;
  }

  .section-kids .section-grid,
  .section-movies .section-grid {
    grid-template-columns: 1fr;
  }

  .section-grid .wide-card {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section-kids .section-card-1,
  .section-movies .section-card-1,
  .section-movies .section-card-2 {
    grid-column: span 1;
    min-height: 210px;
  }

  .section-personality .section-card:not(.section-card-1) {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 76px;
  }

  .section-personality .section-card:not(.section-card-1) img {
    width: 120px;
  }

  .section-personality .section-card-1 {
    height: 310px;
  }

  .feature-card,
  .feature-card-large {
    min-height: 210px;
  }

  .feature-column > .feature-card,
  .feature-column > .feature-card-large {
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .feed-list a {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .feed-media {
    width: 120px;
  }

  .feed-list strong,
  .ranked-list strong,
  .mini-card strong,
  .related-grid strong {
    font-size: 15px;
  }

  .feed-list p {
    display: none;
  }

  .quiz-article h1,
  .result-article h1 {
    font-size: 28px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    font-size: 17px;
  }

  .option-card .option-title {
    font-size: 20px;
  }

  .start-quiz,
  .submit-quiz,
  .test-again {
    font-size: 20px;
  }

  .load-more {
    min-width: 0;
    height: 58px;
    font-size: 24px;
    padding: 0 18px;
  }

  .submit-hint {
    font-size: 14px;
  }

  .next-row a {
    grid-template-columns: 110px 1fr;
  }

  .next-row img {
    width: 110px;
  }

  .go-top {
    right: 14px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .go-top::before {
    width: 16px;
    height: 16px;
    border-top-width: 4px;
    border-left-width: 4px;
  }
}
