/* V38.6 — mobile highlight editorial layout. Content and V38.5 interactions untouched. */
/* Reference: user-approved visual arrangement, not its generated sample wording. */
@media (max-width:780px){
  #highlights.v38-highlights .v29-container{width:calc(100% - 30px)!important;max-width:500px}
  #highlights .v38-light-story{padding-top:24px!important;padding-bottom:78px!important}
  #highlights .v38-chapter,#highlights .v38-chapter:nth-of-type(2),#highlights .v38-chapter:nth-of-type(3),#highlights .v38-chapter:nth-of-type(4){
    min-height:0!important;position:relative!important; margin:0!important;
  }
  #highlights .v38-chapter:not(:last-of-type)::after{
    content:'';position:absolute;bottom:0;left:105px;right:1px;height:1px;
    background:linear-gradient(90deg,rgba(255,255,255,.79),rgba(206,177,207,.28));pointer-events:none;
  }
  #highlights .v38-chapter .v38-chapter-button,#highlights .v38-chapter:nth-of-type(even) .v38-chapter-button{
    align-items:center!important;justify-content:flex-start!important;
    padding:27px 1px 28px 0!important;gap:18px!important;min-height:169px!important;
  }
  #highlights .v38-chapter .v38-orb{width:87px!important;height:87px!important;flex-basis:87px!important}
  #highlights .v38-chapter .v38-orb .v29-icon{width:73px!important;height:73px!important}
  #highlights .v38-chapter .v37-node-copy{
    position:relative!important;padding-right:18px!important;min-width:0!important;
  }
  #highlights .v38-chapter .v29-index{
    margin:0 0 8px!important;font-size:10px!important;letter-spacing:.055em!important;
    line-height:1.35!important;white-space:nowrap!important;color:#965c91!important;
  }
  #highlights .v38-chapter .v29-index b{font-size:12px!important;letter-spacing:.05em!important}
  #highlights .v38-chapter .v29-index i{flex-basis:13px!important;max-width:13px!important}
  #highlights .v38-chapter h3{
    font-size:clamp(20px,5.6vw,27px)!important;letter-spacing:0!important;
    line-height:1.22!important;margin:0 0 6px!important;font-weight:750!important;
    color:#143c75!important;
  }
  #highlights .v38-chapter .v37-node-copy > p{
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(13.5px,3.75vw,16px)!important;font-weight:400!important;
    color:#785a89!important;letter-spacing:-.018em!important;
    line-height:1.31!important;margin:0 0 12px!important;
  }
  #highlights .v38-chapter .v38-chapter-note{
    display:block!important;margin:0!important;border-left:2px solid rgba(173,90,147,.77)!important;
    padding:1px 0 2px 10px!important;color:#445579!important;
    font-size:clamp(11.5px,3vw,13px)!important;line-height:1.55!important;letter-spacing:.01em!important;
  }
  /* The original repeated invitation and emoji-like arrow are visually replaced by a quiet chevron.
     Button, data index, keyboard activation, and accessible name stay exactly as before. */
  #highlights .v38-chapter .v38-learn{display:none!important}
  #highlights .v38-chapter .v37-node-copy::after{display:none!important}
  #highlights .v38-chapter .v38-chapter-button::after{
    content:''!important;display:block!important;position:absolute!important;right:8px;top:59px;
    width:10px;height:10px;border-top:1.8px solid #a45f99;
    border-right:1.8px solid #a45f99;transform:rotate(45deg);border-radius:1px;
    transition:transform .38s cubic-bezier(.34,1.45,.64,1),border-color .26s;
    pointer-events:none;opacity:.95;
  }
  #highlights .v38-chapter .v38-chapter-button[aria-expanded='true']::after{
    transform:rotate(-45deg)!important;border-color:#9a508c;
  }
  #highlights .v38-chapter .v38-inline-detail{
    max-height:0!important;opacity:0!important;overflow:hidden!important;transform:translateY(-6px)!important;
    margin:-1px 0 0!important;padding:0 8px 0 105px!important;
    display:block!important;border:none!important;background:none!important;
    font-size:12.6px!important;color:#3f5579!important;line-height:1.8!important;
    transition:max-height .46s ease,opacity .35s ease,transform .35s ease,padding .35s ease!important;
  }
  #highlights .v38-chapter .v38-inline-detail .v38-inline-symbol{display:none!important}
  #highlights .v38-chapter.v38-selected .v38-inline-detail{
    max-height:200px!important;opacity:1!important;transform:translateY(0)!important;
    padding:0 8px 25px 105px!important;
  }
  #highlights .v38-chapter .v38-inline-detail .u388-hl-text{
    display:block!important;border-left:2px solid rgba(196,139,176,.65);
    padding:8px 0 9px 13px;background:linear-gradient(90deg,rgba(255,250,255,.22),transparent 90%);
  }
  #highlights .v38-chapter.v38-selected .v38-chapter-button{
    padding-bottom:17px!important;
  }
}
@media(max-width:360px){
  #highlights.v38-highlights .v29-container{width:calc(100% - 20px)!important}
  #highlights .v38-chapter .v38-chapter-button{gap:11px!important;padding-top:24px!important;padding-bottom:25px!important;min-height:152px!important}
  #highlights .v38-chapter .v38-orb{width:74px!important;height:74px!important;flex-basis:74px!important}
  #highlights .v38-chapter .v38-orb .v29-icon{width:64px!important;height:64px!important}
  #highlights .v38-chapter .v29-index{font-size:8.3px!important;gap:5px!important}
  #highlights .v38-chapter .v29-index b{font-size:10.3px!important}
  #highlights .v38-chapter .v29-index i{flex-basis:9px!important;max-width:9px!important}
  #highlights .v38-chapter .v37-node-copy{padding-right:16px!important}
  #highlights .v38-chapter h3{font-size:clamp(18px,5.5vw,21px)!important}
  #highlights .v38-chapter .v37-node-copy>p{font-size:12.3px!important}
  #highlights .v38-chapter .v38-chapter-note{font-size:11px!important}
  #highlights .v38-chapter .v38-chapter-button::after{right:2px;top:56px}
  #highlights .v38-chapter:not(:last-of-type)::after{left:87px}
  #highlights .v38-chapter .v38-inline-detail{padding-left:87px!important}
  #highlights .v38-chapter.v38-selected .v38-inline-detail{padding-left:87px!important}
}
@media (max-width:780px) and (prefers-reduced-motion:reduce){
 #highlights .v38-chapter .v38-inline-detail,#highlights .v38-chapter .v38-chapter-button::after{transition:none!important}
}
