/* [99-crew] Fenêtres du crew (accueil, recherche, création, page du crew), dans l'enveloppe du Bâtiment, éléments de 98-panel-window.css */
.crew-content { padding: 18px 26px 22px; }
/* Accueil : deux cartes côte à côte, affiche dessinée (crew/*.svg) à gauche, texte et bouton à droite */
.crew-landing { display: flex; flex-direction: column; gap: 16px; }
.crew-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid rgba(185, 139, 78, 0.55); background: linear-gradient(90deg, rgba(31, 90, 72, 0.22), rgba(21, 23, 26, 0.9) 45%); }
.crew-card img { display: block; width: 220px; height: 220px; }
.crew-card-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px 26px; }
.crew-card-title { font-family: 'Limelight', serif; font-size: 20px; letter-spacing: 1px; color: var(--deco-brass-hi); }
.crew-card-text { font-size: 14px; line-height: 1.45; color: #cfc6b4; }
.crew-card .kw-btn { align-self: flex-start; min-width: 160px; }
.crew-create p { margin: 0 0 14px; line-height: 1.45; }
.crew-label { display: block; font-size: 14px; font-weight: 700; }
.crew-input { width: 100%; box-sizing: border-box; margin-top: 6px; padding: 9px 10px; font-family: inherit; font-size: 15px; color: #111; background: #fff; border: 2px solid var(--gold-soft); border-radius: 3px; }
.crew-textarea { min-height: 84px; resize: vertical; }
.crew-error { min-height: 20px; margin-top: 8px; color: #ea7b6f; font-size: 14px; font-weight: 700; }
.crew-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.crew-find-title { margin-bottom: 10px; text-align: center; font-size: 18px; font-weight: 700; color: #dfc39e; }
.crew-table-wrap { padding: 4px; }
.crew-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.crew-table th { padding: 6px 8px; text-align: left; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: #d8d8d8; }
.crew-table td { padding: 6px 8px; }
.crew-table tbody tr:nth-child(odd) { background: rgba(0, 0, 0, 0.35); }
.crew-table td:last-child { text-align: right; white-space: nowrap; }
.crew-empty { padding: 14px; text-align: center; color: #bfc2c6; }
.crew-find-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.crew-find-bar .crew-input { width: 220px; margin-top: 0; }
.crew-pager { display: flex; gap: 8px; align-items: center; margin-left: auto; font-size: 16px; font-weight: 700; }
.crew-pager span { cursor: pointer; color: #e0aca6; }
.crew-pager span.is-on { color: #e55848; text-decoration: underline; cursor: default; }
.crew-page-btn { padding: 0 6px; font-size: 20px; color: #e66153; background: none; border: 0; cursor: pointer; }
.crew-page-btn:disabled { opacity: 0.35; cursor: default; }
.crew-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; margin-bottom: 14px; }
.crew-crest { width: 78px; height: 88px; filter: drop-shadow(0 3px 5px #000); }
.crew-name { font-size: 30px; font-weight: 600; }
.crew-sub { margin-top: 2px; font-size: 14px; color: #d4d4d4; }
.crew-sub b { color: #cf9f61; }
.crew-welcome { margin-top: 18px; font-size: 14px; white-space: pre-wrap; }
.crew-stats { display: grid; gap: 4px; font-size: 14px; min-width: 190px; }
.crew-stats b { margin-left: 4px; }
.crew-leave { justify-self: end; margin-top: 8px; }
.crew-tabpanel { padding: 12px 16px; min-height: 250px; max-height: 340px; overflow-y: auto; }
.crew-act-title { margin-bottom: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #e6e6e6; }
.crew-act-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 5px 8px; font-size: 14px; }
.crew-act-row:nth-child(odd) { background: rgba(0, 0, 0, 0.35); }
.crew-act-row b { color: #cf9f61; }
.crew-act-time { color: #cfd2d6; }
.crew-admin p { margin: 0 0 10px; line-height: 1.45; }
.crew-admin hr { margin: 16px 0; border: 0; border-top: 1px solid #666; }
.crew-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (max-width: 680px) { .crew-landing, .crew-head { grid-template-columns: 1fr; } .crew-or { justify-self: center; } }
