.dnx-receipt-entry{position:fixed;right:22px;bottom:100px;z-index:6000;border:1px solid #b99750;border-radius:24px;background:#192e49;color:#f1d58e;padding:10px 18px;font:600 13px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;box-shadow:0 6px 22px #17283b25;cursor:pointer}
.dnx-receipt-layer,.dnx-receipt-compose-layer{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:#07101bd9;backdrop-filter:blur(5px);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.dnx-receipt-layer{z-index:2147483100}.dnx-receipt-card{position:relative;box-sizing:border-box;width:80vw;height:80vh;max-width:none;max-height:none;overflow:hidden;border:1px solid #c8a96a;border-radius:22px;background:radial-gradient(ellipse at 50% 35%,#263e5e 0,#14263f 52%,#0b192d 100%);box-shadow:0 0 0 7px #bf9b4c18,0 35px 100px #0009;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4vh 4vw}
.dnx-receipt-card::before,.dnx-receipt-card::after{content:"";position:absolute;inset:14px;border:1px solid #d2b46b36;border-radius:13px;pointer-events:none}.dnx-receipt-card::after{inset:22px;border-color:#d2b46b18}
.dnx-receipt-close{position:absolute;right:24px;top:19px;width:40px;height:40px;display:grid;place-items:center;background:transparent;border:1px solid #d4bb7c55;border-radius:50%;color:#dcc58b;font:28px/1 sans-serif;cursor:pointer;z-index:2}
.dnx-receipt-badge{color:#ddc58c;font-size:clamp(10px,1vw,15px);letter-spacing:.22em;margin:0 0 2vh}.dnx-receipt-title{font-size:clamp(34px,6vw,94px);letter-spacing:.22em;margin:0 0 2vh!important;line-height:1.2!important;font-weight:800;color:#efd69d;text-shadow:0 3px 30px #d6b46633;padding-left:.22em}
.dnx-receipt-person{font-size:clamp(20px,2.8vw,44px);font-weight:600;margin:0 0 10px!important;line-height:1.4;max-width:100%;overflow-wrap:anywhere}.dnx-receipt-region{font-size:clamp(11px,1vw,16px);color:#dac696;border:1px solid #cab07855;border-radius:20px;padding:3px 18px;background:#dbc1840b}
.dnx-receipt-label{font-size:clamp(12px,1.2vw,20px);color:#b5c0ce;margin:3vh 0 0!important;letter-spacing:.16em}.dnx-receipt-amount{font-size:clamp(28px,6.3vw,100px);font-weight:750;color:#f6dfaa;font-variant-numeric:tabular-nums;line-height:1.3;margin:0!important;max-width:100%;overflow-wrap:anywhere;letter-spacing:-.025em}
.dnx-receipt-motto{font-size:clamp(11px,1.2vw,18px);color:#c2cbd7;margin:2.5vh 0 0!important;letter-spacing:.1em}.dnx-receipt-countdown{position:absolute;bottom:3vh;margin:0!important;color:#8395ab;font-size:12px}
.dnx-receipt-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.dnx-receipt-confetti i{position:absolute;top:-15px;left:calc(var(--i)*5.7%);width:5px;height:12px;background:#d9b968;opacity:0;transform:rotate(calc(var(--i)*21deg));animation:dnx-receipt-fall 4.5s ease-out infinite;animation-delay:calc(var(--i)*-.22s)}.dnx-receipt-confetti i:nth-child(3n){background:#8fa9c4;width:4px;height:8px}
@keyframes dnx-receipt-fall{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:.65}100%{opacity:0;transform:translateY(85vh) rotate(420deg)}}
.dnx-receipt-compose{position:relative;box-sizing:border-box;background:#fff;color:#24364c;width:460px;max-width:calc(100vw - 32px);border-radius:16px;padding:28px;box-shadow:0 24px 80px #0005}
.dnx-receipt-compose h2{font-size:22px;margin:0 0 10px}.dnx-receipt-compose-hint{font-size:13px;line-height:1.7;color:#75859a;margin:0 0 20px}.dnx-receipt-compose label{display:block;font-size:13px;margin:15px 0 7px}.dnx-receipt-compose input,.dnx-receipt-compose select{box-sizing:border-box;width:100%;height:43px;border:1px solid #d8e0eb;border-radius:8px;padding:9px 11px;color:#24364c;background:#fff;font:14px inherit}
.dnx-receipt-compose-close{position:absolute;top:15px;right:15px;border:0;background:none;font-size:24px;color:#8896a8;cursor:pointer}.dnx-receipt-form-error{min-height:20px;margin:9px 0;color:#b84f35;font-size:12px}.dnx-receipt-compose-actions{display:flex;justify-content:flex-end;gap:10px}.dnx-receipt-compose-actions button{font-size:13px;padding:10px 16px;border:1px solid #d5deea;border-radius:8px;cursor:pointer;background:#f8fafc;color:#344b66}.dnx-receipt-compose-actions .dnx-receipt-publish{background:#1c334f;color:#efd298;border-color:#1c334f}.dnx-receipt-compose-actions button:disabled{opacity:.55;cursor:wait}
.dnx-receipt-entry:focus-visible,.dnx-receipt-layer button:focus-visible,.dnx-receipt-compose button:focus-visible,.dnx-receipt-compose select:focus-visible,.dnx-receipt-compose input:focus-visible{outline:3px solid #d8b460;outline-offset:3px}
@media(max-width:600px){.dnx-receipt-entry{right:14px;bottom:82px;padding:9px 13px;font-size:12px}.dnx-receipt-card{padding:55px 18px;border-radius:16px}.dnx-receipt-close{right:15px;top:15px;width:31px;height:31px;font-size:24px}.dnx-receipt-person{font-size:23px}.dnx-receipt-title{font-size:36px}.dnx-receipt-badge{margin-bottom:22px}.dnx-receipt-label{margin-top:26px!important}.dnx-receipt-motto{font-size:11px;letter-spacing:0}.dnx-receipt-compose{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){.dnx-receipt-confetti{display:none}}
.dnx-receipt-layout{display:grid;grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:2%;width:100%;height:100%;align-items:center;position:relative;z-index:1}.dnx-receipt-portrait{height:90%;width:100%;overflow:hidden;border-radius:12px;mask-image:linear-gradient(#000 82%,transparent)}.dnx-receipt-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}.dnx-receipt-content{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.dnx-receipt-title{font-size:clamp(32px,5vw,80px)}.dnx-receipt-amount{font-size:clamp(26px,5.2vw,86px)}.dnx-receipt-close{z-index:3}.dnx-receipt-countdown{z-index:3}.dnx-receipt-thumbnail{display:block;width:70px;height:82px;object-fit:cover;margin-top:10px;border-radius:7px}.dnx-receipt-thumbnail[hidden]{display:none}.dnx-receipt-compose{max-height:calc(100vh - 30px);overflow:auto}.dnx-receipt-compose .dnx-receipt-photo-input{height:auto;min-height:43px;padding:8px}
@media(max-width:600px){.dnx-receipt-layout{grid-template-columns:1fr;grid-template-rows:31% 69%;gap:0}.dnx-receipt-portrait{height:100%;width:45%;margin:0 auto}.dnx-receipt-card{padding:43px 15px 42px}.dnx-receipt-title{font-size:30px;margin-bottom:10px!important}.dnx-receipt-person{font-size:19px;margin-bottom:6px!important}.dnx-receipt-badge{font-size:9px;margin-bottom:9px}.dnx-receipt-label{margin-top:12px!important}.dnx-receipt-motto{margin-top:10px!important}.dnx-receipt-countdown{font-size:10px;bottom:15px}}

/* Festive presentation overrides. Publishing, photos and five-second timer are unchanged. */
.dnx-receipt-entry{border-color:#f0c472;background:linear-gradient(135deg,#ca1932,#990c22);color:#ffedba;box-shadow:0 7px 25px #8d0d2940;font-weight:700}
.dnx-receipt-status-entry{position:fixed;right:22px;bottom:148px;z-index:6000;background:#fff8ec;color:#9a1830;border:1px solid #e9c99b;border-radius:22px;padding:8px 18px;font:600 12px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;text-decoration:none;box-shadow:0 4px 18px #4d07131a}
@media(max-width:600px){.dnx-receipt-status-entry{right:14px;bottom:128px;padding:7px 13px}}
.dnx-receipt-layer,.dnx-receipt-compose-layer{background:#20080ed9;backdrop-filter:blur(6px)}
.dnx-receipt-card{
  padding:4vh 3.5vw;border:2px solid #f2c77d;color:#fff6df;isolation:isolate;
  background:radial-gradient(ellipse at 69% 39%,#e6333d 0,#c81431 33%,#a50729 63%,#760b27 100%);
  box-shadow:0 0 0 7px #eac38624,0 30px 110px #18020dcc,0 0 90px #c20e3040
}
.dnx-receipt-card::before{inset:12px;border-color:#ffe2a9a6;z-index:2}
.dnx-receipt-card::after{inset:20px;border-color:#ffd59535;z-index:2}
.dnx-receipt-layout{gap:4%}
.dnx-receipt-portrait{
  position:relative;box-sizing:border-box;height:85%;mask-image:none;
  border:3px solid #f8d89c;border-radius:14px;background:#620d21;
  box-shadow:0 0 0 7px #ebc67d1c,0 18px 38px #4e041f61
}
.dnx-receipt-portrait::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#eac26d15,transparent 35%,transparent 75%,#7208278c)}
.dnx-receipt-portrait img{display:block}
.dnx-receipt-badge{color:#ffdf9e;font-size:clamp(10px,1vw,16px);padding:5px 15px;border:1px solid #f7d59a66;border-radius:22px;background:#80051b30}
.dnx-receipt-title{
  position:relative;font-family:"Songti SC","STSong","SimSun",serif;font-size:clamp(32px,5.3vw,90px);letter-spacing:.14em;
  line-height:1.25!important;font-weight:900;padding-left:.14em;color:#ffe9af;
  background:linear-gradient(180deg,#fff7da 10%,#ffe2a0 42%,#efb450 70%,#ffdf92);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 3px 0 #720519) drop-shadow(0 7px 14px #5b041942)
}
.dnx-receipt-person{font-size:clamp(20px,2.6vw,44px);font-weight:750;margin-bottom:12px!important;color:#fff8e9;text-shadow:0 2px 10px #75082166}
.dnx-receipt-region{font-weight:650;color:#970c26;border-color:#ffe9b9;padding:3px 23px;background:linear-gradient(180deg,#ffedbf,#edbd68);box-shadow:0 3px 12px #7f092933}
.dnx-receipt-money-block{box-sizing:border-box;width:100%;margin-top:3vh;padding:1.8vh 8px;border-top:1px solid #f9d69170;border-bottom:1px solid #f9d69170;background:linear-gradient(90deg,transparent,#7b061a36 28%,#7b061a36 72%,transparent)}
.dnx-receipt-label{font-size:clamp(12px,1.2vw,21px);color:#ffe7b7;letter-spacing:.2em;margin:0 0 4px!important}
.dnx-receipt-amount{
  font-family:Georgia,"Times New Roman","Songti SC",serif;font-size:clamp(27px,calc(5.7vw * var(--amount-scale,1)),96px);
  font-weight:750;font-variant-numeric:lining-nums tabular-nums;line-height:1.2;letter-spacing:-.035em;white-space:nowrap;
  color:#fff0b7;text-shadow:0 3px 0 #850d25,0 0 25px #ffba5750
}
.dnx-receipt-motto{font-size:clamp(11px,1.15vw,19px);font-weight:500;color:#ffe7b1;margin-top:2.3vh!important}
.dnx-receipt-countdown{bottom:2vh;color:#f7d2ab;line-height:1.6}
.dnx-receipt-countdown::after{content:"";display:block;margin:6px auto 0;height:2px;width:110px;background:#f7d297;border-radius:2px;transform-origin:left;animation:dnx-receipt-timer 5s linear forwards}
.dnx-receipt-close{right:22px;top:18px;width:38px;height:38px;z-index:4;background:#790b2852;border-color:#f7d59494;color:#ffe4b2}
.dnx-receipt-close:hover{background:#63071e90}
.dnx-receipt-festive,.dnx-receipt-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.dnx-receipt-festive{background:repeating-conic-gradient(from -25deg at 72% 40%,#ffe69d08 0deg 4deg,transparent 4deg 13deg)}
.dnx-receipt-ribbon{position:absolute;bottom:-27%;left:-12%;width:135%;height:48%;border-top:3px solid #f9d494;border-radius:50%;transform:rotate(-9deg);box-shadow:0 -9px 0 #f8d09616,0 -18px 0 #f8d0960b,0 -3px 24px #ffd47855}
.dnx-receipt-confetti i{top:-18px;left:calc(var(--i) * 2.94%);width:6px;height:14px;border-radius:1px;background:#ffd97d;animation:dnx-receipt-fall 4.6s linear infinite;animation-delay:calc(var(--i) * -.137s)}
.dnx-receipt-confetti i:nth-child(3n){width:4px;height:9px;background:#fff1bf}
.dnx-receipt-confetti i:nth-child(4n){width:5px;height:18px;background:#e98137}
.dnx-receipt-firework{position:absolute;width:180px;height:180px;animation:dnx-receipt-firework 3.5s ease-out infinite}
.dnx-receipt-firework-0{right:-10px;top:-20px}
.dnx-receipt-firework-1{right:33%;bottom:-68px;transform:scale(.8);animation-delay:-1.2s}
.dnx-receipt-firework-2{left:-64px;top:36%;transform:scale(.6);animation-delay:-2.3s}
.dnx-receipt-firework i{position:absolute;top:50%;left:50%;height:57px;width:2px;transform-origin:center 0;transform:rotate(calc(var(--ray) * 30deg)) translateY(18px);background:linear-gradient(transparent,#ffeaab 70%,#ffdb7a);border-radius:4px}
@keyframes dnx-receipt-fall{0%{opacity:0;transform:translateY(-20px) rotate(-25deg)}12%{opacity:.7}100%{opacity:0;transform:translateY(86vh) rotate(420deg)}}
@keyframes dnx-receipt-firework{0%{opacity:0;scale:.3}20%{opacity:.7}70%,100%{opacity:0;scale:1.3}}
@keyframes dnx-receipt-timer{to{transform:scaleX(0)}}
.dnx-receipt-compose{background:#fffaf4;color:#54222c;border:1px solid #ecd3aa}
.dnx-receipt-compose h2{color:#a5132b}
.dnx-receipt-compose-hint{color:#856a66}
.dnx-receipt-compose input,.dnx-receipt-compose select{border-color:#e1cfc4;color:#54222c;font:inherit;font-size:14px}
.dnx-receipt-compose-close{color:#9b7b76}
.dnx-receipt-form-error{color:#ae1731}
.dnx-receipt-compose-actions button{border-color:#dec9b8;background:#fff8ec;color:#75442f}
.dnx-receipt-compose-actions .dnx-receipt-publish{background:linear-gradient(135deg,#c91c36,#a20b25);color:#ffe4a6;border-color:#ad1230}
.dnx-receipt-compose-actions{flex-wrap:wrap}
.dnx-receipt-compose-actions .dnx-receipt-test{background:#fff0d1;border-color:#d9ad64;color:#8e4d1d}
.dnx-receipt-form-error.success{color:#5d762c}
.dnx-receipt-thumbnail{border:1px solid #e1c5a1}
.dnx-receipt-entry:focus-visible,.dnx-receipt-layer button:focus-visible,.dnx-receipt-compose button:focus-visible,.dnx-receipt-compose select:focus-visible,.dnx-receipt-compose input:focus-visible{outline-color:#ffd188}
@media(max-width:600px){
  .dnx-receipt-card{padding:42px 18px 44px;border-radius:17px}
  .dnx-receipt-card::before{inset:8px}.dnx-receipt-card::after{inset:13px}
  .dnx-receipt-layout{grid-template-rows:34% 66%;gap:0}
  .dnx-receipt-portrait{height:100%;width:47%;border-width:2px;border-radius:9px}
  .dnx-receipt-close{right:13px;top:12px;width:30px;height:30px}
  .dnx-receipt-title{font-size:32px;letter-spacing:.12em;margin-bottom:9px!important}
  .dnx-receipt-person{font-size:20px;margin-bottom:7px!important}
  .dnx-receipt-badge{font-size:9px;padding:3px 9px;letter-spacing:.12em;margin:0 0 9px}
  .dnx-receipt-money-block{padding:9px 2px;margin-top:12px}
  .dnx-receipt-label{font-size:11px;letter-spacing:.12em;margin-top:0!important}
  .dnx-receipt-amount{font-size:clamp(21px,calc(9.2vw * var(--amount-scale,1)),40px)}
  .dnx-receipt-motto{font-size:10px;letter-spacing:.02em;margin-top:10px!important}
  .dnx-receipt-countdown{font-size:10px;bottom:12px}.dnx-receipt-countdown::after{width:80px;margin-top:3px}
  .dnx-receipt-firework{width:120px;height:120px}.dnx-receipt-firework i{height:40px}
}
@media(max-height:650px) and (min-width:601px){
  .dnx-receipt-card{padding-top:25px;padding-bottom:35px}
  .dnx-receipt-title{font-size:min(5vw,54px);margin-bottom:8px!important}
  .dnx-receipt-person{font-size:26px;margin-bottom:7px!important}
  .dnx-receipt-badge{margin-bottom:9px}.dnx-receipt-money-block{margin-top:10px;padding:7px}
  .dnx-receipt-amount{font-size:min(calc(5vw * var(--amount-scale,1)),62px)}
  .dnx-receipt-motto{margin-top:9px!important;font-size:12px}.dnx-receipt-countdown{bottom:10px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .dnx-receipt-firework{animation:none;opacity:.35;scale:1}
  .dnx-receipt-countdown::after{animation:none}
}
