/* Giveaways share the site's theme tokens, navigation and seasonal presentation. */
.lr-giveaways {
  --gw-ink: var(--lr-text);
  --gw-muted: var(--lr-muted);
  --gw-border: var(--lr-border);
  --gw-accent: var(--lr-accent);
  --gw-surface: var(--lr-surface);
  --gw-raised: var(--lr-raised);
  --gw-radius: var(--lr-radius);
}
.lr-giveaways main.gw-wrap { max-width:1280px; margin:0 auto; padding:0 28px 80px; }
.lr-giveaways [hidden] { display:none !important; }
.gw-button {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:42px; padding:10px 16px; border:1px solid var(--gw-accent);
  border-radius:7px; background:var(--gw-accent); color:var(--lr-accent-ink);
  font:600 13px/1.4 var(--lr-font); text-decoration:none; cursor:pointer;
}
.gw-button:hover { filter:brightness(1.08); color:var(--lr-accent-ink); text-decoration:none; }
.gw-button:disabled { opacity:.5; cursor:not-allowed; }
.gw-outline { background:var(--gw-raised); border-color:var(--gw-border); color:var(--gw-ink); }
.gw-outline:hover { border-color:var(--gw-accent); color:var(--gw-ink); }
.gw-intro { display:grid; grid-template-columns:1.35fr 1fr; gap:80px; align-items:center; padding:64px 0 48px; }
.gw-eyebrow { font-size:11px; font-weight:650; letter-spacing:2px; color:var(--gw-muted); margin:0 0 16px; }
.gw-intro h1 { font-size:clamp(42px,5.5vw,76px); line-height:1.08; letter-spacing:-3.5px; font-weight:650; margin:0 0 24px; color:var(--gw-ink); }
.gw-intro h1 em { font-style:normal; color:var(--gw-accent); }
.gw-intro p:not(.gw-eyebrow) { color:var(--gw-muted); max-width:480px; line-height:1.8; margin-bottom:0; }
.gw-intro-art {
  position:relative; min-height:216px; padding:28px 30px; border-radius:var(--gw-radius);
  border:1px solid #69503a; background:linear-gradient(130deg,var(--gw-raised),var(--gw-surface));
  color:var(--gw-ink); transform:rotate(-3deg); box-shadow:0 18px 45px #0003; overflow:hidden;
}
.gw-intro-art::after { content:""; position:absolute; right:-60px; top:-50px; width:250px; height:250px; border:1px solid #ff9c5540; border-radius:50%; box-shadow:0 0 0 25px #ff9c550b,0 0 0 50px #ff9c550b; }
.gw-intro-art>span { display:block; letter-spacing:5px; font-size:12px; color:var(--gw-accent); }
.gw-intro-art>strong { display:block; font-size:26px; font-weight:600; margin:17px 0 5px; letter-spacing:1px; }
.gw-intro-art>small { font-size:9px; letter-spacing:2px; color:var(--gw-muted); }
.gw-intro-art>b { position:absolute; right:30px; bottom:12px; font-size:64px; font-weight:650; line-height:1.2; letter-spacing:-3px; color:var(--gw-accent); z-index:1; }
.gw-draw { display:grid; grid-template-columns:1.65fr 1fr; background:var(--gw-surface); border:1px solid var(--gw-border); border-radius:var(--gw-radius); overflow:hidden; }
.gw-draw-main { padding:32px; min-width:0; }
.gw-row { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:28px; }
.gw-pill { font-size:10px; letter-spacing:1.3px; font-weight:700; background:#2b281e; border:1px solid #5f4d32; border-radius:6px; padding:6px 11px; color:var(--gw-accent); }
.gw-muted { color:var(--gw-muted); font-size:13px; }
.gw-draw h2 { font-size:25px; font-weight:600; letter-spacing:-.7px; line-height:1.3; margin:0 0 20px; color:var(--gw-ink); }
.gw-prize { display:flex; align-items:center; gap:20px; margin:15px 0 26px; }
.gw-prize>span { font-size:68px; font-weight:650; line-height:1; letter-spacing:-3px; color:var(--gw-accent); }
.gw-prize p { font-size:14px; margin:0; }
.gw-prize small { color:var(--gw-muted); font-size:12px; }
.gw-progress-label { display:flex; align-items:center; justify-content:space-between; gap:15px; font-size:13px; }
.gw-progress-label>span { color:var(--gw-muted); }
.gw-draw progress { appearance:none; width:100%; height:8px; border:0; border-radius:6px; overflow:hidden; margin:13px 0 2px; background:#2b332e; }
.gw-draw progress::-webkit-progress-bar { background:#2b332e; }
.gw-draw progress::-webkit-progress-value { background:var(--gw-accent); border-radius:6px; }
.gw-draw progress::-moz-progress-bar { background:var(--gw-accent); border-radius:6px; }
.gw-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding-top:24px; border-top:1px solid var(--gw-border); margin-top:20px; }
.gw-metrics>div { display:grid; gap:2px; }
.gw-metrics strong { font-size:25px; font-weight:600; letter-spacing:-.8px; }
.gw-metrics span { font-size:11px; color:var(--gw-muted); }
.gw-enter { padding:36px 30px; background:var(--gw-raised); border-left:1px solid var(--gw-border); display:flex; flex-direction:column; justify-content:center; min-width:0; }
.gw-enter h3 { font-size:30px; font-weight:550; line-height:1.25; letter-spacing:-.7px; margin:0 0 15px; color:var(--gw-ink); }
.gw-enter>p:not(.gw-eyebrow) { color:var(--gw-muted); font-size:13px; }
.gw-enter>.gw-button { width:100%; margin:15px 0 0; }
body.lr-giveaways .gw-enter>.gw-button[data-enter] { min-height:56px; padding:15px 20px; justify-content:center; gap:14px; background:var(--gw-accent) !important; border-color:var(--gw-accent) !important; color:var(--lr-accent-ink) !important; font-size:16px; font-weight:750; letter-spacing:.4px; box-shadow:0 6px 22px #ff9c5530; }
body.lr-giveaways .gw-enter>.gw-button[data-enter]::after { content:'→'; font-size:22px; line-height:1; }
body.lr-giveaways .gw-enter>.gw-button[data-enter]:enabled:hover { background:#ffb077 !important; border-color:#ffb077 !important; box-shadow:0 8px 26px #ff9c5545; }
body.lr-giveaways .gw-enter>.gw-button[data-enter]:disabled { background:#2b332e !important; border-color:#405047 !important; color:var(--gw-muted) !important; box-shadow:none; opacity:1; }
.gw-wallet-total { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--gw-border); padding-top:16px; margin-top:14px; font-size:13px; }
.gw-wallet-total strong { font-size:27px; font-weight:600; }
.gw-section-title { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 24px; }
.gw-section-title h2 { font-size:27px; font-weight:600; letter-spacing:-.8px; margin:0; color:var(--gw-ink); }
.gw-section-title .gw-eyebrow { margin-bottom:6px; }
.gw-account-check { display:grid; justify-items:end; gap:6px; text-align:right; }
.gw-account-check button { min-width:136px; }
.gw-account-check [data-account-check] { font-size:11px; color:var(--gw-muted); min-height:18px; }
.gw-wrap>section:not(.gw-intro):not(.gw-draw) { margin-top:52px; }
.gw-wrap>.gw-intro + .gw-how { margin-top:0; margin-bottom:36px; }
.gw-account { border:1px solid var(--gw-border); border-radius:var(--gw-radius); padding:30px; background:var(--gw-surface); }
.gw-account-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.gw-text-link { font-size:13px; color:var(--gw-accent); text-underline-offset:4px; }
.gw-step-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:16px; }
.gw-step-actions .gw-button { font-size:12px; min-height:38px; padding:8px 12px; }
.gw-admin-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:25px 0; }
.gw-admin-overview article { padding:20px; border:1px solid var(--gw-border); border-radius:10px; background:var(--gw-surface); }
.gw-admin-overview span { display:block; color:var(--gw-muted); font-size:12px; }
.gw-admin-overview strong { display:block; margin-top:8px; font-size:30px; color:var(--gw-accent); }
.gw-review-panel { border-color:#77532d; }
body.lr-giveaways .gw-approve:enabled { background:var(--gw-accent) !important; color:var(--lr-accent-ink) !important; border-color:var(--gw-accent) !important; min-height:48px; font-weight:750; }
@media(max-width:800px) { .gw-admin-overview { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.gw-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:22px 0; }
.gw-summary>div { display:flex; flex-direction:column; gap:5px; padding:0 20px; border-left:1px solid var(--gw-border); }
.gw-summary>div:first-child { padding-left:0; border:0; }
.gw-summary span { font-size:12px; color:var(--gw-muted); }
.gw-summary strong { font-size:30px; font-weight:600; }
.gw-tabs { display:flex; gap:6px; overflow:auto; margin:16px 0 24px; border-bottom:1px solid var(--gw-border); }
.gw-tabs button { background:none; border:0; border-radius:0; border-bottom:2px solid transparent; padding:10px 14px; color:var(--gw-muted); white-space:nowrap; cursor:pointer; font-size:13px; }
.gw-tabs button[aria-selected=true] { color:var(--gw-accent); border-bottom-color:var(--gw-accent); font-weight:650; }
.gw-server-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:14px; }
.gw-server { padding:20px; border:1px solid var(--gw-border); background:var(--gw-surface); border-radius:var(--gw-radius); min-width:0; }
.gw-server h3 { font-size:14px; font-weight:600; margin:0 0 8px; color:var(--gw-ink); }
.gw-server p { font-size:12px; color:var(--gw-muted); margin:5px 0; }
.gw-server a { font-size:12px; color:var(--gw-accent); }
.gw-server code { display:block; color:var(--gw-muted); font-size:11px; overflow-wrap:anywhere; margin-top:10px; }
.gw-earned { color:var(--gw-accent); font-weight:650; }
.gw-how-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.gw-how-grid article { padding:10px 15px 0 0; }
.gw-how-grid article>span { font-size:28px; font-weight:550; color:var(--gw-accent); }
.gw-how-grid h3 { font-size:17px; font-weight:600; margin:10px 0; color:var(--gw-ink); }
.gw-how-grid p { font-size:14px; color:var(--gw-muted); }
.gw-how details { border-top:1px solid var(--gw-border); padding-top:18px; margin-top:22px; }
.gw-how summary { cursor:pointer; font-size:14px; font-weight:600; }
.gw-how details p { color:var(--gw-muted); font-size:13px; }
.gw-table-scroll { overflow:auto; border:1px solid var(--gw-border); border-radius:var(--gw-radius); background:var(--gw-surface); }
.gw-table-scroll table { width:100%; border-collapse:collapse; white-space:nowrap; font-size:12px; color:var(--gw-ink); }
.gw-table-scroll th,.gw-table-scroll td { padding:13px 16px; text-align:left; border-bottom:1px solid var(--gw-border); }
.gw-table-scroll thead { color:var(--gw-muted); background:var(--gw-raised); }
.gw-table-scroll th { font-weight:600; }
.gw-table-scroll tr:last-child td { border-bottom:0; }
.gw-table-scroll td .gw-button { padding:5px 10px; min-height:30px; font-size:12px; }
.gw-message { padding:15px 20px; border:1px solid #4e694e; border-radius:var(--gw-radius); background:#1c2b20; font-size:14px; }
.gw-message[data-error=true] { background:#33231e; border-color:#8b5340; color:#f1c0a9; }
.lr-giveaways dialog { padding:30px; border:1px solid var(--gw-border); border-radius:var(--gw-radius); max-width:490px; width:calc(100% - 32px); background:var(--gw-surface); color:var(--gw-ink); box-shadow:0 25px 100px #0008; }
.lr-giveaways dialog::backdrop { background:#080c0bcc; backdrop-filter:blur(3px); }
.lr-giveaways dialog h2 { font-size:28px; font-weight:600; letter-spacing:-1px; margin:0 0 12px; color:var(--gw-ink); }
.lr-giveaways dialog p { color:var(--gw-muted); font-size:14px; }
.gw-wrap label,.lr-giveaways dialog label { display:grid; gap:6px; font-size:13px; font-weight:600; }
.gw-wrap input,.gw-wrap select,.lr-giveaways dialog input { border:1px solid var(--gw-border); border-radius:7px; padding:10px 12px; background:var(--lr-bg); color:var(--gw-ink); min-width:0; }
.gw-form-actions { display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; margin-top:22px; }
.gw-card-code { display:block; white-space:pre-wrap; overflow-wrap:anywhere; padding:20px; border-radius:7px; background:var(--gw-raised); color:var(--gw-accent); font-size:20px; }
.gw-admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.gw-admin-card { padding:25px; border:1px solid var(--gw-border); border-radius:var(--gw-radius); background:var(--gw-surface); }
.gw-admin-card h2 { margin:0 0 14px; font-size:21px; font-weight:600; color:var(--gw-ink); }
.gw-admin-card form { display:grid; gap:14px; }
.gw-admin-title { margin:40px 0 20px; }
.gw-admin-title h1 { font-size:34px; font-weight:600; letter-spacing:-1px; color:var(--gw-ink); }
.gw-admin-links { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.gw-filters { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin-bottom:18px; }
.gw-filters label { flex:1; min-width:170px; }
.gw-wrap .gw-checkbox { display:flex; align-items:center; gap:10px; }
.gw-checkbox input { width:18px; height:18px; accent-color:var(--gw-accent); }
.gw-danger { background:#974c35; border-color:#b16e52; color:#fff; }
.gw-danger:hover { color:#fff; }
.gw-pager { display:flex; align-items:center; justify-content:flex-end; gap:15px; margin-top:15px; font-size:13px; }
.lr-giveaways[data-giveaway-page=admin] .gw-table-scroll { max-height:520px; }
.lr-giveaways[data-giveaway-page=admin] th { position:sticky; top:0; background:var(--gw-raised); z-index:1; }
@media(max-width:800px) {
  .gw-intro { gap:35px; padding-top:45px; }
  .gw-intro h1 { letter-spacing:-2px; }
  .gw-intro-art { padding:20px; min-height:195px; }
  .gw-intro-art>strong { font-size:22px; }
  .gw-intro-art>b { font-size:50px; right:18px; }
  .gw-draw { grid-template-columns:1fr; }
  .gw-enter { border-left:0; border-top:1px solid var(--gw-border); }
  .gw-enter h3 br { display:none; }
  .gw-admin-grid { grid-template-columns:1fr; }
}
@media(max-width:550px) {
  .lr-giveaways main.gw-wrap { padding:0 20px 45px; }
  .gw-intro { grid-template-columns:1fr; padding-bottom:35px; gap:20px; }
  .gw-intro h1 { font-size:49px; }
  .gw-intro-art { max-width:330px; margin:0 6px 14px; min-height:170px; }
  .gw-intro-art>b { font-size:48px; }
  .gw-draw-main,.gw-enter,.gw-account { padding:23px; }
  .gw-draw h2 { font-size:22px; }
  .gw-prize>span { font-size:60px; }
  .gw-row { align-items:flex-start; gap:8px; }
  .gw-row .gw-muted { font-size:10px; }
  .gw-metrics strong { font-size:21px; }
  .gw-progress-label { align-items:flex-start; font-size:12px; }
  .gw-how-grid { grid-template-columns:1fr; gap:10px; }
  .gw-how-grid article { padding:0; }
  .gw-section-title { align-items:flex-start; }
  .gw-section-title h2 { font-size:23px; }
  .gw-summary strong { font-size:25px; }
  .gw-summary>div { padding:0 12px; }
  .gw-summary span { font-size:10px; }
  .gw-account-actions>.gw-button { flex:1; }
  .gw-account-actions>.gw-text-link { width:100%; margin-top:5px; }
  .gw-admin-card { padding:20px; }
  .gw-admin-title { flex-direction:column; }
}
