/* Match MARK37's official-rules typography without loading the whole theme. */
@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-v12-latin-regular.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-v12-latin-600.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/barlow-v12-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-semi-condensed-v15-latin-600.woff2') format('woff2'); }
body.m37-giveaway-page {
  --site-primary: #d91e2b;
  --site-background: #061735;
  --font-body: Barlow, Helvetica, Arial, sans-serif;
  --font-heading: 'Barlow Semi Condensed', serif;
  --font-h1: 36px;
  --font-h2: 32px;
  margin: 0;
  background: var(--site-background);
  color: #fff;
  font: 400 24px/1.37 var(--font-body);
  color-scheme: light;
}
.m37-giveaway-page *, .m37-giveaway-page *::before, .m37-giveaway-page *::after { box-sizing: border-box; }
.m37-giveaway-page #app { min-height: 100vh; width: 100%; position: relative; background: radial-gradient(ellipse at 12% 0%, #173c79 0, transparent 42%), linear-gradient(135deg, #06142e 0%, #0b2450 58%, #071832 100%); }
.m37-giveaway-page .decor { position: absolute; pointer-events: none; }
.m37-giveaway-page .decor.top { height: 8px; width: 100%; top: 0; left: 0; background: linear-gradient(90deg, #fff 0 14%, var(--site-primary) 14% 30%, #fff 30% 42%, var(--site-primary) 42% 60%, #fff 60% 72%, #071832 72%); }
.m37-giveaway-page .shell { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 780px; margin: 0 auto; padding: 0 22px 52px; overflow-wrap: anywhere; }
.m37-giveaway-page .shell > *, .m37-giveaway-page .prize-box > * { min-width: 0; }
.m37-giveaway-page p { margin: 20px 0; line-height: 1.37; }
.m37-giveaway-page :is(h1, h2, h3) { font-family: var(--font-heading); font-weight: 600; line-height: 1.25; letter-spacing: normal; text-transform: none; text-shadow: none; }
.m37-giveaway-page h1 { font-size: var(--font-h1); margin: 20px 0; }
.m37-giveaway-page h2 { font-size: var(--font-h2); }
.m37-giveaway-page h3 { font-size: 24px; }
.m37-giveaway-page :is(b, strong) { font-weight: 600; }
.m37-giveaway-page a { text-underline-offset: 3px; }
.m37-giveaway-page img { max-width: 100%; height: auto; }
.m37-giveaway-page .campaign-header { display: block; width: 100%; max-width: 692px; height: auto; margin: 24px auto 28px; border-radius: 12px; }
.m37-giveaway-page .campaign-intro { order: 1; margin-bottom: 24px; }
.m37-giveaway-page .campaign-logo { display: block; width: auto; max-width: min(450px, 100%); height: auto; max-height: none; margin: 24px auto; background: #fff; padding: 10px 16px; border-radius: 10px; }
.m37-giveaway-page .hero { order: 2; display: grid; grid-template-columns: minmax(0, 692px); justify-content: center; }
.m37-giveaway-page .form-card { min-width: 0; width: 100%; padding: 25px; background: #fff; color: #15233a; border: 1px solid #e1e7f0; border-radius: 16px; box-shadow: 0 20px 55px #0003; }
.m37-giveaway-page .form-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e7edf5; padding-bottom: 17px; margin-bottom: 20px; }
.m37-giveaway-page .form-title h2 { margin: 0; }
.m37-giveaway-page .required-note, .m37-giveaway-page .help, .m37-giveaway-page .fineprint { color: #526279; }
.m37-giveaway-page .section-heading { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 14px; }
.m37-giveaway-page .section-heading h3 { margin: 0; }
.m37-giveaway-page .section-number { display: grid; place-items: center; flex: 0 0 auto; width: 1.65em; height: 1.65em; border-radius: 50%; background: #bb202e; color: white; }
.m37-giveaway-page .field { margin-bottom: 20px; min-width: 0; }
.m37-giveaway-page .field-label { display: block; font-weight: 600; margin-bottom: 6px; }
.m37-giveaway-page :is(input, select, button, textarea) { font: inherit; max-width: 100%; }
.m37-giveaway-page :is(input[type=text], input[type=email], input[type=url], select, .share-link) { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 11px; border: 1px solid #aab6c6; border-radius: 8px; background: #fbfcfe; color: #15233a; }
.m37-giveaway-page :is(input, select, button, a):focus-visible { outline: 3px solid var(--site-primary); outline-offset: 3px; }
.m37-giveaway-page .checkline { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #e0e7f1; border-radius: 9px; margin-bottom: 12px; }
.m37-giveaway-page .checkline input { accent-color: var(--site-primary); width: 24px; height: 24px; margin: 4px 0 0; flex: 0 0 auto; }
.m37-giveaway-page .checkline label { min-width: 0; cursor: pointer; }
.m37-giveaway-page .nested { margin: 0 0 16px 12px; padding-left: 14px; border-left: 3px solid var(--site-primary); }
.m37-giveaway-page .rules a, .m37-giveaway-page .rules-panel a { color: #a51020; }
.m37-giveaway-page :is(.submit, .copy-link) { padding: 14px 18px; cursor: pointer; white-space: normal; font-family: var(--font-heading); font-size: 24px; font-weight: 600; line-height: 1.25; }
.m37-giveaway-page .submit { width: 100%; border: 0; border-radius: 9px; background: var(--site-primary); color: #fff; box-shadow: 0 6px 0 #8c101a; }
.m37-giveaway-page .submit:hover { filter: brightness(1.08); }
.m37-giveaway-page .submit:disabled { opacity: .65; cursor: wait; }
.m37-giveaway-page .fineprint { text-align: left; }
.m37-giveaway-page .m37-message { padding: 16px; background: #e4f8eb; color: #155a31; border-radius: 8px; margin: 16px 0; }
.m37-giveaway-page .m37-message.error { background: #fee; color: #851b1b; }
.m37-giveaway-page .m37-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.m37-giveaway-page .share-link { margin: 10px 0; }
.m37-giveaway-page [hidden] { display: none !important; }
.m37-giveaway-page .prizes { order: 3; width: 100%; max-width: 692px; margin: 24px auto 38px; }
.m37-giveaway-page .prizes-title { margin: 0 0 22px; text-align: center; color: #f5cc35; }
.m37-giveaway-page .prizes-title::after { content: ''; display: block; width: 76px; height: 3px; margin: 12px auto 0; border-radius: 99px; background: linear-gradient(90deg, #d91e2b, #fff, #2457c5); }
.m37-giveaway-page .prize-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.m37-giveaway-page .prize-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; padding: 28px; background: #102b5c; color: #f4f7ff; border: 1px solid #34568b; border-left: 7px solid #f5cc35; border-radius: 14px; box-shadow: 0 9px 22px #0004, inset 0 1px 0 #ffffff18; }
.m37-giveaway-page .prize-box:nth-child(4) { border-color: #8f2638; border-left-color: #a92a3b; background: radial-gradient(circle, #f5cc3525 0 1px, transparent 1.8px) 13px 27px / 71px 59px, radial-gradient(circle, #ffffff18 0 1px, transparent 1.8px) 44px 9px / 89px 77px, linear-gradient(115deg, #65101f, #4b0b19 52%, #310812); }
.m37-giveaway-page .prize-label { display: inline-block; margin: 0 0 18px; padding: 10px 14px; border: 1px solid #fff5b4; border-radius: 5px 5px 5px 0; background: linear-gradient(135deg, #ffe36a, #f5cc35 65%, #eab51f); color: #102b5c; font-weight: 600; box-shadow: 0 3px 0 #a98012; }
.m37-giveaway-page .prize-box h3 { margin: 0; color: #fff; }
.m37-giveaway-page .round-dates { color: #dce7fb; }
.m37-giveaway-page .round-dates p { margin: 20px 0 0; }
.m37-giveaway-page .round-date-value { white-space: normal; }
.m37-giveaway-page .prize-content p { margin: 0 0 20px; }
.m37-giveaway-page .prize-content p:last-child { margin-bottom: 0; }
.m37-giveaway-page .prize-box strong { color: #f5cc35; }
.m37-giveaway-page .rules-panel { order: 4; background: #fff; color: #15233a; padding: 24px; border-radius: 12px; margin-bottom: 24px; }
.m37-giveaway-page .rules-panel > h2 { margin-top: 0; }
/* Saved campaign copy has inline type sizes. Override presentation without changing stored rules. */
.m37-giveaway-page .rules-copy, .m37-giveaway-page .rules-copy * { font-family: var(--font-body) !important; font-size: inherit !important; line-height: 1.37 !important; letter-spacing: normal !important; }
.m37-giveaway-page .rules-copy :is(h1, h2, h3) { font-family: var(--font-heading) !important; font-weight: 600 !important; line-height: 1.25 !important; }
.m37-giveaway-page .rules-copy h1 { font-size: var(--font-h1) !important; }
.m37-giveaway-page .rules-copy h2 { font-size: var(--font-h2) !important; }
.m37-giveaway-page .rules-copy h3 { font-size: 24px !important; }
.m37-giveaway-page .rules-copy p { margin: 20px 0 !important; }
.m37-giveaway-page .rules-copy table { width: 100% !important; min-width: 0 !important; border-collapse: collapse; }
.m37-giveaway-page .rules-copy :is(th, td) { text-align: left; vertical-align: top; }
.m37-giveaway-page .rules-table-scroll { max-width: 100%; overflow-x: auto; }
.m37-giveaway-page footer { order: 6; text-align: center; color: #aabbd6; }
@media (min-width: 768px) {
  body.m37-giveaway-page { --font-h1: 42px; --font-h2: 36px; }
}
@media (max-width: 820px) {
  .m37-giveaway-page .prize-box { grid-template-columns: minmax(0, 1fr); }
  .m37-giveaway-page .rules-responsive-table, .m37-giveaway-page .rules-responsive-table :is(tbody, tr, td) { display: block; width: 100%; }
  .m37-giveaway-page .rules-responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .m37-giveaway-page .rules-responsive-table tr { margin: 20px 0; padding: 12px; border: 1px solid #d5deeb; border-radius: 8px; }
  .m37-giveaway-page .rules-responsive-table td { padding: 8px 0 !important; }
  .m37-giveaway-page .rules-responsive-table td::before { content: attr(data-label) ': '; display: block; font-weight: 600; }
}
@media (max-width: 480px) {
  .m37-giveaway-page .shell { padding: 28px 14px 36px; }
  .m37-giveaway-page :is(.form-card, .rules-panel, .prize-box) { padding: 20px 16px; }
  .m37-giveaway-page .rules-copy > div { padding-left: 0 !important; padding-right: 0 !important; }
  .m37-giveaway-page .checkline { padding: 10px; }
}
