/* IKCTA regional character portrait + 3D */
.rcPortrait {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.55), transparent 52%),
    linear-gradient(155deg, var(--rc-accent, #0f766e), #0f172a 88%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.rcPortrait__emoji {
  font-size: 62%;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  user-select: none;
}
.rcPortrait__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rcPortrait--photo {
  background: #fff;
}
.rcPanelHead .rcPortrait__emoji,
.rcPanelTitle .rcPortrait__emoji {
  font-size: 36px;
}
.rcPortrait__badge {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  white-space: nowrap;
}
.rcAvatarCombo {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.rcAvatarCombo .rcPortrait {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(155deg, var(--rc-accent, #0f766e), #0f172a 90%);
  box-shadow: none;
  transition: opacity 0.2s ease;
}
.rcAvatarCombo.is-3d-fallback .rcPortrait,
.rcAvatarCombo:not(:has(model-viewer)) .rcPortrait {
  opacity: 1;
  visibility: visible;
}
.rcAvatarCombo.is-3d-fallback model-viewer {
  opacity: 0;
  pointer-events: none;
}
.rcAvatarCombo .rcAvatar--3d {
  width: 100% !important;
  height: 100% !important;
}
.rcAvatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.rcAvatar--3d {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(145deg, var(--rc-accent, #0f766e), #0f172a);
  padding: 2px;
}
.rcAvatar--3d model-viewer {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: transparent;
  --poster-color: transparent;
}

/* Static GLB: whole-viewport bow + tilt (~5s) reads as a short hello */
@keyframes ikctaGreetMotion {
  0%,
  68%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  74% {
    transform: translateY(-4px) rotate(5deg);
  }
  80% {
    transform: translateY(-2px) rotate(-3deg);
  }
  86% {
    transform: translateY(-3px) rotate(4deg);
  }
  92% {
    transform: translateY(-1px) rotate(-2deg);
  }
}
.mapCharacterStage__canvas {
  transform-origin: 50% 88%;
  animation: ikctaGreetMotion 5.2s ease-in-out infinite;
}
.rcAvatar--3d.rcAvatar--mesh-spin,
.charPage3dHero__viewer.rcAvatar--mesh-spin {
  transform-origin: 50% 88%;
  animation: ikctaGreetMotion 5.2s ease-in-out infinite;
}
.rcMeshDisclosure {
  margin: 10px 0 0;
  line-height: 1.45;
  max-width: 36rem;
}
@media (prefers-reduced-motion: reduce) {
  .mapCharacterStage__canvas,
  .rcAvatar--3d.rcAvatar--mesh-spin,
  .charPage3dHero__viewer.rcAvatar--mesh-spin {
    animation: none;
  }
}
.charPage3dHero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin: 12px 0 4px;
  padding: 18px 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 23, 42, 0.04));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .charPage3dHero {
    grid-template-columns: minmax(120px, 160px) minmax(160px, 220px) minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
}
.charPage3dHero__portrait .rcPortrait {
  width: 128px !important;
  height: 128px !important;
}
.charPage3dHero__portrait .rcPortrait__emoji {
  font-size: 72px;
}
.charPage3dHero__viewerWrap {
  position: relative;
  width: 100%;
  max-width: 220px;
}
.charPage3dHero__viewer {
  width: 100%;
  aspect-ratio: 1;
  max-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(160deg, var(--rc-accent, #0f766e), #1e293b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.charPage3dHero__viewer model-viewer {
  width: 100%;
  height: 100%;
  background: transparent;
}
.charPage3dHero__viewerFallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: inherit;
}
.charPage3dHero__viewerWrap.is-3d-fallback .charPage3dHero__viewerFallback {
  display: flex;
}
.charPage3dHero__viewerWrap.is-3d-fallback model-viewer {
  opacity: 0;
  pointer-events: none;
}
.rcVoiceStatus {
  color: #cbd5e1;
  line-height: 1.4;
}
.rcPanel--inline .rcVoiceStatus {
  color: #334155;
  background: rgba(248, 250, 252, 0.92);
  padding: 6px 10px;
  border-radius: 8px;
  margin: 4px 0;
}
.rcRegionLock {
  display: inline-block;
  margin: 0 8px 0 4px;
  color: #0f172a;
  font-size: 0.92rem;
}
.rcToolbar__field--locked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.rcRegionLock__link {
  font-size: 0.82rem;
  color: #0f766e;
  text-decoration: underline;
}
.rcPanel .rcRegionLock {
  color: #e2e8f0;
}
.rcPanel--inline .rcRegionLock {
  color: #0f172a;
}
.charPage3dHero__portrait,
.charPage3dHero__viewerWrap,
.charPage3dHero__meta {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.charPage3dHero__meta h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  width: 100%;
  text-align: center;
}
.charPage3dHero__meta p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
  width: 100%;
  text-align: center;
}

.charPage3dHero__charName {
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 6px !important;
}
.charPage3dHero__ar {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.rcGuideChip {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  padding: 12px 14px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 182, 212, 0.06);
}

.rcGuideChip__avatar .rcPortrait,
.rcGuideChip__avatar .rcPortrait--photo {
  margin: 0 auto;
}

.rcGuideChip__avatar img.rcPortrait__img {
  object-fit: contain;
  background: #fff;
}

.rcGuideChip strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.rcGuideChip__region {
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
  letter-spacing: -0.01em;
}

.rcPanel--inline .rcToolbar {
  justify-items: center;
}

.rcPanel--inline .rcToolbar__field {
  align-items: center;
  text-align: center;
}

.rcPanel--inline .rcLbl--inline {
  width: 100%;
  text-align: center;
}

.rcPanel--inline .rcRegionLock {
  display: block;
  width: 100%;
  text-align: center;
  margin: 4px 0 0;
}

.rcPanel--inline .rcRegionLock__link {
  display: inline-block;
  margin-top: 4px;
}

/* Customer + character photo booth (front camera composite) */
body.rcPhotoBoothOpen {
  overflow: hidden;
}
.rcPhotoBoothOverlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}
.rcPhotoBooth {
  width: min(420px, 100%);
  max-height: min(96vh, 720px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 16px 16px 20px;
}
.rcPhotoBooth__head {
  position: relative;
  padding-right: 36px;
  margin-bottom: 12px;
}
.rcPhotoBooth__head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.rcPhotoBooth__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.rcPhotoBooth__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  box-shadow: inset 0 0 0 2px rgba(15, 118, 110, 0.25);
}
.rcPhotoBooth__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.rcPhotoBooth__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.rcPhotoBooth__stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 118, 110, 0.82);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.rcPhotoBooth__place {
  color: #0f766e;
}
.rcPhotoBooth__brandNote {
  color: #0f766e;
  font-weight: 700;
}
.rcPhotoBooth__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.rcPhotoBooth__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.rcPhotoBooth__status {
  min-height: 1.25em;
  text-align: center;
  margin: 10px 0 0;
}
.rcHubCard__photo {
  margin-top: 8px;
  width: 100%;
}

.ikctaSelfieEntryBar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, #0f766e, #115e59);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
  position: sticky;
  top: 0;
  z-index: 1200;
}
.ikctaSelfieEntryBar__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0f766e !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.ikctaSelfieEntryBar__hint {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  flex: 1 1 140px;
}
.ikctaSelfieEntryBar__ghost {
  color: #ecfdf5 !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
}

.ikctaPortalNav__extra--primary {
  background: #0f766e !important;
  color: #fff !important;
  border-color: #0f766e !important;
  font-weight: 700;
}
.ikctaPortalNav__extras--primary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  order: 3;
}
.ikctaPortalNav__more {
  width: 100%;
  order: 4;
  margin: 0;
}
.ikctaPortalNav__moreSummary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 12px;
  user-select: none;
}
.ikctaPortalNav__moreSummary::-webkit-details-marker {
  display: none;
}
.ikctaPortalNav__more[open] .ikctaPortalNav__moreSummary {
  border-color: #67e8f9;
  color: #ecfeff;
}
.ikctaPortalNav__extras--more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 900px) {
  .ikctaPortalNav__extras--primary {
    width: auto;
    order: unset;
    margin-left: auto;
  }
  .ikctaPortalNav__more {
    width: auto;
    order: unset;
    margin-left: 0;
  }
  .ikctaPortalNav__moreSummary {
    display: none;
  }
  .ikctaPortalNav__extras--more {
    display: flex;
    border: none;
    padding: 0;
    margin: 0;
  }
  .ikctaPortalNav--b2c .ikctaPortalNav__extras--primary,
  .ikctaPortalNav--b2c .ikctaPortalNav__extras--more {
    display: contents;
  }
}

.b2cIconNavWrap {
  margin: 0 0 18px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.25);
}
.b2cIconNavWrap__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.b2cIconNavWrap__sub {
  margin: 0 0 12px;
}
.b2cIconNav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) {
  .b2cIconNav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.b2cIconNav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a !important;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.b2cIconNav__item--primary {
  background: linear-gradient(165deg, #ccfbf1, #f0fdfa);
  border-color: #0f766e;
  color: #115e59 !important;
}
.b2cIconNav__ico {
  font-size: 1.35rem;
  line-height: 1;
}
.b2cIconNav__label {
  display: block;
  max-width: 100%;
  word-break: keep-all;
}

.svcHubQuick--sorted {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.svcHubQuick--sorted .svcHubQuick__item {
  justify-content: center;
  text-align: center;
}
@media (min-width: 720px) {
  .svcHubQuick--sorted {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.svcGrid--hub {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .svcGrid--hub {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .svcGrid--hub {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.b2cSelfieQuickStrip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(15, 23, 42, 0.05));
  border: 1px solid rgba(15, 118, 110, 0.28);
}
.b2cSelfieQuickStrip .btn.primary {
  flex-shrink: 0;
}

.rcSelfieHero {
  margin: 0 0 16px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(15, 23, 42, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.25);
  text-align: center;
}
.rcSelfieHero__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.rcSelfieHero__steps {
  text-align: left;
  max-width: 340px;
  margin: 0 auto 14px;
  padding-left: 1.2rem;
  line-height: 1.45;
}
.rcSelfieHero__status {
  min-height: 1.2em;
  margin: 8px 0 0;
}
.rcSelfieHero .btn.primary,
.rcSelfieHero__quick {
  font-size: 1.05rem;
  padding: 12px 22px;
  width: min(100%, 320px);
}
.rcPhotoBooth__snap {
  font-size: 1.08rem;
  font-weight: 700;
  min-width: 44%;
  padding: 12px 20px;
}
.rcHubToolbar {
  margin: 0 0 12px;
}
.rcHubSearch {
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 1rem;
}

.rcSelfiePicker__toolbar {
  margin-bottom: 14px;
}
.rcSelfiePicker__search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 1rem;
  margin-bottom: 6px;
}
.rcSelfiePicker__count {
  margin: 0;
}
.rcSelfieGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 520px) {
  .rcSelfieGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 760px) {
  .rcSelfieGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .rcSelfieGrid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.rcSelfieCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.rcSelfieCard--off {
  opacity: 0.72;
}
.rcSelfieCard__thumbWrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 8px;
}
.rcSelfieCard__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rcSelfieCard__emoji {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.rcSelfieCard__name {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}
.rcSelfieCard__nick {
  margin: 2px 0 6px;
  line-height: 1.2;
}
.rcSelfieCard__tag {
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.rcSelfieCard__go {
  width: 100%;
  margin-bottom: 6px;
}
.rcSelfieCard__chat {
  width: 100%;
}
.tag-ok {
  color: #047857;
  font-weight: 700;
}
.tag-bad {
  color: #b91c1c;
  font-weight: 700;
}
.rcHubGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 520px) {
  .rcHubGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 760px) {
  .rcHubGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.rcHubGrid {
  justify-items: center;
}

.rcHubCard {
  align-items: center !important;
  text-align: center;
  width: 100%;
}

.rcHubCard__avatar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rcHubCard h3,
.rcHubCard p.muted {
  width: 100%;
  text-align: center;
}

.rcHubCard .tag {
  margin-top: 2px;
}

.rcHubCard .rcPortrait,
.rcHubCard .rcAvatarCombo {
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
}

.rcPanel--inline .rcPanelTitle,
.rcPanel--messenger .rcPanelHead {
  flex: 1;
  justify-content: center;
  text-align: center;
}

.rcPanel--inline .rcPanelTitle > div,
.rcPanel--messenger .rcPanelTitle > div {
  text-align: center;
}

.rcPanel--inline .rcPanelSub,
.rcPanel--messenger .rcPanelSub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: none;
}
