/* ============================================================
   事件祈福追思 (tribute) 樣式
   深夜星空風 · 莊重、去動物元素
   遵守：連結去底線、alert 無左邊線、按鈕 hover 只加深背景
   ============================================================ */

:root {
  --tb-bg-top: #070d1f;
  --tb-bg-bottom: #0e1a3a;
  --tb-gold: #d4af7a;
  --tb-gold-soft: #e8cfa0;
  --tb-text: #eaf0ff;
  --tb-text-dim: #9fb0d8;
  --tb-card: rgba(18, 28, 60, 0.92);
  --tb-card-line: rgba(255, 255, 255, 0.1);
  --tb-radius: 1rem;
  --tb-maxw: 860px;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
}

.tribute-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  color: var(--tb-text);
  background: linear-gradient(
    180deg,
    var(--tb-bg-top) 0%,
    var(--tb-bg-bottom) 100%
  );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* ── header ── */
.tribute-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.25rem, env(safe-area-inset-top)) 3.5rem 1.25rem;
  text-align: center;
}

.tribute-back {
  position: absolute;
  left: 1rem;
  top: max(1rem, env(safe-area-inset-top));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tb-card);
  color: var(--tb-text);
  transition: background 0.2s;
}
.tribute-back:hover {
  background: rgba(255, 255, 255, 0.16);
}

.tribute-share-btn {
  position: absolute;
  right: 1rem;
  top: max(1rem, env(safe-area-inset-top));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tb-card);
  color: var(--tb-text);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.tribute-share-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.tribute-header-title {
  margin-top: 2.5rem;
}

.tribute-header-title h1 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--tb-gold-soft);
  text-shadow: 0 0 1.2rem rgba(212, 175, 122, 0.4);
}

.tribute-subtitle {
  margin: 0.45rem 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--tb-gold-soft);
  opacity: 0.82;
  letter-spacing: 0.2em;
}

.tribute-meta {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--tb-text-dim);
  letter-spacing: 0.06em;
}
.tribute-meta span {
  margin: 0 0.25em;
}

/* ── CTA 輪播 ── */
.tribute-cta-wrap {
  text-align: center;
  padding: 0.5rem 1.5rem 1.25rem;
  max-width: var(--tb-maxw);
  margin: 0 auto;
}
.tribute-cta {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--tb-text-dim);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.5s;
  min-height: 1.5em;
}
.tribute-cta.is-show {
  opacity: 1;
}

/* ── 英雄圖 ── */
.tribute-hero {
  max-width: var(--tb-maxw);
  margin: 0 auto 1rem;
  padding: 0 1rem;
}
.tribute-hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--tb-radius);
  display: block;
}

/* ── 繁星區 ── */
.tribute-stars-section {
  position: relative;
  /* max-width: var(--tb-maxw); */
  max-width: 1300px;
  margin: 0 auto 0.5rem;
  height: 320px;
}
@media (max-width: 600px) {
  .tribute-stars-section {
    height: 240px;
  }
}

#starCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tribute-stars-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1.25rem;
  pointer-events: none;
}

.tribute-stars-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--tb-text-dim);
  opacity: 0.7;
}
.tribute-stars-hint .material-icons {
  font-size: 1rem;
}

.tribute-stars-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--tb-text-dim);
  opacity: 0.65;
  margin: 0.35rem 0 0;
}

/* 撫慰語氣泡 */
.tribute-blessing-bubble {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 26, 58, 0.95);
  color: var(--tb-gold-soft);
  font-family: "Noto Serif TC", serif;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  line-height: 1.75;
  padding: 0.85rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 122, 0.25);
  max-width: min(420px, 85vw);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 10;
}
.tribute-blessing-bubble.is-show {
  opacity: 1;
}

/* ── 通用區塊 ── */
.tribute-section {
  max-width: var(--tb-maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--tb-card-line);
}

.tribute-section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--tb-gold-soft);
  letter-spacing: 0.1em;
}
.tribute-font-serif {
  font-family: "Noto Serif TC", serif;
}

.tribute-section-sub {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--tb-text-dim);
  line-height: 1.7;
}

/* ── 通用按鈕 ── */
.tribute-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--tb-text);
  transition: background 0.2s;
}
.tribute-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.tribute-btn.is-primary {
  background: linear-gradient(135deg, var(--tb-gold) 0%, #b8923c 100%);
  color: #0d1628;
}
.tribute-btn.is-primary:hover {
  background: linear-gradient(135deg, #c9a464 0%, #9e7d2e 100%);
}
.tribute-btn.is-primary:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--tb-text-dim);
  cursor: default;
}
.tribute-btn.is-lit {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--tb-text-dim) !important;
  cursor: default;
}

/* ── 點燈區 ── */
.tribute-candle-section {
  text-align: center;
}

/* 標題與燭海之間拉開間距 */
.tribute-candle-section .tribute-section-title {
  margin-bottom: 1.75rem;
}

.tribute-candles-visual {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.45rem;
  min-height: 7rem;
  padding: 2rem 0.5rem 0.75rem; /* top padding for flames */
}

/* 蠟燭元件 - 完全沿用 rainbow rb-candle 模式（火焰在上方）*/
.tb-candle {
  position: relative;
  width: 1.25rem;
  height: var(--h, 3.6rem);
  margin-top: -1.25rem; /* 疊加效果，更有層次感 */
  transform: scale(var(--sc, 1));
  transform-origin: 50% 100%;
  opacity: var(--op, 1);
  border-radius: 0.25rem 0.25rem 0.1rem 0.1rem;
  background: linear-gradient(180deg, #fff3c4 0%, #ffd95e 45%, #d4933c 100%);
  box-shadow: inset 0 -0.3rem 0.5rem rgba(0, 0, 0, 0.15);
}
.tb-flame {
  position: absolute;
  left: 50%;
  top: -1.05rem;
  width: 0.55rem;
  height: 1rem;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at 50% 72%,
    #fff 0%,
    #ffe680 34%,
    #ff9d2f 70%,
    rgba(255, 90, 0, 0) 100%
  );
  border-radius: 50% 50% 35% 35%;
  filter: drop-shadow(0 0 0.4rem rgba(255, 170, 40, 0.9));
  transform-origin: 50% 90%;
  animation: tbFlicker 1.1s ease-in-out infinite alternate;
}
@keyframes tbFlicker {
  0% {
    transform: translateX(-50%) scale(1) rotate(-2deg);
    opacity: 0.92;
  }
  100% {
    transform: translateX(-50%) scale(1.08, 1.14) rotate(2deg);
    opacity: 1;
  }
}
.tb-candle-new {
  animation: tbCandleIn 0.7s ease both;
}
@keyframes tbCandleIn {
  0% {
    opacity: 0;
    transform: scale(calc(var(--sc, 1) * 0.5));
  }
  60% {
    opacity: var(--op, 1);
  }
  100% {
    opacity: var(--op, 1);
    transform: scale(var(--sc, 1));
  }
}

.tribute-candle-count {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: var(--tb-text-dim);
}
.tribute-candle-count span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tb-gold-soft);
}
.tribute-candle-btn {
  margin-top: 0.25rem;
}

/* ── 留言表單 ── */
.tribute-message-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tribute-hp {
  display: none;
  position: absolute;
  left: -9999px;
}

.tribute-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  color: var(--tb-text);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.tribute-input::placeholder {
  color: var(--tb-text-dim);
  opacity: 0.6;
}
.tribute-input:focus {
  border-color: rgba(212, 175, 122, 0.5);
}

.tribute-form-notice {
  margin: 0.25rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--tb-text-dim);
  opacity: 0.7;
}

/* ── 留言列表（瀑布流）── */
.tribute-messages-list {
  column-count: 3;
  column-gap: 0.75rem;
  margin-top: 1rem;
}

.tribute-message-card {
  background: var(--tb-card);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--tb-card-line);
  margin-bottom: 0.75rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  width: 100%;
}
.tribute-message-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--tb-text-dim);
  margin-bottom: 0.4rem;
}
.tribute-message-head .material-icons {
  font-size: 0.95rem;
  color: var(--tb-gold);
}
.tribute-message-nick {
  color: var(--tb-gold-soft);
  font-weight: 600;
}
.tribute-message-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--tb-text);
}

@media (max-width: 720px) {
  .tribute-messages-list {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .tribute-messages-list {
    column-count: 1;
  }
}

.tribute-more-btn {
  display: block;
  margin: 1rem auto 0;
}

/* ── 事件背景折疊 ── */
.tribute-summary-details {
  background: var(--tb-card);
  border-radius: var(--tb-radius);
  border: 1px solid var(--tb-card-line);
  padding: 1rem 1.25rem;
}
.tribute-summary-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tb-gold-soft);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.tribute-summary-title::-webkit-details-marker {
  display: none;
}
.tribute-summary-title .material-icons {
  font-size: 1.1rem;
}
.tribute-summary-body {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--tb-text);
  opacity: 0.88;
}

/* ── footer ── */
.tribute-footer {
  max-width: var(--tb-maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--tb-card-line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--tb-text-dim);
  opacity: 0.8;
  line-height: 1.8;
}
.tribute-footer-disclaimer {
  margin: 0 0 0.75rem;
  font-style: italic;
}
.tribute-footer-contact a {
  color: var(--tb-gold-soft);
}
.tribute-footer-brand {
  margin: 0.75rem 0 0;
}
.tribute-footer-brand a {
  color: var(--tb-gold-soft);
}

/* ── 星點 Modal ── */
.tb-star-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tb-star-modal[hidden] {
  display: none;
}

.tb-star-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.tb-star-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: var(--tb-card);
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.5rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  border: 1px solid var(--tb-card-line);
  border-bottom: none;
  max-height: 90vh;
  overflow-y: auto;
}

.tb-star-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  color: var(--tb-text-dim);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background 0.2s;
}
.tb-star-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tb-star-modal-blessing {
  font-family: "Noto Serif TC", serif;
  font-size: 1.05rem;
  color: var(--tb-gold-soft);
  text-align: center;
  line-height: 1.75;
  margin: 0.25rem 0 1.25rem;
  padding: 0 2rem;
}

.tb-star-modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tb-star-tab {
  flex: 1;
  padding: 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--tb-text-dim);
  transition:
    background 0.2s,
    color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.tb-star-tab.is-active {
  background: rgba(212, 175, 122, 0.2);
  color: var(--tb-gold-soft);
}

.tb-star-panel {
  display: none;
}
.tb-star-panel.is-active {
  display: block;
}

.tb-star-panel-desc {
  font-size: 0.9rem;
  color: var(--tb-text-dim);
  line-height: 1.7;
  text-align: center;
  margin: 0 0 1rem;
}

.tb-modal-full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.tb-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ── 點燈儀式 overlay ── */
.tb-ceremony {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  background: rgba(5, 10, 25, 0.88);
  opacity: 0;
  transition: opacity 0.4s;
  cursor: pointer;
  overflow: hidden;
}
.tb-ceremony.is-show {
  opacity: 1;
}

.tb-ceremony-center {
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.tb-ceremony-thanks {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--tb-gold-soft);
  line-height: 1.4;
  text-shadow: 0 0 2rem rgba(212, 175, 122, 0.6);
}
.tb-ceremony-sub {
  margin-top: 0.75rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--tb-text-dim);
}

/* 飄落元素 */
.tb-fall {
  position: absolute;
  top: -10vh;
  animation: tbFallDown linear both;
  pointer-events: none;
  will-change: transform;
}
@keyframes tbFallDown {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(115vh) rotate(var(--rot, 180deg));
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════════
   ⑥ YouTube 相關影片
   ══════════════════════════════════════════════════ */
/* YouTube 卡片（UIkit slider + lightbox）*/
.tribute-yt-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--tb-card);
  border: 1px solid var(--tb-card-line);
  border-radius: var(--tb-radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.tribute-yt-slide:hover {
  border-color: rgba(212, 175, 122, 0.35);
}

.tribute-yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a1020;
}
.tribute-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.tribute-yt-slide:hover .tribute-yt-thumb img {
  opacity: 0.75;
}

.tribute-yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.tribute-yt-play-btn .material-icons {
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s;
}
.tribute-yt-slide:hover .tribute-yt-play-btn .material-icons {
  transform: scale(1.12);
}

.tribute-yt-title {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--tb-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.55rem 0.7rem 0.2rem;
}
.tribute-yt-meta {
  font-size: 0.72rem;
  color: var(--tb-text-dim);
  margin: 0 0.7rem 0.6rem;
}
.tribute-yt-section .uk-slidenav {
  color: rgba(255, 255, 255, 0.75);
}
.tribute-yt-section .uk-slidenav:hover {
  color: #fff;
}

/* ══════════════════════════════════════════════════
   ⑦ 相關新聞
   ══════════════════════════════════════════════════ */
.tribute-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tribute-news-card {
  display: block;
  background: var(--tb-card);
  border: 1px solid var(--tb-card-line);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.tribute-news-card:hover {
  border-color: rgba(212, 175, 122, 0.35);
  background: rgba(18, 28, 60, 0.98);
}
.tribute-news-title {
  font-size: 0.9rem;
  color: var(--tb-text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.3rem;
}
.tribute-news-meta {
  font-size: 0.75rem;
  color: var(--tb-text-dim);
}
.tribute-news-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--tb-text-dim);
  opacity: 0.6;
  text-align: center;
}

@media (max-width: 480px) {
  .tribute-yt-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 事件背景圖片圖庫（UIkit slider + lightbox）── */
.tribute-bg-gallery {
  margin-bottom: 1rem;
}
.tribute-bg-thumb {
  display: block;
  border-radius: 0.4rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(0, 0, 0, 0.35);
}
.tribute-bg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.tribute-bg-thumb:hover img {
  transform: scale(1.06);
}
.tribute-bg-gallery .uk-slidenav {
  color: rgba(255, 255, 255, 0.75);
}
.tribute-bg-gallery .uk-slidenav:hover {
  color: #fff;
}
.tb-summary-body .tribute-bg-gallery {
  margin-top: 1.1rem;
  margin-bottom: 0;
}

/* ── 事件背景區塊 ── */
.tribute-bg-section {
}
.tribute-bg-preview {
  font-size: 0.92rem;
  color: var(--tb-text);
  line-height: 1.75;
  opacity: 0.88;
  margin-bottom: 1rem;
}
.tribute-bg-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--tb-gold-soft);
  background: rgba(212, 175, 122, 0.1);
  border: 1px solid rgba(212, 175, 122, 0.25);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.tribute-bg-more-btn:hover {
  background: rgba(212, 175, 122, 0.18);
  border-color: rgba(212, 175, 122, 0.45);
}
.tribute-bg-more-btn .material-icons {
  font-size: 1em;
}
.tribute-bg-source {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--tb-text-dim);
  opacity: 0.7;
}
.tribute-bg-source a {
  color: var(--tb-text-dim);
  text-decoration: none;
}
.tribute-bg-source a:hover {
  opacity: 1;
  color: var(--tb-gold-soft);
}

/* ── 事件背景 Modal 樣式覆蓋 ── */
.tb-summary-sheet {
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
}
.tb-summary-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tb-gold-soft);
  margin-bottom: 1.1rem;
}
.tb-summary-title .material-icons {
  font-size: 1.1em;
}
.tb-summary-body {
  flex: 1;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--tb-text);
  line-height: 1.85;
  overscroll-behavior: contain;
}
.tb-summary-body p {
  margin-bottom: 1rem;
}
.tb-summary-body p:last-child {
  margin-bottom: 0;
}
.tb-summary-source {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--tb-text-dim);
  opacity: 0.7;
}
.tb-summary-source a {
  color: var(--tb-text-dim);
  text-decoration: none;
}
.tb-summary-source a:hover {
  opacity: 1;
  color: var(--tb-gold-soft);
}

/* ── RWD ── */
@media (max-width: 480px) {
  .tribute-header {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .tribute-section {
    padding: 1.5rem 1rem;
  }
  .tb-star-modal-sheet {
    border-radius: 1rem 1rem 0 0;
  }
  .tb-summary-sheet {
    max-height: 92vh;
  }
}
