/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.study-stroop-container{max-width:100%;margin:0 auto;padding:16px}
.study-stroop-hud{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.study-stroop-huditem{font-size:13px;color:var(--text-2,#555);background:var(--bg-card,#fff);border:1px solid var(--border-light,#e2e8f0);border-radius:999px;padding:5px 14px}
.study-stroop-hudms{color:var(--primary,var(--primary-hover));font-weight:700}
.study-stroop-arena{background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,16px);min-height:230px;display:flex;align-items:center;justify-content:center;padding:24px}
.study-stroop-lead{font-size:15px;color:var(--text-2,#555);text-align:center;max-width:100%;margin-bottom:18px;line-height:1.9}
.study-stroop-ready{text-align:center}
.study-stroop-trial{text-align:center}
.study-stroop-word{font-size:72px;font-weight:800;letter-spacing:4px;user-select:none}
.study-stroop-word.flashbad{animation:study-stroop-shake .3s}
@keyframes study-stroop-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
.study-stroop-result{text-align:center}
.study-stroop-result h2{font-size:22px;margin-bottom:10px}
.study-stroop-result .row{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:14px;color:var(--text-2,#555);margin-bottom:6px}
.study-stroop-result .row b{color:var(--text-1,#333);font-size:18px}
.study-stroop-palette{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.study-stroop-colorbtn{padding:14px 0;border:none;border-radius:var(--radius,12px);font-size:16px;font-weight:700;color:#fff;cursor:pointer;transition:transform .1s;opacity:.95}
.study-stroop-colorbtn:hover{transform:translateY(-2px);opacity:1}

.study-stroop-colorbtn:disabled{opacity:.4;cursor:not-allowed;transform:none}
.study-stroop-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.study-stroop-btn{padding:8px 16px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px}
.study-stroop-btn-primary{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover))}
.study-stroop-btn-lg{padding:11px 28px;font-size:15px}
.study-stroop-message{margin-top:8px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none}
.study-stroop-message.show{display:block}
.study-stroop-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.study-stroop-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.study-stroop-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.study-stroop-footer-right{margin-left:auto}
@media(max-width:640px){.study-stroop-arena{min-height:180px;padding:16px}.study-stroop-word{font-size:52px}.study-stroop-colorbtn{font-size:14px;padding:12px 0}.study-stroop-footer{flex-direction:column;gap:4px;text-align:center}}
