/* 网址发布站 前台样式（复刻原站布局，无广告） */
body{background:#f4f4f4;overflow-x:hidden;margin:0;padding:0;font-size:12px;font-family:"microsoft yahei",arial;color:#333;}
body{padding-top:50px;}
a{text-decoration:none;color:#333;}
a:hover{color:#f00;}
dl,dd,dt,p,ul,li,em,i{margin:0;padding:0;list-style:none;font-style:normal;}
img{border:0;vertical-align:middle;}

.wrap{width:1200px;padding:0;margin:0 auto;}
header{background-color:#e9504a;color:#fff;position:fixed;left:0;top:0;z-index:101;overflow:hidden;width:100%;}
.top{height:50px;line-height:50px;position:relative;}
.logo{display:block;position:absolute;left:0;top:0;height:50px;width:190px;overflow:hidden;}
.logo a{display:block;height:100%;font-size:22px;font-weight:bold;color:#fff;letter-spacing:1px;line-height:50px;}
.logo a img{display:inline-block;max-height:30px;max-width:180px;vertical-align:middle;}
.nav{transition:all .3s;overflow:hidden;margin:0 20px 0 200px;}
.nav ul{overflow:hidden;}
.nav li{margin:0 1px;float:left;}
.nav li a{display:block;font-size:16px;overflow:hidden;float:left;color:#fdd;padding:0 20px;position:relative;}
.nav li a:hover{color:#fff;cursor:pointer;}
.nav li a.curr{color:#fff;font-weight:bold;}
.nav li a.curr i{display:block;width:20px;height:2px;background:#fff;position:absolute;left:50%;bottom:1px;margin-left:-10px;}

.main{min-height:calc(100vh - 120px);overflow:hidden;padding-right:3px;margin-right:-3px;}
.list{margin:6px 0 0 0;clear:both;overflow:hidden;}
.list .title{padding:10px 15px;background:#394143;color:#fff;margin-bottom:3px;font-size:14px;overflow:hidden;white-space:nowrap;font-weight:bold;border-radius:3px;}
.list .title .upd{float:right;font-size:12px;font-weight:normal;color:#9aa4a6;}
.list ul{padding-bottom:3px;overflow:hidden;padding-right:3px;margin-right:-3px;margin-bottom:-2px;}
.list li{width:50%;float:left;position:relative;}
.list li a{display:block;line-height:45px;padding:0 25px 0 35px;background:#fff url("/assets/images/icon_wz.png") no-repeat center left 10px;background-size:16px;margin:3px 0;border-radius:3px;font-size:20px;color:#000;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .3s;}
.list li:nth-child(2n) a{margin:3px 0 3px 3px;}
.list li:nth-child(2n-1) a{margin:3px 3px 3px 0;}
.list li a:hover{background-color:#edfcff;color:#c00;font-size:22px;}
.list li.empty{width:100%;line-height:45px;padding:0 15px;background:#fff;border-radius:3px;margin:3px 0;color:#999;font-size:14px;}

.copyright{background-color:#424B4D;color:#ccc;text-align:center;padding:15px 0;font-size:12px;line-height:20px;margin-top:30px;}
.copyright span{display:inline-block;margin-right:10px;}
.copyright .admin-link{color:#888;font-size:12px;}
.copyright .admin-link:hover{color:#ccc;}

.errbox{background:#fff;border-radius:3px;margin-top:6px;overflow:hidden;}
.errbox h2{padding:15px;line-height:25px;text-align:center;background:#e9504a;color:#fff;margin:0;font-size:22px;}
.errbox .con{text-align:center;padding:30px 0;}
.errbox .con div{line-height:50px;margin-bottom:12px;color:#666;}
.errbox .con a{font-size:28px;color:#e9504a;}

/* ============ 查U机器人（顶部内嵌窗口 + 右下角图标） ============ */
.bot-inline{margin:6px 0;background:#f7f8fa;border:1px solid #eee;border-radius:3px;overflow:hidden;
  display:flex;flex-direction:column;height:460px;box-shadow:0 2px 8px rgba(0,0,0,.08);scroll-margin-top:60px;}
.bot-fab{position:fixed;right:18px;bottom:26px;z-index:200;width:58px;height:58px;border-radius:50%;
  background:linear-gradient(135deg,#ff6f5e,#e9504a);box-shadow:0 6px 18px rgba(233,80,74,.45);
  display:flex;align-items:center;justify-content:center;cursor:pointer;user-select:none;transition:transform .2s;}
.bot-fab:hover{transform:scale(1.08);}
.bot-fab span{color:#fff;font-size:16px;font-weight:bold;letter-spacing:2px;text-indent:2px;}
.bot-head{background:#e9504a;color:#fff;padding:12px 14px;display:flex;align-items:center;flex:none;}
.bot-head b{font-size:15px;}
.bot-dot{width:8px;height:8px;border-radius:50%;background:#3dff8b;margin:0 5px 0 10px;box-shadow:0 0 6px #3dff8b;}
.bot-head em{font-size:12px;opacity:.9;}
.bot-head button{margin-left:auto;background:none;border:0;color:#fff;font-size:14px;cursor:pointer;opacity:.85;}
.bot-head button:hover{opacity:1;}
.bot-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;}
.msg{max-width:88%;padding:9px 12px;border-radius:10px;font-size:13px;line-height:1.65;white-space:pre-line;word-break:break-all;}
.msg.bot{background:#fff;color:#333;border:1px solid #ececec;border-top-left-radius:2px;align-self:flex-start;}
.msg.user{background:#e9504a;color:#fff;border-top-right-radius:2px;align-self:flex-end;}
.msg .code{display:block;background:#f0f1f3;color:#c0392b;border-radius:6px;padding:4px 8px;margin:4px 0;
  font-family:Consolas,monospace;font-size:12px;cursor:pointer;}
.msg a{color:#e9504a;text-decoration:underline;}
.bot-chips{display:flex;gap:8px;padding:8px 12px;flex:none;flex-wrap:wrap;}
.bot-chips button{border:1px solid #e9504a;color:#e9504a;background:#fff;border-radius:20px;padding:4px 12px;font-size:12px;cursor:pointer;}
.bot-chips button:hover{background:#fff3f2;}
.bot-input{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #eee;flex:none;}
.bot-input input{flex:1;border:1px solid #ddd;border-radius:8px;padding:9px 10px;font-size:13px;outline:none;}
.bot-input input:focus{border-color:#e9504a;}
.bot-input button{background:#e9504a;color:#fff;border:0;border-radius:8px;padding:0 16px;font-size:13px;cursor:pointer;}
.bot-input button:hover{background:#d8433e;}

/* ============ 响应式 ============ */
@media (max-width:1200px){ .wrap{width:initial;margin:0 6px;} }
@media (max-width:426px){
  body{padding-top:92px;}
  header{height:92px;overflow:visible;}
  .top{height:92px;overflow:hidden;margin:0;}
  .logo{left:10px;}
  .nav{margin:50px 0 0 0;height:42px;background:#fff;padding:0 3px;text-align:center;}
  .nav ul{overflow:hidden;}
  .nav li{float:none;display:inline-block;text-align:center;margin:0 6px;}
  .nav li a{color:#999;padding:0;margin:5px 3px 0 3px;height:37px;line-height:32px;display:block;float:none;font-size:13px;border-radius:3px;}
  .nav li a.curr{color:#e9504a;}
  .nav li a.curr i{background-color:#e9504a;}
  .list li{width:100%;}
  .list li:nth-child(n) a{margin:3px 0;}
  .list li a{font-size:16px;padding-left:30px;}
  .list li a:hover{font-size:16px;}
  .bot-inline{height:400px;scroll-margin-top:100px;}
}
