*{box-sizing:border-box;margin:0;padding:0}
html,body{
  min-height:100%;
  background:#eef1f4;
  font-family:"UKIJ Tor","UKIJ Tuz Tom",sans-serif;
  direction:rtl;
  -webkit-tap-highlight-color:transparent;
}
.entry-page{
  min-height:100vh;
  padding:16px 0 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.entry-card{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:18px;
  padding:28px 0 22px;
  box-shadow:0 10px 28px rgba(20,40,80,.08);
  overflow:hidden;
}
.entry-logo{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
  padding:0 20px;
}
.entry-logo img{
  width:88px;
  height:88px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #e8eef5;
}
.entry-title{
  text-align:center;
  font-size:22px;
  color:#1c2b3a;
  font-weight:700;
  margin-bottom:12px;
  line-height:1.5;
  padding:0 20px;
}
.entry-desc{
  text-align:center;
  color:#5b6b7c;
  font-size:14px;
  line-height:1.9;
  margin-bottom:16px;
  padding:0 20px;
}
.entry-demo{
  position:relative;
  width:auto;
  margin:0 16px 18px;
  border-radius:10px;
  overflow:hidden;
  background:#dfe6ee;
  line-height:0;
}
.entry-demo img{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain;
  object-position:center;
}
.entry-search-wrap{
  display:flex;
  align-items:center;
  background:#f3f6f9;
  border:1px solid #dde3ea;
  border-radius:28px;
  padding:4px 14px;
  margin:0 16px 14px;
}
.entry-search-wrap .icon{
  width:20px;
  height:20px;
  opacity:.55;
  flex-shrink:0;
}
.entry-search-wrap input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  height:42px;
  font-size:14px;
  color:#233;
  font-family:inherit;
  text-align:right;
  padding:0 10px;
}
.entry-actions{
  display:flex;
  flex-direction:row;
  direction:ltr;
  gap:10px;
  margin:0 16px 16px;
}
.entry-actions button,
.entry-actions a{
  flex:1;
  height:46px;
  border:0;
  border-radius:10px;
  font-size:16px;
  font-family:inherit;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
}
.btn-search{background:#3fd000}
.btn-go{background:#ffb000}
.entry-hot-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  padding:0 16px;
}
.entry-hot{
  display:inline-flex;
  max-width:100%;
  padding:8px 14px;
  background:#f0f3f7;
  color:#607080;
  border-radius:20px;
  font-size:12px;
  line-height:1.4;
  text-decoration:none;
}
.entry-hot span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:9em;
}

/* 搜索结果层 */
.entry-result-panel{
  display:none;
  width:100%;
  max-width:420px;
  margin-top:16px;
  padding:0 12px 88px;
}
.entry-result-panel.show{display:block}
.result-head{
  display:flex;
  flex-direction:row;
  direction:ltr;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:14px;
  color:#1c2b3a;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
}
.result-head-icon{
  width:22px;
  height:22px;
  color:#3a7afe;
  flex-shrink:0;
}
.result-head span{
  direction:rtl;
}
.result-list{display:flex;flex-direction:column;gap:10px}

/* 底部悬浮返回 */
.result-fab-back{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:50;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:148px;
  height:52px;
  padding:0 22px 0 18px;
  border-radius:26px;
  background:linear-gradient(180deg,#48e018 0%,#2fc000 100%);
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-family:inherit;
  font-weight:700;
  box-shadow:0 10px 24px rgba(47,192,0,.35),0 2px 6px rgba(20,40,80,.12);
  -webkit-tap-highlight-color:transparent;
  transition:transform .15s ease, box-shadow .15s ease;
}
.result-fab-back:active{
  transform:translateX(-50%) scale(.96);
  box-shadow:0 6px 14px rgba(47,192,0,.28);
}
.result-fab-back .fab-icon{
  width:26px;
  height:26px;
  color:#fff;
  flex-shrink:0;
}
.result-item{
  display:flex;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(20,40,80,.07);
  text-decoration:none;
  color:inherit;
}
.result-item .meta{
  flex:1;
  padding:12px 14px;
  text-align:right;
  min-width:0;
}
.result-item .meta h3{
  font-size:15px;
  color:#1c2b3a;
  margin-bottom:6px;
  line-height:1.45;
}
.result-item .meta p{
  font-size:12px;
  color:#708090;
  line-height:1.6;
}
.result-item .poster{
  width:92px;
  flex-shrink:0;
  background:#d9e0e8;
}
.result-item .poster img{
  width:100%;
  height:100%;
  min-height:120px;
  object-fit:cover;
  display:block;
}
.result-empty{
  text-align:center;
  color:#8899aa;
  padding:28px 10px;
  background:#fff;
  border-radius:12px;
}
.entry-gate.hide{display:none}
