.party-finder-layout {
  padding: 24px 0 72px;
}

.party-finder-hero {
  padding: 22px 0 12px;
  border: 0;
  background: none;
}

.party-finder-hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.party-finder-hero .wrap > span {
  color: #1684e5;
  font-family: "Luckiest Guy", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .045em;
}

.party-finder-create-link {
  margin-left: auto;
  color: #1684e5;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.party-finder-create-link:active {
  background: transparent;
  box-shadow: none;
  transform: none;
}


.party-service-picker {
  margin-bottom: 28px;
}

.party-service-options {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 801px) {
  /* The combined TVING·Wavve option is revealed on those service pages.
     Keep all nine choices on one row so the feature panel below never jumps. */
  .party-service-options.has-combined-service {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

.party-service-option {
  display: flex;
  min-width: 0;
  min-height: 128px;
  padding: 16px 10px 13px;
  border: 1px solid transparent;
  border-radius: 19px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
  color: #273140;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.party-service-option[data-combined-service][hidden] {
  display: none !important;
}

.party-service-option > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 15px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 14px rgba(44, 73, 107, .12);
}

.party-service-option img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}

.party-service-option i {
  color: #2787df;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: -.03em;
}

.party-service-option b {
  overflow: hidden;
  max-width: 100%;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.party-service-option.service-all { background: #fff; }
.party-service-option.service-youtube { background: #fff1ef; }
.party-service-option.service-netflix { background: #f4f0f1; }
.party-service-option.service-disney { background: #edf5ff; }
.party-service-option.service-tving { background: #fff0f5; }
.party-service-option.service-wavve { background: #eef2ff; }
.party-service-option.service-watcha { background: #fff1f6; }
.party-service-option.service-laftel { background: #f4f0ff; }
.party-service-option.service-tving-wavve { background: #f3f5ff; }

.party-service-option:hover,
.party-service-option:focus-visible,
.party-service-option.on {
  border-color: transparent;
  box-shadow: none;
  outline: 0;
  transform: none;
  -webkit-tap-highlight-color: transparent;
}

.party-service-option.on {
  background: inherit;
}

.party-service-option.service-all.on {
  background: #fff;
}

.party-service-option.service-youtube.on { background: #fff1ef; }
.party-service-option.service-netflix.on { background: #f4f0f1; }
.party-service-option.service-disney.on { background: #edf5ff; }
.party-service-option.service-tving.on { background: #fff0f5; }
.party-service-option.service-wavve.on { background: #eef2ff; }
.party-service-option.service-watcha.on { background: #fff1f6; }
.party-service-option.service-laftel.on { background: #f4f0ff; }

/* Keep the selected OTT readable with a blue glow, without a visible outline. */
.party-service-option.on,
.party-service-option[aria-pressed="true"] {
  border-color: transparent !important;
  box-shadow:
    0 0 0 2px rgba(22, 132, 229, .24),
    0 8px 18px rgba(35, 91, 137, .14) !important;
  position: relative;
  z-index: 1;
}

.party-service-option:not(.service-all) > span {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  overflow: visible;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.party-service-option:not(.service-all) img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  filter: none;
}

.party-results {
  scroll-margin-top: 110px;
}

.service-feature-card[hidden] {
  display: none;
}

.service-feature-card {
  display: grid;
  margin: 0 0 20px;
  padding: 18px 20px;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 16px 24px;
  align-items: center;
  border: 1px solid #ffd7d2;
  border-radius: 16px;
  background: #fff8f7;
}

.service-feature-card header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.service-feature-card header img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.service-feature-card header span {
  color: #e53935;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.service-feature-card h2 {
  margin: 3px 0 0;
  color: #2a3039;
  font-size: 17px;
  line-height: 1.3;
}

.service-feature-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.service-feature-card li {
  display: flex;
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid #f1dfdd;
  border-radius: 11px;
  background: #fff;
}

.service-feature-card li i {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 8px;
  background: #ffebe9;
  color: #e53935;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.service-feature-card li b {
  overflow: hidden;
  color: #4a525e;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

/* Keep feature labels readable on wide desktop cards. The previous equal
   columns could become narrow enough for Korean glyphs to stack vertically
   when the finder used a two-column layout. */
@media (min-width: 801px) {
  .service-feature-card {
    grid-template-columns: minmax(300px, .85fr) minmax(520px, 1.15fr);
  }

  .service-feature-card ul {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .service-feature-card li {
    min-width: 0;
  }

  .service-feature-card li b {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    writing-mode: horizontal-tb;
  }
}

@media (min-width: 801px) and (max-width: 1180px) {
  .service-feature-card {
    grid-template-columns: minmax(250px, .7fr) minmax(360px, 1.3fr);
  }

  .service-feature-card ul {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

.service-feature-card > small {
  grid-column: 1 / -1;
  color: #9299a3;
  font-size: 10px;
  line-height: 1.4;
}

.list-tools.waiting select {
  visibility: hidden;
}

.party-choice-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 210px;
  padding: 34px 20px;
  border: 1px solid #e5ebf2;
  border-radius: 18px;
  place-items: center;
  align-content: center;
  background: #fafcff;
  text-align: center;
}

.party-choice-empty span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 16px;
  place-items: center;
  background: #e9f4ff;
  color: #2385df;
  font-size: 12px;
  font-weight: 950;
}

.party-choice-empty b {
  font-size: 19px;
}

.party-choice-empty p {
  margin: 7px 0 0;
  color: #7a8797;
  font-size: 13px;
}

@media (max-width: 800px) {
  .party-finder-layout {
    padding: 6px 0 48px;
  }

  .party-finder-hero {
    padding: 7px 0 4px;
  }

  .party-finder-create-link {
    font-size: 11.5px;
  }

  .party-finder-hero h1 {
    font-size: 23px;
  }

  .party-service-picker {
    margin-bottom: 11px;
  }

  .party-service-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    margin-right: 0;
    padding: 2px 0 0;
    overflow: visible;
  }

  .party-service-option {
    width: 100%;
    min-height: 51px;
    padding: 4px 3px;
    border-radius: 12px;
  }

  .party-service-option > span {
    width: 28px;
    height: 28px;
    margin-bottom: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 9px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 3px 7px rgba(44, 73, 107, .12);
  }

  .party-service-option:not(.service-all) > span {
    overflow: visible;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .party-service-option:not(.service-all) img {
    filter: drop-shadow(0 3px 4px rgba(34, 54, 78, .18));
  }

  .party-service-option img {
    width: 21px;
    height: 21px;
    border-radius: 7px;
  }

  .party-service-option i {
    font-size: 11px;
    font-weight: 500;
  }

  .party-service-option b {
    font-size: 10px;
    font-weight: 400;
  }

  .list-tools {
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .list-tools > b {
    padding-right: 7px;
    font-size: 13px;
    font-weight: 500;
  }

  .list-tools select {
    width: auto;
    min-height: 29px;
    height: 29px;
    padding: 0 20px 0 7px;
    border: 1px solid #d9e7f4;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%);
    color: #536478;
    font-size: 10px !important;
    font-weight: 650;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .9),
      0 4px 10px rgba(38, 77, 117, .08);
  }

  .service-feature-card {
    margin-bottom: 13px;
    padding: 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    border-radius: 14px;
  }

  .service-feature-card header {
    gap: 10px;
  }

  .service-feature-card header img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .service-feature-card h2 {
    font-size: 15px;
  }

  .service-feature-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .service-feature-card li {
    min-height: 38px;
    padding: 6px 8px;
  }

  .service-feature-card li b {
    font-size: 10.5px;
  }

  .service-feature-card > small {
    font-size: 9px;
  }

  .party-choice-empty {
    min-height: 180px;
  }
}
