/* VersePanel 公告页样式（移动端优先） */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'PingFang SC', sans-serif;
    background: #F5F5F7;
    color: #1C1C1E;
    line-height: 1.6;
    color-scheme: light;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 680px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.header {
    text-align: center;
    padding: 32px 0 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.header-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1C1C1E;
}

.header-meta {
    font-size: 13px;
    color: #8E8E93;
}

.content {
    flex: 1;
    padding: 0 4px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #3C3C43;
}

.content strong {
    color: #007AFF;
    font-weight: 600;
}

.content em {
    font-style: italic;
    color: #5856D6;
}

.loading {
    text-align: center;
    padding: 60px 0;
    color: #8E8E93;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 122, 255, 0.2);
    border-top-color: #007AFF;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error, .empty {
    text-align: center;
    padding: 40px 20px;
    color: #8E8E93;
    font-size: 15px;
}

.error {
    color: #FF3B30;
}

.footer {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: #8E8E93;
    font-size: 12px;
}

.version {
    margin-bottom: 4px;
    font-weight: 500;
}

@media (prefers-color-scheme: dark) {
    /* 页面为纯浅色设计：强制沿用浅色，避免深色模式下标题/提示条与白色卡片混排后无法辨认 */
    html, body { background: #F5F5F7; color: #1C1C1E; }
    .header-title { color: #1C1C1E; }
    .section p, .section li { color: #1c1c1e; }
    .callout { background: #f0f4ff; color: #1c1c1e; }
    .content { color: #3C3C43; }
    .content strong { color: #007AFF; }
}
