/**
 * scout.css
 * 選手募集（scout.php）と、助っ人の候補カード（hires.php）の見た目。2026-11-24 追加（続き194）。
 * tailwind.css はビルド済みで任意の値のクラスが無いため、ここに書く。
 */

/* ---- 登録フォーム ---- */
.scout-label { display: block; font-size: 12px; color: #a1a1aa; }
.scout-input { background: #09090b; border: 1px solid #3f3f46; border-radius: 6px; padding: 6px 10px; color: #f4f4f5; font-size: 14px; }
.scout-input:focus { outline: none; border-color: #b91c1c; }
.scout-label > .scout-input { display: block; }
.scout-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #3f3f46; border-radius: 8px; cursor: pointer; background: #18181b; }
.scout-check:hover { border-color: #7f1d1d; }
.scout-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.scout-check > span { display: flex; flex-direction: column; gap: 2px; }
.scout-check b { font-size: 14px; color: #f4f4f5; }
.scout-check b + span { font-size: 11px; color: #a1a1aa; line-height: 1.5; }
.scout-chip { position: relative; cursor: pointer; }
.scout-chip input { position: absolute; opacity: 0; pointer-events: none; }
.scout-chip span { display: inline-block; min-width: 44px; text-align: center; padding: 6px 12px; border: 1px solid #3f3f46; border-radius: 999px; font-size: 13px; color: #d4d4d8; background: #18181b; transition: .15s; }
.scout-chip input:checked + span { border-color: #dc2626; background: #450a0a; color: #fecaca; font-weight: 700; }
.scout-chip input:focus-visible + span { outline: 2px solid #f87171; outline-offset: 2px; }

/* ---- 選手のカード ---- */
.scout-card { display: flex; flex-direction: column; gap: 10px; background: rgba(24, 24, 27, .9); border: 1px solid #27272a; border-radius: 12px; padding: 14px; }
.scout-card.hidden { display: none; } /* tailwind の .hidden より後に読むため、ここでも消す */
.scout-card:hover { border-color: #7f1d1d; }
.scout-card.is-fit { border-color: #047857; box-shadow: 0 0 0 1px rgba(4, 120, 87, .35) inset; }
.scout-card-head { display: flex; align-items: center; gap: 12px; }
.scout-ava { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; border: 2px solid #3f3f46; flex-shrink: 0; background: #09090b; }
.scout-name { display: block; font-weight: 700; font-size: 16px; color: #f4f4f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scout-name:hover { color: #f87171; }
.scout-ovr { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 4px 6px; border: 1px solid #3f3f46; border-radius: 8px; background: #09090b; }
.scout-ovr b { font-size: 18px; line-height: 1.1; color: #fcd34d; font-family: inherit; }
.scout-ovr span { font-size: 9px; color: #71717a; }
.scout-tag-hire { font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid #0e7490; color: #67e8f9; background: rgba(8, 51, 68, .5); }
.scout-tag-fit { font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid #047857; color: #6ee7b7; background: rgba(2, 44, 34, .6); }
.scout-tag-no { font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid #52525b; color: #a1a1aa; }
.scout-rank { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #d4d4d8; }
.scout-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; }
.scout-facts dt { font-size: 10px; color: #71717a; }
.scout-facts dd { margin: 0; font-size: 13px; color: #e4e4e7; }
.scout-day { display: inline-block; width: 22px; text-align: center; margin-right: 2px; font-size: 11px; border-radius: 4px; color: #52525b; background: #18181b; }
.scout-day.is-on { color: #fecaca; background: #7f1d1d; font-weight: 700; }
.scout-message { font-size: 13px; color: #d4d4d8; line-height: 1.6; background: #09090b; border-left: 3px solid #7f1d1d; padding: 8px 10px; border-radius: 4px; word-break: break-word; }
.scout-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid #27272a; }
.scout-offer-form { display: flex; align-items: center; gap: 6px; }
#scout-root button.scout-offer-btn, #hire-cards button.scout-offer-btn { padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #991b1b, #7f1d1d); border: 1px solid #dc2626; white-space: nowrap; }
.scout-offer-btn:hover { filter: brightness(1.15); }
.scout-offer-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- 助っ人の候補（hires.php） ---- */
#hire-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hire-card-price { font-size: 12px; color: #fcd34d; }
.hire-card-team { font-size: 11px; color: #a1a1aa; }

@media (max-width: 480px) {
    .scout-offer-form { width: 100%; }
    .scout-offer-form .scout-input { flex: 1; }
}
