/* ==========================================================================
   2018-02-24 archive homepage & header
   ========================================================================== */

body.mck-site { background: #fff; }
body.mck-site,
body.mck-site #container,
body.mck-site .wrap_content { opacity: 1 !important; filter: none !important; }

.mck18-header {
    position: relative;
    z-index: 1000;
    height: 100px;
    background: #17b20f;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.mck18-header-inner { display: flex; align-items: center; height: 100px; width: 1200px; max-width: calc(100% - 40px); }
.mck18-logo { flex: 0 0 140px; display: block; color: #fff !important; line-height: 1; }
.mck18-logo strong { display: block; color: #fff; font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: 2px; text-shadow: 0 2px 2px rgba(0, 0, 0, .12); }
.mck18-logo em { display: block; margin-top: 4px; color: rgba(255, 255, 255, .92); font: 10px/1.2 Arial, sans-serif; font-style: normal; letter-spacing: 2.2px; }
.mck18-nav { display: flex; align-items: stretch; height: 100px; margin-left: 10px; }
.mck18-nav a { display: flex; align-items: center; padding: 0 14px; color: #fff !important; font-size: 16px; }
.mck18-nav a:hover,
.mck18-nav a.on { background: rgba(0, 0, 0, .13); color: #fff !important; }
.mck18-box { position: relative; display: block; align-self: flex-end; width: 72px; height: 100px; margin-left: 26px; background: url("../img/download-pig.png") center bottom / 68px 100px no-repeat; }
.mck18-box span { position: absolute; left: 50%; bottom: 7px; width: 62px; margin-left: -31px; color: #fff; font-size: 10px; line-height: 1; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.mck18-box:hover { filter: brightness(1.08); }
.mck18-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mck18-search { position: relative; display: flex; align-items: center; width: 200px; height: 36px; background: #fff; }
.mck18-search input { width: 100%; height: 36px; padding: 0 38px 0 12px; border: 0; background: transparent; color: #666; font-size: 12px; outline: 0; }
.mck18-search input::placeholder { color: #9a9a9a; }
.mck18-search i { position: absolute; right: 4px; top: 3px; width: 30px; height: 30px; background: url("../image/search.png") center / 30px 30px no-repeat; cursor: pointer; }
.mck18-search i:hover { filter: brightness(.85); }
.mck18-tools .change-skin { width: 26px !important; height: 26px !important; margin: 0 !important; background: url("../image/changskin.png") no-repeat !important; }
.mck18-tools .upresource { width: 24px; height: 24px; margin: 0; background: url("../image/mcicon.png") -127px 0 no-repeat; }
.mck18-login { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 32px; padding: 0 12px; background: #0b8a0d; color: #fff !important; font-size: 13px; }
.mck18-login:hover { background: #08750a; }
.mck18-qq-login { min-width: 58px; background: #12b7f5; }
.mck18-qq-login:hover { background: #0aa5df; }
.mck18-user { position: relative; display: flex; align-items: center; height: 36px; }
.mck18-user .userhead img { display: block; width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; object-fit: cover; }
.mck18-user-name { max-width: 92px; margin-left: 7px; overflow: hidden; color: #fff !important; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mck18-usermore { display: none; position: absolute; top: 40px; right: 0; z-index: 1200; width: 140px; padding: 6px 0; background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.mck18-user:hover .mck18-usermore { display: block; }
.mck18-usermore a,
.mck18-usermore button { display: block; width: 100%; padding: 8px 14px; border: 0; background: none; color: #555; font-size: 12px; line-height: 20px; text-align: left; cursor: pointer; }
.mck18-usermore a:hover,
.mck18-usermore button:hover { background: #f4f9f2; color: #16ac10; }
.mck18-usermore form { margin-top: 4px; padding-top: 4px; border-top: 1px solid #f0f0f0; }
.mck18-header .mcbox-changeskin { top: 74px; right: 12px; }

/* Home ------------------------------------------------------------------- */
.mck18-home { width: 1200px; max-width: calc(100% - 40px); margin: 0 auto; padding: 26px 0 30px; }
.mck18-hero {
    display: grid;
    grid-template-columns: 440px 160px 160px minmax(340px, 1fr);
    grid-template-rows: 140px 140px;
    gap: 20px;
    height: 300px;
}
.mck18-media { position: relative; display: block; overflow: hidden; background: #d9d9d9; }
.mck18-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mck18-media:hover img { transform: scale(1.035); }
.mck18-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.mck18-media .cap { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: 13px; line-height: 1.45; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.mck18-media.big { grid-row: 1 / span 2; }
.mck18-media.big .cap { left: 16px; right: 16px; bottom: 12px; font-size: 22px; }
.mck18-media .play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(0, 0, 0, .22); }
.mck18-media .play::after { content: ""; position: absolute; left: 17px; top: 12px; width: 0; height: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.mck18-media.big .play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.mck18-media.big .play::after { left: 22px; top: 16px; border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }

.mck18-promo { grid-column: 4; grid-row: 1 / span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-self: end; width: 340px; padding: 16px 16px 54px; background: #fff; border: 1px solid #e8e8e8; text-align: center; }
.mck18-promo .promo-bubble { position: absolute; z-index: 3; right: 42px; top: 30px; padding: 3px 9px; background: #fff; border: 1px solid #d8d8d8; color: #888; font-size: 11px; }
.mck18-promo .promo-bubble::after { content: ""; position: absolute; left: 12px; bottom: -6px; width: 8px; height: 8px; background: #fff; border-right: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; transform: rotate(45deg); }
.mck18-promo::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fafafa; clip-path: polygon(0 0, 100% 0, 100% 64%, 0 90%); }
.mck18-promo-art { position: relative; z-index: 2; width: 180px; height: 120px; }
.mck18-cube { position: absolute; left: 16px; bottom: 12px; width: 92px; height: 92px; transform: rotate(-4deg); }
.mck18-cube i, .mck18-cube b, .mck18-cube span { position: absolute; display: block; }
.mck18-cube .top { left: 0; top: 0; width: 92px; height: 34px; background: #57c34d; clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%); }
.mck18-cube .left { left: 0; top: 28px; width: 46px; height: 64px; background: #2da32a; clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 82%); }
.mck18-cube .right { left: 46px; top: 28px; width: 46px; height: 64px; background: #168d16; clip-path: polygon(0 12%, 100% 0, 100% 82%, 0 100%); }
.mck18-cube em { position: absolute; left: 6px; top: 44px; z-index: 2; width: 80px; color: #fff; font-size: 17px; font-style: normal; font-weight: 700; letter-spacing: 1px; text-align: center; text-shadow: 0 1px 1px rgba(0, 0, 0, .2); }
.mck18-promo-art img { position: absolute; right: 0; bottom: 0; z-index: 3; width: 68px; height: 100px; object-fit: contain; }
.mck18-promo h3 { position: relative; z-index: 2; margin-top: 2px; color: #222; font-size: 20px; }
.mck18-promo p { position: relative; z-index: 2; margin-top: 4px; color: #888; font-size: 11px; }
.mck18-promo .open { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: block; width: 100%; height: 38px; background: #16ac10; color: #fff !important; font-size: 14px; line-height: 38px; text-align: center; }
.mck18-promo .open:hover { background: #0c9709; }

.mck18-section { margin-top: 34px; }
.mck18-zone { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.mck18-zone-main { min-width: 0; }
.mck18-zone-head { display: flex; align-items: center; height: 38px; border-bottom: 1px solid #e5e5e5; }
.mck18-zone-head .more { margin-left: auto; color: #999; font-size: 12px; }
.mck18-zone-rank { min-width: 0; }
.mck18-more-bar { display: block; height: 34px; margin-top: 16px; background: #f1f1f1; color: #999 !important; font-size: 12px; line-height: 34px; text-align: center; }
.mck18-more-bar:hover { background: #e9e9e9; color: #666 !important; }
.mck18-hgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.mck18-hcard { display: grid; grid-template-columns: minmax(0, 1fr) 88px; grid-template-rows: 140px auto auto; gap: 7px 10px; min-width: 0; padding: 10px; background: #f7f7f7; border: 1px solid transparent; }
.mck18-hcard:hover { border-color: #16ac10; background: #fbfbfb; }
.mck18-hcard .hcover { display: block; height: 140px; overflow: hidden; background: #ddd; }
.mck18-hcard .hcover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mck18-hcard:hover .hcover img { transform: scale(1.04); }
.mck18-hcard .hauthor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #777 !important; font-size: 11px; line-height: 1.3; text-align: center; }
.mck18-hcard .hauthor img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.mck18-hcard .hauthor span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mck18-hcard h3 { grid-column: 1 / -1; display: -webkit-box; height: 34px; overflow: hidden; color: #444; font-size: 12px; font-weight: 400; line-height: 17px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mck18-hcard h3 a { color: #444; }
.mck18-hcard h3 a:hover { color: #16ac10; }
.mck18-hcard .hstats { grid-column: 1 / -1; display: flex; gap: 14px; color: #999; font-size: 10px; }
.mck18-hcard .hstats .hstat-view::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 4px; border-left: 7px solid #aaa; border-top: 5px solid transparent; border-bottom: 5px solid transparent; vertical-align: -1px; }
.mck18-hcard .hstats .hstat-comment::before { content: ""; display: inline-block; width: 9px; height: 7px; margin-right: 4px; border: 1px solid #aaa; border-radius: 1px; vertical-align: 0; }

.mck18-section-head { display: flex; align-items: center; height: 38px; border-bottom: 1px solid #e5e5e5; }
.mck18-section-title { display: flex; align-items: center; gap: 10px; color: #333; font-size: 22px; font-weight: 700; }
.mck18-section-title i { display: inline-block; width: 28px; height: 24px; background: url("../image/mcicon.png") no-repeat -37px -164px; }
.mck18-section-head .more { margin-left: auto; color: #999; font-size: 12px; }
.mck18-section-layout { display: flex; gap: 24px; margin-top: 16px; }
.mck18-video-main { min-width: 0; flex: 1; }
.mck18-video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; }
.mck18-video-card { min-width: 0; }
.mck18-video-card .cover { position: relative; display: block; height: 120px; overflow: hidden; background: #222; }
.mck18-video-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mck18-video-card:hover .cover img { transform: scale(1.045); }
.mck18-video-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .6) 100%); }
.mck18-video-card .play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(0, 0, 0, .25); }
.mck18-video-card .play::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 8px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mck18-video-card .author { position: absolute; left: 6px; bottom: 5px; z-index: 2; display: flex; align-items: center; gap: 4px; max-width: 90%; color: #fff; font-size: 10px; }
.mck18-video-card .author img { width: 18px; height: 18px; flex-shrink: 0; border: 1px solid #fff; border-radius: 50%; object-fit: cover; }
.mck18-video-card .author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mck18-video-card h3 { display: -webkit-box; height: 36px; margin-top: 6px; overflow: hidden; color: #444; font-size: 12px; font-weight: 400; line-height: 18px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mck18-video-card h3 a { color: #444; }
.mck18-video-card h3 a:hover { color: #16ac10; }
.mck18-video-card .stats { display: flex; gap: 10px; margin-top: 2px; color: #aaa; font-size: 10px; }

.mck18-rank { width: 300px; flex: 0 0 300px; }
.mck18-rank-head { display: flex; align-items: center; height: 38px; border-bottom: 1px solid #e5e5e5; }
.mck18-rank-head h2 { color: #333; font-size: 20px; }
.mck18-rank-tabs { display: flex; gap: 2px; margin-left: auto; }
.mck18-rank-tabs a { display: inline-block; width: 36px; height: 24px; background: #f1f1f1; color: #999; font-size: 11px; line-height: 24px; text-align: center; }
.mck18-rank-tabs a.on { background: #ffa71d; color: #fff; }
.mck18-rank-list { margin-top: 8px; }
.mck18-rank-item { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #e8e8e8; }
.mck18-rank-item:last-child { border-bottom: 0; }
.mck18-rank-item .thumb { position: relative; width: 86px; height: 54px; flex-shrink: 0; overflow: hidden; background: #ddd; }
.mck18-rank-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mck18-rank-item .thumb em { position: absolute; left: 0; top: 0; width: 24px; height: 20px; background: #ffa71d; color: #fff; font-size: 10px; font-style: normal; line-height: 20px; text-align: center; }
.mck18-rank-item:nth-child(1) .thumb em { background: #ff6b3d; }
.mck18-rank-item:nth-child(2) .thumb em { background: #ffa71d; }
.mck18-rank-item:nth-child(3) .thumb em { background: #ffc84a; }
.mck18-rank-item .info { min-width: 0; flex: 1; }
.mck18-rank-item h3 { display: -webkit-box; overflow: hidden; color: #444; font-size: 12px; font-weight: 400; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mck18-rank-item h3 a { color: #444; }
.mck18-rank-item h3 a:hover { color: #16ac10; }
.mck18-rank-item p { display: flex; justify-content: space-between; margin-top: 5px; color: #aaa; font-size: 10px; }
.mck18-rank-item p span:first-child { color: #e69318; }

.mck18-server-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.mck18-server { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 12px 8px; background: #f7f7f7; border: 1px solid transparent; text-align: center; }
.mck18-server:hover { border-color: #16ac10; background: #fbfbfb; }
.mck18-server .icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 6px; color: #fff; font-size: 24px; font-weight: 700; }
.mck18-server strong { display: block; width: 100%; overflow: hidden; color: #444; font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.mck18-server em { display: block; margin-top: 4px; color: #16ac10; font-size: 10px; font-style: normal; }
.mck18-server .heat { display: block; margin-top: 3px; color: #aaa; font-size: 10px; }

.mck18-adzone { margin-top: 24px; }
.mck18-ad { display: block; overflow: hidden; background: #f3f3f3; }
.mck18-ad img { display: block; width: 100%; height: auto; }
.mck18-gods { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.mck18-god { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; background: #f7f7f7; }
.mck18-god em { color: #999; font-size: 12px; font-style: normal; }
.mck18-god img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.mck18-god div { min-width: 0; }
.mck18-god strong { display: block; overflow: hidden; color: #444; font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.mck18-god span { display: block; margin-top: 3px; color: #aaa; font-size: 10px; }
.mck18-god:hover strong { color: #16ac10; }

.mck18-float { position: fixed; right: 12px; top: 178px; z-index: 800; width: 52px; }
.mck18-float a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 2px; background: #fff; border: 1px solid #e3e3e3; color: #777 !important; font-size: 10px; }
.mck18-float a:hover { color: #16ac10 !important; }
.mck18-float .app i { position: relative; display: block; width: 18px; height: 27px; margin-bottom: 2px; border: 2px solid #2fb34a; border-radius: 3px; }
.mck18-float .app i::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 2px; margin-left: -2px; background: #2fb34a; }
.mck18-float .up { height: 52px; color: #999 !important; font-size: 22px; }

.mck18-strip .mck18-video-card .cover { height: 100px; }
.mck18-live-strip, .mck18-story-strip { margin-top: 16px; }

@media (max-width: 1240px) {
    .mck18-home { width: 1000px; }
    .mck18-hero { grid-template-columns: 360px 136px 136px 320px; grid-template-rows: 140px 140px; height: 300px; gap: 16px; }
    .mck18-media.big { width: auto; }
    .mck18-promo { width: 100%; }
    .mck18-promo .open { width: 100%; }
    .mck18-zone { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
    .mck18-hgrid { gap: 14px 10px; }
    .mck18-video-grid { gap: 14px 10px; }
    .mck18-rank { width: 250px; flex-basis: 250px; }
    .mck18-header-inner { width: 1000px; }
    .mck18-nav a { padding: 0 11px; font-size: 14px; }
    .mck18-search { width: 180px; }
}
