.ecg-game{max-width:760px;margin:24px auto;font-family:system-ui,-apple-system,'Noto Sans KR',sans-serif;color:#172334;line-height:1.6}.ecg-header{background:#1d3557;color:white;padding:22px;border-radius:16px 16px 0 0}.ecg-header h2{color:white;margin:0;font-size:1.55rem}.ecg-header p{margin:4px 0 0;color:#e2eafa}.ecg-board{padding:22px;border:1px solid #e0e5ed;border-top:0;border-radius:0 0 16px 16px;background:#fff}.ecg-stats{display:flex;gap:20px;justify-content:space-between;font-size:.95rem}.ecg-status{font-weight:700;padding:14px 0}.ecg-hint{background:#f0f6ff;border:1px solid #d1e2ff;border-radius:10px;padding:14px;margin-bottom:18px;min-height:50px}.ecg-game label{display:block;font-weight:700;margin-bottom:7px}.ecg-inputrow{display:flex;gap:8px}.ecg-game input{min-width:0;flex:1;padding:12px;border:1px solid #a6b2c2;border-radius:8px;font-size:16px}.ecg-game button{cursor:pointer;border:0;border-radius:8px;padding:11px 15px;background:#1d3557;color:white;font-size:15px;font-weight:700}.ecg-game button:disabled{opacity:.45;cursor:not-allowed}.ecg-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ecg-actions button:last-child{background:#317568}.ecg-message{min-height:24px;font-size:.94rem;color:#a33c22}.ecg-game h3{margin:18px 0 8px;font-size:1.12rem}.ecg-history{padding:0;list-style:none;margin:0}.ecg-history li{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;margin:7px 0;border-radius:8px;flex-wrap:wrap}.ecg-computer{background:#eaf1ff;border-left:4px solid #2d64c6}.ecg-player{background:#e5f6eb;border-left:4px solid #278452}.ecg-history span{color:#3d4f60}.ecg-search{margin:16px 0;padding:12px 16px;border:1px solid #dde4ee;border-radius:10px}.ecg-search summary{font-weight:700;cursor:pointer}.ecg-search label{margin-top:12px}.ecg-search input{width:100%;box-sizing:border-box}.ecg-search-results{max-height:230px;overflow:auto}.ecg-search-results p{margin:4px 0;border-bottom:1px solid #e9edf3;padding:5px 0}@media(max-width:460px){.ecg-board{padding:15px}.ecg-header{padding:16px}.ecg-inputrow button{padding:10px}.ecg-game{margin:12px auto}}
/* v2.1 horizontal connected words + skip/reveal flow */
.ecg-game .ecg-chain{display:flex;gap:8px;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;padding:10px 3px 14px;min-height:100px;scrollbar-width:thin;border-bottom:1px solid #e5ebf2}
.ecg-game .ecg-chain-item{flex:0 0 142px;min-width:142px;max-width:142px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:9px 10px;border-radius:10px;border-left-width:4px;border-left-style:solid;overflow-wrap:anywhere}
.ecg-game .ecg-chain-item span{font-size:11px;color:#516274}
.ecg-game .ecg-chain-item strong{font-size:17px;color:#172334;line-height:1.25}
.ecg-game .ecg-chain-item small{font-size:12px;color:#405163;line-height:1.3}
.ecg-game .ecg-assisted{background:#fff4dd;border-left:4px solid #cc8c19}
.ecg-game .ecg-help{font-size:13px;color:#52637c;margin:0}
.ecg-game progress{display:block;width:100%;height:9px;accent-color:#2d64c6;margin:12px 0 16px}
.ecg-game .ecg-actions [data-role="reveal"]{background:#a75a1b}
.ecg-game .ecg-actions [data-role="start"]{background:#566478}
.ecg-game .ecg-actions [data-role="speak"]{background:#317568}
@media(max-width:460px){.ecg-game .ecg-chain-item{flex-basis:126px;min-width:126px;max-width:126px}.ecg-game .ecg-actions button{flex:1 1 45%}.ecg-game .ecg-stats{gap:7px;font-size:12px}}
