/* app.css cleaned 2026-07-06 */
/* Source: app_package_sticky_restore.css. Duplicate later overrides were merged without changing intended rules. */

/* =========================================================
   BASE / RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: #222;
    background: #f4f4f4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: #006fc9;
    text-decoration: none;
}

a:hover {
    color: #004f96;
    text-decoration: underline;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-main h1 {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
}

/* =========================================================
   LAYOUT / COMMON
========================================================= */

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

.main {
    padding: 22px 0 42px;
}

/* =========================================================
   HEADER
========================================================= */

.site-head {
    background: #151515;
    color: #fff;
}

.head-wrap {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
    color: #fff;
}

.head-find {
    margin-left: auto;
    width: min(430px, 100%);
    display: flex;
}

.head-find input {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.head-find button {
    height: 36px;
    min-width: 64px;
    padding: 0 14px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #ccc;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 36px;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.site-nav {
    background: #222;
    border-top: 1px solid rgba(255,255,255,.08);
}

.nav-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.nav-wrap a {
    display: block;
    padding: 9px 12px;
    color: #fff;
    font-size: 13px;
}

.nav-wrap a:hover {
    background: rgba(255,255,255,.08);
    text-decoration: none;
}

/* =========================================================
   FOOTER
========================================================= */

.site-foot {
    border-top: 1px solid #ddd;
    background: #151515;
    color: #ccc;
    padding: 24px 0;
    font-size: 14px;
}

.foot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.foot-links {
    margin: 0;
    text-align: center;
    line-height: 1.8;
}

.foot-links a {
    color: #fff;
    text-decoration: none;
}

.foot-links a:hover {
    text-decoration: underline;
}

.copy {
    margin: 0;
    text-align: center;
}

/* =========================================================
   LAYOUT / COMMON
========================================================= */

.page-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;

    margin: 0 0 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.page-head h1 {
    margin: 0;
    font-size: 24px;
}

.page-head p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.empty {
    padding: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.crumb {
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #666;
    font-size: 12px;
}

/* =========================================================
   WORK LIST / CARDS
========================================================= */

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

.work-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.work-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #e8e8e8;
}

.work-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-body {
    padding: 10px;
}

.work-body h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.work-body h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

.work-info {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.work-info li {
    margin: 3px 0 0;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 6px;
    font-size: 12px;
    line-height: 1.45;
}

.work-info span {
    color: #777;
}

.work-info strong {
    min-width: 0;
    color: #333;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.mini-tags span,
.mini-tags a {
    display: inline-block;
    padding: 2px 6px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: #555;
    font-size: 11px;
    text-decoration: none;
}

.mini-tags a:hover {
    background: #e8e8e8;
    color: #222;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.work-detail {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* =========================================================
   DETAIL SIDEBAR
========================================================= */

.detail-side {
    display: grid;
    gap: 14px;
}

.side-box {
    padding: 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.side-box h2 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 15px;
}

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

.side-work {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.side-work:hover .side-work-title {
    text-decoration: underline;
}

.side-work-img {
    overflow: hidden;
    display: block;
    width: 100px;
    aspect-ratio: 1 / 1;
    background: #e8e8e8;
    border-radius: 8px;
    flex-shrink: 0;
}

.side-work-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-work-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 1.45;
}

.side-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.side-tags a {
    display: inline-block;
    padding: 4px 9px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: #555;
    font-size: 12px;
    text-decoration: none;
}

.side-tags a:hover {
    background: #e8e8e8;
    color: #222;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-main-img {
    overflow: hidden;
    margin: 0 auto 18px;
    max-width: 360px;
    background: #e8e8e8;
    border-radius: 10px;
}

/* =========================================================
   DUGA PLAYER / CREDIT
========================================================= */

.detail-main-img:has(.duga-player) {
    max-width: 810px;
    width: 100%;
    margin: 0 auto 22px;
    padding: 0;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

/* =========================================================
   DETAIL INFO / PACKAGE IMAGE
========================================================= */

.data-list {
    margin: 0;
    border-top: 1px solid #e2e2e2;
}

.data-list div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #e2e2e2;
}

.data-list dt {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.data-list dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-block {
    margin-top: 28px;
}

.detail-block h2 {
    margin: 0 0 9px;
    font-size: 17px;
}

.detail-block p {
    margin: 0;
    font-size: 14px;
}

.tag-box {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-box a {
    display: inline-block;
    padding: 5px 10px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
}

/* =========================================================
   BUTTONS
========================================================= */

.go-btn {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    padding: 13px 18px;
    background: #999;
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
}

.go-btn:hover {
    text-decoration: none;
    opacity: .86;
}

/* =========================================================
   LAYOUT / COMMON
========================================================= */

.page-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 42px;
}

.empty-box {
    padding: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.empty-box p {
    margin: 0;
}

/* =========================================================
   NAME LIST
========================================================= */

.name-card,
.name-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.name-card:hover,
.name-list-item:hover {
    text-decoration: none;
    border-color: #bbb;
}

.name-card span,
.name-list-item span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
}

.name-card em,
.name-list-item em {
    flex: 0 0 auto;
    color: #777;
    font-size: 12px;
    font-style: normal;
}

/* =========================================================
   WORK LIST / CARDS
========================================================= */

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

.work-card-link {
    display: block;
    height: 100%;
}

.work-card-link:hover {
    text-decoration: none;
}

.work-info dt {
    color: #777;
    font-size: 12px;
}

.work-info dd {
    margin: 0;
    min-width: 0;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =========================================================
   PAGER
========================================================= */

.pager {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pager a,
.pager span {
    min-width: 36px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
}

.pager .current,
.pager span[aria-current="page"] {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* =========================================================
   LAYOUT / COMMON
========================================================= */

.breadcrumb {
    margin: 0 0 18px;
    font-size: 12px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #999;
}

/* =========================================================
   NAME LIST
========================================================= */

.name-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.name-list-item,
.name-card {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.name-list-item em,
.name-card em {
    color: #777;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

/* =========================================================
   DUGA PLAYER / CREDIT
========================================================= */

.duga-player {
    width: 100%;
    max-width: 810px;
    margin: 24px auto 32px;
    padding: 0;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    aspect-ratio: 780 / 439;
}

.duga-player > div,
.duga-player [id^="dugaflvplayer-"] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: #000 !important;
    overflow: hidden !important;
    aspect-ratio: 780 / 439 !important;
}

.duga-player iframe,
.duga-player video,
.duga-player object,
.duga-player embed {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    aspect-ratio: 780 / 439 !important;
}

.detail-main-img:has(.duga-player) .duga-player {
    width: 100%;
    max-width: 810px;
    margin: 0 auto;
    background: #000;
}

.detail-main-img:has(.duga-player) .duga-player > div,
.detail-main-img:has(.duga-player) .duga-player [id^="dugaflvplayer-"],
.detail-main-img:has(.duga-player) .duga-player iframe,
.detail-main-img:has(.duga-player) .duga-player video,
.detail-main-img:has(.duga-player) .duga-player object,
.detail-main-img:has(.duga-player) .duga-player embed {
    width: 100% !important;
    max-width: 810px !important;
}

/* =========================================================
   DETAIL INTRODUCTION
========================================================= */

.work-intro-images .package-img:first-child:nth-last-child(1) {
    grid-column: 1 / -1;
}

.work-intro-images .package-img:first-child:nth-last-child(n + 2) {
    grid-column: 1 / -1;
}

.package-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   DETAIL INFO / PACKAGE IMAGE
========================================================= */

.detail-package-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   DETAIL INTRODUCTION
========================================================= */

.work-intro-block {
    margin-top: 24px;
}

.work-intro-block h2,
.detail-block h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.4;
}

.work-intro-block h2::after,
.detail-block h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #d8d8d8, rgba(216, 216, 216, 0));
}

.work-intro-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 2px 0 6px;
}

.work-intro-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    display: none;
}

.package-img {
    overflow: hidden;
    display: block;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================================================
   PAGER
========================================================= */

.pager strong,
.pager .current,
.pager span[aria-current="page"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 7px 10px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    box-sizing: border-box;
}

/* =========================================================
   DETAIL INTRODUCTION
========================================================= */

.work-intro-layout,
.work-intro-flow {
    display: block;
    padding: 2px 0 6px;
}

.work-intro-flow::after {
    content: "";
    display: block;
    clear: both;
}

.work-intro-sample {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    float: left;
    width: min(260px, 38%);
    margin: 0 26px 16px 0;
}

.work-intro-sample img {
    display: block;
    width: 100%;
    height: auto;
}

.work-intro-text {
    min-width: 0;
}

.work-intro-text p {
    margin: 0;
    line-height: 2;
    letter-spacing: .01em;
}

/* =========================================================
   DETAIL SIDEBAR
========================================================= */

.side-work-list-pc {
    display: grid;
}

.side-work-card-grid {
    display: none !important;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-main .detail-related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* =========================================================
   DUGA PLAYER / CREDIT
========================================================= */

.duga-credit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 4px;
    color: #d6d6d6;
    font-size: 12px;
    line-height: 1.5;
}

.duga-credit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.duga-credit img {
    display: inline-block;
    width: 142px !important;
    height: 18px !important;
    max-width: none !important;
    background: #fff;
    border: 0 !important;
}

/* =========================================================
   WORK LIST / CARDS
========================================================= */

.work-img,
.side-work-img,
.detail-main-img {
    background: #f1f1f1 !important;
}

.work-img img,
.side-work-img img,
.detail-main-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* =========================================================
   DETAIL PAGE
========================================================= */

.detail-main-img img {
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: auto !important;
    height: auto !important;
}

/* =========================================================
   WORK LIST / CARDS
========================================================= */

.work-img,
.side-work-img {
    aspect-ratio: 4 / 3 !important;
    background: #f1f1f1 !important;
}

.work-img img,
.side-work-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* =========================================================
   DETAIL SAMPLE SLIDER / MODAL
========================================================= */

.detail-slider-block {
    margin-top: 28px;
}

.detail-slider {
    position: relative;
    width: 100%;
    padding: 0 38px 38px 38px;
}

.detail-slider-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.detail-slider-track::-webkit-scrollbar {
    display: none;
}

.detail-slider-item {
    flex: 0 0 calc((100% - 24px) / 3);
    display: block;
    overflow: hidden;
    scroll-snap-align: start;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
}

.detail-slider-item:hover {
    border-color: #aaa;
    text-decoration: none;
}

.detail-slider-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.detail-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, .62);
    cursor: pointer;
    transform: translateY(-50%);
}

.detail-slider-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
}

.detail-slider-prev {
    left: 0;
}

.detail-slider-next {
    right: 0;
}

.detail-slider-btn:disabled {
    opacity: .25;
    cursor: default;
}

.detail-slider-prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
    content: "?";
}

.detail-slider-next::before {
    transform: translate(-65%, -50%) rotate(135deg);
    content: "?";
}

/* =========================================================
   BASE / RESET
========================================================= */

body.detail-modal-open {
    overflow: hidden;
}

/* =========================================================
   DETAIL SAMPLE SLIDER / MODAL
========================================================= */

.detail-image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.detail-image-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.78);
}

.detail-image-modal-box {
    position: absolute;
    inset: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image-modal-box img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    background: #111;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.detail-image-modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    cursor: pointer;
}

.detail-image-modal-close::before,
.detail-image-modal-close::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 20px;
    width: 18px;
    height: 2px;
    background: #fff;
}

.detail-image-modal-close::before {
    transform: rotate(45deg);
}

.detail-image-modal-close::after {
    transform: rotate(-45deg);
}

/* =========================================================
   DETAIL INFO / PACKAGE IMAGE
========================================================= */

.detail-info-visual {
    margin: 0 0 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: minmax(300px, 530px) max-content;
    justify-content: space-between;
    gap: 26px;
    align-items: flex-start;
}

.detail-info-visual:not(:has(.detail-package-panel)) {
    grid-template-columns: minmax(0, 1fr);
}

.detail-info-visual .data-list {
    margin: 0;
    width: 100%;
    max-width: 530px;
    min-width: 300px;
}

.detail-info-visual .data-list div {
    grid-template-columns: 110px minmax(0, 1fr);
}

.detail-info-visual .data-list dd {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.detail-package-panel {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

.detail-package-img {
    display: block;
    width: auto;
    max-width: 400px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    min-width: 0;
    line-height: 0;
}

.detail-package-img img,
.detail-package-img img.detail-package-img-cover,
.detail-package-img img.detail-package-img-contain {
    display: block;
    width: auto;
    height: 270px;
    max-width: 100%;
    max-height: 270px;
    object-fit: contain;
    object-position: right center;
    border-radius: 10px;
}

/* =========================================================
   RESPONSIVE: @media (max-width: 1000px)
========================================================= */
@media (max-width: 1000px) {
    /* WORK LIST / CARDS */
    .work-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .name-list,
        .work-list {
        grid-template-columns: repeat(4, 1fr);
    }

    /* DETAIL INTRODUCTION */
    .work-intro-layout {
        grid-template-columns: 1fr;
    }

    .work-intro-images {
        max-width: 560px;
    }

    /* DETAIL PAGE */
    .detail-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* DETAIL SIDEBAR */
    .detail-side {
        display: grid;
        gap: 18px;
    }

    .detail-side .side-box {
        padding: 16px;
    }

    .detail-side .side-work-list-pc {
        display: none !important;
    }

    .detail-side .side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    /* WORK LIST / CARDS */
    .detail-side .side-work-card-grid .work-card {
        min-width: 0;
    }

    /* DETAIL SIDEBAR */
    .detail-layout .detail-side .side-work-list-pc {
        display: none !important;
    }

    /* WORK LIST / CARDS */
    .detail-layout .detail-side .work-grid.side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px;
    }

    /* DETAIL PAGE */
    .detail-layout {
        grid-template-columns: 1fr !important;
    }

    /* DETAIL SIDEBAR */
    .detail-layout > .detail-side .side-work-list-pc {
        display: none !important;
    }

    /* WORK LIST / CARDS */
    .detail-layout > .detail-side .side-box .work-grid.side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    /* DETAIL SIDEBAR */
    .detail-layout > .detail-side .side-box-new {
        position: static;
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 900px)
========================================================= */
@media (max-width: 900px) {
    /* DETAIL PAGE */
    .detail-layout {
        grid-template-columns: 1fr;
    }

    /* WORK LIST / CARDS */
    .work-grid,
        .name-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /* DETAIL INTRODUCTION */
    .work-intro-layout {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 18px;
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .detail-info-visual {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* DETAIL SIDEBAR */
    .detail-side {
        gap: 18px;
    }

    .detail-side .side-box {
        padding: 16px;
    }

    .detail-side .side-work-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }

    .detail-side .side-work {
        display: block;
        overflow: hidden;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 10px;
        text-decoration: none;
    }

    .detail-side .side-work:hover {
        border-color: #bbb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
        text-decoration: none;
    }

    .detail-side .side-work:hover .side-work-title {
        text-decoration: none;
    }

    .detail-side .side-work-img {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #e8e8e8;
    }

    .detail-side .side-work-title {
        display: -webkit-box;
        min-height: 44px;
        padding: 9px 10px 10px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #222;
        font-size: 13px;
        line-height: 1.45;
        font-weight: 700;
    }

    /* WORK LIST / CARDS */
    .detail-layout .detail-side .work-grid.side-work-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .detail-info-visual,
        .detail-info-visual:not(:has(.detail-package-panel)) {
        grid-template-columns: 1fr;
    }

    .detail-info-visual .data-list {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .detail-package-panel {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .detail-package-img {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .detail-package-img img,
        .detail-package-img img.detail-package-img-cover,
        .detail-package-img img.detail-package-img-contain {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 270px;
        object-position: center center;
        border-radius: 10px;
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 768px)
========================================================= */
@media (max-width: 768px) {
    /* HEADER */
    .head-wrap {
        display: block;
        padding: 13px 0;
    }

    .logo {
        display: inline-block;
        margin-bottom: 10px;
    }

    .head-find {
        width: 100%;
    }

    /* WORK LIST / CARDS */
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* LAYOUT / COMMON */
    .page-main {
        width: min(1180px, calc(100% - 32px));
        padding: 22px 0 42px;
    }

    /* WORK LIST / CARDS */
    .name-list,
        .work-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* DETAIL SIDEBAR */
    .detail-side .side-work-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    /* DETAIL SAMPLE SLIDER / MODAL */
    .detail-slider {
        padding: 0 34px;
    }

    .detail-slider-item {
        flex-basis: calc((100% - 12px) / 2);
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 520px)
========================================================= */
@media (max-width: 520px) {
    /* LAYOUT / COMMON */
    .wrap {
        width: calc(100% - 8px);
    }

    .main {
        padding: 6px 0 18px;
    }

    .page-head {
        padding: 10px;
    }

    .page-head h1 {
        font-size: 21px;
    }

    /* WORK LIST / CARDS */
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-body {
        padding: 8px;
    }

    /* DETAIL PAGE */
    .work-detail {
        padding: 8px;
        border-radius: 6px;
    }

    .detail-layout {
        gap: 8px;
    }

    /* DETAIL SIDEBAR */
    .side-box {
        padding: 10px;
    }

    /* DETAIL PAGE */
    .detail-main h1 {
        font-size: 21px;
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .data-list div {
        grid-template-columns: 76px 1fr;
    }

    /* LAYOUT / COMMON */
    .page-main {
        width: min(100% - 20px, 1180px);
        padding: 14px 0 32px;
    }

    /* WORK LIST / CARDS */
    .name-list,
        .work-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* NAME LIST */
    .name-card,
        .name-list-item {
        display: block;
        padding: 10px;
    }

    .name-card span,
        .name-list-item span {
        display: block;
    }

    .name-card em,
        .name-list-item em {
        display: block;
        margin-top: 4px;
    }

    /* DETAIL SIDEBAR */
    .detail-side .side-work-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .detail-side .side-work-title {
        min-height: 42px;
        padding: 8px;
        font-size: 12px;
    }

    .detail-side .side-work-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* DETAIL SAMPLE SLIDER / MODAL */
    .detail-slider {
        padding: 0;
    }

    .detail-slider-item {
        flex-basis: 82%;
    }

    .detail-slider-btn {
        display: none;
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 600px)
========================================================= */
@media (max-width: 600px) {
    /* HEADER */
    .head-wrap {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
    }

    .head-find {
        width: 100%;
        margin-left: 0;
    }

    /* WORK LIST / CARDS */
    .work-grid,
        .name-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* DUGA PLAYER / CREDIT */
    .detail-main-img:has(.duga-player) {
        width: calc(100% + 16px);
        max-width: none;
        margin: 0 -8px 16px;
        border-radius: 0;
    }

    .duga-player {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
    }

    /* WORK LIST / CARDS */
    .detail-layout .detail-side .work-grid.side-work-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 620px)
========================================================= */
@media (max-width: 620px) {
    /* DETAIL INTRODUCTION */
    .work-intro-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .detail-info-visual {
        grid-template-columns: 1fr;
    }

    .detail-package-panel {
        justify-content: center;
        width: 100%;
    }

    /* DETAIL INTRODUCTION */
    .work-intro-layout {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    /* DETAIL PAGE */
    .detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .detail-package-img {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    /* DETAIL INTRODUCTION */
    .work-intro-sample {
        max-width: none;
        float: none;
        width: 100%;
        margin: 0 0 16px;
    }

    /* DETAIL INFO / PACKAGE IMAGE */
    .work-intro-sample img {
        width: 100%;
        height: auto;
    }

    .detail-package-img img,
        .detail-package-img img.detail-package-img-cover,
        .detail-package-img img.detail-package-img-contain {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 270px;
        object-position: center center;
        border-radius: 10px;
    }
}

/* =========================================================
   RESPONSIVE: @media (min-width: 701px) and (max-width: 900px)
========================================================= */
@media (min-width: 701px) and (max-width: 900px) {
    /* WORK LIST / CARDS */
    .detail-layout > .detail-side .side-box .work-grid.side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    /* DETAIL PAGE */
    .detail-main .detail-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* =========================================================
   RESPONSIVE: @media (max-width: 700px)
========================================================= */
@media (max-width: 700px) {
    /* WORK LIST / CARDS */
    .detail-layout > .detail-side .side-box .work-grid.side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    /* DETAIL PAGE */
    .detail-main .detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* =========================================================
   RESPONSIVE: @media (min-width: 1001px)
========================================================= */
@media (min-width: 1001px) {
    /* DETAIL PAGE */
    .detail-layout {
        align-items: stretch;
    }

    /* DETAIL SIDEBAR */
    .detail-layout > .detail-side {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .detail-layout > .detail-side .side-box-new {
        position: sticky;
        top: 16px;
        z-index: 2;
    }
}

/* =========================================================
   RESPONSIVE: @media (min-width: 901px) and (max-width: 1100px)
========================================================= */
@media (min-width: 901px) and (max-width: 1100px) {
    /* DETAIL INFO / PACKAGE IMAGE */
    .detail-info-visual {
        grid-template-columns: minmax(260px, 1fr) minmax(0, 42%);
        gap: 22px;
    }

    .detail-info-visual .data-list {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .detail-package-img {
        max-width: 100%;
    }
}
