.peniblo-store-recommend {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  max-width: 760px;
}

.peniblo-store-recommend__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(194, 24, 91, .18);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: box-shadow .18s ease, transform .18s ease, opacity .18s ease;
  width: 100%;
}

.peniblo-store-recommend__button:hover,
.peniblo-store-recommend__button:focus {
  box-shadow: 0 16px 34px rgba(194, 24, 91, .28);
  color: #fff;
  transform: translateY(-1px);
  outline: 3px solid rgba(194, 24, 91, .2);
  outline-offset: 3px;
}

.peniblo-store-recommend__button:disabled {
  cursor: default;
  opacity: .72;
  transform: none;
}

.peniblo-store-recommend__button.is-recommended {
  box-shadow: 0 10px 24px rgba(51, 65, 85, .16);
  opacity: .82;
}

.peniblo-store-recommend__image {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.peniblo-store-recommend__label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.peniblo-store-recommend__count {
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(82, 42, 58, .15);
  color: var(--pb-primary, #c2185b);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
  position: absolute;
  right: 18px;
  top: 16px;
}

.peniblo-store-recommend__note {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.peniblo-store-recommend__status {
  color: var(--pb-primary, #c2185b);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  min-height: 1.4em;
}

.peniblo-store-recommend--missing {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 14px;
}

.peniblo-store-ranking {
  background: #fff;
  border: 1px solid var(--pb-border, #eadfe4);
  border-radius: 18px;
  box-shadow: var(--pb-shadow-md, 0 12px 28px rgba(82, 42, 58, .07));
  margin: 26px 0;
  overflow: hidden;
}

.peniblo-store-ranking__header {
  background: linear-gradient(135deg, #fff4f7 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--pb-border, #eadfe4);
  padding: clamp(22px, 4vw, 34px);
}

.peniblo-store-ranking__kicker {
  color: var(--pb-primary, #c2185b);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.peniblo-store-ranking__title {
  color: var(--pb-text, #1f2937);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  margin: 0;
}

.peniblo-store-ranking__lead {
  color: var(--pb-text-secondary, #64748b);
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0 0;
}

.peniblo-store-ranking__filter {
  align-items: end;
  background: #fff;
  border-bottom: 1px solid var(--pb-border-light, #f4eeee);
  display: grid;
  gap: 8px 12px;
  grid-template-columns: minmax(180px, 320px) auto;
  padding: 16px clamp(16px, 3vw, 26px);
}

.peniblo-store-ranking__filter-label {
  color: var(--pb-text-secondary, #64748b);
  font-size: 12px;
  font-weight: 900;
  grid-column: 1 / -1;
  line-height: 1.3;
}

.peniblo-store-ranking__select {
  appearance: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: var(--pb-text, #1f2937);
  font-size: 14px;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 38px 10px 14px;
  width: 100%;
}

.peniblo-store-ranking__select:focus {
  border-color: var(--pb-primary, #c2185b);
  outline: 3px solid rgba(194, 24, 91, .14);
  outline-offset: 2px;
}

.peniblo-store-ranking__filter-button {
  background: var(--pb-primary, #c2185b);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 20px;
  white-space: nowrap;
}

.peniblo-store-ranking__filter-button:hover,
.peniblo-store-ranking__filter-button:focus {
  background: var(--pb-primary-dark, #8e113f);
}

.peniblo-store-ranking__list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.peniblo-store-ranking__item {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--pb-border-light, #f4eeee);
  display: grid;
  gap: 14px;
  grid-template-columns: 46px 72px minmax(0, 1fr) auto;
  margin: 0;
  min-height: 96px;
  padding: 16px clamp(16px, 3vw, 26px);
}

.peniblo-store-ranking__item:nth-child(even) {
  background: #fbfdff;
}

.peniblo-store-ranking__item:last-child {
  border-bottom: 0;
}

.peniblo-store-ranking__rank {
  align-items: center;
  background: #fff4f7;
  border: 1px solid rgba(194, 24, 91, .16);
  border-radius: 999px;
  color: var(--pb-primary, #c2185b);
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  position: relative;
  width: 38px;
}

.peniblo-store-ranking__rank--top {
  box-shadow: 0 10px 22px rgba(82, 42, 58, .1);
}

.peniblo-store-ranking__rank--top-1 {
  background: #fff8df;
  border-color: rgba(200, 145, 18, .34);
  color: #9a6a00;
}

.peniblo-store-ranking__rank--top-2 {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, .42);
  color: #475569;
}

.peniblo-store-ranking__rank--top-3 {
  background: #fff2e2;
  border-color: rgba(161, 98, 7, .32);
  color: #8a4f12;
}

.peniblo-store-ranking__rank-number {
  position: relative;
  z-index: 1;
}

.peniblo-store-ranking__crown {
  filter: drop-shadow(0 4px 5px rgba(82, 42, 58, .16));
  height: 22px;
  left: 50%;
  overflow: visible;
  position: absolute;
  top: -17px;
  transform: translateX(-50%);
  width: 26px;
}

.peniblo-store-ranking__crown-fill,
.peniblo-store-ranking__crown-base {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.peniblo-store-ranking__crown-base {
  fill: none;
}

.peniblo-store-ranking__crown--gold .peniblo-store-ranking__crown-fill {
  fill: #f7c948;
  stroke: #c89112;
}

.peniblo-store-ranking__crown--gold .peniblo-store-ranking__crown-base {
  stroke: #c89112;
}

.peniblo-store-ranking__crown--silver .peniblo-store-ranking__crown-fill {
  fill: #cbd5e1;
  stroke: #94a3b8;
}

.peniblo-store-ranking__crown--silver .peniblo-store-ranking__crown-base {
  stroke: #94a3b8;
}

.peniblo-store-ranking__crown--bronze .peniblo-store-ranking__crown-fill {
  fill: #d69a60;
  stroke: #a16207;
}

.peniblo-store-ranking__crown--bronze .peniblo-store-ranking__crown-base {
  stroke: #a16207;
}

.peniblo-store-ranking__thumb {
  align-items: center;
  aspect-ratio: 1;
  background: #fff4f7;
  border: 1px solid rgba(194, 24, 91, .12);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  width: 72px;
}

.peniblo-store-ranking__thumb-image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.peniblo-store-ranking__thumb-placeholder {
  color: var(--pb-primary, #c2185b);
  font-size: 12px;
  font-weight: 900;
}

.peniblo-store-ranking__store {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.peniblo-store-ranking__store-name {
  color: var(--pb-text, #1f2937);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.peniblo-store-ranking__store-name:hover,
.peniblo-store-ranking__store-name:focus {
  color: var(--pb-primary, #c2185b);
}

.peniblo-store-ranking__meta {
  color: var(--pb-text-secondary, #64748b);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.peniblo-store-ranking__count {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: var(--pb-primary, #c2185b);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
  white-space: nowrap;
}

.peniblo-store-ranking__empty {
  color: var(--pb-text-secondary, #64748b);
  font-size: 14px;
  line-height: 1.8;
  padding: 28px clamp(16px, 3vw, 26px);
}

@media (max-width: 640px) {
  .peniblo-store-ranking {
    border-radius: 14px;
  }

  .peniblo-store-ranking__filter {
    grid-template-columns: 1fr;
  }

  .peniblo-store-ranking__item {
    align-items: start;
    grid-template-columns: 38px 62px minmax(0, 1fr);
  }

  .peniblo-store-ranking__thumb {
    width: 62px;
  }

  .peniblo-store-ranking__count {
    grid-column: 3;
    justify-self: start;
  }

  .peniblo-store-recommend__count {
    font-size: 11px;
    padding: 7px 9px;
    right: 10px;
    top: 10px;
  }
}
