.flash-entry { margin-top: 18px; padding: 16px; border: 1px solid var(--green-200); border-radius: var(--r-lg); background: var(--green-50); }
.flash-entry h3, .flash-panel h2, .flash-panel h3 { margin: 0; font-size: 18px; }
.flash-entry p, .flash-copy { margin: 8px 0 14px; color: var(--gray-600); font-size: 13px; line-height: 1.6; }
.flash-overlay { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-end; justify-content: center; background: var(--scrim); }
.flash-panel { width: 100%; max-width: 480px; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; box-shadow: var(--sh-dialog); }
.flash-panel header { display: flex; align-items: center; gap: 9px; padding: 14px 20px; border-bottom: 1px solid var(--gray-100); flex: none; }
.flash-panel header h2 { flex: 1; font-size: 22px; }
.flash-beta { color: var(--green-700); background: var(--green-50); padding: 3px 7px; border-radius: var(--r-sm); font-size: 12.5px; }
.flash-close { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--gray-600); font-size: 28px; cursor: pointer; }
.flash-form { display: flex; flex-direction: column; min-height: 0; }
.flash-body { padding: 4px 20px 12px; overflow-y: auto; overscroll-behavior: contain; }
.flash-fieldset { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; }
.flash-fieldset legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; }
.flash-search { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--r-md); margin-bottom: 9px; box-sizing: border-box; font: inherit; font-size: 16px; caret-color: var(--green-700); }
.flash-clubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 192px; overflow-y: auto; }
.flash-choice { min-height: 54px; min-width: 0; border: 1px solid var(--gray-300); border-radius: 11px; background: var(--gray-50); color: var(--gray-700); padding: 10px 6px; cursor: pointer; font: inherit; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.flash-choice small { display: block; font-size: 12.5px; margin-top: 3px; }
.flash-choice[aria-pressed="true"] { color: #fff; border-color: var(--green-700); background: var(--green-700); }
.flash-choice:disabled { opacity: .4; cursor: not-allowed; }
.flash-calendar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.flash-day { text-align: center; font-size: 13px; font-weight: 700; padding: 4px 0; }
.flash-day small { display: block; color: var(--gray-500); font-weight: 400; padding-top: 2px; }
.flash-footer { flex: none; border-top: 1px solid var(--gray-100); padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); background: #fff; }
.flash-actions { display: flex; gap: 8px; align-items: center; }
.flash-actions > button, .flash-actions > a { flex: 1; min-height: 46px; }
.flash-selection { margin: 12px 0 0; color: var(--green-700); font-size: 12px; }
.flash-error { color: var(--red); background: var(--red-bg); padding: 10px 12px; border-radius: var(--r-md); font-size: 13px; line-height: 1.5; }
.flash-success { color: var(--green-700); background: var(--green-50); padding: 12px; border-radius: var(--r-md); line-height: 1.6; font-size: 14px; }
.flash-record { padding: 15px; border: 1px solid var(--gray-200); border-radius: var(--r-lg); background: var(--surface); margin: 12px 0; }
.flash-record h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.flash-record ul { margin: 10px 0; padding-left: 19px; font-size: 13px; color: var(--gray-600); line-height: 1.8; }
.flash-record a { display: block; color: var(--green-700); padding: 9px 0; line-height: 1.5; font-size: 13px; }
.flash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flash-toolbar h2 { margin: 0; font-size: 18px; }
.flash-panel button:focus-visible, .flash-panel input:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.flash-entry p { color: var(--green-800); }
.flash-panel ::selection { background: var(--green-200); color: var(--green-900); }
.flash-choice:not(:disabled):hover { border-color: var(--green-700); }
.flash-calendar, .flash-selection, .flash-record strong { font-variant-numeric: tabular-nums; }
.flash-toolbar button { min-height: 44px; }
.flash-toolbar { flex-wrap: wrap; }
.flash-tabs { display: flex; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--gray-200); flex: none; }
.flash-tabs button { flex: 1; min-height: 46px; border: 1px solid var(--gray-300); border-radius: var(--r-md); background: var(--surface); color: var(--gray-700); font: inherit; font-weight: 700; cursor: pointer; }
.flash-tabs button[aria-selected="true"] { background: var(--green-600); color: var(--surface); border-color: var(--green-600); }
.flash-tabs button:focus-visible, .flash-game-link:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.flash-record .flash-demand-list { list-style: none; padding: 0; margin: 12px 0; }
.flash-demand-list li { padding: 12px 0; border-top: 1px solid var(--gray-200); }
.flash-demand-list .flash-copy, .flash-game-row .flash-copy { margin: 6px 0; }
.flash-demand-count { color: var(--green-700); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.flash-demand-count span { font-size: 12.5px; font-weight: 500; }
.flash-game-row { padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.flash-game-row h3 { font-size: 16px; margin: 0; }
.flash-participants { margin: 8px 0; color: var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.flash-game-row .flash-game-link { min-height: 44px; display: flex; align-items: center; color: var(--green-700); font-size: 14px; font-weight: 700; }
.flash-other-games { margin: 14px 0; }
.flash-other-games summary { min-height: 44px; cursor: pointer; color: var(--gray-700); font-size: 14px; }
.flash-link-existing { display: grid; gap: 8px; margin-top: 12px; }
.flash-link-existing label { font-size: 13px; font-weight: 700; }
.flash-link-existing select { min-width: 0; width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--gray-300); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font: inherit; }
@media (min-width: 600px) {
  .flash-overlay { align-items: center; padding: 24px; }
  .flash-panel { border-radius: 22px; max-height: min(860px, 90vh); }
}
