﻿html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}




:root {
    --simple-color: #4CAF50;
    --simple-hover: #ac1e23;
    --simple-body-bg-color: #f5f5f5;
    --simple-card-bg-color: #ffffff;
    --simple-card-white-bg-color: #ffffff;
    --simple-card-grey-bg-color: #f1f2f3;
    --simple-transparent-bg-color: #684df412;
    --simple-header-height: 55px;
    --simple-footer-height: 50px;
    --simple-black-color: #000000;
    --simple-grey-color: #878787;
    --simple-white-color: #ffffff;
    --simple-main-max-width: 1300px;
    --simple-border-radius-s: 4px;
    --simple-border-radius-m: 8px;
    --simple-border-radius-l: 4px;
    --simple-border-radius-xl: 8px;
}

*,
::after,
::before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
button,
input {
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:active {
    outline: none;
    text-decoration: none;
}

a:hover {
    color: var(--simple-hover);
}

a {
    color: var(--simple-color);
}

img {
    vertical-align: middle;
    border: none;
}


input,
input:focus {
    outline: none;
    border: 0;
}

button {
    background: unset;
    border: 0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

button:focus-visible,
button:focus {
    outline: 0;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*公共样式*/
.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

.d-initial {
    display: initial;

}

.m-1 {
    margin: 5px;
}

.m-2 {
    margin: 10px;
}

.m-3 {
    margin: 15px;
}

.m-4 {
    margin: 20px;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mr-1 {
    margin-right: 5px;
}

.mr-2 {
    margin-right: 10px;
}

.mr-3 {
    margin-right: 15px;
}

.mr-4 {
    margin-right: 20px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.ml-1 {
    margin-left: 5px;
}

.ml-2 {
    margin-left: 10px;
}

.ml-3 {
    margin-left: 15px;
}

.ml-4 {
    margin-left: 20px;
}

.p-1 {
    padding: 5px;
}

.p-2 {
    padding: 10px;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 20px;
}

.pt-1 {
    padding-top: 5px;
}

.pt-2 {
    padding-top: 10px;
}

.pt-3 {
    padding-top: 15px;
}

.pt-4 {
    padding-top: 20px;
}

.pr-1 {
    padding-right: 5px;
}

.pr-2 {
    padding-right: 10px;
}

.pr-3 {
    padding-right: 15px;
}

.pr-4 {
    padding-right: 20px;
}

.pb-1 {
    padding-bottom: 5px;
}

.pb-2 {
    padding-bottom: 10px;
}

.pb-3 {
    padding-bottom: 15px;
}

.pb-4 {
    padding-bottom: 20px;
}

.pl-1 {
    padding-left: 5px;
}

.pl-2 {
    padding-left: 10px;
}

.pl-3 {
    padding-left: 15px;
}

.pl-4 {
    padding-left: 20px;
}

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.p-sticky {
    position: sticky;
}

.align-items-center {
    align-items: center;
}

.flex-direction-column {
    flex-direction: column;
}

.text-align-center {
    text-align: center;
}

.justify-content-center {
    justify-content: center;
}

.overflow-auto {
    overflow: auto;
}

.overflow-hidden {
    overflow: hidden;
}

body {
    background: var(--simple-body-bg-color);
}

#main {
    min-height: calc(100vh - var(--simple-header-height) - var(--simple-footer-height) - 20px);
}

/*主体内容*/
.collect-card {
    width: 100%;
    background-color: var(--simple-card-bg-color);
    border-radius: var(--simple-border-radius-xl);
}

.collect-card-header {
    display: flex;
    align-items: center;
}

.collect-card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.term-separator {
    margin: 0 5px 0 15px;
    height: 10px;
    width: 2.5px;
    border-radius: 2px;
    background-color: var(--simple-color);
}

.term-tab {
    display: flex;
    flex: 1;
    overflow-x: overlay;
    overflow-y: hidden;
    height: 28px;
    align-items: center;
}
.term-tab::-webkit-scrollbar {
    height: 0;
}
.term-tab-item{
    flex-shrink: 0;
}
.term-tab-item a {
    display: block;
    position: relative;
    font-size: 14px;
    line-height: 16px;
    padding: 0 8px;
    color: var(--simple-black-color);
}

.term-active {
    color: var(--simple-color) !important;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.term-active:after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2.5px;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
    background-color: var(--simple-color);
}

.collect-card-content {
    width: 100%;
}

.collect-card-tab {
    display: none;
    flex-wrap: wrap;
}

.tab-active {
    display: flex;
}

/*网址默认风格*/
.site-def-card-item {
    width: 16.6666%;
}
.site-def-url-body {
    color: var(--simple-black-color);
    border: 1px solid #e0e0e0;
    border-radius: var(--simple-border-radius-l);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.site-def-card-item:hover .site-def-go a {
    color: var(--simple-color);
}
.site-def-url-img {
    display: flex;
    height: 40px;
    width: 40px;
    margin: 0 8px 0 3px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}
.site-def-url-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片背景右侧添加旋转45度的logo图片 */
.site-def-url-card {
    position: relative;
    overflow: hidden;
    display: block;
}

.site-def-url-info {
    flex: 1;
    width: 0;
    position: relative;
    z-index: 1;
}
.site-def-url-title {
    font-size: 16px;
    color: var(--simple-black-color);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.site-def-url-desc p{
    font-size: 13px;
    color: var(--simple-grey-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-def-tool {
    display: none;
}
.site-def-go a {
    color: var(--simple-card-grey-bg-color);
}

@media (max-width: 991px) {

    /*网址风格二、软件风格三、软件风格一*/
    .site-def-card-item,
    .site-two-card-item,
    .site-thr-card-item,
    .software-one-card-item {
        width: 33.3333%
    }
}

@media (max-width: 767px) {

    /*网址风格二、软件风格三、软件风格一*/
    .site-def-card-item,
    .site-two-card-item,
    .site-thr-card-item,
    .software-one-card-item {
        width: 50%
    }
}

/* 从index.html转移的样式 */
/* 背景样式 */
body {
	background: #f5f5f5;
	color: #333;
	margin: 0;
	padding: 0;
}

/* 主内容区 */
.main-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	margin: 0 auto 20px !important;
	margin-top: 0 !important;
	width: 95%;
	max-width: 1200px;
	box-sizing: border-box;
	border-radius: 8px;
}

/* 左侧标志 */
.logo-section {
	display: flex;
	flex-direction: column;
	margin-right: 20px;
	flex-shrink: 0;
}

.logo-main {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.logo-icon {
	margin-right: 10px;
}

.logo-text {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

/* 图标部分 */
.logo-icons {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #000 !important;
	cursor: pointer;
	text-align: center;
}

.icon-item:link,
.icon-item:visited {
	color: #000 !important;
}

.icon-item:hover {
	color: #4CAF50;
}

.icon-item img {
	vertical-align: middle;
}

/* 搜索区域 */
.search-section {
	flex: 1;
	min-width: 0;
	max-width: 900px;
	margin-left: 0;
}

/* 搜索选项 */
.search-options {
	margin-bottom: 10px;
}

.option-item {
	color: #333 !important;
	text-decoration: none;
	margin-right: 15px;
	font-size: 14px;
}

.option-item:link,
.option-item:visited {
	color: #333 !important;
}

.option-item:hover {
	color: #4CAF50;
}

.option-item.active {
	color: #4CAF50 !important;
	background-color: rgba(76, 175, 80, 0.1);
	padding: 4px 12px;
	text-decoration: none;
	position: relative;
}

.option-item.active:after {
	content: '';
	position: absolute;
	width: 15px;
	height: 2.5px;
	left: 50%;
	bottom: -2px;
	transform: translateX(-50%);
	z-index: 1;
	border-radius: 2px;
	background-color: #4CAF50;
}

.option-item.active:link,
.option-item.active:visited {
	color: #4CAF50 !important;
}

/* 搜索框 */
.search-box-wrapper {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 10px;
}

.search-box {
	display: flex;
	flex: 1;
}

/* 时间和日期显示 */
.datetime-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-left: 15px;
	border-left: 1px solid #e0e0e0;
	min-width: 100px;
}

.datetime-display .time {
	font-size: 28px;
	font-weight: bold;
	color: #4CAF50;
	line-height: 1.2;
}

.datetime-display .date {
	font-size: 12px;
	color: #666;
	margin-top: 2px;
}

.search-box input {
			flex: 1;
			padding: 12px 15px;
			border: 2px solid #4CAF50;
			border-radius: 4px 0 0 4px;
			font-size: 16px;
			outline: none;
			background-color: white;
		}

.search-box button {
	background-color: #4CAF50;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 0 4px 4px 0;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.search-box button:hover {
	background-color: #45a049;
}

/* 公告栏 */
.announcement {
	background-color: rgba(76, 175, 80, 0.1);
	padding: 10px 15px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	font-size: 14px;
	overflow: hidden;
	position: relative;
}

.announcement-icon {
	margin-right: 10px;
	color: #4CAF50;
}

.announcement-container {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 20px;
	overflow: hidden;
}

.announcement-text {
	color: #666;
	display: block;
	width: 100%;
	text-decoration: none;
	transition: opacity 0.5s ease;
	line-height: 1.5;
	padding: 2px 0;
}

.announcement-text:hover {
	color: #4CAF50;
	text-decoration: underline;
}

/* 主要内容 */
.mainContainer {
	background-color: white;
	margin: 0 auto 20px;
	width: 95%;
	max-width: 1200px;
	border-radius: 8px;
	padding: 5px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	box-sizing: border-box;
}

/* 手机端自适应布局 */
@media (max-width: 768px) {
	.main-content {
		flex-direction: column;
		align-items: stretch;
		padding: 15px;
		margin: 0 auto 20px !important;
		margin-top: 0 !important;
	}

	.logo-section {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.logo-main {
		margin-bottom: 0;
	}

	.logo-icon img {
		content: url('../imgs/logo2.png');
		height: 40px;
	}

	.logo-slogan {
		display: none;
	}

	.logo-icons {
		margin-top: 0;
		gap: 5px;
	}

	.icon-item {
		font-size: 11px;
		display: flex;
		align-items: center;
		gap: 4px;
		text-align: center;
	}

	.icon-item img {
		width: 24px;
		height: 24px;
	}

	.search-section {
		max-width: 100%;
		margin-left: 0;
	}

	.search-options {
		margin-bottom: 10px;
	}

	.option-item {
		font-size: 12px;
		margin-right: 10px;
	}

	.search-box input {
		padding: 10px 12px;
		font-size: 14px;
	}

	.search-box button {
		padding: 10px 20px;
		font-size: 14px;
	}

	/* 手机端隐藏时间日期显示 */
	.datetime-display {
		display: none;
	}

	.search-box-wrapper {
		gap: 0;
	}

	.announcement {
		font-size: 12px;
		padding: 8px 12px;
	}
	
	.announcement-container {
		height: auto;
		min-height: 16px;
	}
	
	.announcement-text {
		line-height: 1.4;
		padding: 1px 0;
	}
}

/* =====================================================
   从index.html转移的内联样式
   ===================================================== */

/* -----------------------------------------------------
   自定义字体样式
   功能：加载阿里图标库的自定义字体，用于页面显示
   ----------------------------------------------------- */
@font-face {
	font-family: 'CustomFont';
	src: url('../font/uhlYJT5xKpey.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* -----------------------------------------------------
   全局字体设置
   功能：为整个页面设置默认字体为自定义字体
   ----------------------------------------------------- */
body {
	font-family: 'CustomFont', sans-serif;
}

/* -----------------------------------------------------
   加载动画容器样式
   功能：页面加载时显示的全屏加载动画容器
   位置：固定在视口顶部，覆盖整个页面
   ----------------------------------------------------- */
#loading-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

/* -----------------------------------------------------
   加载动画图片样式
   功能：设置加载动画中GIF图片的尺寸
   ----------------------------------------------------- */
#loading-image {
	width: 100px;
	height: 100px;
}

/* -----------------------------------------------------
   收藏提示响应式样式
   功能：在移动设备上隐藏收藏提示
   断点：屏幕宽度小于等于768px时生效
   ----------------------------------------------------- */
@media (max-width: 768px) {
	#bookmark-tip {
		display: none !important;
	}
}

/* -----------------------------------------------------
   返回顶部按钮样式
   功能：页面右下角的返回顶部悬浮按钮
   位置：固定在页面右下角，距离底部80px
   ----------------------------------------------------- */
.ai-btn {
	position: fixed;
	bottom: 124px;
	right: 30px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #666666;
	border: none;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ai-btn:hover {
	background-color: #f5f5f5;
	color: #333333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ai-btn:active {
	transform: translateY(0);
}


   功能：页面右下角的夜间模式切换按钮
   位置：固定在页面右下角，距离底部130px
   ----------------------------------------------------- */
.dark-mode-toggle {
	position: fixed;
	bottom: 130px;
	right: 30px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #666666;
	border: none;
	font-size: 20px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* -----------------------------------------------------
   夜间模式切换按钮悬停效果
   ----------------------------------------------------- */
.dark-mode-toggle:hover {
	background-color: #f5f5f5;
	color: #333333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


   功能：为整个页面应用夜间模式
   ----------------------------------------------------- */
body.dark-mode {
	background: #1a1a2e;
	color: #e0e0e0;
}

body.dark-mode .main-content {
	background: #16213e;
	color: #e0e0e0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .search-section {
	color: #e0e0e0;
}

body.dark-mode .search-options .option-item {
	color: #b0b0b0 !important;
}

body.dark-mode .search-options .option-item:hover {
	color: #4CAF50 !important;
}

body.dark-mode .search-options .option-item.active {
	color: #4CAF50 !important;
	background-color: rgba(76, 175, 80, 0.2);
}

body.dark-mode .search-box input {
	background-color: #0f3460;
	color: #e0e0e0;
	border-color: #4CAF50;
}

body.dark-mode .search-box input::placeholder {
	color: #888;
}

body.dark-mode .datetime-display .time {
	color: #4CAF50;
}

body.dark-mode .datetime-display .date {
	color: #888;
}

body.dark-mode .announcement {
	background-color: rgba(76, 175, 80, 0.15);
}

body.dark-mode .announcement-text {
	color: #b0b0b0;
}

body.dark-mode .announcement-text:hover {
	color: #4CAF50;
}

body.dark-mode .mainContainer {
	background-color: #16213e;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .collect-card {
	background-color: #16213e;
}

body.dark-mode .collect-card-header h3 {
	color: #e0e0e0;
}

body.dark-mode .term-tab-item a {
	color: #b0b0b0;
}

body.dark-mode .term-active {
	color: #4CAF50 !important;
	background-color: rgba(76, 175, 80, 0.2);
}

body.dark-mode .site-def-url-body {
	border-color: #0f3460;
	background-color: #16213e;
}

body.dark-mode .site-def-url-title {
	color: #e0e0e0;
}

body.dark-mode .site-def-url-desc p {
	color: #888;
}

body.dark-mode .dark-mode-toggle {
	background-color: #16213e;
	color: #e0e0e0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dark-mode-toggle:hover {
	background-color: #0f3460;
}

body.dark-mode .footer {
	background-color: #16213e;
	color: #b0b0b0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .footer-title {
	color: #e0e0e0;
}

body.dark-mode .footer-link:link,
body.dark-mode .footer-link:visited {
	color: #888 !important;
}

body.dark-mode .footer-link:hover {
	color: #4CAF50 !important;
}

body.dark-mode .footer-copyright {
	color: #888;
	border-top-color: #0f3460;
}

body.dark-mode .logo-text {
	color: #e0e0e0;
}

body.dark-mode .icon-item {
	color: #b0b0b0 !important;
}

body.dark-mode .icon-item:hover {
	color: #4CAF50;
}

/* -----------------------------------------------------
   网站卡片优化样式
   功能：减小网站卡片的尺寸，让页面更紧凑
   ----------------------------------------------------- */

/* 减小网站卡片之间的间距 */
.simple-site {
	margin-bottom: 3px !important;
}

/* 减小网站卡片内容区域的内边距 */
.site-def-url-body {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	padding-left: 5px !important;
	padding-right: 5px !important;
}

/* 调整网站标题的字体大小和下边距 */
.site-def-url-title {
	font-size: 15px !important;
	margin-bottom: 2px !important;
}

/* 调整网站描述的字体大小和下边距 */
.site-def-url-desc p {
	font-size: 12px !important;
	margin-bottom: 0 !important;
}

/* 调整网站图标的尺寸 */
.site-def-url-img img {
	width: 40px !important;
	height: 40px !important;
}

/* -----------------------------------------------------
   友情链接和版权信息样式
   功能：页面底部的友情链接和版权信息区域
   ----------------------------------------------------- */
.footer {
	background-color: white;
	margin: 0 auto 20px;
	width: 95%;
	max-width: 1200px;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	box-sizing: border-box;
	font-size: 14px;
	color: #666;
}

.footer-title {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
}

.footer-links {
	margin-bottom: 15px;
}

.footer-link {
	color: #888 !important;
	text-decoration: none;
	margin: 0 15px 8px 0;
	font-size: 12px;
	display: inline-block;
}

.footer-link:link,
.footer-link:visited {
	color: #999 !important;
}

.footer-link:hover {
	color: #4CAF50 !important;
}

.footer-copyright {
	font-size: 12px;
	color: #999;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
	text-align: center;
}

/* 外卖红包弹窗样式 */
.waimai-popup-mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.waimai-popup-mask.active {
	display: flex;
}
.waimai-popup {
	width: 85%;
	max-width: 360px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	position: relative;
	animation: popupFadeIn 0.3s ease forwards;
}
@keyframes popupFadeIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}
.waimai-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	background: rgba(255,255,255,0.3);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}
.waimai-popup-header {
	padding: 16px 0;
	text-align: center;
	background: #4CAF50;
}
.waimai-popup-title {
	font-size: 18px;
	color: #fff;
	font-weight: bold;
	margin: 0 0 12px;
}
.waimai-tabs {
	display: flex;
	justify-content: center;
	background: rgba(255,255,255,0.2);
	border-radius: 12px;
	padding: 2px;
	max-width: 280px;
	margin: 0 auto 8px;
}
.waimai-tab-item {
	flex: 1;
	padding: 10px 0;
	border-radius: 8px;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	background: transparent;
	font-weight: normal;
}
.waimai-tab-item.active {
	background: #fff;
	color: #4CAF50;
	font-weight: bold;
}
.waimai-popup-body {
	background: #fff;
	padding: 16px;
	border-radius: 0 0 12px 12px;
}
.waimai-tab-content {
	display: none;
	animation: fadeIn 0.3s ease forwards;
}
.waimai-tab-content.active {
	display: block;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}
.waimai-content-wrapper {
	max-width: 280px;
	margin: 0 auto;
}
.waimai-qr-code {
	width: 100%;
	max-width: 280px;
	display: block;
	margin: 0 auto 12px;
}
.waimai-desc {
	font-size: 14px;
	color: #333;
	line-height: 1.6;
	margin: 8px 0;
	text-align: left;
}
.waimai-highlight {
	color: #4CAF50;
	font-weight: bold;
}
.waimai-button-container {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.waimai-btn-copy {
	flex: 1;
	background: #4CAF50;
	color: #fff;
	font-size: 14px;
	text-align: center;
	padding: 10px 0;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.3s ease;
}
.waimai-btn-order {
	flex: 1;
	background: #2e7d32;
	color: #fff;
	font-size: 14px;
	text-align: center;
	padding: 10px 0;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.3s ease;
}
.waimai-btn-copy:active, .waimai-btn-order:active {
	opacity: 0.8;
}
@media (min-width: 768px) {
	.waimai-btn-copy, .waimai-btn-order {
		display: none;
	}
}

/* 底部悬浮导航栏样式 */
.float-nav {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	padding: 8px 5px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 20px;
	max-width: 90%;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.float-nav-logo {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.float-nav-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.float-nav-item {
	color: #666;
	text-decoration: none;
	font-size: 14px;
	padding: 8px 15px;
	border-radius: 15px;
	transition: all 0.3s ease;
}

.float-nav-item:hover {
	color: #4CAF50;
	background-color: rgba(76, 175, 80, 0.1);
}

.float-nav-item.active {
	color: #4CAF50;
	font-weight: bold;
	background-color: rgba(76, 175, 80, 0.15);
}

.float-nav-divider {
	color: #e0e0e0;
	margin: 0 5px;
}

/* 移动端隐藏悬浮导航栏 */
@media (max-width: 768px) {
	.float-nav {
		display: none;
	}
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-bg-layer {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    animation: spin 20s linear infinite;
}

.footer-bottom {
    margin-bottom: 0;
    padding-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.footer .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 40px;
}

.footer .list-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
}

.footer .list-inline li {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.footer .list-inline li:first-child {
    flex: 1;
    max-width: 300px;
}

.footer .list-inline li:nth-child(2) {
    flex: 2;
    max-width: 550px;
}

.footer .list-inline li:last-child {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-end;
}

.footer .footer-miniimg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer .footer-miniimg img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0;
}

.footer .fcode-links {
    margin-bottom: 10px;
}

.footer .fcode-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #999;
}

.footer .fcode-links a:hover {
    color: #4CAF50;
}

.footer .footer-muted {
    color: #999;
    margin-bottom: 0;
}

.footer .opacity8 {
    color: #999;
}

.footer .title-h-left {
    color: #999;
}

@media (max-width: 768px) {
    .footer .list-inline {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer .list-inline li {
        width: 100%;
        max-width: 100% !important;
        align-items: center;
    }
    .footer .list-inline li:last-child {
        display: none;
    }
    .footer .fcode-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .footer .fcode-links a {
        margin-right: 0;
    }
    .footer .footer-muted {
        text-align: center;
    }
}

/* 历史记录弹窗样式 */
.history-popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.history-popup-mask.active {
    display: flex;
}
.history-popup {
    width: 85%;
    max-width: 380px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    animation: popupFadeIn 0.3s ease forwards;
}
@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.history-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.history-popup-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.history-popup-close {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.history-popup-close:hover {
    background: #e0e0e0;
}
.history-popup-body {
    max-height: 350px;
    overflow-y: auto;
    padding: 10px 0;
}
.history-list {
    padding: 0;
}
.history-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #fafafa;
    border-radius: 8px;
    margin: 8px 12px;
    border: 1px solid #f0f0f0;
}
.history-item:hover {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}
.history-item:active {
    background-color: #eeeeee;
}
.history-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.history-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.history-item-info {
    flex: 1;
    min-width: 0;
}
.history-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.history-item-url {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}
.history-item-count {
    font-size: 12px;
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
    margin-right: 8px;
}
.history-item-delete {
    width: 24px;
    height: 24px;
    border: none;
    background-color: #f0f0f0;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.history-item-delete:hover {
    background-color: #4CAF50;
    color: #fff;
}
.history-empty {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 40px 20px;
}
.history-popup-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
}
.history-clear-btn {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #4CAF50;
    transition: all 0.2s ease;
}
.history-clear-btn:hover {
    background-color: #45a049;
}
.history-clear-btn:active {
    background-color: #3d8b40;
}



/* 布局类 */
    .mt-15 { margin-top: 15px; }
    .mt-20 { margin-top: 20px; }
    .mb-20 { margin-bottom: 20px; }
    .p-15 { padding: 15px; }
    .p-20 { padding: 20px; }
    
    /* Flex布局 */
    .flex { display: flex; }
    .flex-between { display: flex; justify-content: space-between; align-items: center; }
    .flex-center { display: flex; align-items: center; justify-content: center; }
    .flex-col { display: flex; flex-direction: column; }
    
    /* 尺寸 */
    .w-auto { width: auto; }
    .h-40 { height: 40px; }
    .h-60 { height: 60px; }
    .w-32 { width: 32px; }
    .h-32 { height: 32px; }
    .w-22 { width: 22px; }
    .h-22 { height: 22px; }
    .w-44 { width: 44px; }
    .h-44 { height: 44px; }
    .w-38 { width: 38px; }
    .h-38 { height: 38px; }
    .w-20 { width: 20px; }
    .h-20 { height: 20px; }
    
    /* 文本对齐 */
    .text-center { text-align: center; }
    .text-left { text-align: left; }
    
    /* 字体大小 */
    .text-10 { font-size: 10px; }
    .text-12 { font-size: 12px; }
    .text-13 { font-size: 13px; }
    .text-14 { font-size: 14px; }
    .text-22 { font-size: 22px; }
    .font-bold { font-weight: bold; }
    
    /* 颜色 */
    .text-white { color: white; }
    .text-green { color: #2e7d32; }
    .text-gray { color: #666; }
    .text-dark { color: #333; }
    .text-black { color: #222; }
    .text-green-light { color: #16a34a; }
    .bg-green-light { background-color: #e8f5e9; }
    .bg-gray-light { background-color: #f5f5f5; }
    .bg-white { background-color: white; }
    .bg-red { background-color: #ff4444; }
    .bg-dark-overlay { background: rgba(0,0,0,0.75); }
    
    /* 边框圆角 */
    .rounded-4 { border-radius: 4px; }
    .rounded-6 { border-radius: 6px; }
    .rounded-8 { border-radius: 8px; }
    .rounded-10 { border-radius: 10px; }
    .rounded-12 { border-radius: 12px; }
    
    /* 间距 */
    .px-2 { padding-left: 2px; padding-right: 2px; }
    .px-6 { padding-left: 6px; padding-right: 6px; }
    .px-8 { padding-left: 8px; padding-right: 8px; }
    .px-16 { padding-left: 16px; padding-right: 16px; }
    .px-22 { padding-left: 22px; padding-right: 22px; }
    .py-1 { padding-top: 1px; padding-bottom: 1px; }
    .py-2 { padding-top: 2px; padding-bottom: 2px; }
    .py-8 { padding-top: 8px; padding-bottom: 8px; }
    .ml-8 { margin-left: 8px; }
    .mr-1 { margin-right: 1px; }
    .mx-5 { margin-left: 5px; margin-right: 5px; }
    .mx-6 { margin-left: 6px; margin-right: 6px; }
    .gap-5 { gap: 5px; }
    .gap-6 { gap: 6px; }
    
    /* 定位 */
    .absolute { position: absolute; }
    .relative { position: relative; }
    .fixed { position: fixed; }
    .top-n3 { top: -3px; }
    .left-n3 { left: -3px; }
    .right-12 { right: 12px; }
    .right-8 { right: 8px; }
    .bottom-20 { bottom: 20px; }
    .bottom-15 { bottom: 15px; }
    .z-10 { z-index: 10; }
    .z-9999 { z-index: 9999; }
    .z-10000 { z-index: 10000; }
    
    /* 变换 */
    .rotate-n15 { transform: rotate(-15deg); }
    
    /* 装饰 */
    .no-underline { text-decoration: none; }
    .border-green { border: 1px solid rgba(76, 175, 80, 0.3); }
    .border-green-light { border: 2px solid #b9e9c9; }
    .border-gray { border: 1px solid #eaecef; }
    
    /* 阴影 */
    .shadow-sm { box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
    .shadow-md { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    
    /* 容器 */
    .container-center { margin: 0 auto; }
    .container-95 { width: 95%; }
    .container-90 { width: 90%; }
    .max-w-1200 { max-width: 1200px; }
    .max-w-1300 { max-width: 1300px; }
    
    /* 行高 */
    .leading-17 { line-height: 1.7; }
    
    /* 显示 */
    .block { display: block; }
    .inline-block { display: inline-block; }
    .hidden { display: none; }
    .nowrap { white-space: nowrap; }
    
    /* 垂直对齐 */
    .align-middle { vertical-align: middle; }
    
    /* 背景图片 */
    .bg-contain { background-size: contain; }
    .bg-no-repeat { background-repeat: no-repeat; }
    .bg-center { background-position: center; }
    
    /* 特殊组件样式 */
    .bookmark-tip {
      background-color: white;
      margin: 0 auto 20px;
      width: 95%;
      max-width: 1200px;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      box-sizing: border-box;
      text-align: center;
      font-size: 14px;
      color: #333;
      display: block;
    }
    
    .key-badge {
      display: inline-block;
      background-color: rgba(76, 175, 80, 0.1);
      border: 1px solid rgba(76, 175, 80, 0.3);
      padding: 2px 8px;
      border-radius: 3px;
      margin: 0 5px;
    }
    
    .url-badge {
      background-color: #e8f5e9;
      color: #2e7d32;
      padding: 2px 6px;
      border-radius: 4px;
    }
    
    .float-toolbar {
      position: fixed;
      right: 12px;
      bottom: 20px;
      display: none;
      flex-direction: column;
      gap: 6px;
      z-index: 9999;
    }
    
    .float-btn {
      width: 44px;
      height: 44px;
      background: #ffffff;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .float-btn:hover { background: #f5f5f5; }
    
    .btn-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }
    
    .icon-top {
      width: 22px;
      height: 22px;
      background: url("assets/top.png") no-repeat center;
      background-size: contain;
    }
    
    .icon-save {
      width: 22px;
      height: 22px;
      background: url("assets/3.png") no-repeat center;
      background-size: contain;
    }
    
    .icon-share {
      width: 22px;
      height: 22px;
      background: url("assets/share.png") no-repeat center;
      background-size: contain;
    }
    
    .share-toast {
      position: fixed;
      right: 60px;
      bottom: 20px;
      background: rgba(0,0,0,0.75);
      color: #fff;
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 13px;
      z-index: 10000;
      display: none;
      white-space: nowrap;
    }
    
    .bottom-bookmark-tip {
      width: 90%;
      max-width: 1300px;
      margin: 20px auto;
      padding: 20px;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #eaecef;
      text-align: center;
      font-size: 22px;
      line-height: 1.7;
      color: #222;
      box-sizing: border-box;
    }
    
    .key-label {
      display: inline-block;
      background: #e8f9ed;
      border: 2px solid #b9e9c9;
      border-radius: 6px;
      padding: 8px 22px;
      margin: 0 6px;
      font-weight: bold;
      color: #16a34a;
    }
    
    .green-url {
      color: #16a34a;
      font-weight: 600;
    }
    
    @media (max-width: 768px) {
      .float-toolbar {
        right: 8px;
        bottom: 15px;
        gap: 5px;
      }
      .float-btn {
        width: 38px;
        height: 38px;
        border-radius: 8px;
      }
      .icon-top, .icon-save, .icon-share {
        width: 20px;
        height: 20px;
      }
      .bottom-bookmark-tip {
        display: none !important;
      }
    }
