#gift-demo{padding:0;border:1px solid #ffffff80;border-radius:28px;width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#f9fcfd;color:#173b48;box-shadow:0 32px 120px #10262f66;font-family:inherit}
#gift-demo::backdrop{background:#162c3b99;backdrop-filter:blur(9px)}#gift-demo *{box-sizing:border-box}#gift-demo button{font:inherit;cursor:pointer}#gift-demo button:focus-visible{outline:3px solid #367fe5;outline-offset:3px}#gift-demo [hidden]{display:none!important}
.gd-content{padding:22px}.gd-top{display:flex;justify-content:space-between;align-items:center;gap:14px}.gd-brand{font-size:21px;font-weight:800;letter-spacing:-.7px}.gd-brand small{margin-left:10px;color:#698792;font-size:11px;font-weight:500;letter-spacing:0}.gd-close{border:0;background:#e9f1f4;border-radius:50%;width:36px;height:36px;font-size:26px!important;color:#527481}#gd-title{font-size:29px;line-height:1.15;letter-spacing:-.8px;font-weight:750;margin:12px 0 16px}.gd-variants{display:flex;gap:4px;background:#e9f1f4;padding:4px;border-radius:12px;margin-bottom:18px;width:fit-content}.gd-variants button{border:0;background:none;color:#68838c;border-radius:9px;padding:9px 18px;font-size:12px!important}.gd-variants button[aria-selected=true]{background:#fff;color:#1e4b5d;box-shadow:0 2px 5px #132b3810;font-weight:700}
.gd-layout{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:28px;align-items:center}.gd-player{position:relative;background:#eaf3f6;border-radius:18px;overflow:hidden;line-height:0;box-shadow:0 10px 35px #1b3a4915;justify-self:center;width:100%}.gd-player video{display:block;width:100%;max-height:67dvh;aspect-ratio:9/10;object-fit:contain;background:#eff7f9}.gd-info{min-width:0}.gd-methods{display:flex;gap:8px}.gd-methods button{flex:1;border:1px solid #d5e6ed;background:transparent;color:#537889;font-size:12px!important;min-height:44px;padding:8px;border-radius:12px;font-weight:600!important}.gd-methods button[aria-selected=true]{background:#e8f3fe;border-color:#368ae3;color:#226ac3}.gd-description{font-size:20px;font-weight:650;letter-spacing:-.4px;line-height:1.3;margin:25px 0}.gd-steps{list-style:none;padding:0;margin:0;display:grid;gap:20px}.gd-steps li{display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.4;color:#5f7c89}.gd-steps li>span{flex:none;display:grid;place-items:center;border-radius:50%;background:#e8f1f5;width:27px;height:27px;color:#318bd1;font-size:11px;font-weight:750}.gd-actions{margin-top:32px}.gd-cta{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-radius:14px;background:linear-gradient(110deg,#32b4c6,#4076e4);color:white;min-height:52px;padding:12px 16px;font-size:13px!important;font-weight:750!important;box-shadow:0 6px 18px #348de225}.gd-cta>span{font-size:21px}.gd-later{display:block;margin:8px auto 0;min-height:32px;border:0;background:transparent;color:#7c96a2;font-size:12px!important}.gd-note{font-size:10px;line-height:1.5;color:#8ca1aa;margin:14px 0 0}.gd-next{border:0;background:#e7f5ef;color:#2e7761;border-radius:10px;padding:10px 12px;margin-top:20px;font-size:12px!important;font-weight:600!important}.gd-error{position:absolute;inset:auto 10px 65px;background:#fff;padding:18px;border-radius:12px;font-size:12px;line-height:1.5}.gd-retry{border:0;background:#e8f3fe;padding:6px 12px;border-radius:8px;color:#226ac3}
@media(max-width:640px){#gift-demo{width:min(440px,calc(100vw - 16px));max-height:calc(100dvh - 16px);border-radius:22px}.gd-content{padding:14px}.gd-brand{font-size:18px}.gd-brand small{font-size:10px}.gd-close{width:30px;height:30px}#gd-title{font-size:22px;margin:8px 0 12px}.gd-variants{margin-bottom:12px;width:100%;justify-content:center}.gd-variants button{flex:1;padding:7px 12px}.gd-layout{display:flex;flex-direction:column;gap:12px}.gd-info{display:contents}.gd-methods{order:-1;width:100%;gap:6px}.gd-methods button{min-height:36px;padding:6px}.gd-player{width:auto;max-width:100%}.gd-player video{height:49dvh;max-height:540px;width:auto;max-width:100%}.gd-description,.gd-steps,.gd-note{display:none}.gd-actions{margin:0;width:100%}.gd-cta{min-height:44px;padding:10px 14px}.gd-later{margin-top:4px;min-height:24px;font-size:11px!important}.gd-next{margin:0;width:100%}.gd-player video::-webkit-media-controls-panel{padding:0}}
@media(max-width:640px) and (max-height:740px){.gd-player video{height:43dvh}.gd-content{padding:10px 12px}.gd-layout{gap:9px}#gd-title{font-size:20px;margin:6px 0 10px}.gd-variants{margin-bottom:8px}}

/* On phones the tutorial remains readable; the dialog scrolls instead of shrinking the UI. */
@media(max-width:640px){.gd-player{width:100%}.gd-player video{width:100%;height:auto;max-height:none}.gd-actions{padding-top:3px}.gd-next{min-height:40px}}
