/* SeaCMS V13.2 custom compatibility layer - keeps the original Mili/FED visual style. */
.fed-part-rows>font:empty,.fed-part-rows>ins:empty,.fed-part-rows>small:empty,.fed-part-rows>sup:empty,.fed-part-rows>time:empty,.fed-part-rows>tt:empty,.fed-part-rows>var:empty,.fed-part-rows>area:empty,.fed-part-rows>map:empty,.fed-part-rows>bdo:empty,.fed-part-rows>dfn:empty,
.fed-part-layout>font:empty,.fed-part-layout>ins:empty,.fed-part-layout>small:empty,.fed-part-layout>sup:empty,.fed-part-layout>time:empty,.fed-part-layout>tt:empty,.fed-part-layout>var:empty,.fed-part-layout>area:empty,.fed-part-layout>map:empty,.fed-part-layout>bdo:empty,.fed-part-layout>dfn:empty,
ul>font:empty,ul>ins:empty,ul>small:empty,ul>sup:empty,ul>time:empty,ul>tt:empty,ul>var:empty,ul>area:empty,ul>map:empty,ul>bdo:empty,ul>dfn:empty,
dl>font:empty,dl>ins:empty,dl>small:empty,dl>sup:empty,dl>time:empty,dl>tt:empty,dl>var:empty,dl>area:empty,dl>map:empty,dl>bdo:empty,dl>dfn:empty{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;visibility:hidden!important;float:none!important;clear:none!important}
.sea-autodesc,.sea-intro-text{line-height:1.9}
.sea-detail-actions{margin-top:12px}
.sea-screen-seo-note{padding:0 12px 12px;color:#999;font-size:13px;line-height:1.8}
.sea-custom-stack>.fed-part-layout,.sea-custom-stack>.sea-seo-qa,.sea-custom-stack>.sea-smart-links,.sea-custom-stack>.sea-comment-panel{margin-top:12px}
.sea-related-title{display:flex;justify-content:space-between;align-items:center}
@media(max-width:767px){
  .fed-deta-info .fed-deta-images{width:34%}
  .fed-deta-info .fed-deta-content,.fed-deta-info .fed-deta-button{width:66%}
  .fed-deta-content .sea-mobile-intro{display:none!important}
  .fed-deta-button .fed-deta-play{min-width:110px}
  .fed-list-info .fed-list-item{vertical-align:top}
}


/* Mili/FED v2: homepage category title protection.  The original right-aligned
   absolute list can grow leftward and cover the section title when a SeaCMS
   category has many children. Keep one stable row and always leave room for h2. */
@media(min-width:768px){
  .fed-list-home .fed-list-head{min-height:1.75rem;overflow:hidden}
  .fed-list-home .fed-list-head>h2{position:relative;z-index:3;display:inline-block;max-width:6.5rem;padding-right:.625rem;white-space:nowrap}
  .fed-list-home .fed-list-head>.fed-part-tips{left:7rem!important;right:0!important;height:1.75rem;line-height:1.5rem;overflow:hidden;white-space:nowrap;text-align:right}
  .fed-list-home .fed-list-head>.fed-part-tips>li{float:none!important;display:inline-block;white-space:nowrap;vertical-align:top}
}
@media(min-width:768px) and (max-width:1199px){
  .fed-list-home .fed-list-head>.fed-part-tips>li:nth-of-type(n+7):not(:last-of-type){display:none!important}
}
@media(min-width:1200px){
  .fed-list-home .fed-list-head>.fed-part-tips>li:nth-of-type(n+11):not(:last-of-type){display:none!important}
}


/* Mili/FED v3: stable mobile detail header layout.
   Prevent the original absolute-positioned content/button from overlapping the poster. */
@media(max-width:767px){
  .sea-detail-mobile-grid{
    display:grid!important;
    grid-template-columns:minmax(0,34%) minmax(0,1fr);
    column-gap:10px;
    row-gap:10px;
    align-items:start;
    overflow:visible!important;
    min-height:0!important;
  }
  .sea-detail-mobile-grid>.fed-deta-images{
    grid-column:1;
    grid-row:1;
    position:relative!important;
    float:none!important;
    width:100%!important;
    margin:0!important;
    min-width:0!important;
  }
  .sea-detail-mobile-grid>.fed-deta-content{
    grid-column:2;
    grid-row:1;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    float:none!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    /* Reserve a compact button zone at the bottom of the right column. */
    padding:0 0 48px!important;
  }
  .sea-detail-mobile-grid>.fed-deta-content h1{
    margin:0 0 4px!important;
    line-height:1.35!important;
  }
  .sea-detail-mobile-grid>.fed-deta-content li{
    padding-top:2px!important;
    line-height:1.45!important;
  }
  .sea-detail-mobile-grid>.fed-deta-button{
    /* Share the poster/info row and sit under the text on the right.
       This removes the large empty strip below the poster on mobile. */
    grid-column:2;
    grid-row:1;
    align-self:end;
    justify-self:start;
    position:relative!important;
    z-index:2;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    float:none!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
  }
  .sea-detail-mobile-grid>.fed-deta-button .fed-deta-play{
    display:inline-block!important;
    float:none!important;
    width:auto!important;
    min-width:110px!important;
    margin:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    text-align:center!important;
  }
}


/* Mili/FED v4: mobile detail play button stays in the information column. */
@media(max-width:480px){
  .sea-detail-mobile-grid{grid-template-columns:minmax(0,32%) minmax(0,1fr);column-gap:9px}
  .sea-detail-mobile-grid>.fed-deta-content{padding-bottom:45px!important}
  .sea-detail-mobile-grid>.fed-deta-button .fed-deta-play{min-width:104px!important;padding-left:15px!important;padding-right:15px!important}
}
