reelys-ios-promo {
  display: block;
  flex: none;
  /* 앱 화면은 넓은 창 안에서도 폰 폭 틀(366)에 들어 있다 — 창 폭(media)이 아니라 이 띠의 폭(container)으로 좁음을 판단한다 */
  container-type: inline-size;
}

.reelys-ios-promo {
  display: flex;
  /* 한 줄로 — 전엔 wrap 이라 폰 폭에서 「7일간 보지 않기 ×」 가 둘째 줄로 내려가 모든 화면 위 40px 를 더 먹었다(2026-11-19) */
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 8px;
  padding: 0 clamp(12px, 4vw, 24px);
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
  color: #18181b;
  font: 14px/1.35 Pretendard, system-ui, sans-serif;
}

.reelys-ios-promo__link,
.reelys-ios-promo__actions,
.reelys-ios-promo__actions button {
  display: flex;
  align-items: center;
}

.reelys-ios-promo__link {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  gap: 0 8px;
  min-height: 44px;
  padding-block: 4px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
}

.reelys-ios-promo__link strong {
  font-size: 15px;
  font-weight: 700;
}

.reelys-ios-promo__link > span,
.reelys-ios-promo__actions button {
  color: #52525b;
}

.reelys-ios-promo__link:hover > span,
.reelys-ios-promo__actions button:hover {
  text-decoration: underline;
}

.reelys-ios-promo__link > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reelys-ios-promo__actions {
  flex: none;
  margin-inline-start: auto;
}

.reelys-ios-promo__actions button {
  white-space: nowrap;
}

.reelys-ios-promo__short {
  display: none;
}

@container (max-width: 480px) {
  .reelys-ios-promo { font-size: 13px; }
  .reelys-ios-promo__link strong { font-size: 14px; }
  .reelys-ios-promo__long { display: none; }
  .reelys-ios-promo__short { display: inline; }
  .reelys-ios-promo__actions [data-dismiss] { min-width: 36px; font-size: 22px; }
}

.reelys-ios-promo__actions button {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.reelys-ios-promo__actions [data-dismiss] {
  min-width: 44px;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
}
