* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #222;
    min-height: 100vh;
}

.cn { display: none; }
.show-cn .cn { display: block; }

/* ========== Search Page (Google-style) ========== */
.search-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.search-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.logo-area {
    margin-bottom: 40px;
}

.logo-text {
    font-size: 56px;
    font-weight: 300;
    color: #333;
    letter-spacing: -2px;
}

.logo-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4px;
}

.search-box {
    display: flex;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(32,33,36,.12);
    transition: box-shadow 0.2s;
}

.search-box:hover,
.search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 16px;
    background: transparent;
}

.search-btn {
    background: #f8f9fa;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    color: #3c4043;
    cursor: pointer;
    border-left: 1px solid #dfe1e5;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #e8e8e8;
}

.search-suggestions {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

.search-suggestions a {
    color: #1a73e8;
    text-decoration: none;
}

.search-suggestions a:hover {
    text-decoration: underline;
}

/* ========== Results Page ========== */
.results-page {
    min-height: 100vh;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-text-small {
    font-size: 22px;
    font-weight: 300;
    color: #333;
}

.logo-subtitle-small {
    font-size: 9px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.results-search-box {
    display: flex;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    overflow: hidden;
    flex: 1;
    max-width: 600px;
}

.results-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 14px;
}

.search-btn-small {
    background: #f8f9fa;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    color: #3c4043;
    cursor: pointer;
    border-left: 1px solid #dfe1e5;
}

.search-btn-small:hover {
    background: #e8e8e8;
}

.results-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ========== No Results ========== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results p:first-child {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results-hint {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* ========== Entry Card ========== */
.entry-card {
    background: #fff;
}

.entry-image {
    margin-bottom: 20px;
}

.placeholder-img {
    width: 200px;
    height: 250px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    border-radius: 4px;
}

.entry-title {
    font-size: 28px;
    font-weight: 400;
    color: #222;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #a2a9b1;
}

.entry-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.entry-content {
    line-height: 1.8;
    font-size: 15px;
}

.entry-content p {
    margin-bottom: 12px;
}

.entry-content p.cn {
    color: #666;
    font-size: 14px;
}

.entry-content strong {
    color: #111;
}
