* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #172033;
    background:
        linear-gradient(180deg, #f8fbff 0, #f3f7fc 320px, #eef3f9 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(210, 220, 235, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.site-title::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0f3ea8 0%, #2563eb 60%, #38bdf8 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
    content: "J";
    font-size: 15px;
    font-weight: 900;
}

.site-nav {
    display: flex;
    gap: 8px;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #1d4ed8;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #0f3ea8;
    background: #eff6ff;
}

.site-footer {
    margin-top: 56px;
    padding: 32px 0;
    border-top: 1px solid rgba(213, 224, 238, 0.95);
    color: #64748b;
    background: rgba(255, 255, 255, 0.82);
}

.site-footer p {
    margin: 0 0 6px;
}

.error-page {
    padding: 72px 0;
    text-align: center;
}

.error-page h1 {
    margin: 0 0 12px;
    font-size: 48px;
}

.error-page p {
    color: #4b5563;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.flash-messages {
    margin: 18px 0 0;
    padding: 12px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e40af;
    background: #eff6ff;
}

.flash-messages p {
    margin: 0;
}

.ad-slot {
    margin: 40px 0;
    text-align: center;
}

.main-section {
    padding: 64px 0;
}

.main-section h1 {
    margin: 0 0 12px;
    font-size: 36px;
}

.main-section p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.admin-section {
    max-width: 420px;
    padding: 48px 0;
}

.admin-wide {
    max-width: 100%;
}

.admin-section h1 {
    margin: 0 0 20px;
    font-size: 28px;
}

.admin-form {
    display: grid;
    gap: 10px;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    font-size: 16px;
}

.admin-form input[type="checkbox"] {
    width: auto;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form button {
    margin-top: 8px;
    padding: 10px 14px;
    border: 0;
    color: #fff;
    background: #111827;
    font-size: 16px;
    cursor: pointer;
}

.admin-form-card {
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.admin-form-card h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.form-help {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.admin-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.42);
}

.loading-overlay[hidden] {
    display: none;
}

.loading-panel {
    width: min(100%, 420px);
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.loading-panel strong {
    display: block;
    margin: 12px 0 8px;
    color: #111827;
    font-size: 20px;
}

.loading-panel p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.loading-spinner {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    border: 5px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}

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

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.admin-filter-form label {
    display: block;
    margin-bottom: 4px;
    color: #4b5563;
    font-size: 14px;
}

.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
}

.admin-filter-actions {
    display: flex;
    align-items: end;
    gap: 8px;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.admin-pagination a,
.admin-pagination span,
.admin-pagination strong {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.dashboard-stats article {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.dashboard-stats span {
    display: block;
    color: #6b7280;
    font-size: 14px;
}

.dashboard-stats strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
}

.recent-program-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-program-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.admin-image-preview,
.admin-screenshot-preview,
.admin-og-preview {
    display: block;
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    object-fit: cover;
}

.admin-image-preview {
    width: 96px;
    height: 96px;
    border-radius: 14px;
}

.admin-screenshot-preview {
    width: min(100%, 360px);
    max-height: 220px;
    border-radius: 12px;
}

.admin-og-preview {
    width: min(100%, 420px);
    max-height: 240px;
    border-radius: 12px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-tabs a {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    color: #1f2937;
    background: #fff;
    text-decoration: none;
}

.landing-admin-group {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.landing-admin-group h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.landing-feature-admin {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.landing-feature-admin:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.seo-analysis-card {
    border-color: #bfdbfe;
}

.seo-analysis-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.seo-score {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 12px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 28px;
    line-height: 1;
}

.seo-score-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.seo-score-item {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

.seo-score-item span {
    color: #6b7280;
    font-size: 13px;
}

.seo-score-item strong {
    color: #111827;
}

.seo-score-item small {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.seo-issue-title {
    margin: 18px 0 8px;
    font-size: 16px;
}

.seo-issue-list {
    margin: 0;
    padding-left: 20px;
}

.seo-issue-list li {
    margin-bottom: 6px;
    color: #374151;
}

.seo-ok-message {
    margin: 14px 0 0;
    color: #047857;
    font-weight: 700;
}

.seo-strategy-card {
    border-color: #c7d2fe;
}

.seo-strategy-summary,
.seo-strategy-score-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.seo-strategy-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-strategy-score-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seo-strategy-summary article,
.seo-strategy-score-grid article {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

.seo-strategy-summary span,
.seo-strategy-score-grid span {
    color: #6b7280;
    font-size: 13px;
}

.seo-strategy-summary strong,
.seo-strategy-score-grid strong {
    color: #111827;
    overflow-wrap: anywhere;
}

.seo-strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.seo-strategy-grid section {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.seo-strategy-grid h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.seo-strategy-grid ul {
    margin: 0;
    padding-left: 18px;
}

.seo-strategy-grid li {
    margin-bottom: 6px;
    color: #374151;
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.candidate-card {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.candidate-card dl {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
}

.candidate-card dt {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.candidate-card dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.error-message {
    color: #b91c1c;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th,
.admin-table td {
    padding: 10px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.inline-form {
    display: inline;
}

.inline-form button {
    padding: 0;
    border: 0;
    color: #b91c1c;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.program-section {
    padding: 32px 0 56px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-header h2,
.program-section h1 {
    margin: 0;
    color: #0f172a;
    font-weight: 850;
    letter-spacing: 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.program-card {
    padding: 18px;
    border: 1px solid rgba(213, 224, 238, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.program-card h2,
.program-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.3;
}

.program-card a {
    color: #111827;
    text-decoration: none;
}

.program-meta {
    color: #6b7280;
    font-size: 14px;
}

.program-icon,
.program-card-icon,
.program-screenshot,
.program-og-image,
.program-card-screenshot,
.category-icon,
.latest-program-icon {
    display: block;
    object-fit: cover;
    background: #eff6ff;
}

.program-icon {
    width: 160px;
    height: 160px;
    border-radius: 24px;
}

.program-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 14px;
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.program-screenshot {
    width: min(100%, 420px);
    max-height: 280px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.program-og-image {
    width: min(100%, 720px);
    max-height: 405px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.program-card-screenshot {
    width: 100%;
    height: 140px;
    margin-bottom: 14px;
    border-radius: 14px;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
}

.latest-program-icon {
    width: 76px;
    height: 76px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    font-weight: 700;
}

.program-detail {
    max-width: 1040px;
    padding: 36px 0 56px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #2563eb;
    text-decoration: none;
}

.program-detail-hero,
.summary-card,
.download-cta,
.content-section {
    border: 1px solid rgba(213, 224, 238, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.program-detail-hero {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 320px);
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
    padding: 34px;
}

.landing-hero {
    display: block;
}

.landing-subtitle {
    margin-bottom: 10px !important;
    color: #111827 !important;
    font-size: 20px;
    font-weight: 700;
}

.landing-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    padding: 24px;
}

.landing-image-figure {
    margin: 0;
}

.landing-hero-image {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    object-fit: contain;
    background: #eff6ff;
}

.landing-image-figure figcaption,
.landing-gallery-item figcaption {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.landing-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 64px;
    font-weight: 800;
}

.landing-download-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    border-radius: 16px;
    background: #f9fafb;
}

.landing-download-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 26px;
}

.landing-download-card p {
    line-height: 1.7;
}

.landing-download-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.landing-download-meta div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.landing-download-meta dt {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.landing-download-meta dd {
    margin: 0;
    color: #111827;
    overflow-wrap: anywhere;
}

.download-note {
    margin-top: 12px !important;
    font-size: 14px;
}

.landing-feature-grid,
.landing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.landing-gallery-grid.gallery-count-1 {
    grid-template-columns: minmax(0, 1fr);
}

.landing-gallery-grid.gallery-count-1 .landing-gallery-item {
    max-width: 760px;
}

.landing-gallery-grid.gallery-count-3 .landing-gallery-item:first-child {
    grid-column: span 2;
}

.landing-feature-card {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.landing-feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.landing-feature-card p {
    margin: 0;
}

.landing-gallery-item {
    margin: 0;
}

.landing-gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    object-fit: cover;
    background: #eff6ff;
}

.section-subheading {
    margin: 20px 0 8px;
    font-size: 18px;
}

.program-detail-hero h1 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 36px;
}

.program-detail-hero p {
    margin: 0;
    color: #4b5563;
}

.program-visual {
    display: flex;
    justify-content: flex-end;
}

.summary-card {
    margin-bottom: 18px;
    padding: 24px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin: 0;
}

.summary-grid div {
    display: grid;
    gap: 4px;
}

.summary-grid dt {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.summary-grid dd {
    margin: 0;
    color: #111827;
}

.download-cta {
    margin-bottom: 28px;
    padding: 24px;
}

.landing-download-card.download-cta {
    margin: 0;
}

.download-cta p {
    margin: 12px 0 0;
    color: #4b5563;
}

.download-button {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.download-button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.download-button-row .download-button {
    text-align: center;
}

.secondary-download-button {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.content-section {
    margin-top: 24px;
    padding: 30px;
}

.content-section h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 25px;
    font-weight: 850;
}

.content-section p {
    color: #374151;
    line-height: 1.7;
}

.rich-text-block {
    display: grid;
    gap: 12px;
}

.rich-paragraph {
    margin: 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.85;
}

.rich-keyword {
    color: inherit;
    font-weight: inherit;
}

.program-keyword {
    color: #111827;
    text-decoration: underline;
    text-decoration-color: #f97316;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.rich-accent {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-color: #bfdbfe;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.rich-underline {
    color: #0f172a;
    background: linear-gradient(180deg, transparent 68%, #dbeafe 68%);
    border-radius: 2px;
    text-decoration: underline;
    text-decoration-color: #bfdbfe;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.rich-point-sentence {
    color: #1e40af;
    background: linear-gradient(180deg, transparent 60%, #e0ecff 60%);
    border-bottom: 2px solid #93c5fd;
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.rich-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rich-list;
}

.rich-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #374151;
    background: #f8fbff;
    line-height: 1.7;
    counter-increment: rich-list;
}

.rich-list li::before {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #fff;
    background: #2563eb;
    content: counter(rich-list);
    font-size: 13px;
    font-weight: 800;
}

.comparison-rich-text .rich-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.comparison-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    color: #111827;
    background: #f8fbff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.comparison-card:hover,
.comparison-card:focus {
    color: #111827;
    border-color: #bfdbfe;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.comparison-card-image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #eff6ff;
}

.comparison-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.comparison-card ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
}

.comparison-card li {
    color: #374151;
    line-height: 1.55;
}

.comparison-card-link {
    display: inline-block;
    margin-top: 10px;
    color: #2563eb;
    font-weight: 700;
}

.info-table-wrap {
    overflow-x: auto;
}

.info-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
}

.info-table th {
    width: 180px;
    color: #374151;
    background: #f9fafb;
}

.text-lines p {
    margin: 0 0 10px;
}

.pre-line-text {
    white-space: pre-line;
}

.check-list {
    margin: 0;
    padding-left: 20px;
}

.check-list li {
    margin-bottom: 8px;
    color: #374151;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list p {
    margin: 0;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid #dbeafe;
    border-radius: 12px 12px 6px 6px;
    color: #111827;
    background: #eff6ff;
    font-weight: 700;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px 6px 12px 12px;
    color: #374151;
    background: #fff;
}

.faq-question span,
.faq-answer span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.faq-question span {
    color: #fff;
    background: #2563eb;
}

.faq-answer span {
    color: #1d4ed8;
    background: #dbeafe;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.related-card h3 {
    margin: 0;
    font-size: 18px;
}

.related-card p {
    margin: 0;
    color: #4b5563;
}

.internal-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.category-chip:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.sort-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 22px;
}

.sort-filter a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.sort-filter a.active,
.sort-filter a:hover {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}

.compact-stat-section {
    padding-top: 14px;
    padding-bottom: 14px;
}

.public-stat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    color: #6b7280;
}

.public-stat-list div {
    display: flex;
    gap: 6px;
}

.public-stat-list dt,
.public-stat-list dd {
    margin: 0;
    font-size: 14px;
}

.public-stat-list dd {
    color: #111827;
    font-weight: 700;
}

.version-info-card,
.version-latest-card,
.version-history-list article {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.version-info-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.version-info-card p:last-child {
    margin-bottom: 0;
    color: #4b5563;
}

.version-latest-card {
    margin-top: 14px;
}

.version-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.version-card-header h3 {
    margin: 0;
    font-size: 22px;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.version-badge.verified {
    color: #047857;
    background: #d1fae5;
}

.version-badge.unverified {
    color: #92400e;
    background: #fef3c7;
}

.version-changelog,
.pre-line-text {
    white-space: pre-line;
}

.version-changelog {
    margin: 12px 0;
    color: #374151;
}

.version-history-list {
    display: grid;
    gap: 10px;
}

.version-history-list article > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.version-history-list span {
    color: #6b7280;
    font-size: 14px;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.blog-card-image-wrap {
    position: relative;
    display: block;
    margin: 10px 10px 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #e5e7eb;
}

.blog-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    font-size: 44px;
    font-weight: 900;
}

.blog-card-arrow {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: #fff;
    background: #0ea5a8;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.blog-card-body {
    padding: 18px 26px 26px;
}

.blog-card-category {
    margin: 0 0 8px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 800;
}

.blog-card h2 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.28;
}

.blog-card h2 a {
    color: #1f2937;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #1d4ed8;
}

.blog-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    min-height: 72px;
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card time {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 900;
}

.blog-detail {
    max-width: 920px;
    margin: 0 auto;
}

.blog-detail-header {
    padding: 34px 0 20px;
}

.blog-detail-header h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.25;
}

.blog-content {
    color: #1f2937;
    font-size: 20px;
    line-height: 1.9;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin: 28px 0 12px;
    color: #111827;
}

.blog-content h2 {
    font-size: 34px;
    line-height: 1.3;
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote,
.blog-content pre,
.blog-content table {
    margin-bottom: 16px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-content pre {
    overflow-x: auto;
    padding: 14px;
    border-radius: 8px;
    background: #111827;
    color: #f9fafb;
}

.blog-content blockquote {
    padding: 12px 16px;
    border-left: 4px solid #2563eb;
    background: #eff6ff;
}

.blog-toc-box {
    margin: 24px 0 28px;
    padding: 18px 22px;
    border: 1px solid #bfc7d5;
    border-radius: 3px;
    background: #fafafa;
}

.blog-toc-box strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 22px;
    font-weight: 900;
}

.blog-toc-box a {
    display: block;
    margin: 4px 0;
    color: #4b5563;
    font-size: 18px;
    text-decoration: none;
}

.blog-toc-box a:hover {
    color: #1d4ed8;
}

.blog-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(640px, 100%);
    min-height: 68px;
    margin: 28px auto;
    padding: 14px 24px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.22);
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
}

.blog-cta-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.blog-table-wrap {
    overflow-x: auto;
    margin: 28px 0;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 18px;
    text-align: center;
}

.blog-table th,
.blog-table td {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
}

.blog-table th {
    color: #1d4ed8;
    background: #f8fafc;
    font-weight: 900;
}

.blog-table td strong,
.blog-table td b {
    color: #111827;
}

.blog-popular-more {
    margin: 36px 0 20px;
}

.blog-popular-more h2 {
    margin: 0 0 18px;
    color: #1f2937;
    font-size: 38px;
    line-height: 1.2;
}

.blog-popular-row {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    color: #1f2937;
    background: #fff;
    text-decoration: none;
}

.blog-popular-row:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.blog-popular-row img {
    width: 176px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.blog-popular-copy {
    display: grid;
    gap: 24px;
}

.blog-popular-copy strong {
    color: #1f2937;
    font-size: 20px;
}

.blog-popular-copy small {
    color: #7b8797;
    font-size: 15px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    margin: 36px 0 26px;
    min-height: 560px;
    padding: 62px 58px 58px 68px;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 60%, rgba(239, 246, 255, 0.94) 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.home-hero::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0f3ea8 0%, #2563eb 55%, #38bdf8 100%);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-visual {
    position: absolute;
    right: -26px;
    bottom: 22px;
    z-index: 1;
    width: min(51vw, 680px);
    pointer-events: none;
}

.hero-visual::before {
    position: absolute;
    inset: auto 5% 8% 9%;
    height: 34%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.06) 58%, transparent 74%);
    filter: blur(18px);
    content: "";
}

.hero-visual img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 32px 38px rgba(37, 99, 235, 0.12));
    mix-blend-mode: multiply;
    opacity: 0.92;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 15%, #000 34%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 15%, #000 34%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.hero-label {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 7px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 13px;
    font-weight: 800;
}

.home-hero h1 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-subtitle {
    margin: 0 0 10px;
    color: #111827;
    font-size: 25px;
    font-weight: 800;
}

.hero-description {
    margin: 0 0 30px;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.hero-search {
    position: relative;
    display: flex;
    max-width: 760px;
    padding: 7px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.11);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(280px, 100%);
    padding: 4px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
}

.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
}

.header-search button {
    border: 0;
    border-radius: 9px;
    padding: 8px 11px;
    color: #fff;
    background: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.search-suggest-form {
    position: relative;
}

.search-suggest-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.search-suggest-panel[hidden] {
    display: none;
}

.search-suggest-item {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
}

.search-suggest-item:hover,
.search-suggest-item:focus {
    background: #eff6ff;
    outline: none;
}

.search-suggest-item strong {
    font-size: 15px;
}

.search-suggest-item span {
    color: #64748b;
    font-size: 13px;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    border: 0;
    background: transparent;
    font-size: 16px;
    outline: none;
}

.hero-search button {
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0f3ea8 0%, #2563eb 64%, #3b82f6 100%);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
    font-weight: 800;
}

.popular-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}

.popular-keywords span {
    color: #6b7280;
    font-size: 14px;
}

.popular-keywords a {
    padding: 8px 13px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.78);
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.popular-keywords a:hover,
.popular-keywords a:focus {
    background: #dbeafe;
    transform: translateY(-1px);
}

.download-card,
.category-card,
.latest-item {
    border: 1px solid rgba(213, 224, 238, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.home-section {
    padding: 40px 0;
}

.download-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.download-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 22px 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.download-card-main {
    text-align: center;
}

.download-card-main .program-card-icon {
    width: 104px;
    height: 104px;
    margin: 6px auto 20px;
    border: 1px solid #dbeafe;
    border-radius: 26px;
}

.download-card h3 {
    margin: 4px 0 18px;
    color: #111827;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.28;
}

.download-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.download-card-description {
    margin-top: 4px;
    text-align: left;
}

.download-card-info {
    display: grid;
    gap: 8px;
    margin: 0;
}

.download-card-info div {
    display: grid;
    gap: 2px;
}

.download-card-info dt {
    color: #6b7280;
    font-size: 13px;
}

.download-card-info dd {
    margin: 0;
    color: #111827;
    font-size: 14px;
}

.detail-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #0f3ea8 0%, #2563eb 55%, #3b82f6 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.detail-link:hover,
.detail-link:focus {
    color: #fff;
    filter: saturate(1.06);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:hover,
.clickable-card:focus {
    border-color: #bfdbfe;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.clickable-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.category-card {
    display: block;
    padding: 18px;
    color: #111827;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card:hover,
.category-card:focus {
    border-color: #bfdbfe;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
    outline: none;
}

.category-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    border: 1px solid rgba(191, 219, 254, 0.86);
    border-radius: 18px;
    background: #eff6ff;
    object-fit: cover;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.category-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
}

.category-card span {
    display: block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.category-card-static {
    text-decoration: none;
}

.section-action {
    margin: 20px 0 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px;
}

.category-filter a {
    padding: 9px 14px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.category-filter a:hover,
.category-filter a:focus {
    background: #dbeafe;
    transform: translateY(-1px);
}

.category-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid rgba(213, 224, 238, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.category-header h1 {
    margin: 0 0 10px;
}

.category-header p {
    margin: 0 0 12px;
    color: #4b5563;
}

.category-header span {
    color: #2563eb;
    font-weight: 700;
}

.category-header-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(191, 219, 254, 0.86);
    border-radius: 20px;
    background: #eff6ff;
    object-fit: cover;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
}

.latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.latest-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
        "visual copy"
        "visual action";
    gap: 16px 18px;
    align-items: start;
    padding: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.latest-visual {
    grid-area: visual;
}

.latest-item h3 {
    margin: 9px 0 8px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.3;
}

.latest-item p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.latest-copy {
    grid-area: copy;
    min-width: 0;
}

.latest-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.latest-badges span,
.latest-badges time {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.82);
    font-size: 13px;
    font-weight: 750;
}

.latest-link {
    grid-area: action;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #0f3ea8 0%, #2563eb 58%, #3b82f6 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.latest-link:hover,
.latest-link:focus {
    color: #fff;
    filter: saturate(1.06);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.search-count {
    margin: 6px 0 0;
    color: #6b7280;
}

.search-result-grid {
    display: grid;
    gap: 16px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(213, 224, 238, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.search-result-visual img,
.search-result-visual span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 28px;
    font-weight: 850;
    object-fit: cover;
}

.search-result-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.search-result-card p {
    margin: 0;
    color: #4b5563;
}

.search-result-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 12px;
}

.search-result-info dt {
    color: #6b7280;
    font-size: 13px;
}

.search-result-info dd {
    margin: 0;
}

.search-page-form {
    position: relative;
    display: flex;
    max-width: 760px;
    margin: 0 0 18px;
    padding: 7px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.09);
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 0;
    outline: none;
}

.search-page-form button {
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    font-weight: 800;
}

.search-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.search-sort a {
    padding: 9px 13px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.search-sort a.active,
.search-sort a:hover,
.search-sort a:focus {
    color: #fff;
    background: #2563eb;
}

.search-recommend-box,
.empty-search-panel {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.search-recommend-box h2,
.empty-search-panel h2,
.empty-search-panel h3 {
    margin: 0 0 14px;
}

.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .home-hero {
        display: grid;
        min-height: 0;
        padding: 36px;
    }

    .hero-visual {
        position: relative;
        right: auto;
        bottom: auto;
        justify-self: center;
        width: min(100%, 520px);
        order: -1;
    }

    .download-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-list {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header {
        grid-template-columns: 1fr;
    }

    .admin-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-strategy-summary,
    .seo-strategy-score-grid,
    .seo-strategy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-showcase {
        grid-template-columns: minmax(220px, 360px) 1fr;
    }

    .landing-download-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-hero {
        gap: 26px;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .hero-visual {
        width: min(100%, 360px);
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-search {
        display: grid;
    }

    .hero-search button {
        padding: 12px 16px;
    }

    .download-card-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .search-result-info {
        grid-template-columns: 1fr;
    }

    .latest-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .latest-program-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .latest-link {
        justify-self: stretch;
    }

    .summary-grid,
    .related-grid,
    .landing-feature-grid,
    .landing-gallery-grid,
    .landing-showcase,
    .program-detail-hero {
        grid-template-columns: 1fr;
    }

    .landing-gallery-grid.gallery-count-3 .landing-gallery-item:first-child {
        grid-column: auto;
    }

    .landing-download-card h2 {
        font-size: 22px;
    }

    .program-visual {
        justify-content: flex-start;
    }

    .program-detail-hero h1 {
        font-size: 30px;
    }

    .admin-filter-form {
        grid-template-columns: 1fr;
    }

    .download-button-row {
        grid-template-columns: 1fr;
    }

    .comparison-rich-text .rich-list {
        grid-template-columns: 1fr;
    }

    .comparison-card-grid {
        grid-template-columns: 1fr;
    }

    .gallery-upload-grid {
        grid-template-columns: 1fr;
    }

    .seo-analysis-header {
        display: grid;
    }

    .seo-score-grid {
        grid-template-columns: 1fr;
    }

    .seo-strategy-summary,
    .seo-strategy-score-grid,
    .seo-strategy-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }
}
