﻿/* ═══════════════════════════════════════════════════════════════════════════
   书简 - 书签收藏工具样式表
   有机自然风设计 | Organic Natural Style
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   Local Fonts - 本地字体定义
   ───────────────────────────────────────────────────────────────────────────── */
@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	font-display: swap;
	src: url('fonts/instrumentsans-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/playfair-display-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/playfair-display-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/playfair-display-400i-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reset & Base - 重置与基础
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CSS Variables - 设计令牌
   ───────────────────────────────────────────────────────────────────────────── */
:root {
	/* 主色调 - Primary Colors */
	--cream: #F8F4EE;
	--cream-dark: #EDE6DA;
	--forest: #2D4A3E;
	--forest-light: #4A7C5F;
	--terracotta: #C75B39;
	--terracotta-light: #E07550;
	--bark: #5C4A3A;
	--bark-light: #8B7560;
	
	/* 文字色 - Text Colors */
	--ink: #1A1410;
	--ink-soft: #4A4038;
	
	/* 辅助色 - Accent Colors */
	--petal: #FDF8F3;
	--moss: #6B8E6B;
	--sage: #A8C4A0;
	
	/* 阴影 - Shadows */
	--shadow: rgba(42, 35, 28, 0.08);
	--shadow-hover: rgba(42, 35, 28, 0.16);
	--shadow-modal: rgba(42, 35, 28, 0.2);
	
	/* 圆角 - Border Radius */
	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 20px;
	--radius-full: 9999px;
	
	/* 字体 - Typography */
	--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	
	/* 过渡 - Transitions */
	--transition-fast: 0.15s ease;
	--transition-base: 0.25s ease;
	--transition-smooth: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	--transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	
	/* 层级 - Z-Index */
	--z-base: 1;
	--z-header: 10;
	--z-overlay: 50;
	--z-modal: 100;
	--z-toast: 200;
	--z-skip: 300;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HTML & Body - 根元素
   ───────────────────────────────────────────────────────────────────────────── */
html {
	scroll-behavior: smooth;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-sans);
	background: var(--cream);
	color: var(--ink);
	min-height: 100vh;
	line-height: 1.6;
	position: relative;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* 颗粒纹理背景 - Grain Texture Background */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 300px 300px;
	opacity: 0.035;
	pointer-events: none;
	z-index: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   App Container - 应用容器
   ───────────────────────────────────────────────────────────────────────────── */
#app {
	position: relative;
	z-index: var(--z-base);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Skip Link - 无障碍跳转链接
   ───────────────────────────────────────────────────────────────────────────── */
.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	background: var(--forest);
	color: var(--petal);
	padding: 10px 18px;
	border-radius: 8px;
	z-index: var(--z-skip);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: top var(--transition-fast);
	box-shadow: 0 4px 12px var(--shadow-hover);
}

.skip-link:focus {
	top: 16px;
	outline: 3px solid var(--terracotta);
	outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Leaf Decorations - 叶子装饰
   ───────────────────────────────────────────────────────────────────────────── */
.leaf-deco {
	position: fixed;
	pointer-events: none;
	z-index: 0;
	opacity: 0.08;
	font-size: 120px;
	line-height: 1;
	user-select: none;
}

.leaf-deco.tl {
	top: -20px;
	left: -20px;
	transform: rotate(-15deg);
}

.leaf-deco.br {
	bottom: -30px;
	right: -20px;
	transform: rotate(160deg);
	font-size: 144px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Header - 页头
   ───────────────────────────────────────────────────────────────────────────── */
.header {
	padding: 48px 24px 32px;
	text-align: center;
	position: relative;
}

.header::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--forest), var(--terracotta));
	border-radius: 3px;
	margin: 20px auto 0;
}

.header h1 {
	font-family: var(--font-serif);
	font-size: clamp(40px, 7vw, 72px);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--forest);
	line-height: 1.1;
}

.header p {
	color: var(--bark-light);
	font-size: clamp(15px, 2vw, 18px);
	margin-top: 8px;
	font-weight: 400;
	letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Count Badge - 计数徽章
   ───────────────────────────────────────────────────────────────────────────── */
.count-badge {
	display: inline-block;
	background: var(--sage);
	color: var(--petal);
	font-size: 13px;
	font-weight: 500;
	padding: 4px 14px;
	border-radius: 20px;
	margin-top: 12px;
	letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Main Content - 主内容区
   ───────────────────────────────────────────────────────────────────────────── */
.main {
	position: relative;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Controls - 控制栏
   ───────────────────────────────────────────────────────────────────────────── */
.controls {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Search - 搜索框
   ───────────────────────────────────────────────────────────────────────────── */
.search-wrap {
	flex: 1;
	min-width: 200px;
	position: relative;
}

.search-wrap .search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--bark-light);
	font-size: 16px;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-wrap .search-icon svg {
	width: 18px;
	height: 18px;
}

.search-wrap input,
.search-wrap .search-input {
	width: 100%;
	padding: 11px 14px 11px 40px;
	border: 2px solid var(--cream-dark);
	border-radius: var(--radius-sm);
	background: var(--petal);
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--ink);
	outline: none;
	transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.search-wrap input:focus,
.search-wrap .search-input:focus {
	border-color: var(--forest-light);
	box-shadow: 0 0 0 3px rgba(74, 124, 95, 0.15);
}

.search-wrap input::placeholder,
.search-wrap .search-input::placeholder {
	color: var(--bark-light);
	opacity: 0.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Filter Group - 筛选按钮组
   ───────────────────────────────────────────────────────────────────────────── */
.filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.filter-btn {
	padding: 7px 16px;
	border-radius: var(--radius-full);
	border: 2px solid var(--cream-dark);
	background: transparent;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	color: var(--bark);
	cursor: pointer;
	transition: all var(--transition-fast);
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.filter-btn:hover {
	border-color: var(--forest-light);
	color: var(--forest);
	background: rgba(74, 124, 95, 0.05);
}

.filter-btn:focus {
	outline: 3px solid rgba(74, 124, 95, 0.3);
	outline-offset: 2px;
}

.filter-btn.active {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--petal);
}

.filter-btn.active:hover {
	background: var(--forest-light);
	border-color: var(--forest-light);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Category Filters (Legacy) - 分类筛选（兼容旧版）
   ───────────────────────────────────────────────────────────────────────────── */
.category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 24px 20px;
	max-width: 900px;
	margin: 0 auto;
}

.cat-btn {
	padding: 7px 18px;
	border-radius: 20px;
	border: 2px solid var(--cream-dark);
	background: transparent;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 500;
	color: var(--bark);
	cursor: pointer;
	transition: all var(--transition-fast);
	letter-spacing: 0.3px;
}

.cat-btn:hover {
	border-color: var(--forest-light);
	color: var(--forest);
}

.cat-btn.active {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--petal);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Add Button - 添加按钮
   ───────────────────────────────────────────────────────────────────────────── */
.add-area {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px 24px;
}

.add-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: var(--radius-sm);
	border: 2px dashed var(--bark-light);
	background: transparent;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 500;
	color: var(--bark);
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
}

.add-btn:hover {
	border-color: var(--terracotta);
	color: var(--terracotta);
	background: rgba(199, 91, 57, 0.05);
}

.add-btn:focus {
	outline: 3px solid rgba(199, 91, 57, 0.3);
	outline-offset: 2px;
}

.add-btn svg {
	flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Grid - 网格布局
   ───────────────────────────────────────────────────────────────────────────── */
.grid {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px 80px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.grid.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Empty State - 空状态
   ───────────────────────────────────────────────────────────────────────────── */
.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	text-align: center;
	padding: 40px 24px;
}

.empty-icon {
	font-size: 52px;
	opacity: 0.3;
	margin-bottom: 12px;
	line-height: 1;
}

.empty-text {
	color: var(--bark-light);
	font-size: 15px;
	line-height: 1.6;
}

.empty-state p {
	color: var(--bark-light);
	font-size: 15px;
	line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Bookmark List - 书签列表
   ───────────────────────────────────────────────────────────────────────────── */
.bookmark-list {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px 80px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Bookmark Card - 书签卡片（核心样式）
   ───────────────────────────────────────────────────────────────────────────── */
.bookmark-card {
	background: var(--petal);
	border-radius: var(--radius);
	padding: 0;
	box-shadow: 0 2px 8px var(--shadow);
	border: 1px solid transparent;
	transition: all var(--transition-smooth);
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.bookmark-card:hover {
	box-shadow: 0 8px 24px var(--shadow-hover);
	transform: translateY(-3px);
	border-color: var(--cream-dark);
}

.bookmark-card:focus-within {
	outline: 3px solid rgba(74, 124, 95, 0.3);
	outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Inner - 卡片内部布局
   ───────────────────────────────────────────────────────────────────────────── */
.card-inner {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	position: relative;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Left - 卡片左侧（Favicon区域）
   ───────────────────────────────────────────────────────────────────────────── */
.card-left {
	flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Favicon - 网站图标
   ───────────────────────────────────────────────────────────────────────────── */
.favicon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 2px 6px var(--shadow);
	position: relative;
}

.favicon {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.favicon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.favicon-placeholder {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--forest);
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--sage) 0%, var(--moss) 100%);
	color: var(--petal);
	border-radius: 12px;
}

.favicon-placeholder.lg {
	width: 64px;
	height: 64px;
	font-size: 28px;
	border-radius: 16px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Body - 卡片内容区
   ───────────────────────────────────────────────────────────────────────────── */
.card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Top - 标题与标签行
   ───────────────────────────────────────────────────────────────────────────── */
.card-top {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Title - 卡片标题
   ───────────────────────────────────────────────────────────────────────────── */
.card-title {
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	flex: 1;
	min-width: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Tag - 卡片标签
   ───────────────────────────────────────────────────────────────────────────── */
.card-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: var(--radius-full);
	background: var(--sage);
	color: var(--forest);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	flex-shrink: 0;
	margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card URL - 卡片网址
   ───────────────────────────────────────────────────────────────────────────── */
.card-url {
	font-size: 12px;
	color: var(--bark-light);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Description - 卡片描述
   ───────────────────────────────────────────────────────────────────────────── */
.card-desc {
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 4px 0 0 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Time - 卡片时间
   ───────────────────────────────────────────────────────────────────────────── */
.card-time {
	font-size: 11px;
	color: var(--bark-light);
	margin-top: 4px;
	display: block;
	opacity: 0.8;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Actions - 卡片操作按钮组
   ───────────────────────────────────────────────────────────────────────────── */
.card-actions {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
	opacity: 0;
	transition: opacity var(--transition-fast);
}

.bookmark-card:hover .card-actions,
.bookmark-card:focus-within .card-actions {
	opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Action Button - 操作按钮
   ───────────────────────────────────────────────────────────────────────────── */
.action-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: none;
	background: var(--cream);
	color: var(--bark-light);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
	text-decoration: none;
}

.action-btn:hover {
	background: var(--cream-dark);
	color: var(--ink);
}

.action-btn:focus {
	outline: 2px solid var(--forest-light);
	outline-offset: 2px;
}

.action-btn svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* Visit Button - 访问按钮 */
.action-btn.visit:hover {
	background: var(--forest-light);
	color: var(--petal);
}

/* Info Button - 详情按钮 */
.action-btn.info:hover {
	background: var(--sage);
	color: var(--forest);
}

/* Edit Button - 编辑按钮 */
.action-btn.edit:hover {
	background: var(--moss);
	color: var(--petal);
}

/* Delete Button - 删除按钮 */
.action-btn.delete:hover {
	background: var(--terracotta);
	color: var(--petal);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Legacy Card Styles - 兼容旧版卡片样式
   ───────────────────────────────────────────────────────────────────────────── */
.card {
	background: var(--petal);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: 0 2px 8px var(--shadow);
	border: 1px solid transparent;
	transition: all var(--transition-smooth);
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.card:hover {
	box-shadow: 0 8px 24px var(--shadow-hover);
	transform: translateY(-3px);
	border-color: var(--cream-dark);
}

.card .favicon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--cream-dark);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	overflow: hidden;
}

.card .favicon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.card .card-info {
	flex: 1;
	min-width: 0;
}

.card .card-title {
	font-family: var(--font-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card .card-url {
	font-size: 12px;
	color: var(--bark-light);
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card .card-desc {
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.5;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 12px;
}

.card .card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 10px;
	border-top: 1px solid var(--cream-dark);
}

.card .card-category {
	font-size: 11px;
	font-weight: 500;
	color: var(--forest-light);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.card .card-delete {
	background: none;
	border: none;
	color: var(--bark-light);
	font-size: 16px;
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 6px;
	transition: all var(--transition-fast);
	opacity: 0;
}

.card:hover .card-delete {
	opacity: 0.6;
}

.card .card-delete:hover {
	opacity: 1;
	color: var(--terracotta);
	background: rgba(199, 91, 57, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Panel Overlay - 详情面板遮罩
   ───────────────────────────────────────────────────────────────────────────── */
.panel-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 20, 16, 0.35);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-modal);
	padding: 24px;
	animation: fadeIn var(--transition-fast) ease;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Detail Panel - 详情面板
   ───────────────────────────────────────────────────────────────────────────── */
.detail-panel {
	background: var(--petal);
	border-radius: var(--radius);
	width: 100%;
	max-width: 420px;
	box-shadow: 0 20px 60px var(--shadow-modal);
	animation: slideUp var(--transition-smooth);
	overflow: hidden;
}

/* Panel Header - 面板头部 */
.panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid var(--cream-dark);
	background: var(--cream);
}

.panel-title {
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--forest);
	margin: 0;
}

.panel-close {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: none;
	background: transparent;
	color: var(--bark-light);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
}

.panel-close:hover {
	background: var(--cream-dark);
	color: var(--ink);
}

.panel-close:focus {
	outline: 2px solid var(--forest-light);
	outline-offset: 2px;
}

/* Panel Body - 面板内容 */
.panel-body {
	padding: 24px;
}

.panel-favicon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px var(--shadow);
	overflow: hidden;
}

.panel-favicon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 16px;
}

.panel-bookmark-title {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.panel-url {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--forest-light);
	text-decoration: none;
	word-break: break-all;
	line-height: 1.5;
}

.panel-url:hover {
	text-decoration: underline;
	color: var(--forest);
}

.panel-desc {
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.7;
	margin: 16px 0;
	padding: 16px 0;
	border-top: 1px solid var(--cream-dark);
	border-bottom: 1px solid var(--cream-dark);
}

.panel-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.panel-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	background: var(--sage);
	color: var(--forest);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.panel-meta time {
	font-size: 12px;
	color: var(--bark-light);
}

/* Panel Footer - 面板底部 */
.panel-footer {
	display: flex;
	gap: 10px;
	padding: 18px 24px;
	border-top: 1px solid var(--cream-dark);
	background: var(--cream);
}

.panel-footer .btn {
	flex: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Modal Overlay - 弹窗遮罩
   ───────────────────────────────────────────────────────────────────────────── */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 20, 16, 0.4);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-modal);
	padding: 24px;
	animation: fadeIn var(--transition-fast) ease;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Modal - 弹窗
   ───────────────────────────────────────────────────────────────────────────── */
.modal {
	background: var(--petal);
	border-radius: var(--radius);
	width: 100%;
	max-width: 460px;
	box-shadow: 0 20px 60px var(--shadow-modal);
	animation: slideUp var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

/* Modal Header - 弹窗头部 */
.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px 0;
}

.modal-header h3 {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--forest);
	margin: 0;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: none;
	background: transparent;
	color: var(--bark-light);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
}

.modal-close:hover {
	background: var(--cream-dark);
	color: var(--ink);
}

.modal-close:focus {
	outline: 2px solid var(--forest-light);
	outline-offset: 2px;
}

/* Legacy Modal Close */
.modal .modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	font-size: 22px;
	color: var(--bark-light);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 8px;
	transition: all var(--transition-fast);
}

.modal .modal-close:hover {
	background: var(--cream-dark);
	color: var(--ink);
}

.modal h2 {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 700;
	color: var(--forest);
	margin-bottom: 6px;
}

.modal .modal-sub {
	font-size: 14px;
	color: var(--bark-light);
	margin-bottom: 24px;
}

/* Modal Form - 弹窗表单 */
.modal form {
	padding: 24px;
}

/* Modal Footer - 弹窗底部 */
.modal-footer {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	padding-top: 8px;
	margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Form Group - 表单组
   ───────────────────────────────────────────────────────────────────────────── */
.form-group {
	margin-bottom: 16px;
}

.form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-soft);
	margin-bottom: 6px;
	letter-spacing: 0.3px;
}

.form-group label .required {
	color: var(--terracotta);
	margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid var(--cream-dark);
	border-radius: var(--radius-sm);
	background: var(--cream);
	font-family: var(--font-sans);
	font-size: 14px;
	color: var(--ink);
	outline: none;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--forest-light);
	box-shadow: 0 0 0 3px rgba(74, 124, 95, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--bark-light);
	opacity: 0.6;
}

.form-group textarea {
	resize: vertical;
	min-height: 80px;
	line-height: 1.5;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B7560' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
	cursor: pointer;
}

.form-group datalist {
	display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Field Error - 字段错误提示
   ───────────────────────────────────────────────────────────────────────────── */
.field-error {
	display: block;
	font-size: 12px;
	color: var(--terracotta);
	margin-top: 4px;
	line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Form Row - 表单行
   ───────────────────────────────────────────────────────────────────────────── */
.form-row {
	display: flex;
	gap: 12px;
}

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

/* ─────────────────────────────────────────────────────────────────────────────
   Buttons - 按钮样式
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all var(--transition-fast);
	letter-spacing: 0.3px;
	text-decoration: none;
	white-space: nowrap;
}

.btn:focus {
	outline: 3px solid rgba(74, 124, 95, 0.3);
	outline-offset: 2px;
}

/* Primary Button - 主要按钮 */
.btn-primary {
	background: var(--forest);
	color: var(--petal);
}

.btn-primary:hover {
	background: var(--forest-light);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(45, 74, 62, 0.25);
}

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

/* Secondary Button - 次要按钮 */
.btn-secondary {
	background: var(--cream-dark);
	color: var(--ink-soft);
}

.btn-secondary:hover {
	background: #DDD4C5;
	color: var(--ink);
}

/* Ghost Button - 幽灵按钮 */
.btn-ghost {
	background: transparent;
	color: var(--bark-light);
	border: 2px solid var(--cream-dark);
}

.btn-ghost:hover {
	background: var(--cream-dark);
	color: var(--ink);
}

/* Danger Button - 危险按钮 */
.btn-danger {
	background: var(--terracotta);
	color: var(--petal);
}

.btn-danger:hover {
	background: var(--terracotta-light);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(199, 91, 57, 0.25);
}

/* Icon Button - 图标按钮 */
.btn-icon {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 10px;
}

.btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Form Actions - 表单操作区
   ───────────────────────────────────────────────────────────────────────────── */
.form-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Toast - 提示消息
   ───────────────────────────────────────────────────────────────────────────── */
.toast {
	position: fixed;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--forest);
	color: var(--petal);
	padding: 12px 24px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 8px 24px rgba(45, 74, 62, 0.3);
	z-index: var(--z-toast);
	animation: toastIn var(--transition-smooth);
}

.toast.toast-leave-active {
	animation: toastOut var(--transition-fast) ease forwards;
}

@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes toastOut {
	from {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	to {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Detail Modal (Legacy) - 详情弹窗（兼容旧版）
   ───────────────────────────────────────────────────────────────────────────── */
.detail-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 20, 16, 0.35);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-modal);
	padding: 24px;
}

.detail-modal {
	background: var(--petal);
	border-radius: var(--radius);
	width: 100%;
	max-width: 500px;
	padding: 36px 32px 28px;
	box-shadow: 0 20px 60px rgba(42, 35, 28, 0.2);
	animation: slideUp var(--transition-smooth);
}

.detail-modal .dt-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--cream-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 14px;
	overflow: hidden;
}

.detail-modal .dt-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.detail-modal h2 {
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 700;
	color: var(--ink);
}

.detail-modal .dt-url {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--forest-light);
	text-decoration: none;
	margin-top: 4px;
}

.detail-modal .dt-url:hover {
	text-decoration: underline;
}

.detail-modal .dt-desc {
	font-size: 15px;
	color: var(--ink-soft);
	line-height: 1.6;
	margin: 16px 0;
	padding: 16px 0;
	border-top: 1px solid var(--cream-dark);
	border-bottom: 1px solid var(--cream-dark);
}

.detail-modal .dt-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Animations - 动画
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cardIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Card Enter Animation - 卡片进入动画 */
.card-enter {
	animation: cardIn var(--transition-smooth) both;
}

/* Staggered Animation - 交错动画 */
.bookmark-card:nth-child(1) { animation-delay: 0ms; }
.bookmark-card:nth-child(2) { animation-delay: 50ms; }
.bookmark-card:nth-child(3) { animation-delay: 100ms; }
.bookmark-card:nth-child(4) { animation-delay: 150ms; }
.bookmark-card:nth-child(5) { animation-delay: 200ms; }
.bookmark-card:nth-child(6) { animation-delay: 250ms; }
.bookmark-card:nth-child(7) { animation-delay: 300ms; }
.bookmark-card:nth-child(8) { animation-delay: 350ms; }
.bookmark-card:nth-child(9) { animation-delay: 400ms; }
.bookmark-card:nth-child(10) { animation-delay: 450ms; }

/* ─────────────────────────────────────────────────────────────────────────────
   Scrollbar - 滚动条
   ───────────────────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--cream);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb {
	background: var(--cream-dark);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--bark-light);
}

/* Firefox Scrollbar */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--cream-dark) var(--cream);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Selection - 选中文本
   ───────────────────────────────────────────────────────────────────────────── */
::selection {
	background: var(--sage);
	color: var(--ink);
}

::-moz-selection {
	background: var(--sage);
	color: var(--ink);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Focus Visible - 焦点可见性
   ───────────────────────────────────────────────────────────────────────────── */
:focus-visible {
	outline: 3px solid rgba(74, 124, 95, 0.4);
	outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
	outline: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Responsive - 响应式布局
   ───────────────────────────────────────────────────────────────────────────── */

/* Tablet - 平板 */
@media (max-width: 768px) {
	.header {
		padding: 40px 20px 28px;
	}
	
	.header h1 {
		font-size: clamp(36px, 6vw, 56px);
	}
	
	.controls {
		padding: 0 20px 24px;
		gap: 10px;
	}
	
	.search-wrap {
		min-width: 100%;
		order: 1;
	}
	
	.filter-group {
		order: 2;
		width: 100%;
	}
	
	.add-btn {
		order: 3;
	}
	
	.bookmark-list {
		grid-template-columns: 1fr;
		padding: 0 20px 60px;
		gap: 16px;
	}
	
	.grid {
		grid-template-columns: 1fr;
		padding: 0 20px 60px;
		gap: 14px;
	}
	
	.category-filters {
		padding: 0 20px 16px;
	}
	
	.add-area {
		padding: 0 20px 20px;
	}
	
	.leaf-deco {
		font-size: 80px;
		opacity: 0.05;
	}
	
	.leaf-deco.br {
		font-size: 100px;
	}
	
	.modal {
		max-width: 100%;
		margin: 16px;
	}
	
	.detail-panel {
		max-width: 100%;
		margin: 16px;
	}
	
	.panel-body {
		padding: 20px;
	}
	
	.panel-footer {
		padding: 16px 20px;
	}
}

/* Mobile - 手机 */
@media (max-width: 600px) {
	.header {
		padding: 32px 16px 24px;
	}
	
	.header h1 {
		font-size: clamp(32px, 5vw, 48px);
	}
	
	.header p {
		font-size: 14px;
	}
	
	.controls {
		padding: 0 16px 20px;
		gap: 8px;
	}
	
	.search-wrap input,
	.search-wrap .search-input {
		padding: 10px 12px 10px 38px;
		font-size: 16px; /* Prevent zoom on iOS */
	}
	
	.filter-btn {
		padding: 6px 12px;
		font-size: 12px;
	}
	
	.add-btn {
		padding: 8px 16px;
		font-size: 13px;
	}
	
	.bookmark-list {
		grid-template-columns: 1fr;
		padding: 0 16px 50px;
		gap: 14px;
	}
	
	.bookmark-card {
		border-radius: var(--radius-sm);
	}
	
	.card-inner {
		padding: 14px;
		gap: 12px;
	}
	
	.favicon-wrap {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}
	
	.favicon-placeholder {
		font-size: 18px;
	}
	
	.card-title {
		font-size: 15px;
	}
	
	.card-url {
		font-size: 11px;
	}
	
	.card-desc {
		font-size: 12px;
	}
	
	.card-time {
		font-size: 10px;
	}
	
	.card-actions {
		opacity: 1; /* Always visible on mobile */
		gap: 3px;
	}
	
	.action-btn {
		width: 28px;
		height: 28px;
		border-radius: 6px;
	}
	
	.action-btn svg {
		width: 13px;
		height: 13px;
	}
	
	.category-filters {
		padding: 0 16px 16px;
		gap: 5px;
	}
	
	.cat-btn {
		padding: 6px 14px;
		font-size: 12px;
	}
	
	.add-area {
		padding: 0 16px 16px;
	}
	
	.grid {
		grid-template-columns: 1fr;
		padding: 0 16px 60px;
		gap: 14px;
	}
	
	.modal {
		padding: 24px 20px;
		border-radius: var(--radius-sm);
	}
	
	.modal-header {
		padding: 20px 20px 0;
	}
	
	.modal form {
		padding: 20px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	
	.form-group input,
	.form-group select,
	.form-group textarea {
		font-size: 16px; /* Prevent zoom on iOS */
	}
	
	.modal-footer {
		flex-direction: column;
		gap: 8px;
	}
	
	.modal-footer .btn {
		width: 100%;
	}
	
	.detail-panel {
		border-radius: var(--radius-sm);
	}
	
	.panel-header {
		padding: 14px 18px;
	}
	
	.panel-title {
		font-size: 16px;
	}
	
	.panel-body {
		padding: 18px;
	}
	
	.panel-favicon {
		width: 56px;
		height: 56px;
		border-radius: 14px;
	}
	
	.panel-bookmark-title {
		font-size: 20px;
	}
	
	.panel-url {
		font-size: 12px;
	}
	
	.panel-desc {
		font-size: 13px;
		padding: 12px 0;
	}
	
	.panel-footer {
		padding: 14px 18px;
		flex-direction: column;
		gap: 8px;
	}
	
	.panel-footer .btn {
		width: 100%;
	}
	
	.detail-modal {
		padding: 28px 20px 24px;
		border-radius: var(--radius-sm);
	}
	
	.toast {
		bottom: 24px;
		left: 16px;
		right: 16px;
		transform: none;
		text-align: center;
	}
	
	@keyframes toastIn {
		from {
			opacity: 0;
			transform: translateY(20px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	@keyframes toastOut {
		from {
			opacity: 1;
			transform: translateY(0);
		}
		to {
			opacity: 0;
			transform: translateY(20px);
		}
	}
	
	.leaf-deco {
		display: none;
	}
}

/* Small Mobile - 小屏手机 */
@media (max-width: 380px) {
	.header h1 {
		font-size: 28px;
	}
	
	.filter-group {
		gap: 4px;
	}
	
	.filter-btn {
		padding: 5px 10px;
		font-size: 11px;
	}
	
	.card-inner {
		flex-wrap: wrap;
	}
	
	.card-left {
		order: 1;
	}
	
	.card-body {
		order: 2;
		width: calc(100% - 52px);
	}
	
	.card-actions {
		order: 3;
		width: 100%;
		flex-direction: row;
		justify-content: flex-end;
		padding-top: 10px;
		border-top: 1px solid var(--cream-dark);
		margin-top: 8px;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Print Styles - 打印样式
   ───────────────────────────────────────────────────────────────────────────── */
@media print {
	* {
		background: white !important;
		color: black !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	body::before,
	.leaf-deco,
	.skip-link,
	.card-actions,
	.filter-group,
	.add-btn,
	.modal-overlay,
	.panel-overlay,
	.toast {
		display: none !important;
	}
	
	.header {
		padding: 20px 0;
	}
	
	.header::after {
		display: none;
	}
	
	.bookmark-card,
	.card {
		break-inside: avoid;
		page-break-inside: avoid;
		border: 1px solid #ccc;
		margin-bottom: 12px;
	}
	
	.bookmark-list,
	.grid {
		display: block;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reduced Motion - 减少动画
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	
	html {
		scroll-behavior: auto;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Dark Mode Support - 深色模式支持（可选）
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
	/* Uncomment to enable dark mode
	:root {
		--cream: #1A1410;
		--cream-dark: #2A2420;
		--petal: #2D2824;
		--forest: #6B8E6B;
		--forest-light: #8BB08B;
		--terracotta: #E07550;
		--terracotta-light: #F09070;
		--bark: #A89080;
		--bark-light: #C0B0A0;
		--ink: #F8F4EE;
		--ink-soft: #C0B8B0;
		--sage: #4A6A4A;
		--moss: #5A7A5A;
		--shadow: rgba(0, 0, 0, 0.2);
		--shadow-hover: rgba(0, 0, 0, 0.3);
	}
	*/
}

/* ─────────────────────────────────────────────────────────────────────────────
   High Contrast - 高对比度模式
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-contrast: high) {
	:root {
		--shadow: rgba(0, 0, 0, 0.15);
		--shadow-hover: rgba(0, 0, 0, 0.25);
	}
	
	.bookmark-card,
	.card {
		border: 2px solid var(--bark);
	}
	
	.filter-btn,
	.cat-btn {
		border-width: 2px;
	}
	
	.btn {
		border: 2px solid currentColor;
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   Utility Classes - 工具类
   ───────────────────────────────────────────────────────────────────────────── */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hidden {
	display: none !important;
}

.invisible {
	visibility: hidden;
}

.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   END - 样式表结束
   ═══════════════════════════════════════════════════════════════════════════ */
