/* 결정 도구 / 생활 도구 공통 스타일 */
.t-root{ text-align:left; padding:4px 0 0; }
.t-field{ display:flex; flex-direction:column; gap:6px; margin:0 0 14px; }
.t-field > label, .t-label{ font-size:13px; font-weight:800; color:var(--ink); }
.t-input, .t-select, .t-text{ width:100%; min-width:0; height:50px; border:2px solid var(--ink); border-radius:14px; padding:0 14px; font-size:16px; font-family:inherit; background:#fff; color:var(--ink); box-sizing:border-box; }
textarea.t-text{ height:auto; min-height:130px; padding:12px 14px; line-height:1.7; resize:vertical; }
.t-input:focus, .t-select:focus, .t-text:focus{ outline:3px solid #DAD8FF; }
.t-row{ display:flex; gap:10px; } .t-row > *{ flex:1; min-width:0; }
.t-help{ font-size:12.5px; color:var(--ink-faint); margin:2px 0 0; }
.t-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; } .t-actions .btn{ flex:1; min-width:120px; padding:14px 18px; font-size:15px; }
.t-result{ background:#FFF6EC; border:2px dashed var(--ink); border-radius:20px; padding:18px 14px; margin-top:16px; text-align:center; }
.t-result .t-k{ font-size:13px; font-weight:700; color:var(--ink-soft); margin:0; }
.t-big{ font-size:38px; font-weight:900; line-height:1.25; color:var(--accent-dark); margin:4px 0; word-break:keep-all; }
.t-lines > div{ display:flex; justify-content:space-between; gap:10px; padding:9px 4px; border-bottom:1px solid var(--line); font-size:14.5px; text-align:left; }
.t-lines > div:last-child{ border-bottom:0; } .t-lines b{ color:var(--ink); }
.t-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.t-chip{ padding:9px 15px; border:2px solid var(--ink); border-radius:999px; background:#fff; font-family:inherit; font-size:13.5px; font-weight:700; color:var(--ink); cursor:pointer; touch-action:manipulation; }
.t-chip.on{ background:var(--ink); color:#fff; }
.t-warn{ font-size:12.5px; color:var(--ink-soft); background:#FFF; border:1.5px solid var(--line); border-radius:14px; padding:10px 12px; margin-top:12px; line-height:1.6; }
.t-err{ color:#C23217; font-size:13.5px; font-weight:700; margin:8px 0 0; min-height:18px; }
.t-badge{ display:inline-flex; align-items:center; justify-content:center; min-width:30px; height:30px; padding:0 9px; border-radius:999px; background:var(--lime); color:var(--lime-ink); font-weight:900; font-size:14px; }
.t-card{ background:#fff; border:2px solid var(--ink); border-radius:18px; padding:14px; margin:0 0 12px; box-shadow:3px 3px 0 var(--ink); }
.t-card h3{ margin:0 0 8px; font-size:15px; } .t-card .t-mini{ font-size:13px; color:var(--ink-soft); }
.t-wheel-wrap{ position:relative; width:min(100%,340px); margin:6px auto 12px; aspect-ratio:1; }
.t-wheel{ width:100%; height:100%; display:block; border-radius:50%; border:3px solid var(--ink); transition:transform 4s cubic-bezier(.12,.62,.08,1); background:#fff; }
.t-pointer{ position:absolute; left:50%; top:-6px; width:0; height:0; margin-left:-13px; border-left:13px solid transparent; border-right:13px solid transparent; border-top:26px solid var(--ink); z-index:2; }
.t-coin{ width:170px; height:170px; border-radius:50%; margin:14px auto; display:flex; align-items:center; justify-content:center; font-size:46px; font-weight:900; border:3px solid var(--ink); background:#FFD76A; color:#7A5200; box-shadow:5px 5px 0 var(--ink); transition:transform .9s ease; }
.t-dice-row{ display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin:14px 0; }
.t-die{ width:84px; height:84px; border-radius:20px; background:#fff; border:3px solid var(--ink); box-shadow:4px 4px 0 var(--ink); display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(3,1fr); padding:10px; box-sizing:border-box; }
.t-pip{ width:14px; height:14px; border-radius:50%; background:var(--ink); place-self:center; }
.t-ball{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; margin:4px; border-radius:50%; background:var(--lime); border:2px solid var(--ink); font-size:18px; font-weight:900; color:var(--ink); }
.t-team{ background:#fff; border:2px solid var(--ink); border-radius:16px; padding:12px 14px; margin:0 0 10px; box-shadow:3px 3px 0 var(--ink); }
.t-team h3{ margin:0 0 6px; font-size:15px; color:var(--accent-dark); } .t-team p{ margin:0; font-size:15px; line-height:1.7; }
.t-order{ list-style:none; margin:0; padding:0; } .t-order li{ display:flex; align-items:center; gap:12px; padding:10px 6px; border-bottom:1px solid var(--line); font-size:17px; font-weight:800; }
.t-ladder{ width:100%; display:block; border-radius:18px; border:2px solid var(--ink); background:#fff; }
.t-menu{ font-size:44px; }
.t-table{ width:100%; border-collapse:collapse; margin-top:12px; font-size:14px; } .t-table td{ border-bottom:1px solid var(--line); padding:8px 4px; } .t-table td:last-child{ text-align:right; font-weight:800; }
.t-meter{ height:14px; border-radius:99px; background:linear-gradient(90deg,#5BA7FF 0 18.5%,#22B573 18.5% 50%,#E8A100 50% 70%,#E5484D 70% 100%); position:relative; margin:14px 4px 4px; }
.t-meter i{ position:absolute; top:-5px; width:6px; height:24px; background:var(--ink); border-radius:3px; margin-left:-3px; }
.t-stat{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:12px; } .t-stat div{ background:#fff; border:2px solid var(--ink); border-radius:14px; padding:12px 8px; text-align:center; font-size:12.5px; color:var(--ink-soft); } .t-stat b{ display:block; font-size:22px; color:var(--ink); }
.t-coin.flip{ animation:t-flip .9s ease-in-out; }
@keyframes t-flip{ to{ transform:rotateY(1080deg); } }
