/* A compact club office: identity and saved plans, with the draft still central. */
.clubhouse { margin: 0 0 18px; }
.club-bar { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid #65775a; border-radius: 4px; background: #0f271b; box-shadow: inset 0 -3px 0 #07190f, 0 4px 12px #0002; }
.club-identity { display: flex; gap: 12px; align-items: center; background: none; border: 0; color: var(--chalk); text-align: start; cursor: pointer; padding: 0; min-height: 44px; min-width: 0; }
.club-identity>span:last-child { min-width: 0; }
.club-identity small { display: block; color: var(--chalk-70); font: 600 9px/1.5 var(--mono); letter-spacing: .13em; }
.club-name { display: block; font: 800 24px/1.1 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; max-width: 26ch; }
.club-crest { display: grid; place-items: center; width: 40px; height: 44px; flex: 0 0 40px; color: #132c1d; background: #f2c94c; clip-path: polygon(0 0,100% 0,100% 72%,50% 100%,0 72%); font: 800 22px/1 var(--display); padding-bottom: 4px; }
[data-crest="chalk"] { --crest: #f2efe5; --crest-ink: #173224; }
[data-crest="gold"] { --crest: #f2c94c; --crest-ink: #2a2208; }
[data-crest="field"] { --crest: #7fe0a4; --crest-ink: #0f2219; }
[data-crest="charcoal"] { --crest: #27332d; --crest-ink: #f2efe5; }
.club-crest[data-crest] { background: var(--crest); color: var(--crest-ink); }
.club-summary { font-size: 13px; color: #bac9b1; margin-right: auto; }
.club-bar__actions,.club-actions,.club-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.club-button { min-height: 44px; border: 1px solid #7b8d71; border-radius: 3px; background: #193424; color: #f2efe5; padding: 9px 13px; font: 700 14px/1.2 var(--body); cursor: pointer; }
.club-button--primary { background: #f2c94c; border-color: #f2c94c; color: #2a2208; box-shadow: 0 2px 0 #8e711c; }
.club-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.club-button:hover:not(:disabled) { border-color: #f2c94c; }
.club-button:active:not(:disabled) { transform: translateY(1px); }
.club-notice { margin: 8px 0 0; font-size: 13px; color: #d7dfca; line-height: 1.5; }
.club-notice:empty { display: none; }
.club-dialog { width: min(640px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; background: #eeede2; color: #183022; border: 1px solid #809177; border-radius: 6px; box-shadow: 0 24px 70px #0008; overflow: auto; }
.club-dialog::backdrop { background: #04120ddb; }
.club-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; background: #10271b; color: #f2efe5; border-bottom: 3px solid #f2c94c; }
.club-dialog__head h2 { font: 800 29px/1 var(--display); margin: 0; }
.club-dialog__head .club-button { font-size: 12px; min-height: 40px; }
.club-dialog__body { padding: 20px; }
.club-dialog>.club-notice:not(:empty) { padding: 12px 20px; margin: 0; background: #dce5cf; color: #173224; border-top: 1px solid #acb79d; }
.club-hint { margin: 0 0 16px; font-size: 13px; color: #45604c; line-height: 1.55; }
.club-field { display: grid; gap: 7px; color: #183022; font-size: 13px; font-weight: 600; }
.club-field input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #83937c; border-radius: 3px; color: #173224; background: #fffef6; font: 600 16px/1.3 var(--body); }
.club-label { font-size: 13px; font-weight: 600; margin: 18px 0 8px; }
.club-colors { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.club-colors .club-button { background: var(--crest); color: var(--crest-ink); border: 1px solid #83937c; padding: 8px; }
.club-colors .club-button[aria-pressed="true"] { outline: 2px solid #173224; outline-offset: 2px; }
.club-colors .club-button[aria-pressed="true"]::after { content: ' ✓'; }
.club-plan-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; margin-bottom: 22px; }
.club-saved-list { list-style: none; padding: 0; margin: 0; }
.club-saved-list>li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid #adbaa4; }
.club-saved-list strong { display: block; overflow-wrap: anywhere; font-size: 16px; }
.club-saved-list small { display: block; color: #52694f; font: 10px/1.6 var(--mono); }
.club-row-actions { flex-shrink: 0; }
.club-text-button { border: 0; padding: 5px 0; min-height: 32px; font: 600 12px/1.3 var(--body); text-decoration: underline; text-underline-offset: 3px; color: #234a31; background: none; cursor: pointer; }
.club-share-url { font-size: 12px !important; font-family: var(--mono) !important; }
.club-share-link { display: block; margin-top: 14px; color: #214b31; font-size: 13px; }
.club-dialog .club-actions { margin-top: 18px; }
.club-review-name { margin: 0 0 10px; font: 800 32px/1.05 var(--display); overflow-wrap: anywhere; }
.club-review-budget { font: 600 12px/1.5 var(--mono); margin: 0 0 16px; }
.club-review-list { margin: 0 0 18px; padding: 0; list-style: none; }
.club-review-list>li { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-block-start: 1px solid #b5bfac; }
.club-face { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #9dac90; border-radius: 3px; color: #3a563f; background: #d8dfcc; font: 800 20px/1 var(--display); overflow: hidden; }
.club-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club-trader__text strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.club-trader__text small { display: block; font-size: 10px; color: #52694f; line-height: 1.45; }
.club-trader__text .club-text-button { min-height: 24px; padding-block: 3px; }
.club-review-list>li>b { font: 700 15px/1.3 var(--mono); }
.club-dialog .up { color: #236b3c; }.club-dialog .down { color: #a33324; }
.club-dialog :focus-visible { outline: 3px solid #376d48; outline-offset: 3px; }
.club-dialog__head :focus-visible,.clubhouse :focus-visible { outline-color: #f2c94c; }
@media(max-width:1000px) { .club-summary { display: none; }.club-identity { margin-right: auto; } }
@media(max-width:600px) {
  .club-bar { flex-wrap: wrap; gap: 12px; padding: 12px; }
  .club-identity { width: 100%; }
  .club-bar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 6px; }
  .club-bar__actions .club-button { font-size: 12px; padding-inline: 8px; }
  .club-dialog { max-height: calc(100dvh - 20px); width: calc(100% - 20px); }
  .club-dialog__head { padding: 12px 14px; }
  .club-dialog__head h2 { font-size: 26px; }
  .club-dialog__body { padding: 16px 14px; }
  .club-plan-form { grid-template-columns: 1fr; }
  .club-saved-list>li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .club-colors { gap: 7px; }.club-colors .club-button { font-size: 12px; padding-inline: 3px; }
  .club-review-list>li { gap: 8px; grid-template-columns: 40px minmax(0,1fr) auto; }
  .club-face { width: 40px; height: 40px; }
  .club-review-list>li>b { font-size: 12px; }
  .club-trader__text strong { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) { .clubhouse *,.club-dialog * { animation: none !important; transition: none !important; transition-duration: 0s !important; }.club-button:active:not(:disabled) { transform: none; } }
.club-button:focus-visible:active { transform: none; }
