.dtcc-gda-wrap{
  --dtcc-blue:#00aeef;
  --dtcc-blue-dark:#0576b9;
  --dtcc-navy:#073b63;
  --dtcc-text:#152238;
  --dtcc-muted:#667085;
  --dtcc-soft:#f3f9fd;
  --dtcc-line:rgba(7,59,99,.10);
  --dtcc-shadow:0 16px 40px rgba(7,59,99,.10);
  font-family:inherit;
  color:var(--dtcc-text);
}
.dtcc-gda-shell{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,174,239,.18), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(5,118,185,.14), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  border:1px solid var(--dtcc-line);
  box-shadow:var(--dtcc-shadow);
  padding:22px;
}
.dtcc-gda-shell:before{
  content:"";
  position:absolute;
  inset:auto -80px -120px auto;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(0,174,239,.08);
  pointer-events:none;
}
.dtcc-gda-header{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid var(--dtcc-line);
}
.dtcc-gda-heading{display:flex;gap:14px;align-items:flex-start;min-width:0}
.dtcc-gda-logo{
  flex:0 0 52px;
  width:52px;
  height:52px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--dtcc-blue),var(--dtcc-blue-dark));
  color:#fff;
  box-shadow:0 12px 28px rgba(0,174,239,.28);
}
.dtcc-gda-logo svg{width:28px;height:28px;display:block}
.dtcc-gda-title{font-weight:900;font-size:28px;line-height:1.15;color:var(--dtcc-navy);letter-spacing:-.02em;margin:0}
.dtcc-gda-subtitle{margin:6px 0 0;color:var(--dtcc-muted);font-size:15px;line-height:1.45}
.dtcc-gda-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dtcc-gda-back{
  border:0;
  border-radius:999px;
  padding:10px 15px;
  background:#fff;
  color:var(--dtcc-navy);
  cursor:pointer;
  font-weight:800;
  box-shadow:0 8px 20px rgba(7,59,99,.08);
  border:1px solid var(--dtcc-line);
}
.dtcc-gda-back:hover{background:var(--dtcc-soft)}
.dtcc-gda-download-album{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:10px 16px;
  background:linear-gradient(135deg,var(--dtcc-blue),var(--dtcc-blue-dark));
  color:#fff !important;
  text-decoration:none !important;
  font-weight:900;
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 12px 24px rgba(0,174,239,.24);
  white-space:nowrap;
}
.dtcc-gda-download-album:before{content:"↓";font-size:15px;line-height:1}
.dtcc-gda-download-album:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 16px 32px rgba(0,174,239,.32)}
.dtcc-gda-download-album[hidden]{display:none!important}

.dtcc-gda-share-album{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid rgba(0,174,239,.26);
  background:#fff;
  color:var(--dtcc-blue-dark);
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(7,59,99,.08);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.dtcc-gda-share-album:before{content:"↗";font-size:14px;line-height:1}
.dtcc-gda-share-album:hover{background:#f2fbff;transform:translateY(-1px);box-shadow:0 14px 28px rgba(7,59,99,.12)}
.dtcc-gda-share-album[hidden]{display:none!important}
.dtcc-gda-counts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.dtcc-gda-counts[hidden]{display:none!important}
.dtcc-gda-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:8px 11px;
  background:#fff;
  color:var(--dtcc-navy);
  font-size:13px;
  font-weight:800;
  border:1px solid var(--dtcc-line);
  box-shadow:0 8px 18px rgba(7,59,99,.06);
}
.dtcc-gda-crumbs{
  position:relative;
  z-index:1;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:0 0 16px;
  color:var(--dtcc-muted);
  font-size:14px;
}
.dtcc-gda-crumb{font-weight:800;color:var(--dtcc-navy)}
.dtcc-gda-sep{opacity:.55}
.dtcc-gda-status{
  position:relative;
  z-index:1;
  padding:14px 16px;
  background:#fff;
  border:1px dashed rgba(0,174,239,.36);
  border-radius:16px;
  color:var(--dtcc-navy);
  margin-bottom:16px;
  font-weight:700;
}

/* v1.0.9: Ẩn tên file ảnh ở lưới để giao diện sạch hơn */
.dtcc-gda-image .dtcc-gda-name{display:none!important}
.dtcc-gda-card-body-photo{padding:10px 12px 12px}
.dtcc-gda-meta-photo{margin-top:0;justify-content:flex-end}
.dtcc-gda-lightbox-footer .dtcc-gda-image-name:empty{display:none}
.dtcc-gda-lightbox-footer:has(.dtcc-gda-image-name:empty){justify-content:flex-end}

.dtcc-gda-status:empty{display:none}
.dtcc-gda-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:18px;
}
.dtcc-gda-card{
  position:relative;
  border:1px solid rgba(7,59,99,.10);
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 30px rgba(7,59,99,.08);
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  min-width:0;
}
.dtcc-gda-card:hover{transform:translateY(-5px);box-shadow:0 22px 46px rgba(7,59,99,.16);border-color:rgba(0,174,239,.38)}
.dtcc-gda-thumb{
  position:relative;
  aspect-ratio:4/3;
  background:linear-gradient(135deg,#eaf8ff,#f8fcff);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.dtcc-gda-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.dtcc-gda-image:hover .dtcc-gda-thumb img{transform:scale(1.045)}
.dtcc-gda-thumb:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.18));
  opacity:0;
  transition:opacity .2s ease;
}
.dtcc-gda-image:hover .dtcc-gda-thumb:after{opacity:1}
.dtcc-gda-folder .dtcc-gda-thumb{
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), transparent 24%),
    linear-gradient(135deg,#e6f7ff,#d9f1ff 45%,#f7fbff);
}
.dtcc-gda-folder-icon{
  width:78px;
  height:58px;
  position:relative;
  border-radius:14px 16px 16px 16px;
  background:linear-gradient(135deg,var(--dtcc-blue),var(--dtcc-blue-dark));
  box-shadow:0 16px 26px rgba(0,174,239,.28);
}
.dtcc-gda-folder-icon:before{
  content:"";
  position:absolute;
  left:8px;
  top:-13px;
  width:36px;
  height:20px;
  border-radius:10px 10px 3px 3px;
  background:linear-gradient(135deg,#42c8f5,var(--dtcc-blue));
}
.dtcc-gda-folder-icon:after{
  content:"";
  position:absolute;
  inset:11px 12px auto auto;
  width:22px;
  height:4px;
  border-radius:99px;
  background:rgba(255,255,255,.65);
  box-shadow:-13px 12px 0 rgba(255,255,255,.36);
}
.dtcc-gda-card-body{padding:13px 14px 15px}
.dtcc-gda-name{
  font-weight:850;
  color:#123;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:38px;
}
.dtcc-gda-meta{margin-top:8px;color:var(--dtcc-muted);font-size:13px;display:flex;gap:8px;align-items:center;justify-content:space-between}
.dtcc-gda-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef8ff;color:var(--dtcc-navy);font-weight:800;font-size:12px}
.dtcc-gda-open-hint{font-weight:800;color:var(--dtcc-blue-dark);font-size:12px}
.dtcc-gda-card-body-photo .dtcc-gda-open-hint{display:inline-flex;align-items:center;gap:6px}
.dtcc-gda-card-body-photo .dtcc-gda-open-hint:before{content:"↗";font-size:12px;line-height:1}
.dtcc-gda-lightbox[hidden]{display:none}
.dtcc-gda-lightbox{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px}
.dtcc-gda-lightbox-backdrop{position:absolute;inset:0;background:rgba(7,22,38,.82);backdrop-filter:blur(5px)}
.dtcc-gda-lightbox-panel{position:relative;z-index:1;max-width:min(1120px,96vw);max-height:92vh;background:#fff;border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.42);overflow:hidden;border:1px solid rgba(255,255,255,.2)}
.dtcc-gda-lightbox-panel img{display:block;max-width:100%;max-height:75vh;margin:auto;background:#0b1220}
.dtcc-gda-close{position:static;flex:0 0 auto;width:42px;height:42px;border:0;border-radius:50%;font-size:30px;line-height:1;background:rgba(7,22,38,.86);color:#fff;cursor:pointer;z-index:2;box-shadow:0 10px 22px rgba(0,0,0,.22);display:inline-flex;align-items:center;justify-content:center;padding:0}
.dtcc-gda-close:hover{background:#111827}
.dtcc-gda-lightbox-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:#fff}
.dtcc-gda-image-name{color:var(--dtcc-navy);line-height:1.35}
.dtcc-gda-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dtcc-gda-actions a{display:inline-flex;align-items:center;border-radius:999px;padding:9px 14px;text-decoration:none;background:var(--dtcc-blue);color:#fff;font-weight:850;box-shadow:0 8px 18px rgba(0,174,239,.25)}
.dtcc-gda-actions a.secondary{background:#eef2f6;color:#123;box-shadow:none}
@media(max-width:760px){.dtcc-gda-shell{padding:16px;border-radius:20px}.dtcc-gda-header{display:block}.dtcc-gda-tools{justify-content:flex-start;margin-top:14px}.dtcc-gda-title{font-size:23px}.dtcc-gda-logo{width:46px;height:46px;flex-basis:46px;border-radius:15px}.dtcc-gda-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dtcc-gda-card{border-radius:18px}.dtcc-gda-card-body{padding:11px}.dtcc-gda-name{font-size:14px;min-height:38px}.dtcc-gda-meta{display:block}.dtcc-gda-open-hint{display:block;margin-top:6px}.dtcc-gda-lightbox{padding:10px}.dtcc-gda-lightbox-footer{display:block}.dtcc-gda-actions{justify-content:flex-start;margin-top:10px}.dtcc-gda-lightbox-panel{border-radius:18px}}
@media(max-width:420px){.dtcc-gda-grid{grid-template-columns:1fr}.dtcc-gda-heading{gap:10px}.dtcc-gda-subtitle{font-size:14px}}

/* v1.0.8: giao diện cây thư mục bên trái, ảnh bên phải */
.dtcc-gda-main{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(240px,300px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.dtcc-gda-tree-panel,
.dtcc-gda-content-panel{
  background:rgba(255,255,255,.82);
  border:1px solid var(--dtcc-line);
  border-radius:22px;
  box-shadow:0 12px 28px rgba(7,59,99,.07);
}
.dtcc-gda-tree-panel{
  padding:15px;
  position:sticky;
  top:18px;
}
.dtcc-gda-tree-title{
  font-size:17px;
  line-height:1.25;
  font-weight:900;
  color:var(--dtcc-navy);
  margin-bottom:4px;
}
.dtcc-gda-tree-note{
  font-size:12.5px;
  color:var(--dtcc-muted);
  margin-bottom:12px;
}
.dtcc-gda-tree-list{
  list-style:none;
  padding:0;
  margin:0;
}
.dtcc-gda-tree-list.is-child{
  margin-top:6px;
  margin-left:10px;
  padding-left:10px;
  border-left:2px solid rgba(0,174,239,.16);
}
.dtcc-gda-tree-item{margin:0 0 7px}
.dtcc-gda-tree-btn{
  width:100%;
  display:grid;
  grid-template-columns:26px minmax(0,1fr) 16px;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 10px 9px calc(10px + (var(--level,0) * 8px));
  border:1px solid rgba(7,59,99,.08);
  border-radius:15px;
  background:#fff;
  color:var(--dtcc-navy);
  cursor:pointer;
  text-align:left;
  font-weight:700;
  text-transform:none;
  transition:background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dtcc-gda-tree-btn:hover{
  background:#f2fbff;
  border-color:rgba(0,174,239,.25);
  transform:translateX(2px);
}
.dtcc-gda-tree-btn.is-active{
  background:linear-gradient(135deg,var(--dtcc-blue),var(--dtcc-blue-dark));
  color:#fff;
  border-color:rgba(255,255,255,.45);
  box-shadow:0 12px 24px rgba(0,174,239,.22);
}
.dtcc-gda-tree-ico{
  width:23px;
  height:18px;
  border-radius:6px 7px 7px 7px;
  background:currentColor;
  opacity:.95;
  position:relative;
}
.dtcc-gda-tree-ico:before{
  content:"";
  position:absolute;
  left:3px;
  top:-5px;
  width:11px;
  height:7px;
  border-radius:5px 5px 1px 1px;
  background:currentColor;
}
.dtcc-gda-tree-name{
  overflow:hidden;
  text-transform:none;
  text-overflow:ellipsis;
  white-space:normal;
  line-height:1.25;
  font-size:13.5px;
  font-weight:700;
}
.dtcc-gda-tree-arrow{opacity:.62;font-weight:900;font-size:18px;text-align:right}
.dtcc-gda-tree-empty{
  padding:12px;
  border-radius:14px;
  background:#f5fbff;
  color:var(--dtcc-muted);
  font-weight:700;
  font-size:13px;
}
.dtcc-gda-content-panel{padding:16px;min-width:0}
.dtcc-gda-current-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--dtcc-line);
}
.dtcc-gda-current-info{min-width:0;flex:1 1 auto}
.dtcc-gda-album-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  flex:0 0 auto;
  max-width:52%;
}
.dtcc-gda-current-label{
  display:inline-flex;
  align-items:center;
  margin-bottom:4px;
  color:var(--dtcc-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.dtcc-gda-current-title{
  margin:0;
  color:var(--dtcc-navy);
  font-size:22px;
  line-height:1.2;
  font-weight:900;
}

/* v1.1.2: Nút chức năng bám theo album đang xem */
.dtcc-gda-current-head .dtcc-gda-download-album,
.dtcc-gda-current-head .dtcc-gda-share-album{
  padding:9px 14px;
  font-size:12.5px;
}
.dtcc-gda-current-head .dtcc-gda-chip{
  padding:8px 10px;
  font-size:12.5px;
}
.dtcc-gda-content-panel .dtcc-gda-grid{
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:14px;
}
.dtcc-gda-content-panel .dtcc-gda-card{
  border-radius:18px;
}
.dtcc-gda-content-panel .dtcc-gda-thumb{
  aspect-ratio:4/3;
}
.dtcc-gda-content-panel .dtcc-gda-name{
  font-size:14px;
  min-height:36px;
}

/* v1.0.9: Ẩn tên file ảnh ở lưới để giao diện sạch hơn */
.dtcc-gda-image .dtcc-gda-name{display:none!important}
.dtcc-gda-card-body-photo{padding:10px 12px 12px}
.dtcc-gda-meta-photo{margin-top:0;justify-content:flex-end}
.dtcc-gda-lightbox-footer .dtcc-gda-image-name:empty{display:none}
.dtcc-gda-lightbox-footer:has(.dtcc-gda-image-name:empty){justify-content:flex-end}

.dtcc-gda-status:empty{display:none}
@media(max-width:900px){
  .dtcc-gda-main{grid-template-columns:1fr;gap:14px}
  .dtcc-gda-tree-panel{position:relative;top:auto}
  .dtcc-gda-tree-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .dtcc-gda-tree-list.is-child{display:block;grid-column:1/-1}
  .dtcc-gda-tree-item{margin:0}
}
@media(max-width:560px){
  .dtcc-gda-tree-list{grid-template-columns:1fr}
  .dtcc-gda-content-panel .dtcc-gda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dtcc-gda-current-title{font-size:19px}
}
@media(max-width:420px){
  .dtcc-gda-content-panel .dtcc-gda-grid{grid-template-columns:1fr}
}

/* v1.1.0: Danh sách album hiển thị chữ thường, không ép in hoa. */
.dtcc-gda-tree-btn, .dtcc-gda-tree-name{text-transform:none!important;}

/* v1.1.1: Performance & Mobile Polish */
.dtcc-gda-load-more{
  display:flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-width:190px;
  margin:18px auto 0;
  padding:11px 20px;
  border:1px solid rgba(0,174,239,.26);
  border-radius:999px;
  background:#fff;
  color:var(--dtcc-blue-dark);
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(7,59,99,.08);
}
.dtcc-gda-load-more:hover{background:#f2fbff;transform:translateY(-1px)}
.dtcc-gda-load-more[hidden]{display:none!important}
.dtcc-gda-thumb img{content-visibility:auto}
.dtcc-gda-tree-panel{max-height:calc(100vh - 32px);overflow:auto;scrollbar-width:thin}
.dtcc-gda-content-panel{overflow:hidden}
@media(max-width:900px){
  .dtcc-gda-tree-panel{max-height:none;position:relative;overflow:visible}
  .dtcc-gda-tools{gap:8px}
  .dtcc-gda-back,.dtcc-gda-download-album,.dtcc-gda-share-album{padding:9px 13px;font-size:12.5px}
  .dtcc-gda-current-head{align-items:flex-start}
  .dtcc-gda-album-actions{max-width:58%}
}
@media(max-width:560px){
  .dtcc-gda-shell{margin-left:-4px;margin-right:-4px}
  .dtcc-gda-heading{align-items:center}
  .dtcc-gda-subtitle{display:none}
  .dtcc-gda-tools{display:flex;justify-content:flex-start}
  .dtcc-gda-back{width:auto;justify-content:center}
  .dtcc-gda-current-head{display:block}
  .dtcc-gda-album-actions{
    max-width:none;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    gap:8px;
    margin-top:12px;
  }
  .dtcc-gda-current-head .dtcc-gda-download-album,
  .dtcc-gda-current-head .dtcc-gda-share-album,
  .dtcc-gda-counts{width:100%;justify-content:center}
  .dtcc-gda-counts{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .dtcc-gda-chip{justify-content:center}
  .dtcc-gda-tree-panel,.dtcc-gda-content-panel{border-radius:18px;padding:12px}
  .dtcc-gda-tree-title{font-size:16px}
  .dtcc-gda-tree-note{font-size:12px}
  .dtcc-gda-tree-btn{min-height:40px;border-radius:13px}
  .dtcc-gda-content-panel .dtcc-gda-grid{gap:10px}
  .dtcc-gda-card-body-photo{padding:8px 9px 9px}
  .dtcc-gda-badge,.dtcc-gda-open-hint{font-size:11px}
  .dtcc-gda-load-more{width:100%;min-width:0}
}


/* v1.1.3: Mobile Album Priority Layout - trên điện thoại ưu tiên ảnh album đang xem trước, danh sách album xuống dưới */
@media(max-width:900px){
  .dtcc-gda-main{
    display:flex;
    flex-direction:column;
  }
  .dtcc-gda-content-panel{
    order:1;
  }
  .dtcc-gda-tree-panel{
    order:2;
    margin-top:2px;
  }
}
@media(max-width:560px){
  .dtcc-gda-current-head{
    margin-bottom:12px;
  }
  .dtcc-gda-content-panel{
    scroll-margin-top:18px;
  }
  .dtcc-gda-tree-panel{
    scroll-margin-top:18px;
  }
}


/* v1.1.4: Mobile UI Polish - giữ nền hiện tại, chỉ tinh chỉnh độ gọn và khoảng cách trên điện thoại */
@media (max-width: 560px){
  .dtcc-gda-shell{
    padding:14px 12px 96px;
    border-radius:20px;
  }
  .dtcc-gda-header{
    margin-bottom:14px;
    padding-bottom:13px;
  }
  .dtcc-gda-logo{
    flex-basis:42px;
    width:42px;
    height:42px;
    border-radius:14px;
  }
  .dtcc-gda-logo svg{
    width:23px;
    height:23px;
  }
  .dtcc-gda-title{
    font-size:22px;
    line-height:1.14;
  }
  .dtcc-gda-crumbs{
    margin-bottom:12px;
    font-size:12.5px;
    gap:6px;
  }
  .dtcc-gda-main{
    gap:12px;
  }
  .dtcc-gda-content-panel,
  .dtcc-gda-tree-panel{
    padding:13px 12px;
    border-radius:18px;
  }
  .dtcc-gda-current-label{
    font-size:11px;
    margin-bottom:5px;
    letter-spacing:.035em;
  }
  .dtcc-gda-current-title{
    font-size:20px;
    line-height:1.22;
    letter-spacing:-.01em;
  }
  .dtcc-gda-current-head{
    margin-bottom:10px;
    padding-bottom:10px;
  }
  .dtcc-gda-album-actions{
    gap:7px;
    margin-top:10px;
  }
  .dtcc-gda-current-head .dtcc-gda-download-album,
  .dtcc-gda-current-head .dtcc-gda-share-album{
    min-height:42px;
    padding:10px 11px;
    font-size:12.5px;
  }
  .dtcc-gda-counts{
    gap:7px;
  }
  .dtcc-gda-chip{
    min-height:34px;
    padding:7px 9px;
    font-size:12px;
  }
  .dtcc-gda-content-panel .dtcc-gda-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .dtcc-gda-content-panel .dtcc-gda-card{
    border-radius:15px;
  }
  .dtcc-gda-content-panel .dtcc-gda-thumb{
    aspect-ratio:4/3;
  }
  .dtcc-gda-card-body-photo{
    padding:7px 8px 8px;
  }
  .dtcc-gda-meta-photo{
    align-items:center;
  }
  .dtcc-gda-badge,
  .dtcc-gda-open-hint{
    font-size:10.5px;
  }
  .dtcc-gda-tree-title{
    font-size:17px;
    margin-bottom:3px;
  }
  .dtcc-gda-tree-note{
    font-size:12.5px;
    line-height:1.35;
    margin-bottom:10px;
  }
  .dtcc-gda-tree-list{
    gap:8px;
  }
  .dtcc-gda-tree-item{
    margin-bottom:7px;
  }
  .dtcc-gda-tree-btn{
    grid-template-columns:24px minmax(0,1fr) 14px;
    gap:8px;
    min-height:46px;
    padding:8px 10px;
    border-radius:14px;
    box-shadow:0 7px 16px rgba(7,59,99,.05);
  }
  .dtcc-gda-tree-btn.is-active{
    box-shadow:0 10px 22px rgba(0,174,239,.18);
  }
  .dtcc-gda-tree-ico{
    width:21px;
    height:16px;
    border-radius:5px 6px 6px 6px;
  }
  .dtcc-gda-tree-ico:before{
    top:-4px;
    width:10px;
    height:6px;
  }
  .dtcc-gda-tree-name{
    font-size:13px;
    line-height:1.25;
    -webkit-line-clamp:2;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .dtcc-gda-tree-arrow{
    font-size:17px;
  }
  .dtcc-gda-load-more{
    margin-top:13px;
    min-height:42px;
    padding:10px 14px;
  }
}
@media (max-width: 380px){
  .dtcc-gda-content-panel .dtcc-gda-grid{
    grid-template-columns:1fr;
  }
  .dtcc-gda-current-head .dtcc-gda-download-album,
  .dtcc-gda-current-head .dtcc-gda-share-album{
    grid-column:1/-1;
  }
}


/* v1.1.5: Vuốt trái/phải trong lightbox ảnh trên mobile */
.dtcc-gda-lightbox-panel{touch-action:pan-y}
.dtcc-gda-lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:58px;
  border:0;
  border-radius:999px;
  background:rgba(7,22,38,.62);
  color:#fff;
  font-size:42px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
  box-shadow:0 12px 26px rgba(0,0,0,.24);
}
.dtcc-gda-lightbox-nav:hover{background:rgba(7,22,38,.82)}
.dtcc-gda-lightbox-nav[hidden]{display:none}
.dtcc-gda-lightbox-prev{left:12px}
.dtcc-gda-lightbox-next{right:12px}
@media(max-width:760px){
  .dtcc-gda-lightbox-panel{width:100%;max-width:96vw}
  .dtcc-gda-lightbox-panel img{max-height:70vh}
  .dtcc-gda-lightbox-nav{
    width:42px;
    height:52px;
    font-size:38px;
    background:rgba(7,22,38,.52);
  }
  .dtcc-gda-lightbox-prev{left:8px}
  .dtcc-gda-lightbox-next{right:8px}
}
@media(max-width:480px){
  .dtcc-gda-lightbox-nav{opacity:.88}
}

/* v1.1.6: Tìm kiếm album + Lightbox UX Polish */
.dtcc-gda-tree-search{
  position:relative;
  margin:10px 0 12px;
}
.dtcc-gda-album-search{
  width:100%;
  height:42px;
  border:1px solid rgba(7,59,99,.12);
  border-radius:999px;
  background:#fff;
  color:var(--dtcc-navy);
  outline:none;
  padding:0 42px 0 15px;
  font-size:13.5px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(7,59,99,.05);
}
.dtcc-gda-album-search:focus{
  border-color:rgba(0,174,239,.55);
  box-shadow:0 0 0 4px rgba(0,174,239,.10),0 10px 22px rgba(7,59,99,.07);
}
.dtcc-gda-album-search-clear{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:0;
  border-radius:50%;
  background:#edf4f8;
  color:var(--dtcc-navy);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.dtcc-gda-album-search-clear:hover{background:#dff3fc;color:var(--dtcc-blue-dark)}
.dtcc-gda-album-search-clear[hidden]{display:none!important}
.dtcc-gda-tree-empty{
  padding:12px 10px;
  border-radius:14px;
  background:#f7fbff;
  color:var(--dtcc-muted);
  font-size:13px;
  font-weight:700;
  text-align:center;
  border:1px dashed rgba(7,59,99,.14);
}
.dtcc-gda-lightbox{z-index:2147483000}
.dtcc-gda-lightbox-topbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border-bottom:1px solid rgba(7,59,99,.08);
}
.dtcc-gda-lightbox-album-title{
  color:var(--dtcc-navy);
  font-weight:900;
  font-size:14px;
  line-height:1.3;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dtcc-gda-lightbox-counter{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  padding:6px 10px;
  border-radius:999px;
  background:#eef8ff;
  color:var(--dtcc-blue-dark);
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(0,174,239,.18);
}
.dtcc-gda-lightbox-footer .dtcc-gda-actions{width:100%}
.dtcc-gda-lightbox-footer .dtcc-gda-actions:empty{display:none}
@media(max-width:760px){
  .dtcc-gda-tree-search{margin:9px 0 11px}
  .dtcc-gda-album-search{height:40px;font-size:13px;padding-left:13px}
  .dtcc-gda-lightbox{padding:10px 8px}
  .dtcc-gda-lightbox-topbar{
    grid-template-columns:minmax(0,1fr) auto auto;
    padding:11px 13px 10px;
    gap:8px;
  }
  .dtcc-gda-lightbox-album-title{font-size:13px;max-width:none}
  .dtcc-gda-lightbox-counter{min-width:52px;padding:5px 8px;font-size:11.5px}
  .dtcc-gda-lightbox-panel img{max-height:64vh}
  .dtcc-gda-lightbox-footer{
    padding:12px 13px 14px;
    display:block;
  }
  .dtcc-gda-lightbox-footer .dtcc-gda-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:0;
  }
  .dtcc-gda-lightbox-footer .dtcc-gda-actions a{
    min-height:42px;
    justify-content:center;
    padding:10px 12px;
    font-size:13px;
  }
  .dtcc-gda-lightbox-nav{z-index:4}
  .dtcc-gda-close{z-index:5;width:38px;height:38px;font-size:26px}
}
@media(max-width:420px){
  .dtcc-gda-lightbox-panel{max-height:90vh}
  .dtcc-gda-lightbox-panel img{max-height:58vh}
}
