:root {
    --bg: #f7fbff;
    --bg-soft: #f1f7ff;
    --surface: #ffffff;
    --surface-alt: #fbfdff;
    --line: #dce7f5;
    --line-strong: #c8d8ee;
    --text: #243449;
    --muted: #72839a;
    --primary: #6aa8ff;
    --primary-dark: #4d8def;
    --primary-soft: #eff6ff;
    --green: #3cc598;
    --shadow: 0 18px 40px rgba(80, 124, 188, 0.09);
    --shadow-soft: 0 10px 22px rgba(80, 124, 188, 0.07);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(106, 168, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
    color: var(--text);
    font-family: "Pretendard", "Inter", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    padding-top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #d9e3f0;
    backdrop-filter: blur(14px);
}

.site-header .wrap {
    width: min(1280px, calc(100% - 32px));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 78px;
    padding: 12px 0;
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
}

.logo a {
    color: #17305a;
}

.logo-text {
    display: inline-block;
    padding: 2px 0 4px;
    color: #163153;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-search {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 680px;
    height: 48px;
    padding: 6px;
    border: 1px solid #d5e1f1;
    border-radius: 999px;
    background: #ffffff;
}

.header-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--text);
}

.header-search input:focus {
    outline: none;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.header-search-btn {
    border: 0;
    background: linear-gradient(180deg, #5f9cff 0%, #4d8def 100%);
    color: #fff;
    cursor: pointer;
}

.gnb {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    background: linear-gradient(180deg, #4e96ff 0%, #66a6ff 100%);
}

.gnb-primary,
.gnb-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}

.gnb-primary {
    flex: 1 1 auto;
}

.gnb-secondary {
    flex: 0 1 auto;
}

.gnb-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px 12px 0 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    transition: all 0.2s ease;
}

.category-link:hover,
.category-link.is-active {
    background: #ffffff;
    color: var(--primary-dark);
}

.category-name {
    font-weight: 700;
}

.category-link em {
    font-style: normal;
    font-size: 11px;
    opacity: 0.82;
}

.page-content {
    padding: 22px 0 42px;
}

.hero-panel,
.section-block,
.panel-card,
.sub-hero,
.filter-panel,
.detail-main,
.detail-side {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 310px;
    gap: 18px;
    padding: 26px;
    background:
        linear-gradient(135deg, rgba(106, 168, 255, 0.1), transparent 40%),
        #ffffff;
}

.hero-copy h2,
.sub-hero h2,
.detail-main h2,
.section-heading h3,
.side-heading h3 {
    color: #183153;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin-top: 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
}

.hero-copy p,
.sub-hero p,
.detail-main p,
.body-copy,
.catalog-content p,
.file-card p,
.list-row p,
.terms-row p {
    color: var(--muted);
}

.hero-copy p {
    margin-top: 14px;
    font-size: 15px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.hero-search,
.filter-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-alt);
}

.hero-search {
    grid-template-columns: minmax(0, 1fr) 110px;
}

.hero-actions,
.detail-actions,
.catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--primary);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(106, 168, 255, 0.2);
}

.btn.btn-secondary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: none;
}

.text-link,
.detail-link {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.hero-metrics {
    display: grid;
    gap: 12px;
}

.metric-card {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.metric-card strong {
    display: block;
    margin-top: 6px;
    color: #183153;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.metric-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.section-block {
    margin-top: 18px;
    padding: 22px;
}

.dashboard-home {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-hero,
.dashboard-board,
.dashboard-card-section {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dashboard-intro h2 {
    margin-top: 10px;
    color: #183153;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.dashboard-intro p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

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

.dashboard-stat-card {
    padding: 16px 18px;
    border: 1px solid #dce7f5;
    border-radius: 18px;
    background: #f9fbff;
}

.dashboard-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.dashboard-stat-card strong {
    display: block;
    margin-top: 6px;
    color: #183153;
    font-size: 24px;
    line-height: 1.25;
}

.dashboard-stat-card-emphasis {
    background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%);
}

.dashboard-board,
.dashboard-card-section {
    padding: 22px;
}

.dashboard-rank-list {
    display: flex;
    flex-direction: column;
}

.dashboard-rank-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #e6edf7;
}

.dashboard-rank-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.dashboard-rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eff6ff;
    color: #3568b8;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-rank-copy strong {
    display: block;
    color: #183153;
    font-size: 16px;
}

.dashboard-rank-copy p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.dashboard-rank-value {
    color: #183153;
    font-size: 20px;
    font-weight: 800;
}

.dashboard-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-mini-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.dashboard-mini-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 10px;
    background: linear-gradient(135deg, #edf4ff, #f8fbff);
}

.dashboard-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dashboard-mini-copy {
    padding: 12px;
}

.dashboard-mini-copy h4 {
    margin-top: 8px;
    color: #183153;
    font-size: 13px;
    line-height: 1.3;
}

.list-only-section {
    margin-top: 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-heading h3 {
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.2;
}

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

.category-card,
.file-card,
.catalog-row {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card:hover,
.file-card:hover,
.catalog-row:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 16px 32px rgba(35, 61, 99, 0.1);
}

.category-card {
    padding: 18px;
}

.category-card strong {
    display: block;
    color: #183153;
    font-size: 15px;
}

.category-card p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

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

.file-card {
    padding: 14px;
}

.thumb-box,
.detail-thumb,
.catalog-thumb {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #edf3ff, #f8fbff);
}

.thumb-box {
    margin-bottom: 12px;
    aspect-ratio: 16 / 9;
}

.detail-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 22px;
    aspect-ratio: 21 / 8;
    min-height: 360px;
    max-height: 560px;
    width: 100%;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(14, 24, 38, 0.18), rgba(14, 24, 38, 0.08)),
        linear-gradient(135deg, #e7eef8, #f8fbff);
}

.detail-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-thumb-bg);
    background-position: center;
    background-size: cover;
    filter: blur(26px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.6;
}

.detail-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.34));
}

.thumb-box img,
.detail-thumb > img:not(.detail-thumb-image),
.catalog-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.detail-thumb-image {
    position: relative;
    z-index: 1;
    width: 160px;
    height: 160px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(19, 34, 54, 0.16);
    background: rgba(255, 255, 255, 0.72);
    padding: 18px;
}

.detail-main,
.detail-side,
.detail-thumb,
.detail-thumb img {
    max-width: 100%;
}

.file-card-top,
.catalog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.catalog-top {
    margin-bottom: 8px;
}

.badge,
.file-format,
.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.file-card h4,
.catalog-content h3 {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.4;
}

.file-card p {
    margin-top: 6px;
    font-size: 13px;
}

.file-meta,
.catalog-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.file-meta span,
.catalog-meta span,
.catalog-side span,
.list-row span {
    color: var(--muted);
    font-size: 12px;
}

.sub-hero {
    padding: 22px;
}

.sub-hero h2 {
    margin-top: 10px;
    font-size: 30px;
    line-height: 1.18;
}

.sub-hero p {
    margin-top: 8px;
    font-size: 14px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group label {
    color: #34506f;
    font-size: 12px;
    font-weight: 700;
}

.field-group input,
.field-group select {
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.08);
}

.catalog-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 124px;
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.catalog-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
}

.catalog-thumb img {
    height: 86px;
}

.catalog-thumb-empty {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.catalog-content p {
    margin-top: 5px;
    font-size: 13px;
}

.catalog-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.catalog-downloads {
    color: var(--green);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.pagination-link.is-active {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.pagination-link-nav {
    min-width: 64px;
    color: var(--text);
}

.empty-state {
    padding: 40px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
    text-align: center;
}

.empty-state h3 {
    font-size: 20px;
}

.empty-state p {
    margin-top: 8px;
    color: var(--muted);
}

.dashboard-grid,
.detail-grid,
.detail-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 320px;
    gap: 16px;
}

.panel-card {
    padding: 20px;
}

.list-stack,
.content-stack,
.notice-list,
.summary-list,
.terms-table {
    display: flex;
    flex-direction: column;
}

.list-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #e6edf7;
}

.list-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.list-row strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #183153;
}

.notice-card {
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.notice-list {
    list-style: none;
    gap: 10px;
}

.notice-list li {
    position: relative;
    padding-left: 14px;
    color: var(--muted);
    font-size: 13px;
}

.notice-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.detail-visual {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
}

.detail-hero {
    display: block;
}

.detail-main,
.detail-side {
    padding: 20px;
    min-width: 0;
}

.detail-main {
    width: 100%;
}

.detail-main h2 {
    margin-top: 10px;
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.detail-main p {
    margin-top: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.side-heading {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6edf7;
}

.side-heading h3 {
    margin-top: 8px;
    font-size: 22px;
}

.detail-note {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f5f9ff;
}

.detail-note span {
    color: var(--muted);
    font-size: 12px;
}

.detail-section {
    padding: 22px 24px;
}

.detail-actions,
.summary-list,
.info-table {
    min-width: 0;
}

.summary-list,
.info-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.summary-list div,
.info-table div,
.terms-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e6edf7;
}

.summary-list div:last-child,
.info-table div:last-child,
.terms-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-list span,
.info-table span {
    color: var(--muted);
    font-size: 12px;
}

.summary-list strong,
.info-table strong,
.terms-row strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.info-table {
    margin-top: 12px;
}

.content-stack {
    gap: 10px;
}

.terms-row p {
    font-size: 13px;
}

.adsbygoogle {
    display: block;
    width: 100%;
    margin-top: 16px;
}

.site-footer {
    margin-top: 40px;
    padding: 32px 0 44px;
    border-top: 1px solid #dce7f5;
    background:
        linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
    gap: 24px 32px;
    padding-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.footer-brand,
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #183153;
    font-size: 15px;
}

.footer-column a,
.footer-column p,
.footer-brand p {
    color: var(--muted);
    line-height: 1.7;
}

.footer-brand p {
    max-width: 420px;
}

.footer-column a + a,
.footer-column p + p {
    margin-top: 6px;
}

@media (max-width: 980px) {
    .dashboard-hero,
    .hero-panel,
    .dashboard-grid,
    .detail-hero,
    .detail-grid,
    .detail-stack {
        grid-template-columns: 1fr;
    }

    .dashboard-card-grid,
    .category-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-row {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .catalog-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .wrap {
        width: calc(100% - 20px);
    }

    .site-header {
        padding-top: 0;
    }

    .header-top {
        flex-wrap: wrap;
        min-height: 0;
        padding: 14px 0;
    }

    .logo {
        position: static;
        width: 100%;
    }

    .logo a {
        display: inline-block;
    }

    .logo-text {
        font-size: 23px;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        height: 46px;
    }

    .header-search-btn {
        min-width: 104px;
    }

    .gnb {
        position: relative;
        padding: 0 calc(50vw - 50%);
        justify-content: flex-start;
    }

    .gnb-primary {
        width: calc(100% - 104px);
    }

    .gnb-primary .category-link {
        flex: 1 1 calc(50% - 8px);
    }

    .gnb-secondary {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        z-index: 20;
        width: min(280px, calc(100vw - 20px));
        padding: 10px;
        margin-top: 0;
        border: 1px solid #d8e6f7;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 18px 36px rgba(31, 55, 92, 0.16);
    }

    .gnb-secondary.is-open {
        display: flex;
        flex-direction: column;
    }

    .gnb-secondary .category-link {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        padding: 0 14px;
        border: 1px solid #e3ecf8;
        border-radius: 12px;
        background: #f8fbff;
        color: #183153;
    }

    .gnb-toggle {
        display: inline-flex;
        width: 92px;
    }

    .hero-panel,
    .section-block,
    .panel-card,
    .sub-hero,
    .detail-main,
    .detail-side {
        padding: 16px;
    }

    .dashboard-hero,
    .dashboard-board,
    .dashboard-card-section {
        padding: 16px;
    }

    .dashboard-stats-grid,
    .dashboard-card-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h2,
    .sub-hero h2,
    .detail-main h2,
    .dashboard-intro h2 {
        font-size: 24px;
    }

    .hero-search,
    .filter-panel,
    .category-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .catalog-row,
    .summary-list div,
    .info-table div,
    .terms-row {
        grid-template-columns: 1fr;
    }

    .summary-list,
    .info-table {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .catalog-thumb {
        min-height: 160px;
    }

    .catalog-thumb img {
        height: 160px;
    }

    .detail-thumb {
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        padding: 16px;
    }

    .detail-thumb-image {
        width: 120px;
        height: 120px;
        max-width: 100%;
        max-height: 100%;
        padding: 14px;
    }

    .detail-visual {
        margin-bottom: 14px;
    }

    .detail-hero,
    .detail-main,
    .detail-side,
    .detail-stack,
    .detail-section,
    .summary-list,
    .info-table,
    .detail-actions {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .detail-actions .btn,
    .detail-actions .btn.btn-secondary {
        width: 100%;
        max-width: 100%;
    }

    .section-heading,
    .list-row,
    .catalog-side {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-top,
    .tag-row,
    .detail-actions {
        width: 100%;
    }
}
