/* 公開ページ専用スタイル（JK / 将来の人妻・OL等の公開UI共通） */

.public-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 181, 130, 0.22), transparent 32%),
    linear-gradient(180deg, #fffaf6 0%, #fff5ee 48%, #ffffff 100%);
}

.public-page .section,
.public-page .detail {
  border: 0;
  background: transparent;
  padding: 24px 0;
}

.site-header {
  position: relative;
  flex-direction: row;
  align-items: center;
  min-height: 58px;
  border-bottom-color: rgba(130, 32, 20, 0.12);
  background: rgba(255, 250, 246, 0.94);
}

.brand-mark {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  font-size: 12px;
  line-height: 1;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  font-size: 10px;
}

.site-nav a {
  border: 1px solid rgba(130, 32, 20, 0.12);
  background: #fff;
}

.site-nav .nav-cta {
  border-color: var(--accent);
  background: var(--accent);
}

.site-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-search,
.site-menu {
  position: relative;
}

.search-toggle,
.menu-toggle {
  list-style: none;
}

.search-toggle::-webkit-details-marker,
.menu-toggle::-webkit-details-marker {
  display: none;
}

.search-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(130, 32, 20, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #2f2522;
  cursor: pointer;
}

.search-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  transform: translate(-2px, -3px);
}

.search-icon::before,
.search-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.search-icon::before {
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border: 4px solid currentColor;
  border-radius: 999px;
}

.search-icon::after {
  left: 16px;
  top: 18px;
  width: 11px;
  height: 5px;
  border-radius: 4px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search[open] .search-toggle {
  border-color: rgba(143, 16, 16, 0.28);
  color: #8f1010;
  background: #fff7f4;
}

.site-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 20px));
  padding: 12px;
  border: 1px solid rgba(143, 16, 16, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(74, 22, 14, 0.18);
}

.site-search-panel label {
  color: #6f625e;
  font-size: 12px;
  font-weight: 800;
}

.site-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search-row input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(143, 16, 16, 0.18);
  border-radius: 8px;
  background: #fff7f4;
  color: #2f2522;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 0 12px;
}

.site-search-row input::placeholder {
  color: #9b8d88;
}

.site-search-row .button {
  flex-shrink: 0;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 8px;
}

.page-shell {
  width: min(100% - 20px, 1120px);
  padding: 18px 0 88px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 10%, rgba(255, 173, 117, 0.28), transparent 34%),
    linear-gradient(135deg, #5b0808 0%, #b80f0f 52%, #f41f1f 100%);
  box-shadow: 0 24px 60px rgba(125, 23, 34, 0.2);
  color: #fff;
  padding: 22px;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.home-hero .eyebrow {
  color: #ffd8c5;
}

.home-hero h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(21px, 6.4vw, 34px);
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.home-hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.home-hero .button {
  min-height: 48px;
  border-color: #fff8f3;
  border-radius: 999px;
  background: #fff8f3;
  color: var(--accent-dark);
}

.home-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.featured-work {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.featured-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: var(--cover-ratio);
  background: #dfe5ec;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.76);
}

.featured-caption strong,
.featured-caption span {
  display: block;
}

.featured-caption a {
  color: #fff;
  font-weight: 800;
}

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  margin: 0;
  padding: 0;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.hero-showcase::-webkit-scrollbar,
.quick-tags::-webkit-scrollbar,
.sample-gallery::-webkit-scrollbar,
.work-rail::-webkit-scrollbar {
  display: none;
}

.hero-tile {
  display: none;
  position: relative;
  min-width: 0;
  flex: none;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: none;
}

.hero-tile.is-visible {
  display: block;
  animation: heroTileSlide 0.5s ease both;
  will-change: opacity, transform;
}

.hero-tile-large {
  flex-basis: auto;
}

.hero-tile-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(25, 17, 15, 0.34);
  box-shadow: 0 18px 42px rgba(25, 17, 15, 0.24);
}

.hero-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile-label {
  display: none !important;
}

@keyframes heroTileSlide {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tag-strip-section {
  margin-bottom: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72) !important;
  padding: 16px !important;
}

.compact-heading {
  margin-bottom: 10px;
}

.quick-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
}

.all-tags {
  flex-wrap: wrap;
  overflow: visible;
  row-gap: 10px;
}

.tag-group-list {
  display: grid;
  gap: 20px;
}

.tag-group {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(130, 32, 20, 0.1);
}

.tag-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.tag-group h3 {
  margin: 0;
  color: var(--accent-dark);
  font-size: 16px;
  line-height: 1.3;
}

.quick-tag,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(194, 59, 42, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(125, 23, 34, 0.06);
}

.quick-tag {
  min-height: 44px;
  padding-inline: 14px;
}

.public-page .section {
  padding: 18px 0;
}

.section-heading h2 {
  font-size: clamp(25px, 7vw, 42px);
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.section-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.section-more-actions .button {
  min-width: min(100%, 280px);
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
}

.work-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: 0;
  box-shadow: 0 14px 34px rgba(125, 23, 34, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 39, 53, 0.35);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.thumb-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--cover-ratio);
  min-height: 0;
  border-radius: 0;
  background: #21110f;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-body {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.work-card h3 {
  display: -webkit-box;
  min-height: 4.05em;
  max-height: 4.05em;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.work-card-has-sale h3 {
  min-height: 2.7em;
  max-height: 2.7em;
  -webkit-line-clamp: 2;
}

.work-card h3 a {
  display: block;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.price-line {
  align-items: baseline;
}

.card-price-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  text-align: center;
}

.price-current {
  color: var(--accent-dark);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
}

.price-list,
.price-list-detail {
  color: var(--muted);
}

.price-list span,
.price-list-detail {
  text-decoration: line-through;
}

.card-sale-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff2f2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.work-card .card-sale-badge {
  display: inline-flex !important;
  min-height: 31px;
  width: max-content !important;
  max-width: 100%;
  align-self: center;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: #e10019 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.work-card .chip-row {
  flex-wrap: nowrap;
  gap: 4px;
  overflow: hidden;
  max-width: 100%;
}

.work-card .chip {
  max-width: 100%;
  min-height: 18px;
  padding-inline: 5px;
  border-radius: 7px;
  font-size: 8px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.series-index-hero {
  padding-bottom: 18px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.series-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(125, 23, 34, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.series-card:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 39, 53, 0.35);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.series-card-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--cover-ratio);
  overflow: hidden;
  background: #21110f;
  color: var(--muted);
  text-decoration: none;
}

.series-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(244, 31, 31, 0.22);
}

.series-card-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.series-card h2 {
  display: -webkit-box;
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.series-card-meta {
  display: grid;
  gap: 6px;
  margin: 0;
}

.series-card-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(130, 32, 20, 0.08);
  padding-top: 6px;
}

.series-card-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.series-card-meta dd {
  margin: 0;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.work-detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "trial"
    "summary";
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 18px 42px rgba(125, 23, 34, 0.08);
  align-items: start;
}

.detail-media-panel {
  grid-area: media;
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.detail-visual {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  aspect-ratio: var(--cover-ratio);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 20px;
  background: #21110f;
  color: var(--muted);
}

.detail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.detail-cover-button {
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.detail-cover-button:hover {
  border-color: rgba(143, 16, 16, 0.28);
  filter: brightness(0.98);
}

.detail-summary {
  grid-area: summary;
  position: static;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.detail-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  max-height: none;
  overflow: hidden;
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: anywhere;
}

.detail-title-mobile {
  display: none;
}

.detail-chip-row {
  gap: 8px;
}

.detail-tags-fold {
  display: none;
  gap: 10px;
}

.detail-chip-row-desktop {
  display: none;
}

.detail-chip-row.is-expanded {
  max-height: none;
}

.detail-tags-more {
  justify-self: start;
  min-height: 36px;
  border: 1px solid rgba(130, 32, 20, 0.15);
  border-radius: 999px;
  background: #fff8f3;
  color: var(--accent-dark);
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.detail-summary > .detail-primary-links {
  display: none;
}

.detail-primary-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-primary-links div {
  min-width: 0;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 16px;
  background: #fff8f3;
  padding: 10px 12px;
}

.detail-primary-links span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-primary-links a,
.detail-primary-links b {
  display: inline-block;
  max-width: 100%;
  margin-top: 2px;
  overflow: hidden;
  color: var(--accent-dark);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-more {
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 18px;
  background: #fffaf6;
  padding: 0;
}

.detail-more summary {
  min-height: 48px;
  padding: 13px 16px;
  color: var(--accent-dark);
  font-weight: 900;
  cursor: pointer;
}

.detail-more summary::marker {
  color: var(--accent);
}

.detail-more > .chip-row,
.detail-more > .detail-primary-links,
.detail-more > .detail-price-panel,
.detail-more > .meta-grid {
  margin: 0 14px 14px;
}

.detail-more-mobile {
  display: block;
}

.detail-more-desktop {
  display: none;
}

.detail-purchase-row {
  display: grid;
  gap: 12px;
  align-items: end;
}

.detail-price-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 18px;
  background: #fff8f3;
  padding: 14px 16px;
}

.detail-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.detail-price-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-price-line b {
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.detail-price-current-line b {
  color: var(--accent-dark);
  font-size: 26px;
}

.detail-price-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meta-grid div {
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 16px;
  background: #fff8f3;
  padding: 10px 12px;
}

.meta-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.meta-grid dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.detail-actions-inline {
  gap: 16px;
}

.detail-actions-side {
  display: none;
  align-self: end;
  margin-top: auto;
}

.detail-actions .button {
  min-height: 60px;
  border-radius: 999px;
  font-size: 17px;
}

.sale-cta-balloon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.38em;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 14px 20px 16px;
  border: 1px solid rgba(202, 31, 39, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
  color: #9f111b;
  font-size: clamp(14px, 3.8vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 14px 34px rgba(143, 16, 16, 0.12);
  animation: saleBubbleFloat 1.7s ease-in-out infinite;
}

.sale-cta-label {
  color: #a90f18;
  font-size: 0.96em;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sale-cta-balloon strong {
  color: #d71920;
  font-size: 1.06em;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.sale-cta-end {
  flex-basis: 100%;
  margin-top: 2px;
  color: #7a4a4d;
  font-size: 0.68em;
  font-weight: 800;
}

.sale-cta-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 20px;
  height: 20px;
  border-right: 1px solid rgba(202, 31, 39, 0.22);
  border-bottom: 1px solid rgba(202, 31, 39, 0.22);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes saleBubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.trial-gallery-section {
  margin-top: 0;
  padding-top: 2px !important;
}

.sample-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 360px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.sample-image-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(130, 32, 20, 0.1);
  border-radius: 20px;
  background: #21110f;
  scroll-snap-align: start;
  box-shadow: 0 14px 34px rgba(125, 23, 34, 0.08);
}

.sample-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.sample-image-card img:not([src]) {
  background: #21110f;
}

.sample-image-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff8f3;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.sample-image-card.has-attribution figcaption {
  top: 10px;
  bottom: auto;
}

.sample-image-attribution {
  margin: 0;
  padding: 12px 14px 14px;
  background: #fff8f3;
  color: #6d4b45;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.sample-image-attribution a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
}

.image-reader-attribution {
  border-radius: 8px;
}

.trial-gallery-section {
  border-color: rgba(46, 125, 50, 0.18);
  background: #f6fff7;
}

.trial-gallery {
  grid-auto-columns: minmax(72%, 320px);
}

.work-detail-hero > .trial-gallery-section {
  grid-area: trial;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0 !important;
  box-shadow: none;
  overflow: hidden;
}

.work-detail-hero > .trial-gallery-section .trial-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 0;
  scroll-snap-type: x mandatory;
}

.work-detail-hero > .trial-gallery-section .trial-image-card {
  flex: 0 0 min(360px, calc((100% - 12px) / 1.3));
  width: min(360px, calc((100% - 12px) / 1.3));
}

.work-detail-hero > .trial-gallery-section .reader-image-button {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: inherit;
}

.work-detail-hero > .trial-gallery-section .trial-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.trial-reader-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  border-radius: 999px;
  background: #fff8f3;
  color: var(--accent-dark);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 8px 22px rgba(125, 23, 34, 0.08);
}

.trial-image-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #090909;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.trial-image-card img {
  aspect-ratio: 2 / 3;
  background: #090909;
}

.reader-image-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.trial-image-card .reader-image-button {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  background: #090909;
}

.reader-image-button img {
  pointer-events: none;
}

body.has-image-reader {
  overflow: hidden;
}

.image-reader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(13, 8, 7, 0.94);
  color: #fff;
}

.image-reader[hidden] {
  display: none;
}

.image-reader-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
}

.image-reader-close {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.image-reader-scroll {
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 14px;
}

.image-reader-page {
  display: grid;
  gap: 8px;
  width: min(920px, 100%);
  margin: 0 auto 18px;
}

.image-reader-page img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #140c0a;
}

.image-reader-page img:not([src]) {
  aspect-ratio: 2 / 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #140c0a;
}

.image-reader-page figcaption {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.image-reader-affiliate {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(560px, 92%);
  margin: clamp(56px, 12vw, 88px) auto !important;
  padding: 20px 28px !important;
  font-size: clamp(15px, 4.2vw, 18px) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff !important;
  background: linear-gradient(135deg, #ff3a55 0%, #c41040 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow:
    0 16px 36px rgba(255, 60, 90, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  text-decoration: none;
  text-align: center;
  text-shadow: 0 1px 1px rgba(80, 0, 10, 0.4);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.image-reader-sale-balloon {
  width: min(720px, 92%);
  margin: clamp(42px, 10vw, 72px) auto 14px;
}
.image-reader-sale-balloon + .image-reader-affiliate {
  margin-top: 16px !important;
}
.image-reader-affiliate::after {
  content: "›";
  font-size: 1.4em;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}
.image-reader-affiliate:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(255, 60, 90, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.image-reader-affiliate:active {
  transform: translateY(0);
}

.work-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(44%, 220px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(130, 32, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta .button {
  min-height: 52px;
  font-size: 16px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .sale-cta-balloon {
    animation: none;
  }
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(33, 31, 29, 0.82);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-panel {
  width: min(520px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
  }

  .brand {
    flex: 1;
    flex-basis: 0;
    min-width: 0;
    gap: 8px;
  }

  .brand strong {
    overflow: visible;
    max-width: none;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .brand small {
    display: none;
  }

  .site-header-actions {
    flex-shrink: 0;
    gap: 6px;
  }

  .search-toggle {
    width: 44px;
    height: 44px;
  }

  .site-search-panel {
    position: fixed;
    top: 74px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  .site-search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-search-row .button {
    width: 100%;
  }

  .site-nav {
    width: min(240px, calc(100vw - 20px));
    max-width: none;
    margin-left: auto;
  }

  .site-nav a {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .home-hero,
  .work-detail-hero {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .home-hero-copy {
    min-height: auto;
  }

  .featured-work,
  .featured-image {
    min-height: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .work-card {
    padding: 8px;
  }

  .work-card h3 {
    min-height: 4.05em;
    max-height: 4.05em;
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  .work-card-has-sale h3 {
    min-height: 2.7em;
    max-height: 2.7em;
    -webkit-line-clamp: 2;
  }

  .work-card .chip-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .work-card .chip:nth-child(n+3) {
    display: none;
  }

  .work-card .chip {
    min-height: 18px;
    padding-inline: 5px;
    border-radius: 7px;
    font-size: 8px;
  }

  .card-price-line {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    column-gap: 6px;
    row-gap: 5px;
    min-width: 0;
    margin-top: 0;
    text-align: center;
  }

  .card-price-line .price-current {
    order: 1;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .card-price-line .price-list {
    order: 2;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .work-card .card-sale-badge {
    grid-column: 1 / -1;
    justify-self: center;
    min-height: 22px;
    width: max-content !important;
    max-width: 100%;
    box-sizing: border-box;
    align-self: center;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .card-action {
    min-height: 34px;
    font-size: 13px;
  }

  .detail-summary {
    position: static;
  }

  .work-detail-hero {
    gap: 8px;
    overflow: hidden;
  }

  .detail-media-panel {
    gap: 10px;
  }

  .detail-title-desktop {
    display: none;
  }

  .detail-title-mobile {
    display: -webkit-box;
    max-height: none;
  }

  .detail-title {
    font-size: clamp(28px, 7.4vw, 42px);
    line-height: 1.1;
  }

  .detail-visual {
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .detail-purchase-row {
    display: none;
  }

  .detail-price-panel {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 16px;
  }

  .detail-price-line {
    display: inline-flex;
    justify-content: center;
    gap: 0;
  }

  .detail-price-line span {
    display: none;
  }

  .detail-price-line:not(.detail-price-current-line)::after {
    content: "→";
    margin-left: 10px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 900;
  }

  .detail-price-line b {
    font-size: 22px;
  }

  .detail-price-current-line b {
    font-size: 30px;
  }

  .detail-price-note {
    flex-basis: 100%;
    text-align: center;
  }

  .detail-actions-side {
    display: none;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: grid;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding-top: 34px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;
    padding: 30px;
  }

  .home-hero-copy {
    min-height: auto;
  }

  .home-hero h1 {
    font-size: clamp(38px, 5.4vw, 50px);
  }

  .hero-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    grid-auto-rows: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .hero-tile {
    min-width: 0;
  }

  .hero-tile-large {
    grid-row: auto;
  }

  .work-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  .work-card h3 {
    font-size: 16px;
  }

  .work-detail-hero {
    grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas:
      "media summary"
      "trial trial";
    gap: 24px;
    padding: 18px;
  }

  .detail-summary {
    position: static;
    min-height: 100%;
  }

  .detail-title {
    font-size: clamp(29px, 3.1vw, 43px);
  }

  .detail-tags-fold {
    display: grid;
  }

  .detail-chip-row-desktop {
    display: flex;
    max-height: 136px;
    overflow: hidden;
  }

  .detail-summary > .detail-primary-links {
    display: grid;
  }

  .detail-more-mobile {
    display: none;
  }

  .detail-more-desktop {
    display: block;
  }

  .detail-purchase-row {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-actions-side {
    display: grid;
  }

  .sample-gallery {
    grid-auto-columns: minmax(360px, 440px);
  }

  .trial-gallery {
    grid-auto-columns: minmax(300px, 360px);
  }

  .sample-image-card {
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .sample-image-card img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  .trial-image-card img {
    aspect-ratio: 2 / 3;
  }

  .image-reader-page {
    width: min(920px, 100%);
    min-height: calc(100vh - 96px);
    place-items: center;
  }

  .image-reader-page img {
    width: 100%;
    height: calc(90vh - 56px);
    max-height: calc(100vh - 118px);
    object-fit: contain;
  }

  .work-rail {
    grid-auto-columns: minmax(220px, 260px);
  }
}

@media (min-width: 1024px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    padding: 36px;
  }

  .home-hero-copy {
    min-height: 360px;
  }

  .home-hero h1 {
    font-size: clamp(42px, 2.8vw, 48px);
  }

  .hero-showcase {
    align-self: center;
    gap: 16px;
  }

  .hero-tile-image {
    border-radius: 20px;
  }

  .latest-work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html {
  overflow-x: hidden;
  scroll-padding-top: 76px;
  scroll-behavior: smooth;
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }
}

.home-hero-lead {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 240, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.home-hero-lead-main {
  white-space: nowrap;
}

.hero-actions-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hero-actions-quad .hero-quad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  background: #ffffff;
  color: #8f1010;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.hero-actions-quad .hero-quad-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  background: #fff8f0;
}
.hero-actions-quad .hero-quad-btn:active {
  transform: translateY(0);
}
@media (min-width: 720px) {
  .hero-actions-quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-actions-quad .hero-quad-btn {
    font-size: 14px;
    min-height: 50px;
  }
}
@media (max-width: 380px) {
  .home-hero-lead {
    font-size: 12.5px;
  }
  .hero-actions-quad .hero-quad-btn {
    font-size: 12.5px;
    padding: 9px 8px;
  }
}

@media (max-width: 380px) {
  .home-hero {
    padding: 18px 12px;
  }

  .home-hero-copy,
  .hero-actions-quad,
  .hero-showcase {
    min-width: 0;
  }

  .home-hero h1 {
    font-size: 24px;
    white-space: normal;
  }

  .home-hero-lead-main {
    white-space: normal;
  }

  .hero-actions-quad {
    gap: 8px;
  }

  .hero-actions-quad .hero-quad-btn {
    min-width: 0;
    font-size: 12.5px;
    padding: 9px 6px;
  }

  .hero-showcase {
    gap: 8px;
  }
}

@media (max-width: 759px) {
  .hero-tile.is-visible {
    animation-name: heroTileSlideMobile;
  }
}

@keyframes heroTileSlideMobile {
  from {
    opacity: 0.42;
    filter: blur(8px) saturate(0.92);
    transform: translateX(-18px) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translateX(0);
  }
}

.works-list-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  row-gap: 14px;
  text-align: center;
}
.works-list-title {
  min-width: 220px;
}
.works-list-title h1 {
  white-space: nowrap;
}
.works-search-summary {
  margin: 8px 0 0;
  color: #8f1010;
  font-size: 14px;
  font-weight: 800;
}
.works-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: 0;
}
.sort-pills,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(244, 31, 31, 0.06);
  border: 1px solid rgba(143, 16, 16, 0.12);
}
.sort-pills-label {
  flex-shrink: 0;
  padding: 0 10px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8f1010;
  text-transform: uppercase;
  white-space: nowrap;
}
.sort-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4441;
  background: transparent;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.sort-pill:hover {
  background: rgba(244, 31, 31, 0.1);
  color: #8f1010;
}
.sort-pill.is-active {
  background: linear-gradient(135deg, #f41f1f, #8f1010);
  color: #fff;
  box-shadow: 0 4px 12px rgba(143, 16, 16, 0.25);
}
.per-page-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 5px 4px 12px;
  border: 1px solid rgba(143, 16, 16, 0.14);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(125, 23, 34, 0.07);
}
.per-page-control label {
  color: #6f625e;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.per-page-control select {
  min-width: 92px;
  height: 34px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(143, 16, 16, 0.2);
  border-radius: 999px;
  background-color: #fff7f4;
  color: #2f2522;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.works-list-count {
  justify-self: center;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(143, 16, 16, 0.12);
  border-radius: 8px;
  background: #fff7f4;
  color: #4a3934;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.works-list-count span + span {
  color: #8f1010;
}
.public-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.page-link,
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.page-link {
  border: 1px solid rgba(143, 16, 16, 0.18);
  color: #8f1010;
  background: #fff;
  text-decoration: none;
}
.page-link:hover {
  background: rgba(244, 31, 31, 0.08);
}
.page-link.is-current {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #f41f1f, #8f1010);
}
.page-link.is-disabled {
  color: #9b918d;
  background: #f3efed;
  border-color: rgba(74, 68, 65, 0.08);
}
.page-ellipsis {
  min-width: 24px;
  color: #8a7f7b;
  padding: 0 4px;
}
.works-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding: 12px;
  border: 1px solid rgba(143, 16, 16, 0.12);
  border-radius: 8px;
  background: #fff7f4;
}
.works-pagination-top {
  margin-top: 16px;
  margin-bottom: 18px;
}
.works-pagination-bottom {
  margin-top: 30px;
}
.works-pagination + .work-grid {
  margin-top: 0;
}
.works-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.works-page-btn,
.works-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.works-page-btn {
  border: 1px solid rgba(143, 16, 16, 0.16);
  background: #fff;
  color: #8f1010;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(125, 23, 34, 0.06);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.works-page-btn:hover {
  transform: translateY(-1px);
  background: #fff1ec;
  box-shadow: 0 8px 18px rgba(125, 23, 34, 0.1);
}
.works-page-btn.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, #f41f1f, #8f1010);
  color: #fff;
  box-shadow: 0 8px 18px rgba(143, 16, 16, 0.22);
}
.works-page-btn.is-disabled {
  border-color: rgba(74, 68, 65, 0.08);
  background: #f3efed;
  color: #9b918d;
  box-shadow: none;
}
.works-page-step {
  min-width: 72px;
}
.works-page-ellipsis {
  min-width: 26px;
  padding: 0 4px;
  color: #8a7f7b;
}
@media (max-width: 640px) {
  .home-hero-lead {
    font-size: 13px;
  }
  .works-list-heading {
    display: flex;
    text-align: left;
    justify-items: stretch;
  }
  .works-list-title {
    grid-row: auto;
    min-width: 0;
  }
  .works-list-title h1 {
    white-space: normal;
  }
  .works-list-toolbar {
    width: 100%;
    margin-left: 0;
    justify-content: stretch;
  }
  .sort-pills,
  .filter-pills {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .sort-pills-label {
    flex-basis: 100%;
    padding: 0 2px 4px;
    font-size: 11px;
    color: #8f1010;
  }
  .sort-pill {
    flex: 1 1 calc((100% - 12px) / 3);
    min-width: 0;
    padding: 9px 6px;
    font-size: 12.5px;
    background: #fff;
    border: 1px solid rgba(143, 16, 16, 0.14);
  }
  .sort-pill.is-active {
    border-color: transparent;
  }
  .per-page-control {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
    padding: 8px 10px;
  }
  .per-page-control select {
    min-width: 112px;
  }
  .works-list-count {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .public-pagination {
    gap: 6px;
    margin-top: 22px;
  }
  .page-link,
  .page-ellipsis {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .works-pagination {
    gap: 8px;
    margin-top: 22px;
    padding: 10px;
  }
  .works-page-numbers {
    order: 3;
    width: 100%;
  }
  .works-page-btn,
  .works-page-ellipsis {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .works-page-step {
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (max-width: 360px) {
  .sort-pill {
    flex-basis: calc((100% - 6px) / 2);
    font-size: 12px;
  }
}

.rating-stars {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1;
}
.rating-stars-visual {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.rating-stars-track,
.rating-stars-fill {
  font-family: serif;
  letter-spacing: 2px;
  white-space: nowrap;
}
.rating-stars-track {
  color: #e0d7ce;
}
.rating-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  color: #f5b301;
  pointer-events: none;
}
.rating-stars-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: inherit;
  font-size: 12px;
  color: #6a615a;
  letter-spacing: 0;
  white-space: nowrap;
}
.rating-stars-text small {
  color: #9a8f86;
  font-size: 11px;
}
.rating-stars-empty .rating-stars-text {
  color: #9a8f86;
}
@media (max-width: 480px) {
  .rating-stars {
    font-size: 14px;
    column-gap: 6px;
  }
  .rating-stars-track,
  .rating-stars-fill {
    letter-spacing: 1px;
  }
  .rating-stars-text {
    font-size: 11.5px;
  }
}

.card-campaign-end {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 24px;
  box-sizing: border-box;
  margin: 2px 0 0;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #fff1ec;
  color: #c0392b;
  text-align: center;
}
.campaign-end {
  color: #c0392b;
  font-weight: 700;
}

body.has-age-gate {
  overflow: hidden;
}
body.has-age-gate > *:not(.age-gate):not(script):not(style) {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
.age-gate {
  background: rgba(33, 31, 29, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
