/* Bravostriv — the private motor club's fortune invitation. */
.brv-fortune[hidden], .brv-fortune [hidden] { display: none !important; }
.brv-fortune { position: fixed; inset: 0; z-index: 12000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(7,27,22,.77); backdrop-filter: blur(9px); font-family: 'DM Sans', sans-serif; color: #1B1A18; }
body.brv-fortune-open { overflow: hidden; }
.brv-fortune-dialog { position: relative; width: min(100%,720px); max-height: calc(100dvh - 40px); background: #F7F4EE; border: 1px solid #A66B3F; box-shadow: 0 35px 100px #0006, inset 0 0 0 6px #F7F4EE; border-radius: 4px; isolation: isolate; animation: brv-arrive .35s ease-out; }
.brv-fortune-dialog::before { content: ''; position: absolute; inset: 7px; border: 1px solid #A66B3F40; pointer-events: none; z-index: -1; }
.brv-fortune-close { position: absolute; right: 14px; top: 14px; z-index: 5; display: grid; place-items: center; width: 38px; height: 38px; padding: 0 0 3px; border: 1px solid #A66B3F; border-radius: 50%; background: #F7F4EE; color: #0E3A2F; font: 30px/1 'DM Sans', sans-serif; cursor: pointer; box-shadow: 0 2px 12px #0E3A2F10; }
.brv-fortune-close:hover { color: #F7F4EE; background: #0E3A2F; }
.brv-fortune-scroll { max-height: calc(100dvh - 42px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 30px 42px 25px; scrollbar-width: thin; scrollbar-color: #A66B3F #F7F4EE; }
.brv-fortune-header { text-align: center; padding: 0 20px; }
.brv-fortune-kicker { display: block; color: #A66B3F; font-size: 9px; font-weight: 700; letter-spacing: .23em; margin-bottom: 13px; }
.brv-fortune-title { margin: 0 auto 12px; max-width: 530px; font-family: 'Playfair Display', serif; color: #0E3A2F; font-weight: 400; font-size: clamp(27px,3vw,36px); letter-spacing: -.025em; line-height: 1.16; }
.brv-fortune-title em { color: #A66B3F; font-weight: 400; }
.brv-fortune-countries { color: #777066; font-size: 11px; line-height: 1.6; margin: 0; }
.brv-wheel-stage { position: relative; width: min(100%,350px); aspect-ratio: 1; margin: 25px auto 12px; filter: drop-shadow(0 10px 16px #0E3A2F18); }
.brv-wheel-canvas { display: block; width: 100%; height: 100%; }
.brv-wheel-pointer { position: absolute; width: 34px; height: 42px; top: -13px; left: calc(50% - 17px); z-index: 2; transform-origin: 50% 12%; filter: drop-shadow(0 2px 2px #0003); }
.brv-wheel-footer { text-align: center; }
.brv-spin-button, .brv-claim-button { display: block; margin: 0 auto; min-height: 46px; padding: 12px 32px; background: #0E3A2F; color: #FFFFFF; border: 1px solid #A66B3F; border-radius: 2px; font: 700 11px/1.6 'DM Sans',sans-serif; letter-spacing: .12em; cursor: pointer; }
.brv-spin-button:hover, .brv-claim-button:hover { background: #09271F; }
.brv-spin-button:disabled, .brv-claim-button:disabled { opacity: .7; cursor: wait; }
.brv-countdown { min-height: 23px; margin: 8px 0 0; color: #777066; font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.brv-fortune-note { color: #777066; font-size: 10px; line-height: 1.6; margin: 7px auto 0; max-width: 470px; }
.brv-win { animation: brv-arrive .45s ease-out; }
.brv-win-banner { margin: 22px 0 18px; padding: 18px 15px; background: #0E3A2F; color: #F7F4EE; border: 1px solid #A66B3F; text-align: center; }
.brv-win-banner span { display: block; font: 400 40px/1.1 'Playfair Display',serif; color: #DFC397; margin-bottom: 9px; }
.brv-win-banner h3 { margin: 0; color: #F7F4EE; font: 500 11px/1.6 'DM Sans',sans-serif; letter-spacing: .13em; }
.brv-claim-intro { text-align: center; font-size: 12px; margin: 0 0 16px; color: #646059; }
.brv-claim-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
.brv-claim-form > * { min-width: 0; }
.brv-form-wide { grid-column: 1 / -1; }
.brv-claim-form label:not(.brv-privacy-label) { display: block; color: #0E3A2F; font-size: 10px; margin-bottom: 5px; }
.brv-claim-form .form-control, .brv-claim-form .form-select { width: 100%; min-width: 0; min-height: 41px; padding: 9px 10px; font-size: 12px; background-color: #FFFFFF; }
.brv-claim-form .form-select { padding-right: 30px; }
.brv-claim-form textarea.form-control { min-height: 65px; resize: vertical; }
.brv-privacy-label { display: flex; align-items: flex-start; gap: 9px; color: #646059; font-size: 10px; line-height: 1.6; }
.brv-privacy-label input { flex-shrink: 0; margin-top: 3px; accent-color: #0E3A2F; }
.brv-privacy-label a { text-decoration: underline; color: #0E3A2F; }
.brv-claim-button { width: 100%; }
.brv-claim-result { font-size: 12px; line-height: 1.7; color: #0E3A2F; overflow-wrap: anywhere; }
.brv-claim-result:not(:empty) { border: 1px solid #A66B3F; background: #FFFFFF; padding: 14px; }
.brv-claim-result[data-error='true'] { color: #8b3225; border-color: #8b3225; }
.brv-claim-result strong { display: block; font-size: 15px; }
.brv-fireworks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 12010; pointer-events: none; }
@keyframes brv-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 575px) {
  .brv-fortune { padding: 12px; }
  .brv-fortune-dialog { max-height: calc(100dvh - 24px); }
  .brv-fortune-scroll { max-height: calc(100dvh - 26px); padding: 50px 20px 22px; }
  .brv-fortune-close { right: 12px; top: 12px; width: 34px; height: 34px; }
  .brv-fortune-header { padding: 0; }
  .brv-fortune-title { font-size: 28px; }
  .brv-fortune-kicker { font-size: 8px; letter-spacing: .18em; }
  .brv-fortune-countries { font-size: 11px; }
  .brv-wheel-stage { width: min(100%,310px); margin-top: 25px; }
  .brv-claim-form { gap: 12px 10px; }
  .brv-claim-form .form-control, .brv-claim-form .form-select { font-size: 16px; }
  .brv-model-field, .brv-email-field { grid-column: 1 / -1; }
  .brv-win-banner { padding: 15px 12px; }
}
@media (max-height: 720px) and (min-width: 576px) { .brv-wheel-stage { width: 280px; margin-top: 20px; } .brv-fortune-scroll { padding-block: 22px; } }
@media (prefers-reduced-motion: reduce) { .brv-fortune-dialog, .brv-win { animation: none; } }
