/* Sepidar Beauty Lucky Wheel — scoped, premium, responsive interface */
.alw-root{--accent:#bf7e84;--alw-ink:#352e38;--alw-rose:#aa6c76;--alw-gold:#bb956d;--alw-muted:#837780;direction:rtl;color:var(--alw-ink);font-family:inherit;isolation:isolate}
.alw-root,.alw-root *{box-sizing:border-box}
.alw-root.alw-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:22px}
.alw-root.alw-modal.alw-visible{display:flex}
.alw-overlay{position:absolute;inset:0;background:rgba(24,17,25,.75);backdrop-filter:blur(9px)}
.alw-panel{position:relative;width:min(1040px,100%);margin:auto;overflow:hidden;border-radius:30px;padding:56px 45px;background:radial-gradient(circle at 87% 14%,rgba(229,192,181,.30),transparent 38%),radial-gradient(circle at 2% 92%,rgba(218,194,178,.20),transparent 40%),linear-gradient(135deg,#fffdfb 0%,#fff9f6 54%,#f9eff0 100%);box-shadow:0 30px 90px rgba(34,22,28,.19),inset 0 0 0 1px rgba(255,255,255,.86)}
.alw-panel:before,.alw-panel:after{content:'✧';position:absolute;pointer-events:none;color:#ccaa91;opacity:.42;font-size:44px;font-family:Georgia,serif}
.alw-panel:before{top:15px;right:25px}.alw-panel:after{bottom:8px;left:21px;font-size:32px}
.alw-embedded .alw-panel{border:1px solid #ead8d6;box-shadow:0 16px 55px rgba(61,30,43,.085)}
.alw-content{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:54px;align-items:center}
.alw-formside{position:relative;z-index:1;min-width:0}
.alw-eyebrow{display:flex;align-items:center;gap:10px;color:var(--alw-gold);font:700 11px/1.5 Georgia,serif;letter-spacing:3.2px;direction:ltr;justify-content:flex-end;margin-bottom:28px}
.alw-eyebrow-line{display:inline-block;width:31px;height:1px;background:#cba984}
.alw-kicker{font-size:12px;letter-spacing:.1px;color:var(--alw-rose);font-weight:700;margin-bottom:7px}
.alw-formside h2{font-size:clamp(27px,3.2vw,39px);font-weight:900;line-height:1.45;margin:0 0 11px;color:#312b36;letter-spacing:-.8px}
.alw-formside p{font-size:15px;line-height:2;color:#81737e;margin:0 0 28px;max-width:360px}
.alw-form{display:grid;gap:13px;max-width:375px}
.alw-form input[type=tel],.alw-form input[name=otp]{display:block;width:100%;height:57px;border-radius:14px;border:1px solid #e9dadb;background:rgba(255,255,255,.84);box-shadow:0 3px 8px rgba(76,43,53,.035);color:var(--alw-ink);font-size:17px;font-weight:650;text-align:center;direction:ltr;outline:none;transition:border-color .2s,box-shadow .2s}
.alw-form input[type=tel]::placeholder,.alw-form input[name=otp]::placeholder{color:#b9abb1;font-size:14px;font-weight:500}
.alw-form input[type=tel]:focus,.alw-form input[name=otp]:focus{border-color:#c99ba0;box-shadow:0 0 0 4px rgba(201,155,160,.13)}
.alw-form .alw-honey{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:-9999px!important}
.alw-submit{position:relative;width:100%;height:58px;border:0;border-radius:14px;background:linear-gradient(115deg,#bc7e85,#a96875 58%,#935c6c);box-shadow:0 10px 22px rgba(161,91,106,.22),inset 0 1px 0 rgba(255,255,255,.27);font-family:inherit;font-size:16px;font-weight:800;line-height:1.6;color:#fff;cursor:pointer;transition:transform .2s,box-shadow .2s,opacity .2s}
.alw-submit:after{content:'✦';position:absolute;left:20px;top:50%;transform:translateY(-50%);font-size:17px;color:#f7dcbb}
.alw-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 27px rgba(161,91,106,.28)}
.alw-submit:disabled{opacity:.65;cursor:wait}
.alw-message{min-height:27px;margin-top:12px;max-width:375px;color:#ae5867;font-weight:750;line-height:1.8;font-size:13px;overflow-wrap:anywhere}
.alw-message.alw-success{color:#31785d}
.alw-trust{display:flex;gap:9px;align-items:center;margin-top:13px;font-size:12px;font-weight:700;color:#786c72}
.alw-trust-icon{display:grid;place-items:center;width:22px;height:22px;flex:none;border:1px solid #dabeb3;background:#f7eae6;border-radius:50%;color:#946a6e;font-size:12px}
.alw-formside small{display:block;margin-top:10px;max-width:375px;color:#aea0a4;line-height:1.9;font-size:11px;font-weight:450}
.alw-code-area[hidden]{display:none!important}.alw-code-area{display:grid;gap:7px}
.alw-resend{justify-self:center;border:0;background:transparent;color:var(--alw-rose);font-size:12px;font-weight:750;cursor:pointer}
.alw-close{position:absolute;top:16px;left:17px;z-index:5;display:grid;place-items:center;border:1px solid #eedddd;width:37px;height:37px;background:#fff9f9;border-radius:50%;font:24px/1 Arial,sans-serif;color:#947d84;cursor:pointer;transition:background .2s,transform .2s}
.alw-close:hover{background:#f6e7e9;transform:rotate(90deg)}
.alw-wheelside{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.alw-wheelbox{position:relative;width:min(100%,410px);aspect-ratio:1/1;filter:drop-shadow(0 18px 21px rgba(106,61,71,.15))}
.alw-wheelbox:before{content:'';position:absolute;inset:-12px;border-radius:50%;background:linear-gradient(145deg,#f1d9b7,#c8a17c 25%,#fff2d9 44%,#bd8c72 70%,#f5dfbe);box-shadow:0 0 0 6px rgba(247,231,218,.7),0 13px 28px rgba(123,78,73,.12)}
.alw-wheelbox:after{content:'';position:absolute;inset:7px;border-radius:50%;pointer-events:none;z-index:2;border:2px solid rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(111,71,75,.12)}
.alw-wheel{position:absolute;inset:0;border-radius:50%;border:12px solid #fff7f1;overflow:hidden;background:#efd6d6;box-shadow:inset 0 0 0 1px rgba(154,112,103,.25);transition:transform 5.2s cubic-bezier(.08,.72,.07,1);will-change:transform}
.alw-wheel:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 31% 27%,rgba(255,255,255,.21),transparent 54%),radial-gradient(circle at center,transparent 38%,rgba(146,83,79,.045) 97%);z-index:0;pointer-events:none}
.alw-pointer{position:absolute;top:-24px;left:50%;transform:translateX(-50%);z-index:5;width:42px;height:49px;background:linear-gradient(155deg,#f8e6bd,#b88763 80%);clip-path:polygon(50% 100%,0 8%,100% 8%);filter:drop-shadow(0 4px 3px rgba(82,49,48,.24))}
.alw-pointer:before{content:'';position:absolute;inset:5px 8px 12px;background:linear-gradient(140deg,#fff2d7,#c99d78);clip-path:polygon(50% 100%,0 0,100% 0)}
.alw-labels{position:absolute;inset:0;z-index:1}
.alw-prize-label{position:absolute;display:flex;align-items:center;justify-content:center;width:91px;max-width:27%;min-height:40px;padding:0 2px;text-align:center;direction:rtl;font-size:clamp(9px,1.05vw,12px);font-weight:850;line-height:1.55;color:#664952;overflow-wrap:anywhere;text-shadow:0 1px 0 rgba(255,255,255,.30);pointer-events:none;transition:transform 5.2s cubic-bezier(.08,.72,.07,1)}
.alw-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:69px;height:69px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#fffefa,#f8eadd);border:5px solid #d8b18e;box-shadow:0 0 0 5px #fff7f3,0 5px 16px #835a5540;color:#bd9471;font:36px Georgia,serif}
.alw-center span{transform:translateY(-1px)}
.alw-wheel-caption{color:#a08284;font-size:12px;letter-spacing:.3px;margin-top:31px;font-weight:750}
@media(max-width:840px){.alw-panel{padding:44px 28px}.alw-content{gap:28px}.alw-formside h2{font-size:29px}.alw-wheelbox{width:min(100%,355px)}.alw-prize-label{font-size:10px;width:78px}.alw-eyebrow{margin-bottom:19px}}
@media(max-width:650px){.alw-root.alw-modal{padding:9px}.alw-panel{padding:28px 20px 25px;border-radius:22px;max-height:96dvh;overflow-y:auto}.alw-content{grid-template-columns:1fr;gap:26px}.alw-wheelside{order:2}.alw-formside{order:1;text-align:center}.alw-eyebrow{justify-content:center;margin-bottom:13px;letter-spacing:2px}.alw-kicker{font-size:11px}.alw-formside h2{font-size:clamp(23px,6.5vw,31px);margin-bottom:8px}.alw-formside p{font-size:13px;margin:0 auto 17px;line-height:1.8}.alw-form{max-width:380px;margin:auto;gap:10px}.alw-form input[type=tel],.alw-form input[name=otp]{height:49px}.alw-submit{height:51px}.alw-message{margin:9px auto 0;min-height:16px}.alw-trust{justify-content:center;margin-top:11px}.alw-formside small{margin:6px auto 0}.alw-wheelbox{width:min(74vw,305px)}.alw-wheel{border-width:9px}.alw-wheelbox:before{inset:-8px}.alw-wheel-caption{margin-top:20px}.alw-center{height:52px;width:52px;border-width:4px;font-size:27px;box-shadow:0 0 0 3px #fff7f3,0 4px 12px #835a5530}.alw-prize-label{width:70px;font-size:9px}.alw-pointer{width:30px;height:38px;top:-19px}.alw-close{top:9px;left:9px}}
@media(max-width:380px){.alw-panel{padding:24px 15px 22px}.alw-wheelbox{width:min(69vw,260px)}.alw-prize-label{font-size:8px;width:62px;line-height:1.45}}
@media(prefers-reduced-motion:reduce){.alw-submit,.alw-close{transition:none}}

/* v1.3 — violet & champagne campaign layout inspired by the supplied reference */
.alw-root{--alw-purple:#482b6c;--alw-plum:#8c337f;--alw-cream:#fcf4ef;--alw-gold:#d6aa63;color:#392c4a}
.alw-panel{width:min(1120px,100%);padding:54px 56px 30px;border-radius:29px;background:radial-gradient(circle at 6% 80%,rgba(191,153,204,.19),transparent 35%),radial-gradient(circle at 92% 13%,rgba(252,221,185,.26),transparent 37%),linear-gradient(130deg,#fffaf4,#f9edf5 98%);border:1px solid #fff9f4;box-shadow:0 30px 90px #38244630}
.alw-panel:before{content:'✦';right:30px;top:19px;font-size:19px;color:#d3a248}.alw-panel:after{content:'✧';left:32px;bottom:73px;font-size:27px;color:#b9a0c6}
.alw-content{direction:ltr;grid-template-columns:1.08fr .92fr;gap:52px;align-items:center}
.alw-wheelside,.alw-formside{direction:rtl}
.alw-wheelbox{width:min(100%,445px);filter:drop-shadow(0 19px 17px #4a2c6028)}
.alw-wheelbox:before{inset:-13px;background:linear-gradient(135deg,#fffefa 12%,#ecdcc5 60%,#fffaf6);box-shadow:0 0 0 3px rgba(255,255,255,.5),0 9px 26px #65516d26}
.alw-wheelbox:after{inset:2px;border:2px solid #fffcf6;box-shadow:none}
.alw-wheel{border:13px solid #fffaf5;background:#684994;box-shadow:inset 0 0 0 1px #fff9,0 0 0 1px #c6b8be}
.alw-wheel:before{z-index:0;background:repeating-conic-gradient(transparent 0deg calc(var(--alw-slice,60deg) - 0.65deg),rgba(255,255,255,.88) calc(var(--alw-slice,60deg) - 0.65deg) var(--alw-slice,60deg)),radial-gradient(circle at 33% 24%,rgba(255,255,255,.09),transparent 63%)}
.alw-pointer{top:-28px;width:39px;height:51px;background:linear-gradient(135deg,#ffedbc,#d8a13d 56%,#a57130);border-radius:55% 55% 0 0;filter:drop-shadow(0 3px 3px #462c4c50)}
.alw-pointer:before{inset:5px 8px 11px;background:linear-gradient(135deg,#ffe3a1,#c48c39)}
.alw-prize-label{width:105px;max-width:32%;min-height:55px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff;font-size:12px;line-height:1.42;font-weight:800;text-shadow:0 1px 1px #2f1e4020}
.alw-prize-label.alw-segment-dark{color:#4d2d60;text-shadow:none}
.alw-segment-icon{display:block;width:26px;height:26px;flex:none;opacity:.92}
.alw-segment-icon svg{display:block;width:100%;height:100%}
.alw-segment-text{display:block;max-width:100%;overflow-wrap:anywhere;text-align:center}
.alw-center{width:94px;height:94px;border:6px solid #d3a769;background:linear-gradient(135deg,#fffefb,#fbf1e5);box-shadow:0 0 0 6px #fffdf8,0 6px 17px #281e3950;font-size:18px;font-weight:900;font-family:inherit;color:#513374}
.alw-center span{transform:none}
.alw-wheel-caption{font-size:13px;margin-top:35px;color:#795d88}
.alw-formside{padding:23px 26px 26px;border:1px solid #f0e4e9;border-radius:25px;background:rgba(255,251,250,.86);box-shadow:0 18px 35px #5b3e6417;text-align:center}
.alw-eyebrow{justify-content:center;margin:0 0 13px;color:#98629e;font-size:11px}
.alw-kicker{color:#b87599;font-size:12px}
.alw-formside h2{font-size:clamp(26px,2.7vw,33px);color:#4d3069;line-height:1.55;letter-spacing:0}
.alw-formside p{color:#817287;margin:0 auto 23px;font-size:14px}
.alw-form{max-width:100%;margin:auto}
.alw-form input[type=tel],.alw-form input[name=otp]{background:#fff;border-color:#e8d8e3;border-radius:13px}
.alw-form input[type=tel]:focus,.alw-form input[name=otp]:focus{border-color:#9966a4;box-shadow:0 0 0 4px #b693c722}
.alw-submit{background:linear-gradient(110deg,#853b91,#a6347f 70%,#8c2e85);box-shadow:0 9px 21px #7f3c8f36}
.alw-submit:after{color:#f9d575}
.alw-trust{justify-content:center;color:#7c6b83}
.alw-trust-icon{border-color:#d7c4dc;background:#f5eaf7;color:#744583}
.alw-formside small{max-width:100%;color:#a395a9}
.alw-bottom-bar{margin:32px auto 0;display:flex;align-items:center;justify-content:center;gap:17px;min-height:66px;max-width:870px;border:1px solid #f0e7ed;background:#fffaf9f5;border-radius:60px;padding:11px 22px;box-shadow:0 6px 18px #6e4a7112;color:#4f3368;font-size:15px}
.alw-bar-gift{height:40px;width:40px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f2e8f5;color:#8b499c;font-size:26px;border:1px solid #eee0f2}
.alw-bottom-bar strong{font-size:16px;font-weight:850}
.alw-bottom-bar>span:not(.alw-bar-sparkle){color:#9e899e;font-size:12px;margin-inline-start:auto}
.alw-bar-sparkle{color:#d7a242;font-size:19px}
.alw-result-card[hidden]{display:none!important}
.alw-result-card{padding:8px 3px 4px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.alw-result-icon{font-size:42px;color:#a04fa1;background:#f6eaf9;width:68px;height:68px;border-radius:50%;display:grid;place-items:center}
.alw-result-title{color:#4f2c78;font-size:clamp(24px,2.7vw,34px);font-weight:950;line-height:1.45}
.alw-result-divider{width:100%;display:flex;align-items:center;gap:9px;color:#dcad4d;font-size:16px}
.alw-result-divider:before,.alw-result-divider:after{content:'';height:1px;background:#e8cc99;flex:1}
.alw-result-prize{font-size:clamp(22px,2.5vw,31px);color:#a33483;font-weight:950;line-height:1.5}
.alw-result-subtitle{font-size:13px;color:#807387}
.alw-voucher{width:100%;margin-top:5px;border:1.5px dashed #d7bedc;border-radius:14px;padding:13px 10px;background:#fffdfc;display:grid;gap:5px}
.alw-voucher span{font-size:12px;color:#8e7498}
.alw-voucher-code{font:850 21px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;color:#462b70;letter-spacing:1.6px;overflow-wrap:anywhere}
.alw-copy{border:0;background:transparent;color:#853e99;cursor:pointer;font-family:inherit;font-size:13px;font-weight:850;padding:6px 18px}
.alw-result-hint{font-size:12px!important;color:#8e8291!important;margin:0!important}
.alw-finished .alw-intro,.alw-finished .alw-form,.alw-finished .alw-message,.alw-finished .alw-trust,.alw-finished .alw-formside>small{display:none!important}
.alw-finished .alw-formside{padding-top:23px;padding-bottom:23px}
.alw-no-prize .alw-voucher,.alw-no-prize .alw-copy,.alw-no-prize .alw-result-hint{display:none!important}
@media(max-width:860px){.alw-panel{padding:32px 25px 25px}.alw-content{gap:27px}.alw-formside{padding:22px 17px}.alw-wheelbox{max-width:360px}.alw-prize-label{font-size:10px;width:86px}.alw-segment-icon{width:21px;height:21px}.alw-center{width:76px;height:76px;font-size:15px;border-width:5px}}
@media(max-width:650px){.alw-panel{padding:21px 15px 18px}.alw-content{grid-template-columns:1fr;gap:22px}.alw-wheelside{order:1}.alw-formside{order:2;width:100%;max-width:440px;margin:auto}.alw-wheelbox{width:min(74vw,320px)}.alw-prize-label{font-size:9px;width:73px;gap:2px;line-height:1.35}.alw-segment-icon{width:18px;height:18px}.alw-center{height:59px;width:59px;font-size:12px;border-width:4px;box-shadow:0 0 0 4px #fffdf8,0 4px 10px #281e3940}.alw-wheel-caption{margin-top:23px}.alw-bottom-bar{margin-top:19px;min-height:51px;padding:8px 15px;gap:9px}.alw-bottom-bar strong{font-size:12px}.alw-bottom-bar>span:not(.alw-bar-sparkle){display:none}.alw-bar-gift{height:32px;width:32px;font-size:20px}.alw-formside h2{font-size:25px}.alw-result-title{font-size:26px}.alw-result-prize{font-size:24px}}
@media(max-width:380px){.alw-wheelbox{width:min(72vw,275px)}.alw-prize-label{font-size:8px;width:65px}.alw-segment-icon{width:16px;height:16px}}

/* Dense 10–12 section mode: short copy and outer-ring placement prevent overlaps */
.alw-root.alw-dense .alw-prize-label{width:65px;max-width:17%;min-height:24px;gap:0;padding:0 1px;font-size:10px;line-height:1.35;font-weight:850;letter-spacing:-.15px}
.alw-root.alw-dense .alw-center{width:68px;height:68px;font-size:13px;border-width:4px;box-shadow:0 0 0 4px #fffdf8,0 5px 12px #281e393c}
.alw-prize-guide{max-width:850px;margin:12px auto 0;padding:0;text-align:center;color:#744a86;font-size:12px}
.alw-prize-guide summary{cursor:pointer;display:inline-block;padding:8px 17px;font-weight:800;border-radius:50px;list-style:none;background:#fff8fc;border:1px solid #edddec}
.alw-prize-guide summary::-webkit-details-marker{display:none}
.alw-prize-guide ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 15px;text-align:right;list-style:none;padding:15px 18px;margin:12px 0 0;border-radius:14px;background:#fffafdf0;border:1px solid #f0e4ec}
.alw-prize-guide li{padding:6px 10px;border-right:2px solid #c8a2d0;color:#685472;line-height:1.65}
@media(max-width:860px){.alw-root.alw-dense .alw-prize-label{font-size:8px;width:53px;max-width:17%}.alw-root.alw-dense .alw-center{width:59px;height:59px;font-size:12px}}
@media(max-width:650px){.alw-root.alw-dense .alw-prize-label{font-size:7.5px;width:43px;min-height:17px;line-height:1.24}.alw-root.alw-dense .alw-center{width:43px;height:43px;font-size:9px;border-width:3px;box-shadow:0 0 0 3px #fffdf8}.alw-prize-guide ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;padding:12px}}

/* v1.5: full Persian names, no pictograms, radial typography for narrow wedges */
.alw-root .alw-segment-icon{display:none!important}
.alw-root.alw-dense .alw-prize-label{width:132px;max-width:36%;min-height:30px;padding:0 3px;font-size:10.5px;line-height:1.27;letter-spacing:-.2px;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal}
.alw-root.alw-dense .alw-segment-text{width:100%;max-width:100%;white-space:normal;overflow-wrap:break-word;text-align:center}
@media(max-width:860px){.alw-root.alw-dense .alw-prize-label{width:106px;max-width:38%;font-size:9px;line-height:1.23}}
@media(max-width:650px){.alw-root.alw-dense .alw-prize-label{width:90px;max-width:39%;min-height:26px;font-size:8px;line-height:1.17;padding:0 1px}}
@media(max-width:380px){.alw-root.alw-dense .alw-prize-label{width:75px;min-height:20px;font-size:7.1px;line-height:1.13}}

/* Embedded mobile wheel must grow with its content; only the modal may scroll internally. */
@media(max-width:650px){
  .alw-root.alw-embedded .alw-panel{
    height:auto;
    min-height:0;
    max-height:none;
    overflow:hidden;
  }
  .alw-root.alw-embedded{
    height:auto;
    max-height:none;
    overflow:visible;
  }
  .alw-root.alw-embedded .alw-content{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:25px;
    direction:rtl;
    width:100%;
  }
  .alw-root.alw-embedded .alw-wheelside{
    order:1;
    width:100%;
    min-width:0;
  }
  .alw-root.alw-embedded .alw-formside{
    order:2;
    width:100%;
    min-width:0;
    max-width:100%;
    padding:22px 15px;
  }
  .alw-root.alw-embedded .alw-wheelbox{
    width:min(75vw,300px);
    max-width:calc(100% - 28px);
    flex:none;
  }
  .alw-root.alw-embedded .alw-bottom-bar{
    width:100%;
    max-width:100%;
  }
  .alw-root.alw-modal .alw-panel{
    max-height:calc(100dvh - 18px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}
