
.dwd-wrap{width:min(1380px,calc(100% - 28px));max-width:none;margin:28px auto;padding:0 14px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#eef2ff}
.dwd-wrap *{box-sizing:border-box}
.dwd-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px;border-radius:24px;background:linear-gradient(135deg,#111827,#1f2937);box-shadow:0 20px 60px rgba(0,0,0,.22);margin-bottom:18px}
.dwd-hero h1{font-size:44px;line-height:1;margin:8px 0 10px;color:#fff}.dwd-hero p{margin:0;color:#cbd5e1}
.dwd-kicker{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:12px;color:#a7f3d0}
.dwd-server{min-width:220px;padding:16px 18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:16px}
.dwd-server span{display:block;font-size:12px;color:#94a3b8}.dwd-server strong{display:block;margin-top:3px;color:#fff}
.dwd-player-box{background:#fff;color:#111827;padding:20px;border-radius:18px;margin-bottom:18px;box-shadow:0 10px 30px rgba(0,0,0,.10)}
.dwd-player-box label{display:block;font-weight:800;margin-bottom:8px}.dwd-player-box input{width:100%;max-width:520px;border:1px solid #cbd5e1;border-radius:12px;padding:13px 14px;font-size:16px}
.dwd-player-box small{display:block;margin-top:7px;color:#64748b}
.dwd-grid{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:22px;align-items:stretch}
.dwd-card{background:#fff;color:#111827;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(0,0,0,.12);transition:.18s ease;display:flex;flex-direction:column;min-width:0}
.dwd-card:hover{transform:translateY(-4px)}
.dwd-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.dwd-card-image{height:240px;background:#0f172a;display:flex;align-items:center;justify-content:center;overflow:hidden}
.dwd-card-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.dwd-card-body{padding:18px 18px 12px}
.dwd-cat{display:inline-block;padding:5px 9px;background:#ecfdf5;color:#047857;border-radius:999px;font-size:12px;font-weight:800}
.dwd-card h3{font-size:22px;line-height:1.2;margin:10px 0 8px}
.dwd-desc{color:#64748b;line-height:1.5;min-height:54px}
.dwd-more{display:inline-block;margin-top:10px;font-weight:800;color:#0f766e}
.dwd-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:0 18px 18px}
.dwd-price{font-size:24px;font-weight:900;color:#111827}.dwd-price span{font-size:13px;color:#64748b}
.dwd-buy,.dwd-confirm{border:0;border-radius:12px;padding:11px 16px;background:#16a34a;color:#fff;font-weight:900;cursor:pointer}.dwd-buy:hover,.dwd-confirm:hover{filter:brightness(.95)}
.dwd-empty{padding:25px;background:#fff;color:#334155;border-radius:18px}
.dwd-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(2,6,23,.72);z-index:99999;padding:18px}
.dwd-modal.is-open{display:flex}
.dwd-modal-card{position:relative;width:min(520px,100%);max-height:88vh;overflow:auto;background:#fff;color:#111827;border-radius:20px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.dwd-details-card{width:min(920px,100%);padding:0;overflow:auto}
.dwd-details-image-wrap{width:100%;background:#0f172a;display:flex;align-items:center;justify-content:center;overflow:hidden}
.dwd-details-image{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;object-position:center;background:#0f172a}
.dwd-details-content{padding:24px}
.dwd-details-content h2{margin:10px 0 14px;font-size:32px;line-height:1.2}
.dwd-full-desc{color:#334155;line-height:1.65;font-size:16px}
.dwd-full-desc p{margin:0 0 12px}
.dwd-full-desc ul,.dwd-full-desc ol{padding-left:22px}
.dwd-details-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid #e2e8f0}
.dwd-close{position:absolute;right:14px;top:10px;border:0;background:rgba(255,255,255,.92);width:38px;height:38px;border-radius:999px;font-size:28px;line-height:34px;cursor:pointer;z-index:2}
.dwd-note{font-size:13px;color:#64748b;margin-bottom:0}
#dwd-order-message{margin:12px 0}.dwd-ok{padding:10px;border-radius:10px;background:#ecfdf5;color:#065f46}.dwd-error{padding:10px;border-radius:10px;background:#fef2f2;color:#991b1b}
@media(max-width:980px){.dwd-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.dwd-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.dwd-wrap{width:min(100%,calc(100% - 12px));padding:0 6px}.dwd-grid{grid-template-columns:1fr}.dwd-hero h1{font-size:36px}.dwd-card-image{height:220px}.dwd-details-image{max-height:300px}.dwd-details-bottom{align-items:stretch;flex-direction:column}.dwd-details-bottom .dwd-buy{width:100%}}

.dwd-currency-box{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;color:#111827;padding:16px 20px;border-radius:18px;margin-bottom:18px;box-shadow:0 10px 30px rgba(0,0,0,.10)}
.dwd-currency-label{font-weight:900}
.dwd-currency-select-wrap select{min-width:230px;border:1px solid #cbd5e1;border-radius:12px;padding:11px 13px;background:#fff;color:#111827;font-size:15px;font-weight:700}
@media(max-width:620px){.dwd-currency-box{align-items:stretch;flex-direction:column}.dwd-currency-select-wrap select{width:100%;min-width:0}}
\n/* DukeWorld Donate 1.6 fixes */\n.dwd-modal-card{position:relative!important;overflow:auto!important}\n.dwd-details-card{position:relative!important}\n.dwd-close{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;margin:0!important;transform:none!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:999px!important;line-height:1!important;font-size:26px!important;font-weight:700!important;z-index:50!important}\n.dwd-full-desc{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}\n.dwd-full-desc p{margin:0 0 10px!important}\n.dwd-full-desc br{display:block;content:\"\";margin-top:5px}\n.dwd-details-content{min-width:0}\n
:root{--dwd-blue:#22d3ee;--dwd-blue-dark:#0891b2;--dwd-green:#22c55e;--dwd-green-dark:#15803d;--dwd-navy:#071525;--dwd-navy2:#0b1f33}
.dwd-hero{background:linear-gradient(135deg,var(--dwd-navy),var(--dwd-navy2))!important;border:1px solid rgba(34,211,238,.22)!important}
.dwd-kicker{color:#86efac!important}.dwd-cat{background:#e6fff2!important;color:#0f8a4b!important}
.dwd-more{color:var(--dwd-blue-dark)!important}
.dwd-buy,.dwd-confirm{background:linear-gradient(135deg,var(--dwd-blue-dark),var(--dwd-green-dark))!important;color:#fff!important}
.dwd-player-box,.dwd-currency-box,.dwd-card{border:1px solid rgba(34,211,238,.18)!important}
.dwd-card:hover{box-shadow:0 16px 38px rgba(8,145,178,.16)!important}
.dwd-modal-card{position:relative!important;isolation:isolate!important}
.dwd-details-card{position:relative!important;overflow:auto!important}
.dwd-details-card>.dwd-close,.dwd-modal-card>.dwd-close{
position:sticky!important;float:right!important;top:12px!important;right:12px!important;left:auto!important;
margin:12px 12px -52px 0!important;transform:none!important;width:40px!important;height:40px!important;
min-width:40px!important;min-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;
border:0!important;border-radius:999px!important;background:rgba(7,21,37,.96)!important;color:#fff!important;
font-size:24px!important;line-height:1!important;font-weight:700!important;z-index:9999!important;cursor:pointer!important;
box-shadow:0 6px 18px rgba(0,0,0,.25)!important}
.dwd-details-card>.dwd-close:hover,.dwd-modal-card>.dwd-close:hover{background:linear-gradient(135deg,var(--dwd-blue-dark),var(--dwd-green-dark))!important}

/* DukeWorld Donate 1.8 — читаемость главного блока */
.dwd-hero{
    background:linear-gradient(135deg,#bff5fb 0%,#d9fae5 100%)!important;
}
.dwd-hero .dwd-kicker,
.dwd-kicker{
    color:#087443!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
}
.dwd-hero h1,
.dwd-hero .dwd-title{
    color:#0b2035!important;
    text-shadow:none!important;
}
.dwd-hero p,
.dwd-hero .dwd-subtitle{
    color:#334e68!important;
    opacity:1!important;
    font-weight:500!important;
}
/* DukeWorld Donate 1.9 — visible buy buttons */
.dwd-buy,button.dwd-buy,a.dwd-buy{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;min-width:92px!important;min-height:42px!important;padding:9px 16px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#0891b2 0%,#15803d 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;position:relative!important;z-index:5!important;filter:none!important}.dwd-buy:hover{background:linear-gradient(135deg,#06b6d4 0%,#16a34a 100%)!important;color:#fff!important}.dwd-card-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.dwd-card-footer .dwd-buy{margin-left:auto!important}


.dwd-payment-banner{margin:0 0 18px;padding:14px 16px;border-radius:12px;font-weight:700;line-height:1.45}.dwd-payment-success{background:#e9f8ef;border:1px solid #9bd8ad;color:#175b2d}.dwd-payment-fail{background:#fff0f0;border:1px solid #efb0b0;color:#812626}

/* DukeWorld Donate 2.7.1 — checkout button visibility */
#dwd-confirm.dwd-confirm{display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:48px!important;align-items:center!important;justify-content:center!important;margin-top:14px!important;background:linear-gradient(135deg,#0891b2 0%,#15803d 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:16px!important;font-weight:900!important;border:0!important;border-radius:12px!important;cursor:pointer!important;box-shadow:0 8px 20px rgba(8,145,178,.22)!important}
#dwd-confirm.dwd-confirm:hover{background:linear-gradient(135deg,#06b6d4 0%,#16a34a 100%)!important}
#dwd-confirm.dwd-confirm:disabled{opacity:.65!important;cursor:wait!important}

/* DukeWorld Donate 2.8 payment gateway selector */
.dwd-payment-choice{margin:16px 0 8px;display:grid;gap:10px}.dwd-payment-choice-title{font-weight:900;color:#0f172a;margin-bottom:2px}.dwd-gateway-option{display:flex;gap:12px;align-items:center;border:2px solid #e2e8f0;border-radius:14px;padding:12px 14px;cursor:pointer;background:#fff;transition:.15s ease}.dwd-gateway-option:hover{border-color:#0ea5e9;box-shadow:0 6px 18px rgba(14,165,233,.10)}.dwd-gateway-option:has(input:checked){border-color:#16a34a;background:#f0fdf4}.dwd-gateway-option input{width:18px;height:18px;accent-color:#16a34a;flex:0 0 auto}.dwd-gateway-option span{display:flex;flex-direction:column;gap:2px}.dwd-gateway-option strong{font-size:16px;color:#0f172a}.dwd-gateway-option small{font-size:13px;color:#64748b}

/* DukeWorld Donate 2.8.2 — highlighted server IP + Ukraine payment note */
.dwd-server{
    min-width:260px!important;
    padding:17px 20px!important;
    border:2px solid #0891b2!important;
    background:linear-gradient(135deg,#071525 0%,#0b2d3d 58%,#0d3b2b 100%)!important;
    border-radius:16px!important;
    box-shadow:0 10px 26px rgba(7,21,37,.24)!important;
}
.dwd-server span{
    color:#a5f3fc!important;
    font-size:12px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
}
.dwd-server strong{
    color:#fff!important;
    font-size:18px!important;
    font-weight:900!important;
    text-shadow:0 1px 8px rgba(34,211,238,.28)!important;
    overflow-wrap:anywhere!important;
}
.dwd-ukraine-payment-note{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:12px 14px;
    margin:2px 0 4px;
    border:1px solid #93c5fd;
    border-radius:12px;
    background:#eff6ff;
    color:#1e3a5f;
    font-size:13px;
    line-height:1.45;
}
.dwd-ukraine-flag{font-size:20px;line-height:1.1;flex:0 0 auto}
.dwd-ukraine-payment-note a{color:#2563eb!important;font-weight:900!important;text-decoration:underline!important}
.dwd-ukraine-payment-note a:hover{color:#1d4ed8!important}
.dwd-player-status{margin-top:8px;font-weight:700;min-height:20px}.dwd-player-status.is-ok{color:#138a4b}.dwd-player-status.is-error{color:#c62828}.dwd-player-status.is-loading{color:#53657a}.dwd-order-quote{margin:12px 0}.dwd-upgrade{padding:14px 16px;border:1px solid #b9dfc7;border-radius:14px;background:#f0fbf4;line-height:1.55}.dwd-upgrade strong{display:block;font-size:17px;margin-bottom:4px}.dwd-quote-loading{padding:12px;border-radius:12px;background:#f4f6f8;color:#53657a}
