/* EmojiBase - 小清新 design system */

:root {
    --ink: #2f3a35;
    --bg: #fcfdfb;
    --bg-2: #f5f9f6;
    --bg-3: #edf5f0;
    --line: #e5ede8;
    --line-2: #eff5f1;
    --t1: #2f3a35;
    --t2: #64746c;
    --t3: #93a29b;
    --accent: #6aa78e;
    --accent-ink: #41765f;
    --accent-soft: #eef8f2;
    --accent-line: #d6e9de;
    --yellow: #f0c98a;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    --s1: 5px;
    --s2: 10px;
    --s3: 15px;
    --s4: 20px;
    --s5: 25px;
    --s6: 30px;

    --max: 1200px;
    --pad: 20px;
    --r: 12px;
    --r-sm: 10px;
    --r-lg: 22px;
    --shadow: 0 12px 34px -28px rgba(47, 58, 53, .28);
    --shadow-soft: 0 6px 20px -20px rgba(47, 58, 53, .22);
    --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--t1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hidden { display: none !important; }
.is-hidden { display: none !important; }

.mono { font-family: var(--mono); }

.micro {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t3);
}

.block-label {
    margin-bottom: var(--s2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--t3);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 300;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    transition: top .15s;
}

.skip-link:focus { top: 12px; }

/* ========== 头部 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    height: 66px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand { display: flex; align-items: center; gap: 9px; flex: none; }

.brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--yellow), #ffb03a);
    font-size: 19px;
    line-height: 1;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
    transition: transform .3s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.03em; }

.main-nav { display: none; align-items: center; gap: 2px; }

.nav-link {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--t2);
    transition: color .15s, background .15s;
}

.nav-link:hover { color: var(--t1); background: var(--bg-2); }
.nav-link.is-active { color: var(--accent-ink); font-weight: 600; background: var(--accent-soft); }

/* 搜索 */
.site-search {
    position: relative;
    display: none;
    align-items: center;
    flex: 1 1 180px;
    min-width: 140px;
    max-width: 380px;
    margin-left: auto;
}

.search-icon {
    position: absolute;
    left: 13px;
    width: 15px;
    height: 15px;
    color: var(--t3);
    pointer-events: none;
}

.site-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 37px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    font-size: 14px;
    color: var(--t1);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.site-search input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, .1);
}

.site-search input::placeholder { color: var(--t3); }
.site-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.site-search-mobile { display: flex; max-width: none; margin: 0 0 var(--s3); }
.site-search-mobile input { height: 44px; }

.search-hero { display: flex; max-width: 560px; flex: 0 1 560px; margin: 0 auto; }
.search-hero input {
    height: 52px;
    padding-left: 46px;
    border: 1px solid var(--accent-line);
    background: #fff;
    font-size: 16px;
    box-shadow: var(--shadow-soft);
}
.search-hero .search-icon { width: 18px; height: 18px; left: 17px; color: var(--accent); }

/* 语言 / 菜单按钮 */
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lang-selector { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--t2);
    transition: border-color .15s, color .15s, background .15s;
}

.lang-btn:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.lang-icon { width: 14px; height: 14px; }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-height: 340px;
    overflow-y: auto;
    padding: 6px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 20px 40px -20px rgba(15, 20, 50, .35);
    z-index: 200;
}

.lang-option { display: block; padding: 8px 11px; font-size: 13px; border-radius: 8px; color: var(--t2); }
.lang-option:hover { background: var(--bg-2); color: var(--t1); }
.lang-option.active { color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--t1);
    transition: border-color .15s;
}

.menu-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.menu-btn svg { width: 18px; height: 18px; }

/* 分类条 */
.cat-bar { border-top: 1px solid var(--line-2); background: #fff; }

.cat-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-bar-inner::-webkit-scrollbar { display: none; }

.cat-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 9px 10px 8px;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    color: var(--t2);
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}

.cat-bar-link:hover { color: var(--t1); }
.cat-bar-link.is-active { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; }
.cat-bar-emoji { font-size: 15px; line-height: 1; }

.mobile-menu {
    border-top: 1px solid var(--line);
    padding: var(--s3) var(--pad) var(--s4);
    background: var(--bg);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
}

.mobile-nav-link { display: block; padding: 10px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.mobile-nav-link:hover { background: var(--bg-2); }

.mobile-cat-label { margin: var(--s3) 0 var(--s2); }
.mobile-cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }

.mobile-cat {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: var(--s2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .15s;
}

.mobile-cat:hover { border-color: var(--accent); }

.mobile-cat-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-cat-emojis { font-size: 15px; line-height: 1.2; }

.mobile-lang-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: var(--s3); }

.mobile-lang-link {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 12px;
    text-align: center;
    color: var(--t2);
}

.mobile-lang-link.active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; }

/* ========== 主体 ========== */
.site-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad) 72px;
    min-height: 60vh;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: var(--s4) 0 0;
    font-size: 12.5px;
    color: var(--t3);
}

.breadcrumb a { color: var(--t3); transition: color .15s; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb-sep { color: var(--t3); opacity: .7; }
.breadcrumb-current { color: var(--t1); font-weight: 600; }

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--s2) var(--s3);
    padding: var(--s3) 0 var(--s4);
}

.page-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.page-count { margin-left: auto; }

.page-head-rich {
    align-items: center;
    margin-top: var(--s3);
    padding: var(--s5);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(115deg, #f8faff 0%, #ffffff 55%, #fff9ec 100%);
}

.page-head-copy { min-width: 0; flex: 1 1 320px; }
.page-desc { margin-top: 8px; max-width: 70ch; font-size: 14.5px; color: var(--t2); }

.page-samples { display: flex; flex-wrap: wrap; gap: 4px; font-size: 26px; line-height: 1; max-width: 320px; }
.page-sample { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line-2); }

.section { margin-top: var(--s6); }
.section-block { margin-top: var(--s5); }
.section-block + .section-block { margin-top: var(--s6); }

.page-lead { max-width: 70ch; font-size: 16px; color: var(--t2); }
.page-mail { margin-top: var(--s2); font-family: var(--mono); font-size: 13px; }
.page-mail a { color: var(--accent-ink); border-bottom: 1px solid var(--accent-line); transition: border-color .15s; }
.page-mail a:hover { border-bottom-color: var(--accent); }
.page-body { max-width: 76ch; margin-top: var(--s5); }
.page-h2 { margin: var(--s5) 0 var(--s2); font-size: 17px; font-weight: 700; color: var(--t1); }
.page-h2:first-child { margin-top: 0; }
.page-body p { font-size: 15px; color: var(--t2); }
.page-body p + p { margin-top: 8px; }

.section-head {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px var(--s3);
    padding-bottom: var(--s2);
    margin-bottom: var(--s3);
    border-bottom: 1px solid var(--line);
}

.section-title { font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.section-sub { margin-top: 3px; font-size: 13.5px; color: var(--t2); }

.section-badge {
    margin-left: auto;
    font-size: 12px;
    color: var(--t3);
    font-variant-numeric: tabular-nums;
}

.section-link {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-ink);
}

.section-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.home-section { margin-top: 42px; }

/* ========== 首页 Hero ========== */
.hero {
    margin-top: 24px;
    padding: clamp(34px, 6vw, 62px) var(--s4) clamp(30px, 5vw, 48px);
    border: 1px solid #e8edfb;
    border-radius: 28px;
    background:
        radial-gradient(900px 280px at 50% -20%, #dfe9ff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    text-align: center;
}

.hero-kicker {
    display: inline-block;
    padding: 5px 13px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: #fff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--accent-ink);
}

.hero-title {
    margin-top: 16px;
    font-size: clamp(32px, 5.6vw, 52px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.hero-title em { font-style: normal; color: var(--accent); }
.hero-text { margin: 14px auto 0; max-width: 58ch; font-size: 16px; color: var(--t2); }
.hero .search-hero { margin-top: 26px; }

.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }

.hero-stat {
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12.5px;
    color: var(--t3);
}

.hero-stat strong { color: var(--t1); font-weight: 700; }

/* ========== 首页特色区 ========== */
.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.feature-day { background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%); }
.feature-new { background: linear-gradient(135deg, #ffffff 0%, #fffdf6 100%); }

.feature-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.feature-body { display: flex; align-items: center; gap: 20px; margin-top: 14px; }

.feature-glyph {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 26px;
    background: linear-gradient(145deg, #fff 0%, var(--accent-soft) 100%);
    border: 1px solid var(--accent-line);
    font-size: 62px;
    line-height: 1;
    transition: transform .25s var(--ease);
}

.feature-glyph:hover { transform: scale(1.04) rotate(-3deg); }

.feature-copy { min-width: 0; }
.feature-title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.feature-title a:hover { color: var(--accent-ink); }
.feature-text { margin-top: 6px; font-size: 13.5px; color: var(--t2); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }

.feature-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.feature-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.new-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }

.new-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--bg-2);
    font-size: 24px;
    line-height: 1;
    transition: background .15s, transform .15s;
}

.new-item img { width: 32px; height: 32px; object-fit: contain; }
.new-glyph { font-size: 24px; line-height: 1; }
.new-item:hover { background: var(--accent-soft); transform: translateY(-2px); }
.feature-note { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: var(--t3); }

/* ========== 分类磁贴 ========== */
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

.cat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}

.cat-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }

.cat-top { display: flex; align-items: center; gap: 10px; min-width: 0; }

.cat-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-2);
    font-size: 21px;
    line-height: 1;
}

.cat-name { min-width: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.cat-count { margin-left: auto; font-size: 12px; color: var(--t3); font-variant-numeric: tabular-nums; }

.cat-samples { display: flex; gap: 3px; font-size: 19px; line-height: 1; overflow: hidden; white-space: nowrap; }
.cat-sample { flex: none; }

/* ========== 关键词 / 标签 ========== */
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--t2);
    transition: border-color .15s, color .15s, background .15s;
}

.chip:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.chip-accent:hover { border-color: var(--accent); color: var(--accent-ink); }

.chip-num { font-family: var(--mono); font-size: 10.5px; color: var(--t3); font-variant-numeric: tabular-nums; }
.chip:hover .chip-num { color: var(--accent-ink); }

.tag-filter {
    display: block;
    width: 100%;
    max-width: 360px;
    height: 42px;
    margin-bottom: var(--s3);
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-2);
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, background .15s;
}

.tag-filter:focus { outline: none; border-color: var(--accent); background: #fff; }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

.tag {
    display: inline-block;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--t2);
    transition: border-color .15s, color .15s, background .15s;
}

.tag:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

/* ========== Emoji 网格 ========== */
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 4px;
}

.emoji-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 11px 3px 9px;
    border: 1px solid transparent;
    border-radius: 14px;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .15s var(--ease);
}

.emoji-item:hover {
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.emoji-char { font-size: 30px; line-height: 1; }
.emoji-name {
    width: 100%;
    font-size: 11.5px;
    line-height: 1.25;
    text-align: center;
    color: var(--t3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emoji-item:hover .emoji-name { color: var(--t1); }

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -12px rgba(47, 107, 255, .9); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--t1); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

.link-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--t3);
    transition: color .15s;
}

.link-btn:hover { color: var(--accent-ink); }
#favBtn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

/* ========== 详情页 ========== */
.emoji-page { margin-top: var(--s3); }

.emoji-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.emoji-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 26px;
    background:
        radial-gradient(340px 200px at 50% 45%, #e6eeff 0%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(160deg, #f8faff 0%, #f1f5ff 100%);
}

.emoji-art-img { width: 200px; height: 200px; object-fit: contain; }
.emoji-art-glyph { font-size: 128px; line-height: 1; }

.emoji-head-info { padding: 26px var(--s4); min-width: 0; }

.emoji-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.emoji-title { margin-top: 6px; font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; }

.emoji-alt { margin-top: 8px; font-size: 13.5px; color: var(--t3); }
.emoji-alt-label { font-weight: 600; color: var(--t2); }
.emoji-summary { margin-top: 12px; max-width: 62ch; font-size: 15px; color: var(--t2); }

.emoji-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.emoji-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }

.fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-2);
    min-width: 0;
}

.fact-link { transition: border-color .15s, background .15s; }
.fact-link:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.fact-label { font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--t3); }
.fact-value { font-size: 12.5px; font-weight: 600; color: var(--t1); word-break: break-word; }

.emoji-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.emoji-main { min-width: 0; }
.emoji-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.emoji-main .panel + .panel { margin-top: 18px; }

.panel-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.panel-heading::before {
    content: "";
    width: 4px;
    height: 17px;
    flex: none;
    border-radius: 2px;
    background: var(--accent);
}

.panel-subheading {
    margin: 20px 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--t3);
}

.panel-text { font-size: 14.5px; line-height: 1.85; color: var(--t2); }
.panel-text + .panel-text { margin-top: 10px; }

.art-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.art-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: var(--bg-2);
}

.art-glyph { font-size: 52px; line-height: 1; }
.art-img { width: 64px; height: 64px; object-fit: contain; }
.art-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }

.art-credit { margin-top: 12px; font-size: 11.5px; line-height: 1.8; color: var(--t3); }
.art-credit a { color: var(--t2); border-bottom: 1px solid var(--line); transition: color .15s, border-color .15s; }
.art-credit a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }

.platform-list { margin-top: 16px; display: grid; gap: 9px; }
.platform { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }

.platform-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t3);
}

.platform-text { margin-top: 5px; font-size: 13.5px; line-height: 1.7; color: var(--t2); }

.skin-variants { margin-top: var(--s4); }
.skin-title { margin-bottom: var(--s2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }

.skin-list { display: flex; flex-wrap: wrap; gap: 7px; }

.skin-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 28px;
    line-height: 1;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-2);
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s;
}

.skin-item:hover { border-color: var(--accent); background: #fff; transform: translateY(-2px); }
.skin-item.is-current { border-color: var(--accent); background: var(--accent-soft); }

.copy-list { display: flex; flex-direction: column; gap: 2px; }

.copy-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.copy-row:last-child { border-bottom: 0; }
.copy-row:focus-visible { outline: none; }
.copy-row:hover,
.copy-row:focus-visible { background: var(--accent-soft); border-color: var(--accent-line); }

.copy-value {
    min-width: 0;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--t2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s;
}

.copy-row:hover .copy-value,
.copy-row:focus-visible .copy-value { color: var(--accent-ink); }

.info-list { display: flex; flex-direction: column; }

.info-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s3);
    padding: 9px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 13.5px;
}

.info-item:last-child { border-bottom: 0; }
.info-label { flex: none; color: var(--t3); }
.info-value { min-width: 0; font-weight: 600; text-align: right; word-break: break-word; }
.info-value a { color: var(--accent-ink); }
.info-value a:hover { text-decoration: underline; text-underline-offset: 2px; }

.related { margin-top: 38px; }
.related-title { padding-bottom: var(--s2); margin-bottom: var(--s3); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }

/* ========== FAQ ========== */
.faq { margin-top: 0; }

.faq-title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--s2); }

.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 0; }

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--s2);
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; flex: none; font-weight: 400; font-size: 17px; color: var(--t3); }
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a { padding: 0 0 var(--s3); font-size: 13.5px; line-height: 1.8; color: var(--t2); }

/* ========== 来源 ========== */
.source { margin-top: 42px; padding-top: var(--s4); border-top: 1px solid var(--line); }

.source-title {
    margin-bottom: var(--s1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t3);
}

.source-text { max-width: 92ch; font-size: 13px; color: var(--t2); }
.source-text a { color: var(--accent-ink); border-bottom: 1px solid var(--accent-line); transition: border-color .15s; }
.source-text a:hover { border-bottom-color: var(--accent); }

/* ========== 分页 ========== */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; }

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--t2);
    font-variant-numeric: tabular-nums;
    transition: border-color .15s, color .15s, background .15s;
}

.pagination a:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.pagination .current-page { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pagination .dots { border: 0; min-width: auto; padding: 0 1px; color: var(--t3); }

/* ========== 空状态 / 列表头 / 错误页 ========== */
.empty-state { margin-top: var(--s5); padding: 56px var(--s4); border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--bg-2); text-align: center; }
.empty-mark { margin-bottom: var(--s2); font-size: 40px; line-height: 1; }
.empty-text { font-size: 15px; color: var(--t2); }
.empty-sub { margin-top: 6px; font-size: 13px; color: var(--t3); }

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s2); }
.list-head .block-label { margin-bottom: 0; }
.count-badge { margin-left: var(--s1); color: var(--t3); }

.error-box { max-width: 460px; margin: 72px auto; text-align: center; }
.error-mark { display: block; margin-bottom: var(--s3); font-size: 52px; line-height: 1; }
.error-title { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.error-text { margin: var(--s2) 0 var(--s5); font-size: 15px; color: var(--t2); }

/* ========== 提示 / 弹窗 ========== */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 1000;
    padding: 10px 18px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.copy-toast.is-anchored { bottom: auto; padding: 5px 11px; font-size: 12px; white-space: nowrap; }

/* 移动端详情操作栏 */
.mobile-action-bar { display: none; }

@media (max-width: 899px) {
    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 55;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -16px 36px -28px rgba(20, 26, 60, .6);
    }

    .mobile-action-bar[hidden] { display: none; }
    .mobile-bar-emoji { flex: none; font-size: 26px; line-height: 1; }
    .mobile-bar-name {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 13.5px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-bar-actions { flex: none; display: flex; align-items: center; gap: 6px; }
    .mobile-bar-actions .btn { padding: 9px 15px; font-size: 13px; }
    .mobile-bar-fav { width: 40px; height: 40px; padding: 0; font-size: 18px; }
    #mobileFavBtn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s4);
    background: rgba(20, 24, 45, .5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 340px;
    padding: 32px var(--s4) var(--s4);
    background: var(--bg);
    border-radius: var(--r-lg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4);
    text-align: center;
    animation: modalIn .18s var(--ease);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.modal-close { position: absolute; top: 12px; right: 12px; padding: 4px; color: var(--t3); border-radius: 8px; }
.modal-close:hover { color: var(--t1); background: var(--bg-2); }
.modal-emoji { font-size: 54px; line-height: 1; margin-bottom: var(--s3); }
.modal-title { margin-bottom: var(--s4); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); }
.modal-buttons { display: flex; gap: 8px; }
.modal-buttons .btn { flex: 1; }

/* ========== 页脚 ========== */
.site-footer { margin-top: 64px; background: var(--bg-2); border-top: 1px solid var(--line); }

.trust-bar { border-bottom: 1px solid var(--line); }

.trust-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px var(--pad);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px var(--s4);
}

.trust-inner span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    letter-spacing: .03em;
    color: var(--t3);
}

.trust-inner span::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--yellow); }

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 36px var(--pad) 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
}

.footer-brand { min-width: 0; }
.footer-brand-name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; letter-spacing: -.025em; transition: color .15s; }
.footer-brand-name:hover { color: var(--accent-ink); }
.footer-brand-desc { margin-top: 8px; max-width: 44ch; font-size: 13px; line-height: 1.7; color: var(--t2); }
.footer-col { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.footer-links { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.footer-col-title { margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }
.footer-col a,
.footer-col button { font-size: 13.5px; color: var(--t2); transition: color .15s; }
.footer-col a:hover,
.footer-col button:hover { color: var(--accent-ink); }

.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px var(--pad) 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px var(--s4);
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--t3);
}

.footer-bottom a { color: var(--t2); border-bottom: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }

/* ========== 工具页 ========== */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--s4);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}

.tool-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-name { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.tool-desc { font-size: 13px; line-height: 1.65; color: var(--t2); }

.tool-input {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--t1);
    font: inherit;
    font-size: 15px;
    line-height: 1.7;
    resize: vertical;
    transition: border-color .15s, box-shadow .15s;
}

.tool-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 107, 255, .1); }

.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s3) 0; }

.tool-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tool-table th,
.tool-table td { padding: 10px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.tool-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--t3);
    white-space: nowrap;
    border-bottom-color: var(--ink);
}

.tool-table tr:last-child td { border-bottom: 0; }

.tool-table.is-metric th:last-child,
.tool-table.is-metric td:last-child { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; }

.tool-scroll { overflow-x: auto; }
.tool-scroll .tool-table th,
.tool-scroll .tool-table td { white-space: nowrap; }
.tool-emoji { font-size: 24px; line-height: 1.2; }

.tool-output {
    padding: var(--s3);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--bg-2);
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}

.tool-search { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.tool-search .tool-input { flex: 1 1 240px; max-width: 380px; }

.tool-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: var(--s4); }

.compare-head { display: flex; align-items: center; gap: var(--s4); }
.compare-meta { min-width: 0; }
.compare-glyph { font-size: 64px; line-height: 1; }
.compare-name { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }

.compare-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s2);
    margin: 0;
    padding: var(--s3);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.compare-img { width: 96px; height: 96px; }

.hint { font-size: 12.5px; color: var(--t3); }

/* ========== Cookie 同意横幅 ========== */
.consent {
    position: fixed;
    left: var(--s3);
    right: var(--s3);
    bottom: var(--s3);
    z-index: 60;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.consent[hidden] { display: none; }

.consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2) var(--s4);
    width: 100%;
    max-width: 720px;
    padding: var(--s3) var(--s4);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 18px 44px -20px rgba(15, 20, 50, .4);
    pointer-events: auto;
}

.consent-text { flex: 1 1 320px; font-size: 12.5px; line-height: 1.6; color: var(--t2); }
.consent-link { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-btn { min-width: 96px; justify-content: center; }

/* ============================================================
   小清新主题覆盖：暖白底 / 薄荷绿 / 细边线 / 大留白
   ============================================================ */

::selection { background: #d9eee3; color: var(--t1); }

body {
    background: var(--bg);
    font-size: 15px;
    line-height: 1.8;
}

/* 说明性小字统一去掉等宽大写 */
.micro,
.block-label,
.section-badge,
.fact-label,
.footer-col-title,
.panel-subheading,
.art-label,
.platform-name,
.trust-inner span,
.hero-kicker {
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.feature-label,
.emoji-eyebrow,
.modal-title,
.tool-table th {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.hero-title,
.feature-title,
.section-title,
.page-title,
.emoji-title,
.panel-heading,
.error-title,
.tool-name,
.compare-name,
.modal-title {
    font-weight: 600;
}

/* 头部 */
.site-header {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--line-2);
}

.header-inner { height: 64px; gap: 16px; }

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: none;
    font-size: 17px;
}

.brand:hover .brand-mark { transform: none; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }

.main-nav { gap: 4px; }

.nav-link {
    padding: 6px 10px;
    border-radius: 0;
    font-size: 13.5px;
    color: var(--t2);
}

.nav-link:hover { background: transparent; color: var(--accent-ink); }
.nav-link.is-active { background: transparent; color: var(--accent-ink); font-weight: 600; }

.site-search input {
    border-color: transparent;
    background: var(--bg-2);
    box-shadow: none;
}

.site-search input:focus {
    border-color: var(--accent-line);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(106, 167, 142, .1);
}

.search-hero input {
    border-color: var(--line);
    background: #fff;
    box-shadow: none;
}

.search-hero input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(106, 167, 142, .12);
}

.lang-btn {
    border-color: transparent;
    background: var(--bg-2);
    font-weight: 500;
}

.lang-btn:hover {
    border-color: transparent;
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.cat-bar { border-top-color: var(--line-2); background: #fff; }
.cat-bar-emoji { display: none; }

.cat-bar-link {
    padding: 9px 12px;
    border-bottom: 0;
    font-size: 12.5px;
    color: var(--t3);
}

.cat-bar-link:hover { color: var(--accent-ink); }
.cat-bar-link.is-active { color: var(--accent-ink); font-weight: 600; border-bottom-color: transparent; }

.lang-dropdown {
    border-color: var(--line-2);
    box-shadow: 0 18px 38px -28px rgba(47, 58, 53, .32);
}

.lang-option.active { background: var(--accent-soft); color: var(--accent-ink); }

/* 首页 Hero */
.hero {
    padding: clamp(38px, 6vw, 64px) var(--s4) clamp(34px, 5vw, 52px);
    border: 0;
    border-radius: 24px;
    background: #f4faf6;
}

.hero-kicker {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-ink);
    font-size: 12px;
}

.hero-title {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 600;
    letter-spacing: -.03em;
}

.hero-title em { color: var(--accent); font-weight: 500; }
.hero-text { font-size: 15.5px; color: var(--t2); }
.hero-stats { gap: 8px 18px; }

.hero-stat {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    color: var(--t3);
}

.hero-stat strong { color: var(--t2); font-weight: 600; }

/* 首页特色区 */
.feature-card {
    padding: 24px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
}

.feature-day,
.feature-new { background: #fff; }

.feature-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent-ink);
}

.feature-glyph {
    width: 104px;
    height: 104px;
    border: 0;
    border-radius: 26px;
    background: var(--accent-soft);
}

.feature-glyph:hover { background: #e7f4ec; transform: none; }
.feature-title { letter-spacing: -.02em; }
.feature-text { font-size: 13.5px; }
.feature-link { color: var(--accent-ink); font-weight: 500; }
.feature-note a { color: var(--t3); border-bottom: 1px solid var(--line-2); }
.feature-note a:hover { color: var(--accent-ink); border-bottom-color: var(--accent-line); }
.new-item { background: var(--bg-2); }
.new-item:hover { background: var(--accent-soft); transform: none; }

/* 分类磁贴 */
.cat-card {
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background: var(--bg-2);
    box-shadow: none;
}

.cat-card:hover {
    border-color: transparent;
    background: #eef8f2;
    box-shadow: none;
    transform: none;
}

.cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    font-size: 22px;
}

.cat-name { font-weight: 600; }
.cat-count { font-size: 11.5px; }

/* 标签与关键词 */
.chip {
    padding: 6px 12px;
    border: 0;
    background: var(--bg-2);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--t2);
}

.chip:hover,
.chip-accent:hover { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }
.chip-num { color: var(--t3); }

.tag {
    padding: 6px 12px;
    border: 0;
    background: var(--bg-2);
    color: var(--t2);
}

.tag:hover { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); }

.section-head { border-bottom-color: var(--line-2); }
.section-title { font-size: 19px; letter-spacing: -.02em; }
.section-sub { font-size: 13px; }
.section-link { color: var(--accent-ink); font-weight: 500; }

.page-title { letter-spacing: -.03em; }

.page-head-rich {
    border: 0;
    background: var(--bg-2);
    border-radius: 22px;
}

.page-sample { background: transparent; border: 0; }
.block-label { font-size: 12px; color: var(--t3); }

/* Emoji 网格 */
.emoji-item { border-color: transparent; }
.emoji-item:hover {
    border-color: transparent;
    background: var(--bg-2);
    box-shadow: none;
    transform: none;
}

.emoji-char { font-size: 29px; }
.emoji-name { font-size: 11px; color: var(--t3); }

/* 按钮 */
.btn {
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: none;
}

.btn-primary { background: #4f8a73; color: #fff; box-shadow: none; }
.btn-primary:hover { background: #3d705c; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); }
#favBtn[aria-pressed="true"] { border-color: var(--accent-line); background: var(--accent-soft); }

/* 详情页 */
.emoji-head { border-color: var(--line-2); box-shadow: none; }
.emoji-art { background: #f5faf7; }
.emoji-head-info { border-left-color: var(--line-2); }
.emoji-eyebrow { font-size: 11px; color: var(--accent-ink); }
.emoji-title { letter-spacing: -.03em; }
.emoji-alt { font-size: 13px; }
.emoji-summary { font-size: 14.5px; }

.fact {
    padding: 7px 11px;
    border: 0;
    border-radius: 10px;
    background: var(--bg-2);
}

.fact-label { font-size: 10.5px; }
.fact-value { font-size: 12px; }

.panel {
    padding: 24px;
    border-color: var(--line-2);
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
}

.panel-heading {
    gap: 0;
    font-size: 16.5px;
    letter-spacing: -.01em;
}

.panel-heading::before { display: none; }
.panel-subheading { margin-top: 18px; font-size: 11.5px; }
.panel-text { max-width: 72ch; font-size: 14.5px; line-height: 1.9; }

.art-cell {
    padding: 16px 8px 12px;
    border: 0;
    border-radius: 14px;
    background: var(--bg-2);
}

.art-label { font-size: 10.5px; }
.art-credit { font-size: 11px; }
.art-credit a { border-bottom-color: var(--line-2); }

.platform {
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: var(--bg-2);
}

.platform-name { font-size: 10.5px; }
.platform-text { font-size: 13px; }

.skin-item {
    border-color: transparent;
    background: var(--bg-2);
    border-radius: 12px;
}

.skin-item:hover { border-color: var(--accent-line); background: #fff; transform: none; }
.skin-item.is-current { border-color: var(--accent-line); background: var(--accent-soft); }

.copy-row:hover,
.copy-row:focus-visible { border-color: transparent; background: var(--bg-2); }
.copy-value { font-size: 11.5px; color: var(--t2); }
.info-item { border-bottom-color: var(--line-2); }
.faq-item { border-bottom-color: var(--line-2); }
.faq-q { font-weight: 500; }
.faq-a { max-width: 72ch; font-size: 13px; }

/* 页脚 */
.site-footer {
    margin-top: 56px;
    background: #f7faf8;
    border-top-color: var(--line-2);
}

.trust-inner span::before { display: none; }
.trust-inner span { font-size: 11px; }
.footer-brand-name { font-size: 16px; font-weight: 600; }
.footer-brand-desc { font-size: 12.5px; }
.footer-col-title { font-size: 11.5px; font-weight: 600; }
.footer-col a,
.footer-col button { font-size: 13px; }
.footer-col a:hover,
.footer-col button:hover { color: var(--accent-ink); }
.footer-bottom { font-size: 11.5px; }
.footer-bottom a { border-bottom-color: var(--line-2); }

/* 其他组件 */
.copy-toast { background: #3f5a4e; }
.modal-content { border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(47, 58, 53, .35); }
.consent-inner { border-color: var(--line-2); border-radius: 16px; box-shadow: 0 16px 40px -30px rgba(47, 58, 53, .3); }

.tool-card {
    border-color: var(--line-2);
    border-radius: 16px;
    box-shadow: none;
}

.tool-card:hover {
    border-color: var(--accent-line);
    box-shadow: none;
    transform: none;
    background: #fff;
}

.tool-input { border-color: var(--line); border-radius: 12px; }

.empty-state {
    border-style: solid;
    border-color: var(--line-2);
    border-radius: 20px;
    background: var(--bg-2);
}

.pagination a,
.pagination span { border-radius: 10px; }
.pagination a:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.pagination .current-page { background: var(--accent-ink); border-color: var(--accent-ink); }

.mobile-action-bar { border-top-color: var(--line-2); box-shadow: 0 -14px 34px -30px rgba(47, 58, 53, .35); }
#mobileFavBtn[aria-pressed="true"] { border-color: var(--accent-line); background: var(--accent-soft); }

/* ============================================================
   布局改版：编辑式单栏 / 无卡片分区
   ============================================================ */

/* 首页 intro */
.intro {
    max-width: 780px;
    margin: 0 auto;
    padding: 62px 0 42px;
    text-align: center;
    border-bottom: 1px solid var(--line-2);
}

.intro-kicker {
    margin: 0;
    font-size: 12px;
    color: var(--accent-ink);
    letter-spacing: .04em;
}

.intro-title {
    margin-top: 18px;
    font-size: clamp(32px, 4.6vw, 48px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.18;
}

.intro-title em { font-style: normal; font-weight: 400; color: var(--accent); }
.intro-lead { margin: 18px auto 0; max-width: 56ch; font-size: 15px; color: var(--t2); }
.intro .search-hero { margin: 28px auto 0; max-width: 520px; }

.intro-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
    margin-top: 18px;
    font-size: 11.5px;
    color: var(--t3);
}

.intro-meta span[aria-hidden] { color: #c6d8ce; }

/* 每日 Emoji */
.daily {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 44px 0;
    border-bottom: 1px solid var(--line-2);
}

.daily-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--accent-soft);
}

.daily-glyph { font-size: 82px; line-height: 1; }
.daily-copy { min-width: 0; }
.daily-label { font-size: 11.5px; color: var(--accent-ink); }
.daily-title { margin-top: 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.daily-title a:hover { color: var(--accent-ink); }
.daily-text { margin-top: 10px; max-width: 54ch; font-size: 14.5px; color: var(--t2); }
.daily-tags { margin-top: 12px; font-size: 12.5px; color: var(--t3); }
.daily-tags a { color: var(--t3); }
.daily-tags a:hover { color: var(--accent-ink); }
.daily-tags a + a::before { content: "·"; margin: 0 9px; color: #c6d8ce; }
.daily-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--accent-ink); }

/* 新版 Emoji 横条 */
.home-section { max-width: 900px; margin-left: auto; margin-right: auto; }

.new-strip-grid { display: flex; flex-wrap: wrap; gap: 12px; }

.new-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-2);
    transition: background .15s;
}

.new-strip-item:hover { background: var(--accent-soft); }
.new-strip-item img { width: 36px; height: 36px; object-fit: contain; }
.new-strip-glyph { font-size: 26px; line-height: 1; }

.new-strip-credit { margin-top: 12px; font-size: 11px; color: var(--t3); }
.new-strip-credit a { color: var(--t3); border-bottom: 1px solid var(--line-2); }
.new-strip-credit a:hover { color: var(--accent-ink); }

/* 分类目录 */
#categories { scroll-margin-top: 84px; }
.category-list { border-top: 1px solid var(--line-2); }

.category-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line-2);
    transition: padding .18s var(--ease), color .15s;
}

.category-row:hover { padding-left: 12px; color: var(--accent-ink); }
.category-name { font-size: 15px; font-weight: 500; }
.category-samples { font-size: 20px; line-height: 1.5; letter-spacing: 1px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-count { font-size: 11.5px; color: var(--t3); }

/* 关键词 */
.keyword-line { font-size: 15px; line-height: 2.2; color: var(--t2); }
.keyword-line a { color: var(--t2); }
.keyword-line a:hover { color: var(--accent-ink); }
.keyword-sep { margin: 0 12px; color: #c6d8ce; }

.colophon {
    max-width: 900px;
    margin: 54px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
    font-size: 11.5px;
    line-height: 1.8;
    color: var(--t3);
    text-align: center;
}

.colophon a { color: var(--t2); border-bottom: 1px solid var(--line-2); }
.colophon a:hover { color: var(--accent-ink); border-bottom-color: var(--accent-line); }

/* 分类页头部不再用卡片 */
.page-head-rich {
    padding: 34px 0 24px;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
}

.page-samples { font-size: 22px; gap: 8px; }
.page-sample { width: auto; height: auto; background: transparent; border: 0; }

/* 分类页子分类改为内联文字 */
.chip-row-inline { gap: 4px 0; }
.chip-row-inline .chip {
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    color: var(--t2);
}

.chip-row-inline .chip:hover { background: transparent; color: var(--accent-ink); }
.chip-row-inline .chip + .chip::before { content: "·"; margin: 0 12px; color: #c6d8ce; }

/* 详情页：去掉卡片与侧栏 */
.emoji-page { max-width: 960px; margin: 0 auto; }

.emoji-head {
    gap: 28px 0;
    align-items: center;
    padding: 34px 0 42px;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.emoji-art {
    min-height: 0;
    padding: 24px;
    background: var(--bg-2);
    border-radius: 32px;
}

.emoji-head-info { padding: 0; border-left: 0; }
.emoji-title { font-size: clamp(30px, 4vw, 42px); font-weight: 500; }
.emoji-summary { max-width: 56ch; }
.emoji-facts { gap: 6px 22px; margin-top: 18px; }

.fact {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fact-link:hover { background: transparent; }
.fact-label { font-size: 10.5px; }
.fact-value { font-size: 12.5px; }

.emoji-content {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    margin: 0 auto;
}

.breadcrumb-narrow { max-width: 960px; margin: 0 auto; }

.emoji-main,
.emoji-side { display: contents; }

.panel-meaning { order: 1; }
.panel-designs { order: 2; }
.panel-skins { order: 3; }
.panel-copy { order: 4; }
.panel-details { order: 5; }
.panel-faq { order: 6; }

.emoji-content .panel {
    padding: 30px 0;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.emoji-content .panel-faq { border-bottom: 0; }
.emoji-content .panel-heading { margin-bottom: 14px; font-size: 18px; font-weight: 500; }
.emoji-content .panel-heading::before { display: none; }

.emoji-content .art-row { gap: 20px; }
.emoji-content .art-cell { padding: 0; border: 0; border-radius: 0; background: transparent; }
.emoji-content .art-img { width: 60px; height: 60px; }
.emoji-content .art-label { margin-top: 6px; }

.emoji-content .platform-list { gap: 16px; }
.emoji-content .platform {
    padding: 0 0 0 14px;
    border: 0;
    border-left: 2px solid var(--accent-line);
    border-radius: 0;
    background: transparent;
}

.emoji-content .skin-item {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid var(--line);
}

.emoji-content .skin-item.is-current { background: var(--accent-soft); border-color: var(--accent); }

.emoji-content .copy-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
}

.emoji-content .copy-row {
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
}

.emoji-content .copy-row:hover { background: transparent; }
.emoji-content .copy-row:hover .copy-value { color: var(--accent-ink); }

.emoji-content .info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
}

.emoji-content .info-item { padding: 9px 0; }

.related { max-width: 960px; margin: 48px auto 0; }

/* ========== 响应式 ========== */
@media (min-width: 560px) {
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
    .emoji-grid { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
    .new-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .feature-row { grid-template-columns: 1.15fr .85fr; }
    .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; }
    .art-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
    .main-nav { display: flex; }
    .menu-btn { display: none; }
    .header-inner > .site-search { display: flex; }
    .site-search-mobile { display: none; }
    .mobile-menu { display: none !important; }

    .emoji-head { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
    .emoji-head-info { padding: 0; border-left: 0; }
    .emoji-art-img { width: 220px; height: 220px; }
    .emoji-art-glyph { font-size: 160px; }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .emoji-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
    .panel-sticky { position: sticky; top: 122px; }
    .emoji-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .emoji-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

@media (max-width: 899px) {
    .cat-bar { display: none; }
    .mobile-menu { border-top: 0; }
    .panel-sticky { position: static; }
    .header-actions { margin-left: auto; }
}

@media (max-width: 759px) {
    .site-footer { margin-top: 44px; }

    .trust-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 14px;
        padding: 9px var(--pad);
    }

    .trust-inner span { flex: none; white-space: nowrap; font-size: 10.5px; }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 22px 16px;
        padding: 26px var(--pad) 18px;
    }

    .footer-brand { grid-column: 1 / -1; }

    .footer-brand-desc {
        margin-top: 6px;
        max-width: none;
        font-size: 12.5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .footer-col .footer-links { gap: 0; }

    .footer-col a,
    .footer-col button {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 5px 0;
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 14px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root { --pad: 14px; }

    .header-inner { height: 58px; gap: 10px; }
    .brand-name { font-size: 16px; }
    .brand-mark { width: 30px; height: 30px; font-size: 17px; }
    .lang-btn { padding: 0 10px; }

    .hero { margin-top: 14px; border-radius: 20px; padding: 30px 16px 26px; }
    .hero-text { font-size: 14.5px; }
    .search-hero input { height: 46px; font-size: 15px; padding-left: 42px; }
    .search-hero .search-icon { left: 15px; }

    .feature-card { padding: 18px; border-radius: 18px; }
    .feature-body { gap: 14px; }
    .feature-glyph { width: 84px; height: 84px; border-radius: 20px; font-size: 46px; }
    .feature-tags { display: none; }

    .page-head-rich { padding: 26px 0 20px; border-radius: 0; }
    .page-samples { font-size: 20px; }
    .page-sample { width: auto; height: auto; }

    .emoji-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
    .emoji-char { font-size: 25px; }
    .emoji-name { font-size: 10.5px; }

    .emoji-head { gap: 22px 0; padding: 24px 0 30px; border-radius: 0; }
    .emoji-art { width: 190px; max-width: 100%; min-height: 0; margin: 0 auto; padding: 16px; border-radius: 28px; }
    .emoji-art-img { width: 140px; height: 140px; }
    .emoji-art-glyph { font-size: 96px; }
    .emoji-head-info { padding: 0; }
    .emoji-actions .btn { flex: 1 1 auto; }
    .emoji-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
    .emoji-facts .fact { flex-direction: column; align-items: flex-start; gap: 1px; }

    .panel { border-radius: 0; }
    .panel-heading { font-size: 16px; }

    .intro { padding: 40px 0 30px; }
    .intro-title { font-size: 32px; }
    .intro-lead { font-size: 14.5px; }

    .daily { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; text-align: center; }
    .daily-art { width: 128px; height: 128px; }
    .daily-glyph { font-size: 66px; }
    .daily-text { margin-left: auto; margin-right: auto; }

    .category-row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
    .category-samples { display: none; }

    .new-strip-item { width: 44px; height: 44px; }
    .new-strip-item img { width: 32px; height: 32px; }

    .emoji-content .copy-list,
    .emoji-content .info-list { grid-template-columns: 1fr; }
    .emoji-content .art-row { gap: 12px; }
    .emoji-content .panel { padding: 24px 0; }
    .related { margin-top: 36px; }

    .page-title { font-size: 24px; }
    .page-count { margin-left: 0; }
}

@media (max-width: 400px) {
    .new-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .feature-glyph { width: 68px; height: 68px; font-size: 38px; }
}

@media (max-width: 374px) {
    .trust-inner {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        column-gap: 18px;
        row-gap: 6px;
    }
}
