.gs-root { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 8px 14px 16px; overflow-y: auto; scrollbar-width: none; }
.gs-root::-webkit-scrollbar { display: none; }
.gs-card { background: var(--cream); border: 2px solid #f0dcc0; border-radius: 18px; padding: 12px 14px; box-shadow: 0 3px 0 #ecd3ae, 0 6px 12px rgba(90,60,30,.1); animation: gs-in .28s cubic-bezier(.3,1.5,.5,1); }
@keyframes gs-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.gs-label { font-size: 14px; font-weight: 900; color: var(--teal); letter-spacing: .5px; }
.gs-target { font-size: 24px; font-weight: 800; line-height: 1.45; color: var(--text); word-break: break-word; }
.gs-sub { font-size: 14px; color: var(--text2); line-height: 1.4; margin-top: 2px; }
.gs-row { display: flex; align-items: center; gap: 8px; }
.gs-row > .gs-grow { flex: 1; min-width: 0; }
.gs-say { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: radial-gradient(circle, #fffaf0 55%, var(--mint)); box-shadow: 0 2px 0 var(--mint2), 0 0 8px rgba(84,224,207,.4); font-size: 20px; cursor: pointer; }
.gs-say:active { transform: scale(.9); }
.gs-pill { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid var(--mint2); background: #eafaf5; color: var(--teal); font-weight: 900; font-size: 14px; cursor: pointer; }
.gs-pill.on { background: var(--teal); color: #fff; }
.gs-opts { display: flex; flex-direction: column; gap: 9px; }
.gs-opt { min-height: 54px; padding: 8px 14px; border-radius: 16px; border: 2px solid #f0dcc0; background: #fffdf7; box-shadow: 0 3px 0 #ecd3ae; text-align: left; cursor: pointer; font-size: 17px; font-weight: 800; line-height: 1.35; transition: transform .12s, box-shadow .2s, background .2s; display: block; width: 100%; }
.gs-opt.gs-big { font-size: 22px; }
.gs-opt:hover:not([disabled]) { transform: translateY(-1px); border-color: var(--mint2); }
.gs-opt:active:not([disabled]) { transform: scale(.97); }
.gs-opt .gs-sub { font-weight: 600; }
.gs-opt.ok { background: #e3fbf5; border-color: var(--ink-glow); box-shadow: 0 0 14px var(--ink-glow); }
.gs-opt.bad { background: #ffeceb; border-color: var(--bad); animation: gs-shake .35s; }
.gs-opt[disabled]:not(.ok):not(.bad) { opacity: .6; }
@keyframes gs-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.gs-tray, .gs-line { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; padding: 8px; border-radius: 14px; }
.gs-tray { min-height: 70px; background: rgba(191,232,220,.35); }
.gs-line { min-height: 70px; background: repeating-linear-gradient(transparent 0 52px, #e9d6b6 52px 54px); border: 2px dashed #e5cfa8; }
.gs-line.ok { border-color: var(--ink-glow); box-shadow: 0 0 14px var(--ink-glow); }
.gs-line.bad { border-color: var(--bad); animation: gs-shake .35s; }
.gs-chip { min-height: 46px; min-width: 46px; padding: 4px 12px; border-radius: 14px; border: 2px solid #fff; background: #fff; box-shadow: 0 3px 0 #d9c3a0; font-size: 20px; font-weight: 800; cursor: pointer; animation: gs-pop .22s cubic-bezier(.3,1.7,.5,1); }
.gs-line .gs-chip { background: #eafaf5; box-shadow: 0 3px 0 var(--mint2); }
.gs-chip:active { transform: scale(.92); }
@keyframes gs-pop { from { transform: scale(.6); opacity: .3; } }
.gs-hint { font-size: 14px; color: var(--text2); align-self: center; padding: 8px; }
.gs-slot { display: inline-block; min-width: 54px; padding: 0 8px; margin: 0 3px; border-bottom: 3px dashed var(--apricot); color: var(--apricot2); text-align: center; transition: all .25s; }
.gs-slot.ok { border-bottom: 3px solid var(--ink-glow); color: var(--teal); text-shadow: 0 0 10px var(--ink-glow); }
.gs-slot.bad { border-bottom: 3px solid var(--bad); color: var(--bad); animation: gs-shake .35s; }
.gs-pattern { display: inline-flex; align-items: center; gap: 8px; }
.gs-pattern b { background: var(--mint); color: var(--teal); padding: 6px 12px; border-radius: 14px; font-size: 18px; }
.gs-q { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: var(--apricot); color: #fff; font-weight: 900; font-size: 20px; cursor: pointer; box-shadow: 0 2px 0 var(--apricot2); }
.gs-badge { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 12px; background: var(--sakura); color: #7a3347; font-size: 13px; font-weight: 900; }
.gs-ex { padding: 8px 0; border-bottom: 1px dashed #e5cfa8; }
.gs-chat { display: flex; flex-direction: column; gap: 10px; }
.gs-banner { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: linear-gradient(90deg, var(--mint), #e6f7f1); border-radius: 16px; padding: 8px 14px; font-weight: 900; color: var(--teal); font-size: 15px; }
.gs-bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; background: #fff; border: 2px solid #f0dcc0; animation: gs-pop .25s cubic-bezier(.3,1.7,.5,1); align-self: flex-start; border-bottom-left-radius: 4px; }
.gs-bubble.me { align-self: flex-end; background: #e3fbf5; border-color: var(--mint2); border-bottom-left-radius: 18px; border-bottom-right-radius: 4px; }
.gs-dots { display: inline-flex; gap: 5px; padding: 6px 4px; }
.gs-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint2); animation: gs-bob 1s infinite; }
.gs-dots i:nth-child(2) { animation-delay: .15s; } .gs-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes gs-bob { 50% { transform: translateY(-5px); background: var(--teal); } }
.gs-why { margin-top: 6px; font-size: 14px; color: #b0483f; font-weight: 700; }
.gs-opt .gs-tr { display: none; }
.gs-show-tr .gs-opt .gs-tr { display: block; }
.gs-case { background: #f4ead2; border: 2px solid #c9a96b; }
.gs-case .gs-label { color: #8a5a22; }
.gs-passage { font-size: 22px; line-height: 1.7; }
.gs-exam-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 900; padding: 8px 12px; border-radius: 12px; background: #fff; border: 2px solid #4a3528; color: #4a3528; font-size: 15px; }
.gs-exam-head .gs-timer { font-variant-numeric: tabular-nums; color: var(--apricot2); }
.gs-sec { text-align: center; font-size: 20px; font-weight: 900; color: var(--teal); border-top: 2px solid var(--teal); border-bottom: 2px solid var(--teal); padding: 4px 0; animation: gs-in .3s; }
.gs-sheet { background: #fffdf5; background-image: repeating-linear-gradient(transparent 0 27px, #efe3c9 27px 28px); }
.gs-score { text-align: center; padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gs-pct { font-size: 52px; font-weight: 900; color: var(--teal); }
.gs-stamp { font-size: 30px; font-weight: 900; letter-spacing: 3px; padding: 6px 18px; border: 5px double; border-radius: 12px; transform: rotate(-9deg); animation: gs-stamp .5s cubic-bezier(.3,1.8,.5,1); opacity: .9; }
.gs-stamp.pass { color: #d4493e; border-color: #d4493e; } .gs-stamp.fail { color: var(--text2); border-color: var(--text2); }
@keyframes gs-stamp { from { transform: rotate(-9deg) scale(3); opacity: 0; } }
