.q-actions{display:flex;align-items:center;gap:8px}.exam-learn{font-family:inherit;font-size:11px;font-weight:700;color:#0a4088;border:1px solid #0a4088;background:#fff;border-radius:999px;padding:5px 12px;min-height:26px;cursor:pointer;white-space:nowrap}.exam-learn:hover{background:#eaf1fb}.exam-learn:focus-visible,.exam-study-view button:focus-visible{outline:3px solid #fc94af;outline-offset:2px}.exam-study-view{position:fixed;z-index:4;top:58px;bottom:0;left:218px;right:0;overflow:auto;background:#fffef2;padding:12px 14px 24px;box-sizing:border-box;font-family:inherit;color:#000}.exam-study-view[hidden]{display:none}.side-collapsed .exam-study-view{left:0}.study-back{border:0;background:transparent;color:#0a4088;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:3px 0 10px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:14px;max-width:1400px;margin:0 auto}.study-board{height:clamp(300px,65vh,700px);background:#fff;border:2px solid #000;border-radius:24px}.study-steps{background:#fffef2;border:2px solid #000;border-radius:24px;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-around;gap:4px}.study-step{display:flex;align-items:center;gap:12px;border:0;background:none;padding:9px 0;text-align:left;font-family:inherit;font-size:18px;font-weight:700;color:#000;cursor:pointer}.study-circle{width:26px;height:26px;flex:none;border:1px solid #777;border-radius:50%;display:grid;place-items:center;color:transparent}.study-step[aria-current="step"] .study-circle{background:#0a4088;border-color:#0a4088;color:#fff}.study-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:4px;font-size:16px;font-weight:700}.study-pager button{width:32px;height:32px;border:0;background:transparent;color:#000;font-size:24px;cursor:pointer}.study-pager button:disabled{opacity:.3;cursor:default}@media(max-width:700px){.exam-study-view{left:0;padding:12px}.study-layout{grid-template-columns:1fr}.study-board{height:45vh;min-height:240px}.study-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:10px}.study-step{font-size:14px;gap:8px}.study-circle{width:22px;height:22px}}@media(max-width:520px){.q-actions{gap:4px}.exam-learn{padding:5px 8px;font-size:10px}}
.study-layout{align-items:start}.study-steps{height:clamp(300px,65vh,700px);box-sizing:border-box;justify-content:initial}.study-step{position:relative;flex:1;min-height:0}.study-step:not(:last-child)::after{content:"";position:absolute;left:13px;top:50%;width:1px;height:100%;background:#aeb9c8}.study-circle{position:relative;z-index:1;background:#fffef2}.study-step>span:last-child{position:relative;z-index:1}@media(max-width:700px){.study-steps{height:auto;display:flex;flex-direction:column;align-items:stretch}.study-step{min-height:48px}.study-step:not(:last-child)::after{left:11px}}
.study-board{box-sizing:border-box}
.study-board{overflow:hidden}.lesson-slide{height:100%;box-sizing:border-box;padding:clamp(18px,3vw,34px);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;animation:slide-arrive .45s ease both}.lesson-kicker{font-size:11px;letter-spacing:.18em;color:#0a4088;font-weight:700}.lesson-title,.story-heading{font-size:clamp(18px,2.2vw,26px);font-weight:700;margin-top:8px}.lesson-form{display:flex;align-items:center;gap:clamp(12px,2vw,26px);font-family:"Zen Maru Gothic",sans-serif;font-size:clamp(36px,5vw,68px);line-height:1.2;font-weight:700;color:#0a4088;margin-top:14px}.lesson-te{color:#d05088}.lesson-plus{font-size:.48em;color:#9badc5}.lesson-meaning{margin:8px 0 12px;font-size:clamp(14px,1.4vw,18px)}.lesson-example{border-top:1px solid #e6ecf4;padding-top:12px;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:7px 15px}.lesson-example-label{font-size:11px;color:#77869c}.lesson-example-ja{font-family:"Zen Maru Gothic",sans-serif;font-weight:700;color:#0a4088;font-size:clamp(17px,2vw,23px)}.lesson-example-th{font-size:14px}.story{padding:12px 24px}.story-heading{font-size:clamp(17px,2vw,23px);margin-top:4px}.story-stage{width:min(100%,620px);height:clamp(155px,35vh,245px);position:relative;margin-top:6px}.story-stage svg{width:100%;height:100%;display:block}.story-speech{position:absolute;z-index:2;top:0;left:4%;background:#fffef2;border:1px solid #c6d7eb;border-radius:14px;padding:7px 14px;color:#0a4088;box-shadow:0 4px 14px #0a40880b;animation:speech-appear 7s infinite}.story-speech span{display:block;font-family:"Zen Maru Gothic",sans-serif;font-weight:700;font-size:clamp(13px,1.6vw,18px)}.story-speech small{display:block;font-size:11px;color:#6d7c91;margin-top:2px}.walker{animation:walk-to-cup 7s ease-in-out infinite}.shelf-cup{animation:cup-away 7s infinite}.held-cup{opacity:0;animation:cup-held 7s infinite}.story-captions{display:flex;gap:12px;align-items:center;color:#0a4088;font-size:13px}.story-captions span:nth-child(2){color:#fc94af;font-size:20px}@keyframes slide-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes speech-appear{0%,8%{opacity:0;transform:translateY(4px)}15%,85%{opacity:1;transform:none}100%{opacity:0}}@keyframes walk-to-cup{0%,28%{transform:translateX(0)}60%,83%{transform:translateX(240px)}100%{transform:translateX(0)}}@keyframes cup-away{0%,58%,100%{opacity:1}62%,94%{opacity:0}}@keyframes cup-held{0%,58%,100%{opacity:0}62%,94%{opacity:1}}@media(max-width:700px){.lesson-slide{padding:14px}.lesson-form{font-size:clamp(32px,9vw,48px)}.story-stage{height:170px}.story-speech{left:0}.story-heading{font-size:17px}}@media(prefers-reduced-motion:reduce){.lesson-slide,.story-speech,.walker,.shelf-cup,.held-cup{animation:none}.story-speech{opacity:1}.walker{transform:translateX(240px)}.shelf-cup{opacity:0}.held-cup{opacity:1}}
/* A complete request → shop → payment → return sequence. */
.story-speech{animation:none;opacity:1}.walker{animation:purchase-walk 11s ease-in-out infinite}.shelf-cup{animation:purchase-shelf 11s step-end infinite}.held-cup{animation:purchase-cup 11s step-end infinite}.pay-note{opacity:0;animation:purchase-pay 11s ease-in-out infinite}.story-phase{position:absolute;right:5%;top:3%;color:#0a4088;font-size:12px;font-weight:700;min-width:82px;text-align:center}.story-phase span{position:absolute;right:0;top:0;white-space:nowrap;opacity:0}.phase-request{animation:phase-request 11s infinite}.phase-shop{animation:phase-shop 11s infinite}.phase-pay{animation:phase-pay 11s infinite}.phase-return{animation:phase-return 11s infinite}.story-replay{font:inherit;font-size:12px;color:#0a4088;background:#fff;border:1px solid #c6d7eb;border-radius:999px;padding:4px 10px;margin-left:8px;cursor:pointer}.story-replay:hover{background:#eaf1fb}@keyframes purchase-walk{0%,20%{transform:translateX(0)}45%,68%{transform:translateX(225px)}90%,100%{transform:translateX(0)}}@keyframes purchase-shelf{0%,44%,100%{opacity:1}45%,99%{opacity:0}}@keyframes purchase-cup{0%,44%,100%{opacity:0}45%,99%{opacity:1}}@keyframes purchase-pay{0%,48%{opacity:0;transform:translateX(0)}51%{opacity:1;transform:translateX(0)}62%{opacity:1;transform:translateX(63px)}66%,100%{opacity:0;transform:translateX(63px)}}@keyframes phase-request{0%,19%{opacity:1}20%,100%{opacity:0}}@keyframes phase-shop{0%,19%{opacity:0}20%,47%{opacity:1}48%,100%{opacity:0}}@keyframes phase-pay{0%,47%{opacity:0}48%,67%{opacity:1}68%,100%{opacity:0}}@keyframes phase-return{0%,67%{opacity:0}68%,96%{opacity:1}97%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.walker,.shelf-cup,.held-cup,.pay-note,.story-phase span{animation:none}.walker{transform:translateX(225px)}.shelf-cup{opacity:0}.held-cup{opacity:1}.pay-note{opacity:1;transform:translateX(63px)}.story-phase .phase-pay{opacity:1}}
.walker-legs{transform-box:fill-box;transform-origin:center top;animation:buyer-steps 11s ease-in-out infinite}@keyframes buyer-steps{0%,20%,45%,68%,90%,100%{transform:scaleX(1)}24%,34%,72%,82%{transform:scaleX(.55)}29%,39%,77%,87%{transform:scaleX(1.15)}}@media(prefers-reduced-motion:reduce){.walker-legs{animation:none}}
.look-ray{stroke-dashoffset:140;animation:look-ray 7s ease-in-out infinite}.look-board{transform-box:fill-box;transform-origin:center;animation:look-highlight 7s ease-in-out infinite}.look-learner{animation:look-turn 7s ease-in-out infinite}.writing-lines{animation:write-lines 7s steps(3,end) infinite}.writing-pen{animation:write-pen 7s ease-in-out infinite}.example-phase .phase-request{animation:example-request 7s infinite}.example-phase .phase-action{animation:example-action 7s infinite}@keyframes look-ray{0%,25%{stroke-dashoffset:140;opacity:0}40%,80%{stroke-dashoffset:0;opacity:1}100%{opacity:0}}@keyframes look-highlight{0%,28%,100%{opacity:.65}40%,80%{opacity:1}}@keyframes look-turn{0%,25%,100%{transform:translate(260px,118px) rotate(0)}40%,80%{transform:translate(260px,118px) rotate(5deg)}}@keyframes write-lines{0%,28%{opacity:0}40%,90%{opacity:1}100%{opacity:0}}@keyframes write-pen{0%,25%{opacity:0;transform:translate(0,0)}30%{opacity:1;transform:translate(0,0)}47%{opacity:1;transform:translate(54px,0)}50%{transform:translate(0,12px)}65%{transform:translate(47px,12px)}68%{transform:translate(0,24px)}80%,90%{opacity:1;transform:translate(34px,24px)}100%{opacity:0}}@keyframes example-request{0%,25%{opacity:1}26%,100%{opacity:0}}@keyframes example-action{0%,25%{opacity:0}30%,90%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.look-ray,.look-board,.look-learner,.writing-lines,.writing-pen,.example-phase .phase-request,.example-phase .phase-action{animation:none}.look-ray{stroke-dashoffset:0;opacity:1}.look-board,.writing-lines,.writing-pen,.example-phase .phase-action{opacity:1}.example-phase .phase-request{opacity:0}}
.study-board.is-content{overflow:auto}.lesson-content{box-sizing:border-box;min-height:100%;padding:clamp(16px,2.3vw,28px) clamp(20px,3.5vw,42px);color:#000;animation:slide-arrive .4s ease both}.lc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e4eaf2}.lc-kicker{font-size:10px;color:#0a4088;letter-spacing:.16em;font-weight:700}.lc-header h1{font-family:"Zen Maru Gothic",sans-serif;color:#0a4088;font-size:clamp(27px,3.4vw,44px);line-height:1.1;margin:5px 0 0}.lc-header h1 span{color:#0a4088}.lc-tag{font-size:12px;color:#0a4088;white-space:nowrap;padding:7px 12px;background:#eaf1fb;border-radius:99px}.lc-list{display:grid;gap:0}.lc-row{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f6}.lc-row:last-child{border-bottom:0;padding-bottom:0}.lc-index{font-size:11px;font-weight:700;color:#a3b7cf;padding-top:2px}.lc-row h2{font-size:14px;font-weight:700;color:#0a4088;margin:0 0 4px}.lc-row p{font-size:14px;line-height:1.5;margin:0}.lc-row p.lc-emphasis{font-size:18px;font-weight:700}.lc-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lc-examples p{font-family:"Zen Maru Gothic",sans-serif;font-weight:700;font-size:15px}.lc-examples p span{color:#0a4088}.lc-examples small{display:block;font-size:12px;color:#6e7f95;margin-top:3px}@media(max-width:700px){.lesson-content{padding:18px}.lc-header{align-items:flex-start}.lc-tag{font-size:10px;white-space:normal}.lc-examples{grid-template-columns:1fr;gap:9px}.lc-row{padding:10px 0}}@media(prefers-reduced-motion:reduce){.lesson-content{animation:none}}
.lc-intro{font-size:13px;line-height:1.5;margin:9px 0}.lc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.lc-form-grid div{background:#f5f8fc;border-radius:8px;padding:6px 10px;display:flex;flex-direction:column;gap:2px}.lc-form-grid b{color:#0a4088;font-size:12px}.lc-form-grid span{font-size:13px;font-family:"Zen Maru Gothic",sans-serif}.lc-tip{font-size:12px;line-height:1.5;background:#fff8e6;border-radius:9px;padding:8px 10px;margin:9px 0 0}.lc-sources{font-size:10px;color:#718097;margin-top:10px;line-height:1.5}.lc-sources a{color:#0a4088;text-decoration:underline;text-underline-offset:2px}.lc-example-list{display:grid;gap:9px;margin-top:12px}.lc-example-list div{border-bottom:1px solid #edf1f6;padding-bottom:7px}.lc-example-list b{font-family:"Zen Maru Gothic",sans-serif;font-size:15px}.lc-example-list b span{color:#0a4088}.lc-example-list small{display:block;font-size:12px;color:#6e7f95;margin-top:2px}.lesson-content .lc-header h1{font-size:clamp(25px,3vw,38px)}@media(max-width:700px){.lc-form-grid{grid-template-columns:1fr}.lc-header h1{font-size:25px}.lc-form-grid div{padding:7px}}
.vocab-reading{font-size:.5em;font-weight:500;color:#617b9c}.practice-content .practice-group{margin-top:18px}.practice-group h2{font-size:16px;color:#0a4088;margin:0 0 10px}.practice-item{padding:12px 0;border-bottom:1px solid #e9eef5;display:grid;gap:7px}.practice-item label{font-weight:700;font-size:14px}.practice-item textarea{width:100%;box-sizing:border-box;border:1px solid #c6d5e7;background:white;border-radius:10px;padding:9px;font:inherit;resize:vertical}.practice-item summary{cursor:pointer;color:#0a4088;font-size:13px}.practice-item details p{margin:6px 0;padding:8px;background:#eaf1fb;border-radius:8px}.practice-group p{line-height:1.7}
.vocab-lesson{box-sizing:border-box;padding:28px 34px 36px;min-height:100%;font-family:inherit;color:#000}.vocab-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:18px;border-bottom:1px solid #d9dfe7}.vocab-heading h1{font-size:24px;line-height:1.25;margin:5px 0 0;font-weight:700;color:#000}.vocab-heading .lc-tag{padding:0;background:none;border-radius:0;color:#6b7480;font-size:12px}.vocab-group{margin-top:24px}.vocab-group h2{font-size:15px;font-weight:700;color:#000;margin:0;padding-bottom:9px;border-bottom:1px solid #d9dfe7}.vocab-item{display:grid;grid-template-columns:minmax(100px,1.1fr) minmax(90px,.9fr) minmax(130px,1.5fr) auto;gap:16px;align-items:start;padding:14px 0;border-bottom:1px solid #edf0f3}.vocab-word{font-family:"Zen Maru Gothic",sans-serif;color:#000;font-size:20px;font-weight:700;overflow-wrap:anywhere;line-height:1.4}.vocab-word small{font-family:inherit;display:block;font-size:11px;color:#6b7480;font-weight:400;margin-top:3px}.vocab-reading-col,.vocab-meaning-col{display:flex;flex-direction:column;gap:4px;min-width:0}.vocab-reading-col span,.vocab-meaning-col span{font-size:11px;color:#6b7480}.vocab-reading-col strong,.vocab-meaning-col strong{font-size:14px;color:#000;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.vocab-dict{align-self:center;font-size:12px;color:#0a4088!important;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a6b8d0;white-space:nowrap}.vocab-dict:hover{text-decoration-color:#0a4088}.vocab-dict:focus-visible{outline:2px solid #0a4088;outline-offset:3px}.vocab-empty,.vocab-note{font-size:12px;color:#6b7480;line-height:1.6}.vocab-note{margin-top:22px}@media(max-width:700px){.vocab-lesson{padding:20px}.vocab-heading h1{font-size:21px}.vocab-item{grid-template-columns:1fr 1fr;gap:10px 16px}.vocab-meaning-col{grid-column:1/2}.vocab-dict{justify-self:start}}
.vocab-dict-links{display:flex;gap:8px;align-self:center;flex-wrap:wrap}@media(max-width:700px){.vocab-dict-links{justify-self:start}}

.nk-copylink{border:1px solid #0a4088;background:#fff;color:#0a4088;font-family:inherit;font-size:12px;font-weight:700;border-radius:999px;padding:4px 12px;margin:0 0 10px 10px;cursor:pointer;vertical-align:top}.nk-copylink:hover{background:#eaf1fb}
.exam-study-view.pend-read .study-steps,.exam-study-view.pend-read .study-pager{display:none}.exam-study-view.pend-read .study-layout{grid-template-columns:1fr}
