.tl-sub { font-size: 1.2rem; margin: 22px 0 10px; }
.tl-hint { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
input[type="text"] {
    background: #0c0818; color: var(--text); border: 1px solid var(--line);
    border-radius: 8px; padding: 8px 10px; font-size: 0.95rem; font-family: inherit;
}
input[type="text"]:focus { outline: 1px solid var(--accent); }
input[type="color"] { width: 44px; height: 36px; padding: 2px; background: #0c0818; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }

.tl-board { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #1a1230; }
.tl-row { display: flex; min-height: 84px; border-bottom: 2px solid #07050d; }
.tl-row:last-child { border-bottom: 0; }
.tl-label { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; padding: 6px; cursor: pointer; }
.tl-row.active .tl-label { box-shadow: inset 0 0 0 3px #fff; }
.tl-name {
    width: 100%; background: transparent; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 1.1rem;
    color: inherit; resize: none; overflow: hidden; padding: 2px;
}
.tl-name:focus { outline: 1px dashed currentColor; }
.tl-items { flex: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px; padding: 4px; min-height: 80px; background: #1a1230; }
.tl-items.over, .tl-pool.over { background: rgba(168, 85, 247, 0.2); }
.tl-tools { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 4px 8px; background: #130d22; }
.tl-tools .btn { padding: 2px 8px; font-size: 0.8rem; }

.tl-pool {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 100px;
}
.tl-pool .empty { grid-column: 1 / -1; }
.mon { text-align: center; font-size: 0.7rem; cursor: pointer; border-radius: 8px; padding: 2px; user-select: none; }
.mon img { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 auto; }
.mon:hover { background: rgba(168, 85, 247, 0.2); }
.tl-pool .mon span { display: block; color: var(--muted); line-height: 1.1; min-height: 2.2em; }
.tl-items .mon { width: 68px; padding: 0; }
.tl-items .mon span { display: none; }

@media (max-width: 700px) {
    .tl-label { flex-basis: 80px; }
    .tl-name { font-size: 0.9rem; }
}
