.fx-join { display: grid; }
.fx-join .fx-join-wrap { display: grid; gap: 14px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.5; }
.fx-join .fx-join-wrap * { box-sizing: border-box; }
.fx-join .fx-join-steps { margin: 0; padding-left: 24px; }
.fx-join .fx-join-steps li + li { margin-top: 6px; }
.fx-join .fx-join-goal, .fx-join .fx-join-extra { margin: 0; }
.fx-join .fx-join-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-join .fx-join-controls legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.fx-join .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-join .fx-btn { position: relative; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; padding: 10px 12px; border: 2px solid var(--fx-ink); border-radius: 10px; background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; cursor: pointer; }
.fx-join .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); }
.fx-join .fx-btn:focus-within { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-join .fx-join-stack { display: grid; min-width: 0; }
.fx-join .fx-join-stack > * { grid-area: 1 / 1; margin: 0; }
.fx-join .fx-join-after, .fx-join .fx-join-state { visibility: hidden; }
.fx-join .fx-join-stage { display: grid; grid-template-rows: 60px minmax(0, 1fr) 60px; gap: 8px; height: 360px; padding: 12px; min-width: 0; overflow: hidden; }
.fx-join .fx-join-counter { justify-self: end; align-self: start; padding: 5px 10px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); }
.fx-join .fx-join-counter > b { display: block; font-size: 12px; }
.fx-join .fx-join-counter .fx-score { font-size: 18px; line-height: 1.4; color: var(--fx-ink); }
.fx-join .fx-join-board { display: grid; min-width: 0; min-height: 0; }
.fx-join .fx-join-scene { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; min-height: 0; visibility: hidden; opacity: 0; transition: gap 0.45s; }
.fx-join:has(#fx-join-outdoors:checked) .fx-join-scene-o, .fx-join:has(#fx-join-college:checked) .fx-join-scene-c, .fx-join:has(#fx-join-mel:checked) .fx-join-scene-m { visibility: visible; opacity: 1; }
.fx-join .fx-join-card { display: grid; grid-template-rows: 20px minmax(0, 1fr) 18px; gap: 6px; height: 164px; min-width: 0; padding: 8px; border: 2px solid var(--fx-ink); border-radius: 10px; background: var(--fx-paper); transition: transform 0.45s, border-radius 0.45s; }
.fx-join .fx-join-first { transform: translateX(-4px); }
.fx-join .fx-join-second { transform: translateX(4px); }
.fx-join .fx-join-part { font-size: 14px; line-height: 20px; }
.fx-join .fx-join-copy { align-self: center; margin: 0; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.fx-join .fx-join-dot { display: inline-block; font-size: 30px; line-height: 0.7; font-weight: 900; color: var(--fx-coral); }
.fx-join .fx-join-drop { max-width: 0.45em; overflow: hidden; vertical-align: baseline; opacity: 1; transition: max-width 0.45s, transform 0.45s, opacity 0.35s; }
.fx-join .fx-join-comma { display: inline-block; max-width: 0; overflow: hidden; vertical-align: baseline; opacity: 0; transition: max-width 0.45s, opacity 0.45s; }
.fx-join .fx-join-mark { font-size: 12px; line-height: 18px; color: var(--fx-ink); }
.fx-join .fx-join-mark small { font-size: 12px; }
.fx-join .fx-join-case { display: inline-grid; vertical-align: baseline; }
.fx-join .fx-join-case > span { grid-area: 1 / 1; }
.fx-join .fx-join-tile { display: grid; align-content: center; gap: 2px; height: 72px; padding: 6px 3px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-sun); text-align: center; transform: translateY(-40px); transition: transform 0.45s; }
.fx-join .fx-join-tile small { font-size: 12px; line-height: 1.2; }
.fx-join .fx-join-tile b { font-size: 17px; line-height: 1.4; }
.fx-join .fx-join-hint { align-items: center; font-size: 14px; line-height: 1.4; }
.fx-join .fx-join-messages > p { min-width: 0; color: var(--fx-ink); }
.fx-join:has(#fx-join-outdoors:checked) .fx-join-o-off, .fx-join:has(#fx-join-college:checked) .fx-join-c-off, .fx-join:has(#fx-join-mel:checked) .fx-join-m-off { visibility: visible; }
.fx-join:has(#fx-join-push:checked) .fx-join-before, .fx-join:has(#fx-join-push:checked) .fx-join-off { visibility: hidden; }
.fx-join:has(#fx-join-push:checked) .fx-join-after { visibility: visible; }
.fx-join:has(#fx-join-outdoors:checked):has(#fx-join-push:checked) .fx-join-o-on, .fx-join:has(#fx-join-college:checked):has(#fx-join-push:checked) .fx-join-c-on, .fx-join:has(#fx-join-mel:checked):has(#fx-join-push:checked) .fx-join-m-on { visibility: visible; }
.fx-join:has(#fx-join-push:checked) .fx-join-scene { gap: 0; }
.fx-join:has(#fx-join-push:checked) .fx-join-card { transform: translate(0, 0); }
.fx-join:has(#fx-join-push:checked) .fx-join-first { border-radius: 10px 0 0 10px; }
.fx-join:has(#fx-join-push:checked) .fx-join-second { border-radius: 0 10px 10px 0; }
.fx-join:has(#fx-join-push:checked) .fx-join-tile { transform: translateY(0); }
.fx-join:has(#fx-join-push:checked) .fx-join-drop { max-width: 0; transform: translateY(24px); opacity: 0; }
.fx-join:has(#fx-join-push:checked) .fx-join-comma { max-width: 0.5em; opacity: 1; }
@container (max-width: 480px) {
.fx-join .fx-join-stage { height: 540px; }
.fx-join .fx-join-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 64px minmax(0, 1fr); }
.fx-join .fx-join-card { height: 144px; width: 100%; }
.fx-join .fx-join-first { align-self: end; transform: translateY(-4px); }
.fx-join .fx-join-second { align-self: start; transform: translateY(4px); }
.fx-join .fx-join-tile { justify-self: center; width: 84px; height: 64px; transform: translateY(-4px); }
.fx-join:has(#fx-join-push:checked) .fx-join-first { border-radius: 10px 10px 0 0; }
.fx-join:has(#fx-join-push:checked) .fx-join-second { border-radius: 0 0 10px 10px; }
}