/* [98-panel-window] Éléments communs des fenêtres d'après l'original (racket, crew…), posés dans l'enveloppe du Bâtiment
   (.game-modal-box) : panneaux gris à équerres claires (.kw-panel), bouton d action (.kw-btn, couleurs dans 99-zdeco-buttons.css), onglets (.kw-tabs, .kw-tab). */
/* Panneau gris : liseré sombre et petites équerres claires aux quatre coins */
.kw-panel {
  position: relative; padding: 16px 18px; background: #484848; border: 2px solid #2c2c2c; box-shadow: inset 0 0 0 1px #5d5d5d;
  --c: #cfcfcf;
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-origin: border-box;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 16px 3px, 3px 16px, 16px 3px, 3px 16px, 16px 3px, 3px 16px, 16px 3px, 3px 16px;
  background-repeat: no-repeat; background-color: #484848;
}
.kw-btn {
  min-width: 120px; padding: 9px 16px; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, #e45545 0, #c83a2a 50%, #a22b1e 100%); border: 3px solid var(--gold-soft); border-radius: 4px; box-shadow: 0 2px 4px #000, inset 0 1px 0 rgba(255, 255, 255, 0.35); text-shadow: 0 1px 2px #000;
}
.kw-btn:hover { filter: brightness(1.12); }
.kw-btn:disabled { opacity: 0.6; cursor: default; }

/* Onglets noirs à liseré blanc (page du crew), l'actif est clair */
.kw-tabs { display: flex; gap: 4px; margin: 0 0 -2px 8px; position: relative; z-index: 1; }
.kw-tab { padding: 8px 18px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; background: #0a0a0a; border: 2px solid #d8d8d8; border-bottom: 0; }
.kw-tab.is-active { color: #111; background: #ececec; border-color: var(--gold-soft); }
.kw-btn.is-sent { background: #f2f2f2; color: #333; border-color: #bbb; text-shadow: none; cursor: default; }
.kw-btn.is-small { min-width: 0; padding: 4px 10px; font-size: 12px; border-width: 2px; }
.kw-btn.is-dark { background: linear-gradient(180deg, #4a4a4a, #222); border-color: #8a8a8a; }
