/* REQ-015 — classes are rendered only while branch is req-interest-awareness. */

.ia-page { padding: 16px 16px 24px; }
.ia-page-center { text-align: center; }
.ia-page:has(.ia-result-amt) .ia-lead { text-align: center; }
.ia-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--opay-dark);
  margin-bottom: 2px;
}
.ia-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

.ia-scheme {
  width: 100%;
  display: flex;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.ia-scheme strong { display: block; font-size: 15px; margin-bottom: 4px; }
.ia-scheme-index {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--opay-light);
  color: var(--opay-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ia-arrival,
.ia-idle,
.ia-credit-card,
.ia-list {
  background: #fff;
  border-radius: 14px;
}
.ia-arrival {
  width: calc(100% - 32px);
  margin: 10px 16px 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.ia-arrival-copy,
.ia-live-copy { flex: 1; min-width: 0; }
.ia-arrival strong { display: block; font-size: 16px; color: var(--opay-dark); }
.ia-arrival .ia-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ia-earn {
  position: relative;
  font: inherit;
  color: inherit;
  width: calc(100% - 32px);
  margin: 0 16px 12px;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  background-color: #e7f6ee;
  background-image:
    radial-gradient(circle at 108% -20%, #d4f1e4 0 52px, transparent 53px),
    radial-gradient(circle at -6% 125%, #d7f3e7 0 40px, transparent 41px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.ia-earn-home { margin-top: 10px; }
.ia-today {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}
.ia-today-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: var(--opay-dark);
  white-space: nowrap;
}
.ia-earn .ia-today strong { display: inline; }
.ia-meter-panel {
  margin-bottom: 14px;
  padding: 18px 12px 14px;
  border-radius: 16px;
  text-align: center;
  background: var(--opay, #00b876);
}
.ia-meter-panel .ia-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
}
.ia-meter-panel .ia-earn-dot {
  background: #fff;
  animation-name: ia-breathe-light;
}
.ia-meter-panel .ia-meter { justify-content: center; }
.ia-meter-panel .ia-digit {
  min-width: 20px;
  height: 40px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 40px;
}
.ia-meter-panel .ia-digit-mark {
  min-width: 10px;
  color: rgba(255, 255, 255, .92);
}
.ia-meter-panel .ia-digit-frac {
  min-width: 14px;
  height: 28px;
  font-size: 18px;
  line-height: 28px;
}
.ia-meter-panel .ia-pace {
  margin: 12px 0 0;
  color: #fff;
  font-size: 14px;
}
.ia-note {
  margin: 0 2px 14px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
}
.ia-video {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #111;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.ia-video-cover {
  position: relative;
  display: block;
  height: 108px;
}
.ia-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.ia-video-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, 0) 100%);
}
.ia-video-play {
  position: absolute;
  left: 50%;
  top: 34%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--opay-dark, #00905c);
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}
.ia-video-play i { margin-left: 1px; }
.ia-video-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.ia-meter {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}
.ia-digit {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 15px;
  height: 24px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, .78);
  color: var(--opay-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  font-variant-numeric: tabular-nums;
}
.ia-digit-mark {
  min-width: 7px;
  background: transparent;
}
.ia-digit-frac {
  min-width: 11px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
}
.ia-digit-n {
  display: block;
}
.ia-digit-n.is-roll {
  animation: ia-roll .28s ease-out;
}
@keyframes ia-roll {
  from { transform: translateY(-55%); }
  to { transform: translateY(0); }
}
.ia-earn-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ia-earn .ia-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
  color: var(--opay-dark);
}
.ia-earn-amt { flex-shrink: 0; }
.ia-earn strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.3px;
  font-variant-numeric: tabular-nums;
  color: var(--opay-dark);
}
.ia-earn .ia-frac {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.ia-earn .ia-sub {
  margin-top: 4px;
  white-space: nowrap;
}
.ia-earn .ia-chev { color: #c5c8ce; font-size: 20px; font-weight: 500; }
.ia-earn-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--opay);
  flex-shrink: 0;
  animation: ia-breathe 1.8s ease-in-out infinite;
}
@keyframes ia-breathe {
  0% { transform: scale(.85); box-shadow: 0 0 0 0 rgba(0, 184, 118, .45); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 184, 118, 0); }
  100% { transform: scale(.85); box-shadow: 0 0 0 0 rgba(0, 184, 118, 0); }
}
@keyframes ia-breathe-light {
  0% { transform: scale(.85); box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(.85); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.ia-split {
  background: #fff;
  border-radius: 14px;
  padding: 4px 14px 2px;
  margin-bottom: 10px;
}
.ia-split-head,
.ia-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ia-split-head {
  padding: 12px 0 4px;
  font-size: 14px;
}
.ia-split-head span { color: var(--muted); font-weight: 600; }
.ia-split-row {
  padding: 8px 0 10px;
  border-top: 1px solid #f3f3f3;
  font-size: 13px;
}
.ia-split-row strong:last-child {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--opay-dark);
}
.ia-hint {
  margin-top: 12px;
  background: #e7f6ee;
  border-radius: 14px;
  padding: 14px;
}
.ia-hint strong { display: block; margin-bottom: 4px; color: var(--opay-dark); }
.ia-hint p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text, #1a1a1a); }
.ia-arrival-pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--opay);
  box-shadow: 0 0 0 0 rgba(0, 184, 118, .6);
  animation: ia-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes ia-pulse {
  70% { box-shadow: 0 0 0 8px rgba(0, 184, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 118, 0); }
}

.ia-credit-card,
.ia-idle { margin: 0 0 12px; padding: 14px; }
.ia-idle { margin: 0 16px 12px; }
.ia-idle p,
.ia-credit-card p { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.ia-idle .btn { margin-top: 12px; }
.ia-idle strong,
.ia-credit-amt { display: block; font-size: 20px; font-weight: 700; }
.ia-credit-amt,
.ia-idle-done strong { color: var(--opay-dark); }

.ia-cal-latest {
  outline: 2px solid var(--opay);
  background: #fff;
}
.ia-cal-tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--opay-dark);
  line-height: 1.1;
}

.ia-result-mark {
  width: 56px;
  height: 56px;
  margin: 12px auto 10px;
  border-radius: 999px;
  background: var(--opay);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.ia-page-center .ia-result-mark { margin-left: auto; margin-right: auto; }
.ia-result-kicker {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.ia-result-amt {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin: 4px 0 8px;
}
.ia-list { padding: 4px 14px; }
.ia-list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.ia-list-row:last-child { border-bottom: 0; }
.ia-list-total strong { color: var(--opay-dark); }
.ia-pace {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--opay-dark);
}
.ia-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 8px;
}
.ia-block-head .ia-block-title { margin: 0; }
.ia-block-head > strong {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--opay-dark);
  font-variant-numeric: tabular-nums;
}
.ia-block-title {
  margin: 18px 0 8px;
  font-size: 15px;
}
.ia-steps { display: flex; flex-direction: column; gap: 10px; }
.ia-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
}
.ia-step .ia-scheme-index { flex: 0 0 28px; }
.ia-setting {
  margin-top: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ia-text-link {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: var(--opay-dark);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
