/*去除全局样式*/
*{margin:0;padding:0;border-style:none;}
/*容器样式*/
#domList{position:fixed; display:none; z-index:1;}
/*上方标题样式*/
#dTop{
	position:static;
	width:100%;
	background:#FFF;
	border-bottom:1px solid #CCC;
}
#dReturn{ /*返回按钮*/
	position:absolute;
	left:0.34em;
	width:20%;
	color:#39F;
	line-height:1.6em;
	font-size:1.5em;
	z-index:1;
}
#dTopTitle{ /*标题*/
	position:absolute;
	width:100%;
	line-height:2.4em;
	font-size:1em;
	font-weight: bold;
	text-align: center;
}
#dReset{ /*重置按钮*/
	position:absolute;
	right:0.625em;
	width:15%;
	color:#39F;
	line-height:3em;
	font-size:0.8em;
	text-align: right;
	z-index:1;
}
/*主要内容样式*/
#dContent{ /*主要内容载体*/
	position:static;
	width:100%;
	min-height:100vh; /*撑满视口：内容少的页面背景也填满整屏*/
	background:#EEE;
	overflow:auto;
}
.dc{ /*子内容载体*/
	position:static;
	width:100%;
	padding-top:0.8em;
}
.dTitle{ /*子内容标题*/
	position:relative;
	width:100%;
	height:1.4em;
	color:#777;
}
.dSub{ /*子内容*/
	position:static;
	width:100%;
	background:#FFF;
	border-top:1px solid #CCC;
}
.dSub>span{ /*子内容每行样式*/
	position:relative;
	display:block;
	height:2.2em;
	border-bottom:1px solid #CCC;
}
.dLeft{ /*左边信息样式*/
	position:absolute;
	left:0.45em;
}
.dRight{ /*右边信息样式*/
	position:absolute;
	right:0.45em;
}
.dTitle>.dLeft>span, .dTitle>.dRight>span{
	line-height:2em;
	font-size:0.7em;
}
span>.dLeft>span, span>.dRight>span{
	line-height:2.75em;
	font-size:0.8em;
}
span>.dLeft>span{
	float:right;
}
span>.dRight>span{
	float:left;
}
.dSubVal{
	color:#39F;
}
span>.dLeft>img{
	margin-top:0.35em;
	margin-right:0.3em;
	width:1.5em;
	height:1.5em;
}
.dLinkTitle{
	line-height:2.75em;
	font-size:0.8em;
	color:#666;
}
.dLinkSymbol{
	line-height:1.467em !important; 
	font-size:1.5em !important;
	color:#CCC;
}
.dAboutTip{
	padding:0.4em;
	font-size:0.8em;
	color:#888;
}
.button{
	position:absolute;
	left:0;
	width:100%;
	height:2.2em;
	cursor:pointer;
	z-index:1;
}

/* 反馈表单（设置→反馈，提交 Fntv-net 后台） */
.dFbForm{padding:0.6em 0.45em;background:#FFF;border-top:1px solid #CCC}
.dFbForm textarea{display:block;width:100%;box-sizing:border-box;padding:0.5em;border:1px solid #CCC;border-radius:4px;font-family:inherit;font-size:0.9em;line-height:1.5;outline:none;resize:vertical;min-height:6em;color:#333}
.dFbForm input{display:block;width:100%;box-sizing:border-box;margin-top:0.5em;padding:0.45em 0.5em;border:1px solid #CCC;border-radius:4px;font-family:inherit;font-size:0.9em;outline:none;color:#333}
.dFbForm textarea:focus,.dFbForm input:focus{border-color:#39F}
.dFbForm textarea::placeholder,.dFbForm input::placeholder{color:#BBB}
.dFbActions{display:flex;align-items:center;gap:0.6em;margin-top:0.6em}
.dFbSend{padding:0.4em 1.4em;border:none;border-radius:1.2em;font-size:0.9em;font-weight:bold;color:#FFF;background:#39F;cursor:pointer}
.dFbSend:disabled{opacity:0.5;cursor:default}
.dFbState{font-size:0.8em;color:#888}
.dFbState.ok{color:#393}
.dFbState.err{color:#C33}

/* 排行榜（6 榜，Fntv-net 后台 /api/lb/tiles）——黑白键主题；
   榜体限高滚动（最多 100 条），底部 sticky 固定栏展示自己的排位 */
.dLbTabs{display:flex;gap:0.15em;padding:0.4em 0.3em;background:#FFF;border-top:1px solid #CCC;white-space:nowrap}
.dLbTab{flex:1;text-align:center;padding:0.25em 0;border:1px solid #DDD;border-radius:1em;font-size:0.72em;color:#888;background:#FFF;cursor:pointer;transition:background 120ms,border-color 120ms,color 120ms}
.dLbTab.on{background:#202020;border-color:#202020;color:#FFF}
/* 排行榜页：dContent 锁高为视口减标题栏（40px），纵向 flex——
   列表 flex:1 吸收全部剩余空间（可滚），固定栏自然贴在 dContent 底=视口底 */
#dContent.lbFlex{height:calc(100vh - 40px);min-height:0;overflow:hidden;display:flex;flex-direction:column}
#dContent.lbFlex .dc{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:0}
#dContent.lbFlex .dLbTabs{flex:none}
.dLbList{background:#FFF;border-top:1px solid #CCC;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
.dLbRow{position:relative;display:block;height:2.4em;border-bottom:1px solid #EEE}
.dLbRow:last-child{border-bottom:none}
.dLbRow.me{background:#F0F7FF;box-shadow:inset 3px 0 0 #39F}
.dLbRank{position:absolute;left:0.5em;top:0;line-height:2.4em;font-size:0.85em;color:#BBB;font-weight:bold;width:1.6em;text-align:center}
.dLbList .dLbRow:nth-child(1) .dLbRank{color:#D4A017}
.dLbList .dLbRow:nth-child(2) .dLbRank{color:#9AA5B1}
.dLbList .dLbRow:nth-child(3) .dLbRank{color:#B87333}
.dLbName{position:absolute;left:2.6em;top:0;line-height:2.4em;font-size:0.9em;color:#202020;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dLbScore{position:absolute;right:0.5em;top:0;line-height:2.4em;font-size:0.9em;color:#202020;font-weight:bold}
.dLbTip{padding:2.5em 0.45em;font-size:0.85em;color:#999;text-align:center}
/* 昵称编辑卡（排行榜页右上角"改名"） */
.dLbNameEdit{background:#FFF;border-top:1px solid #CCC;padding:0.6em 0.45em}
.dLbNameEdit input{display:block;width:100%;box-sizing:border-box;padding:0.45em 0.5em;border:1px solid #CCC;border-radius:4px;font-family:inherit;font-size:0.9em;outline:none;color:#333}
.dLbNameEdit input:focus{border-color:#39F}
.dLbCid{display:flex;align-items:center;gap:0.5em;padding:0.45em 0.5em;border:1px solid #CCC;border-radius:4px;
  font-size:0.8em;color:#666;cursor:pointer;user-select:none}
.dLbCid:hover{border-color:#39F;color:#333}
.dLbCidLabel{font-weight:bold;white-space:nowrap}
.dLbCid code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:0.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dLbCidCopy{margin-left:auto;color:#39F;font-weight:bold;white-space:nowrap}
.dLbMe{position:sticky;bottom:0;display:flex;align-items:center;gap:0.8em;padding:0.55em 0.8em;background:#202020;color:#FFF;border-top:1px solid #202020}
.dLbMeName{font-size:0.75em;color:#BBB;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dLbMeRank{font-size:0.9em;font-weight:bold;white-space:nowrap}
.dLbMeTotal{flex:1;font-size:0.75em;color:#BBB;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dLbMeScore{font-size:0.9em;font-weight:bold;white-space:nowrap}

/* 隐私政策（游戏内页面）——box-sizing 防止 dc(100%) + padding 溢出截断 */
.dPvBody{background:#FFF;border-top:1px solid #CCC;padding:0.8em 0.7em;box-sizing:border-box}
.dPvPara{font-size:0.85em;line-height:1.75;color:#444;margin-bottom:0.5em}
.dPvPara.head{font-weight:bold;color:#202020;margin-bottom:0.35em}
.dPvSpace{height:0.45em}
