.it-add { display: grid; gap: .7rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); align-items: end; }
.it-add .field:first-child { grid-column: span 2; }
.it-add__opts { display: grid; gap: .3rem; grid-column: span 2; }
.it-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin: 1.2rem 0 .6rem; }
.it-round { font-size: 1.1rem; }
.it-round strong { font-size: 1.6rem; color: var(--accent); }
.it-table input { width: 64px; padding: .3rem .4rem; text-align: right; }
.it-table input.it-cond { width: 150px; text-align: left; }
.it-table tr.is-turn td { background: var(--accent-soft) !important; font-weight: 700; }
.it-table tr.is-turn td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.it-table tr.is-down td { opacity: .5; text-decoration: line-through; }
.it-table .it-pc { font-size: .72rem; padding: .1rem .4rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: .3rem; font-weight: 700; }
.it-table .it-x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; min-width: 34px; min-height: 34px; border-radius: 6px; }
.it-table .it-x:hover { color: var(--bad); background: var(--bad-soft); }
.it-hpbtn { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 6px; min-width: 30px; min-height: 30px; cursor: pointer; font-weight: 700; }
.it-hp { display: inline-flex; gap: .25rem; align-items: center; }
.it-amt { display: inline-flex; gap: .4rem; align-items: center; }
.it-amt input { width: 70px; }
