/* Freebie entry 20261116: visual behaviour only, no consent or role state. */
.fall-entry-start {
    width: min(100% - 2rem, 900px);
    margin: 2rem auto;
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--color-bg-card, #171717);
    color: var(--text-primary, #f2eee5);
    border: 1px solid var(--color-gold-dark, #806b32);
    border-radius: var(--radius-lg, 12px);
    scroll-margin-top: calc(var(--header-h, 72px) + 1rem);
    overflow-wrap: anywhere;
}
/* The direct variant is the first section below the fixed site header. */
main > .fall-entry-start:first-child {
    margin-top: calc(var(--header-h, 72px) + 1rem);
}
.fall-entry-start h1, .fall-entry-start h2, .fall-entry-start h3 {
    margin: 0 0 .65rem;
    color: var(--color-gold, #c9a84c);
}
.fall-entry-start p { margin: .5rem 0; line-height: 1.5; }
#fallStartForm { margin-top: 1rem; min-width: 0; scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
.fall-entry-roles, .fall-role-buttons, .fall-entry-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.fall-role-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .35rem;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    padding: 1rem;
    border: 1px solid var(--color-gold-dark, #806b32);
    border-radius: 8px;
    background: #242016;
    color: var(--text-primary, #f2eee5);
    text-align: left;
    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    cursor: pointer;
}
.fall-role-button > span, .fall-role-button small {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}
.fall-role-button small, .fall-role-button .fall-role-description,
.fall-role-button .fall-role-desc {
    color: var(--text-secondary, #c8c2b7);
    font-size: .8rem;
    font-weight: 400;
}
.fall-role-button:hover { background: #30291b; border-color: var(--color-gold, #c9a84c); }
.fall-role-button:focus-visible, .fall-start-jump:focus-visible,
.fall-entry-start input:focus-visible {
    outline: 3px solid var(--color-gold, #c9a84c);
    outline-offset: 3px;
}
.fall-entry-name, .fall-entry-optional-name, .fall-optional-name {
    margin-top: 1rem;
    max-width: 420px;
}
.fall-entry-start label { display: block; margin: .75rem 0 .35rem; font-size: .88rem; }
.fall-entry-start input:not([type="hidden"]) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .65rem .75rem;
    border: 1px solid var(--color-border-2, #444);
    border-radius: 6px;
    color: var(--text-primary, #f2eee5);
    background: var(--color-bg, #0d0d0d);
    font: inherit;
    font-size: 1rem;
}
.fall-entry-info, .fall-entry-data-info, .fall-ai-info {
    margin-top: .75rem;
    color: var(--text-secondary, #bfbab0);
    font-size: .78rem;
    line-height: 1.5;
}
.fall-entry-info a, .fall-entry-data-info a, .fall-ai-info a { color: var(--color-gold, #c9a84c); text-decoration: underline; }
.fall-start-jump {
    display: none; /* No-JS: the in-flow native form remains fully usable. */
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: calc(var(--vrd-cookie-space, 0px) + max(.75rem, env(safe-area-inset-bottom)));
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.25rem;
    border: 1px solid #e5c46d;
    border-radius: 8px;
    background: var(--color-gold, #c9a84c);
    color: #0d0d0d;
    box-shadow: 0 4px 20px #0008;
    text-align: center;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
}
.fall-start-jump.is-visible:not([hidden]) { display: inline-flex; }
.fall-start-jump[hidden] { display: none !important; }
body.fall-entry-page {
    padding-bottom: calc(var(--vrd-cookie-space, 0px) + 80px);
}
@media (max-width: 600px) {
    .fall-entry-start { width: calc(100% - 1.5rem); padding: 1rem; margin-bottom: 1rem; }
    .fall-entry-roles, .fall-role-buttons, .fall-entry-role-grid { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
    .fall-role-button { min-height: 72px; padding: .8rem 1rem; }
}

.fall-entry-start--direct { margin-top: calc(var(--header-h, 72px) + 1rem); }
.fall-entry-start__inner.container { width: 100%; max-width: none; padding: 0; margin: 0; }
.fall-role-options { border: 0; padding: 0; min-width: 0; }
.fall-role-options legend { margin-bottom: .6rem; font-size: .88rem; }
.fall-role-title { color: var(--color-gold, #c9a84c); }
.fall-role-action { font-size: .8rem; }
.fall-name-hint, .fall-start-disclaimer { font-size: .78rem; color: var(--text-secondary, #bfbab0); }
.fall-entry-ai-hint { margin-top: .75rem; font-size: .78rem; color: var(--text-secondary, #bfbab0); line-height: 1.5; }
.fall-entry-ai-hint a { color: var(--color-gold, #c9a84c); text-decoration: underline; }

/* The shared section already provides the frame: avoid the old nested form frame. */
#fallStartForm.fall-start-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-bottom: 0;
}
.fall-entry-start .fall-name-field { margin-bottom: .75rem; }
