/* ============ Premium page extras ============ */

/* Story section */
.story-section .memo__body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
}

/* Profile accordion list */
.profile-acc-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.profile-acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}
.profile-acc:hover {
  box-shadow: var(--shadow-sm);
}
.profile-acc__state {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.profile-acc__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
}
.profile-acc__img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-acc__name {
  font-weight: 700;
  font-size: 15px;
}
.profile-acc__ruby {
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}
.profile-acc__chev {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  transition: transform var(--duration) var(--ease);
}
.profile-acc__state:checked ~ .profile-acc__head .profile-acc__chev {
  transform: rotate(180deg);
}
.profile-acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease);
}
.profile-acc__state:checked ~ .profile-acc__body {
  max-height: 500px;
}
.profile-acc__table {
  width: 100%;
  font-size: 13.5px;
  border-collapse: collapse;
  padding: 0 14px 14px;
}
.profile-acc__table th,
.profile-acc__table td {
  padding: 7px 14px;
  border-top: 1px solid var(--line);
}
.profile-acc__table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  width: 32%;
  white-space: nowrap;
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  overflow: hidden;
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-item__state {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.55;
}
.faq-item__qmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #ff8a5a));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item__qtext {
  flex: 1;
}
.faq-item__chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.faq-item__state:checked ~ .faq-item__q .faq-item__chev {
  transform: rotate(180deg);
}
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease), padding 350ms var(--ease);
  background: var(--panel);
  border-top: 0 solid var(--line);
}
.faq-item__state:checked ~ .faq-item__a {
  max-height: 600px;
  padding: 14px 16px;
  border-top-width: 1px;
}
.faq-item__amark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item__a p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* SALE badge in price cell */
.badge-sale {
  display: inline-block;
  margin-left: 6px;
  background: linear-gradient(135deg, #e11d6a, #ff8a5a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
}

/* ============ Rich card list (passive scroll, 縦リスト型) ============ */
.rich-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
.rich-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.rich-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.rich-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.rich-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rich-card__sale {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, #e11d6a, #ff8a5a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 3px;
}
.rich-card__body {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.rich-card__title {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rich-card__title:hover {
  color: var(--accent);
}
.rich-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--muted);
}
.rich-card__meta-item {
  white-space: nowrap;
}
.rich-card__chips,
.rich-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
}
.rich-card__chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.rich-card__chip:hover {
  background: var(--accent);
  color: #fff;
}
.rich-card__tag {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-soft);
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
}
.rich-card__tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.rich-list__more {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}
.rich-list__more:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .rich-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .rich-card__title {
    font-size: 13.5px;
  }
}

/* ============ Similarity badge ============ */
.section__sub {
  margin: -8px 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.card__body { position: relative; }
.card__sim-badge {
  position: absolute;
  top: -10px;
  right: 8px;
  background: linear-gradient(135deg, #6a1b9a, #8e3cb8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(106, 27, 154, 0.3);
}
