/* roulang page: index */
:root{
  --night:#0a0d13;
  --panel:#111722;
  --panel-2:#161d2b;
  --edge:#1f2836;
  --flash:#ff6a3d;
  --flash2:#ffc247;
  --ink:#eef2f8;
  --dimmer:#94a0b5;
  --rad:16px;
  --rads:10px;
  --shadow:0 14px 34px rgba(0,0,0,.5);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--night);color:var(--ink);font-family:-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0}
ul,ol,li{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
.lfhyrdgm-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}

/* 顶栏 */
.lfhyrdgm-top{position:sticky;top:0;z-index:60;background:rgba(10,13,19,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--edge)}
.lfhyrdgm-bar{display:flex;align-items:center;gap:26px;min-height:66px}
.lfhyrdgm-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;letter-spacing:.5px;padding:6px 0}
.lfhyrdgm-mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--flash),var(--flash2));color:#1a1206;display:grid;place-items:center;font-size:13px;font-weight:800;letter-spacing:-.5px}
.lfhyrdgm-menu{display:flex;gap:4px;margin-left:auto;flex-wrap:wrap}
.lfhyrdgm-menu a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;font-size:15px;color:var(--dimmer);transition:background .2s,color .2s}
.lfhyrdgm-menu a:hover,.lfhyrdgm-menu a.is-on{color:var(--ink);background:#1b2130}
.lfhyrdgm-menu a:focus-visible{outline:2px solid var(--flash);outline-offset:2px}

/* 首屏 */
.lfhyrdgm-hero{position:relative;isolation:isolate;overflow:hidden}
.lfhyrdgm-hero-bg{position:absolute;inset:0;z-index:-1}
.lfhyrdgm-hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.42}
.lfhyrdgm-hero-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 12% 8%,rgba(255,106,61,.18),transparent 62%),linear-gradient(180deg,rgba(10,13,19,.5),rgba(10,13,19,.92) 70%,var(--night))}
.lfhyrdgm-hero-in{max-width:800px;padding:78px 0 62px}
.lfhyrdgm-eyebrow{font-size:13px;letter-spacing:2.4px;color:var(--flash2);text-transform:uppercase}
.lfhyrdgm-hero h1{margin-top:14px;font-size:clamp(30px,5.2vw,52px);line-height:1.22;letter-spacing:-.5px;font-weight:800}
.lfhyrdgm-hero h1 em{font-style:normal;background:linear-gradient(100deg,var(--flash),var(--flash2));-webkit-background-clip:text;background-clip:text;color:transparent}
.lfhyrdgm-lead{margin-top:18px;color:#c3ccdb;font-size:16px;max-width:740px}
.lfhyrdgm-search{display:flex;gap:10px;margin-top:26px;max-width:520px}
.lfhyrdgm-search input{flex:1;min-width:0;min-height:48px;padding:0 18px;border-radius:12px;border:1px solid var(--edge);background:rgba(18,23,34,.92);color:var(--ink);outline:none}
.lfhyrdgm-search input::placeholder{color:#6f7c90}
.lfhyrdgm-search input:focus{border-color:var(--flash);box-shadow:0 0 0 3px rgba(255,106,61,.22)}
.lfhyrdgm-search button{min-height:48px;padding:0 24px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--flash),var(--flash2));color:#1a1206;font-weight:700;cursor:pointer;transition:filter .2s,transform .2s}
.lfhyrdgm-search button:hover{filter:brightness(1.06);transform:translateY(-1px)}
.lfhyrdgm-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.lfhyrdgm-chips li{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid var(--edge);border-radius:999px;font-size:14px;color:#b9c3d4}

/* 区块通用 */
.lfhyrdgm-sec{padding:52px 0;border-top:1px solid rgba(31,40,54,.7);scroll-margin-top:78px}
.lfhyrdgm-sec--tint{background:linear-gradient(180deg,#0d1119,#0a0d13)}
.lfhyrdgm-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:26px}
.lfhyrdgm-hd h2{font-size:clamp(20px,2.6vw,27px);line-height:1.35;font-weight:700}
.lfhyrdgm-sub{margin-top:8px;color:var(--dimmer);font-size:15px;max-width:700px}
.lfhyrdgm-more{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,106,61,.42);color:var(--flash);font-size:14px;transition:background .2s}
.lfhyrdgm-more:hover{background:rgba(255,106,61,.14)}

/* 卡片 */
.lfhyrdgm-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.lfhyrdgm-card{background:var(--panel);border:1px solid var(--edge);border-radius:var(--rad);overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}
.lfhyrdgm-card:hover{transform:translateY(-4px);border-color:rgba(255,106,61,.5);box-shadow:var(--shadow)}
.lfhyrdgm-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0d121b}
.lfhyrdgm-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.lfhyrdgm-card:hover .lfhyrdgm-thumb img,.lfhyrdgm-row:hover .lfhyrdgm-thumb img{transform:scale(1.05)}
.lfhyrdgm-rating,.lfhyrdgm-badge{position:absolute;font-size:13px;padding:3px 9px;border-radius:8px;line-height:1.5}
.lfhyrdgm-rating{top:10px;left:10px;background:rgba(255,194,71,.94);color:#20180a;font-weight:800}
.lfhyrdgm-badge{right:10px;bottom:10px;background:rgba(10,13,19,.8);border:1px solid rgba(255,255,255,.18);color:#e8eef8}
.lfhyrdgm-body{padding:14px 16px 16px}
.lfhyrdgm-body h3{font-size:16px;font-weight:600;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfhyrdgm-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:13px;color:var(--dimmer)}
.lfhyrdgm-meta span+span::before{content:"·";margin-right:8px;color:#3b4658}

/* 横排列表卡 */
.lfhyrdgm-rows{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.lfhyrdgm-row{display:flex;gap:14px;padding:12px;background:var(--panel);border:1px solid var(--edge);border-radius:var(--rad);transition:transform .25s,border-color .25s}
.lfhyrdgm-row:hover{transform:translateY(-3px);border-color:rgba(255,106,61,.5)}
.lfhyrdgm-row .lfhyrdgm-thumb{flex:0 0 132px;width:132px;aspect-ratio:16/10;border-radius:var(--rads)}
.lfhyrdgm-row-b{align-self:center;min-width:0}
.lfhyrdgm-row-b h3{font-size:15.5px;font-weight:600;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfhyrdgm-row-b p{margin-top:4px;font-size:13px;color:var(--dimmer)}

/* 频道精选 */
.lfhyrdgm-chan{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.lfhyrdgm-chan article{background:var(--panel);border:1px solid var(--edge);border-radius:var(--rad);padding:20px}
.lfhyrdgm-chan h3{font-size:16px;font-weight:700;color:var(--flash2);margin-bottom:10px}
.lfhyrdgm-chan li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed rgba(31,40,54,.95);font-size:14.5px}
.lfhyrdgm-chan li:last-child{border-bottom:0;padding-bottom:0}
.lfhyrdgm-chan li span{color:var(--dimmer);font-size:13px;flex:0 0 auto}

/* 主题合集 */
.lfhyrdgm-topics{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.lfhyrdgm-topic{position:relative;display:flex;align-items:flex-end;min-height:236px;border-radius:var(--rad);overflow:hidden;border:1px solid var(--edge);transition:transform .25s,border-color .25s}
.lfhyrdgm-topic:hover{transform:translateY(-4px);border-color:rgba(255,106,61,.5)}
.lfhyrdgm-topic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.52}
.lfhyrdgm-topic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,13,19,.15),rgba(10,13,19,.94))}
.lfhyrdgm-topic-b{position:relative;padding:20px}
.lfhyrdgm-topic-b h3{font-size:17px;font-weight:700}
.lfhyrdgm-topic-b p{margin-top:6px;font-size:13.5px;color:#c2cbda}

/* 连载 */
.lfhyrdgm-line li{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid rgba(31,40,54,.85);font-size:15px}
.lfhyrdgm-line li:last-child{border-bottom:0}
.lfhyrdgm-line h3{font-size:15.5px;font-weight:500;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lfhyrdgm-line span{flex:0 0 auto;font-size:13px;color:var(--dimmer);border:1px solid var(--edge);border-radius:6px;padding:2px 9px}

/* 排行榜 */
.lfhyrdgm-rank{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.lfhyrdgm-rank li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid rgba(31,40,54,.85)}
.lfhyrdgm-rank b{flex:0 0 30px;font-size:17px;font-weight:800;color:#455167;font-variant-numeric:tabular-nums}
.lfhyrdgm-rank li:nth-child(-n+3) b{color:var(--flash)}
.lfhyrdgm-rank h3{flex:1;min-width:0;font-size:15.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfhyrdgm-rank em{flex:0 0 auto;font-style:normal;font-size:12.5px;color:var(--dimmer);border:1px solid var(--edge);border-radius:6px;padding:2px 8px}
.lfhyrdgm-rank i{flex:0 0 auto;font-style:normal;font-size:14px;font-weight:700;color:var(--flash2);width:34px;text-align:right}

/* 分类标签 */
.lfhyrdgm-tags{display:flex;flex-wrap:wrap;gap:12px}
.lfhyrdgm-tags li{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;background:var(--panel);border:1px solid var(--edge);border-radius:999px;font-size:14.5px;color:#cfd8e8}

/* 资讯 */
.lfhyrdgm-news li{display:flex;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid rgba(31,40,54,.85)}
.lfhyrdgm-news li:last-child{border-bottom:0}
.lfhyrdgm-news h3{flex:1;min-width:0;font-size:15.5px;font-weight:500}
.lfhyrdgm-news span{flex:0 0 auto;font-size:13px;color:var(--dimmer)}

/* 问答 */
.lfhyrdgm-faq{display:grid;gap:12px;max-width:900px}
.lfhyrdgm-faq details{background:var(--panel);border:1px solid var(--edge);border-radius:var(--rads);padding:0 18px;transition:border-color .2s}
.lfhyrdgm-faq details[open]{border-color:rgba(255,106,61,.4)}
.lfhyrdgm-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 0;font-weight:600;cursor:pointer;list-style:none}
.lfhyrdgm-faq summary::-webkit-details-marker{display:none}
.lfhyrdgm-faq summary::after{content:"+";color:var(--flash);font-size:20px;line-height:1}
.lfhyrdgm-faq details[open] summary::after{content:"−"}
.lfhyrdgm-faq summary:focus-visible{outline:2px solid var(--flash);outline-offset:2px}
.lfhyrdgm-faq p{padding-bottom:16px;color:var(--dimmer);font-size:15px}

/* 页脚 */
.lfhyrdgm-foot{margin-top:10px;padding-top:48px;background:#080b10;border-top:1px solid var(--edge)}
.lfhyrdgm-foot-grid{display:grid;gap:30px;grid-template-columns:1.7fr 1fr 1fr 1.2fr}
.lfhyrdgm-foot h4{margin:0 0 12px;font-size:14px;letter-spacing:1.2px;color:#cfd8e8}
.lfhyrdgm-foot p{color:var(--dimmer);font-size:14px}
.lfhyrdgm-foot li a{display:inline-block;padding:6px 0;color:var(--dimmer);font-size:14px;transition:color .2s}
.lfhyrdgm-foot li a:hover{color:var(--flash)}
.lfhyrdgm-foot-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;margin-bottom:12px}
.lfhyrdgm-copy{margin-top:34px;padding:18px 0;border-top:1px solid var(--edge);text-align:center;color:#6b7789;font-size:13px}

@media(max-width:1024px){
  .lfhyrdgm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfhyrdgm-chan{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfhyrdgm-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfhyrdgm-foot-grid{grid-template-columns:1.5fr 1fr 1fr}
}
@media(max-width:768px){
  .lfhyrdgm-bar{flex-wrap:wrap;gap:8px;padding:10px 0}
  .lfhyrdgm-menu{margin-left:0;width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  .lfhyrdgm-menu a{flex:0 0 auto;white-space:nowrap}
  .lfhyrdgm-hero-in{padding:52px 0 44px}
  .lfhyrdgm-sec{padding:40px 0}
  .lfhyrdgm-rows{grid-template-columns:1fr}
  .lfhyrdgm-rank{grid-template-columns:1fr;gap:0}
  .lfhyrdgm-foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfhyrdgm-more{min-height:40px}
}
@media(max-width:520px){
  body{font-size:15px}
  .lfhyrdgm-grid,.lfhyrdgm-chan,.lfhyrdgm-topics{grid-template-columns:1fr}
  .lfhyrdgm-search{flex-direction:column;max-width:none}
  .lfhyrdgm-row .lfhyrdgm-thumb{flex:0 0 106px;width:106px}
  .lfhyrdgm-hero h1{font-size:27px}
  .lfhyrdgm-topic{min-height:200px}
  .lfhyrdgm-foot-grid{grid-template-columns:1fr}
  .lfhyrdgm-news li{flex-direction:column;gap:4px}
  .lfhyrdgm-rank em{display:none}
}
