﻿@charset "utf-8";
/*
    Theme Name: 93导航网
    Theme URI: https://www.93dh.com/
    Author: 阿叶
    Author URI: https://www.93dh.com/
    Description: 
    Version: v1.1.0
*/

/*
   style.css 分区顺序（自上而下）：
   变量与基础 → 布局 → 顶栏 → 通用 .mode → 首页自助广告 → 侧栏导航 → 侧栏热门格子
   → 侧栏宽度与热门文章 → 通用网站卡片 → 分类归档 → 面包屑 → 友情链接
   → 详情页 single-site → 免责声明与评论 → 提交网址页 → 页脚
*/

/* --------------------------------------------------------------------------
   变量与基础重置
   -------------------------------------------------------------------------- */
:root {
    --bg-c: #f9f9f9;
    --pm-c: #4b87ff;
    --br-c: #eaedf1;
    --dc-c: #1e293b;
    --ac-c: #334155;
    --tc-c: #64748b;
    --md-c: #94a3b8;
    --fc-c: #fcfcfc;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", "Poppins", "Microsoft YaHei", sans-serif;
}

a,a:hover {
    text-decoration: none;
}
body {
    background-color: var(--bg-c);
    color: var(--ac-c);
}
ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uk-flex-cover {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.icon-star {
	height:18px;
	width:90px;
	position:relative;
	background-image:url(static/images/icon-star.png)
}
.icon-star::after {
	content:'';
	height:100%;
	display:block;
	position:absolute;
	top:0;
	left:0;
	background-image:url(static/images/icon-star.png);
	background-position:0 -18px
}
.star-1::after {
	width:18px
}
.star-2::after {
	width:36px
}
.star-3::after {
	width:54px
}
.star-4::after {
	width:72px
}
.star-5::after {
	width:100%
}

/* --------------------------------------------------------------------------
   布局
   -------------------------------------------------------------------------- */
main {
    margin-top: 15px;
}
.uk-container {
    max-width: 1260px;
}
.uk-grid+.uk-grid-little {
    margin-top: 8px;
}
.uk-grid-little {
    margin-left: -8px;
}
.uk-grid-little > * {
    padding-left: 8px;
}
.uk-grid-little .uk-grid-margin {
    margin-top: 8px;
}


/* --------------------------------------------------------------------------
   顶栏 Header
   -------------------------------------------------------------------------- */
#header {
    padding: 15px 0;
    background-color: var(--dc-c);
}

.topbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo a {
    display: inline-block;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* 顶栏导航 */
.nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.nav li {
    margin: 0 5px;
}
.nav a {
    display: block;
    font-size: 14px;
    color: #fff;
    padding: 0 15px;
    height: 36px;
    line-height: 38px;
    border-radius: 4px;
}
.nav .current-post-ancestor a,
.nav .current-menu-parent a ,
.nav .current-menu-item a ,
.nav li a:hover {
    font-weight: bold;
    background-color: var(--ac-c);
}
.topbtn {
    flex-shrink: 0;
}
.topbtn > a {
    position: relative;
    display: inline-block;
    height: 36px;
    line-height: 38px;
    font-size: 13px;
    padding: 0 15px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    background: var(--pm-c);
    border-radius: 4px;
}
.topbtn > a:before {
    margin-right: 5px;
    font-weight: normal;
}
/* --------------------------------------------------------------------------
   通用：区块容器 .mode
   -------------------------------------------------------------------------- */
.mode {
    background-color: #fff;
    border: 1px solid var(--br-c);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    /* box-shadow: 0 2px 12px 0 rgba(55, 99, 170, .06); */
}

.mode-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--br-c);
}
.mode-title .title {
    font-size: 15px;
    font-weight: bold;
    color: var(--dc-c);
}

.mode-title .more {
    font-size: 12px;
    color: var(--md-c);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   首页 · 自助广告位（mode-display）
   -------------------------------------------------------------------------- */
.mode-display {}
.mode-display img {
    border-radius: 2px;
}
.display-item .site-name {
}
.display-item--filled .site-name {
    font-weight: bold;
}
.mode-display .admin-tools {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 5;
}
.mode-display .admin-tools span {
    cursor: pointer;
    color: var(--md-c);
    font-size: 13px;
    cursor: pointer;
    margin-left: 3px;
}
.mode-display .display-notice {
    margin-top: 10px;
    color: var(--md-c);
    font-size: 12px;
    height: 18px;
}

.mode-display-modal {}
.mode-display-modal .form-item {
    margin-bottom: 15px;
}
.mode-display-modal .form-item label {
    font-size: 13px;
    color: var(--dc-c);
    display: block;
    margin-bottom: 5px;
}
.mode-display-modal .form-item input {
    font-size: 13px;
    border-radius: 4px;
}
.mode-display-modal .display-color {
    display: flex;
    gap: 10px;
}
.mode-display-modal .form-item select {
    font-size: 13px;
    border-radius: 4px;
}
.mode-display-modal .display-earn-rule {
    font-size: 14px;
    color: var(--md-c);
    margin: 15px 0;
}

.mode-display-modal button {
    border: none;
    outline: none;
    position: relative;
    display: inline-block;
    height: 36px;
    line-height: 38px;
    font-size: 13px;
    padding: 0 30px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    background: var(--pm-c);
    border-radius: 4px;
}
.mode-display-modal .display-points-hint {
    margin-left: 20px;
    font-size: 13px;
    color: var(--md-c);
}

/* --------------------------------------------------------------------------
   侧栏 · 网站分类导航（sidenav）
   -------------------------------------------------------------------------- */

.sidenav {
    width: 200px;
}

.sidenav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidenav > ul > .item {
    margin-bottom: 4px;
}

.sidenav > ul > .item > .sidenav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 38px;
    line-height: 40px;
    color: var(--ac-c);
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sidenav > ul > .item > .sidenav-link:hover {
    color: var(--pm-c);
    background: var(--bg-c);
}

.sidenav > ul > .item > .sidenav-link.active {
    color: #fff;
    font-weight: 600;
    background: var(--pm-c);
}

.sidenav .sub-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    margin-left: 19px;
    display: none;
    border-left: 1px solid var(--br-c);
}

.sidenav .sub-list li {
    text-indent: 3px;
}

.sidenav .sub-list .sidenav-sub-link {
    display: block;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 0;
    color: var(--tc-c);
}

.sidenav .sub-list .sidenav-sub-link:hover {
    color: var(--pm-c);
    font-weight: 600;
    background: var(--bg-c);
}

/* --------------------------------------------------------------------------
   点赞排行+访问排行+最新收录
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   侧栏 · 宽度与热门文章列表（sidebar / side-articles）
   -------------------------------------------------------------------------- */
.sidebar {
    width: 320px;
}

.side-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-article .article-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--br-c);
    background: var(--bg-c);
}

.side-article .article-item .article-thumb {
    width: 80px;
    height: 68px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.side-article .article-item .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-article .article-item .article-info {
    flex: 1;
    min-width: 0;
}

.side-article .article-item .article-title {
    height: 40px;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 21px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-article .article-item .article-title a {
    color: var(--dc-c);
    text-decoration: none;
    display: block;
}

.side-article .article-item .article-title a:hover {
    color: var(--pm-c);
}

.side-article .article-item .time {
    font-size: 12px;
    color: #909399;
}


.side-rank {}
.side-rank .rank-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--br-c);
}
.side-rank .rank-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: 0;
}
.side-rank .rank-item .num {
    display: inline-block;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 24px;
    background: var(--bg-c);
    margin-right: 10px;
}
.side-rank .rank-item .icon {
    width: 40px;
    height: 40px;
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 10px;
}
.side-rank .rank-item .icon img {
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    z-index: 1;
    position: relative;
}
.side-rank .rank-item .uk-flex-cover {
    height: 41px;
    overflow: hidden;
}
.side-rank .rank-item .name {
    color: var(--ac-c);
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 20px;
}
.side-rank .rank-item span {
        color: var(--md-c);
        font-size: 13px;
}
.side-rank .rank-item .info {
    text-align: right;
}
.side-rank .rank-item .info b {
    font-size: 13px;
    display: block;
    color: var(--tc-c);
}
.side-rank .rank-item .info span {
    font-size: 12px;
    color: var(--md-c);
}


/* --------------------------------------------------------------------------
   通用 · 网站卡片网格（site-card）
   -------------------------------------------------------------------------- */

.site-card {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    padding: 10px 12px;
    border: 1px solid var(--br-c);
    background: var(--fc-c);
}
.site-card:before {
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    right: 10px;
    color: var(--md-c);
    opacity: .6;
    font-size: 15px;
}
.site-card:hover {
    background: var(--pm-c);
    border: 1px solid var(--pm-c);
    color: #fff;
}
.site-card:hover .site-name {
    color: #fff;
}
.site-card:hover:before {
    color: #fff;
    opacity: 1;
}
.site-card .site-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-card .site-icon img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}

.site-card .site-name {
    display: block;
    font-size: 13px;
    height: 40px;
    line-height: 42px;
    color: var(--tc-c);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-card:hover .site-name {
    color: #fff !important
}
.site-card.hot {
    background: #fff8e1;
    border: 1px solid #ffecb3;
}
.site-card.hot:hover {
    background: #f57c00;
    border: 1px solid #f57c00;
}
.site-card.hot .site-name {
    color: #f57c00;
}
.site-card.hot:hover .site-name {
    color: white;
}

/* --------------------------------------------------------------------------
   分类归档页 · 分类标签与列表卡片（site-category / category-site-card）
   -------------------------------------------------------------------------- */
.site-category {}
.site-cats {}
.site-cats li {
    width: 11.111%;
    font-size: 13px;
    text-align: center;
    color: var(--md-c);
    line-height: 38px;
}
.site-cats a {
    display: block;
    align-items: center;
    padding: 0 16px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ac-c);
    text-decoration: none;
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.site-cats a:hover,
.site-cats .current-cat a {
    color: #fff;
    background: var(--pm-c);
    border-color: var(--pm-c);
}

/* 网站排行榜页（flex 列表） */
.rank-main {}

.rank-list {
    font-size: 13px;
    margin-top: 15px;
}
.rank-list .rank-row-head {
    background: var(--fc-c);
}
.rank-list .rank-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid var(--br-c);
    color: var(--ac-c);
}
.rank-list .rank-row:hover {
    background: var(--bg-c) !important;
}

/* 浏览 / 点赞 / 评论排行：6 列 */
.rank-list .rank-col {
    width: 120px;
}
.rank-list .rank-col-num {
    width: 30px;
    text-align: center;
    margin-right: 20px;
}
.rank-list .rank-col-site {
    flex: 1;
}

.rank-col-cat {
    min-width: 0;
}

.rank-col-cat .rank-cat-btn {
    display: inline-block;
    max-width: 100%;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ac-c);
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.rank-list .rank-row:hover .rank-cat-btn {
    border-color: var(--pm-c);
    color: var(--pm-c);
    background: rgba(255, 255, 255, 0.95);
}

.rank-site-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: var(--ac-c);
    text-decoration: none;
}

.rank-site-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.rank-site-link:hover {
    color: var(--pm-c);
}

.rank-site-link:hover .rank-site-domain {
    color: var(--pm-c);
    opacity: 0.85;
}

.rank-site-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.rank-site-ico img {
    max-width: 20px;
    max-height: 20px;
    width: auto;
}
.rank-site-name {
    display: block;
    min-width: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-site-domain {
    display: block;
    min-width: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-site-card {
    display: block;
    overflow: hidden;
}

.category-site-card .card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.category-site-card .card-intro {
    flex: 1;
    overflow: hidden;
}

.category-site-card .site-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.category-site-card .site-icon img {
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    display: block;
}

.category-site-card .site-name {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dc-c);
    text-align: left;
}

.category-site-card .card-url {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--tc-c);
}

.category-site-card .card-desc {
    margin: 0;
    width: auto;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
    color: var(--tc-c);
    margin-bottom: 10px;
}

.category-site-card .card-meta,
.news-archive-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--br-c);
}

.category-site-card .card-pill,
.news-archive-card .card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--tc-c);
}

.category-site-card .card-pill.ri-folder-line,
.news-archive-card .card-pill.ri-folder-line {
    color: var(--ac-c);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-site-card .card-pill.ri-eye-line,
.news-archive-card .card-pill.ri-eye-line {
    flex-shrink: 0;
    margin-left: auto;
}

.category-site-card:hover .site-name {
    color: var(--pm-c);
}

/* --------------------------------------------------------------------------
   分类归档 · 资讯样式（category-news）
   -------------------------------------------------------------------------- */
.news-category {
    margin-top: 4px;
}

.news-archive-list {
    margin-top: 0;
}

.news-archive-list > div[class*="uk-width"] {
    display: flex;
}

.news-archive-list > div[class*="uk-width"] > .news-archive-card {
    flex: 1;
    width: 100%;
}

.news-archive-card {
    overflow: hidden;
    height: 100%;
}

.news-archive-card-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    height: 100%;
    text-decoration: none;
    border-radius: 4px;
}

.news-archive-thumb {
    width: 100%;
    height: 160px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.news-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.news-archive-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #f1f5f9 0%, #e8eef5 100%);
    color: #cbd5e1;
}

.news-archive-thumb-placeholder .ri-image-line {
    font-size: 28px;
    line-height: 1;
    opacity: 0.9;
}

.news-archive-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-archive-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--dc-c);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-bottom: 8px;
}

.news-archive-card-item:hover .news-archive-title {
    color: var(--pm-c);
}

.news-archive-excerpt {
    font-size: 13px;
    line-height: 22px;
    color: var(--tc-c);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-archive-card .card-meta {
    margin-top: auto;
}

.fenye {
    margin-top: 15px;
}

.fenye .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
}

.fenye a.page-numbers,
.fenye span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--ac-c);
    background: #fff;
    border: 1px solid var(--br-c);
    border-radius: 4px;
    text-decoration: none;
}

.fenye a.page-numbers:hover {
    border-color: var(--pm-c);
    color: var(--pm-c);
}

.fenye span.page-numbers.current {
    color: #fff;
    background: var(--pm-c);
    border-color: var(--pm-c);
}

.fenye span.page-numbers.dots {
    min-width: auto;
    border: none;
    background: transparent;
    color: var(--md-c);
}

.news-archive-empty {
    margin: 0;
    padding: 32px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--tc-c);
}

/* --------------------------------------------------------------------------
   全站 · 面包屑（breadcrumb）
   -------------------------------------------------------------------------- */
.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--tc-c);
}

.breadcrumb a {
    color: var(--tc-c);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 3px;
}

.breadcrumb .separator {
    color: var(--md-c);
}

/* --------------------------------------------------------------------------
   全站 · 友情链接（friend-links）
   -------------------------------------------------------------------------- */
.friend-links {}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

.links-list a {
    color: var(--tc-c);
    text-decoration: none;
    padding: 4px 0;
    margin-right: 5px;
}

.links-list a:hover {
    color: var(--pm-c);
}

.copyright {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 15px;
}

/* --------------------------------------------------------------------------
   详情页 · 网站收录区块（single-site）
   -------------------------------------------------------------------------- */
.single-site.mode {
    position: relative;
    padding: 0;
    margin: 0 0 20px;
    overflow: hidden;
}

.single-site.mode::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--pm-c), #7c9ef8);
}

.single-site-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--br-c);
    background: linear-gradient(180deg, #fafbff 0%, #fff 55%);
}

.single-site-hero-main {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.single-site-bar {
    width: 100%;
}




.site-url-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.site-url-text {
    background: transparent;
    font-size: 14px;
    color: var(--dc-c);
    word-break: break-all;
    flex: 1;
}

.site-url-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-url-actions .item {
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
    color: var(--pm-c);
    height: 36px;
    width: 36px;
    line-height: 36px;
    text-align: center;
    
    border: 1px solid rgba(65, 119, 238, 0.35);
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-url-actions .item::before {
    font-size: 15px;
}
.site-url-actions .post-like-btn {
    background: var(--pm-c);
    color: #fff;
}

.site-url-actions a.item[class*="ri-"] {
    min-width: 36px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.site-url-card .single-site-qr {
    position: relative;
    flex-shrink: 0;
}

.site-url-qr {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
    color: var(--pm-c);
    background: #fff;
    border: 1px solid rgba(65, 119, 238, 0.35);
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-url-qr:hover {
    background: rgba(65, 119, 238, 0.08);
    color: var(--pm-c);
    border-color: rgba(65, 119, 238, 0.45);
}

.site-url-qr:focus-visible {
    outline: 2px solid var(--pm-c);
    outline-offset: 2px;
}
.single-site-qr-pop {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--br-c);
    border-radius: 4px;
    text-align: center;
    min-width: 184px;
    display: none;
    z-index: 50;
}

.single-site-qr:hover .single-site-qr-pop,
.single-site-qr:focus-within .single-site-qr-pop {
    display: block;
}

.single-site-qr-pop img {
    display: block;
    width: 152px;
    height: 152px;
    margin: 0 auto 10px;
}

.single-site-qr-pop p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.single-site-rate {
    display: flex;
    align-items: center;
    margin: 8px 0 14px;
}
.single-site-info .icon-star {
    margin: 20px 0;
}


.site-tags-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.site-tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    color: #334155;
    border: 1px dashed #cbd5e1;
}

.site-tag:hover {
    background: var(--pm-c);
    color: white;
    border-color: var(--pm-c);
    border-style: dashed;
}
.site-intro {
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
    background: #f8fafc;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
}

.single-site-go {
    background: var(--pm-c);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.single-site-icon {
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    width: 112px;
    height: 112px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.single-site-icon .icon {
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    z-index: 1;
    position: relative;
}
.single-site-info {
    flex: 1;
    min-width: 0;
}

.single-site-title {
    font-size: 22px;
    line-height: 24px;
    font-weight: bold;
    color: #0f172a;
    margin: 0;
}

.site-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.site-meta-pill i {
    font-size: 14px;
    color: var(--pm-c);
    opacity: 0.9;
}

.single-site-desc {
    font-size: 16px;
    color: #334155;
    margin-bottom: 15px;
    line-height: 1.6;
}

.single-site-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.single-site-sshot {
    margin: 20px 0;
}

.screenshot-container {
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   详情页 · 资讯文章（single-news）
   -------------------------------------------------------------------------- */
.single-news.mode {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.single-news.mode::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--pm-c), #7c9ef8);
}

.single-news-header {
    padding: 50px 20px;
    border-bottom: 1px solid var(--br-c);
    background: linear-gradient(180deg, #fafbff 0%, #fff 60%);
}

.single-news-title {
    text-align: center;
    margin: 0 0 30px;
    font-weight: bold;
    font-size: 24px;
    line-height: 26px;
    color: var(--dc-c);
}

.single-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.single-news-meta a.site-meta-pill {
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.single-news-meta a.site-meta-pill:hover {
    border-color: var(--pm-c);
    color: var(--pm-c);
}



.single-news-related {
    margin-bottom: 20px;
}

.single-news-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-news-related-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--br-c);
    font-size: 14px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.single-news-related-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.single-news-related-link {
    flex: 1;
    min-width: 0;
    color: var(--ac-c);
    text-decoration: none;
    line-height: 1.5;
}

.single-news-related-link:hover {
    color: var(--pm-c);
}

.single-news-related-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--md-c);
}

.single-news .page-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--br-c);
    font-size: 13px;
    color: var(--tc-c);
}

.single-news .page-links .page-link {
    display: inline-block;
    margin: 0 4px;
    padding: 4px 10px;
    border: 1px solid var(--br-c);
    border-radius: 4px;
}

.single-content {
    padding: 20px;
}
.single-content p {
    font-size: 15px;
    color: var(--tc-c);
    line-height: 28px;
    text-indent: 2em;
}
.single-content p img {
    display: block;
    max-width: 68%;
    margin: 0 auto;
    border-radius: 4px;
    padding: 10px 12px;
    border: 1px solid var(--br-c);
    background: var(--fc-c);
}
.single-content h3 {
    margin: 25px 0;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--dc-c);
    font-weight: bold;
    background: var(--fc-c);
    border-left: 4px solid var(--pm-c);
}

.single-content h3:first-child {
    margin-top: 0;
}
.single-content h3:last-child {
    margin-bottom: 0;
}

.single-site-tags {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    padding-left: 2em;
}

.single-site-tags li {
    display: inline-block;
    margin: 0 8px 8px 0;
}

.single-site-tags span {
    color: var(--tc-c);
    background: var(--fc-c);
    border: 1px solid var(--br-c);
    text-decoration: none;
    padding: 6px 10px;
    display: inline-block;
    font-size: 12px;
    border-radius: 4px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.single-site-tags li:not(.single-site-tags-empty) span:hover {
    background: rgba(65, 119, 238, 0.1);
    border-color: rgba(65, 119, 238, 0.35);
    color: var(--pm-c);
}

.single-site-tags-empty span {
    color: var(--md-c);
    border-style: dashed;
}

.single-site-sec--shot .single-site-shot {
    margin-top: 0;
}

/* ---------- 详情页 · 免责声明 ---------- */
.disclaimer-content {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ac-c);
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    padding: 16px 18px;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
}

.disclaimer-content p {
    margin: 0;
    margin-bottom: 15px;
    text-indent: 0;
    font-size: 14px;
    color: var(--ac-c);
}
.disclaimer-content p:last-child {
    margin-bottom: 0;
}
.single-site-feat {
    margin: 20px 0;
}

/* --------------------------------------------------------------------------
   详情页 · 评论（comments / comment-*）
   -------------------------------------------------------------------------- */
.comments-sec {}
.comments-sec .comment-form textarea,
.comments-sec .comment-input {
    border-width: 1px;
    border-color: var(--br-c);
    border-radius: 4px;
}

.comments-sec .comment-input:focus,
.comments-sec .comment-form textarea:focus {
    outline: none;
    border-color: var(--pm-c);
}

.comments-sec .comment-submit {
    background:var(--pm-c);
    border: none;
    border-radius: 4px;
    padding: 10px 22px;
    font-weight: 600;
}

.comments-container {
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--br-c);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: var(--pm-c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--dc-c);
}

.comment-date {
    font-size: 12px;
}

.comment-text {
    font-size: 14px;
    color: var(--ac-c);
    line-height: 1.5;
}

.comment-form {
    margin-top: 20px;
}
.comment-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-input {
    padding: 10px 12px;
    border: 2px solid var(--br-c);
    font-size: 14px;
    font-family: inherit;
}

.comment-input:focus {
    outline: none;
    border-color: var(--pm-c);
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid var(--br-c);
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--pm-c);
}

.comment-submit {
    background: var(--pm-c);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.comment-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* --------------------------------------------------------------------------
   页面 · 提交网址（submit-section / form-*）
   -------------------------------------------------------------------------- */
.submit-section {
    margin-bottom: 20px;
}


.submit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.fetch-group {
    flex: 0 0 140px !important;
}

.fetch-btn {
    height: 42px;
    width: 100%;
    padding: 0 16px;
    border: none;
    background: var(--pm-c);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 4px;
}

.fetch-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    color: var(--tc-c);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--br-c);
    font-size: 13px;
    line-height: 22px;
    border-radius: 4px;
    outline: none;
    color: var(--tc-c);
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--md-c);
    font-size: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pm-c);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-tips {
    background: var(--bg-c);
    padding: 20px;
    border: 1px solid var(--br-c);
}

.form-tips h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dc-c);
    margin-bottom: 15px;
}

.form-tips ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ac-c);
}

.form-tips li {
    margin-bottom: 8px;
}
.form-group .category-warp {
    padding: 12px 15px;
    border: 1px solid var(--br-c);
    font-size: 13px;
    line-height: 22px;
    border-radius: 4px;
    outline: none;
    color: var(--tc-c);
    overflow-y: scroll;
    height: 160px;
}
.form-group .category-item {
    margin-bottom: 10px;
}
.form-group .category-item .title {
    margin-bottom: 5px;
    color: var(--md-c);
}
.form-group .category-item ul {
    display: flex;
    flex-wrap: wrap;
}
.form-group .category-item ul li {
    margin-right: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.submit-btn,
.reset-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 4px;
}

.submit-btn {
    background: var(--pm-c);
    color: white;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}





/* --------------------------------------------------------------------------
   页脚（简洁）
   -------------------------------------------------------------------------- */
.footer {
    margin-top: 15px;
    padding: 20px;
    text-align: center;
    background: var(--dc-c);
}
.footer p {
    margin: 15px 0;
    font-size: 13px;
    color:var(--tc-c);
}
.footer a {
    font-size: 13px;
    color:var(--tc-c);
}


.uk-notification-message {
    font-size: 14px;
    border-radius: 3px;
}
.uk-notification-message svg {
    display: none;
}
.uk-notification-message-warning {
    background: #faa05a;
    color: #fff;
}
.uk-notification-message-success {
    background: #67C23A;
    color: #fff;
}






.site-icon {
    flex: none !important;
    width: 80px;
}
.site-icon .icon-box {
    padding: 10px;
    border: 1px solid var(--br-c);
    border-radius: 4px;
    outline: none;
    height: 48px;
    width: 48px;
    color: var(--tc-c);
    transition: border-color 0.3s ease;
}
.site-icon .icon-box img {
}







@media (max-width: 760px) {
    .uk-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .uk-grid-small {
        margin-left: -10px;
    }
    .uk-grid-small>.uk-grid-margin {
        margin-top: 10px;
    }
    .uk-grid-column-small>*, .uk-grid-small>* {
        padding-left: 10px;
    }
    .mode {
        padding: 15px;
        margin-bottom: 10px;
    }
    main {
        margin-top: 10px;
    }
    .logo {
        flex: 1;
    }
    .logo img {
        height: 32px;
    }
    .nav {
        display: none;
    }
    .topbtn > a {
        height: 32px;
        line-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    .side-nav {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -2px;
    }
    .side-nav li {
        width: 50%;
        margin-bottom: 4px;
    }
    .side-nav li:first-child {
        width: 100%;
    }
    .side-nav li:first-child a {
        justify-content: center;
        font-weight: bold;
    }
    .side-nav li a {
        margin: 0 2px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        border-radius: 4px;
        padding: 10px 12px;
        border: 1px solid var(--br-c);
        background: var(--bg-c);
        color: var(--ac-c) !important;
    }
    .site-cats li {
        width: 25%;
    }
    .site-cats .uk-grid-margin {
        margin-top: 5px;
    }
    .site-cats li a {
        padding: 0 5px;
    }
    .site-cats a {
        font-size: 13px;
    }
    .breadcrumb {
        display: none;
    }

    .single-site-hero {
        padding: 15px;
    }
    .single-site-title {
        font-size: 18px;
        line-height: 20px;
    }
    .single-site-icon {
        width: 95px;
        height: 95px;
    }
    .single-site-icon .icon {
        max-width: 50%;
        max-height: 50%;
    }
    .single-site-info .icon-star {
        margin: 12px 0 15px 0;
    }
    .single-content {
        padding: 15px;
    }
    
    .single-content p img {
        max-width: 100%;
    }

    .single-news-header {
        padding: 30px 10px;
    }

    .comment-input {
        width: 50%;
    }
    .comments-sec .comment-submit {
        width: 100%;
    }
    .sidebar {
        width: 100%;
    }
    .form-row {
        display: block;
    }
    .form-row .form-group {
        margin-bottom: 20px;
    }
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
    .site-cats {
        margin-left: -5px;
    }
    .site-cats li {
        padding-left: 5px;
    }
    .rank-list .rank-col {
        width: auto;
    }
    .rank-list .rank-col-num {
        width: 26px;
        margin: 0;
        margin-right: 10px;
    }
    
}