/* Approved nurse art; v27 mobile callout follows the translated introduction. */
.wallet-dialog{background:#fffdf5 url('/assets/wallet-v26/background-pc.webp') center top/100% auto no-repeat}
.wallet-dialog .wallet-heading-copy{min-width:0}
.wallet-dialog .wallet-heading h2,html:not([lang=ko]) .wallet-dialog .wallet-heading h2,
.wallet-dialog .wallet-steps h3,.wallet-dialog .wallet-phone>strong,
.wallet-dialog .wallet-footer .button{font-family:var(--sparta-display,SpartaMeme),Arial,sans-serif;font-weight:900}
.wallet-dialog .wallet-heading h2{white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.wallet-dialog .wallet-heading-copy>p{font-size:clamp(15px,1.23vw,20px);line-height:1.5;margin-top:13px;font-weight:800;letter-spacing:-.035em;overflow-wrap:anywhere}
.wallet-dialog .wallet-scene{clip-path:inset(-12px -20px 0 -28px);overflow:visible}
.wallet-dialog .wallet-scene .wallet-mascot,
.wallet-dialog .wallet-scene .wallet-character{
 position:absolute;inset:auto;left:-8%;top:-18px;bottom:auto;
 width:88%;height:auto;max-width:none;object-fit:contain;object-position:center top;
 z-index:2;pointer-events:none;
}
.wallet-dialog .wallet-scene [hidden]{display:none!important}
.wallet-dialog .wallet-phone{animation:none!important;transition:none!important}
.wallet-dialog .wallet-example{right:0;top:2px;max-width:46%;white-space:normal}
.wallet-dialog .wallet-example-mobile{display:none}
.wallet-dialog .wallet-example::before,.wallet-dialog .wallet-example::after{
 content:'';position:absolute;left:auto;top:auto;right:24%;bottom:-18px;width:23px;height:19px;
 border:0;background:#233757;transform:none;clip-path:polygon(0 0,82% 0,100% 100%);
}
.wallet-dialog .wallet-example::after{right:calc(24% + 2px);bottom:-13px;width:17px;height:15px;background:#fff}
.wallet-motion{position:absolute;left:2px;bottom:9px;z-index:6;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1.5px solid #243858;border-radius:50%;background:#fffdf4e8;color:#192c4b;box-shadow:0 2px 5px #17243a18}
.wallet-motion svg{width:15px;height:15px;fill:currentColor}
.wallet-motion .wallet-play{display:none}
.wallet-motion[aria-pressed=true] .wallet-play{display:block}
.wallet-motion[aria-pressed=true] .wallet-pause{display:none}
.wallet-motion:hover{background:#ffedbb}
.wallet-motion:focus-visible{outline:3px solid #4665ca;outline-offset:3px}
@media(min-width:801px){
 .wallet-dialog{width:min(1440px,calc(100% - 32px))}
 .wallet-dialog .wallet-visual{justify-content:flex-start}
 .wallet-dialog .wallet-scene{flex:none;height:clamp(315px,29vw,472px);min-height:0}
 .wallet-dialog .wallet-scene .wallet-mascot,.wallet-dialog .wallet-scene .wallet-character{width:98%;left:-10%;top:-8px;-webkit-mask-image:linear-gradient(#000 94%,transparent 100%);mask-image:linear-gradient(#000 94%,transparent 100%)}
 .wallet-dialog .wallet-heading h2,html:not([lang=ko]) .wallet-dialog .wallet-heading h2{font-size:clamp(34px,3.65vw,59px);line-height:1.2}
 .wallet-dialog .wallet-phone{right:3%;top:55px}
 .wallet-dialog .wallet-example{right:36px;top:10px;max-width:43%;padding:7px 10px;font-size:clamp(11px,1vw,16px)}
 .wallet-dialog .wallet-eyebrow{font-size:clamp(9px,.97vw,16px);max-width:100%;white-space:normal}
}
@media(max-width:800px){
 .wallet-dialog{background-image:linear-gradient(90deg,transparent 35%,#fffdf55c 66%,#fffdf58c),url('/assets/wallet-v26/background-mobile.webp');background-position:center top;background-size:100% auto;background-repeat:no-repeat}
 .wallet-dialog .wallet-inner{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:12px 0;padding:14px 12px 16px;direction:ltr}
 .wallet-dialog .wallet-heading,.wallet-dialog .wallet-grid,.wallet-dialog .wallet-instructions,.wallet-dialog .wallet-visual{display:contents}
 .wallet-dialog .wallet-eyebrow{grid-column:1/-1;grid-row:1;align-self:start;justify-self:start;order:initial;width:max-content;max-width:calc(100% - 48px);margin:0;padding:7px 8px;font-size:clamp(8px,2.2vw,12px);white-space:normal;line-height:1.4}
 .wallet-dialog .wallet-heading-copy{grid-column:2;grid-row:2;z-index:3;align-self:start;padding:12px 0 126px 4px;pointer-events:none}
 .wallet-dialog .wallet-heading h2,html:not([lang=ko]) .wallet-dialog .wallet-heading h2{font-size:clamp(24px,6.25vw,35px);line-height:1.2;letter-spacing:-.05em;white-space:normal;overflow-wrap:anywhere;text-wrap:balance;margin:0;max-width:100%}
 .wallet-dialog .wallet-heading h2::after{height:5px;right:4%}
 .wallet-dialog .wallet-heading-copy>p{font-size:clamp(12px,3.15vw,16px);line-height:1.5;font-weight:800;margin-top:10px;letter-spacing:-.035em}
 /* Mobile annotation: remove the status chip and let the callout flow with its copy. */
 .wallet-dialog .wallet-status,.wallet-dialog .wallet-scene>.wallet-example{display:none}
 .wallet-dialog .wallet-scene{grid-column:1/-1;grid-row:2;order:initial;align-self:stretch;width:100%;height:auto;min-height:clamp(276px,74vw,400px);margin:0;clip-path:inset(-6px -12px 0 -12px);overflow:visible;position:relative;isolation:isolate}
 .wallet-dialog .wallet-scene .wallet-mascot,.wallet-dialog .wallet-scene .wallet-character{inset:auto;left:-20%;bottom:-44px;top:auto;width:auto;height:calc(100% + 44px);max-width:108%;object-fit:contain;object-position:left bottom;z-index:2}
 .wallet-dialog .wallet-phone{right:7%;top:auto;bottom:-66px;width:44%;max-width:235px;height:clamp(238px,61vw,325px);padding:12px 10px;border-width:3px;border-radius:24px;transform:rotate(7deg);z-index:1}
 .wallet-dialog .phone-status{font-size:7px;margin-bottom:17px}
 .wallet-dialog .example-wallet-mark{width:44px;height:44px;min-height:44px;padding:5px;margin-bottom:12px}
 .wallet-dialog .wallet-phone>strong{font-size:17px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
 .wallet-dialog .wallet-phone>small{font-size:9px;line-height:1.3;margin-top:8px;text-align:center}
 .wallet-dialog .phone-balance{font-size:22px;margin:8px 0}
 .wallet-dialog .phone-create,.wallet-dialog .phone-import{font-size:9px;line-height:1.3;padding:5px 3px;margin-top:6px}
 .wallet-dialog .wallet-heading-copy>.wallet-example-mobile{
  display:block;position:relative;inset:auto;width:fit-content;max-width:100%;
  margin:14px 0 0;font-size:clamp(10px,2.6vw,13px);line-height:1.45;
  padding:7px 10px;border-width:1.5px;border-radius:16px;text-align:center;
 }
 /* Tail stays on the nurse's side, including right-to-left languages. */
 .wallet-dialog .wallet-example-mobile::before{
  left:13px;right:auto;bottom:-14px;width:20px;height:15px;
  clip-path:polygon(10% 0,100% 0,0 100%);
 }
 .wallet-dialog .wallet-example-mobile::after{
  left:15px;right:auto;bottom:-10px;width:14px;height:12px;
  clip-path:polygon(10% 0,100% 0,0 100%);
 }
 .wallet-dialog .wallet-steps{grid-column:1/-1;grid-row:3;order:initial;margin-top:-12px;position:relative;z-index:4}
 .wallet-dialog .wallet-download{grid-column:1/-1;grid-row:4;order:initial;margin:0;padding:11px;border:1px solid #dfddd6;border-radius:16px;min-width:0;z-index:4}
 .wallet-dialog .mobile-app-install{flex-direction:row;gap:7px;margin-top:11px}
 .wallet-dialog .mobile-app-icon{display:none}
 .wallet-dialog .mobile-app-install button{min-height:44px;font-size:14px}
 .wallet-dialog .wallet-links-pending{font-size:11px!important}
 .wallet-dialog .wallet-safety{grid-column:1/-1;grid-row:5;order:initial;margin:0;font-size:13px;line-height:1.45;gap:10px;padding:11px}
 .wallet-dialog .wallet-footer{grid-column:1/-1;grid-row:6;order:initial;margin:0;padding:0;border:0;gap:11px;min-width:0}
 .wallet-dialog .wallet-footer p{font-size:10px;line-height:1.5;justify-content:center;margin:0}
 .wallet-dialog .wallet-footer .button{min-height:46px;font-size:17px}
 .wallet-dialog .wallet-motion{left:0;bottom:8px;width:30px;height:30px}
 html[dir=rtl] .wallet-dialog .wallet-heading-copy,html[dir=rtl] .wallet-dialog .wallet-steps,html[dir=rtl] .wallet-dialog .wallet-download,html[dir=rtl] .wallet-dialog .wallet-safety,html[dir=rtl] .wallet-dialog .wallet-footer{direction:rtl}
 .wallet-dialog .wallet-phone{direction:ltr}
}
@media(max-width:360px){
 .wallet-dialog .wallet-inner{padding-inline:10px}
 .wallet-dialog .wallet-heading h2,html:not([lang=ko]) .wallet-dialog .wallet-heading h2{font-size:23px}
 .wallet-dialog .wallet-heading-copy>p{font-size:12px}
 .wallet-dialog .wallet-step-icon{width:32px}
}
