/* WARDESK raffle: the front page pop-up and /purchase-confirmed. Same palette as the rest of the site. */
.raffle-art { position: relative; aspect-ratio: 16 / 7; background: #12110f url(/assets/wardesk.jpg) center 35% / cover no-repeat; }
.raffle-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #1c1a18 0%, rgba(28,26,24,.35) 55%, rgba(28,26,24,0) 100%); }
.raffle-art img { position: absolute; left: 24px; bottom: 16px; z-index: 1; height: 28px; width: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.7)); }
.raffle-body { padding: 20px 24px 24px; }
.raffle-body .raffle-label, .raffle-label { margin: 0 0 4px; font: 600 12px/1 "Barlow", sans-serif; color: #e3b23c; letter-spacing: .02em; }
.raffle-body h2 { font: 600 24px/1.2 "Barlow", sans-serif; color: #f6f1e7; margin: 0 0 8px; }
.raffle-body p { margin: 0 0 16px; color: #aaa398; font-size: 15px; }
.raffle-body p b { color: #efe9de; font-weight: 600; }
.raffle-prizes { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid rgba(239,233,222,.09); }
.raffle-prizes li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(239,233,222,.09); color: #efe9de; }
.raffle-prizes li span { margin-left: auto; color: #8a847a; font-size: 13px; text-align: right; }
.raffle-prizes svg { flex: none; width: 16px; height: 16px; align-self: center; fill: none; stroke: #e3b23c; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.raffle-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.raffle-buy { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 4px;
  background: #e3b23c; color: #16120a; font: 600 16px/1 "Barlow", sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.raffle-buy:hover { background: #e9b45a; }
.raffle-quiet { background: none; border: 0; padding: 0; color: #aaa398; font: 500 15px/1 "Barlow", sans-serif; text-decoration: none; cursor: pointer; }
.raffle-quiet:hover { color: #f6f1e7; }
.raffle-fine { margin: 16px 0 0 !important; font-size: 12px !important; color: #8a847a !important; }

/* The pop-up */
dialog.raffle { width: 480px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); padding: 0; overflow: auto;
  background: #1c1a18; color: #efe9de; border: 1px solid rgba(239,233,222,.14); border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.6); }
dialog.raffle::backdrop { background: rgba(5, 6, 8, 0.72); }
dialog.raffle[open] { animation: raffle-in 220ms cubic-bezier(0.2, 0, 0, 1); }
@keyframes raffle-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.raffle[open] { animation: none; } }
dialog.raffle .raffle-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 4px; border: 0; background: rgba(18,17,15,.7); color: #efe9de; cursor: pointer; }
dialog.raffle .raffle-x:hover { background: rgba(18,17,15,.95); }
dialog.raffle .raffle-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

/* The header link that opens it again */
header a.link.raffle-link { color: #e3b23c; }
header a.link.raffle-link:hover { color: #f6f1e7; }
dialog.raffle:focus { outline: none; }
.raffle-body p.raffle-perk { padding: 12px 16px; border-radius: 4px; background: rgba(227,178,60,.08); border: 1px solid rgba(227,178,60,.25); font-size: 14px; }
.raffle-body p.raffle-perk b { color: #e3b23c; }
.raffle-who { margin: 0 0 16px; padding: 12px 16px; border-radius: 4px; background: #262421; }
.raffle-body .raffle-who p { margin: 0; font-size: 14px; }
.raffle-body .raffle-who p + p { margin-top: 4px; }
.raffle-body .raffle-who b { color: #e3b23c; }
