.yg-motion { --yg-phone-left: 5%; --yg-phone-w: 254px; --yg-ink: var(--c-ink); --yg-teal: var(--c-accent); --yg-deep: var(--c-accent); --yg-muted: var(--c-ink-soft); --yg-loss: var(--c-loss); margin: 0; color: var(--yg-ink); font-family: var(--font-jp); -webkit-font-smoothing: antialiased; container-type: inline-size; }
.yg-motion *, .yg-motion *::before, .yg-motion *::after { box-sizing: border-box; }
.yg-motion button { font: inherit; cursor: pointer; }
.yg-motion :focus-visible { outline: 3px solid var(--yg-teal); outline-offset: 3px; }
.yg-scene { position: relative; height: 530px; max-width: 700px; margin: 0 auto; isolation: isolate; }
.yg-aura { position: absolute; inset: 70px 0 30px; z-index: -1; background: radial-gradient(ellipse at 60% 55%,#c5e1dc52,transparent 65%); }
.yg-dashboard { position: absolute; top: 44px; left: 35%; right: 1%; height: 342px; overflow: hidden; border: 1px solid #dce7e5; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px -20px #234b482b,0 2px 5px #234b4805; transform: rotate(-2deg); }
.yg-dashboard-bar { height: 37px; border-bottom: 1px solid #e8efee; display: flex; align-items: center; padding: 0 14px; gap: 16px; color: #344d4e; font: 700 12px Arial,sans-serif; }
.yg-dots { display: flex; gap: 4px; }
.yg-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d3dddb; }
.yg-dashboard-sample { margin-left: auto; color: #8b9897; font: 10px 'Hiragino Sans',sans-serif; }
.yg-dashboard-main { display: flex; height: calc(100% - 37px); }
.yg-rail { width: 51px; background: #f8fbfa; border-right: 1px solid #edf1f0; display: flex; align-items: center; flex-direction: column; gap: 21px; padding-top: 22px; color: #9bacaa; font-size: 17px; flex-shrink: 0; }
.yg-nav-tile { padding: 2px 7px; background: #e5efed; border-radius: 5px; color: #47858a; }
.yg-dashboard-content { padding: 20px 20px 15px; flex: 1; min-width: 0; }
.yg-dashboard-heading { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; gap: 10px; }
.yg-date { font-size: 9px; font-weight: 400; color: #788a86; padding: 4px 8px; border: 1px solid #e6ecea; border-radius: 4px; }
.yg-metrics { display: flex; gap: 26px; margin: 20px 0 17px; }
.yg-metrics>div { flex: 1; }
.yg-metrics>div+div { padding-left: 23px; border-left: 1px solid #e9efed; }
.yg-metrics span { display: block; color: #7a8b87; font-size: 10px; }
.yg-metrics strong { display: block; font: 400 29px 'Helvetica Neue',Arial,sans-serif; letter-spacing: -.025em; color: #325d60; margin-top: 7px; }
.yg-metrics small { font: 11px 'Hiragino Sans',sans-serif; padding-left: 3px; }
.yg-chart-heading { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; color: #718380; }
.yg-chart-legend { display: flex; gap: 4px; align-items: center; font-size: 8px; }
.yg-chart-legend i { width: 4px; height: 4px; background: #8bb6b1; border-radius: 1px; }
.yg-chart-legend i:nth-of-type(2) { margin-left: 6px; background: #dcb5a6; }
.yg-bars { height: 69px; display: flex; align-items: end; justify-content: space-between; gap: 7px; margin-top: 9px; border-bottom: 1px solid #e2ebe7; background: repeating-linear-gradient(to top,transparent 0,transparent 22px,#eef2ef 22px,#eef2ef 23px); }
.yg-bars>div { height: var(--bar); background: #9dbfb9; flex: 1; max-width: 15px; border-radius: 2px 2px 0 0; position: relative; }
.yg-bars>div span { position: absolute; top: 0; height: 12%; min-height: 4px; width: 100%; background: #dfb7a8; border-radius: 2px 2px 0 0; }
.yg-chart-times { margin-top: 5px; font: 8px Arial,sans-serif; color: #98a49d; display: flex; justify-content: space-between; }
.yg-event { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 10px 11px; background: #f0f6f4; border-radius: 5px; transition: background 650ms; }
.yg-event-dot { width: 6px; height: 6px; border-radius: 100%; background: #81aba4; }
.yg-event div { flex: 1; }
.yg-event strong { display: block; font-size: 10px; font-weight: 400; color: #4a706b; }
.yg-event div span { display: block; font-size: 8px; color: #82958d; margin-top: 3px; }
.yg-event-arrow { color: #8ba99f; font-size: 14px; }
.yg-monitor-caption { position: absolute; right: 22px; top: 400px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #668780; }
.yg-monitor-caption>span { width: 22px; height: 1px; background: #afc9c0; }
.yg-phone { position: absolute; top: 62px; left: var(--yg-phone-left); width: var(--yg-phone-w); height: 457px; border: 1px solid #c7d3d0; border-radius: 35px; background: linear-gradient(100deg,#e9ece9,#fafbf9 30%,#fdfdfb 85%,#d9dfdb); padding: 7px; box-shadow: 9px 26px 35px -17px #173c3947,0 2px 6px #14272413,inset 0 0 0 2px #ffffffc9; z-index: 3; }
.yg-phone::before { content: ''; position: absolute; top: 91px; left: -3px; width: 2px; height: 29px; border-radius: 2px; background: #bccbc7; box-shadow: 0 38px #bccbc7; }
.yg-phone::after { content: ''; position: absolute; top: 119px; right: -3px; width: 2px; height: 48px; border-radius: 2px; background: #bdcbc7; }
.yg-phone-inner { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid #d9dfdc; }
.yg-statusbar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font: 700 9px Arial,sans-serif; color: #3a4442; }
.yg-statusbar>i { width: 59px; height: 15px; background: #253230; border-radius: 12px; }
.yg-phone-signal { display: flex; gap: 4px; align-items: center; font-size: 6px; }
.yg-phone-signal b { display: inline-block; width: 12px; height: 6px; border: 1px solid #475a51; border-radius: 2px; padding: 1px; background: #475a51; background-clip: content-box; }
.yg-address { margin: 0 16px 6px; height: 23px; border-radius: 5px; background: #f4f6f4; text-align: center; color: #728079; font: 9px/23px Arial,sans-serif; }
.yg-address span { margin-right: 5px; }
.yg-shopbar { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 18px; border-bottom: 1px solid #edf0eb; font-size: 13px; letter-spacing: .15em; color: #545d51; }
.yg-shop-menu { font: 12px Arial,sans-serif; color: #818c80; }
.yg-bag-symbol { width: 10px; height: 10px; border: 1px solid #818c80; position: relative; }
.yg-bag-symbol::before { content: ''; position: absolute; width: 5px; height: 4px; border: 1px solid #818c80; border-bottom: 0; border-radius: 4px 4px 0 0; top: -5px; left: 1.5px; }
.yg-checkout { padding: 15px 17px; }
.yg-order-label { font-size: 10px; font-weight: 700; }
.yg-product { display: flex; align-items: center; gap: 11px; margin: 10px 0; }
.yg-product-art { width: 62px; height: 67px; border-radius: 4px; background: #f2f3ee; padding: 0 3px; flex-shrink: 0; }
.yg-product-art svg { width: 100%; height: 100%; }
.yg-product strong { font-size: 10px; font-weight: 400; }
.yg-product div>span { display: block; font-size: 8px; color: #949b90; margin: 5px 0; }
.yg-product div>b { display: block; font: 11px Arial,sans-serif; color: #4d554d; }
.yg-order-total { border-top: 1px solid #ecefe8; padding: 11px 0; display: flex; justify-content: space-between; align-items: center; }
.yg-order-total span { font-size: 9px; }
.yg-order-total strong { font: 700 15px Arial,sans-serif; }
.yg-payment-label { display: flex; justify-content: space-between; font-size: 8px; margin-bottom: 7px; color: #939d95; }
.yg-payment-label span:first-child { color: #616b63; }
.yg-cardnumber { border: 1px solid #e0e6df; padding: 6px 9px; border-radius: 5px; position: relative; }
.yg-cardnumber>span:first-child, .yg-fields span { font-size: 7px; color: #8d998f; display: block; }
.yg-cardnumber b { display: block; font: 10px Arial,sans-serif; margin-top: 5px; color: #66766a; }
.yg-cardnumber .yg-new-card { position: absolute; top: 22.19px; margin-top: 0; opacity: 0; }
.yg-card-chip { position: absolute; right: 10px; top: 13px; width: 18px; height: 13px; border-radius: 3px; background: #dcd6bb; border: 1px solid #d4cdb0; }
.yg-fields { display: flex; margin-top: 6px; gap: 6px; }
.yg-fields>div { border: 1px solid #e0e6df; border-radius: 5px; padding: 6px 9px; flex: 1; position: relative; height: 38px; }
.yg-fields b { font: 10px Arial,sans-serif; margin-top: 4px; display: block; }
.yg-fields .yg-new-date { position: absolute; top: 14px; opacity: 0; }
.yg-order-button { margin-top: 10px; padding: 11px 8px; background: #617766; color: white; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; position: relative; transition: background 600ms; }
.yg-retry-label { display: none; }
.yg-error-message { position: absolute; left: 17px; right: 17px; bottom: 38px; display: flex; align-items: center; gap: 8px; padding: 12px 10px; background: #fbefea; border: 1px solid #edcfc3; border-radius: 6px; opacity: 0; transform: translateY(5px); transition: opacity 380ms, transform 480ms; }
.yg-error-message>span { width: 18px; height: 18px; border: 1px solid #c1745f; border-radius: 50%; text-align: center; font: 12px/17px Arial,sans-serif; color: #b66c57; }
.yg-error-message strong { display: block; font-size: 10px; color: #a35846; font-weight: 400; }
.yg-error-message div span { display: block; margin-top: 5px; color: #a77f70; font-size: 8px; }
.yg-dim { position: absolute; inset: 59px 0 0; background: #21332b32; backdrop-filter: blur(1px); opacity: 0; transition: opacity 650ms; }
.yg-guide { position: absolute; left: 10px; right: 10px; top: 130px; background: #fff; padding: 15px 15px 14px; border-radius: 12px; box-shadow: 0 9px 30px #0e2a2021; opacity: 0; transform: translateY(12px); transition: opacity 650ms, transform 800ms cubic-bezier(.2,.7,.2,1); }
.yg-guide-brand { color: var(--yg-teal); display: flex; align-items: center; gap: 5px; font: 700 11px Arial,sans-serif; }
.yg-guide-brand svg { width: 16px; height: 18px; }
.yg-guide-x { margin-left: auto; color: #a1aba7; font: 17px Arial,sans-serif; }
.yg-guide h2 { margin: 15px 0 12px; color: #314743; font-size: 14px; line-height: 1.55; letter-spacing: -.035em; font-weight: 700; }
.yg-guidance-copy { font-size: 12px; line-height: 1.8; color: #566762; }
.yg-next-action { margin-top: 12px; padding: 10px 0 10px 10px; border-left: 2px solid #80aba4; color: var(--yg-deep); font-size: 11px; line-height: 1.75; background: linear-gradient(90deg,#f1f7f4,#fff); }
.yg-guide-close { margin-top: 14px; background: var(--yg-teal); border-radius: 5px; text-align: center; padding: 10px 0; color: white; font-size: 11px; }
.yg-home-indicator { position: absolute; bottom: 6px; height: 3px; border-radius: 5px; background: #33443b; left: 33%; right: 33%; }
.yg-touch { position: absolute; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #fff; background: #f8fffaa0; box-shadow: 0 0 0 5px #3c777d1a; top: 374px; left: 162px; opacity: 0; transform: scale(.85); }
.yg-callout { position: absolute; top: 432px; left: 46%; display: flex; align-items: center; gap: 13px; opacity: 0; transform: translateY(6px); transition: opacity 800ms, transform 800ms; white-space: nowrap; }
.yg-callout-rule { height: 38px; width: 2px; background: #9ebeb5; }
.yg-callout div>span { display: block; font-size: 12px; color: #6a8279; }
.yg-callout strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 400; color: #38645b; letter-spacing: .06em; }
.yg-motion[data-stage="error"] .yg-error-message,
.yg-motion[data-stage="guide"] .yg-error-message { opacity: 1; transform: translateY(0); }
.yg-motion[data-stage="guide"] .yg-dim { opacity: 1; }
.yg-motion[data-stage="guide"] .yg-guide { opacity: 1; transform: translateY(0); }
.yg-motion[data-stage="guide"] .yg-callout,
.yg-motion[data-stage="review"] .yg-callout,
.yg-motion[data-stage="retry"] .yg-callout { opacity: 1; transform: translateY(0); }
.yg-motion[data-stage="review"] .yg-expiry,
.yg-motion[data-stage="retry"] .yg-expiry { border-color: #81b2a3; background: #f1f8f3; }
.yg-motion[data-stage="review"] .yg-old-date,
.yg-motion[data-stage="retry"] .yg-old-date { opacity: 0; }
.yg-motion[data-stage="review"] .yg-new-date,
.yg-motion[data-stage="retry"] .yg-new-date { opacity: 1; }
.yg-motion[data-stage="review"] .yg-old-card,
.yg-motion[data-stage="retry"] .yg-old-card { opacity: 0; }
.yg-motion[data-stage="review"] .yg-new-card,
.yg-motion[data-stage="retry"] .yg-new-card { opacity: 1; }
.yg-motion[data-stage="retry"] .yg-order-button { background: var(--yg-teal); }
.yg-order-arrow { width: 12px; height: 12px; flex-shrink: 0; }
.yg-motion[data-stage="retry"] .yg-purchase-label { display: none; }
.yg-motion[data-stage="retry"] .yg-retry-label { display: inline; }
.yg-motion[data-stage="tap"] .yg-touch { opacity: .9; transform: scale(1); transition: opacity 300ms, transform 550ms; }
.yg-motion figcaption { max-width: 700px; margin: 0 auto; padding: 9px 18px 0; }
.yg-caption { display: flex; justify-content: center; align-items: center; min-height: 28px; }
.yg-caption-text { font-size: 13px; line-height: 1.7; color: #456d62; letter-spacing: .025em; }
.yg-control-icon { font: 9px Arial,sans-serif; }
.yg-player { display: grid; grid-template-columns: var(--yg-phone-left) var(--yg-phone-w) minmax(0, 1fr); margin: 0 -18px; }
.yg-toggle { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8ba39b; cursor: pointer; }
.yg-toggle:hover, .yg-toggle:focus-visible { color: #3c777d; }
.yg-toggle-icon { width: 28px; height: 28px; }
.yg-motion[data-playing="true"] .yg-toggle-play { display: none; }
.yg-motion[data-playing="false"] .yg-toggle-pause { display: none; }
.yg-note { margin: 8px 0 0; text-align: center; font-size: 10px; line-height: 1.7; color: #7c8982; }
.yg-note span { display: inline-block; }
.yg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@container(max-width: 560px) {
  .yg-dashboard { left: 41%; right: 1%; }
  .yg-dashboard-content { padding: 18px 13px; }
  .yg-motion { --yg-phone-left: 3%; }
  .yg-rail { width: 51px; }
  .yg-metrics { gap: 12px; }
  .yg-metrics>div+div { padding-left: 12px; }
  .yg-callout { left: 58%; gap: 9px; }
  .yg-callout strong { font-size: 17px; }
  .yg-callout div>span { font-size: 10px; }
  .yg-monitor-caption { font-size: 10px; right: 10px; }
}
@container(max-width: 490px) {
  .yg-scene { height: 568px; }
  .yg-dashboard { left: 22px; right: 10px; top: 15px; height: 293px; transform: rotate(-2deg); }
  .yg-dashboard-content { padding: 12px 16px; }
  .yg-rail { display: none; }
  .yg-dashboard-heading { font-size: 11px; }
  .yg-dashboard-bar { height: 31px; padding: 0 13px; }
  .yg-dashboard-sample { font-size: 9px; }
  .yg-metrics { margin-top: 10px; }
  .yg-metrics strong { font-size: 22px; margin-top: 5px; }
  .yg-metrics>div:first-child { opacity: .6; }
  .yg-motion { --yg-phone-left: 15px; --yg-phone-w: 235px; }
  .yg-phone { top: 148px; height: 414px; border-radius: 30px; padding: 6px; }
  .yg-phone-inner { border-radius: 24px; }
  .yg-statusbar { height: 25px; }
  .yg-shopbar { height: 29px; font-size: 11px; }
  .yg-checkout { padding-top: 11px; }
  .yg-product-art { width: 50px; height: 51px; }
  .yg-product { margin: 7px 0; }
  .yg-order-total { padding: 8px 0; }
  .yg-order-button { margin-top: 7px; }
  .yg-guide { top: 96px; padding: 12px; left: 8px; right: 8px; }
  .yg-guide h2 { font-size: 14px; margin: 12px 0 9px; }
  .yg-guidance-copy { font-size: 12px; }
  .yg-guide-close { margin-top: 10px; }
  .yg-touch { top: 333px; left: 150px; }
  .yg-error-message { bottom: 35px; }
  .yg-monitor-caption { display: none; }
  .yg-callout { left: auto; right: 9px; top: 350px; writing-mode: vertical-rl; gap: 10px; }
  .yg-callout-rule { width: 1px; height: 25px; }
  .yg-callout div>span { font-size: 10px; letter-spacing: .09em; }
  .yg-callout strong { margin-top: 0; margin-right: 7px; font-size: 16px; letter-spacing: .12em; }
  .yg-caption-text { font-size: 11px; letter-spacing: 0; }

  .yg-toggle { width: 44px; height: 44px; }
    .yg-note { font-size: 10px; }
}
.yg-motion.yg-initializing *, .yg-motion.yg-initializing *::before, .yg-motion.yg-initializing *::after { transition: none !important; }
@media(prefers-reduced-motion: reduce) {
  .yg-motion *, .yg-motion *::before, .yg-motion *::after { transition: none !important; animation: none !important; }
}

.yg-motion--hero .yg-callout { display: none; }
