/* OpenClaw mobile responsive patch for unified www.rili.xin, 2026-08-13 */
@media (max-width: 768px){
  html{font-size:16px;-webkit-text-size-adjust:100%;overflow-x:hidden;}
  body{min-width:0!important;width:100%!important;overflow-x:hidden;background:#f6f7f9;font-size:15px;line-height:1.6;}
  *{box-sizing:border-box;}
  img{max-width:100%!important;height:auto!important;}
  table{max-width:100%!important;width:100%!important;display:block;overflow-x:auto;}
  input,select,textarea,button{max-width:100%;}

  .header_min,.top_con,.logo_nav_group,.in_sea_group,.in_sea_wra,.in_nav_bg,.in_nav,
  .main,.wrapper,.bread_wrapper,.seo-quick-wrap,.daoh,.dhbox,.zhuanti_title,.zhuanti_list,
  .in_top_con,.qs_sf_box,.container,.content,.content_box,.mainbox,.page,.page-sm{
    width:100%!important;min-width:0!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
  }
  .header_min_top,.in_sea_wra,.in_nav,.main,.wrapper,.bread_wrapper,.seo-quick-wrap,.daoh,.content,.content_box{
    padding-left:12px!important;padding-right:12px!important;
  }

  .header_min{height:auto!important;background:#fff;border-bottom:1px solid #eee;}
  .header_min_top{height:auto!important;line-height:1.6!important;}
  .itopl,.itopr{float:none!important;width:100%!important;text-align:left!important;height:auto!important;line-height:28px!important;white-space:normal!important;}
  .itopr a.m{display:none!important;}

  .top_con{margin-bottom:8px!important;background:#fff;}
  .logo_nav_group{height:auto!important;background:none!important;}
  .in_sea_group{height:auto!important;padding:10px 0!important;}
  .in_sea_wra{height:auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;position:relative!important;}
  .in_sea_wra>a{display:block!important;flex:0 0 auto!important;}
  .in_sea_wra .lg,.logo img{max-width:138px!important;max-height:46px!important;}
  .in_sea_cho,.in_sea_tb,.in_sea_qr,.qs_search_fixed{display:none!important;}
  .searchbar{display:flex!important;flex:1 1 180px!important;min-width:0!important;height:38px!important;margin:0!important;}
  .in_sea_inp{width:auto!important;flex:1!important;height:38px!important;line-height:38px!important;border:1px solid #ddd!important;border-radius:18px 0 0 18px!important;padding:0 12px!important;background:#fff!important;}
  .in_sea_bt{width:48px!important;height:38px!important;border-radius:0 18px 18px 0!important;background-color:#e64b3c!important;}

  .in_nav_bg,.in_nav_all{height:auto!important;overflow:hidden!important;background:#e64b3c!important;border-radius:0!important;}
  .in_nav{height:auto!important;display:block!important;overflow-x:auto!important;white-space:nowrap!important;padding:0 8px!important;-webkit-overflow-scrolling:touch;}
  .inn_l,.inn_r,.nav_channel,.nav_channel_item{float:none!important;display:inline-block!important;width:auto!important;height:42px!important;line-height:42px!important;vertical-align:top!important;}
  .inn_l a,.nav_channel_link{position:static!important;display:inline-block!important;height:42px!important;line-height:42px!important;padding:0 10px!important;color:#fff!important;font-size:15px!important;}
  .nav_channel{width:auto!important;}
  .nav_channel_name,.nav_channel_name span{line-height:42px!important;}

  .bread_wrapper{height:auto!important;padding:6px 12px!important;}
  .bread_box,.search2_box{float:none!important;width:100%!important;height:auto!important;line-height:28px!important;padding-left:0!important;}
  .search2_box form{display:flex!important;width:100%!important;}
  .search2_box input{width:auto!important;flex:1!important;}

  .seo-quick-wrap{padding:12px!important;margin:8px auto!important;border-radius:8px!important;}
  .seo-quick-wrap h1{font-size:20px!important;}
  .seo-row{display:block!important;}
  .seo-links a{font-size:14px!important;margin:0 6px 6px 0!important;}

  .fl,.fr,.f_left,.f_right,[class*="left"],[class*="right"]{max-width:100%;}
  .wrapper:after,.clearfix:after,.clear:after{content:"";display:block;clear:both;}
  .zhuanti_left,.zhuanti_right,.main_l,.main_r,.left,.right,.sidebar,.side,.rbox,.lbox,
  .content_left,.content_right,.sm_l,.sm_r,.wrap2_img,.wrap2_rg,.wrap3_list{
    float:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;height:auto!important;max-width:100%!important;
  }
  .zhuanti_img,.zhuanti_img img{width:100%!important;height:auto!important;}
  .zhuanti_list ul,.wrap2_five ul,.menu{width:100%!important;margin-left:0!important;height:auto!important;}
  .zhuanti_list ul li,.prolist dl,.menu ul li{width:25%!important;margin:0 0 12px!important;padding:0 4px!important;float:left!important;height:auto!important;}
  .zhuanti_list ul li a,.zhuanti_list ul li div{width:100%!important;height:auto!important;}
  .zhuanti_list ul li img{position:static!important;width:100%!important;height:auto!important;}

  .main_list{padding:14px!important;}
  .main_list ul li{width:50%!important;height:32px!important;line-height:32px!important;}
  .main_list ul li a{font-size:15px!important;}
  .wrap2,.wrap3{width:100%!important;margin:16px 0!important;padding:0 12px 18px!important;}
  .wrap_title{height:auto!important;line-height:1.4!important;margin-bottom:12px!important;}
  .wrap_title em{font-size:21px!important;}
  .wrap_title span{display:none!important;}
  .wrap2_img{margin-bottom:10px!important;}
  .wrap2_rg ul li,.wrap2_rg ul li a{max-width:100%!important;width:100%!important;}

  .sm-form-bd,.sm-form-bd.v-mid{padding:14px!important;}
  .sm-form-hd{height:auto!important;line-height:1.4!important;padding:12px!important;}
  .sm-form-hd .title{font-size:22px!important;}
  .content-sm1 .form-title,.form-name{display:block!important;width:auto!important;text-align:left!important;font-size:16px!important;line-height:28px!important;margin:0 0 6px!important;}
  .form-input,.form-select,.form-textarea,.content-sm1 .ui-select,.J_date,.J_date.v1,.J_date.v2{width:100%!important;max-width:100%!important;margin:0 0 8px!important;}
  .form-select2,.J_date .select-box{display:block!important;width:100%!important;margin:0 0 8px!important;}
  .btn,.issm-btn1,input[type=submit],button{min-height:38px;font-size:15px!important;}

  .lblist dl{display:block!important;padding:12px!important;margin:0 0 12px!important;}
  .lblist dl dt{float:none!important;width:100%!important;max-width:100%!important;margin:0 0 8px!important;}
  .lblist dl dd{float:none!important;width:100%!important;}
  .lblist .ptitle a{font-size:18px!important;}

  .footer,.foot,.footer_min{width:100%!important;min-width:0!important;padding:16px 12px!important;text-align:center!important;}
}
@media (max-width: 480px){
  .zhuanti_list ul li,.prolist dl,.menu ul li{width:33.333%!important;}
  .main_list ul li{width:100%!important;}
  .seo-quick-wrap h1{font-size:18px!important;}
  .in_sea_wra .lg,.logo img{max-width:120px!important;}
}
