* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; background: #f8fafc; color: #0f172a; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.header { position: sticky; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid #e2e8f0; z-index: 20; backdrop-filter: blur(8px); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg,#2563eb,#38bdf8);
}
.brand-text strong { display: block; font-size: 18px; }
.brand-text span { display: block; color: #64748b; font-size: 12px; }
.nav { color: #334155; font-size: 14px; display: flex; gap: 14px; }
.main { padding: 26px 0 80px; }
.block { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px; margin-bottom: 18px; }
.block h2 { font-size: 18px; margin-bottom: 14px; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat { padding: 8px 14px; border-radius: 999px; border: 1px solid #cbd5e1; color: #334155; font-size: 13px; }
.cat.active { background: #2563eb; border-color: #2563eb; color: #fff; }
.table-head, .row { display: grid; grid-template-columns: 110px 1fr 140px; gap: 10px; align-items: center; }
.table-head > div, .row > div { min-width: 0; }
.table-head { font-size: 13px; color: #475569; padding: 10px 0; border-bottom: 1px solid #e2e8f0; font-weight: 700; }
.row { font-size: 14px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.row:last-child { border-bottom: none; }
.title {
    color: #0f172a;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.title:hover { color: #1d4ed8; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 700; text-align: center; }
.time {
    white-space: nowrap;
    text-align: left;
    color: #334155;
    font-variant-numeric: tabular-nums;
}
.empty { padding: 30px 0; text-align: center; color: #64748b; }
.footer {
    border-top: 1px solid rgba(226,232,240,.95);
    background: rgba(255,255,255,.86);
    padding: 28px 0 32px;
    color: #64748b;
    font-size: 14px;
    margin-top: 12px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}
.footer-col h3 { color: #0f172a; font-size: 16px; margin-bottom: 8px; }
.footer-col p { color: #64748b; font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #dbe3ef;
    color: #334155;
    font-size: 13px;
}
.footer-links a:hover { border-color: #2563eb; color: #2563eb; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid #e2e8f0; padding-top: 14px; }
.footer-record { width: 100%; text-align: center; color: #94a3b8; font-size: 13px; }
.footer-record a { color: inherit; }
.pager { margin-top: 14px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #475569; font-size: 13px; }
.pager a, .pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pager a:hover { border-color: #2563eb; color: #2563eb; }
.pager .cur { border-color: #2563eb; background: #2563eb; color: #fff; }
.pager .disabled { color: #94a3b8; border-color: #e2e8f0; background: #f8fafc; }
.floating-entry { position: fixed; right: 24px; bottom: 24px; z-index: 60; }
.floating-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: 220px;
    background: rgba(255,255,255,.98);
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 40px rgba(15,23,42,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
    pointer-events: none;
}
.floating-entry:hover .floating-panel,
.floating-entry:focus-within .floating-panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.floating-panel h3 { font-size: 18px; margin-bottom: 8px; }
.floating-panel p { color: #475569; font-size: 13px; margin-bottom: 14px; }
.qr-placeholder { width: 100%; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; border: 1px solid #dbeafe; background: #f8fbff; }
.qr-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.floating-button { min-width: 120px; height: 52px; padding: 0 20px; border-radius: 999px; background: linear-gradient(135deg,#2563eb,#38bdf8); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 16px 30px rgba(37,99,235,.28); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .container { width: min(1120px, 94%); }
    .header-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
    .nav { flex-wrap: wrap; row-gap: 8px; }
    .main { padding: 18px 0 88px; }
    .block { border-radius: 14px; padding: 14px; }
    .table-head { display: none; }
    .row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "type time"
            "title title";
        align-items: start;
        gap: 8px 10px;
        padding: 12px 0;
    }
    .row > div:nth-child(1) { grid-area: type; }
    .row > div:nth-child(2) { grid-area: title; }
    .row > div:nth-child(3) { grid-area: time; }
    .title {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        font-size: 15px;
        line-height: 1.55;
    }
    .time { font-size: 12px; color: #64748b; }
    .pager {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .floating-entry { right: 14px; bottom: 14px; }
    .floating-button { min-width: 100px; height: 44px; font-size: 14px; }
    .floating-panel { width: 180px; bottom: 56px; padding: 14px; border-radius: 16px; }
}
