.post-content { line-height: 1.8; color: #374151;}.post-content h1, .post-content h2, .post-content h3,.post-content h4, .post-content h5, .post-content h6 { margin-top: 1.5em; margin-bottom: 0.5em; font-weight: 600; color: #059669;}.post-content h1 { font-size: 2em; }.post-content h2 { font-size: 1.5em; }.post-content h3 { font-size: 1.25em; }.post-content p { margin-bottom: 1em;}.post-content a { color: #0284c7; text-decoration: underline;}.post-content a:hover { color: #0369a1;}.post-content ul, .post-content ol { margin-left: 2em; margin-bottom: 1em;}.post-content ul { list-style-type: disc;}.post-content ol { list-style-type: decimal;}.post-content blockquote { border-left: 4px solid #059669; padding-left: 1em; margin: 1em 0; color: #6b7280;}.post-content code { background: #f5f5f5; color: #dc2626; padding: 0.2em 0.4em; border-radius: 0.25em; font-size: 0.9em; font-family: 'Consolas', 'Monaco', 'Courier New', monospace; border: 1px dashed #d1d5db;}.post-content pre { background: #282c34; padding: 2.5em 1em 1em 1em; border-radius: 0.5em; overflow: hidden; margin: 1em 0; border: 1px solid #3e4451; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: max-height 0.3s ease; -ms-overflow-style: none; scrollbar-width: none;}.post-content pre::-webkit-scrollbar { display: none;}.post-content pre.expanded { max-height: none !important; overflow: auto;}.post-content pre::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2em; background: #21252b; border-radius: 0.5em 0.5em 0 0; border-bottom: 1px solid #181a1f;}.post-content pre::after { content: ''; position: absolute; top: 0.7em; left: 0.8em; width: 0.75em; height: 0.75em; background: #ff5f56; border-radius: 50%; box-shadow: 1.2em 0 0 #ffbd2e, 2.4em 0 0 #27c93f;}.post-content pre code { background: transparent; color: #abb2bf; padding: 0; border: none; font-size: 0.875em; line-height: 1.6; display: block; overflow: hidden;}.code-expand-btn { position: absolute; bottom: 0.5em; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.1); color: #abb2bf; border: 1px solid rgba(255, 255, 255, 0.2); padding: 0.3em 0.8em; border-radius: 0.25em; cursor: pointer; font-size: 0.75em; transition: all 0.2s; z-index: 10;}.code-expand-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3);}.post-content img { max-width: 100%; height: auto; border-radius: 0.5em; margin: 1em 0;}.post-content table { width: 100%; border-collapse: collapse; margin: 1em 0; overflow-x: auto; display: block;}.post-content table th,.post-content table td { border: 1px solid #e5e7eb; padding: 0.5em;}.post-content table th { background: #f9fafb; font-weight: 600; color: #059669;}.article-title:before { content: "$ cat "; color: #059669;}.article-title { text-decoration: none; position: relative; display: inline;}.article-title:hover { text-decoration: none;}.article-title span { border-bottom: 2px dashed transparent; transition: border-color 0.3s ease;}.article-title:hover span { border-bottom-color: #3b82f6;}/* ======================================== 短代码样式 ======================================== */.shortcode-alert { padding: 1em; border-radius: 0.5em; margin: 1em 0; border-left: 4px solid;}.shortcode-alert.info { background: #eff6ff; border-color: #3b82f6; color: #1e40af;}.shortcode-alert.success { background: #f0fdf4; border-color: #22c55e; color: #166534;}.shortcode-alert.warning { background: #fffbeb; border-color: #f59e0b; color: #92400e;}.shortcode-alert.error { background: #fef2f2; border-color: #ef4444; color: #991b1b;}.shortcode-button { display: inline-block; padding: 0.5em 1.5em; border-radius: 0.375em; text-decoration: none; transition: all 0.2s; font-weight: 500;}.shortcode-button.green { background: #059669; color: white;}.shortcode-button.green:hover { background: #047857;}.shortcode-button.blue { background: #3b82f6; color: white;}.shortcode-button.blue:hover { background: #2563eb;}.shortcode-button.red { background: #ef4444; color: white;}.shortcode-button.red:hover { background: #dc2626;}.shortcode-button.gray { background: #6b7280; color: white;}.shortcode-button.gray:hover { background: #4b5563;}.shortcode-collapse { border: 1px solid #e5e7eb; border-radius: 0.5em; margin: 1em 0;}.shortcode-collapse-header { padding: 1em; cursor: pointer; background: #f9fafb; border-radius: 0.5em 0.5em 0 0; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s;}.shortcode-collapse-header:hover { background: #f3f4f6;}.shortcode-collapse-content { padding: 1em; display: none;}.shortcode-collapse.active .shortcode-collapse-content { display: block;}.shortcode-progress { margin: 1em 0;}.shortcode-progress-label { margin-bottom: 0.5em; font-size: 0.875em; color: #6b7280;}.shortcode-progress-bar { height: 1.5em; background: #e5e7eb; border-radius: 0.5em; overflow: hidden;}.shortcode-progress-fill { height: 100%; transition: width 0.3s ease; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75em; font-weight: 600;}.shortcode-progress-fill.green { background: #059669;}.shortcode-progress-fill.blue { background: #3b82f6;}.shortcode-progress-fill.red { background: #ef4444;}.shortcode-progress-fill.yellow { background: #f59e0b;}.shortcode-badge { display: inline-block; padding: 0.25em 0.75em; border-radius: 9999px; font-size: 0.75em; font-weight: 600;}.shortcode-badge.green { background: #d1fae5; color: #065f46;}.shortcode-badge.blue { background: #dbeafe; color: #1e40af;}.shortcode-badge.red { background: #fee2e2; color: #991b1b;}.shortcode-badge.yellow { background: #fef3c7; color: #92400e;}.shortcode-badge.gray { background: #f3f4f6; color: #374151;}.shortcode-kbd { display: inline-block; padding: 0.25em 0.5em; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 0.25em; font-family: 'Consolas', 'Monaco', monospace; font-size: 0.875em; box-shadow: 0 2px 0 #d1d5db;}.shortcode-mark { padding: 0.1em 0.3em; border-radius: 0.25em;}.shortcode-mark.yellow { background: #fef3c7; color: #92400e;}.shortcode-mark.green { background: #d1fae5; color: #065f46;}.shortcode-mark.blue { background: #dbeafe; color: #1e40af;}.shortcode-mark.red { background: #fee2e2; color: #991b1b;}.shortcode-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 1em 0; border-radius: 0.5em;}.shortcode-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;}.shortcode-countdown { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 2em; border-radius: 0.5em; text-align: center; margin: 1em 0;}.shortcode-countdown-title { font-size: 1.25em; font-weight: 600; margin-bottom: 1em;}.shortcode-countdown-timer { display: flex; justify-content: center; gap: 1em;}.shortcode-countdown-item { display: flex; flex-direction: column; align-items: center;}.shortcode-countdown-value { font-size: 2em; font-weight: 700; line-height: 1;}.shortcode-countdown-label { font-size: 0.75em; opacity: 0.9; margin-top: 0.25em;}.shortcode-qrcode { display: inline-flex; flex-direction: column; align-items: center; padding: 1.5em; border-radius: 1em; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); margin: 1em 0;}.shortcode-qrcode canvas { border-radius: 0.5em; background: white; padding: 0.5em;}.shortcode-qrcode-label { margin-top: 1em; color: white; font-weight: 600; font-size: 0.875em;}.action-buttons-container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; width: 100%;}@media (max-width: 640px) { .action-buttons-container { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 400px; margin: 0 auto; padding: 0 16px; } .action-buttons-container button { width: 100%; justify-content: center; }}.reward-button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); transition: all 0.3s; letter-spacing: 0.5px; position: relative; overflow: hidden;}@media (max-width: 640px) { .reward-button, .share-button, .like-button { padding: 10px 20px; font-size: 14px; } .reward-button svg, .share-button svg, .like-button .like-icon { width: 16px; height: 16px; }}.reward-button::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent); transform: rotate(45deg); animation: liquid-flow 3s linear infinite;}@keyframes liquid-flow { 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } 100% { transform: translateX(100%) translateY(100%) rotate(45deg); }}.reward-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);}.reward-button svg { width: 18px; height: 18px;}.share-button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); transition: all 0.3s; letter-spacing: 0.5px; position: relative; overflow: hidden;}.share-button::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent); transform: rotate(45deg); animation: liquid-flow 3s linear infinite;}.share-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);}.share-button svg { width: 18px; height: 18px;}.like-button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%); color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3); transition: all 0.3s; letter-spacing: 0.5px; position: relative; overflow: hidden;}.like-button::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent); transform: rotate(45deg); animation: liquid-flow 3s linear infinite;}.like-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4); background: linear-gradient(135deg, #db2777 0%, #be185d 50%, #9f1239 100%);}.like-button.liked { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);}.like-button.liked .like-icon { fill: currentColor; animation: heartBeat 0.3s ease-in-out;}.like-button .like-icon { width: 18px; height: 18px; transition: all 0.3s;}.like-button .like-count { font-size: 13px; opacity: 0.9;}@keyframes heartBeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.3); } 50% { transform: scale(1.1); }}.share-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px;}.share-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(249, 250, 251, 0.6); backdrop-filter: blur(10px); border-radius: 8px; border: 2px solid rgba(59, 130, 246, 0.2); cursor: pointer; transition: all 0.3s; text-decoration: none; color: #374151;}.share-item:hover { border-color: #3b82f6; background: rgba(255, 255, 255, 0.8); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);}.share-item svg { width: 24px; height: 24px; flex-shrink: 0;}.share-item span { font-size: 14px; font-weight: 500;}.toast { position: fixed; top: 20px; right: 20px; background: rgba(16, 185, 129, 0.95); backdrop-filter: blur(10px); color: white; padding: 16px 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; z-index: 10000; animation: slideInRight 0.3s ease-out; max-width: 320px;}.toast.hide { animation: slideOutRight 0.3s ease-out forwards;}@keyframes slideInRight { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; }}@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; }}.toast svg { width: 20px; height: 20px; flex-shrink: 0;}.qr-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 20px;}.qr-item { text-align: center;}.qr-box { background: rgba(249, 250, 251, 0.6); backdrop-filter: blur(10px); padding: 12px; border-radius: 10px; border: 2px solid rgba(16, 185, 129, 0.2); transition: all 0.3s;}.qr-box:hover { border-color: #10b981; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); background: rgba(255, 255, 255, 0.8);}.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9999; animation: fadeIn 0.3s;}.modal-overlay.show { display: flex; align-items: center; justify-content: center;}@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }}.modal-content { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 16px; padding: 30px; max-width: 480px; width: 90%; position: relative; animation: slideUp 0.3s; box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);}@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; }}.modal-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: none; background: rgba(243, 244, 246, 0.6); backdrop-filter: blur(10px); border-radius: 50%; cursor: pointer; font-size: 18px; color: #6b7280; transition: all 0.3s; display: flex; align-items: center; justify-content: center;}.modal-close:hover { background: rgba(229, 231, 235, 0.8); color: #374151; transform: rotate(90deg);}