/* assets/css/home.css — extra home page styles (none needed, layout handles it) */
/* assets/css/widget-detail.css */

.detail-page { padding: 1.5rem 0 4rem; }

.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--txt3); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--txt3); }
.breadcrumb a:hover { color: var(--acc3); }
.breadcrumb i { font-size: 12px; }

.detail-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 28px;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

/* Thumb */
.detail-thumb {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/9; background: var(--bg3);
}
.detail-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-open-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.2s;
}
.detail-thumb:hover .detail-open-overlay {
  background: rgba(0,0,0,0.55); opacity: 1;
}
.btn-open-large {
  display: flex; align-items: center; gap: 8px;
  background: var(--acc); color: #fff;
  padding: 12px 24px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-acc);
}
.btn-open-large:hover { background: var(--acc-h); }

/* Info card */
.detail-info-card {
  background: var(--bg2); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-top: 16px;
}
.detail-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px;
}
.detail-title { font-size: 22px; margin-top: 6px; }
.detail-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.detail-desc {
  font-size: 14px; color: var(--txt2); line-height: 1.7; margin-bottom: 16px;
}
.detail-meta-row {
  display: flex; gap: 16px; margin-bottom: 16px;
}
.detail-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--txt3);
}

/* Spark URL box */
.spark-url-box {
  background: var(--bg3); border: 0.5px solid var(--border2);
  border-radius: var(--radius); padding: 12px 14px;
}
.spark-url-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--txt3); display: block; margin-bottom: 8px;
}
.spark-url-row { display: flex; gap: 8px; }
.spark-url-row input {
  flex: 1; background: var(--bg2); border: 0.5px solid var(--border2);
  border-radius: var(--radius-sm); padding: 8px 10px;
  font-size: 12px; color: var(--txt2); font-family: monospace;
}
.spark-url-row input:focus { outline: none; border-color: var(--acc2); }
.btn-copy {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--acc); color: #fff; border: none;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.btn-copy:hover { background: var(--acc-h); }

/* Creator card */
.creator-profile-link {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: var(--radius); transition: background 0.15s;
}
.creator-profile-link:hover { background: var(--bg3); }
.creator-bio { font-size: 12px; color: var(--txt3); margin-top: 2px; }

/* Mini grid */
.mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mini-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 0.5px solid var(--border);
}
.mini-card img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}
.mini-title {
  display: block; font-size: 11px; padding: 5px 7px;
  color: var(--txt2); background: var(--bg2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-card:hover .mini-title { color: var(--acc3); }
