@charset "utf-8";
@import url('modal.css');/**/
*{touch-action:pan-y;}
html { font-size: 16px; }
html, body {overscroll-behavior-y: none;color:#111;background-color:#f7f7f7;color:#222; max-width:1000px; margin:0 auto;overflow:hidden;}
body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:100vh;display: flex;align-items: center;flex-direction: column;}

*{-webkit-tap-highlight-color: transparent;text-decoration:none;outline:0; box-sizing:border-box; font-weight:normal;font-size:1em; padding:0; margin:0; list-style-type:none; border-radius:0;}
a{cursor:pointer;color: #333;}

::-webkit-scrollbar{ width: 4px;height: 4px;}
::-webkit-scrollbar-track {	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);	border-radius: 0;	background: rgba(0,0,0,0);}
::-webkit-scrollbar-thumb {	border-radius: 5px;	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);	background: #aaaaaa;}
::-webkit-scrollbar-thumb:hover {	border-radius: 5px;	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);	background:#ccc}

.app{height: 100vh;overflow:hidden;
    width: 100vw;
    position: absolute;
    display: flex;

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;}

.appload{text-align: center;height: 100vh;width: 100vw;z-index: 99999;background: #fff;position: fixed;overflow: hidden;display: flex;flex-direction: column;align-items: center;justify-content: center;}
.appload .name{font-size:2rem; letter-spacing:4px;font-weight: 800;}
.appload .ico{height:60vw;width:100vw;background:url(logo.png) no-repeat center; background-size:auto 90%;}
.webjs{height:50vh;overflow:hidden;}
.topbar {min-height: 2.5rem;height: 2.5rem; width: 100%;}
.topbar .box{left:0; display: flex;justify-content: space-between;background:#e8e8e8 url(logo.png) no-repeat 10px center; background-size:auto 1.8rem;width: 100%; color:#000; text-align:left;height: 2.5rem; box-shadow: 0 1px 6px #ccc; border-bottom:1px solid #ddd;background-color:#f7f7f7; padding-right:10px;align-items: center;opacity: 0.9;flex-shrink: 0;
    position: sticky;
    top: 0;position: fixed;
    z-index: 999; }
	
.topbar h1{ word-break: keep-all;font-size:1.1rem;flex: 1;text-indent:3rem;overflow: hidden; }
.topbar li{ opacity:0.6;padding: 4px;}
.topbar .box>a{background:#f90;padding:4px 10px; color:#fff; border-radius: 8px;margin-left: 10px;}

.pages{
	width: 100%;
    height:100%;position:relative;
	flex-direction: column;
	top:0;background: #f7f7f7;flex: 1;
	overflow:hidden;
}
.pages .pagebox{overflow:hidden;overflow-y:auto; position:relative;height:100%;}
.tabbar{min-height:48px;height:48px;width: 100%;padding-bottom: env(safe-area-inset-bottom);overflow:hidden;}
.tabbar ul{ position:fixed; width: 100%; z-index: 9999; bottom:0;left:0;flex-shrink: 0;
	display: flex;
    align-items: center;
    gap: 1px;
    width: 100%;
   
	background:#fcfcfc;
	text-align:center;box-shadow:  1px 0 6px #ccc; border-top:1px solid #ddd;
	 padding-bottom: env(safe-area-inset-bottom); /* 适配 iPhone 底部小白条 */}

@media (min-width:750px) {
    .pages .pagebox{width: 800px;margin:0 auto;}
}

.tabbar li{cursor:pointer;
	width: 100%;height:48px;
	text-align: center;
	display:none;color:#999;opacity: 1;
	border-left:1px solid #ddd;
}
.tabbar li a{color:#999;}
.tabbar li.on{ background:#e3e3e3;color:#111; opacity:1;  }

.tabbar li i{ display:block;height:24px;width:24px; margin:2px auto;background-size: contain;}


.tabbar li.home i{ background-image:url(home.png);border-left:none;  }
.tabbar li.qtgua i{ background-image:url(favicon.png);}
.tabbar li.qigua i{ background-image:url(gua.png);  }
.tabbar li.wen i{ background-image:url(book.png);  }


h1.hd{display:none;}
.ctxt{ user-select:text;}
.ctxt,.ctxt *,.modal-body,.modal-body *{font-size:1.1rem;line-height:1.8rem; }
.ctxt h1,.modal-body h1{ text-align:center; line-height:2rem; font-size:1.4rem; font-weight:bold; padding: 5px 10px; margin-bottom:30px; border-bottom: solid #888 1px;position: sticky; top: 0;z-index: 9; background:#f7f7f7; opacity:0.9;}
.modal-body h1{position: unset;background: none;}
.ctxt p,.modal-body p{text-align: justify; text-indent:2em;line-height:1.8rem;font-size:1.1rem;  margin-bottom:0.5em;text-align: justify;color: #333; } 

.ctxt h2{ font-weight:bold;line-height:1.8rem; cursor:pointer; border-bottom:solid #c3c3c3 1px; margin-bottom:0.1rem; padding-left:0.2rem;white-space: nowrap;
    overflow: hidden; display: flex;justify-content: space-between;position: relative;
    text-overflow: ellipsis;}
.ctxt h2:after{ content:'▼';font-size:0.8rem;color:#888;padding-right:10px;position: absolute;right: 0;}
.ctxt h3{ font-size:1rem; font-weight:bold;line-height:1.8rem; cursor:pointer;font-size: 1.1rem; }
.ctxt li{font-size:1rem; display:block;line-height: 1.8rem;}
.ctxt div.center p{
	text-align:center;text-indent: 0em;
}
.ctxt .c{
	text-align:center;text-indent: 0em;
}
.ctxt img{
	display:block;
	width:100%;margin: auto;
	margin-bottom:10px;
}
.ctxt p.tr,.modal-body .tr{
	text-align:right;text-indent: 0em;
}

.tip{text-align: center;
    line-height: 2em;
    position: fixed;
    top: 50%;
    left: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    z-index: 99999;
    pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition: all 0.2s ease;
}
.tip.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.tip.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
}

.track{display:flex;height:100%;will-change:transform}
  .slide{
    flex:0 0 100%;height:100%;
    display:flex;flex-direction:column;justify-content:center;
  }
  .slide img{width:100%;}

  .dots{
    position:absolute;bottom:14px;left:0;right:0;z-index:3;
    display:flex;justify-content:center;gap:10px;
  }
  .dot{
    width:10px;height:10px;padding:0;border:0;border-radius:50%;
    background:rgba(0,0,0,.3);cursor:pointer;
  }
  .dot.active{background:#d9b672}
.slider{
    position:relative;
	width:100%;
    aspect-ratio:700/380;
	overflow:hidden;
  }	