/* 老師端「動作鈕」:線條圖示 + 手帳風厚邊硬陰影(取代 emoji)。用法:<button class="tact [danger|go]"><svg>…</svg><span>文字</span></button> */
.tact{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px 0 14px;border-radius:999px;border:2.5px solid #3e2723;background:linear-gradient(180deg,#fffdf6,#f4ead3);color:#3e2723;font:inherit;font-weight:800;font-size:14px;letter-spacing:.04em;cursor:pointer;box-shadow:0 3px 0 #3e2723,inset 0 1.5px 0 #fff;transition:transform .15s,box-shadow .15s,background .2s,color .2s}
.tact svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tact:hover{background:linear-gradient(180deg,#fff,#fbf1d6)}
.tact:active{transform:translateY(3px);box-shadow:0 0 0 #3e2723,inset 0 1.5px 0 #fff}
.tact[aria-pressed=true]{background:linear-gradient(180deg,#4a342f,#3e2723);color:#ffe9a8;box-shadow:0 3px 0 #1f130f,inset 0 1px 0 rgba(255,255,255,.18)}
.tact.go{background:linear-gradient(180deg,#ffe58a,#f5c542);color:#4a2f00}
.tact.go:hover{background:linear-gradient(180deg,#ffeea8,#f8cf5a)}
.tact.danger{color:#a3261a;background:linear-gradient(180deg,#fffaf8,#fbe3df)}
.tact.danger:hover{background:linear-gradient(180deg,#fff,#ffd6d0)}
.tact.soft{border-color:#cdbd97;box-shadow:0 3px 0 #cdbd97,inset 0 1.5px 0 #fff;font-weight:700}
.tact:focus-visible{outline:3px solid #f5c542;outline-offset:2px}