/* 🏆 実績 (tf-achieve.js); the sheet reuses the ✨ 見た目 box (tf-looks.css) */
.tfach-btn { background: linear-gradient(135deg, #8a5a00, #d4a017); border-color: #ffe08a; color: #fff; }
.tfach-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.tfach-tabs .tfl-tab { min-height: 36px; padding: 0 12px; flex: 0 0 auto; }
.tfach-row { display: grid; grid-template-columns: 1fr 150px; gap: 6px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; }
.tfach-row.on { border-color: rgba(255, 216, 119, .55); background: rgba(212, 165, 60, .12); }
.tfach-t b { display: block; font-size: 14.5px; }
.tfach-t small { color: #9fb0d0; font-size: 12px; }
.tfach-p { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tfach-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tfach-bar i { display: block; height: 100%; background: linear-gradient(90deg, #d4a53c, #ffd877); }
.tfach-n { font-size: 11.5px; color: #c9d4ec; text-align: right; }
.tfach-done { align-self: flex-end; font-weight: 800; color: #1b1405; background: #ffd877; border-radius: 999px; padding: 2px 12px; font-size: 12.5px; }
.tfach-rws { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.tfach-rw { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 9px 3px 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #e8eefc; }
.tfach-rw small { color: #ffd877; font-size: 10.5px; }
.tfach-rw img { width: 28px; height: 28px; }
@media (max-width: 520px) { .tfach-row { grid-template-columns: 1fr; } .tfach-n { text-align: left; } }
.tfach-deluxe { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(142, 27, 42, .35), rgba(212, 175, 55, .18)); border: 1px solid rgba(255, 216, 119, .45); }
.tfach-deluxe.on { border-color: #ffd877; }
.tfach-deluxe b { font-size: 16px; display: block; }
.tfach-deluxe small { color: #d9e2f5; font-size: 12px; line-height: 1.5; }
.tfach-deluxe ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; display: grid; gap: 2px; }
.tfach-deluxe li.ok { color: #b9f5c8; }
@media (max-width: 520px) { .tfach-deluxe { grid-template-columns: 1fr; } }
.tfach-box .tfl-list { display: flex; flex-direction: column; gap: 8px; }
.tfach-box { width: min(680px, 100%); }

/* 10/3: rainbow rewards (only from hard achievements) */
.tfach-rw.rb { border: 1px solid transparent; background: linear-gradient(var(--panel, #1b1f2a), var(--panel, #1b1f2a)) padding-box, linear-gradient(90deg, #ff4d6d, #ff9f43, #ffe066, #4cd964, #4aa3ff, #9b6dff) border-box; }
