/* 9224游戏平台 · 首页样式（版式参考 602.com） */
:root {
  --c-main: #f5761f;
  --c-main-d: #e35d0a;
  --c-main-l: #fff3ea;
  --c-red: #e8382f;
  --c-gold: #ffd34e;
  --c-text: #333;
  --c-sub: #888;
  --c-line: #e8e4dd;
  --c-bg: #f3f1ed;
  --radius: 4px;
  --w: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 14px/1.6 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; color: #333; background: #f3f1ed; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:hover { color: #f5761f; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input { font: inherit; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.15em; }
.wrap { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 16px; }

/* 顶部条 */
.topbar { background: #262626; color: #bbb; font-size: 12px; height: 32px; line-height: 32px; }
.topbar .wrap { display: flex; justify-content: space-between; }
.topbar-l .ic { color: #f5761f; margin-right: 6px; font-size: 14px; }
.topbar-r i { margin: 0 8px; color: #555; font-style: normal; }
.topbar a:hover { color: #fff; }

/* 头部 */
.header { background: linear-gradient(#fff, #fcfbf8); border-bottom: 2px solid #f5761f; position: relative; z-index: 5; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 300px; height: auto; }
.header-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-tools { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; }
.header-tools i { color: #ccc; font-style: normal; }
.search { display: flex; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; margin-right: 10px; background: #fff; }
.search input { border: 0; outline: 0; padding: 4px 12px; width: 200px; font-size: 12px; }
.search button { padding: 0 12px; color: #999; }
.search button:hover { color: #f5761f; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; white-space: nowrap; padding: 6px 13px 12px; font-size: 16px; color: #444; }
.nav a.on, .nav a:hover { color: #a9410d; background: #fcf0e3; }
.nav a.on { box-shadow: inset 0 -2px #f5761f; }
.nav sup { position: absolute; top: -6px; right: -6px; font-size: 9px; background: #e8382f; color: #fff; border-radius: 6px 6px 6px 0; padding: 0 4px; line-height: 14px; }

/* 首页公告条 */
.bulletin { background: #faf5e9; border-bottom: 1px solid #e3d8c3; color: #594637; }
.bulletin-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; min-height: 40px; font-size: 13px; }
.bulletin-in b { display: flex; align-items: center; gap: 6px; color: #9a3d10; white-space: nowrap; }
.bulletin-title { justify-self: start; max-width: 100%; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bulletin-title:hover, .news-open:hover { color: #a9410d; text-decoration: underline; }
.bulletin time { font-variant-numeric: tabular-nums; }
.bulletin a { border-left: 1px solid #e3d8c3; padding-left: 16px; color: #9a3d10; white-space: nowrap; }
.bulletin a:hover { text-decoration: underline; }

/* 主视觉 */
.hero { position: relative; height: 470px; background: #1b1b1b; overflow: hidden; }
.slides, .slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; }
.slide::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.55) 100%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.slide.on { opacity: 1; z-index: 1; }
.slide-in { position: relative; height: 100%; }
.slide-txt { position: absolute; left: 380px; top: 70px; color: #fff; }
.slide .tag { display: inline-block; padding: 3px 12px; border-radius: 3px; background: #e8382f; font-size: 13px; letter-spacing: 1px; }
.slide h2 { margin: 18px 0 12px; font-size: 64px; line-height: 1.12; font-weight: 900; letter-spacing: 6px; text-shadow: 0 4px 14px rgba(0,0,0,.6); font-family: "STKaiti", "KaiTi", "PingFang SC", serif; }
.slide h2 strong { color: #ffd34e; background: linear-gradient(180deg, #fff2b0, #ffc23a 55%, #ff8a1e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.slide p { font-size: 17px; opacity: .92; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.btn-hero { display: inline-block; margin-top: 26px; padding: 11px 34px; border-radius: 24px; background: linear-gradient(180deg, #ff9b45, #e35d0a); color: #fff; font-size: 16px; box-shadow: 0 6px 18px rgba(245,118,31,.45); transition: transform .2s; }
.btn-hero:hover { color: #fff; transform: translateY(-2px); }
.slide-cards { position: absolute; right: 196px; top: 130px; width: 260px; height: 220px; }
.slide-cards img { position: absolute; width: 104px; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.45); transform-origin: 50% 120%; }
.slide-cards img:nth-child(1) { left: 0; transform: rotate(-22deg); }
.slide-cards img:nth-child(2) { left: 46px; transform: rotate(-8deg); }
.slide-cards img:nth-child(3) { left: 92px; transform: rotate(7deg); }
.slide-cards img:nth-child(4) { left: 138px; transform: rotate(21deg); }
.slide.on .slide-cards img { animation: deal .8s both; }
.slide.on .slide-cards img:nth-child(2) { animation-delay: .1s; }
.slide.on .slide-cards img:nth-child(3) { animation-delay: .2s; }
.slide.on .slide-cards img:nth-child(4) { animation-delay: .3s; }
@keyframes deal { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }

.hero-ui { position: relative; z-index: 2; height: 100%; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
.login { width: 316px; background: rgba(255,255,255,.96); border-radius: 4px; padding: 24px 22px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.login-tabs { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; }
.login-tabs i { width: 1px; height: 16px; background: #ddd; }
.login-tabs button { font-size: 17px; color: #555; padding-bottom: 8px; position: relative; }
.login-tabs button.on { color: #f5761f; font-weight: 600; }
.login-tabs button.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; margin-left: -20px; height: 3px; border-radius: 2px; background: #f5761f; }
.field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; margin-bottom: 14px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; color: #bbb; font-size: 18px; transition: border-color .2s; }
.field:focus-within { border-color: #f5761f; color: #f5761f; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 14px; color: #333; background: none; }
.login-links { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin: -2px 2px 14px; }
.btn-main { width: 100%; height: 44px; border-radius: 8px; background: linear-gradient(180deg, #ff9445, #f5761f); color: #fff; font-size: 17px; letter-spacing: 2px; box-shadow: 0 4px 12px rgba(245,118,31,.35); }
.btn-main:hover { background: linear-gradient(180deg, #ff8a33, #e35d0a); }
.login-other { text-align: center; margin-top: 16px; font-size: 12px; color: #999; }
.login-other div { display: flex; justify-content: center; gap: 26px; margin-top: 8px; }
.login-other a { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #666; }
.login-other .ic { font-size: 20px; }
.login-other .qq .ic { color: #1e9fff; }
.login-other .wx .ic { color: #28c445; }

.hero-list { width: 176px; background: rgba(0,0,0,.55); border-radius: 4px; padding: 8px 0; backdrop-filter: blur(4px); }
.hero-list li a { display: flex; align-items: center; gap: 10px; padding: 9px 16px; color: #fff; font-size: 15px; transition: background .2s; }
.hero-list li a:hover, .hero-list li.on a { background: rgba(245,118,31,.85); color: #fff; }
.hero-list img { width: 26px; height: 26px; }
.hero-list li:first-child a { color: #ffd34e; }
.dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.5); transition: width .3s; }
.dots button.on { width: 28px; background: #f5761f; }

/* 通用盒子 */
.main { padding-top: 20px; padding-bottom: 10px; }
.row { display: grid; gap: 20px; margin-bottom: 20px; }
.box { min-width: 0; background: #fff; border: 1px solid #e4dfd7; border-radius: 4px; padding: 16px 20px; }
.tt { position: relative; display: flex; align-items: center; font-size: 18px; font-weight: 600; padding-left: 12px; margin-bottom: 12px; }
.tt::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: #f5761f; }
.tt { color: #f5761f; }
.tt b { font-weight: 600; color: #333; }
.more { margin-left: auto; font-size: 12px; font-weight: 400; color: #999; display: flex; align-items: center; gap: 2px; }

/* 第一行 */
.r1 { grid-template-columns: minmax(0, 1fr) 316px; }
.toplist li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e8e4dd; }
.toplist li:last-child { border-bottom: 0; }
.toplist .no { width: 20px; height: 20px; border-radius: 4px; font-size: 12px; color: #fff; background: #c9c9c9; text-align: center; line-height: 20px; font-style: normal; flex: none; }
.toplist li:nth-child(1) .no { background: #e8382f; }
.toplist li:nth-child(2) .no { background: #ff7a2f; }
.toplist li:nth-child(3) .no { background: #ffad33; }
.toplist img { width: 40px; height: 40px; border-radius: 8px; background: #f6f6f6; padding: 2px; }
.toplist .nm { flex: 1; min-width: 0; }
.toplist .nm b { display: block; font-weight: 500; }
.toplist .nm em { font-style: normal; font-size: 12px; color: #aaa; }
.btn-play { flex: none; padding: 3px 14px; border: 1px solid #e3e3e3; border-radius: 14px; font-size: 13px; color: #555; transition: all .2s; }
.btn-play:hover { border-color: #f5761f; background: #f5761f; color: #fff; }

.feature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.fcard { position: relative; border-radius: 4px; overflow: hidden; background: #222; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.fcard .bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; transition: transform .5s; }
.fcard:hover .bg { transform: scale(1.07); }
.fcard::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 10%, rgba(0,0,0,0) 60%); }
.fcard .ribbon { position: absolute; z-index: 2; left: 0; top: 0; width: 56px; height: 56px; overflow: hidden; }
.fcard .ribbon span { position: absolute; left: -22px; top: 10px; width: 90px; transform: rotate(-45deg); background: #e8382f; text-align: center; font-size: 12px; line-height: 20px; }
.fcard .logo-ic { position: absolute; z-index: 2; left: 50%; top: 38%; width: 76px; height: 76px; margin-left: -38px; border-radius: 18px; background: rgba(255,255,255,.92); padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.fcard .title { position: absolute; z-index: 2; left: 0; right: 0; top: 60%; text-align: center; font-size: 26px; font-weight: 900; letter-spacing: 4px; font-family: "STKaiti", "KaiTi", serif; color: #ffd34e; text-shadow: 0 3px 8px rgba(0,0,0,.8); }
.fcard .info { position: relative; z-index: 2; padding: 12px 14px; display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.35); }
.fcard .info div { flex: 1; min-width: 0; }
.fcard .info b { display: block; font-size: 15px; }
.fcard .info em { display: block; font-style: normal; font-size: 12px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard .btn-play { border-color: rgba(255,255,255,.5); color: #fff; }

/* 第二行 */
.r2 { grid-template-columns: 316px 1fr; }
.mtabs { display: flex; background: #f6f6f6; border-radius: 6px; padding: 3px; margin-bottom: 8px; }
.mtabs button { flex: 1; padding: 5px 0; border-radius: 5px; font-size: 13px; color: #666; }
.mtabs button.on { background: #fff; color: #f5761f; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.mtable th { font-weight: 400; color: #999; text-align: left; padding: 6px 4px; border-bottom: 1px solid #e8e4dd; }
.mtable td { padding: 8px 4px; border-bottom: 1px dashed #e8e4dd; white-space: nowrap; }
.mtable td:first-child { color: #f5761f; }
.mtable td:last-child, .mtable th:last-child { text-align: right; color: #999; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.pager span { width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; font-size: 12px; color: #888; background: #f3f3f3; cursor: pointer; }
.pager span.on { background: #f5761f; color: #fff; }

.hotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hcard { border-radius: 8px; overflow: hidden; border: 1px solid #e8e4dd; transition: box-shadow .2s, transform .2s; background: #fff; }
.hcard:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.hcard .pic { position: relative; height: 104px; background-size: cover; background-position: center; }
.hcard .pic img { position: absolute; left: 10px; bottom: -18px; width: 44px; height: 44px; border-radius: 10px; background: #fff; padding: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.hcard .pic i { position: absolute; right: 6px; top: 6px; font-style: normal; font-size: 11px; color: #fff; background: #e8382f; padding: 0 6px; border-radius: 3px; line-height: 18px; }
.hcard .bd { display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 10px 10px; }
.hcard .bd b { display: block; font-weight: 500; }
.hcard .bd em { font-style: normal; font-size: 12px; color: #aaa; }
.hcard .btn-play { padding: 1px 10px; font-size: 12px; color: #f5761f; border-color: #ffd2b3; }

/* 礼包 */
.r3 { grid-template-columns: 1fr 316px; }
.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px; }
.gifts li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e8e4dd; }
.gifts img { width: 42px; height: 42px; border-radius: 50%; background: #fff3ea; padding: 4px; }
.gifts div { flex: 1; min-width: 0; }
.gifts b { display: block; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gifts em { font-style: normal; font-size: 12px; color: #aaa; }
.gifts em s { text-decoration: none; color: #f5761f; }
.gifts .btn-play { padding: 1px 12px; font-size: 12px; color: #f5761f; border-color: #ffd2b3; }
.fox-box { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.brand-art { height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, rgba(4,40,80,.55), rgba(4,30,60,.8)), url(../images/fish/bkground1.jpg) center/cover; }
.brand-art img { width: 76px; height: 76px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.brand-art span { color: #fff; font: 700 15px/1 Arial, sans-serif; letter-spacing: 2px; }
.fox-txt { padding: 12px 18px 16px; }
.fox-txt b { color: #f5761f; }
.fox-txt p { font-size: 12px; color: #888; margin-top: 4px; }

/* 第四行 */
.r4 { grid-template-columns: 1fr 1fr; }
.svc-head { display: flex; align-items: center; gap: 14px; }
.svc-ic { width: 52px; height: 52px; border-radius: 50%; background: #fff3ea; color: #f5761f; display: grid; place-items: center; font-size: 26px; }
.btn-line { padding: 5px 20px; border: 1px solid #f5761f; color: #f5761f; border-radius: 16px; font-size: 13px; }
.btn-line:hover { background: #f5761f; color: #fff; }
.svc-time { font-size: 12px; color: #999; margin: 8px 0; }
.svc-tel { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed #e8e4dd; border-bottom: 1px dashed #e8e4dd; }
.svc-tel .ic { font-size: 32px; color: #f5761f; }
.svc-tel b { display: block; font-size: 20px; color: #f5761f; line-height: 1.2; }
.svc-tel span { font-size: 12px; color: #999; }
.svc-links { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.svc-links a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 6px; background: #fafafa; font-size: 12px; color: #666; }
.svc-links .ic { font-size: 20px; color: #f5761f; }
.svc-links a:hover { background: #fff3ea; }

.news-box { scroll-margin-top: 12px; }
.ntabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; border-bottom: 1px solid #e8e4dd; background: #f8f6f1; padding: 7px 8px; }
.ntabs button, .news-pages button { min-height: 28px; border: 1px solid transparent; border-radius: 3px; padding: 2px 9px; color: #554d44; font-size: 12px; }
.ntabs button.on { border-color: #e5b389; background: #fff0e2; color: #8b360d; font-weight: 600; }
.ntabs button:not(.on):hover, .news-pages button:not(:disabled):hover { color: #a9410d; }
.newslist li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 13px; }
.newslist li + li { border-top: 1px dashed #e8e4dd; }
.newslist .cat { flex: none; color: #6a6157; }
.newslist .cat[data-type="公告"] { color: #a9410d; }
.newslist .cat[data-type="活动"] { color: #34614a; }
.news-open { flex: 1; min-width: 0; text-align: left; overflow-wrap: anywhere; }
.newslist time { flex: none; font-variant-numeric: tabular-nums; }
/* 公告日期标签：橙色底，7 天内的用红色实底；「新」角标 */
time.nd { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 10px; background: #fff1e4; color: #b4470c; font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
time.nd .ic { font-size: 12px; }
time.nd.recent { background: #e8382f; color: #fff; }
.newslist .new, .nlist .new { flex: none; align-self: center; padding: 0 5px; border-radius: 3px; background: #e8382f; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 16px; }
.newslist li { align-items: center; }
/* 首页新闻公告：字号加大 */
.ntabs button { font-size: 14px; padding: 3px 12px; }
.newslist li { padding: 9px 0; font-size: 15px; }
.newslist .cat { font-weight: 600; }
.newslist time.nd { font-size: 13px; padding: 2px 9px; }
.newslist .new { font-size: 12px; line-height: 18px; }
.news-pages { font-size: 13px; }
.news-pages button { font-size: 13px; }
.news-pages { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; border-top: 1px solid #e8e4dd; padding-top: 8px; color: #6e655c; font-size: 12px; }
.news-pages[hidden] { display: none; }
.news-pages button { border-color: #e8e4dd; background: #f8f6f1; }
.news-pages button:disabled { opacity: .5; cursor: default; }
.news-detail { width: min(540px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 28px 24px; border: 1px solid #ded5c8; border-top: 3px solid #f5761f; border-radius: 4px; color: #333; box-shadow: 0 8px 30px rgba(0,0,0,.22); overflow: auto; }
.news-detail::backdrop { background: rgba(32,25,19,.58); }
.news-detail form { position: absolute; top: 6px; right: 8px; }
.news-detail form button { width: 32px; height: 32px; border-radius: 3px; color: #594637; font-size: 24px; line-height: 1; }
.news-detail form button:hover { background: #f8f1e8; }
.news-detail h2 { padding-right: 18px; font-size: 21px; line-height: 1.4; }
.news-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 16px; border-bottom: 1px solid #e8e4dd; padding-bottom: 10px; color: #6e655c; font-size: 12px; }
.news-detail-copy { line-height: 1.8; }
#newsDetailCopy { white-space: pre-line; }
.news-detail-link { display: inline-block; margin-top: 14px; color: #a9410d; text-decoration: underline; }

.ranklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.ranklist li + li { border-top: 1px dashed #e8e4dd; }
.ranklist .no { width: 22px; text-align: center; font-style: normal; font-weight: 700; color: #bbb; }
.ranklist li:nth-child(-n+3) .no { color: #f5761f; font-size: 16px; }
.ranklist li:nth-child(-n+3) .ic { color: #ffd34e; }
.ranklist .nm { flex: 1; }
.ranklist .sc { color: #e8382f; font-family: Arial, sans-serif; }

/* 下载条 */
.dl { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; margin-bottom: 20px; padding: 24px 36px; border-radius: 4px; color: #fff; background: linear-gradient(100deg, rgba(227,93,10,.95), rgba(245,118,31,.85) 50%, rgba(40,20,0,.5)), url(../images/games/gswz.jpg) center/cover; }
.dl-txt { flex: 1; }
.dl h3 { font-size: 26px; letter-spacing: 2px; }
.dl p { opacity: .85; }
.dl-btn { display: flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 8px; background: #fff; color: #e35d0a; position: relative; z-index: 1; }
.dl-btn:hover { color: #e35d0a; transform: translateY(-2px); }
.dl-btn .ic { font-size: 28px; }
.dl-btn b { display: block; line-height: 1.3; }
.dl-btn em { font-style: normal; font-size: 12px; color: #999; }
.dl-btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.6); }
.dl-btn.ghost em { color: rgba(255,255,255,.75); }
.dl-cards { position: relative; width: 150px; height: 90px; }
.dl-cards img { position: absolute; width: 60px; top: 0; border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.dl-cards img:nth-child(1) { left: 0; transform: rotate(-14deg); }
.dl-cards img:nth-child(2) { left: 40px; }
.dl-cards img:nth-child(3) { left: 80px; transform: rotate(14deg); }

.links { margin-bottom: 20px; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: #666; }

/* 页脚 */
.footer { background: #fff; border-top: 3px solid #f5761f; padding: 20px 0 26px; font-size: 12px; color: #888; }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; color: #555; padding-bottom: 14px; border-bottom: 1px solid #e8e4dd; }
.foot-main { display: flex; justify-content: center; align-items: center; gap: 24px; padding-top: 16px; }
.foot-main p { line-height: 2; }
.foot-main .warn { color: #aaa; }

.gotop { position: fixed; right: 24px; bottom: 40px; z-index: 9; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #f5761f; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(245,118,31,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.gotop .ic { transform: rotate(-90deg); }
.gotop.show { opacity: 1; pointer-events: auto; }
.gotop:hover { color: #fff; background: #e35d0a; }

/* 自适应 */
@media (max-width: 1180px) {
  .hero-list { display: none; }
  .slide-txt { left: 360px; }
  .slide-cards { right: 30px; }
  .feature { grid-template-columns: repeat(2, 1fr); }
  .fcard { min-height: 240px; }
  .hotgrid { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 6px 8px 12px; font-size: 15px; }
}
@media (max-width: 900px) {
  .header-in { height: auto; flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 0; gap: 6px; }
  .header-r { align-items: stretch; width: 100%; }
  .header-tools { display: none; }
  .nav { overflow-x: auto; gap: 0; scrollbar-width: none; }
  .nav a { flex: none; }
  .logo img { width: 220px; }
  .hero { height: auto; }
  .slides { position: relative; height: 304px; }
  .btn-hero { margin-top: 18px; }
  .slide-txt { left: 16px; right: 16px; top: 28px; }
  .slide h2 { font-size: 40px; letter-spacing: 3px; }
  .slide p { font-size: 14px; }
  .slide-cards { display: none; }
  .hero-ui { height: auto; padding-top: 16px; padding-bottom: 46px; justify-content: center; background: #1b1b1b; }
  .login { width: 100%; max-width: 420px; }
  .dots { bottom: auto; top: 282px; }
  .r1, .r2, .r3, .r4 { grid-template-columns: 1fr; }
  .gifts { grid-template-columns: 1fr 1fr; }
  .dl { flex-wrap: wrap; padding: 20px; }
  .dl-txt { flex-basis: 100%; }
  .dl-cards { display: none; }
}
@media (max-width: 560px) {
  .topbar-l { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .bulletin-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; font-size: 12px; }
  .bulletin time { display: none; }
  .bulletin a { padding-left: 8px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fcard { min-height: 210px; }
  .fcard .title { font-size: 18px; top: 50%; letter-spacing: 2px; }
  .fcard .logo-ic { width: 58px; height: 58px; margin-left: -29px; top: 26%; }
  .fcard .info .btn-play { display: none; }
  .hotgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gifts { grid-template-columns: 1fr; }
  .box { padding: 14px; }
  .foot-main { flex-direction: column; text-align: center; }
  .dl-btn { flex: 1; min-width: 0; padding: 10px 12px; }
}

/* ===== 李逵捕鱼（精灵图取自 105.深海捕鱼 texture.pak） ===== */
.fish-slide { background-color: #0b3c5a; }
.slide-video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.fish-slide.playing .sea { display: none; }
/* 实拍画面金币多、很花，播放时把文字一侧压暗，保证标题清楚 */
.fish-slide.playing::before { background: linear-gradient(90deg, rgba(3,18,38,.88) 0%, rgba(3,18,38,.72) 30%, rgba(3,18,38,.25) 62%, rgba(3,18,38,.55) 100%), linear-gradient(0deg, rgba(0,15,35,.6), transparent 45%); }
/* 窄屏时裁不掉录屏上下的窗口栏，改回海底背景和鱼群动画 */
@media (max-width: 999px) { .slide-video { display: none; } }
.fish-slide::before { background: linear-gradient(90deg, rgba(4,30,60,.55), rgba(4,40,80,.1) 50%, rgba(4,30,60,.55)), linear-gradient(0deg, rgba(0,20,50,.55), transparent 45%); }
.sea { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
/* 精灵：--fw/--fh 原始帧尺寸，--sw 原始整图宽，--n 每行帧数，--k 显示缩放 */
.fish {
  position: absolute; left: 0; display: block;
  width: calc(var(--fw) * var(--k) * 1px); height: calc(var(--fh) * var(--k) * 1px);
  background-repeat: no-repeat; background-size: calc(var(--sw) * var(--k) * 1px) auto;
  animation: flap var(--fd, .9s) steps(var(--n)) infinite, swim var(--d, 24s) linear var(--dl, 0s) infinite;
  filter: drop-shadow(0 12px 10px rgba(0,20,40,.35));
}
@keyframes flap { to { background-position-x: calc(var(--fw) * var(--n) * var(--k) * -1px); } }
@keyframes swim { from { transform: translate(-300px, 0); } 50% { transform: translate(55vw, var(--wy, 20px)); } to { transform: translate(calc(100vw + 60px), 0); } }
.f-shark  { --fw: 395; --fh: 329; --sw: 2048; --n: 4; --k: .62; --d: 30s; --dl: -6s; top: 46%; background-image: url(../images/fish/fish10.png); }
.f-ray    { --fw: 190; --fh: 212; --sw: 2048; --n: 8; --k: .6; --d: 38s; --dl: -24s; --wy: -30px; top: 4%; background-image: url(../images/fish/fish9.png); }
.f-sword  { --fw: 195; --fh: 102; --sw: 2048; --n: 8; --k: .75; --d: 21s; --dl: -12s; top: 30%; background-image: url(../images/fish/fish8.png); }
.f-turtle { --fw: 117; --fh: 111; --sw: 1024; --n: 6; --k: .8; --d: 44s; --dl: -30s; --fd: 1.4s; top: 74%; background-image: url(../images/fish/fish7.png); }
.f-yellow { --fw: 96;  --fh: 69;  --sw: 1024; --n: 8; --k: .75; --d: 17s; --dl: -3s; top: 20%; background-image: url(../images/fish/fish5.png); }
.f-yellow.b { --d: 19s; --dl: -11s; top: 84%; }
.f-butterfly { --fw: 78; --fh: 77; --sw: 1024; --n: 8; --k: .75; --d: 25s; --dl: -17s; top: 62%; background-image: url(../images/fish/fish2.png); }
.bubble { position: absolute; width: 56px; left: 62%; bottom: -60px; opacity: .7; animation: rise 9s linear infinite; }
.bubble.b2 { left: 34%; width: 38px; animation-duration: 12s; animation-delay: -5s; }
@keyframes rise { to { transform: translateY(-560px) translateX(30px); opacity: 0; } }
.likui-hero { position: absolute; right: 230px; top: 50%; width: 207px; height: auto; transform: translateY(-50%); filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); animation: likui-float 4s ease-in-out infinite; }
@keyframes likui-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .likui-hero { animation: none; } }
.likui-logo { float: right; width: 120px; height: auto; margin: -6px 0 6px 12px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }

/* 专区 */
.likui { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 520px; gap: 30px; margin-bottom: 20px; padding: 34px 40px; border-radius: 4px; color: #fff;
  background: linear-gradient(100deg, rgba(3,28,58,.92) 0%, rgba(5,52,96,.75) 45%, rgba(3,28,58,.85) 100%), url(../images/fish/bkground2.jpg) center/cover; }
.likui .sea { z-index: 0; }
.fish.s2 { opacity: .55; --k: .45; }
.f-yellow.s2 { --k: .6; top: 76%; }
.likui-l, .likui-r { position: relative; z-index: 1; }
.likui-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 12px; border-radius: 12px; background: #e8382f; font-size: 13px; }
.likui h3 { margin: 10px 0 6px; font: 900 56px/1.1 "STKaiti", "KaiTi", serif; letter-spacing: 8px; background: linear-gradient(180deg, #fff6c4, #ffc93a 55%, #ff8a1e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.likui-sub { opacity: .88; font-size: 15px; }
.likui-feats { margin: 20px 0 6px; display: grid; gap: 12px; }
.likui-feats li { display: flex; align-items: center; gap: 12px; }
.likui-feats .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(255,201,58,.16); color: #ffd34e; }
.likui-feats b { display: block; font-size: 15px; }
.likui-feats span { font-size: 13px; opacity: .75; }
.likui-btns { display: flex; gap: 14px; align-items: center; }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; padding: 10px 24px; border-radius: 24px; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); }
.likui-stat { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; opacity: .9; }
.likui-stat b { color: #ffd34e; font-size: 18px; font-family: Arial, sans-serif; }
.likui-stat .coin { width: 34px; height: 30px; background: url(../images/fish/coin.png) no-repeat 0 0 / 614px auto; animation: coin .8s steps(11) infinite; }
@keyframes coin { to { background-position-x: -376px; } }
.likui-r { background: rgba(0,20,45,.5); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 16px 18px; backdrop-filter: blur(4px); }
.likui-r h4 { font-size: 16px; margin-bottom: 10px; }
.likui-r h4 em { font-style: normal; font-size: 12px; font-weight: 400; opacity: .55; margin-left: 6px; }
.dex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dex-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 132px; padding: 8px; border-radius: 8px; background: radial-gradient(circle at 50% 40%, rgba(80,170,230,.35), rgba(0,30,60,.2) 70%); border: 1px solid rgba(255,255,255,.08); }
.dex-card .fish { position: static; margin: auto 0; animation: flap var(--fd, .9s) steps(var(--n)) infinite; }
.dex-card b { font-size: 13px; }
.dex-card span { font-size: 12px; color: #ffd34e; font-family: Arial, sans-serif; }
.cannons { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; opacity: .9; }
.cannon { width: 38px; height: 52px; background: url(../images/fish/cannon.png) no-repeat; background-size: 205px auto; }
.cannon.c1 { background-position-y: -52px; } .cannon.c2 { background-position-y: -104px; } .cannon.c3 { background-position-y: -156px; } .cannon.c4 { background-position-y: -208px; }
.cannon:hover { animation: fire .4s steps(5) infinite; }
@keyframes fire { to { background-position-x: -192px; } }

@media (max-width: 1180px) { .likui { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .fish-slide { background-size: auto 100%; }
  .fish { --k: .4; }
  .f-shark { --k: .38; }
  .likui { padding: 24px 18px; }
  .likui h3 { font-size: 40px; }
  .fish.s2 { --k: .3; }
}
@media (max-width: 560px) { .dex { grid-template-columns: repeat(2, 1fr); } .likui-btns { flex-wrap: wrap; } .likui-btns a { margin-top: 14px; } }
.dex-card .f-shark { --k: .26; } .dex-card .f-ray { --k: .4; } .dex-card .f-sword { --k: .46; }
.dex-card .f-turtle { --k: .66; } .dex-card .f-butterfly { --k: .9; } .dex-card .f-yellow { --k: .82; }
.toplist img, .hero-list img, .gifts img, .fcard .logo-ic, .hcard .pic img { object-fit: contain; }

/* ===== 数据库数据展示：游戏大厅 / 道具商城 / 鲜花礼物 ===== */
.db-src { margin-left: auto; font-size: 12px; font-weight: 400; color: #aaa; }
.dbgames { margin-bottom: 20px; }
.dbtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dbtabs button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 18px; background: #f5f5f5; color: #555; font-size: 14px; }
.dbtabs button em { font-style: normal; font-size: 12px; color: #aaa; }
.dbtabs button .ic { color: #f5761f; }
.dbtabs button.on { background: #f5761f; color: #fff; }
.dbtabs button.on em, .dbtabs button.on .ic { color: #fff; }
.dbkinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dbkinds li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e8e4dd; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.dbkinds li:hover { border-color: #ffd2b3; box-shadow: 0 4px 12px rgba(245,118,31,.12); }
.dbkinds img, .dbkinds .noic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #fff3ea; padding: 4px; object-fit: contain; }
.dbkinds .noic { display: grid; place-items: center; color: #f5761f; font-size: 24px; }
.dbkinds div { flex: 1; min-width: 0; }
.dbkinds b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbkinds em { font-style: normal; font-size: 12px; color: #aaa; }
.dbkinds .btn-play { padding: 1px 12px; font-size: 12px; color: #f5761f; border-color: #ffd2b3; }

.r5 { grid-template-columns: 1fr 316px; }
.shop { width: 100%; border-collapse: collapse; font-size: 13px; }
.shop th { text-align: left; font-weight: 400; color: #999; padding: 6px 8px; border-bottom: 1px solid #e8e4dd; }
.shop td { padding: 7px 8px; border-bottom: 1px dashed #e8e4dd; }
.shop td:first-child { font-weight: 500; }
.shop td b { color: #e8382f; font-family: Arial, sans-serif; }
.shop .na { color: #ccc; }
.shop .disc { display: inline-block; padding: 0 8px; border-radius: 10px; background: #fff3ea; color: #f5761f; font-size: 12px; }
.flowers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flowers li { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 6px; background: #fafafa; border-left: 3px solid #39b54a; font-size: 12px; color: #888; }
.flowers li.down { border-left-color: #e8382f; }
.flowers b { font-size: 14px; color: #333; font-weight: 500; }
.flowers em { font-style: normal; color: #39b54a; }
.flowers .down em { color: #e8382f; }
.flower-note { margin-top: 10px; font-size: 12px; color: #aaa; }

@media (max-width: 1180px) { .dbkinds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .dbkinds { grid-template-columns: 1fr 1fr; } .r5 { grid-template-columns: 1fr; } .shop-box { overflow-x: auto; } }
@media (max-width: 560px) { .dbkinds { grid-template-columns: 1fr; } .db-src { display: none; } }

/* ===== 游戏介绍 ===== */
.intro { margin-bottom: 20px; }
.intro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.intro-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid #e8e4dd; border-radius: 8px; }
.intro-card.main { grid-column: span 2; background: linear-gradient(110deg, rgba(3,28,58,.92), rgba(5,52,96,.8)), url(../images/fish/bkground2.jpg) center/cover; color: #fff; border: 0; }
.intro-card.main em { color: rgba(255,255,255,.7); }
.intro-card.main p { color: rgba(255,255,255,.88); }
.intro-card.main .btn-line { border-color: #ffd34e; color: #ffd34e; }
.intro-card .ic-row { display: flex; align-items: center; gap: 10px; }
.intro-card img { width: 46px; height: 46px; border-radius: 10px; background: #fff3ea; padding: 4px; object-fit: contain; flex: none; }
.intro-card.main img { background: rgba(255,255,255,.12); }
.intro-card h4 { font-size: 16px; }
.intro-card em { font-style: normal; font-size: 12px; color: #999; }
.intro-card p { flex: 1; font-size: 13px; color: #666; line-height: 1.7; }
.intro-card .btn-line { align-self: flex-start; padding: 3px 14px; font-size: 12px; }
.game-detail .gd-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.game-detail .gd-head img { width: 56px; height: 56px; border-radius: 12px; background: #fff3ea; padding: 5px; object-fit: contain; }
.game-detail .news-meta span + span::before { content: "· "; }
.gd-rules { margin: 14px 0 10px 20px; list-style: decimal; line-height: 1.8; font-size: 14px; }
.gd-rules li + li { margin-top: 4px; }
.gd-basis { font-size: 12px; color: #999; }
@media (max-width: 1180px) { .intro-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .intro-grid { grid-template-columns: 1fr; } .intro-card.main { grid-column: auto; } }

/* 窄屏时李逵形象会挡住轮播文字，隐藏 */
@media (max-width: 1180px) { .likui-hero { display: none; } }
@media (max-width: 900px) { .likui-logo { width: 90px; } }

/* 热门大图中间的圆形游戏徽标（和李逵捕鱼同一风格） */
.fcard .logo-badge { position: absolute; z-index: 2; left: 50%; top: 30%; width: 120px; height: 120px; margin-left: -60px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); transition: transform .25s; }
.fcard:hover .logo-badge { transform: scale(1.06); }
@media (max-width: 900px) { .fcard .logo-badge { width: 90px; height: 90px; margin-left: -45px; top: 22%; } }
