﻿/* q22: align short lessons with the main story's brown page and soft art edges. */
html.unified.lesson-theme{--page-bg:#302a25;--page-raised:#40362d;--page-line:#78634f;--page-accent:#e0cba4}
html.unified .q14-story-panel{background:transparent;border:0;border-radius:0;box-shadow:none;isolation:visible;margin:clamp(24px,4vw,40px) auto clamp(76px,8vw,92px)}
html.unified .q14-story-panel img{border:0;border-radius:0;background:transparent;mask-image:linear-gradient(to bottom,transparent,#000 10px,#000 calc(100% - 12px),transparent)}
html.unified .q14-story-panel:not(.q22-story-panel)::before{content:"\5b97 \5f66 \304c \898b \305b \308b \5b66 \3073 \306e \666f \8272 ";position:absolute;z-index:4;top:12px;right:14px;padding:4px 9px;border:1px solid rgba(224,203,164,.8);border-radius:4px;background:rgba(39,31,25,.78);color:#f8f3e9;font:12px/1.45 Meiryo,sans-serif;letter-spacing:.03em}
html.unified .q22-story-panel .q14-caption-band{width:min(75%,700px)}
html.unified .q22-split-source .wa-captions.single{max-width:80%}
@media(max-width:600px){
 html.unified .q14-story-panel{margin:20px auto 86px}
 html.unified .q14-story-panel:not(.q22-story-panel)::before{font-size:11px;top:9px;right:9px}
 html.unified .q22-story-panel .q14-caption-band{width:calc(100% - 20px)}
 html.unified .q22-split-source .wa-captions.single{max-width:none}
}
