/* Full-body guides: contain the complete figure, never crop faces or feet. */
.ew-artline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 16px;max-width:100%}
.ew-artline>h1,.ew-artline>h2{flex:1 1 240px;min-width:0;margin-bottom:0}
.ew-character-group{display:inline-flex;align-items:flex-end;gap:12px;flex:0 0 auto;max-width:100%}
.ew-character{display:inline-flex;align-items:flex-end;justify-content:center;flex:none;width:132px;height:208px;max-width:100%;border:0;border-radius:0;background:transparent;vertical-align:bottom;box-sizing:border-box;text-decoration:none;isolation:isolate}
.ew-character img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;max-width:100%;border:0;border-radius:0;background:transparent}
.ew-character:focus-visible{outline:3px solid #d6ad00;outline-offset:5px;border-radius:6px}
.ew-character--gotomaru{width:152px;height:128px;margin-bottom:12px}
.ew-character--kumataka{width:160px;height:120px}
@media(max-width:640px){.ew-artline{gap:12px}.ew-artline>h1,.ew-artline>h2{flex-basis:200px}.ew-character-group{gap:8px}.ew-character{width:96px;height:160px}.ew-character--gotomaru{width:112px;height:96px}.ew-character--kumataka{width:128px;height:96px}}
@media(prefers-reduced-motion:reduce){.ew-character{animation:none;transition:none}}

/* In-flow guides explain the page and provide an explicit next step. */
.ew-guide-heading{width:100%;max-width:100%;min-width:0}
.ew-guide-heading>h1,.ew-guide-heading>h2{margin-bottom:18px}
.sectionhead:has(.ew-guide){display:block}
.ew-guide{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:end;gap:18px;max-width:680px;width:100%;margin:20px 0 24px;color:#19343d;text-align:left;box-sizing:border-box}
.ew-guide .ew-character{align-self:end;width:132px;height:208px;margin:0;max-width:100%}
.ew-guide .ew-character--gotomaru{height:132px}
.ew-guide .ew-character--kumataka{height:120px}
.ew-guide .ew-character[role=button]{cursor:pointer}
.ew-guide-bubble{position:relative;min-width:0;border:1px solid #d7c676;border-radius:16px;background:#fffdf2;padding:18px 20px;box-sizing:border-box}
.ew-guide-bubble:before{content:"";position:absolute;left:-9px;bottom:38px;width:16px;height:16px;transform:rotate(45deg);background:#fffdf2;border-left:1px solid #d7c676;border-bottom:1px solid #d7c676}
.ew-guide p.ew-guide-label{margin:0 0 8px;font-size:11px;letter-spacing:.12em;font-weight:800;color:#6b5a20;line-height:1.5}
.ew-guide p.ew-guide-text{font-size:14px;line-height:1.85;color:#19343d;margin:0 0 12px;overflow-wrap:anywhere}
.ew-guide-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 14px;border-radius:8px;background:#ffdc39;color:#132e37!important;font:700 13px/1.6 system-ui;text-decoration:none;box-sizing:border-box;overflow-wrap:anywhere}
.ew-guide-action:focus-visible,.ew-guide button:focus-visible,.ew-guide select:focus-visible{outline:3px solid #007d89;outline-offset:3px}
.ew-guide-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font:12px/1.5 system-ui;color:#687272}
.ew-guide button[data-guide-next]{border:0;border-radius:6px;background:transparent;color:#174a54;font:700 12px/1.5 system-ui;min-height:44px;padding:8px;cursor:pointer}
.ew-guide button[hidden]{display:none!important}
.ew-guide-topic{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font:12px/1.6 system-ui;color:#405052}
.ew-guide select{font:13px system-ui;border:1px solid #b8c4bf;border-radius:6px;background:#fff;color:#19343d;padding:10px;min-height:44px;max-width:100%;box-sizing:border-box}
.ew-guide-start{padding:28px 0!important;background:#f7f4e9}
.ew-guide-start .ew-guide{margin:0;max-width:760px}
@media(max-width:640px){.ew-guide{grid-template-columns:88px minmax(0,1fr);gap:12px;margin:16px 0 24px}.ew-guide .ew-character{width:88px;height:148px}.ew-guide .ew-character--gotomaru{height:88px}.ew-guide .ew-character--kumataka{height:80px}.ew-guide-bubble{padding:14px 12px;border-radius:12px}.ew-guide p.ew-guide-text{font-size:13px;line-height:1.8}.ew-guide-action{font-size:12px;padding:9px 10px}.ew-guide-start{padding:22px 0!important}}

/* Slightly larger whole figures; a separate image and movement for each context. */
.ew-guide{grid-template-columns:170px minmax(0,1fr);gap:20px;max-width:740px}
.ew-guide .ew-character{width:170px;height:264px}
.ew-guide .ew-character--gotomaru{height:154px}
.ew-guide .ew-character--kumataka{height:146px}
.ew-cloud-icon{font-size:24px;line-height:1;vertical-align:middle;margin-right:5px}
.ew-guide-label{display:flex;align-items:center;gap:4px}
.ew-guide-bubble{border-radius:26px 30px 24px 30px;border-color:#d5c16d;box-shadow:0 5px 18px #132e3707}
.ew-guide--recruit{display:block;max-width:940px}
.ew-guide--recruit>.ew-character{display:none!important}
.ew-recruit-team{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:12px;margin:14px 0 22px}
.ew-recruit-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;width:100%;padding:8px 4px;border:2px solid transparent;border-radius:16px;background:transparent;color:#19343d;cursor:pointer;font:700 12px/1.5 system-ui}
.ew-recruit-choice img{display:block;width:100%;height:236px;object-fit:contain;object-position:center bottom;background:transparent}
.ew-recruit-choice span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 8px;border-radius:20px;background:#fffdf2;border:1px solid #d5c16d;text-align:center;max-width:100%;box-sizing:border-box}
.ew-recruit-choice[aria-pressed=true]{border-color:#d8ae13;background:#fff5bc70}
.ew-recruit-choice:focus-visible{outline:3px solid #007d89;outline-offset:3px}
@media(max-width:640px){.ew-guide{grid-template-columns:110px minmax(0,1fr);gap:14px}.ew-guide .ew-character{width:110px;height:184px}.ew-guide .ew-character--gotomaru{height:106px}.ew-guide .ew-character--kumataka{height:100px}.ew-cloud-icon{font-size:22px}.ew-guide--recruit{display:block}.ew-recruit-team{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ew-recruit-choice{padding:5px 2px;font-size:11px}.ew-recruit-choice img{height:184px}.ew-recruit-choice span{padding:7px 5px}}

/* Large official guides: whole bodies remain contained, without overlaying content. */
.ew-character{width:180px;height:284px}
.ew-character--gotomaru{width:208px;height:176px}
.ew-character--kumataka{width:220px;height:166px}
.ew-guide{grid-template-columns:280px minmax(0,1fr);max-width:940px;gap:24px}
.ew-guide-start .ew-guide{max-width:940px}
.ew-guide .ew-character{width:280px;height:440px}
.ew-guide .ew-character--gotomaru{height:258px}
.ew-guide .ew-character--kumataka{height:246px}
.ew-guide--recruit{display:block;max-width:100%}
.ew-recruit-team{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.ew-recruit-choice{grid-column:span 2;padding:12px 8px;font-size:13px}
.ew-recruit-choice:nth-child(4){grid-column:2 / span 2}
.ew-recruit-choice:nth-child(5){grid-column:4 / span 2}
.ew-recruit-choice img{height:420px}
@media(min-width:641px) and (max-width:900px){
 .ew-guide{grid-template-columns:240px minmax(0,1fr);gap:18px}
 .ew-guide .ew-character{width:240px;height:380px}
 .ew-guide .ew-character--gotomaru{height:222px}
 .ew-guide .ew-character--kumataka{height:212px}
 .ew-recruit-choice img{height:340px}
}
@media(max-width:640px){
 .ew-character{width:150px;height:240px}
 .ew-character--gotomaru{width:170px;height:144px}
 .ew-character--kumataka{width:190px;height:142px}
 .ew-guide{grid-template-columns:minmax(0,1fr);gap:16px;justify-items:stretch}
 .ew-guide .ew-character{justify-self:center;width:min(100%,224px);height:356px}
 .ew-guide .ew-character--gotomaru{height:210px}
 .ew-guide .ew-character--kumataka{height:200px}
 .ew-guide-bubble:before{left:calc(50% - 8px);top:-9px;bottom:auto;border-left:1px solid #d7c676;border-top:1px solid #d7c676;border-bottom:0}
 .ew-guide--recruit{display:block}
 .ew-recruit-team{grid-template-columns:minmax(0,1fr);gap:22px}
 .ew-recruit-choice:nth-child(n){grid-column:1;width:min(100%,280px);justify-self:center;font-size:13px;padding:12px 8px}
 .ew-recruit-choice img{height:390px}
}

/* Recruitment team huddle: large image, complete illustration on every viewport. */
.ew-team-huddle{width:100%;max-width:1440px;margin:40px auto -85px;padding:0}
.ew-team-huddle img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:800px){.ew-team-huddle{margin:30px auto -55px}}
