:root { --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } [data-theme="dark"] { --bg-base: #090b11; --bg-surface: #0f131f; --bg-surface-elevated: #161b2c; --border-subtle: rgba(255, 255, 255, 0.08); --border-hover: rgba(59, 130, 246, 0.35); --text-main: #f1f5f9; --text-muted: #94a3b8; --card-bg: #0f131f; --navbar-bg: rgba(9, 11, 17, 0.85); --pill-bg: rgba(37, 99, 235, 0.12); --pill-border: rgba(59, 130, 246, 0.25); --primary: #3b82f6; --primary-hover: #2563eb; --accent-badge: #60a5fa; --content-code-bg: #030712; --blockquote-bg: rgba(37, 99, 235, 0.06); --toc-bg: rgba(22, 27, 44, 0.7); --callout-warning-bg: rgba(245, 158, 11, 0.08); --callout-warning-border: #f59e0b; --callout-danger-bg: rgba(239, 68, 68, 0.08); --callout-danger-border: #ef4444; --callout-info-bg: rgba(59, 130, 246, 0.08); --callout-info-border: #3b82f6; --callout-law-bg: rgba(139, 92, 246, 0.08); --callout-law-border: #8b5cf6; --callout-success-bg: rgba(16, 185, 129, 0.08); --callout-success-border: #10b981; } [data-theme="light"] { --bg-base: #f8fafc; --bg-surface: #ffffff; --bg-surface-elevated: #f1f5f9; --border-subtle: rgba(0, 0, 0, 0.08); --border-hover: rgba(37, 99, 235, 0.35); --text-main: #0f172a; --text-muted: #64748b; --card-bg: #ffffff; --navbar-bg: rgba(248, 250, 252, 0.85); --pill-bg: rgba(37, 99, 235, 0.08); --pill-border: rgba(37, 99, 235, 0.2); --primary: #2563eb; --primary-hover: #1d4ed8; --accent-badge: #2563eb; --content-code-bg: #f1f5f9; --blockquote-bg: rgba(37, 99, 235, 0.05); --toc-bg: #f8fafc; --callout-warning-bg: #fffbeb; --callout-warning-border: #f59e0b; --callout-danger-bg: #fef2f2; --callout-danger-border: #ef4444; --callout-info-bg: #eff6ff; --callout-info-border: #2563eb; --callout-law-bg: #f5f3ff; --callout-law-border: #7c3aed; --callout-success-bg: #f0fdf4; --callout-success-border: #10b981; } * { box-sizing: border-box; font-family: var(--font-main); margin: 0; padding: 0; -webkit-font-smoothing: antialiased; } body { background-color: var(--bg-base); color: var(--text-main); line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column; transition: background-color 0.3s ease, color 0.3s ease; } .ambient-glow { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; max-width: 1200px; height: 400px; background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 70%); pointer-events: none; z-index: 0; } .navbar { position: sticky; top: 0; z-index: 1000; background-color: var(--navbar-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-subtle); width: 100%; transition: all 0.3s ease; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; align-items: center; justify-content: space-between; } .brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-main); } .brand-icon { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; box-shadow: 0 0 12px rgba(37, 99, 235, 0.3); } .brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-main); } .brand-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 6px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #ffffff; border-radius: 4px; letter-spacing: 0.05em; } .nav-menu { display: flex; align-items: center; gap: 1.75rem; } .nav-link { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; transition: color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--primary); } .nav-actions { display: flex; align-items: center; gap: 0.75rem; } .theme-toggle-btn { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); color: var(--text-main); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: all 0.2s ease; } .theme-toggle-btn:hover { border-color: var(--primary); transform: scale(1.05); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.6rem 1.15rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: none; } .btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); } .btn-primary:hover { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); transform: translateY(-1px); } .btn-sm { padding: 0.5rem 1rem !important; font-size: 0.85rem !important; line-height: 1.25 !important; border-radius: 8px !important; } .btn-ghost { background: transparent; color: var(--text-muted); padding: 0.5rem 0.85rem; font-size: 0.85rem; font-weight: 500; border-radius: 8px; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; } .btn-ghost:hover { color: var(--text-main); background-color: var(--bg-surface-elevated); } .container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 2rem 1.5rem 4rem; position: relative; z-index: 1; flex: 1; } .post-layout-grid { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 3rem; align-items: start; position: relative; margin-top: 1rem; } .post-layout-grid.no-sidebar { grid-template-columns: 1fr; max-width: 860px; margin: 1rem auto 0; } .post-sidebar-left { position: sticky; top: 85px; z-index: 10; max-height: calc(100vh - 105px); min-height: 0; display: flex; flex-direction: column; } .post-sidebar-left .toc-wrapper { max-height: calc(100vh - 105px); min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; padding: 1.15rem 1.25rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25); overflow: hidden; } .post-sidebar-left .toc-header { flex-shrink: 0; } .post-sidebar-left .toc-content { flex: 1 1 auto; min-height: 0; max-height: calc(100vh - 180px); overflow-y: auto !important; overflow-x: hidden; padding-right: 6px; margin-top: 0.85rem; padding-top: 0.85rem; overscroll-behavior: contain; } .post-sidebar-left .toc-content::-webkit-scrollbar { width: 5px; } .post-sidebar-left .toc-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 4px; } .post-sidebar-left .toc-content::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; } .post-sidebar-left .toc-content::-webkit-scrollbar-thumb:hover { background: var(--primary); } .post-sidebar-left .toc-title { font-size: 0.95rem; } .post-sidebar-left .toc-link { font-size: 0.86rem; padding: 0.28rem 0.45rem; gap: 0.45rem; line-height: 1.45; } .post-sidebar-left .toc-num { font-size: 0.68rem; min-width: 20px; height: 18px; } .post-sidebar-left .toc-level-3 .toc-link { font-size: 0.81rem; padding: 0.2rem 0.35rem; } .post-sidebar-left .toc-sublist { padding-left: 1rem; margin-left: 0.5rem; } .post-main-column { min-width: 0; max-width: 840px; } .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.825rem; font-weight: 600; color: var(--text-muted); margin-bottom: 2rem; } .breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; } .breadcrumbs a:hover { color: var(--primary); } .breadcrumbs .separator { color: var(--text-muted); opacity: 0.5; } .breadcrumbs .current { color: var(--text-main); max-width: 400px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .article-header { margin-bottom: 2rem; } .article-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; } .badge-cat, .badge-date, .badge-reading-time { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--primary); padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; } .badge-views { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-subtle); color: var(--text-muted); padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; } .article-title { font-size: 2.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 1rem; } .article-desc { font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); } .article-featured-image { width: 100%; max-height: 480px; aspect-ratio: 16 / 9; object-fit: contain; background: var(--bg-surface-elevated); border-radius: 1rem; border: 1px solid var(--border-subtle); margin-bottom: 2rem; box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.25); display: block; cursor: zoom-in; } .toc-wrapper { background: var(--toc-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-subtle); border-left: 4px solid var(--primary); border-radius: 14px; padding: 1.25rem 1.6rem; margin-bottom: 2.75rem; box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } .toc-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; padding-bottom: 0.25rem; } .toc-title-group { display: flex; align-items: center; gap: 0.65rem; } .toc-title { font-size: 1.02rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; } .toc-badge-count { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.65rem; background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--primary); border-radius: 9999px; } .toc-toggle-btn { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); padding: 0.28rem 0.75rem; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; } .toc-toggle-btn:hover { color: var(--primary); border-color: var(--border-hover); background: var(--pill-bg); } .toc-content { margin-top: 1rem; padding-top: 1.15rem; border-top: 1px dashed var(--border-subtle); transition: all 0.3s ease; } .toc-tree { list-style: none; padding-left: 0; margin: 0; } .toc-tree-item { margin-bottom: 0.4rem; } .toc-level-2 { margin-top: 0.65rem; } .toc-level-2:first-child { margin-top: 0; } .toc-link { display: inline-flex; align-items: baseline; gap: 0.55rem; color: var(--text-muted); text-decoration: none; font-size: 0.94rem; font-weight: 600; line-height: 1.55; padding: 0.35rem 0.6rem; border-radius: 6px; transition: all 0.2s ease; } .toc-link:hover { color: var(--primary); background: var(--pill-bg); text-decoration: none; transform: translateX(3px); } .toc-link.active { color: var(--primary); font-weight: 700; background: var(--pill-bg); box-shadow: 0 1px 4px rgba(37, 99, 235, 0.15); } .toc-text { flex: 1; word-break: break-word; } .toc-num { display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; min-width: 24px; height: 20px; padding: 0 4px; background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--primary); border-radius: 4px; flex-shrink: 0; margin-top: 1px; } .toc-sublist { list-style: none; padding-left: 1.65rem; margin: 0.3rem 0 0.5rem 0; border-left: 2px solid var(--border-subtle); margin-left: 0.85rem; } .toc-level-3 .toc-link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); padding: 0.22rem 0.5rem; } .toc-bullet { color: var(--primary); font-size: 0.85rem; opacity: 0.7; flex-shrink: 0; } .inbot-silo-readmore { margin: 1.75rem 0; padding: 1.15rem 1.35rem; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.08)); border: 1px solid var(--pill-border); border-left: 4px solid var(--primary); border-radius: 12px; } .inbot-silo-readmore-badge { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); margin-bottom: 0.55rem; } .inbot-silo-readmore-list { list-style: none !important; margin: 0 !important; padding: 0 !important; } .inbot-silo-readmore-list li { padding-left: 1.35rem !important; margin-bottom: 0.4rem !important; font-size: 0.95rem; } .inbot-silo-readmore-list li:last-child { margin-bottom: 0 !important; } .inbot-silo-readmore-list a { font-weight: 700; color: var(--primary); text-decoration: none !important; } .inbot-silo-readmore-list a:hover { text-decoration: underline !important; } .inbot-sticky-bottom-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 990; background: var(--navbar-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--pill-border); box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.25); padding: 0.65rem 1.25rem; display: flex; align-items: center; justify-content: center; } .inbot-sticky-bottom-inner { max-width: 1120px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .inbot-sticky-bottom-text { font-size: 0.9rem; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; } .inbot-sticky-bottom-actions { display: flex; align-items: center; gap: 0.6rem; } .inbot-sticky-btn-calc { font-size: 0.82rem; font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 8px; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); color: var(--text-main); text-decoration: none; transition: all 0.2s ease; } .inbot-sticky-btn-calc:hover { border-color: var(--primary); color: var(--primary); } .inbot-sticky-btn-trial { font-size: 0.82rem; font-weight: 700; padding: 0.45rem 0.95rem; border-radius: 8px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff; text-decoration: none; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); } .inbot-sticky-close { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.2rem 0.4rem; } @media (max-width: 768px) { .inbot-sticky-bottom-text span.hide-mobile { display: none; } } .reading-progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0%; background: linear-gradient(90deg, #2563eb, #38bdf8, #10b981, #f59e0b); z-index: 9999; transition: width 0.08s ease-out; box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); } .article-content { font-size: 1.05rem; line-height: 1.85; color: var(--text-main); } .article-content > p:first-of-type { font-size: 1.12rem; line-height: 1.8; color: var(--text-main); background: var(--bg-surface-elevated); padding: 1.25rem 1.5rem; border-radius: 12px; border: 1px solid var(--border-subtle); border-left: 4px solid var(--primary); margin-bottom: 2rem; box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04); } .article-content h1, .article-content h2, .article-content h3, .article-content h4 { color: var(--text-main); font-weight: 800; letter-spacing: -0.015em; margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.4; scroll-margin-top: 85px; } .article-content h2 { font-size: 1.5rem; padding: 0.5rem 0.85rem 0.5rem 1rem; border-left: 4px solid var(--primary); border-bottom: 1px solid var(--border-subtle); border-radius: 0 8px 8px 0; background: linear-gradient(90deg, var(--pill-bg), transparent 80%); } .article-content h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 0.5rem; } .article-content h3::before { content: '◆'; color: var(--primary); font-size: 0.85rem; } .article-content p { margin-bottom: 1.35rem; } .article-content details { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1.25rem 0; transition: all 0.25s ease; box-shadow: 0 4px 15px -4px rgba(0, 0, 0, 0.05); } .article-content details[open] { border-color: var(--primary); box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.15); } .article-content summary { font-weight: 700; font-size: 1.05rem; color: var(--text-main); cursor: pointer; outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; user-select: none; } .article-content summary::-webkit-details-marker { display: none; } .article-content summary::after { content: '+'; font-size: 1.35rem; font-weight: 500; color: var(--primary); transition: transform 0.2s ease; flex-shrink: 0; } .article-content details[open] summary::after { content: '−'; transform: rotate(180deg); } .article-content details p { margin-top: 0.85rem; margin-bottom: 0.25rem; color: var(--text-muted); line-height: 1.75; } .article-faq-section { margin-top: 3rem; padding: 1.75rem; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: 16px; } .article-content ul { list-style: none; padding-left: 0; margin-bottom: 1.75rem; } .article-content ul > li { position: relative; padding-left: 1.6rem; margin-bottom: 0.65rem; line-height: 1.75; } .article-content ul > li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--primary); font-size: 0.85rem; font-weight: 700; } .article-content ol { list-style: none; counter-reset: step-counter; padding-left: 0; margin-bottom: 2rem; } .article-content ol > li { counter-increment: step-counter; position: relative; padding-left: 2.75rem; margin-bottom: 1.25rem; line-height: 1.75; } .article-content ol > li::before { content: counter(step-counter); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #ffffff; font-size: 0.8rem; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35); } .article-content strong { color: var(--text-main); font-weight: 700; } .article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; } .article-content a:hover { opacity: 0.85; } mark, .mark-amber, .highlight-amber, .highlight-yellow { background: rgba(245, 158, 11, 0.2); color: inherit; padding: 0.12em 0.38em; border-radius: 4px; border-bottom: 2px solid #f59e0b; font-weight: 600; } mark.red, .mark-red, .highlight-red, .highlight-danger, .highlight-penalty { background: rgba(239, 68, 68, 0.16); color: #ef4444; padding: 0.12em 0.38em; border-radius: 4px; border-bottom: 2px solid #ef4444; font-weight: 700; } [data-theme="dark"] mark.red, [data-theme="dark"] .mark-red, [data-theme="dark"] .highlight-red, [data-theme="dark"] .highlight-penalty { color: #fca5a5; } mark.green, .mark-green, .highlight-green, .highlight-success, .highlight-safe { background: rgba(16, 185, 129, 0.16); color: #059669; padding: 0.12em 0.38em; border-radius: 4px; border-bottom: 2px solid #10b981; font-weight: 600; } [data-theme="dark"] mark.green, [data-theme="dark"] .mark-green, [data-theme="dark"] .highlight-green { color: #6ee7b7; } mark.blue, .mark-blue, .highlight-blue, .highlight-info { background: rgba(59, 130, 246, 0.16); color: var(--primary); padding: 0.12em 0.38em; border-radius: 4px; border-bottom: 2px solid var(--primary); font-weight: 600; } mark.purple, .mark-purple, .highlight-purple, .highlight-law { background: rgba(139, 92, 246, 0.16); color: #7c3aed; padding: 0.12em 0.38em; border-radius: 4px; border-bottom: 2px solid #8b5cf6; font-weight: 600; } [data-theme="dark"] mark.purple, [data-theme="dark"] .mark-purple, [data-theme="dark"] .highlight-purple, [data-theme="dark"] .highlight-law { color: #c4b5fd; } .text-red, .text-danger, .text-penalty { color: #ef4444 !important; font-weight: 700; } [data-theme="dark"] .text-red, [data-theme="dark"] .text-danger, [data-theme="dark"] .text-penalty { color: #f87171 !important; } .text-green, .text-success, .text-safe { color: #10b981 !important; font-weight: 700; } [data-theme="dark"] .text-green, [data-theme="dark"] .text-success { color: #34d399 !important; } .text-amber, .text-warning { color: #f59e0b !important; font-weight: 700; } [data-theme="dark"] .text-amber, [data-theme="dark"] .text-warning { color: #fbbf24 !important; } .text-blue, .text-primary { color: var(--primary) !important; font-weight: 700; } .text-purple, .text-law { color: #8b5cf6 !important; font-weight: 700; } [data-theme="dark"] .text-purple, [data-theme="dark"] .text-law { color: #a78bfa !important; } .text-gradient { background: linear-gradient(135deg, #38bdf8, #2563eb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; } .pill, .badge-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 700; line-height: 1.35; vertical-align: baseline; margin: 0 0.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .pill-danger { background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.35); color: #ef4444; } [data-theme="dark"] .pill-danger { color: #fca5a5; } .pill-warning { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.35); color: #d97706; } [data-theme="dark"] .pill-warning { color: #fde047; } .pill-success { background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.35); color: #059669; } [data-theme="dark"] .pill-success { color: #6ee7b7; } .pill-info { background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(37, 99, 235, 0.35); color: #2563eb; } [data-theme="dark"] .pill-info { color: #93c5fd; } .pill-purple { background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); color: #7c3aed; } [data-theme="dark"] .pill-purple { color: #c4b5fd; } .callout { border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.75rem 0; border-left: 5px solid; position: relative; font-style: normal; font-size: 1rem; line-height: 1.75; box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05); } .callout p:last-child { margin-bottom: 0; } .callout-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; font-weight: 800; margin-bottom: 0.65rem; } .callout-warning, .callout-danger { background: var(--callout-danger-bg); border-color: var(--callout-danger-border); color: var(--text-main); } .callout-warning .callout-title, .callout-danger .callout-title { color: var(--callout-danger-border); } .callout-tip, .callout-info { background: var(--callout-info-bg); border-color: var(--callout-info-border); color: var(--text-main); } .callout-tip .callout-title, .callout-info .callout-title { color: var(--callout-info-border); } .callout-law { background: var(--callout-law-bg); border-color: var(--callout-law-border); color: var(--text-main); } .callout-law .callout-title { color: var(--callout-law-border); } .callout-success { background: var(--callout-success-bg); border-color: var(--callout-success-border); color: var(--text-main); } .callout-success .callout-title { color: var(--callout-success-border); } .callout-summary { background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(59, 130, 246, 0.12)); border: 1px solid var(--border-hover); border-left: 5px solid var(--primary); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; } .callout-summary .callout-title { color: var(--primary); font-size: 1.1rem; } .article-content blockquote { background: var(--blockquote-bg); border-left: 4px solid var(--primary); padding: 1.15rem 1.4rem; border-radius: 0 10px 10px 0; margin: 1.75rem 0; color: var(--text-main); font-size: 0.98rem; line-height: 1.75; box-shadow: 0 2px 10px rgba(0,0,0,0.03); } .article-content code { font-family: 'Courier New', Courier, monospace; background: var(--content-code-bg); padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.9em; color: var(--primary); } .article-content pre { background: var(--content-code-bg); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 1rem 1.25rem; overflow-x: auto; margin: 1.5rem 0; } .article-content pre code { background: none; padding: 0; color: var(--text-main); } .table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2.25rem 0; border-radius: 14px; border: 1px solid var(--border-subtle); background: var(--bg-surface); box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.12); position: relative; scrollbar-width: thin; scrollbar-color: var(--primary) transparent; } .table-container::-webkit-scrollbar { height: 6px; } .table-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; } .table-container table, .article-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 0.94rem; line-height: 1.6; } .article-content thead th { background: var(--bg-surface-elevated); color: var(--text-main); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; text-align: left; padding: 1rem 1.25rem; border-bottom: 2px solid var(--primary); border-right: 1px solid var(--border-subtle); white-space: nowrap; position: sticky; top: 0; z-index: 2; } .article-content thead th:last-child { border-right: none; } .article-content tbody td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); color: var(--text-main); vertical-align: middle; } .article-content tbody td:last-child { border-right: none; } .article-content tbody tr:last-child td { border-bottom: none; } .article-content tbody tr:nth-child(even) td { background: rgba(37, 99, 235, 0.025); } [data-theme="dark"] .article-content tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); } .article-content tbody tr:hover td { background: rgba(37, 99, 235, 0.075) !important; transition: background-color 0.15s ease; } .table-scroll-hint { display: none; padding: 0.45rem 1rem; background: var(--bg-surface-elevated); color: var(--text-muted); font-size: 0.75rem; font-weight: 600; text-align: right; border-top: 1px dashed var(--border-subtle); } @media (max-width: 768px) { .table-scroll-hint { display: block; } } .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; } .stat-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.25rem 1rem; text-align: center; transition: transform 0.2s ease, border-color 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04); } .stat-card:hover { transform: translateY(-2px); border-color: var(--border-hover); } .stat-val, .stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 0.35rem; } .stat-card.danger .stat-val, .stat-card.danger .stat-num { color: #ef4444; } .stat-card.warning .stat-val, .stat-card.warning .stat-num { color: #f59e0b; } .stat-card.success .stat-val, .stat-card.success .stat-num { color: #10b981; } .stat-lbl { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); } .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; } .share-bar { display: flex; align-items: center; gap: 0.75rem; margin: 2.5rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); flex-wrap: wrap; } .share-label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); } .share-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; text-decoration: none; color: var(--text-main); background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); cursor: pointer; transition: all 0.2s ease; } .share-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); } .author-eeat-box { display: flex; gap: 1.25rem; align-items: center; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 1rem; padding: 1.5rem; margin: 2.5rem 0; } .author-avatar-wrap { flex-shrink: 0; } .author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); } .author-info { flex: 1; } .author-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; color: #10b981; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; } .author-name { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.35rem; } .author-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; } .related-section { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border-subtle); } .related-title { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; } .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; } .related-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 0.85rem; padding: 1.25rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.2s ease; } .related-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15); } .related-card-title { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; line-height: 1.4; } .related-card:hover .related-card-title { color: var(--primary); } .related-card-desc { font-size: 0.825rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .blog-cta { margin-top: 3.5rem; background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 1.25rem; padding: 2.25rem; text-align: center; position: relative; overflow: hidden; box-shadow: 0 15px 40px -10px rgba(37, 99, 235, 0.15); } .blog-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2563eb, #38bdf8, #2563eb); } .blog-cta h3 { font-size: 1.35rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.6rem; } .blog-cta p { font-size: 0.95rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1.5rem; line-height: 1.6; } .cta-btn-group { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; } .cta-button { padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: all 0.2s ease; display: inline-flex; align-items: center; } .cta-button.primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); } .cta-button.primary:hover { background: linear-gradient(135deg, #3b82f6, #2563eb); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); } .cta-button.secondary { background: var(--bg-surface-elevated); color: var(--text-main); border: 1px solid var(--border-subtle); } .cta-button.secondary:hover { border-color: var(--primary); transform: translateY(-1px); } .footer { background: var(--bg-surface); border-top: 1px solid var(--border-subtle); padding: 2rem 1.5rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: auto; } .footer a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: color 0.2s; } .footer a:hover { color: var(--primary); } @media (max-width: 1080px) { .post-layout-grid { display: flex; flex-direction: column; gap: 1.5rem; } .post-sidebar-left { position: static; max-height: none; width: 100%; } .post-sidebar-left .toc-wrapper { max-height: none; margin-bottom: 1.5rem; padding: 1.25rem 1.5rem; } .post-sidebar-left .toc-content { overflow-y: visible; } .post-main-column { max-width: 100%; } } @media (max-width: 768px) { .nav-menu { display: none; } .btn-ghost { display: none; } .article-title { font-size: 1.75rem; } .author-eeat-box { flex-direction: column; text-align: center; } .blog-cta { padding: 1.5rem 1rem; } .cta-button { width: 100%; justify-content: center; } } .interactive-tax-widget { margin: 2.5rem 0 2rem; background: var(--bg-surface-elevated); border: 1px solid var(--border-hover); border-radius: 20px; padding: 28px 32px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25); position: relative; overflow: hidden; } .tax-widget-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; } .tax-widget-icon { font-size: 32px; line-height: 1; } .tax-widget-title-group h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin: 0 0 4px; } .tax-widget-title-group p { font-size: 0.88rem; color: var(--text-muted); margin: 0; } .tax-form-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin-bottom: 20px; } @media (max-width: 768px) { .tax-form-grid { grid-template-columns: minmax(0, 1fr); } .interactive-tax-widget { padding: 20px 16px; } } .tax-form-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; } .tax-form-field label { font-size: 0.85rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; } .tax-form-field select, .tax-form-field input { width: 100%; min-width: 0; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: 12px; color: var(--text-main); padding: 12px 16px; font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .tax-form-field select:focus, .tax-form-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); } .tax-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .tax-preset-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-subtle); border-radius: 8px; color: var(--text-muted); padding: 5px 10px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.2s; } .tax-preset-btn:hover, .tax-preset-btn.active { background: var(--pill-bg); border-color: var(--primary); color: var(--primary); } .tax-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; } @media (max-width: 640px) { .tax-results-grid { grid-template-columns: 1fr; } } .tax-result-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 16px 18px; text-align: center; } .tax-result-card.highlight { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.4); } .tax-result-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; } .tax-result-val { font-size: 1.35rem; font-weight: 800; color: var(--text-main); } .tax-result-card.highlight .tax-result-val { color: #38bdf8; } .tax-rate-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; } .tax-status-box { border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: 0.88rem; line-height: 1.5; } .tax-status-green { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #34d399; } .tax-status-yellow { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fbbf24; } .tax-status-red { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; } .tax-widget-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); } @media (max-width: 640px) { .tax-widget-cta { flex-direction: column; align-items: stretch; } } .tax-cta-text { font-size: 0.85rem; color: var(--text-muted); } .tax-cta-btn { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff !important; padding: 10px 20px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s; } .tax-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); } .blog-audio-podcast-widget div[style*="Giọng đọc AI"], .blog-audio-podcast-widget .blog-audio-voice-sub { display: none !important; } .sticky-audio-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(15, 23, 42, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1.5px solid rgba(56, 189, 248, 0.4); box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45); transform: translateY(110%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); padding: 8px 16px; padding-bottom: max(8px, env(safe-area-inset-bottom)); color: #f8fafc; } .sticky-audio-bar.visible { transform: translateY(0); } .sticky-audio-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .sticky-audio-play-btn { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #0284c7, #2563eb); border: none; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); transition: transform 0.15s; } .sticky-audio-play-btn:active { transform: scale(0.92); } .sticky-audio-info { flex: 1; min-width: 0; } .sticky-audio-title { font-size: 0.9rem; font-weight: 700; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sticky-audio-sub { font-size: 0.75rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sticky-audio-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .sticky-audio-step-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); color: #e2e8f0; border-radius: 8px; padding: 4px 8px; font-size: 0.75rem; font-weight: 600; cursor: pointer; } .sticky-audio-time { font-size: 0.78rem; font-family: monospace; color: #38bdf8; font-weight: 700; min-width: 80px; text-align: right; } .sticky-audio-close { background: transparent; border: none; color: #94a3b8; font-size: 1.1rem; padding: 6px; cursor: pointer; line-height: 1; } .sticky-audio-progress-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, 0.15); cursor: pointer; } .sticky-audio-progress-fill { height: 100%; background: #38bdf8; width: 0%; transition: width 0.1s linear; } @media (max-width: 640px) { .sticky-audio-step-btn { display: none; } .sticky-audio-time { min-width: auto; font-size: 0.72rem; } } .article-carousel-container { margin: 2.5rem 0 !important; padding: 1.5rem !important; background: var(--bg-surface-elevated) !important; border: 1px solid var(--border-subtle) !important; border-radius: 18px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important; } .article-carousel-container h3 { font-size: 1.2rem !important; font-weight: 800 !important; color: var(--primary) !important; margin-bottom: 1.25rem !important; display: flex; align-items: center; gap: 8px; } .article-carousel-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; } @media (max-width: 768px) { .article-carousel-grid { grid-template-columns: 1fr !important; } } .carousel-slide-item { border-radius: 14px !important; overflow: hidden !important; border: 1px solid var(--border-subtle) !important; background: #090e1a !important; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; cursor: zoom-in !important; } .carousel-slide-item:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important; border-color: var(--border-hover) !important; } .carousel-slide-item img { width: 100% !important; height: auto !important; display: block !important; } .img-lightbox-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 99999; justify-content: center; align-items: center; padding: 20px; cursor: zoom-out; } .img-lightbox-modal.active { display: flex; } .img-lightbox-modal img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); } .img-lightbox-close { position: absolute; top: 24px; right: 28px; color: #f1f5f9; font-size: 32px; font-weight: 700; cursor: pointer; line-height: 1; }