.giveaway, .draw-shell { color: #20362e; font: 16px/1.55 system-ui, sans-serif; letter-spacing: 0; }
.giveaway-invitation-view > [hidden], .giveaway-entry-view > [hidden] { display: none !important; }
.research-receipt { font-weight: 600; }
.giveaway-invitation-view, .giveaway-entry-view { padding-top: 24px !important; min-height: 0; }
.giveaway-invitation-view:not(.hidden):not([hidden]), .giveaway-entry-view:not(.hidden):not([hidden]) { display: block; }
.giveaway-invitation-view > .giveaway, .giveaway-entry-view > .giveaway { width: 100%; margin: 0 auto; border-top: 0; padding-top: 0; }
.giveaway .giveaway-invite-title { font: 650 32px/1.2 system-ui, sans-serif; letter-spacing: 0; margin: 0 0 16px; overflow-wrap: anywhere; }
.giveaway .research-receipt { color: #176951; font-size: 14px; border-bottom: 1px solid #d2dcd6; padding-bottom: 16px; margin-bottom: 20px; }
.giveaway .giveaway-prize-title { font-weight: 650; margin: 20px 0; }
.giveaway-invitation-view .giveaway-prize-title { font-size: 22px; line-height: 1.35; margin: 0 0 14px; overflow-wrap: anywhere; }
.giveaway .giveaway-invite-actions { margin: 20px 0; gap: 12px 20px; }
.giveaway .giveaway-invite-actions > button { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.giveaway .giveaway-invite-actions > .giveaway-decline { background: transparent; border-color: transparent; font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.giveaway-prize-media:empty { display: none; }
.giveaway-prize-media { margin-top: 24px; }
@media (max-width: 700px) {
  .giveaway .giveaway-invite-title { font-size: 28px; }
  .giveaway .giveaway-invite-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .giveaway .giveaway-invite-actions > button { width: 100%; }
}
.giveaway-policy-links { display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
.giveaway-entry-view .giveaway > button.secondary { margin-top: 20px; }
.giveaway-entry-view .draw-stack { gap: 14px; }
.giveaway-entry-view .draw-stack p { margin: 0; }
.draw-entry-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.giveaway .draw-entry-methods button[aria-pressed="false"] { background: white; color: #176951; }
.giveaway .draw-address-message, .giveaway textarea[aria-label="Paste signed message"] { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #9eada4; border-radius: 4px; background: #fff; color: #20362e; font: 13px/1.5 ui-monospace, monospace; resize: vertical; }
.giveaway .draw-address-message { min-height: 250px; overflow-wrap: anywhere; }
.prize-gallery { width: 100%; max-width: 760px; margin: 0 0 20px; }
.prize-gallery > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #eef2ef; display: block; }
.prize-gallery figcaption { font-size: 14px; min-height: 24px; padding: 6px 0; overflow-wrap: anywhere; }
.prize-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.giveaway .prize-thumbnails button { padding: 3px; background: white; border: 2px solid #d2dcd6; min-width: 0; }
.giveaway .prize-thumbnails button[aria-pressed=true] { border-color: #176951; }
.prize-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.media-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.media-item { min-width: 0; padding: 16px 0; border-bottom: 1px solid #d2dcd6; }
.media-item > img, .upload-preview { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #eef2ef; margin-bottom: 8px; }
.media-item .draw-grid { grid-template-columns: minmax(0, 1fr); }
.draw-shell .media-tool { width: 44px; height: 44px; padding: 10px; }
.media-tool img { display: block; width: 20px; height: 20px; }
.draw-shell .media-tool[aria-pressed=true] { background: #d5e7dc; }
.media-upload { margin-top: 24px; }
.media-empty { padding: 24px 0; color: #58645f; }
@media (max-width: 700px) { .media-list { grid-template-columns: minmax(0, 1fr); } }
.draw-shell { max-width: 1080px; margin: 0 auto; padding: 24px; }
.draw-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #cbd4ce; padding-bottom: 18px; margin-bottom: 28px; }
.draw-header a { display: inline-flex; align-items: center; gap: 9px; color: #185f47; }
.draw-shell h1 { font-size: 30px; line-height: 1.2; margin: 16px 0; }
.draw-shell h2, .giveaway h2 { font-size: 22px; line-height: 1.3; margin: 12px 0; }
.draw-shell h3 { font-size: 18px; }
.draw-shell .draw-return { margin: 20px 0; }
.draw-return a { font-size: 18px; font-weight: 700; }
.entry-confirmation { position: relative; isolation: isolate; min-height: 240px; padding-top: 16px; }
.entry-confirmation > :not(canvas) { position: relative; z-index: 1; }
.entry-confirmation .draw-celebration { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
@media (prefers-reduced-motion: reduce) { .entry-confirmation .draw-celebration { display: none; } }
.draw-shell p, .giveaway p { margin: 10px 0; }
.giveaway { border-top: 1px solid #b8cbc0; padding: 24px 0 8px; margin: 24px 0 0; max-width: 760px; text-align: left; }
.giveaway-banner { max-width: 1160px; margin: 18px auto; padding: 16px 24px; border-top: 1px solid #bccdc2; border-bottom: 1px solid #bccdc2; font-size: 15px; }
.giveaway-banner strong { color: #176951; }
.giveaway-prize-image { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 8 / 5; object-fit: contain; margin: 0 0 16px; }
.giveaway a, .draw-shell a { color: #176951; text-decoration: underline; text-underline-offset: 3px; }
.draw-shell section { padding: 24px 0; border-top: 1px solid #d2dcd6; }
.draw-shell label, .giveaway label { display: grid; gap: 6px; font-weight: 600; min-width: 0; }
.draw-shell input, .draw-shell select, .draw-shell textarea, .giveaway input, .giveaway select { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px 12px; font: inherit; border: 1px solid #9eadA4; border-radius: 4px; background: #fff; color: #20362e; }
.draw-shell textarea { min-height: 88px; resize: vertical; }
.draw-shell .check, .giveaway .check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.check input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; }
.draw-shell button, .giveaway button { background: #176951; color: white; border: 1px solid #176951; padding: 10px 16px; border-radius: 4px; font: 600 15px/1.35 system-ui, sans-serif; cursor: pointer; min-height: 44px; overflow-wrap: anywhere; }
.draw-shell button.secondary, .giveaway button.secondary { background: white; color: #176951; }
.draw-shell button:disabled, .giveaway button:disabled { opacity: .5; cursor: default; }
.draw-shell :focus-visible, .giveaway :focus-visible { outline: 3px solid #c38f32; outline-offset: 3px; }
.draw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.draw-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.draw-stack { display: grid; gap: 16px; max-width: 620px; }
.draw-status { padding: 10px 0; color: #76551c; min-height: 24px; overflow-wrap: anywhere; }
.draw-warning { border-left: 3px solid #b38837; padding: 8px 16px; background: #faf8f1; }
.draw-stats { display: flex; flex-wrap: wrap; gap: 18px 32px; padding: 12px 0; }
.draw-stats strong { display: block; font-size: 22px; }
.draw-table { width: 100%; border-collapse: collapse; text-align: left; }
.draw-table td, .draw-table th { padding: 12px 8px; border-bottom: 1px solid #d2dcd6; overflow-wrap: anywhere; }
.draw-code { font: 600 22px/1.5 ui-monospace, monospace; color: #176951; overflow-wrap: anywhere; }
.draw-shell pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.draw-shell [hidden], .giveaway [hidden] { display: none !important; }
.draw-shell progress { width: 100%; accent-color: #176951; height: 12px; }
.draw-shell details { padding: 12px 0; }
.draw-shell summary { cursor: pointer; font-weight: 600; }
.draw-bot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) { .draw-grid { grid-template-columns: minmax(0, 1fr); } .draw-shell { padding: 18px; } .draw-header { align-items: flex-start; } .draw-header nav { display: flex; flex-direction: column; gap: 8px; } .draw-shell h1 { font-size: 27px; } .draw-table { font-size: 14px; } .draw-code { font-size: 18px; } }
.schedule-rotation { padding: 0; list-style: none; }
.schedule-rotation li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #d6e0dc; }
.schedule-rotation label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.schedule-rotation button { width: 38px; height: 38px; padding: 8px; flex: 0 0 38px; }
