body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    padding: 20px;
    background: #1a1a1a;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    color: #f0e6d2;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.controls {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

select,
input,
button {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #222;
    color: white;
}

input[type="number"] {
    width: 70px;
    text-align: center;
}

button {
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

button:hover {
    opacity: 0.8;
}

button.add {
    background-color: #4CAF50;
}

button.remove {
    background-color: #f44336;
    padding: 5px 10px;
}

button.search {
    background-color: #2196F3;
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    padding: 15px;
    font-size: 1.1em;
}

button.lock-btn {
    background-color: #ff9800;
    color: #000;
    font-weight: bold;
}

button.ban-btn {
    background-color: #9e9e9e;
    color: #000;
    font-weight: bold;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.tag {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag.locked {
    background-color: #ff9800;
    color: #000;
}

.tag.banned {
    background-color: #616161;
    color: #fff;
}

.result-card {
    margin-top: 15px;
    padding: 15px;
    background: #2d2d2d;
    border-left: 5px solid #2196F3;
    border-radius: 4px;
    position: relative;
}

.team-meta {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8em;
    color: #ffd700;
}

.champ-list {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
}

.trait-badge {
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 0.85em;
    display: inline-block;
    margin-bottom: 4px;
}

.trait-active {
    background-color: #2e7d32;
    border: 1px solid #4caf50;
}


.cost-1 {
    color: #d1d5db;
    /* Light gray */
    font-weight: bold;
    text-shadow: 0 0 5px #d1d5db, 0 0 10px rgba(209, 213, 219, 0.5);
}

.cost-2 {
    color: #81c784;
    /* Light Green */
    font-weight: bold;
    text-shadow: 0 0 5px #81c784, 0 0 10px rgba(129, 199, 132, 0.5);
}

.cost-3 {
    color: #64b5f6;
    /* Light Blue */
    font-weight: bold;
    text-shadow: 0 0 5px #64b5f6, 0 0 10px rgba(100, 181, 246, 0.5);
}

.cost-4 {
    color: #e1bee7;
    /* Light Purple */
    font-weight: bold;
    text-shadow: 0 0 5px #e1bee7, 0 0 10px rgba(225, 190, 231, 0.5);
}

.cost-5 {
    color: #ffd54f;
    /* Light Gold */
    font-weight: bold;
    text-shadow: 0 0 5px #ffd54f, 0 0 10px rgba(255, 213, 79, 0.5);
}

.locked-icon {
    font-size: 0.7em;
    margin-right: 2px;
    opacity: 0.8;
    vertical-align: middle;
}

/* 検索結果のチャンピオン横アクションボタン */
.champ-action-btn {
    display: inline-block;
    background: none;
    border: none;
    padding: 0 2px;
    margin-left: 1px;
    font-size: 0.65em;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s, transform 0.2s;
    vertical-align: middle;
    line-height: 1;
}

.champ-action-btn:hover {
    opacity: 1;
    transform: scale(1.3);
}

.champ-list span:hover .champ-action-btn {
    opacity: 0.6;
}

.champ-list span:hover .champ-action-btn:hover {
    opacity: 1;
}