#amd-daily-gifts,#amd-daily-gifts *{box-sizing:border-box}
#amd-daily-gifts button{font:inherit;color:inherit;cursor:pointer}
#amd-daily-gifts button:focus-visible{outline:2px solid #ffdb8a;outline-offset:4px}
#amd-daily-gifts .veil{position:fixed;inset:0;background:#07090dc9;backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
#amd-daily-gifts .modal{width:1160px;max-width:100%;position:relative;background:#12151c;border:1px solid #35343b;border-radius:23px;box-shadow:0 32px 120px #000a;overflow:hidden}
#amd-daily-gifts .modal:before{content:'';position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#d5b777,transparent)}
#amd-daily-gifts header{padding:28px 34px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff0c}
#amd-daily-gifts .eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#b7a482;text-transform:uppercase}
#amd-daily-gifts h1{font-size:28px;letter-spacing:-.8px;margin:8px 0}
#amd-daily-gifts p{color:#8e94a3;line-height:1.6;margin:0}
#amd-daily-gifts header p{font-size:12px}
#amd-daily-gifts .topright{display:flex;gap:25px;align-items:center}
#amd-daily-gifts .streak{font-size:12px;color:#9fa4b1}
#amd-daily-gifts .streak b{display:block;color:#e9cc90;font-size:20px;margin-bottom:5px}
#amd-daily-gifts .close{height:34px;width:34px;border-radius:50%;background:#ffffff06;border:1px solid #ffffff12;color:#a5aab5;font-size:24px}
#amd-daily-gifts .layout{display:grid;grid-template-columns:300px 1fr}
#amd-daily-gifts .showcase{padding:27px 25px;background:radial-gradient(ellipse at 50% 32%,#40312245,transparent 63%),linear-gradient(145deg,#1c1c23,#11141b);border-right:1px solid #ffffff0a;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
#amd-daily-gifts .tag{color:#e7c889;background:#d4ae6710;border:1px solid #b9985138;padding:6px 12px;border-radius:30px;font-size:10px;letter-spacing:1.5px;text-transform:uppercase}
#amd-daily-gifts .hero{width:250px;height:242px;position:relative;display:grid;place-items:center;margin-top:12px}
#amd-daily-gifts .hero:before,#amd-daily-gifts .hero:after{content:'';position:absolute;width:204px;height:204px;border:1px solid #c5a36c20;border-radius:50%}
#amd-daily-gifts .hero:after{width:167px;height:167px;border-style:dashed;transform:rotate(-20deg)}
#amd-daily-gifts .hero svg{width:205px;height:205px;filter:drop-shadow(0 15px 25px #0009);z-index:1;animation:amd-dg-float 5s ease-in-out infinite}
#amd-daily-gifts .hero .spark{position:absolute;color:#e2c58c;top:35px;right:22px;font-size:24px}
#amd-daily-gifts .showcase h2{font-size:24px;margin:0 0 9px;letter-spacing:-.6px}
#amd-daily-gifts .showcase p{font-size:12px;min-height:57px}
#amd-daily-gifts .possible{display:flex;gap:8px;justify-content:center;margin:16px 0 24px}
#amd-daily-gifts .possible span{font-size:10px;background:#ffffff06;border:1px solid #ffffff0c;padding:6px 8px;border-radius:6px;color:#b6bac5}
#amd-daily-gifts .claim{width:100%;border:1px solid #f5d69a;background:linear-gradient(115deg,#f5d79b,#d7ac63);border-radius:10px;min-height:45px;color:#292119;font-weight:750;box-shadow:0 5px 23px #d9ab5912}
#amd-daily-gifts .claim:disabled{cursor:default;color:#9297a2;background:#23272f;border-color:#333841;box-shadow:none}
#amd-daily-gifts .hint{font-size:10px;color:#787e8b;margin-top:11px}
#amd-daily-gifts .showcase-bottom{margin-top:auto;width:100%;padding-top:25px}
#amd-daily-gifts .calendar{padding:25px 28px 22px;min-width:0}
#amd-daily-gifts .calendar-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
#amd-daily-gifts .calendar-top b{font-size:13px}
#amd-daily-gifts .calendar-top span{color:#848b99;font-size:11px}
#amd-daily-gifts .calendar-top strong{color:#d9bd87}
#amd-daily-gifts .track{height:3px;background:#272a32;border-radius:4px;margin-bottom:19px}
#amd-daily-gifts .track i{display:block;height:100%;width:20%;background:linear-gradient(90deg,#9e8152,#ecd29c);border-radius:4px}
#amd-daily-gifts .grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
#amd-daily-gifts .day{height:99px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:6px 4px 9px;border:1px solid #2a2d37;background:linear-gradient(145deg,#1d2029,#181b23);border-radius:11px;transition:transform .18s,border-color .18s;overflow:hidden}
#amd-daily-gifts .day:hover{transform:translateY(-3px);border-color:#7e735f}
#amd-daily-gifts .day svg{width:61px;height:61px;margin-bottom:0;filter:drop-shadow(0 4px 6px #0005)}
#amd-daily-gifts .day b{font-size:11px;font-weight:650}
#amd-daily-gifts .day .number{position:absolute;left:9px;top:7px;font-size:10px;color:#727a8b}
#amd-daily-gifts .day .check{position:absolute;right:7px;top:6px;color:#9bb89b;font-size:11px}
#amd-daily-gifts .day.past{background:#171a21}
#amd-daily-gifts .day.past svg,#amd-daily-gifts .day.past b{opacity:.4}
#amd-daily-gifts .day.selected{border-color:#d9b978;box-shadow:0 0 0 2px #c4a26120;background:radial-gradient(ellipse at center,#6a4c2538,#24221e)}
#amd-daily-gifts .day.special{background:radial-gradient(ellipse at top,#46324e55,#1c1c28);border-color:#493a55}
#amd-daily-gifts .day.today:after{content:'СЕГОДНЯ';position:absolute;top:7px;right:5px;font-size:6px;letter-spacing:.5px;color:#ecd09a}
#amd-daily-gifts .day.final{border-color:#75603c;background:radial-gradient(ellipse at top,#66522a50,#24201b)}
#amd-daily-gifts .final-note{grid-column:span 5;display:flex;align-items:center;gap:16px;padding:16px 19px;border:1px dashed #594b32;border-radius:11px;background:linear-gradient(100deg,#a47d3010,transparent)}
#amd-daily-gifts .final-note .star{font-size:32px;color:#d9b770}
#amd-daily-gifts .final-note b{font-size:13px;color:#ead8b6}
#amd-daily-gifts .final-note p{font-size:11px;margin-top:7px}
#amd-daily-gifts .legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:19px;color:#777f8d;font-size:10px}
#amd-daily-gifts .legend i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#6fae6b;margin-right:5px}
#amd-daily-gifts .legend span:nth-child(2) i{background:#a18ad8}
#amd-daily-gifts .legend span:nth-child(3) i{background:#68b7e5}
#amd-daily-gifts .legend span:nth-child(4) i{background:#e5bc70}
#amd-daily-gifts footer{border-top:1px solid #ffffff0b;display:flex;align-items:center;justify-content:space-between;padding:16px 33px;color:#777f8d;font-size:11px}
#amd-daily-gifts footer b{color:#b3bac6;font-weight:500}
#amd-daily-gifts .reset{background:none;border:0;color:#9f927b;font-size:11px}
#amd-daily-gifts .reveal{animation:amd-dg-reveal .6s ease both}
#amd-daily-gifts .toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#282b32;border:1px solid #c4a367;border-radius:12px;z-index:10;box-shadow:0 12px 40px #0008}
#amd-daily-gifts .hidden{display:none!important}
@keyframes amd-dg-float{50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes amd-dg-reveal{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}
@media(max-width:900px){#amd-daily-gifts .veil{padding:12px;align-items:flex-start}
#amd-daily-gifts .layout{grid-template-columns:230px 1fr}
#amd-daily-gifts .calendar{padding:20px 16px}
#amd-daily-gifts .showcase{padding:24px 16px}
#amd-daily-gifts .hero{width:200px}
#amd-daily-gifts .grid{gap:6px}
#amd-daily-gifts .day{height:90px}
#amd-daily-gifts .day svg{width:52px;height:52px}
#amd-daily-gifts .day b{font-size:10px}
#amd-daily-gifts header{padding:22px}
#amd-daily-gifts .topright .streak{display:none}
#amd-daily-gifts h1{font-size:24px}}
@media(max-width:660px){#amd-daily-gifts .veil{padding:8px}
#amd-daily-gifts .modal{border-radius:17px}
#amd-daily-gifts .layout{display:flex;flex-direction:column}
#amd-daily-gifts .showcase{display:grid;grid-template-columns:120px 1fr;column-gap:15px;padding:17px;text-align:left;border-right:0;border-bottom:1px solid #ffffff0b;align-items:center}
#amd-daily-gifts .tag{grid-column:2;justify-self:start;font-size:8px}
#amd-daily-gifts .hero{grid-column:1;grid-row:1 / span 5;width:120px;height:160px;margin:0}
#amd-daily-gifts .hero svg{width:130px;height:130px}
#amd-daily-gifts .hero:before{width:115px;height:115px}
#amd-daily-gifts .hero:after{width:95px;height:95px}
#amd-daily-gifts .hero .spark{display:none}
#amd-daily-gifts .showcase h2{grid-column:2;font-size:21px;margin:9px 0}
#amd-daily-gifts .showcase p{grid-column:2;font-size:11px;min-height:0}
#amd-daily-gifts .possible{display:none}
#amd-daily-gifts .showcase-bottom{grid-column:2;padding-top:12px}
#amd-daily-gifts .hint{font-size:9px}
#amd-daily-gifts .claim{min-height:39px;font-size:12px}
#amd-daily-gifts .calendar{padding:20px 12px}
#amd-daily-gifts .grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#amd-daily-gifts .day{height:92px}
#amd-daily-gifts .final-note{grid-column:span 5}
#amd-daily-gifts header{padding:18px}
#amd-daily-gifts h1{font-size:22px}
#amd-daily-gifts header p{font-size:11px;max-width:255px}
#amd-daily-gifts .eyebrow{font-size:8px}
#amd-daily-gifts .legend{gap:10px;font-size:9px}
#amd-daily-gifts footer{padding:14px;gap:15px;line-height:1.6;font-size:10px}}
@media(prefers-reduced-motion:reduce){#amd-daily-gifts,#amd-daily-gifts *,#amd-daily-gifts *:before,#amd-daily-gifts *:after{animation:none!important;transition:none!important}}
#amd-daily-gifts .veil{background:#06070dba;backdrop-filter:blur(12px)}
#amd-daily-gifts .modal{width:1200px;background:#10121e;border-color:#46405d;border-radius:24px;box-shadow:0 0 0 1px #a682ff09,0 0 75px #7741b51c,0 32px 100px #000a}
#amd-daily-gifts .modal:before{left:8%;right:8%;background:linear-gradient(90deg,transparent,#c09aff,#69e9ff,transparent);box-shadow:0 0 14px #bc77ff}
#amd-daily-gifts .modal header{background:radial-gradient(ellipse at 0 0,#51377440,transparent 65%);padding:27px 32px 24px}
#amd-daily-gifts h1{font-size:29px;letter-spacing:-.8px}
#amd-daily-gifts .eyebrow{color:#aa91d0;font-size:9px;letter-spacing:2.6px}
#amd-daily-gifts header p{color:#8e92ac}
#amd-daily-gifts .streak{font-size:10px}
#amd-daily-gifts .streak b{font-size:15px;color:#c8b1f5}
#amd-daily-gifts .close{color:#bab4ce;background:#ffffff04;border-color:#ffffff12}
#amd-daily-gifts .close:hover{background:#a97cf71c}
#amd-daily-gifts .layout{grid-template-columns:305px 1fr}
#amd-daily-gifts .showcase{--glow:#b366ff;background:radial-gradient(ellipse at 50% 34%,#9c45db27,transparent 55%),linear-gradient(150deg,#191427,#10121e);border-color:#ab83e916;overflow:hidden;padding:25px 25px 23px}
#amd-daily-gifts .showcase[data-type=energy]{--glow:#6be37d;background:radial-gradient(ellipse at 50% 34%,#49954822,transparent 55%),#11191c}
#amd-daily-gifts .showcase[data-type=xp]{--glow:#4ddaff;background:radial-gradient(ellipse at 50% 34%,#257d9e33,transparent 55%),#101722}
#amd-daily-gifts .showcase[data-type=super]{--glow:#df7eff;background:radial-gradient(ellipse at 50% 34%,#a4378e30,transparent 55%),#191222}
#amd-daily-gifts .tag{color:#dfbfff;background:#ab6bea13;border-color:#b07aea38;font-size:9px;letter-spacing:1.5px}
#amd-daily-gifts .hero{width:255px;height:269px;margin-top:7px}
#amd-daily-gifts .hero:before{width:225px;height:225px;border:1px solid #b879fa25;box-shadow:inset 0 0 30px #b472ff07,0 0 25px #a965f808}
#amd-daily-gifts .hero:after{width:187px;height:187px;border:1px dashed #b985ed25;animation:amd-dg-orbit 35s linear infinite}
#amd-daily-gifts .hero .reward-img{width:250px;height:250px;object-fit:contain;z-index:2;filter:drop-shadow(0 0 17px color-mix(in srgb,var(--glow),transparent 68%));animation:amd-dg-float 5s ease-in-out infinite}
#amd-daily-gifts .hero .spark{top:42px;right:16px;color:#c898fc;text-shadow:0 0 15px #b468ff}
#amd-daily-gifts .showcase h2{font-size:25px;letter-spacing:-.5px}
#amd-daily-gifts .showcase p{color:#a4a1b8;line-height:1.7;max-width:245px}
#amd-daily-gifts .possible{gap:5px;margin-top:14px}
#amd-daily-gifts .possible span{font-size:9px;color:#b5a6cd;border-color:#a982e51b;background:#a573ee0b;padding:6px 7px}
#amd-daily-gifts .showcase-bottom{padding-top:22px}
#amd-daily-gifts .claim{color:white;background:linear-gradient(110deg,#8a42e2,#7449e7 65%,#5a78eb);border:1px solid #c197ff9c;box-shadow:0 0 24px #a361f534,inset 0 1px 0 #dfc3ff40;min-height:47px;transition:filter .2s,box-shadow .2s}
#amd-daily-gifts .claim:hover:enabled{filter:brightness(1.15);box-shadow:0 0 34px #a361f55c}
#amd-daily-gifts .hint{color:#817c98;font-size:10px}
#amd-daily-gifts .calendar{padding:24px 27px 22px;background:radial-gradient(ellipse at top right,#27345018,transparent 55%)}
#amd-daily-gifts .calendar-top b{font-size:13px;font-weight:600}
#amd-daily-gifts .calendar-top span{font-size:11px}
#amd-daily-gifts .calendar-top strong{color:#d7baff}
#amd-daily-gifts .track{background:#282438;height:4px;margin-bottom:18px}
#amd-daily-gifts .track i{background:linear-gradient(90deg,#a66bfc,#88b9ff);box-shadow:0 0 12px #b073fa88}
#amd-daily-gifts .grid{gap:9px}
#amd-daily-gifts .day{height:103px;background:linear-gradient(140deg,#1d1e2e,#171824);border-color:#323045;border-radius:11px;isolation:isolate;padding-bottom:8px}
#amd-daily-gifts .day:before{content:'';position:absolute;inset:16px 10px 20px;background:radial-gradient(ellipse,#a47bf31a,transparent 70%);z-index:-1}
#amd-daily-gifts .day.kind-energy:before{background:radial-gradient(ellipse,#8fe76818,transparent 70%)}
#amd-daily-gifts .day.kind-xp:before{background:radial-gradient(ellipse,#5ac6fb18,transparent 70%)}
#amd-daily-gifts .day .reward-img{width:72px;height:72px;object-fit:contain;transition:transform .2s,filter .2s;filter:drop-shadow(0 0 5px #a472ef22);margin-bottom:-1px}
#amd-daily-gifts .day:hover{border-color:#a682db;transform:translateY(-3px);background:#242036}
#amd-daily-gifts .day:hover .reward-img{transform:scale(1.08)}
#amd-daily-gifts .day b{font-size:10px;font-weight:600;z-index:2}
#amd-daily-gifts .day .number{font-size:9px;color:#7b7591;z-index:3}
#amd-daily-gifts .day .check{color:#96c6b0;font-size:10px}
#amd-daily-gifts .day.past{background:#151621;border-color:#292635}
#amd-daily-gifts .day.past .reward-img{opacity:.32;filter:saturate(.55)}
#amd-daily-gifts .day.past b{opacity:.45}
#amd-daily-gifts .day.special{border-color:#674083;background:radial-gradient(ellipse at center,#79319729,#20172f)}
#amd-daily-gifts .day.selected{border-color:#c89bff;background:radial-gradient(ellipse at center,#8c41d34a,#302342);box-shadow:0 0 0 2px #a66ceb24,0 0 23px #b369ff33}
#amd-daily-gifts .day.today:after{color:#e3c4ff;top:6px;font-size:6px;right:6px;letter-spacing:.4px}
#amd-daily-gifts .day.final{border-color:#a65ae1;background:radial-gradient(ellipse at 50% 40%,#9c3aa842,#22172f);box-shadow:inset 0 0 15px #a23dba10}
#amd-daily-gifts .day.final .reward-img{width:77px;height:77px;margin-bottom:-4px}
#amd-daily-gifts .day.final b{color:#eac2ff;font-size:9px}
#amd-daily-gifts .final-note{border-style:solid;border-color:#67427d66;background:radial-gradient(ellipse at left,#75359726,transparent),linear-gradient(120deg,#20182c,#171722);padding:13px 18px;gap:14px}
#amd-daily-gifts .final-note .star{color:#d6a1ff;text-shadow:0 0 20px #a54bff;font-size:35px}
#amd-daily-gifts .final-note b{color:#d9b8f5;font-size:13px}
#amd-daily-gifts .final-note p{font-size:11px;color:#91839f;line-height:1.5;max-width:300px}
#amd-daily-gifts .legend{font-size:9px;gap:14px;color:#8b839f;margin-top:18px}
#amd-daily-gifts .legend span:nth-child(4) i{background:#b783f0}
#amd-daily-gifts footer{background:#0d0f1870;color:#77758a;border-color:#c48afe10;padding:16px 32px;font-size:10px}
#amd-daily-gifts footer b{color:#aaa3bc}
#amd-daily-gifts .reset{color:#9c87bb;font-size:10px}
#amd-daily-gifts .toast{background:#221b35;border-color:#a679da;box-shadow:0 0 40px #a55aff30;color:#eee2ff}
#amd-daily-gifts button:focus-visible{outline-color:#cd9aff}
@keyframes amd-dg-orbit{to{transform:rotate(360deg)}}
@media(max-width:950px){#amd-daily-gifts .layout{grid-template-columns:240px 1fr}
#amd-daily-gifts .showcase{padding:24px 16px}
#amd-daily-gifts .hero{width:205px;height:250px}
#amd-daily-gifts .hero .reward-img{width:210px;height:210px}
#amd-daily-gifts .hero:before{width:195px;height:195px}
#amd-daily-gifts .hero:after{width:160px;height:160px}
#amd-daily-gifts .calendar{padding:23px 16px}
#amd-daily-gifts .grid{gap:6px}
#amd-daily-gifts .day .reward-img{width:65px;height:65px}
#amd-daily-gifts .day.final .reward-img{width:69px;height:69px}
#amd-daily-gifts .day{height:96px}
#amd-daily-gifts .legend{gap:9px}
#amd-daily-gifts .showcase h2{font-size:23px}}
@media(max-width:660px){#amd-daily-gifts .modal header{padding:20px 17px}
#amd-daily-gifts .layout{display:flex}
#amd-daily-gifts .showcase{grid-template-columns:125px 1fr;padding:17px 15px}
#amd-daily-gifts .hero{width:125px;height:163px}
#amd-daily-gifts .hero .reward-img{width:142px;height:142px}
#amd-daily-gifts .hero:before{width:120px;height:120px}
#amd-daily-gifts .hero:after{width:100px;height:100px}
#amd-daily-gifts .showcase h2{font-size:21px}
#amd-daily-gifts .showcase p{font-size:11px}
#amd-daily-gifts .showcase-bottom{padding-top:12px}
#amd-daily-gifts .claim{min-height:40px}
#amd-daily-gifts .hint{font-size:9px}
#amd-daily-gifts .calendar{padding:20px 12px}
#amd-daily-gifts .day{height:103px}
#amd-daily-gifts .day .reward-img{width:67px;height:67px}
#amd-daily-gifts .day.final .reward-img{width:72px;height:72px}
#amd-daily-gifts .calendar-top b{font-size:12px}
#amd-daily-gifts .calendar-top span{font-size:10px}
#amd-daily-gifts .legend{font-size:9px;gap:10px}
#amd-daily-gifts .final-note{padding:15px}
#amd-daily-gifts .final-note p{font-size:11px}
#amd-daily-gifts footer{padding:14px;align-items:flex-start}
#amd-daily-gifts h1{font-size:24px}
#amd-daily-gifts .eyebrow{font-size:8px}
#amd-daily-gifts header p{font-size:11px}
#amd-daily-gifts .showcase .tag{font-size:8px}
#amd-daily-gifts .showcase .possible{display:none}}
#amd-daily-gifts .modal{max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#68518c #13131f}
#amd-daily-gifts .day{height:96px}
#amd-daily-gifts .day .reward-img{width:66px;height:66px}
#amd-daily-gifts .day.final .reward-img{width:71px;height:71px}
@media(max-width:660px){#amd-daily-gifts .modal{max-height:calc(100dvh - 16px)}
#amd-daily-gifts .grid{grid-template-columns:repeat(6,minmax(0,1fr))}
#amd-daily-gifts .day{height:90px}
#amd-daily-gifts .day .reward-img{width:54px;height:54px}
#amd-daily-gifts .day.final .reward-img{width:58px;height:58px}
#amd-daily-gifts .day b{font-size:9px}
#amd-daily-gifts .day.final b{font-size:7px}}
@media(max-width:660px){#amd-daily-gifts .veil{padding:8px;align-items:flex-start;overflow:hidden}
#amd-daily-gifts .modal{width:100%;max-height:calc(100dvh - 16px);margin:auto 0;border-radius:17px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#amd-daily-gifts .modal header{padding:18px 16px 16px;gap:10px;align-items:flex-start}
#amd-daily-gifts .modal header>div:first-child{min-width:0}
#amd-daily-gifts .eyebrow{font-size:8px;letter-spacing:1.8px}
#amd-daily-gifts h1{font-size:23px;line-height:1.15;margin:9px 0}
#amd-daily-gifts header p{font-size:11px;line-height:1.5;max-width:260px}
#amd-daily-gifts .topright{flex-shrink:0;gap:0}
#amd-daily-gifts .topright .streak{display:none}
#amd-daily-gifts .close{width:40px;height:40px;font-size:26px}
#amd-daily-gifts .layout{display:flex;flex-direction:column}
#amd-daily-gifts .showcase{grid-template-columns:112px minmax(0,1fr);gap:0 13px;padding:17px 15px 18px;align-items:center;text-align:left;overflow:hidden}
#amd-daily-gifts .showcase .tag{grid-column:2;padding:5px 8px;max-width:100%;font-size:8px;letter-spacing:.8px;line-height:1.4}
#amd-daily-gifts .hero{grid-column:1;grid-row:1 / span 5;width:112px;height:170px;max-width:100%;margin:0;justify-self:center}
#amd-daily-gifts .hero .reward-img{width:132px;height:132px;max-width:none}
#amd-daily-gifts .hero:before{width:112px;height:112px}
#amd-daily-gifts .hero:after{width:91px;height:91px}
#amd-daily-gifts .hero .spark{display:none}
#amd-daily-gifts .showcase h2{grid-column:2;font-size:20px;line-height:1.2;margin:8px 0 6px;overflow-wrap:anywhere}
#amd-daily-gifts .showcase p{grid-column:2;font-size:11px;line-height:1.5;min-height:0;max-width:100%}
#amd-daily-gifts .showcase .possible{display:none}
#amd-daily-gifts .showcase-bottom{grid-column:2;min-width:0;padding-top:12px}
#amd-daily-gifts .claim{min-height:44px;padding:8px 9px;font-size:12px;line-height:1.3;border-radius:9px}
#amd-daily-gifts .hint{font-size:9px;line-height:1.4;margin-top:8px}
#amd-daily-gifts .calendar{padding:19px 12px 18px;min-width:0}
#amd-daily-gifts .calendar-top{gap:8px;align-items:center;margin-bottom:12px}
#amd-daily-gifts .calendar-top b{font-size:11px;line-height:1.4}
#amd-daily-gifts .calendar-top span{font-size:10px;white-space:nowrap}
#amd-daily-gifts .track{margin-bottom:16px}
#amd-daily-gifts .grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
#amd-daily-gifts .day{height:88px;min-width:0;padding:13px 2px 7px;border-radius:9px;overflow:hidden}
#amd-daily-gifts .day .number{left:6px;top:5px;font-size:8px}
#amd-daily-gifts .day .check{top:4px;right:5px;font-size:9px}
#amd-daily-gifts .day .reward-img{width:100%;max-width:60px;height:55px;object-fit:contain;margin:0}
#amd-daily-gifts .day.final .reward-img{width:100%;max-width:62px;height:55px;margin:0}
#amd-daily-gifts .day b{font-size:9px;line-height:1.15;white-space:nowrap;letter-spacing:-.2px}
#amd-daily-gifts .day.final b{font-size:7px;letter-spacing:-.25px}
#amd-daily-gifts .day.today:after{content:'';width:5px;height:5px;top:6px;right:6px;border-radius:50%;background:#dfb6ff;box-shadow:0 0 7px #c176ff}
#amd-daily-gifts .day:hover{transform:none}
#amd-daily-gifts .day:hover .reward-img{transform:none}
#amd-daily-gifts .legend{display:grid;grid-template-columns:1fr 1fr;gap:10px 7px;font-size:10px;margin-top:17px;line-height:1.4}
#amd-daily-gifts footer{padding:14px 15px;gap:10px;align-items:flex-start;flex-direction:column;font-size:10px;line-height:1.6}
#amd-daily-gifts footer span{max-width:100%}
#amd-daily-gifts .reset{min-height:40px;padding:6px 0;font-size:11px}
#amd-daily-gifts .toast{bottom:18px;max-width:calc(100vw - 30px);width:max-content;padding:12px 16px;text-align:center;font-size:13px;line-height:1.4}}
@media(max-width:379px){#amd-daily-gifts .showcase{grid-template-columns:90px minmax(0,1fr);gap:0 10px;padding:16px 12px}
#amd-daily-gifts .hero{width:90px}
#amd-daily-gifts .hero .reward-img{width:108px;height:108px}
#amd-daily-gifts .hero:before{width:90px;height:90px}
#amd-daily-gifts .hero:after{width:75px;height:75px}
#amd-daily-gifts .showcase h2{font-size:18px}
#amd-daily-gifts h1{font-size:21px}
#amd-daily-gifts .calendar{padding-left:10px;padding-right:10px}
#amd-daily-gifts .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#amd-daily-gifts .day{height:94px}
#amd-daily-gifts .day .reward-img,#amd-daily-gifts .day.final .reward-img{height:61px;max-width:65px}
#amd-daily-gifts .day b{font-size:10px}
#amd-daily-gifts .day.final b{font-size:8px}
#amd-daily-gifts .day:nth-child(41){grid-column:2}
#amd-daily-gifts .day:nth-child(42){grid-column:3}}
@media(min-width:661px) and (max-width:950px){#amd-daily-gifts .modal{max-height:calc(100dvh - 24px)}
#amd-daily-gifts .veil{padding:12px}
#amd-daily-gifts .day b{font-size:9px}
#amd-daily-gifts .day .reward-img{max-width:100%}}
#amd-daily-gifts .daily-entry{position:relative;display:flex;align-items:center;gap:20px;padding:21px 27px 21px 17px;isolation:isolate;margin:0;border-radius:14px;border:1px solid #dccbf3;background:radial-gradient(ellipse at 5% 50%,#dbc2ff70,transparent 31%),linear-gradient(105deg,#faf7ff,#fff 64%,#f3f4ff);box-shadow:0 0 18px #a571de0d;overflow:hidden;color:#30303d}
#amd-daily-gifts .daily-entry:before{content:'';position:absolute;top:0;left:8%;right:8%;height:2px;background:linear-gradient(90deg,transparent,#b48af5,#9ecaf4,transparent)}
#amd-daily-gifts .entry-art{width:108px;height:108px;flex:0 0 108px;position:relative;display:grid;place-items:center}
#amd-daily-gifts .entry-art:before{content:'';position:absolute;inset:6px;border-radius:50%;border:1px solid #b185ee30;background:radial-gradient(circle,#cea8ff35,transparent 68%)}
#amd-daily-gifts .entry-art img{position:relative;width:108px;height:108px;object-fit:contain;filter:drop-shadow(0 0 12px #aa6bf34a);animation:amd-dg-float 5s ease-in-out infinite}
#amd-daily-gifts .entry-art i{position:absolute;right:-5px;top:8px;color:#a77ee2;font-style:normal;font-size:20px}
#amd-daily-gifts .entry-copy{flex:1;min-width:0}
#amd-daily-gifts .entry-status{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#8b62b5;display:flex;align-items:center;gap:6px}
#amd-daily-gifts .entry-status>span{width:5px;height:5px;background:#ac70ed;border-radius:50%;box-shadow:0 0 7px #ad72f7}
#amd-daily-gifts .entry-copy h2{font-size:20px;letter-spacing:-.4px;margin:7px 0 6px;color:#30293e}
#amd-daily-gifts .entry-copy p{font-size:12px;line-height:1.5;color:#8a8197}
#amd-daily-gifts .entry-progress{display:flex;align-items:center;gap:10px;margin-top:13px;font-size:10px;color:#9d91a9}
#amd-daily-gifts .entry-progress b{font-weight:600;color:#857096}
#amd-daily-gifts .entry-track{width:140px;height:4px;background:#e9e1f2;border-radius:6px}
#amd-daily-gifts .entry-track i{display:block;width:14.2857%;height:100%;background:linear-gradient(90deg,#ba79ef,#8faaff);border-radius:6px;box-shadow:0 0 7px #c398ea44}
#amd-daily-gifts .entry-action{display:flex;flex-direction:column;align-items:center;gap:9px;flex:0 0 184px}
#amd-daily-gifts .entry-button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:184px;border:1px solid #a485e0;border-radius:9px;color:white;font-weight:650;font-size:12px;padding:13px 16px;min-height:44px;background:linear-gradient(105deg,#9560d6,#7c69d9);box-shadow:0 5px 17px #9b73cc32,inset 0 1px 0 #ffffff2b;transition:filter .2s,transform .2s}
#amd-daily-gifts .entry-button:hover{filter:brightness(1.08);transform:translateY(-1px)}
#amd-daily-gifts .entry-button span{font-size:17px;font-weight:400}
#amd-daily-gifts .entry-action small{font-size:10px;color:#a296b1}
#amd-daily-gifts .veil{color-scheme:dark}
#amd-daily-gifts .modal{color:#f4f3ef}
#amd-daily-gifts .daily-entry.received{border-color:#d8dbe5}
#amd-daily-gifts .received .entry-status{color:#709883}
#amd-daily-gifts .received .entry-status>span{background:#7aaf8a;box-shadow:none}
#amd-daily-gifts .received .entry-button{background:#fff;color:#8a6caf;border-color:#dacdea;box-shadow:none}
@media(max-width:760px){#amd-daily-gifts .daily-entry{gap:12px;padding:18px 18px 18px 10px}
#amd-daily-gifts .entry-art{width:88px;height:88px;flex-basis:88px}
#amd-daily-gifts .entry-art img{width:96px;height:96px}
#amd-daily-gifts .entry-copy h2{font-size:17px}
#amd-daily-gifts .entry-copy p{font-size:11px}
#amd-daily-gifts .entry-action{flex-basis:158px}
#amd-daily-gifts .entry-button{width:158px;padding:12px;font-size:11px}
#amd-daily-gifts .entry-track{width:90px}}
@media(max-width:540px){#amd-daily-gifts .daily-entry{display:grid;grid-template-columns:77px minmax(0,1fr);gap:0 12px;padding:18px 16px 17px;margin:0}
#amd-daily-gifts .entry-art{grid-column:1;grid-row:1;width:77px;height:100px}
#amd-daily-gifts .entry-art img{width:92px;height:92px}
#amd-daily-gifts .entry-art i{right:-2px;font-size:16px}
#amd-daily-gifts .entry-copy{grid-column:2}
#amd-daily-gifts .entry-status{font-size:8px;letter-spacing:1px}
#amd-daily-gifts .entry-copy h2{font-size:18px;line-height:1.2;margin:7px 0}
#amd-daily-gifts .entry-copy p{font-size:11px;line-height:1.5}
#amd-daily-gifts .entry-progress{font-size:9px;gap:7px;margin-top:11px;flex-wrap:wrap}
#amd-daily-gifts .entry-track{width:65px}
#amd-daily-gifts .entry-action{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:17px;align-items:center}
#amd-daily-gifts .entry-button{width:100%;min-height:44px;font-size:12px;padding:11px 14px}
#amd-daily-gifts .entry-action small{font-size:9px;max-width:80px;line-height:1.5;text-align:center}}
.clans-page--single > #amd-daily-gifts { order: 2; grid-column: 1 / -1; min-width: 0; }
#amd-daily-gifts { font-size: 14px; line-height: 1.5; color: #30303d; }
#amd-daily-gifts button { background: none; border: 0; padding: 0; appearance: none; -webkit-appearance: none; }
#amd-daily-gifts .close { text-indent: 0 !important; overflow: visible !important; display: inline-flex; align-items: center; justify-content: center; line-height: 1; padding: 0; cursor: pointer; }
#amd-daily-gifts .veil { z-index: 10070; }
#amd-cards-modal.amd-cards-modal-overlay.is-open { z-index: 200000; }
#amd-daily-gifts .entry-progress { width: 100%; }
#amd-daily-gifts .entry-track { flex: 1 1 auto; width: auto; min-width: 0; height: 10px; }
#amd-daily-gifts .entry-progress span { flex: 0 0 auto; white-space: nowrap; }
#amd-daily-gifts .toast { z-index: 10075; }
#amd-daily-gifts img.reward-img, #amd-daily-gifts .entry-art img { max-width: none; }
#amd-daily-gifts .daily-entry { width: 100%; box-sizing: border-box; }
#amd-daily-gifts .entry-ban { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: #a24b4b; }
#amd-daily-gifts .entry-until { margin: 0 0 6px; font-size: 12px; line-height: 1.4; color: #8a8197; }
#amd-daily-gifts footer { flex-wrap: wrap; gap: 8px 16px; }
#amd-daily-gifts .ban-note { flex: 1 0 100%; font-size: 11px; line-height: 1.45; color: #e7b4b4; }
#amd-daily-gifts .showcase p { min-height: 0; }
#amd-daily-gifts .showcase-bottom { margin-top: 4px; padding-top: 8px; }
body.dt-is-active #amd-daily-gifts .daily-entry {
	color: var(--tt, #e4e4e4);
	border-color: rgba(255,255,255,.08);
	background: radial-gradient(ellipse at 8% 50%, rgba(124, 72, 196, .28), transparent 46%), var(--bg-2, #1b2935);
	box-shadow: none;
}
body.dt-is-active #amd-daily-gifts .entry-copy h2 { color: var(--tt, #e4e4e4); }
body.dt-is-active #amd-daily-gifts .entry-until,
body.dt-is-active #amd-daily-gifts .entry-copy p,
body.dt-is-active #amd-daily-gifts .entry-progress,
body.dt-is-active #amd-daily-gifts .entry-action small { color: var(--tt-2, #b1b1b1); }
body.dt-is-active #amd-daily-gifts .entry-progress b { color: #d7c4ef; }
body.dt-is-active #amd-daily-gifts .entry-status { color: #c9a6ef; }
body.dt-is-active #amd-daily-gifts .entry-track { background: rgba(255,255,255,.12); }
body.dt-is-active #amd-daily-gifts .entry-ban { color: #e7b4b4; }
body.dt-is-active #amd-daily-gifts .daily-entry.received { border-color: rgba(255,255,255,.1); }
body.dt-is-active #amd-daily-gifts .received .entry-status { color: #8fbfa0; }
body.dt-is-active #amd-daily-gifts .received .entry-button {
	background: transparent;
	color: #d7c4ef;
	border-color: rgba(180, 140, 230, .45);
}
#amd-daily-gifts .veil {
	overflow: hidden;
	align-items: center;
}
#amd-daily-gifts .modal {
	display: flex;
	flex-direction: column;
	max-height: calc(100dvh - 48px);
	overflow: hidden;
}
#amd-daily-gifts .modal header,
#amd-daily-gifts .modal footer {
	flex: 0 0 auto;
}
#amd-daily-gifts .layout {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}
#amd-daily-gifts .showcase {
	min-height: 0;
	overflow: hidden;
	justify-content: flex-start;
}
#amd-daily-gifts .showcase .tag,
#amd-daily-gifts .showcase h2,
#amd-daily-gifts .showcase p,
#amd-daily-gifts .possible,
#amd-daily-gifts .showcase-bottom {
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}
#amd-daily-gifts .showcase p {
	min-height: 0;
	margin: 0 0 12px;
}
#amd-daily-gifts .possible {
	flex-wrap: wrap;
	margin: 0 0 12px;
	max-width: 100%;
}
#amd-daily-gifts .hero {
	flex: 1 1 110px;
	width: 100%;
	height: auto;
	min-height: 96px;
	max-height: 250px;
	margin: 8px 0 10px;
	overflow: hidden;
}
#amd-daily-gifts .hero .reward-img {
	width: auto;
	height: auto;
	max-width: 88%;
	max-height: 100%;
}
#amd-daily-gifts .calendar {
	display: flex;
	flex-direction: column;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
}
#amd-daily-gifts .calendar-top,
#amd-daily-gifts .calendar .track,
#amd-daily-gifts .legend {
	flex: 0 0 auto;
}
#amd-daily-gifts .grid {
	flex: 1 1 auto;
	min-height: 0;
	align-content: start;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #68518c #13131f;
	padding: 4px 4px 8px 0;
}
@media (max-width: 660px) {
	#amd-daily-gifts .modal {
		max-height: calc(100dvh - 16px);
		overflow: hidden;
	}
	#amd-daily-gifts .showcase {
		flex: 0 0 auto;
	}
	#amd-daily-gifts .calendar {
		flex: 1 1 auto;
	}
}
