/* ✨ 見た目 (tf-looks.js) */
.tfl-btn { background: linear-gradient(135deg, #5b3fa6, #a14fd1); border-color: #d9a7ff; color: #fff; }
.tfl-bg { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tfl-box { width: min(620px, 100%); max-height: 90vh; overflow: auto; background: #101d38; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 14px 16px 16px; color: #e8eefc; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.tfl-h { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.tfl-h b { flex: 1; }
.tfl-bal { font-size: 12.5px; color: #ffd877; }
.tfl-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 6px; }
.tfl-tab { min-height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #dfe7fa; font: inherit; font-weight: 700; cursor: pointer; }
.tfl-tab.on { background: #d4a53c; border-color: #ffd877; color: #1b1405; }
.tfl-hint { color: #9fb0d0; font-size: 12px; margin: 6px 0 8px; line-height: 1.6; }
.tfl-list { display: flex; flex-direction: column; gap: 8px; }
.tfl-card { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 6px 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; }
.tfl-card.on { border-color: rgba(255, 216, 119, .55); background: rgba(212, 165, 60, .1); }
.tfl-card > .btn { grid-column: 1 / -1; min-height: 44px; }
.tfl-pv { width: 96px; height: 96px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.tfl-chip { justify-self: center; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 12, 24, .82); border: 2px solid currentColor; font-weight: 900; white-space: nowrap; max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
.tfl-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tfl-t small { color: #9fb0d0; font-size: 12px; line-height: 1.5; }
.tfl-own { font-size: 11px; color: #9df0bd; }
.tfl-msg { margin-top: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.tfl-msg.ok { background: rgba(46, 160, 90, .18); color: #9df0bd; }
.tfl-msg.ng { background: rgba(220, 60, 80, .18); color: #ffb3c0; }
body:has(.app.phone-p) .tfl-bg { align-items: flex-end; padding: 0; }
body:has(.app.phone-p) .tfl-box { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .tfl-list { display: grid; grid-template-columns: 1fr 1fr; } }
.tfl-lock{font-size:12px;color:#d9c995;background:rgba(255,255,255,.06);border-radius:8px;padding:6px 8px;line-height:1.35;max-width:46%}
