/* Florent's journey gift: paper, copper and a little sunshine. */
.fg-overlay[hidden], .fg-launcher[hidden], .fg-panel[hidden], .fg-fireworks[hidden] { display: none !important; }
.fg-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: #18251ee0; backdrop-filter: blur(5px); }
.fg-dialog { position: relative; width: min(860px, 100%); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; border: 1px solid #c8ad86; border-radius: 130px 130px 28px 28px; background-color: var(--light); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23856641' filter='url(%23n)' opacity='.06' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); box-shadow: 0 30px 100px #0005; color: var(--forest); }
.fg-close { position: sticky; top: 18px; float: right; margin: 18px 70px -62px 0; width: 44px; height: 44px; z-index: 5; border: 1px solid #cbbba6; border-radius: 50%; color: var(--forest); background: #faf6edf2; font-size: 27px; line-height: 1; }
.fg-topline { text-align: center; color: #8c482f; font-size: 9px; font-weight: 600; letter-spacing: .18em; padding: 38px 60px 0; }
.fg-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 32px; padding: 22px 42px 16px; }
.fg-postcard { padding: 10px 0; }
.fg-postmark { width: 75px; height: 75px; border: 1px dashed var(--copper); border-radius: 50%; display: grid; place-content: center; color: #9d432e; font: italic 23px var(--serif); text-align: center; transform: rotate(-10deg); margin-bottom: 20px; line-height: 1.15; }
.fg-postmark small { font: 8px var(--sans); letter-spacing: .12em; margin-top: 5px; }
.fg-dialog h2 { font-size: 40px; line-height: 1.12; }
.fg-dialog h2 em { display: block; }
.fg-subline { margin-top: 17px; font-size: 12px; color: var(--muted); }
.fg-note { margin-top: 18px; font: italic 19px/1.5 var(--serif); color: #775b40; max-width: 270px; }
.fg-route { display: flex; gap: 13px; font-size: 9px; letter-spacing: .07em; color: #785c42; border-top: 1px dashed var(--copper); margin-top: 25px; padding-top: 14px; }
.fg-wheel-side { text-align: center; min-width: 0; }
.fg-wheel-wrap { position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto 8px; }
.fg-wheel { width: 100%; height: 100%; display: block; overflow: visible; }
.fg-rotor { transform-origin: 200px 200px; will-change: transform; }
.fg-pointer { position: absolute; z-index: 2; top: -2px; left: 50%; width: 30px; height: 39px; transform: translateX(-50%); filter: drop-shadow(0 3px 2px #291f2233); }
.fg-spin { min-height: 50px; width: 85%; border: 1px solid #a4452d; border-radius: 30px; background: var(--terra); color: white; font-weight: 700; letter-spacing: .2em; font-size: 13px; box-shadow: 0 4px 0 #803d2c; }
.fg-spin:hover:not(:disabled) { background: #99462f; }
.fg-spin:disabled { cursor: wait; opacity: .75; }
.fg-hint { min-height: 28px; padding-top: 11px; color: #6c624f; font-size: 10px; }
.fg-progress { height: 3px; background: #e3d7c5; width: 75%; margin: 9px auto 0; border-radius: 8px; overflow: hidden; }
.fg-progress span { display: block; width: 0; height: 100%; background: #a44c33; }
.fg-footer { text-align: center; padding: 0 25px 24px; }
.fg-terms { font-size: 9px; color: #74634e; margin-bottom: 7px; }
.fg-terms a { text-decoration: underline; text-underline-offset: 3px; }
.fg-no-thanks { min-height: 35px; padding: 4px 15px; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; color: #6c624f; font-size: 10px; }
.fg-won .fg-wheel-wrap { filter: drop-shadow(0 0 14px #d6a14c75); }
.fg-won .fg-note { color: #99452f; }
.fg-claim { padding: 26px 64px 20px; }
.fg-claim-heading { text-align: center; margin-bottom: 22px; }
.fg-claim-heading h2 { font-size: 38px; }
.fg-prize-tag { display: inline-block; background: #e6d5b9; color: #88442f; border: 1px solid #c5a073; border-radius: 50px; padding: 4px 15px; font-size: 10px; letter-spacing: .1em; margin-bottom: 12px; }
.fg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fg-field { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fg-field label { font-size: 10px; }
.fg-full { grid-column: 1 / -1; }
.fg-form input, .fg-form select, .fg-form textarea { background: #fffaf2; font-size: 12px; }
.fg-form textarea { min-height: 66px; }
.fg-consent { display: flex; gap: 9px; font-size: 10px; line-height: 1.6; font-weight: 400; }
.fg-consent a { text-decoration: underline; }
.fg-submit { min-height: 48px; border-radius: 30px; background: var(--forest); color: var(--light); border: 1px solid var(--forest); font-size: 12px; }
.fg-submit:disabled { opacity: .65; cursor: wait; }
.fg-form-status { font-size: 11px; color: #96412e; }
.fg-smallprint { font-size: 10px; text-align: center; color: var(--muted); margin-top: 12px; }
.fg-success { text-align: center; padding: 35px 70px 45px; }
.fg-success-mark { margin: 0 auto 24px; width: 100px; height: 100px; border-radius: 50%; border: 1px dashed var(--copper); display: grid; place-content: center; color: #9d432e; font-size: 45px; }
.fg-success p { font-size: 13px; color: var(--muted); margin: 20px auto 25px; max-width: 430px; }
.fg-success .fg-submit { padding: 12px 30px; }
.fg-launcher { position: fixed; left: 18px; bottom: 20px; z-index: 79; display: flex; align-items: center; gap: 9px; border: 1px solid #c8a378; background: var(--light); color: #8c432e; border-radius: 40px; padding: 9px 15px 9px 9px; box-shadow: 0 4px 20px #1f2f2725; font-size: 10px; }
.fg-launcher svg { width: 30px; height: 30px; }
.fg-fireworks { position: fixed; inset: 0; z-index: 1001; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 640px) {
 .fg-overlay { padding: 12px; }
 .fg-dialog { max-height: calc(100dvh - 24px); border-radius: 95px 95px 24px 24px; }
 .fg-close { top: 14px; margin: 14px 38px -58px 0; }
 .fg-topline { padding: 28px 55px 0; font-size: 8px; letter-spacing: .1em; }
 .fg-layout { display: flex; flex-direction: column-reverse; gap: 13px; padding: 15px 22px 10px; }
 .fg-postcard { padding: 0; text-align: center; }
 .fg-postmark { display: none; }
 .fg-dialog h2 { font-size: 29px; padding: 0 15px; }
 .fg-subline { font-size: 10px; margin-top: 11px; }
 .fg-note, .fg-route { display: none; }
 .fg-wheel-side { width: min(282px, 100%); }
 .fg-wheel-wrap { margin-bottom: 4px; }
 .fg-spin { min-height: 46px; }
 .fg-hint { font-size: 9px; padding-top: 9px; }
 .fg-footer { padding: 0 15px 15px; }
 .fg-terms { font-size: 8px; }
 .fg-claim { padding: 25px 22px 12px; }
 .fg-claim-heading { margin-bottom: 18px; }
 .fg-claim-heading h2 { padding: 0; font-size: 29px; }
 .fg-form { gap: 12px; }
 .fg-form input, .fg-form select, .fg-form textarea { font-size: 12px; padding: 10px; }
 .fg-field label { font-size: 9px; }
 .fg-success { padding: 30px 25px; }
 .fg-success h2 { padding: 0; }
 .fg-launcher { left: 12px; bottom: 20px; padding: 7px 12px 7px 7px; font-size: 9px; }
}
@media (max-width: 350px) { .fg-layout { padding: 14px 16px 8px; } .fg-dialog h2 { font-size: 25px; padding: 0 12px; } .fg-form { grid-template-columns: 1fr; } .fg-topline { max-width: 235px; margin: auto; } }
@media (prefers-reduced-motion: reduce) { .fg-overlay { backdrop-filter: none; } .fg-rotor { will-change: auto; } }

@keyframes fg-unfold { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fg-claim:not([hidden]), .fg-success:not([hidden]) { animation: fg-unfold .35s ease-out; }
