.special-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.special-page a {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.special-back {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary) !important;
  text-decoration: none;
  padding: 0 !important;
}

.special-back::after {
  display: none !important;
}

.special-back svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.special-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  min-height: 180px;
  height: 242px;
}

.special-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.special-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--color-overlay-strong), transparent);
  pointer-events: none;
}

.special-hero-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.special-hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.special-hero-name {
  display: flex;
  gap: 4px;
  align-items: baseline;
}

.special-hero-comedian {
  font-weight: 600;
  color: var(--color-white);
}

.special-hero-year {
  font-weight: 400;
  color: var(--color-text-light);
}

.special-hero-title {
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.4;
}

.special-hero-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
}

.special-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 400;
}

.special-hero-stat svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.special-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  background: var(--color-placeholder);
  text-align: center;
}

.special-page .special-youtube {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 38px;
  background: var(--color-surface);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.special-page .special-youtube::after {
  display: none;
}

.special-content {
  padding-top: 24px;
}

.joke-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.joke-list .joke-row {
  margin: 0;
  min-width: 0;
  display: block;
}

.joke-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.joke-row-toggle {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.joke-row-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.joke-row--open .joke-row-toggle svg {
  transform: rotate(90deg);
}

.joke-row-body {
  display: none;
  padding-left: 32px;
  overflow: hidden;
}

.joke-row--open .joke-row-body {
  display: block;
}

a.joke-row-title {
  display: inline !important;
  padding: 0 !important;
  border: none !important;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

a.joke-row-title:hover {
  text-decoration: underline;
}

a.joke-row-title::after {
  display: none !important;
}

.joke-timecode {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  background: var(--color-surface);
  padding: 5px;
  border-radius: var(--radius);
  white-space: nowrap;
  line-height: 1.4;
}

.joke-row-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.joke-row-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.joke-row-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  white-space: nowrap;
}

.joke-row-stat svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.joke-expanded .joke-row-title {
  font-size: 18px;
  font-weight: 600;
}

.joke-expanded .joke-row-header {
  margin-bottom: 8px;
}

.joke-row-header {
  display: flex;
  align-items: center;
  gap: 7px;
}

.joke-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  padding-top: 8px;
  max-width: 80ch;
}

.joke-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding-top: 10px;
}

.joke-nav-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 8px 10px !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 13px;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.joke-nav-btn::after {
  display: none !important;
}

.joke-nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.joke-nav-btn--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (min-width: 769px) {
  .special-hero {
    height: 300px;
  }

  .special-hero-info {
    font-size: 16px;
  }

  .special-hero-title {
    line-height: 1.6;
  }

  .joke-list {
    gap: 24px;
  }

  .joke-row-head {
    font-size: 16px;
  }

  .joke-timecode {
    font-size: 16px;
    line-height: 1.6;
  }

  a.joke-row-title {
    font-size: 16px;
    line-height: 1.6;
  }

  .joke-row-stat {
    font-size: 16px;
  }

  .joke-text {
    font-size: 16px;
  }
}
