/* Roshdino Surprise Box / isolated styles; never rewrites the existing hero. */
.rd-gift-trigger{position:fixed;z-index:540;bottom:max(20px,env(safe-area-inset-bottom));left:20px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,170,82,.47);border-radius:999px;padding:10px 14px;background:linear-gradient(115deg,#20222d,#30251d);color:#fff;font:700 13px RoshdinoYekan,Tahoma,sans-serif;box-shadow:0 9px 28px #0b0b1280,0 0 22px #fd882f27;cursor:pointer;direction:rtl;transition:transform .2s,box-shadow .2s}
.rd-gift-trigger:hover{transform:translateY(-3px);box-shadow:0 12px 36px #0008,0 0 28px #fa87394a}.rd-gift-trigger:focus-visible,.rd-gift-modal button:focus-visible{outline:3px solid #ffb35c;outline-offset:3px}.rd-gift-trigger .rd-gift-trigger-icon{font-size:22px;filter:drop-shadow(0 1px 8px #fa913b77)}
.rd-gift-modal{--rd-gold:#ffad4f;--rd-orange:#fb791b;--rd-ink:#f9f5ef;--rd-dim:#b5b1b2;position:fixed;inset:0;z-index:99997;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;background:rgba(5,7,13,.84);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);font-family:RoshdinoYekan,Tahoma,Arial,sans-serif;color:var(--rd-ink);direction:rtl;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
.rd-gift-modal[hidden]{display:none!important}body.rd-gift-lock{overflow:hidden}
.rd-gift-panel{position:relative;isolation:isolate;width:min(100%,430px);max-height:calc(100svh - 18px);min-height:610px;overflow:auto;overflow-x:hidden;border-radius:32px;padding:23px 22px 26px;border:1px solid rgba(255,194,117,.16);background:radial-gradient(ellipse at 51% 42%,rgba(255,126,31,.21),transparent 51%),linear-gradient(153deg,#24232e 0%,#171821 46%,#11131a 100%);box-shadow:0 32px 110px #0009,0 0 80px #fd7f2416;text-align:center}
.rd-gift-panel::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse at top,#ffffff0e,transparent 46%)}
.rd-gift-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rd-gift-pill{font-size:11px;color:#f4bd85;border:1px solid #ffb46f49;padding:6px 12px;border-radius:50px;background:#ff993013}.rd-gift-close{width:34px;height:34px;border-radius:12px;background:#ffffff10;border:1px solid #ffffff22;color:var(--rd-ink);cursor:pointer;font-size:23px;line-height:1}
.rd-gift-title{font-weight:900;font-size:clamp(22px,5.5vw,28px);margin:20px 0 8px;line-height:1.7;letter-spacing:-.5px}.rd-gift-title em{font-style:normal;color:var(--rd-gold)}.rd-gift-desc{font-size:12.5px;line-height:2;color:var(--rd-dim);margin:0 auto 3px;max-width:330px}
.rd-gift-stage{position:relative;height:270px;display:grid;place-items:center;perspective:900px;touch-action:pan-y;user-select:none}
.rd-gift-halo{position:absolute;top:35px;left:8%;right:8%;bottom:8px;background:radial-gradient(ellipse,#ff7a263d,transparent 64%);filter:blur(12px);animation:rd-gift-breathe 3.2s ease-in-out infinite alternate}
.rd-gift-floor{position:absolute;width:210px;height:32px;bottom:43px;border-radius:50%;background:#ff731b63;filter:blur(21px)}
.rd-gift-cube{position:relative;width:171px;height:146px;transform-style:preserve-3d;transform:rotateX(-13deg) rotateY(-20deg);animation:rd-gift-float 3.5s ease-in-out infinite alternate;filter:drop-shadow(0 25px 22px #0009)}
.rd-gift-front,.rd-gift-side,.rd-gift-top,.rd-gift-lid{position:absolute;box-sizing:border-box;border:1px solid #ffd09065;backface-visibility:hidden}
.rd-gift-front{inset:20px 0 0 0;border-radius:7px 7px 14px 14px;background:linear-gradient(135deg,#ffad3b,#ff7a1e 43%,#a84317);transform:translateZ(22px);box-shadow:inset -17px -20px 32px #8d330931,inset 11px 6px 14px #fff5}
.rd-gift-front:before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 13px);width:26px;background:linear-gradient(90deg,#ffe6b2,#fff6d8,#ffd68a);box-shadow:0 0 11px #fff6}
.rd-gift-front:after{content:"✦";position:absolute;top:44px;left:calc(50% - 20px);width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#c55516;background:#fff5d9;font-size:30px;box-shadow:0 4px 20px #8c4b2d61}
.rd-gift-side{top:20px;bottom:0;right:-23px;width:46px;border-radius:3px 9px 12px 1px;background:linear-gradient(105deg,#d75e16,#9d3615);transform-origin:left;transform:rotateY(90deg);}
.rd-gift-top{top:-1px;left:0;width:171px;height:54px;border-radius:10px;background:linear-gradient(120deg,#ffd16b,#ffab3a,#f67118);transform:rotateX(78deg) translateZ(10px)}
.rd-gift-lid{z-index:3;top:-16px;left:-10px;width:192px;height:54px;border-radius:9px 9px 15px 15px;background:linear-gradient(145deg,#ffc34e,#ff8927 68%,#c74c16);box-shadow:0 8px 24px #60201099,inset 0 6px 10px #fff6;transform:translateZ(34px);transform-origin:center bottom;transition:transform 950ms cubic-bezier(.14,1.33,.33,1),opacity 800ms ease}
.rd-gift-lid:before{content:"";position:absolute;inset:0 auto 0 calc(50% - 15px);width:30px;background:linear-gradient(90deg,#ffe7ac,#fff6d6,#fbd48e);box-shadow:inset 2px 0 4px #fff6}
.rd-gift-lid:after{content:"✦";position:absolute;top:13px;left:calc(50% - 16px);display:grid;place-items:center;width:32px;height:30px;color:#e46d17;font-size:20px}
.rd-gift-ribbon{position:absolute;top:-65px;left:calc(50% - 20px);width:40px;height:56px;z-index:4;transform:translateZ(48px);transition:transform 950ms cubic-bezier(.14,1.33,.33,1),opacity 600ms}
.rd-gift-ribbon:before,.rd-gift-ribbon:after{content:"";position:absolute;width:29px;height:42px;border:9px solid #fff0bd;border-radius:80% 15% 80% 20%;box-shadow:0 3px 10px #c26b34}.rd-gift-ribbon:before{left:-16px;transform:rotate(-23deg)}.rd-gift-ribbon:after{right:-16px;transform:scaleX(-1) rotate(-23deg)}
.rd-gift-sparks{position:absolute;inset:0;pointer-events:none;overflow:hidden}.rd-gift-sparks i{position:absolute;top:54%;left:50%;width:6px;height:11px;border-radius:5px;background:linear-gradient(#ffe88b,#ff8a18);opacity:0;transform:translate(-50%,-50%)}
.rd-gift-instruction{display:inline-flex;gap:8px;align-items:center;justify-content:center;margin:0 0 12px;font-size:13px;font-weight:800;color:#ffdfb8}.rd-gift-instruction span{font-size:23px;display:inline-block;animation:rd-gift-phone 1.3s ease-in-out infinite alternate}
.rd-gift-meter{margin:2px auto 14px;background:#ffffff18;width:195px;height:5px;border-radius:6px;overflow:hidden}.rd-gift-meter>span{display:block;background:linear-gradient(90deg,#ff8629,#ffe6a0);width:0;height:100%;transition:width .15s;border-radius:6px}
.rd-gift-primary,.rd-gift-secondary{width:100%;min-height:46px;padding:11px 16px;border-radius:16px;font:800 13px RoshdinoYekan,Tahoma,sans-serif;cursor:pointer;transition:transform .2s,filter .2s}.rd-gift-primary{background:linear-gradient(105deg,#ffb048,#fb7220);border:1px solid #ffe1a660;color:#291610;box-shadow:0 10px 28px #ee761b3c}.rd-gift-primary:hover{filter:brightness(1.07);transform:translateY(-2px)}.rd-gift-secondary{margin-top:10px;color:var(--rd-ink);background:#ffffff0c;border:1px solid #ffffff2b}
.rd-gift-status{min-height:17px;color:#ffceaa;font-size:11px;line-height:1.8;margin:9px 0 0}
.rd-gift-rewards{display:none;animation:rd-gift-cardin .6s both}.rd-gift-modal[data-state="opened"] .rd-gift-rewards{display:block}.rd-gift-modal[data-state="opened"] .rd-gift-preopen{display:none}.rd-gift-modal[data-state="opened"] .rd-gift-lid{transform:translate3d(115px,50px,34px) rotateZ(40deg) rotateX(-38deg);opacity:.92}.rd-gift-modal[data-state="opened"] .rd-gift-ribbon{transform:translate3d(115px,50px,48px) rotateZ(40deg);opacity:0}.rd-gift-modal[data-state="opened"] .rd-gift-cube{animation:none;transform:rotateX(-13deg) rotateY(-20deg) scale(1.06)}.rd-gift-modal[data-state="opened"] .rd-gift-sparks i{animation:rd-gift-explode 1.2s ease-out forwards;animation-delay:calc(var(--i) * 26ms)}
.rd-gift-result-title{font-size:21px;font-weight:900;margin:-5px 0 14px}.rd-gift-result-title b{color:var(--rd-gold)}.rd-gift-reward-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.rd-gift-reward{border:1px solid #fbb26444;border-radius:19px;background:linear-gradient(135deg,#fff2d213,#ff7b2713);padding:13px 8px;min-width:0}.rd-gift-reward>span{font-size:24px}.rd-gift-reward strong{display:block;font-weight:900;font-size:15px;margin:3px 0}.rd-gift-reward small{display:block;color:#e8b895;font-size:10px}.rd-gift-code{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 13px;background:#0a0c1688;border:1px dashed #ffc17872;border-radius:15px;direction:ltr}.rd-gift-code code{color:#fff4d5;font-family:ui-monospace,Consolas,monospace;font-weight:800;font-size:15px}.rd-gift-code button{border:0;border-radius:10px;background:#ffffff22;color:#fff;padding:8px 12px;font:700 12px RoshdinoYekan,Tahoma,sans-serif;cursor:pointer}.rd-gift-note{font-size:11px;color:var(--rd-dim);line-height:1.8;margin:10px 0}
html[data-theme="light"] .rd-gift-modal,html.light .rd-gift-modal{background:#faf5efcf}.rd-gift-modal[data-theme="light"]{background:#faf5efcf}.rd-gift-modal[data-theme="light"] .rd-gift-panel,html[data-theme="light"] .rd-gift-panel,html.light .rd-gift-panel{background:radial-gradient(ellipse at 49% 42%,#ffaf6b3a,transparent 48%),linear-gradient(160deg,#fff9f3,#fff0e2);--rd-ink:#35251d;--rd-dim:#715b4f;border:1px solid #e9c7a9;box-shadow:0 25px 80px #8d4a2b3d}.rd-gift-modal[data-theme="light"] .rd-gift-pill,html[data-theme="light"] .rd-gift-pill,html.light .rd-gift-pill{color:#99511c}.rd-gift-modal[data-theme="light"] .rd-gift-code,html[data-theme="light"] .rd-gift-code,html.light .rd-gift-code{background:#fcf0e4}.rd-gift-modal[data-theme="light"] .rd-gift-code code,html[data-theme="light"] .rd-gift-code code,html.light .rd-gift-code{color:#a54c10}.rd-gift-modal[data-theme="light"] .rd-gift-code button,html[data-theme="light"] .rd-gift-code button,html.light .rd-gift-code button{color:#663e20;background:#f7d9ba}.rd-gift-modal[data-theme="light"] .rd-gift-reward small,html[data-theme="light"] .rd-gift-reward small,html.light .rd-gift-reward small{color:#8b5d42}
@keyframes rd-gift-float{to{transform:translateY(-9px) rotateX(-10deg) rotateY(-16deg)}}@keyframes rd-gift-breathe{to{opacity:.55;transform:scale(1.12)}}@keyframes rd-gift-phone{to{transform:rotate(18deg) translateX(2px)}}@keyframes rd-gift-cardin{from{opacity:0;transform:translateY(17px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes rd-gift-explode{20%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(520deg)}}
@media(max-width:380px){.rd-gift-panel{padding:17px 15px;min-height:580px}.rd-gift-stage{height:248px}.rd-gift-title{font-size:22px}.rd-gift-trigger{left:10px;bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-height:700px){.rd-gift-panel{min-height:0}.rd-gift-stage{height:210px}.rd-gift-cube{transform:scale(.8) rotateX(-13deg) rotateY(-20deg)}}
@media(prefers-reduced-motion:reduce){.rd-gift-modal *, .rd-gift-trigger{animation:none!important;transition:none!important}.rd-gift-stage{height:230px}}

/* Theme text contrast: modal token inheritance follows parent property otherwise. */
.rd-gift-modal[data-theme="light"] .rd-gift-panel,html[data-theme="light"] .rd-gift-panel,html.light .rd-gift-panel{color:#35251d}.rd-gift-modal[data-theme="light"] .rd-gift-title em{color:#b75e11}.rd-gift-modal[data-theme="light"] .rd-gift-result-title b{color:#b75e11}.rd-gift-modal[data-theme="light"] .rd-gift-instruction{color:#8e4d1a}.rd-gift-modal[data-theme="light"] .rd-gift-status{color:#93521a}.rd-gift-modal[data-theme="light"] .rd-gift-close{background:#7b48131b}


/* =========================================================
   Roshdino Surprise — Typography & Luxe Feel · v2 (2026-11-05)
   Self-hosted original RoshdinoYekan, no modification to the hero.
   All changes are isolated under .rd-gift-modal/.rd-gift-trigger.
   ========================================================= */

.rd-gift-modal,
.rd-gift-modal :is(button,span,p,h2,div,small,strong),
.rd-gift-trigger,
.rd-gift-trigger span{
  font-family:"RoshdinoYekan",RoshdinoYekan,Tahoma,Arial,sans-serif;
}
.rd-gift-modal{
  --rd-gold:#ffbb6b;
  --rd-ink:#fff8f1;
  --rd-dim:#d6c9bf;
  font-size:14px;
  line-height:1.75;
  font-optical-sizing:auto;
  font-synthesis:none;
  font-kerning:normal;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.rd-gift-panel{
  padding:clamp(19px,5vw,27px) clamp(19px,5vw,27px) 26px;
  border-radius:34px;
  border:1px solid rgba(255,196,133,.23);
  background:
   radial-gradient(ellipse 75% 42% at 50% 39%,rgba(255,134,53,.15),transparent 80%),
   radial-gradient(ellipse 75% 45% at 13% 5%,rgba(255,241,215,.052),transparent 75%),
   linear-gradient(148deg,#25242f 0%,#1c1b26 45%,#11131c 100%);
  box-shadow:0 34px 88px rgba(0,0,0,.62),0 0 68px rgba(254,128,39,.095),inset 0 1px rgba(255,255,255,.075);
  scrollbar-width:thin;
  scrollbar-color:rgba(255,184,106,.27) transparent;
}
.rd-gift-header{gap:12px}
.rd-gift-pill{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:750;line-height:1.7;
  padding:7px 13px;
  color:#ffd2a0;
  background:linear-gradient(100deg,rgba(255,157,67,.12),rgba(255,182,121,.055));
  border:1px solid rgba(255,188,111,.27);
  box-shadow:inset 0 1px rgba(255,255,255,.045);
  white-space:normal;
}
.rd-gift-close{
  flex:0 0 42px;width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:15px;
  font-size:23px;font-weight:400;
  background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.13);
  transition:background .2s ease,transform .2s ease;
}
.rd-gift-title{
  margin:17px 0 7px;
  font-size:clamp(24px,6.25vw,29px);
  line-height:1.58;
  font-weight:900;
  letter-spacing:-.013em;
  text-wrap:balance;
  text-shadow:0 3px 18px rgba(0,0,0,.12);
}
.rd-gift-title em{
  color:#ffba72;
  background:linear-gradient(105deg,#ffd38d,#ff9b3f);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.rd-gift-desc{
  max-width:326px;
  margin:0 auto 3px;
  font-size:14px;
  font-weight:450;
  line-height:1.95;
  color:#d5c9c4;
  text-wrap:pretty;
}
.rd-gift-stage{height:260px;perspective:960px;margin-top:17px}
.rd-gift-halo{
  top:33px;
  background:radial-gradient(ellipse,rgba(255,157,63,.265) 0%,rgba(253,123,35,.11) 38%,transparent 73%);
  filter:blur(19px);
}
.rd-gift-floor{
  width:225px;height:27px;bottom:39px;
  background:rgba(248,128,46,.33);
  filter:blur(23px);
}
.rd-gift-cube{
  filter:drop-shadow(0 26px 25px rgba(0,0,0,.5));
}
.rd-gift-preopen{position:relative}
.rd-gift-instruction{
  display:flex;width:fit-content;max-width:100%;
  gap:10px;align-items:center;
  margin:0 auto 12px;
  padding:9px 12px;
  border:1px solid rgba(255,182,103,.2);
  border-radius:16px;
  background:linear-gradient(100deg,rgba(255,163,67,.095),rgba(255,163,67,.03));
  color:#ffdab0;
  font-size:14px;font-weight:800;line-height:1.7;
  text-align:center;
}
.rd-gift-instruction span{font-size:22px;flex:0 0 auto}
.rd-gift-meter{height:6px;margin:0 auto 16px;background:rgba(255,255,255,.095);border-radius:20px}
.rd-gift-primary,.rd-gift-secondary{
  min-height:50px;
  padding:12px 15px;
  border-radius:17px;
  font-family:"RoshdinoYekan",RoshdinoYekan,Tahoma,sans-serif;
  font-size:14px;font-weight:850;line-height:1.65;
  letter-spacing:0;
  -webkit-tap-highlight-color:transparent;
}
.rd-gift-primary{
  background:linear-gradient(115deg,#ffbd69 0%,#ff9b41 43%,#ff7b27 100%);
  border:1px solid rgba(255,231,194,.55);
  color:#3d200d;
  box-shadow:0 12px 28px rgba(246,118,38,.24),inset 0 1px rgba(255,255,255,.37);
}
.rd-gift-secondary{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.18);
  color:#f7ede5;
  margin-top:11px;
}
.rd-gift-status{
  margin:12px auto 0;
  max-width:318px;min-height:20px;
  font-size:12px;font-weight:500;line-height:1.85;
  color:#d7bda8;
}
.rd-gift-trigger{
  font-family:"RoshdinoYekan",RoshdinoYekan,Tahoma,sans-serif;
  font-size:13.5px;font-weight:800;
  padding:11px 16px;
  border:1px solid rgba(255,193,121,.48);
  box-shadow:0 10px 33px rgba(5,7,13,.43),0 0 21px rgba(255,136,48,.14);
}
.rd-gift-result-title{
  margin:0 0 13px;
  font-size:clamp(23px,5.6vw,27px);line-height:1.6;
  font-weight:900;letter-spacing:-.01em;
}
.rd-gift-reward-list{gap:12px;margin-bottom:15px}
.rd-gift-reward{
  padding:15px 9px 14px;
  border-radius:20px;
  border:1px solid rgba(255,186,115,.27);
  background:linear-gradient(150deg,rgba(255,186,108,.11),rgba(255,121,34,.035) 72%);
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 9px 22px rgba(0,0,0,.075);
}
.rd-gift-reward>span{display:block;font-size:27px;line-height:1.3;margin-bottom:5px}
.rd-gift-reward strong{
  font-size:clamp(15px,4.3vw,18px);
  font-weight:900;
  font-variant-numeric:tabular-nums;
  line-height:1.65;
  margin:4px 0 2px;
  overflow-wrap:anywhere;
}
.rd-gift-reward small{
  font-size:12px;font-weight:550;
  color:#eac8ad;
  line-height:1.75;
}
.rd-gift-code{
  padding:10px 11px;
  min-height:53px;
  border-radius:17px;
  background:rgba(7,9,16,.4);
  border:1px dashed rgba(255,191,126,.5);
  gap:8px;
}
.rd-gift-code code{
  font-size:clamp(12px,3.4vw,15px);
  overflow-wrap:anywhere;word-break:break-word;
  font-variant-numeric:tabular-nums;
  text-align:left;
}
.rd-gift-code button{
  flex:0 0 auto;
  font-family:"RoshdinoYekan",RoshdinoYekan,Tahoma,sans-serif;
  font-size:12px;font-weight:800;
  min-height:37px;padding:7px 11px;
  border-radius:11px;
  color:#fff3e8;
  background:rgba(255,255,255,.14);
}
.rd-gift-note{
  font-size:12px;font-weight:500;
  line-height:1.95;
  margin:12px 0 14px;
  color:#d7c9be;
}
.rd-gift-modal[data-state="opened"] .rd-gift-stage{height:215px;margin-top:13px}
.rd-gift-modal[data-state="opened"] .rd-gift-floor{bottom:25px}
.rd-gift-modal[data-state="opened"] .rd-gift-cube{filter:drop-shadow(0 20px 22px rgba(0,0,0,.4))}
@media(hover:hover){
  .rd-gift-close:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}
  .rd-gift-secondary:hover{background:rgba(255,255,255,.1)}
}
/* Contrast and softness in light mode; equal font-size in both modes. */
.rd-gift-modal[data-theme="light"] .rd-gift-panel,
html[data-theme="light"] .rd-gift-panel,
html.light .rd-gift-panel{
  background:
    radial-gradient(ellipse 80% 43% at 50% 43%,rgba(255,162,91,.2),transparent 76%),
    linear-gradient(150deg,#fffdf8 0%,#fff7ef 48%,#ffecdc 100%);
  border:1px solid rgba(182,107,40,.24);
  box-shadow:0 27px 80px rgba(130,70,39,.19),inset 0 1px rgba(255,255,255,.95);
}
.rd-gift-modal[data-theme="light"] .rd-gift-desc,
html[data-theme="light"] .rd-gift-desc,
html.light .rd-gift-desc{color:#6e5748}
.rd-gift-modal[data-theme="light"] .rd-gift-title em{
  background:linear-gradient(100deg,#b85510,#e97915);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.rd-gift-modal[data-theme="light"] .rd-gift-pill,
html[data-theme="light"] .rd-gift-pill,
html.light .rd-gift-pill{background:rgba(246,139,39,.1);border-color:rgba(180,96,30,.23);color:#90400b}
.rd-gift-modal[data-theme="light"] .rd-gift-instruction,
html[data-theme="light"] .rd-gift-instruction,
html.light .rd-gift-instruction{color:#90430e;background:rgba(252,177,109,.17);border-color:rgba(186,96,25,.21)}
.rd-gift-modal[data-theme="light"] .rd-gift-secondary,
html[data-theme="light"] .rd-gift-secondary,
html.light .rd-gift-secondary{color:#553822;background:rgba(150,83,31,.055);border-color:rgba(144,85,43,.25)}
.rd-gift-modal[data-theme="light"] .rd-gift-status,
html[data-theme="light"] .rd-gift-status,
html.light .rd-gift-status{color:#875a3c}
.rd-gift-modal[data-theme="light"] .rd-gift-reward,
html[data-theme="light"] .rd-gift-reward,
html.light .rd-gift-reward{background:linear-gradient(145deg,rgba(255,181,109,.19),rgba(255,246,236,.7));border-color:rgba(188,102,33,.2)}
.rd-gift-modal[data-theme="light"] .rd-gift-reward small,
html[data-theme="light"] .rd-gift-reward small,
html.light .rd-gift-reward small{color:#765442}
.rd-gift-modal[data-theme="light"] .rd-gift-note,
html[data-theme="light"] .rd-gift-note,
html.light .rd-gift-note{color:#72594b}
@media(max-width:380px){
  .rd-gift-panel{padding:19px 16px 21px;border-radius:29px}
  .rd-gift-title{font-size:24px;line-height:1.58}
  .rd-gift-desc{font-size:13.5px}
  .rd-gift-stage{height:238px}
  .rd-gift-instruction{font-size:13px;padding:9px 10px}
  .rd-gift-modal[data-state="opened"] .rd-gift-stage{height:196px}
  .rd-gift-reward strong{font-size:15.5px}
  .rd-gift-code{gap:5px;padding:8px}
  .rd-gift-code button{padding:6px 8px}
}
@media(max-height:690px){
  .rd-gift-panel{min-height:0}
  .rd-gift-stage{height:205px}
  .rd-gift-modal[data-state="opened"] .rd-gift-stage{height:174px}
  .rd-gift-desc{line-height:1.75}
}
@media(prefers-reduced-motion:reduce){
  .rd-gift-modal[data-state="opened"] .rd-gift-rewards{animation:none}
}
