.a6-tool{min-height:100vh;background:#f7f8fa;padding-top:54px;padding-bottom:100px;box-sizing:border-box;color:#333;font-size:14px;letter-spacing:0}
.a6-tool-main{max-width:480px;margin:0 auto;padding:12px;box-sizing:border-box}
.a6-tool-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:20px}
.a6-tool-tabs button{height:36px;padding:0 3px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.a6-tool-tabs button.selected{background:#07a956;border-color:#07a956;color:#fff}
.a6-tool button{font-family:inherit;letter-spacing:0}
.a6-tool button:disabled{cursor:default}
.a6-tool-period{font-size:17px;font-weight:600;line-height:26px;margin:12px 0 20px;text-align:center}
.a6-shake-trigger{display:block;width:min(66%,260px);aspect-ratio:1;margin:10px auto 18px;padding:0;border:0;background:transparent;cursor:pointer}
.a6-shake-trigger img{display:block;width:100%;height:100%;object-fit:contain}
.a6-shake-balls{display:flex;justify-content:center;align-items:center;gap:16px;min-height:64px;margin:10px 0 20px}
.a6-ball{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;font-size:24px;font-weight:700;color:#fff;box-shadow:inset 0 -4px 0 #0002}
.a6-ball-1{background:#e34a4e}.a6-ball-2{background:#258bd5}.a6-ball-3{background:#17a86a}
.a6-tool-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin:12px 0;padding:9px 12px;box-sizing:border-box;border:1px solid #07a956;border-radius:4px;background:#07a956;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.a6-tool-button.secondary{background:#fff;color:#078b49}.a6-tool-button:disabled{opacity:.6}
.a6-tool-note{margin:18px 0;text-align:center;font-size:12px;line-height:20px;color:#888}
.a6-tool-status{padding:16px 0;text-align:center;font-size:14px;color:#777;line-height:24px}
.a6-pouch-image{display:block;width:48%;max-width:180px;height:190px;object-fit:contain;margin:0 auto 22px}
.a6-pouch-content{padding:16px 0;color:#c73b3f;text-align:center;font-size:17px;font-weight:600;line-height:30px;overflow-wrap:anywhere}
.a6-pouch-content p{margin:6px 0;white-space:pre-wrap}
.a6-tool-historybar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.a6-tool-historybar select{height:38px;padding:0 10px;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:14px;color:#333;flex:1;min-width:0}
.a6-tool-historybar .a6-tool-button{width:auto;margin:0;min-height:38px;font-size:14px}
.a6-pouch-history{border-bottom:1px solid #e5e7ea;background:#fff}
.a6-pouch-history>button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:12px;border:0;background:transparent;color:#333;text-align:left;font-size:14px;font-weight:600}
.a6-pouch-history>button span{min-width:0;overflow-wrap:anywhere}
.a6-pouch-history .a6-pouch-content{padding:8px 12px 18px;font-size:15px;line-height:26px}
