/* 제공 범위를 먼저 읽고, 필요한 연결의 준비 조건을 장면으로 확인합니다. */
.view-services .service-reading-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid #cbd9ed;
}
.view-services .service-reading-route > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #294c78;
}
.view-services .service-reading-route > a + a {
  border-left: 1px solid #d5e0ef;
}
.service-reading-route a > span {
  color: #4275b6;
  font-size: 13px;
}
.service-reading-route strong {
  font-size: 15px;
  font-weight: 550;
}
.service-reading-route i,
.service-connection-tabs i {
  margin-left: auto;
  font-size: 20px;
  font-style: normal;
}
.view-services .service-reading-route a:hover {
  background: #eaf1fb;
}
.view-services #services-included {
  padding-block: 62px 40px;
}
.view-services #services-included .service-range-heading {
  margin-bottom: 35px;
}
.view-services #services-included .service-range-rows article {
  grid-template-columns: 126px minmax(0, 1fr);
  padding-block: 30px;
}
.view-services #services-included .service-operation-brief {
  border-radius: 6px;
  background: #193859;
}
.view-services #services-included .service-operation-brief h3,
.view-services #services-included .service-operation-brief dd {
  color: #f1f6ff;
}
.view-services #services-included .service-operation-brief > span,
.view-services #services-included .service-operation-brief dt,
.view-services #services-included .service-operation-brief p,
.view-services #services-included .service-operation-brief a {
  color: #c8dcf6;
}
.view-services #services-included .service-operation-brief dl > div {
  border-color: #a1bbdb45;
}
.service-basic-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 33px;
}
.service-basic-index a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid #cbd9eb;
  color: #365980;
  font-size: 14px;
}
.service-basic-index i {
  color: #3f71ad;
  font-style: normal;
}
.service-connections {
  padding-block: 65px 58px;
  background: #f5f8fd;
}
.service-connections-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 7%;
  margin-bottom: 32px;
}
.service-connections h2 {
  margin-top: 15px;
  color: #243d5f;
  font-size: clamp(29px, 2.8vw, 42px);
  line-height: 1.4;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.service-connections-heading > p {
  color: #536a86;
  font-size: 15px;
  line-height: 1.9;
  word-break: keep-all;
}
.service-connection-workbench {
  overflow: hidden;
  padding: 0 27px 24px;
  border: 1px solid #49688e;
  border-radius: 8px;
  background: #1a385b;
  color: #edf5ff;
}
.service-connection-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #8ca7c947;
}
.service-connection-tabs button {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 20px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #bed1ea;
  text-align: left;
}
.service-connection-tabs button[aria-selected='true'] {
  color: #fff;
  border-bottom-color: #589f983d;
  background: #68bcaf13;
}
.service-connection-tabs button[aria-selected='true']::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: linear-gradient(90deg, #77d0c1, #edc18a);
  transform-origin: left;
  animation: service-tab-progress var(--service-cycle-duration, 3800ms) linear both;
  animation-play-state: paused;
}
.service-connection-tabs button > span {
  color: #a6c6ef;
  font-size: 13px;
}
.service-connection-tabs strong {
  font-size: 16px;
  font-weight: 550;
}
.service-connection-scenes {
  --service-card-shift: 64px;
  --service-card-rise: 58px;
  position: relative;
  display: grid;
  isolation: isolate;
}
.service-connection-panel {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1.35fr) 46px minmax(0, 1fr);
  align-items: center;
  padding: 40px 12px 38px;
}
.service-connection-panel[hidden] {
  display: none;
}
.service-connection-panel.is-current {
  z-index: 1;
}
.service-connection-panel.is-leaving {
  z-index: 0;
  pointer-events: none;
}
.service-account-ticket,
.service-cost-slip {
  position: relative;
  padding: 23px 20px;
  border: 1px solid #a6bcda;
  border-radius: 5px;
  color: #294a70;
}
.service-account-ticket {
  background: #e9f5f0;
  transform: rotate(-3deg);
}
.service-cost-slip {
  background: #fff4e5;
  transform: rotate(3deg);
}
.service-account-ticket > span,
.service-cost-slip > span {
  color: #4e6e94;
  font-size: 13px;
}
.service-account-symbol {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-top: 16px;
  border: 1px solid #a4cbbf;
  border-radius: 50%;
}
.service-account-symbol svg {
  width: 36px;
  height: 36px;
  stroke: #337466;
  stroke-width: 1.5;
}
.service-connection-panel strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
.service-account-ticket > strong,
.service-cost-slip > strong {
  margin-top: 17px;
}
.service-connection-panel p {
  margin-top: 12px;
  color: #4b6687;
  font-size: 13px;
  line-height: 1.85;
  word-break: keep-all;
}
.service-account-ticket small {
  display: block;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid #bdcee5;
  color: #3a6395;
  font-size: 13px;
}
.service-connection-bridge svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.service-connection-bridge path {
  stroke: #8cbfb5;
}
.service-connection-bridge circle {
  fill: #f1c989;
  opacity: 0;
}
.service-link-browser {
  overflow: hidden;
  border: 1px solid #a6bddc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 22px 45px #06142a36;
  color: #29496e;
}
.service-link-browser-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #dce8f8;
}
.service-link-browser-bar > span {
  color: #8da9ca;
  font-size: 8px;
  letter-spacing: 3px;
}
.service-link-browser-bar > b {
  font-size: 13px;
  font-weight: 500;
}
.service-link-browser-body {
  padding: 24px 21px;
}
.service-link-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 7px;
  color: #2f766a;
  background: #e2f2ec;
  font-size: 26px;
}
.service-link-setting {
  display: flex;
  gap: 8px;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid #d6e1ef;
  color: #3b6599;
  font-size: 13px;
  line-height: 1.7;
}
.service-link-setting i,
.service-cost-slip i {
  color: #33786b;
  font-style: normal;
}
.service-cost-slip i {
  color: #956326;
}
.service-cost-slip::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 19px;
  height: 19px;
  background: linear-gradient(45deg, #e5ca9f 48%, #1a385b 51%);
}
.service-cost-slip > div {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #ccd8e8;
  font-size: 13px;
}
.service-connection-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 21px;
  border-top: 1px solid #8ca7c947;
}
.service-connection-footnote p {
  max-width: 750px;
  color: #bed1e9;
  font-size: 13px;
  line-height: 1.9;
}
.service-connection-footnote a {
  display: inline-flex;
  flex-shrink: 0;
  gap: 17px;
  color: #f0f5ff;
  font-size: 14px;
}
/* 이전 장면은 빠져나가고, 세 카드는 서로 다른 방향에서 순서대로 들어옵니다. */
[data-service-connection-motion='active'] .service-connection-panel.is-leaving {
  animation: service-panel-out 260ms ease-in both;
}
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-account-ticket {
  animation: service-account-ready 650ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-link-browser {
  animation: service-browser-connect 700ms 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-cost-slip {
  animation: service-cost-ready 650ms 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-service-connection-motion='active']
  :is(.is-current, .is-leaving)
  .service-connection-bridge
  circle {
  animation: service-connection-flow 900ms 480ms ease-in-out both;
}
[data-service-connection-motion='active']
  :is(.is-current, .is-leaving)
  .service-connection-bridge:nth-of-type(4)
  circle {
  animation-delay: 900ms;
}
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-link-setting i,
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-cost-slip i {
  animation: service-setting-check 500ms 900ms ease-out both;
}
[data-service-connection-motion='active'] :is(.is-current, .is-leaving) .service-cost-slip i {
  animation-delay: 1400ms;
}
[data-service-connection-visible='false'] .service-connection-panel,
[data-service-connection-visible='false'] .service-connection-panel * {
  animation-play-state: paused !important;
}
[data-service-connection-playing='true'] .service-connection-tabs button::after {
  animation-play-state: running;
}
[data-service-connection-motion='static'] .service-connection-tabs button::after {
  animation: none;
}
@keyframes service-tab-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes service-account-ready {
  from {
    translate: calc(0px - var(--service-card-shift)) 28px;
    rotate: -4deg;
    opacity: 0;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
    opacity: 1;
  }
}
@keyframes service-browser-connect {
  from {
    translate: 0 var(--service-card-rise);
    rotate: 1.5deg;
    opacity: 0;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
    opacity: 1;
  }
}
@keyframes service-cost-ready {
  from {
    translate: var(--service-card-shift) 24px;
    rotate: 4deg;
    opacity: 0;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
    opacity: 1;
  }
}
@keyframes service-panel-out {
  from {
    translate: 0 0;
    opacity: 1;
  }
  to {
    translate: -42px -6px;
    opacity: 0;
  }
}
@keyframes service-setting-check {
  0% {
    scale: 0.8;
  }
  55% {
    scale: 1.2;
  }
  100% {
    scale: 1;
  }
}
@keyframes service-connection-flow {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20%,
  75% {
    opacity: 1;
  }
  100% {
    transform: translateX(80px);
    opacity: 0;
  }
}
@media (max-width: 1100px) {
  .view-services .service-reading-route > a {
    gap: 10px;
    padding-inline: 12px;
  }
  .service-connection-panel {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1.25fr) 26px minmax(0, 1fr);
    padding-inline: 0;
  }
  .service-account-ticket,
  .service-cost-slip,
  .service-link-browser-body {
    padding: 20px 16px;
  }
  .service-connection-panel strong {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  .service-connections-heading {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .service-connection-panel {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.3fr);
    align-items: start;
  }
  .service-cost-slip {
    grid-column: 1 / -1;
    margin-top: 25px;
    transform: none;
  }
  .service-connection-panel > .service-connection-bridge:nth-of-type(4) {
    display: none;
  }
}
@media (max-width: 600px) {
  .service-connection-scenes {
    --service-card-shift: 40px;
    --service-card-rise: 38px;
  }
  .view-services .service-reading-route {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .view-services .service-reading-route > a {
    padding: 13px 0;
    border-bottom: 1px solid #d5e0ef;
  }
  .view-services .service-reading-route > a + a {
    border-left: 0;
  }
  .view-services #services-included {
    padding-block: 42px 30px;
  }
  .view-services #services-included .service-range-rows article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 23px;
  }
  .view-services #services-included .service-range-status {
    justify-self: start;
    padding: 6px 9px;
  }
  .service-basic-index {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-top: 24px;
  }
  .service-basic-index a,
  .service-connection-footnote a {
    font-size: 13px;
  }
  .service-connections {
    padding-block: 43px 30px;
  }
  .service-connections h2 {
    font-size: 29px;
  }
  .service-connections-heading > p br {
    display: none;
  }
  .service-connection-workbench {
    padding: 0 15px 20px;
  }
  .service-connection-tabs button {
    padding: 15px 6px;
    gap: 7px;
  }
  .service-connection-tabs strong {
    font-size: 14px;
  }
  .service-connection-tabs i,
  .service-connection-bridge {
    display: none;
  }
  .service-connection-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding-block: 26px;
  }
  .service-account-ticket {
    width: 83%;
    margin-left: 3px;
  }
  .service-account-symbol {
    position: absolute;
    right: 16px;
    top: 15px;
    margin: 0;
    width: 34px;
    height: 34px;
  }
  .service-account-symbol svg {
    width: 27px;
    height: 27px;
  }
  .service-account-ticket > strong {
    max-width: 85%;
    margin-top: 16px;
  }
  .service-link-browser {
    width: 94%;
    align-self: end;
  }
  .service-link-mark {
    float: left;
    width: 31px;
    height: 31px;
    margin: 0 10px 8px 0;
    font-size: 22px;
  }
  .service-link-browser-body > p {
    clear: both;
  }
  .service-cost-slip {
    width: 88%;
    align-self: center;
    margin-top: 0;
    transform: rotate(2deg);
  }
  .service-connection-footnote {
    display: block;
    padding-top: 17px;
  }
  .service-connection-footnote a {
    margin-top: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-connections *,
  .service-connections *::before {
    animation: none !important;
    transition: none !important;
  }
}
