@charset "UTF-8";

html.ff-public-modal-open { overflow: hidden; }
.ff-public-modal {
    width: min(920px, calc(100vw - 40px));
    height: min(800px, calc(100svh - 48px));
    max-width: none;
    max-height: calc(100svh - 48px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2b365;
    border-radius: 13px;
    background: #08292d;
    color: #faefd8;
    color-scheme: dark;
    box-shadow: inset 0 0 0 4px rgba(228, 182, 104, .18), 0 28px 100px rgba(0, 0, 0, .65);
    font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.ff-public-modal, .ff-public-modal * { box-sizing: border-box; }
.ff-public-modal[open] { display: flex; flex-direction: column; }
.ff-public-modal:not([open]) { display: none; }
.ff-public-modal::backdrop { background: rgba(1, 14, 17, .82); backdrop-filter: blur(6px); }
.ff-public-modal [hidden] { display: none !important; }
.ff-public-modal__header { position: relative; display: flex; flex-shrink: 0; align-items: center; gap: 17px; min-height: 110px; padding: 21px 25px; border-bottom: 1px solid #b78a48; background: linear-gradient(90deg, rgba(4, 28, 31, .95), rgba(4, 28, 31, .82)), url('../landing/archway-v1.webp') center 35% / cover; }
.ff-public-modal__header::before, .ff-public-modal__header::after { content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border: 1px solid #ffe0a4; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ffe0a4, #ae742b 50%, #4d2d13); }
.ff-public-modal__header::before { left: 8px; }
.ff-public-modal__header::after { right: 8px; }
.ff-public-modal__header > img { display: block; flex-shrink: 0; width: 52px; height: 52px; }
.ff-public-modal__header > div { min-width: 0; flex: 1; }
.ff-public-modal__eyebrow { margin: 0 0 5px; color: #edbd69; font-size: 10px; font-weight: 500; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.ff-public-modal h2 { margin: 0; color: #faefd8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.ff-public-modal button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 1px solid #e2b365; border-radius: 6px; background: linear-gradient(#f5d38a, #d89f43); color: #2c1b0c; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.ff-public-modal .ff-public-modal__close { width: 44px; height: 44px; padding: 0; border-color: rgba(237, 189, 105, .55); background: rgba(5, 29, 33, .85); color: #f6d595; font-family: Arial, sans-serif; font-size: 28px; font-weight: 400; }
.ff-public-modal button:hover { filter: brightness(1.12); }
.ff-public-modal a { color: #f4d596; text-underline-offset: .22em; }
.ff-public-modal a:focus-visible, .ff-public-modal button:focus-visible, .ff-public-modal iframe:focus-visible { outline: 3px solid #ffe2a4; outline-offset: 3px; }
.ff-public-modal__frame { display: block; flex: 1; min-height: 0; width: 100%; border: 0; background: #f5eddd; }
.ff-public-modal__status { display: grid; flex: 1; align-content: center; justify-items: center; gap: 18px; padding: 32px; text-align: center; }
.ff-public-modal__status > p { max-width: 500px; margin: 0; color: #eee4cf; font-size: 16px; line-height: 1.65; }
.ff-public-modal__recovery { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.ff-public-modal__footer { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 22px; border-top: 1px solid #b78a48; background: linear-gradient(110deg, #08292d, #0c3437, #08292d); }
.ff-public-modal__footer nav { display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 0; }
.ff-public-modal__footer a { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; white-space: nowrap; }

/* The same canonical pages retain their standalone layouts outside this dialog. */
body.ff-public-embed { min-height: 100vh; margin: 0; padding: 0; background: radial-gradient(ellipse at top left, rgba(195, 153, 82, .13), transparent 65%), #f5eddd; color: #30261b; color-scheme: light; font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.ff-public-embed, .ff-public-embed * { box-sizing: border-box; }
.ff-public-embed main, .ff-public-embed .wrap { width: 100%; max-width: none; margin: 0; padding: 28px 34px; }
.ff-public-embed article, .ff-public-embed .panel { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ff-public-embed h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ff-public-embed p { color: #504431; font-size: 15px; line-height: 1.8; }
.ff-public-embed .meta { margin-top: 0; color: #76654e; font-size: 12px; line-height: 1.7; }
.ff-public-embed .warning { padding: 14px 17px; border: 1px solid #be9770; border-radius: 6px; background: rgba(183, 135, 79, .1); color: #614626; font-size: 13px; }
.ff-public-embed a { color: #23574e; text-underline-offset: .22em; }
.ff-public-embed a:focus-visible, .ff-public-embed input:focus-visible, .ff-public-embed select:focus-visible, .ff-public-embed button:focus-visible { outline: 3px solid #8c642c; outline-offset: 3px; }
.ff-public-embed article > nav, .ff-public-embed .nav-row { display: none; }
.ff-public-embed .is-hidden { display: none !important; }
.ff-public-embed .eyebrow { margin: 0 0 8px; color: #8a5b29; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.ff-public-embed form { display: grid; gap: 19px; margin-top: 24px; }
.ff-public-embed label { display: grid; gap: 7px; color: #3e3021; font-size: 15px; font-weight: 600; }
.ff-public-embed input, .ff-public-embed select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b7a17d; border-radius: 6px; background: #fffcf5; color: #30261b; font-family: inherit; font-size: 16px; }
.ff-public-embed .button { min-height: 48px; padding: 12px 24px; border: 1px solid #c7974d; border-radius: 6px; background: linear-gradient(#f3d185, #d89f43); box-shadow: inset 0 0 0 2px rgba(126, 78, 21, .18); color: #2c1b0c; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; }
.ff-public-embed .button:hover { background: linear-gradient(#f8d992, #e3ad54); }
.ff-public-embed .button:disabled { opacity: .7; cursor: wait; }
.ff-public-embed .status { border-radius: 6px; font-size: 15px; line-height: 1.7; }

@media (max-width: 620px) {
    .ff-public-modal { width: calc(100vw - 20px); height: calc(100svh - 24px); max-height: calc(100svh - 24px); border-radius: 9px; }
    .ff-public-modal__header { min-height: 96px; gap: 10px; padding: 17px 14px; }
    .ff-public-modal__header > img { width: 37px; height: 37px; }
    .ff-public-modal__eyebrow { max-width: 190px; font-size: 8px; letter-spacing: .07em; }
    .ff-public-modal h2 { font-size: 25px; }
    .ff-public-modal__close { align-self: flex-start; }
    .ff-public-modal__status { padding: 22px; }
    .ff-public-modal__footer { gap: 12px; padding: 10px 13px; }
    .ff-public-modal__footer nav { gap: 0 15px; }
    .ff-public-modal__footer a { min-height: 44px; font-size: 11px; }
    .ff-public-modal__footer button { padding-inline: 13px; }
    .ff-public-embed main, .ff-public-embed .wrap { padding: 22px 20px; }
    .ff-public-embed p { font-size: 14px; }
}
