/* app.dnd-css 50 - ORGANIZED CSS / SEARCH ICON BUTTON 20260708 */
/* Fixed: card tag alignment, package image layout, hover effects. */

/* =========================================================
   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
========================================================= */

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

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

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

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

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

/* --- 共通コンポーネントの統合（重複の排除） --- */
.dnd-site-head .dnd-viewer-filter-options,
#dnd-site-nav .dnd-viewer-filter-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;

  label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: #222;
    color: #e8e8e8;
    font-size: 12px;
    font-weight: 700;
    line-height: 30px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;

    &::before {
      content: "";
      display: inline-block;
      width: 11px;
      height: 11px;
      border: 1px solid rgba(255, 255, 255, .55);
      border-radius: 50%;
      box-sizing: border-box;
    }

    &:has(input[type="checkbox"]:checked) {
      border-color: #ff8c00;
      background: #ff8c00;
      color: #111;

      &::before {
        background: #111;
        border-color: #111;
      }
    }
  }

  input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

/* --- ヘッダー領域 --- */
.dnd-site-head {
  background: #111;
  color: #fff;
  border-top: 1px solid #18c5a6;

  .dnd-wrap.dnd-head-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 56px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* ロゴ */
  .dnd-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin: 0 24px 0 0;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;

    &:hover {
      color: #fff;
      text-decoration: none;
    }

    small {
      display: none !important;
    }
  }
  .dnd-logo-mint { color: #18c5a6; }
  .dnd-logo-sub { display: none !important; }

  /* 検索フォーム */
  .dnd-head-find {
    flex: 0 1 530px;
    width: 530px;
    max-width: 530px;
    min-width: 220px;
    margin: 0 0 0 auto;
    padding: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: #2b3038;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 2px rgba(0, 0, 0, .18);

    input[type="search"] {
      flex: 1 1 auto;
      min-width: 0;
      height: 38px;
      padding: 0 14px;
      border: 1px solid #e4e7eb;
      border-radius: 6px 2px 2px 6px;
      background: #fff;
      color: #20242a;
      font-size: 14px;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
      box-sizing: border-box;

      &::placeholder { color: #8a929c; }
      &:focus {
        outline: none;
        border-color: #18c5a6;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 3px rgba(24, 197, 166, .22);
      }
    }

    button[type="submit"] {
      flex: 0 0 78px;
      width: 78px;
      height: 38px;
      padding: 0 12px;
      border: 0;
      border-radius: 2px 6px 6px 2px;
      background: linear-gradient(180deg, #18c5a6 0%, #10a98d 100%);
      color: #fff;
      font-size: 13px;
      font-weight: 800;
      line-height: 38px;
      white-space: nowrap;
      cursor: pointer;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(0, 0, 0, .18);
      box-sizing: border-box;

      &:hover { background: linear-gradient(180deg, #1bd4b3 0%, #119b83 100%); }
      &:active {
        transform: translateY(1px);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, .22);
      }
    }

    .dnd-search-btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
    .dnd-search-icon { width: 16px; height: 16px; flex: 0 0 auto; }
    .dnd-search-text { display: inline; }
  }

  /* アクション領域 */
  .dnd-head-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  /* RSSリンク */
  .dnd-rss-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 5px;
    background: #222;
    color: #ff8c00;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;

    &:hover {
      background: #2d2d2d;
      color: #ffb347;
      text-decoration: none;
    }
  }

  /* ハンバーガーボタン */
  .dnd-head-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 5px;
    background: #1d1d1d;
    color: #fff;
    cursor: pointer;

    span, &::before, &::after {
      content: "";
      display: block;
      width: 18px;
      height: 2px;
      background: currentColor;
      border-radius: 999px;
    }

    &[aria-expanded="true"] {
      span { display: none; }
      &::before { transform: translateY(3px) rotate(45deg); }
      &::after { transform: translateY(-3px) rotate(-45deg); }
    }
  }
}

/* --- ナビゲーション領域 --- */
#dnd-site-nav.dnd-site-nav {
  display: block;
  background: #202020;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .45);

  .dnd-wrap.dnd-nav-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 5px 18px 5px 28px;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 5px;
      background: rgba(255, 255, 255, .03);
      color: #f3f3f3;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      transition: .2s;

      &::before {
        content: "";
        position: absolute;
        left: 11px;
        top: 50%;
        width: 6px;
        height: 6px;
        margin-top: -4px;
        border-top: 2px solid #18c5a6;
        border-right: 2px solid #18c5a6;
        transform: rotate(45deg);
      }

      &:hover {
        border-color: #18c5a6;
        color: #7ff0dc;
        text-decoration: none;
        transform: translateY(1px);
      }
    }
  }
}

#dnd-site-nav {
  .dnd-menu-filter-title,
  .dnd-viewer-filter-options {
    display: none;
  }
}

/* --- メディアクエリ --- */
@media (max-width: 768px) {
  .dnd-site-head .dnd-wrap.dnd-head-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 6px;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "search search";
    align-items: center;
    gap: 8px 6px;

    .dnd-logo {
      grid-area: logo;
      margin: 0;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dnd-head-find {
      grid-area: search;
      display: flex;
      width: 100%;
      max-width: none;
      min-width: 0;
      margin: 0;
    }
  }
}
/* =========================================================
   FOOTER
========================================================= */

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

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

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

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

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

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

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

.dnd-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;
}

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

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

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

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

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

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

.dnd-work-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

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

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

.dnd-work-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px;
}

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

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

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

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

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

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

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

.dnd-mini-tags span,
.dnd-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dnd-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dnd-go-btn{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;

    margin-top:24px;
    padding:8px 20px;

    background:#000;
    color:#fff;
    border-radius:6px;

    font-size:16px;
    font-weight:700;
    text-decoration:none;

    transition:color .3s ease;
}

.dnd-go-btn::before,
.dnd-go-btn::after{
    content:"";
    position:absolute;
    top:0;
    width:100%;
    height:100%;
    background:#18c5a6;
    transition:transform .45s ease;
}

.dnd-go-btn::before{
    left:calc(-100% + 10px);
}

.dnd-go-btn::after{
    right:calc(-100% + 10px);
}

.dnd-go-btn:hover::before{
    transform:translateX(50%);
}

.dnd-go-btn:hover::after{
    transform:translateX(-50%);
}

.dnd-go-btn span{
    position:relative;
    z-index:1;
}

.dnd-go-btn:hover{
    color:#fff;
    text-decoration:none;
}
.dnd-page-bottom-btn{
    width: min(1180px, calc(100% - 0px));
    margin: 24px auto 0;
}


/* Back */
a.dnd-btn-flat {
  position: relative;
  display: inline-block;

  /* 【追加】テーマが強制追加してくる内側の余白を上下左右すべてゼロにリセット */
  padding: 0; 
  padding-top: 0;
  padding-bottom: 0;

  /* 枠線と角丸の設定（10px） */
  border: 1px solid transparent;
  border-radius: 10px; 
  overflow: hidden;   
  background-clip: padding-box; 

  /* サイズ設定 */
  width: 100%;       
  height: 43px;       /* 指定していただいた高さ */
  line-height: 41px;  /* 文字を中央に持ち上げる高さ */
  margin: 0;
  
  text-align: center;
  font-size: 16px;    
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  background: #000;
  text-decoration: none;
  box-sizing: border-box;
}

/* 文字のコンテナ */
a.dnd-btn-flat span {
  position: relative;
  z-index: 2;
  display: inline-block;
  
  /* 【追加】ここもテーマの余白を強制リセットして上へ引き上げる */
  padding: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  
  height: 41px;     /* 高さを固定してズレを固定 */
  line-height: 41px; 
}

/* 左端の矢印（＜） */
a.dnd-btn-flat:after {
  position: absolute;
  
  /* 【微調整】全体が下がりやすい環境のため、上からの位置を50%から「48%」にして少し上に配置 */
  top: 48%;
  left: 22px; 
  
  width: 7px;
  height: 7px;
  
  content: '';
  -webkit-transform: translateY(-50%) rotate(-135deg);
  transform: translateY(-50%) rotate(-135deg);
  
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  z-index: 2;
}

/* 右側の緑色の半円（※画像に合わせて背景色を緑 #1abc9c に変更しました） */
a.dnd-btn-flat:before {
  position: absolute;
  top: 50%;
  right: 0;

  /* ボタンが43pxに縮んだので、丸の大きさも 64px に縮小して綺麗な半円に調整 */
  width: 64px;  
  height: 64px; 

  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  
  /* めり込み具合を再調整 */
  -webkit-transform: translateX(65%) translateY(-50%);
  transform: translateX(65%) translateY(-50%);

  border-radius: 50%; 
  background: #1abc9c; /* オレンジから画像の鮮やかな緑に変更 */
  z-index: 1;
}

/* マウスオン時 */
a.dnd-btn-flat:hover:before {
  width: 1480px;
  height: 380px;
  -webkit-transform: translateX(20%) translateY(-50%);
  transform: translateX(20%) translateY(-50%);
}




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

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

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

.dnd-empty-box p {
    margin: 0;
}

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

.dnd-name-card,
.dnd-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;
}

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

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

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

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

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

.dnd-work-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.dnd-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
========================================================= */

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

.dnd-pager a,
.dnd-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #555;
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .18s ease, color .18s ease;
}

.dnd-pager a:hover {
    background: #fff;
    border-color: #18c5a6;
    color: #18c5a6;
    text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

.dnd-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;
}

.dnd-duga-player > div,
.dnd-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;
}

.dnd-duga-player iframe,
.dnd-duga-player video,
.dnd-duga-player object,
.dnd-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dnd-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;
}

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

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

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

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

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

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

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

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

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

.dnd-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.dnd-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;
}

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

.dnd-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;
}

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

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

.dnd-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%);
}

.dnd-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;
}

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

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

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

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

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

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

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

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

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

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

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

.dnd-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);
}

.dnd-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;
}

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

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

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

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

.dnd-detail-info-visual {
    margin: 0 0 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    gap: 26px;
    align-items: flex-start;
}

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

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

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

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

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

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

.dnd-detail-package-img img,
.dnd-detail-package-img img.dnd-detail-package-img-cover,
.dnd-detail-package-img img.dnd-detail-package-img-contain {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    border-radius: 10px;
}
/* =========================================================
   RESPONSIVE: @media (max-width: 1000px)
========================================================= */
@media (max-width: 1000px) {
    /* WORK LIST / CARDS */
    .dnd-work-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .dnd-detail-side .dnd-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 */
    .dnd-detail-layout .dnd-detail-side .dnd-work-grid.dnd-side-work-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px;
    }

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

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

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

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

    .dnd-detail-package-img img,
        .dnd-detail-package-img img.dnd-detail-package-img-cover,
        .dnd-detail-package-img img.dnd-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: 520px)
========================================================= */
@media (max-width: 520px) {
    /* LAYOUT / COMMON */
    .dnd-wrap {
        width: calc(100% - 8px);
    }

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

    .dnd-page-head {
        padding: 10px;
    }

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

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

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

    .dnd-detail-layout {
        gap: 8px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* WORK LIST / CARDS */
    .dnd-detail-layout .dnd-detail-side .dnd-work-grid.dnd-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 */
    .dnd-work-intro-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

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

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

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

    .dnd-detail-package-img img,
        .dnd-detail-package-img img.dnd-detail-package-img-cover,
        .dnd-detail-package-img img.dnd-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 */
    .dnd-detail-layout > .dnd-detail-side .dnd-side-box .dnd-work-grid.dnd-side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    /* DETAIL PAGE */
    .dnd-detail-main .dnd-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 */
    .dnd-detail-layout > .dnd-detail-side .dnd-side-box .dnd-work-grid.dnd-side-work-card-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    /* DETAIL PAGE */
    .dnd-detail-main .dnd-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 */
    .dnd-detail-layout {
        align-items: stretch;
    }

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

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

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

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

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

/* =========================================================
   HOVER EFFECTS
========================================================= */

.dnd-work-img,
.dnd-side-work-img,
.dnd-detail-main-img,
.dnd-package-img,
.dnd-detail-slider-item,
.dnd-detail-package-img,
.dnd-work-intro-sample {
    overflow: hidden;
}

.dnd-work-img img,
.dnd-side-work-img img,
.dnd-detail-main-img img,
.dnd-package-img img,
.dnd-detail-slider-item img,
.dnd-detail-package-img img,
.dnd-work-intro-sample img {
    transition:
        transform .22s ease,
        filter .22s ease;
}

.dnd-work-card:hover .dnd-work-img img,
.dnd-side-work:hover .dnd-side-work-img img,
.dnd-detail-main-img:hover img,
.dnd-package-img:hover img,
.dnd-detail-slider-item:hover img,
.dnd-detail-package-img:hover img,
.dnd-work-intro-sample:hover img {
    transform: scale(1.09);
    filter: brightness(1.04);
}

/* =========================================================
   DICTIONARY PAGE / REFINED
========================================================= */

.dnd-maker-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.dnd-maker-guide-section {
    min-width: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.dnd-maker-guide-section:nth-child(n + 3) {
    grid-column: 1 / -1;
}

.dnd-maker-guide-section h2 {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 9px 13px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 17px;
    line-height: 1.4;
}

.dnd-maker-guide-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: #18c5a6;
}

.dnd-maker-guide-section h3 {
    margin: 0;
    padding: 0 0 8px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.dnd-maker-guide-section p {
    margin: 0;
    color: #444;
    font-size: 13px;
    line-height: 1.8;
}

.dnd-maker-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin: 0;
}

.dnd-maker-stats div {
    min-width: 0;
    padding: 10px 11px;
    background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%);
    border: 1px solid #e4e4e4;
    border-radius: 7px;
}

.dnd-maker-stats dt {
    margin: 0 0 3px;
    color: #777;
    font-size: 11px;
    line-height: 1.3;
}

.dnd-maker-stats dd {
    margin: 0;
    color: #222;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

/* 関連情報は項目ごとのカードとして配置 */
.dnd-maker-guide-section:has(.dnd-maker-related-list) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3,
.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list {
    min-width: 0;
    margin: 0;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3 {
    padding: 10px 12px 8px;
    background: #f7faf9;
    border: 1px solid #dfe9e6;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list {
    margin-top: -14px;
    padding: 0 12px 7px;
    background: #fff;
    border: 1px solid #dfe9e6;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    list-style: none;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3:nth-of-type(1),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list:nth-of-type(1),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3:nth-of-type(3),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list:nth-of-type(3) {
    grid-column: 1;
}

.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3:nth-of-type(2),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list:nth-of-type(2),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > h3:nth-of-type(4),
.dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list:nth-of-type(4) {
    grid-column: 2;
}

.dnd-maker-related-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    line-height: 1.35;
}

.dnd-maker-related-list li:last-child {
    border-bottom: 0;
}

.dnd-maker-related-list a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dnd-maker-related-list span {
    flex: 0 0 auto;
    padding: 2px 7px;
    background: #f1f3f3;
    border-radius: 999px;
    color: #666;
    font-size: 11px;
    white-space: nowrap;
}

.dnd-maker-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dnd-maker-faq details {
    padding: 0;
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 7px;
    overflow: hidden;
}

.dnd-maker-faq summary {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.dnd-maker-faq p {
    margin: 0;
    padding: 0 12px 11px;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

.dnd-maker-work-list h2 {
    margin: 0 0 12px;
    font-size: 19px;
}

@media (max-width: 700px) {
    .dnd-maker-guide {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 14px;
    }

    .dnd-maker-guide-section,
    .dnd-maker-guide-section:nth-child(n + 3) {
        grid-column: auto;
    }

    .dnd-maker-guide-section {
        padding: 12px;
    }

    .dnd-maker-guide-section h2 {
        font-size: 16px;
    }

    .dnd-maker-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .dnd-maker-guide-section:has(.dnd-maker-related-list) {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dnd-maker-guide-section:has(.dnd-maker-related-list) > h2,
    .dnd-maker-guide-section:has(.dnd-maker-related-list) > h3,
    .dnd-maker-guide-section:has(.dnd-maker-related-list) > .dnd-maker-related-list {
        grid-column: 1 !important;
    }

    .dnd-maker-faq {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   DICTIONARY PAGE - STYLISH FINAL OVERRIDE
========================================================= */

.dnd-maker-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.dnd-maker-guide-section {
    min-width: 0;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
}

.dnd-maker-guide-section:nth-child(n + 3) {
    grid-column: 1 / -1;
}

.dnd-maker-guide-section h2 {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 10px 12px;
    border-bottom: 1px solid #e8e8e8;
    color: #222;
    font-size: 17px;
    line-height: 1.4;
}

.dnd-maker-guide-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 4px;
    height: 21px;
    border-radius: 999px;
    background: #18c5a6;
}

.dnd-maker-guide-section p {
    margin: 0;
    color: #3f454a;
    font-size: 13px;
    line-height: 1.85;
}

.dnd-maker-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
    margin: 0;
}

.dnd-maker-stats div {
    min-width: 0;
    padding: 10px 12px;
    background: #f7faf9;
    border: 1px solid #e1ebe8;
    border-radius: 8px;
}

.dnd-maker-stats dt {
    margin: 0 0 3px;
    color: #6c7774;
    font-size: 11px;
    line-height: 1.3;
}

.dnd-maker-stats dd {
    margin: 0;
    color: #202624;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

/* Related information: independent cards; no shared row height or empty gaps. */
.dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dnd-maker-guide-section:has(.dnd-dictionary-related-card) > h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.dnd-dictionary-related-card {
    min-width: 0;
    align-self: start;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe9e6;
    border-radius: 9px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .025);
}

.dnd-dictionary-related-card h3 {
    margin: 0;
    padding: 11px 13px;
    background: linear-gradient(180deg, #f6fbfa 0%, #f0f7f5 100%);
    border-bottom: 1px solid #e2ebe8;
    color: #263330;
    font-size: 14px;
    line-height: 1.4;
}

.dnd-dictionary-related-card .dnd-maker-related-list {
    margin: 0;
    padding: 0 12px 5px;
    list-style: none;
}

.dnd-dictionary-related-card .dnd-maker-related-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid #edf0ef;
    font-size: 13px;
    line-height: 1.35;
}

.dnd-dictionary-related-card .dnd-maker-related-list li:last-child {
    border-bottom: 0;
}

.dnd-dictionary-related-card .dnd-maker-related-list li::before {
    display: none;
}

.dnd-dictionary-related-card .dnd-maker-related-list a {
    min-width: 0;
    overflow: hidden;
    color: #0875c1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dnd-dictionary-related-card .dnd-maker-related-list a:hover {
    color: #005da0;
}

.dnd-dictionary-related-card .dnd-maker-related-list span {
    min-width: 44px;
    padding: 2px 7px;
    background: #f0f3f2;
    border-radius: 999px;
    color: #68716f;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
}

.dnd-maker-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dnd-maker-faq details {
    overflow: hidden;
    padding: 0;
    background: #fafbfb;
    border: 1px solid #e1e5e4;
    border-radius: 8px;
}

.dnd-maker-faq summary {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.dnd-maker-faq p {
    margin: 0;
    padding: 0 12px 11px;
    color: #555;
    font-size: 12px;
    line-height: 1.7;
}

.dnd-maker-work-list h2 {
    margin: 0 0 12px;
    font-size: 19px;
}

@media (max-width: 900px) {
    .dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dnd-maker-guide {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 14px;
    }

    .dnd-maker-guide-section,
    .dnd-maker-guide-section:nth-child(n + 3) {
        grid-column: auto;
        padding: 12px;
    }

    .dnd-maker-guide-section h2 {
        font-size: 16px;
    }

    .dnd-maker-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .dnd-maker-guide-section:has(.dnd-dictionary-related-card) > h2 {
        grid-column: 1;
    }

    .dnd-maker-faq {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   DICTIONARY PAGE - IMAGE MATCH FIX
========================================================= */
.dnd-maker-guide {
    grid-template-columns: 1fr;
    gap: 14px;
}

.dnd-maker-guide-section,
.dnd-maker-guide-section:nth-child(n + 3) {
    grid-column: 1 / -1;
}

.dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    background: #fff;
}

.dnd-maker-guide-section:has(.dnd-dictionary-related-card) > h2 {
    grid-column: 1 / -1;
    margin: 0;
}

.dnd-dictionary-related-card {
    align-self: stretch;
    border: 1px solid #dfe7e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .035);
}

.dnd-dictionary-related-card:nth-of-type(1) h3 {
    color: #087968;
    background: linear-gradient(180deg, #effaf7 0%, #f7fcfb 100%);
}

.dnd-dictionary-related-card:nth-of-type(2) h3 {
    color: #126fbd;
    background: linear-gradient(180deg, #f0f7fe 0%, #f8fbff 100%);
}

.dnd-dictionary-related-card:nth-of-type(3) h3,
.dnd-dictionary-related-card:nth-of-type(4) h3 {
    color: #6b45b8;
    background: linear-gradient(180deg, #f6f2fd 0%, #fbf9ff 100%);
}

.dnd-dictionary-related-card h3 {
    padding: 13px 14px;
    font-size: 15px;
    font-weight: 800;
}

.dnd-dictionary-related-card .dnd-maker-related-list {
    counter-reset: dictionary-rank;
    padding: 7px 13px 10px;
}

.dnd-dictionary-related-card .dnd-maker-related-list li {
    counter-increment: dictionary-rank;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 0;
}

.dnd-dictionary-related-card .dnd-maker-related-list li::before {
    content: counter(dictionary-rank);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #18b596;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.dnd-dictionary-related-card:nth-of-type(2) .dnd-maker-related-list li::before {
    background: #2f83d3;
}

.dnd-dictionary-related-card:nth-of-type(3) .dnd-maker-related-list li::before,
.dnd-dictionary-related-card:nth-of-type(4) .dnd-maker-related-list li::before {
    background: #8a68d2;
}

.dnd-dictionary-related-card .dnd-maker-related-list span {
    min-width: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.dnd-maker-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dnd-maker-faq {
    grid-template-columns: 1fr;
}

@media (max-width: 1000px) {
    .dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    .dnd-maker-guide-section:has(.dnd-dictionary-related-card) {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .dnd-maker-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   DICTIONARY RELATED GRID - VARIABLE CARD COUNT FIX
========================================================= */
.dnd-maker-guide-section:has(> .dnd-dictionary-related-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.dnd-maker-guide-section:has(> .dnd-dictionary-related-card:nth-of-type(3)):not(:has(> .dnd-dictionary-related-card:nth-of-type(4))) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dnd-maker-guide-section:has(> .dnd-dictionary-related-card:nth-of-type(1)):not(:has(> .dnd-dictionary-related-card:nth-of-type(2))) {
    grid-template-columns: minmax(0, 1fr);
}

.dnd-dictionary-related-card {
    align-self: start;
    width: 100%;
}

.dnd-dictionary-related-card:nth-of-type(4) h3 {
    color: #a45b08;
    background: linear-gradient(180deg, #fff7e9 0%, #fffbf4 100%);
}

.dnd-dictionary-related-card:nth-of-type(4) .dnd-maker-related-list li::before {
    background: #dd8b27;
}

@media (max-width: 900px) {
    .dnd-maker-guide-section:has(> .dnd-dictionary-related-card),
    .dnd-maker-guide-section:has(> .dnd-dictionary-related-card:nth-of-type(3)):not(:has(> .dnd-dictionary-related-card:nth-of-type(4))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .dnd-maker-guide-section:has(> .dnd-dictionary-related-card),
    .dnd-maker-guide-section:has(> .dnd-dictionary-related-card:nth-of-type(3)):not(:has(> .dnd-dictionary-related-card:nth-of-type(4))) {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   DICTIONARY RELATED CARD - EQUAL ROW HEIGHT
========================================================= */
.dnd-maker-guide-section:has(> .dnd-dictionary-related-card) {
    align-items: stretch;
}

.dnd-dictionary-related-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.dnd-dictionary-related-card .dnd-maker-related-list {
    flex: 1 1 auto;
    width: 100%;
}

@media (max-width: 620px) {
    .dnd-dictionary-related-card {
        min-height: 0;
    }
}

/* ===== Deep & Dark public architecture Build006 ===== */
:root{--dd:#151619;--dd2:#23252a;--line:#dedfe2;--paper:#f4f4f2;--mint:#0c8e7b}
body{background:var(--paper);color:#17181a}
.dd-shell{width:min(1240px,calc(100% - 32px));margin-inline:auto}
.dd-head{background:#fff;border-top:4px solid var(--dd);border-bottom:1px solid var(--line)}
.dd-head__inner{min-height:72px;display:grid;grid-template-columns:auto minmax(320px,560px) auto;align-items:center;gap:28px}
.dd-brand{display:flex;flex-direction:column;color:#111;text-decoration:none}.dd-brand strong{font-size:23px;letter-spacing:1px}.dd-brand i{color:var(--mint);font-style:normal}.dd-brand span{margin-top:3px;color:#85888e;font-size:9px}
.dd-find{height:40px;display:grid;grid-template-columns:1fr 58px;border:1px solid #d8d9dc}.dd-find input{min-width:0;border:0;padding:0 12px;background:#fafafa;outline:0}.dd-find button{border:0;background:var(--dd);color:#fff;font-weight:800}
.dd-filter{display:flex;gap:7px;color:#6d7075;font-size:10px}.dd-filter input{accent-color:var(--mint)}
.dd-menu{border-top:1px solid #eee}.dd-menu .dd-shell{height:42px;display:flex;align-items:center;gap:28px}.dd-menu a{color:#444;text-decoration:none;font-size:12px;font-weight:800}.dd-menu a:hover{color:var(--mint)}
.dd-home{padding:24px 0 50px}.dd-homehead{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px;padding-bottom:11px;border-bottom:2px solid #1b1c1f}.dd-homehead span{font-size:9px;color:var(--mint);font-weight:900;letter-spacing:2px}.dd-homehead h1{margin:2px 0 0;font-size:22px}.dd-homehead p{max-width:520px;margin:0;color:#777b81;font-size:11px;text-align:right}.dd-homehead b{color:#222}
.dd-feed{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 10px}.dd-feed__item{min-width:0;background:#fff;border:1px solid #e0e1e3}.dd-feed__pic{display:block;aspect-ratio:4/3;overflow:hidden;background:#ddd}.dd-feed__pic img{width:100%;height:100%;object-fit:cover;display:block;transition:.2s}.dd-feed__item:hover img{transform:scale(1.025)}.dd-feed__body{padding:9px 10px 10px}.dd-feed__date{color:#999;font-size:9px}.dd-feed h2{min-height:39px;margin:4px 0 5px;font-size:12px;line-height:1.5}.dd-feed h2 a{color:#17181a;text-decoration:none}.dd-feed__body>p{overflow:hidden;margin:0;color:#6f7379;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.dd-feed__tags{display:flex;gap:4px;margin-top:7px;overflow:hidden}.dd-feed__tags a{padding:2px 5px;background:#f0f1f2;color:#62666c;font-size:9px;text-decoration:none;white-space:nowrap}

/* dictionary pages: dashboard rather than vertical essay */
.dd-profile{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;margin:14px 0 26px}
.dd-profile__section{grid-column:span 4;margin:0!important;padding:16px!important;background:#fff;border:1px solid var(--line);border-radius:0!important;box-shadow:none!important}
.dd-profile__section:has(.dd-metrics){grid-column:1/-1;background:#17181b;color:#fff;border:0}
.dd-profile__section:has(.dd-relbox){grid-column:1/-1}
.dd-profile__section:has(.dd-faq){grid-column:1/-1}
.dd-profile__section h2{margin:0 0 9px!important;padding:0!important;border:0!important;font-size:14px!important}
.dd-profile__section p{margin:0;color:#666b71;font-size:12px;line-height:1.75}
.dd-profile__section:has(.dd-metrics) h2{color:#fff}
.dd-metrics{display:grid!important;grid-template-columns:repeat(8,1fr)!important;gap:1px!important;background:#34363b!important}
.dd-metrics>div{display:block!important;padding:12px 10px!important;background:#202226!important;border:0!important}.dd-metrics dt{color:#858a92!important;font-size:9px!important}.dd-metrics dd{margin:4px 0 0!important;color:#fff!important;font-size:14px!important;font-weight:900}
.dd-relbox{display:inline-block;vertical-align:top;width:calc(25% - 10px);margin:5px 6px 5px 0!important;padding:12px!important;background:#f7f7f7!important;border:0!important}
.dd-relbox h3{font-size:11px!important}.dd-ranklist{margin:0!important;padding:0!important;list-style:none}.dd-ranklist li{padding:5px 0!important;border-bottom:1px solid #e6e6e6!important;font-size:10px!important}
.dd-faq details{border-top:1px solid #e1e2e4;padding:9px 0}.dd-faq summary{font-size:11px;font-weight:800;cursor:pointer}.dd-faq p{padding-top:7px}
.dd-archive{margin-top:22px}.dd-archive>h2{display:flex;align-items:center;gap:10px;font-size:18px}.dd-archive>h2:before{content:"ARCHIVE";color:var(--mint);font-size:8px;letter-spacing:1.5px}

/* work detail: full-width editorial/data view, old right sidebar becomes bottom discovery */
.dd-workview{display:block!important}.dd-workview__main{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr);gap:22px;background:transparent!important;border:0!important;padding:0!important}
.dd-workview__player{grid-column:1;grid-row:1;align-self:start;background:#111}.dd-workview__body{grid-column:2;grid-row:1;padding:0!important}.dd-workview__body>h1{margin:0 0 14px!important;padding-bottom:12px;border-bottom:2px solid #1a1b1e;font-size:22px!important;line-height:1.45}
.dd-workview__facts{display:block!important}.dd-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}.dd-facts>div{display:block!important;padding:9px 7px!important;border-bottom:1px solid var(--line)!important}.dd-facts dt{font-size:9px!important;color:#8b8f95!important}.dd-facts dd{margin:3px 0 0!important;font-size:11px!important}
.dd-workview__facts .dnd-detail-package-panel{margin:14px 0 0!important;max-width:240px}
.dd-workview__body>.dnd-detail-block{margin-top:18px!important;padding:15px!important;background:#fff;border:1px solid var(--line)!important}
.dd-discovery{grid-column:1/-1;display:grid!important;grid-template-columns:2fr 1fr 2fr;gap:12px;margin-top:24px!important}.dd-discovery__block{margin:0!important;padding:14px!important;background:#fff;border:1px solid var(--line)!important}.dd-discovery__block h2{font-size:13px!important}

/* index/list pages */
.dd-listhead{display:flex;align-items:end;justify-content:space-between;margin:10px 0 16px;padding:0 0 10px;border-bottom:2px solid #1a1b1e;background:transparent!important}.dd-listhead h1{margin:0!important;font-size:22px!important}.dd-listhead p{margin:0!important;color:#777!important;font-size:11px!important}
.dd-indexlist{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important}.dd-indexcard{display:flex!important;justify-content:space-between!important;align-items:center!important;min-height:48px;padding:10px 12px!important;background:#fff!important;border:1px solid #e1e2e4!important;border-radius:0!important;color:#222!important;text-decoration:none!important}.dd-indexcard:hover{border-color:#8f9399!important;transform:none!important;box-shadow:none!important}

.dd-foot{margin-top:42px;padding:25px 0 18px;background:#151619;color:#8d9197}.dd-foot__row{display:flex;justify-content:space-between;gap:20px}.dd-foot strong{display:block;color:#fff}.dd-foot small{display:block;margin-top:4px;font-size:9px}.dd-foot nav{display:flex;gap:16px}.dd-foot a{color:#bbb;text-decoration:none;font-size:10px}.dd-foot>p{margin-top:15px;font-size:9px}

@media(max-width:900px){.dd-feed{grid-template-columns:repeat(4,1fr)}.dd-metrics{grid-template-columns:repeat(4,1fr)!important}.dd-workview__main{grid-template-columns:1fr}.dd-workview__player,.dd-workview__body{grid-column:1;grid-row:auto}.dd-discovery{grid-template-columns:1fr}.dd-head__inner{grid-template-columns:1fr}.dd-filter{display:none}.dd-find{margin-bottom:10px}}
@media(max-width:700px){.dd-shell{width:calc(100% - 14px)}.dd-head__inner{gap:8px;padding:9px 0}.dd-menu .dd-shell{gap:0;justify-content:space-between}.dd-menu a{font-size:10px}.dd-homehead p{display:none}.dd-feed{grid-template-columns:repeat(2,1fr);gap:9px 6px}.dd-profile{grid-template-columns:1fr}.dd-profile__section{grid-column:1!important}.dd-metrics{grid-template-columns:repeat(2,1fr)!important}.dd-relbox{width:100%;margin:4px 0!important}.dd-facts{grid-template-columns:1fr 1fr}.dd-indexlist{grid-template-columns:repeat(2,1fr)!important}}
