.ixg-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d5dfcf;border-radius:22px;background:#fcfcf6;color:#294e37;box-shadow:0 24px 90px #17372430;font:16px/1.65 system-ui,"PingFang SC",sans-serif;overflow:auto;overscroll-behavior:contain}
.ixg-dialog *{box-sizing:border-box}.ixg-dialog::backdrop{background:#213d3559;backdrop-filter:blur(3px)}
.ixg-dialog button{font:inherit;cursor:pointer;min-height:48px;border:1px solid #d6e0cd;border-radius:12px;padding:10px 17px;background:#f6f8ed;color:#315b3d;touch-action:manipulation;transition:background .12s,border-color .12s}
.ixg-dialog button:hover:not(:disabled){background:#e8efdd;border-color:#9db58f}.ixg-dialog button:focus-visible{outline:3px solid #d29c3e;outline-offset:3px}.ixg-dialog button:disabled{cursor:default;opacity:.55}.ixg-dialog button.ixg-found:disabled{opacity:1}
.ixg-header{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:20px 25px;border-bottom:1px solid #e0e7d8;background:#fcfcf6}.ixg-header h2{font-size:23px;margin:0 auto 0 0}.ixg-mode-tabs{display:flex;gap:7px}.ixg-mode-tabs button{font-size:14px;padding:8px 12px}.ixg-mode-tabs button[aria-pressed=true]{background:#e2ebd6;border-color:#a9bf9b}.ixg-header .ixg-close{font-size:14px;background:transparent}
.ixg-body{padding:25px 30px 12px}.ixg-body h3{font-size:27px;line-height:1.45;margin:7px 0 12px;letter-spacing:.025em}.ixg-eyebrow{font-size:13px;letter-spacing:.05em;color:#6a7b60;margin:0 0 8px}.ixg-note{font-size:14px;line-height:1.8;color:#687b60;margin:0 0 18px;max-width:70ch}
.ixg-match-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 12px}.ixg-dialog .ixg-choice{min-height:82px;padding:14px 8px;background:#fffef8;font-size:21px;letter-spacing:.06em;font-weight:600;word-break:keep-all}.ixg-dialog .ixg-choice.ixg-found{background:#deebd4;border-color:#8bab77;color:#305b3a}
.ixg-feedback{min-height:60px;margin:0;padding:14px 30px;color:#526b48;font-size:15px;line-height:1.8}.ixg-feedback.ixg-good{color:#2f633e}.ixg-feedback.ixg-retry{color:#936037;background:#fff5e8}.ixg-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;padding:16px 30px 23px;border-top:1px solid #e4e9dc}.ixg-footer .ixg-note{margin:0 auto 0 0}.ixg-dialog .ixg-primary{background:#315d43;color:white;border-color:#315d43;font-weight:650}.ixg-dialog .ixg-primary:hover:not(:disabled){background:#254d36;color:white}
.ixg-chain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}.ixg-trail{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:24px 0;padding:20px;background:#eef3e5;border:1px solid #d9e3ce;border-radius:14px}.ixg-trail-word{font-size:21px;font-weight:600;letter-spacing:.04em}.ixg-arrow{color:#8a9c77}.ixg-current{font-size:18px;font-weight:600;margin:0 0 10px}
.ixg-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.ixg-review-row{padding:16px;border:1px solid #dde6d3;border-radius:14px;background:#fffef9;min-width:0}.ixg-dialog .ixg-review-word{font-size:21px;font-weight:650;border:0;background:none;padding:0;text-align:left;min-height:44px}.ixg-meaning{font-size:14px;line-height:1.9;margin:7px 0 12px;color:#5b6f53;overflow-wrap:anywhere}.ixg-dialog .ixg-small{font-size:13px;min-height:44px;padding:8px 13px}
@media(max-width:650px){.ixg-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}.ixg-header{padding:15px;gap:10px}.ixg-header h2{font-size:21px}.ixg-header .ixg-close{padding:8px 10px;font-size:13px}.ixg-mode-tabs{order:3;width:100%}.ixg-mode-tabs button{flex:1;min-height:44px}.ixg-body{padding:20px 17px 8px}.ixg-body h3{font-size:23px}.ixg-note{font-size:13px}.ixg-match-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}.ixg-dialog .ixg-choice{font-size:18px;min-height:72px;letter-spacing:0;padding:12px 3px}.ixg-chain-grid{grid-template-columns:1fr;gap:10px}.ixg-chain-grid .ixg-choice{min-height:62px;font-size:22px}.ixg-feedback{padding:12px 17px;font-size:14px;min-height:58px}.ixg-footer{padding:13px 17px 18px;gap:10px}.ixg-footer .ixg-note{width:100%}.ixg-footer .ixg-primary{width:100%}.ixg-review-list{grid-template-columns:1fr}.ixg-trail{padding:14px;gap:8px}.ixg-trail-word{font-size:19px}.ixg-current{font-size:17px}}
@media(max-width:350px){.ixg-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ixg-dialog .ixg-choice{min-height:61px;font-size:19px}}
@media(prefers-reduced-motion:reduce){.ixg-dialog button{transition:none}}
