.database-offer-slot{margin:16px 0;min-width:0}
.database-offer-slot[hidden]{display:none}
.database-offer-button{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:12px 14px;border:1px solid transparent;border-radius:12px;background:radial-gradient(ellipse at 18% 0%,#ffe5a830,transparent 70%) padding-box,linear-gradient(115deg,#574329,#302a23) padding-box,linear-gradient(115deg,#f6dc92cc,#c69a4f88 55%,#f8d48cb3) border-box;box-shadow:0 5px 20px #c68f2021,0 0 12px #e6bd5a10,inset 0 1px 0 #fff2;color:#ffebba;font:650 13px/1.4 ShopInter,system-ui,sans-serif;text-align:left;cursor:pointer;transition:transform .15s,filter .15s}
.database-offer-button::before{content:"";position:absolute;inset:-30% auto -30% 0;width:38%;pointer-events:none;background:linear-gradient(105deg,transparent,#fff4 50%,transparent);transform:translateX(-150%) skewX(-18deg);animation:database-offer-sheen 3s ease-in-out infinite}
.database-offer-button>span{position:relative;display:flex;align-items:center;gap:9px}
.database-offer-button .offer-button-main{min-width:0}
.database-offer-button .offer-button-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 7px;min-width:0}
.database-offer-button [data-offer-countdown]{font:inherit;color:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
.database-offer-button [hidden]{display:none}
.profile-hero>.database-offer-slot{margin:20px 0 0}
/* Match the 20px rhythm of the summary blocks: the same gap above the offer and
   below it (to the card actions), but only while the offer is shown. */
.profile-hero>.database-offer-slot:not([hidden])+.card-actions{margin-top:20px}
.database-offer-button svg{width:19px;height:19px;flex:none}
.database-offer-button:hover{filter:brightness(1.12)}
.database-offer-button:active{transform:scale(.985)}
.database-offer-button:focus-visible{outline:2px solid #e6c679;outline-offset:3px}
.compare-table>.database-offer-slot{grid-column:1/-1;position:sticky;left:0;margin:8px 0 0;width:var(--offer-viewport-width,100%);max-width:100%}
.compare-table>.database-offer-slot:not([hidden])+.compare-stat-row[data-compare-label="ОБЩ"]{margin-top:1px}
.squad-page>[data-squad-offers]:not([hidden])+.squad-footer-actions{margin-top:16px}
.database-offer-dialog{height:fit-content;inset:0;margin:auto;width:min(440px,calc(100vw - 28px));max-width:none;max-height:min(82dvh,760px);padding:0;border:1px solid #e6c67940;border-radius:22px;color:#edf3ff;background:linear-gradient(145deg,#19283b,#101b2d);box-shadow:0 24px 80px #0009;font-family:ShopInter,system-ui,sans-serif;overflow:hidden}
.database-offer-dialog::backdrop{background:#020817b8;backdrop-filter:blur(6px)}
.database-offer-dialog .offer-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #ffffff10}
.database-offer-dialog h2{margin:0;font-size:17px;line-height:1.4}
.database-offer-dialog .offer-dialog-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:9px;background:#ffffff06;color:#aabbd2;font-size:23px;line-height:1;cursor:pointer}
.database-offer-dialog .offer-dialog-close:hover{border-color:#ffffff18;background:#ffffff0c}
.database-offer-dialog .offer-dialog-close svg{display:block;width:16px;height:16px;pointer-events:none}
.database-offer-dialog .offer-dialog-body{padding:16px 18px;max-height:calc(min(82dvh,760px) - 70px);overflow:auto;overscroll-behavior:contain}
.database-offer-dialog .offer-player+.offer-player{margin-top:22px;padding-top:18px;border-top:1px solid #ffffff14}
.database-offer-dialog .offer-player-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.database-offer-dialog .database-card-art{width:86px;flex:none}
.database-offer-dialog .offer-player-title strong{display:block;font-size:15px;line-height:1.5}
.database-offer-dialog .offer-player-title small{display:block;color:#91a7c7;font-size:11px;line-height:1.5}
.database-offer-dialog .offer-pack{display:grid;grid-template-columns:76px minmax(0,1fr);gap:11px;padding:13px;border:1px solid #ffffff12;border-radius:13px;background:#07101c33;margin-top:10px}
.database-offer-dialog .offer-pack-image{width:76px;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#ffffff05}
.database-offer-dialog .offer-pack strong{font-size:13px;line-height:1.4;display:block;overflow-wrap:anywhere}
.database-offer-dialog .offer-pack small{display:block;color:#91a7c7;font-size:11px;margin-top:5px}
.database-offer-dialog .offer-condition{display:inline-block;margin-top:7px;font-size:10px;font-weight:600;color:#9acbff}
.database-offer-dialog .offer-condition.is-guaranteed{color:#edd28a}
.database-offer-dialog .offer-buy{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border:1px solid #e5c77f66;border-radius:9px;color:#f1d997;background:#d3a84412;font-size:12px;font-weight:700;text-decoration:none;min-height:38px}
.database-offer-dialog .offer-buy:hover{background:#d3a84422}
.database-offer-dialog .offer-buy:active{transform:scale(.985)}
.database-offer-dialog .offer-message{font-size:13px;color:#91a7c7;line-height:1.6;margin:0}
@keyframes database-offer-sheen{0%,62%{transform:translateX(-150%) skewX(-18deg)}92%,100%{transform:translateX(420%) skewX(-18deg)}}
@media(prefers-reduced-motion:reduce){.database-offer-button{transition:none}.database-offer-button::before{animation:none;inset:0;width:auto;transform:none;background:linear-gradient(108deg,transparent 33%,#fff1 45%,transparent 57%)}}

.database-offer-dialog span.offer-pack-image{display:grid;place-items:center;color:#91a7c7}
.database-offer-dialog .offer-pack-image svg{width:24px;height:24px}
