/* One conversation panel keeps the swipe stack the same height on both sides. */
.studying .study-discussion{flex-shrink:0;width:100%;margin:0 0 4px}
.studying .term-body{padding-bottom:8px}
.studying .term-footer>span:first-child{display:flex;align-items:center;gap:5px}
.studying .term-footer>span>.icon{width:15px;height:15px}
.studying .term-support{height:184px;min-height:184px;padding:14px;background:#fffaf0d9;border:1px solid #e8d9bc;border-radius:15px}
.studying .study-companion{height:auto;min-height:0;display:flex;align-items:center;gap:9px;padding:0;margin:0;background:transparent;overflow:visible}
.studying .study-companion>.avatar{width:46px;height:50px;object-fit:contain}
.studying .study-companion p{flex:1;min-width:0;font-size:17px;line-height:1.65}
.studying .study-companion .speaker{display:block;font-size:12px;line-height:1.4;margin:0 0 5px;color:#8b7455;font-weight:800}
.studying .companion-line{display:block;overflow-wrap:anywhere}
.studying .study-companion[data-speaker='ユイ'] .speaker{color:#a26246}
.studying .study-companion[data-speaker='ハルト'] .speaker{color:#a96546}
.studying .term-note{display:flex;align-items:flex-start;gap:9px}
.studying .term-note>.avatar{width:46px;height:50px;flex-shrink:0;object-fit:contain}
.studying .note-copy{flex:1;min-width:0}
.studying .note-copy>span{display:block;font-size:12px;font-weight:800;color:#a96546;line-height:1.4;margin-bottom:5px}
.studying .term-note p{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.studying .explanation-key{color:#285b43;font-weight:800;background:linear-gradient(transparent 62%,#f3d67888 62%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-height:740px){
 .studying .term-support{height:164px;min-height:164px;padding:11px 12px}
 .studying .study-companion{gap:8px}
 .studying .study-companion>.avatar{width:40px;height:44px}
 .studying .study-companion p{font-size:16px;line-height:1.6}
 .studying .study-companion .speaker{font-size:11px;margin-bottom:4px}
 .studying .term-note{gap:8px}
 .studying .term-note>.avatar{width:40px;height:44px}
 .studying .note-copy>span{font-size:11px;margin-bottom:4px}
 .studying .term-note p{font-size:15.5px;line-height:1.65}
}
@media(max-width:760px) and (max-height:600px){
 .studying .term-support{height:140px;min-height:140px;padding:8px 10px}
 .studying .study-companion,.studying .term-note{display:block;width:100%}
 .studying .study-companion:after,.studying .term-note:after{content:'';display:block;clear:both}
 .studying .study-companion>.avatar,.studying .term-note>.avatar{float:left;width:32px;height:35px;margin:0 8px 2px 0}
 .studying .study-companion p{font-size:15.5px;line-height:1.55}
 .studying .note-copy{display:contents}
 .studying .term-body{gap:6px;padding-bottom:5px}
 .studying .term-card{padding-top:8px}
 .studying .term-question{padding-top:0}
 .studying .term-question h1{line-height:1.45}
 .studying .term-answer{height:76px;min-height:76px;padding:6px;gap:3px}
 .studying .note-copy>span{margin-bottom:2px}
 .studying .term-note p{font-size:14.5px;line-height:1.55}
}
@media(max-width:760px) and (max-height:550px){
 .studying .term-support{height:128px;min-height:128px;padding:7px 9px}
 .studying .swipe-guide p{display:none}
 .studying .swipe-directions{height:30px}
 .studying .study-progress{height:16px;margin-bottom:4px}
 .studying .card-meta{min-height:22px}
}
