html, body {
  width: 100%;
  height: 100%;
  min-height: calc(100% + 60px);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}
body { display: flex; }

/* Invisible background scroll buffer that triggers Safari URL bar collapse */
.scroll-buffer-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh + 60px);
  min-height: calc(100dvh + 60px);
  pointer-events: none;
  visibility: hidden;
  z-index: 1;
}

/* viewer-root is fixed to 100dvh — immune to background scroll jitter */
.viewer-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  z-index: 10;
}

/* flip-stage must NOT clip — page-flip animations translate/rotate outside bounds */
.flip-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  touch-action: manipulation;
}

.viewer-loading, .viewer-error {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.3s ease;
}
.viewer-loading[hidden], .viewer-error[hidden] { display: none; }
.viewer-loading__spinner {
  width: 36px; height: 36px;
  color: var(--flip-cover-a, var(--color-primary));
  animation: viewer-spin 900ms linear infinite;
  transition: color 0.3s ease;
}
@keyframes viewer-spin { to { transform: rotate(360deg); } }

/* Backdrop-based Loader Styles */
.backdrop-dark .viewer-loading { color: rgba(255, 255, 255, 0.65); }
.backdrop-wood .viewer-loading { color: rgba(255, 255, 255, 0.7); }
.backdrop-white .viewer-loading { color: #4b5563; }
.backdrop-ivory .viewer-loading { color: #5c4e3c; }

/* Handle white cover on white backdrop edge case */
.backdrop-white.theme-cover-white .viewer-loading__spinner,
.backdrop-ivory.theme-cover-white .viewer-loading__spinner {
  color: #4b5563;
}
/* Ensure spinner has good contrast on dark/wood backdrops if cover is white */
.backdrop-dark.theme-cover-white .viewer-loading__spinner,
.backdrop-wood.theme-cover-white .viewer-loading__spinner {
  color: #ffffff;
}

/* Stage & Flip Content Zoom/Pan Styles */
.flip-content {
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1);
}
.flip-stage.is-panning .flip-content {
  transition: none !important; /* Instant response during drag panning */
}
.flip-stage.is-zoomed {
  cursor: grab;
}
.flip-stage.is-zoomed #fliplink-flipbook,
.flip-stage.is-zoomed #heyzine-flipbook {
  pointer-events: none; /* 확대된 상태에서는 플립북 터치 제스처를 잠그고 줌/팬에만 집중 */
}
.flip-stage.is-panning {
  cursor: grabbing !important;
}

/* ================================================================
   Collapsible Floating Toolbar — Frosted Glassmorphism
   ================================================================ */
/* ================================================================
   User Designed Floating Pill Toolbar — iOS Safari Dock Glassmorphism
   ================================================================ */
.flipbook-toolbar {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(0);

  width: 90%;
  max-width: 440px;
  height: 56px;

  /* Safari Dock Theme: Light mode #eceef1 with 20px blur glassmorphism */
  background: rgba(236, 238, 241, 0.85); /* #eceef1 */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 8px;

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);

  z-index: 1000;
  user-select: none;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s;
}

/* 터치/클릭 시 부드럽게 페이드아웃 숨김 상태 */
.flipbook-toolbar.is-hidden {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(20px) scale(0.96) !important;
  pointer-events: none !important;
  visibility: hidden;
}

/* ================================================================
   Toolbar Expand Hint Button (Chevron-Up ^)
   ================================================================ */
.toolbar-hint-btn {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(0);

  width: 44px;
  height: 24px;
  border-radius: 12px;

  background: rgba(236, 238, 241, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.05);

  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  padding: 0;

  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s,
    background-color 0.2s;
}

/* 툴바가 숨겨졌을 때 나타나는 ^ 힌트 버튼 */
.toolbar-hint-btn.is-visible {
  opacity: 0.88;
  pointer-events: auto;
  visibility: visible;
  animation: hint-bounce 2.6s ease-in-out infinite;
}

.toolbar-hint-btn:hover {
  opacity: 1;
  background: rgba(236, 238, 241, 0.95);
  transform: translateX(-50%) translateY(-2px);
}

.toolbar-hint-btn:active {
  transform: translateX(-50%) scale(0.92);
}

@keyframes hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.toolbar-divider {
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.12);
  margin: 0 3px;
  flex-shrink: 0;
}

/* 이전 / 다음 / 서브 버튼 */
.nav-btn {
  flex: 0 0 36px;
  background: transparent;
  border: none;
  color: #1d1d1f;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s, opacity 0.2s, transform 0.15s;
  padding: 0;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.06);
}

.nav-btn:active:not(:disabled) {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(0.94);
}

.nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.nav-btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.nav-btn--sub {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  color: #3a3a3c;
}

/* 중앙 컨트롤 */
.page-controller {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

.page-info {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #1d1d1f;
  margin-bottom: 5px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.progress-bar-container {
  width: 100%;
  display: flex;
  align-items: center;
}

/* 슬라이더 */
#pageSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0;
  touch-action: none;
  transition: background 0.2s ease;
}

#pageSlider:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Chrome / Safari */
#pageSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}
#pageSlider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Firefox */
#pageSlider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* ================================================================
   User Agent Dark Mode — iOS Safari Dock Theme: #646464
   ================================================================ */
@media (prefers-color-scheme: dark) {
  .flipbook-toolbar {
    background: rgba(100, 100, 100, 0.78); /* #646464 */
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.45),
      0 2px 8px rgba(0, 0, 0, 0.25),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  .toolbar-hint-btn {
    background: rgba(100, 100, 100, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    color: #ffffff;
  }
  .toolbar-hint-btn:hover {
    background: rgba(100, 100, 100, 0.92);
  }
  .toolbar-divider {
    background: rgba(255, 255, 255, 0.22);
  }
  .nav-btn {
    color: #ffffff;
  }
  .nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
  }
  .nav-btn:active:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
  }
  .nav-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
  }
  .nav-btn--sub {
    color: rgba(255, 255, 255, 0.9);
  }
  .page-info {
    color: #ffffff;
  }
  #pageSlider {
    background: rgba(255, 255, 255, 0.3);
  }
  #pageSlider:hover {
    background: rgba(255, 255, 255, 0.45);
  }
  #pageSlider::-webkit-slider-thumb {
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }
}

/* 모바일 반응형 */
@media (max-width: 480px) {
  .flipbook-toolbar {
    width: calc(100% - 24px);
    max-width: 380px;
    height: 52px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 0 6px;
  }
  .page-info {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .viewer-toolbar-wrap {
    bottom: 12px;
  }
  .viewer-toolbar {
    padding: 4px 6px;
    gap: 2px;
  }
  .viewer-btn {
    width: 32px;
    height: 32px;
  }
  .viewer-btn svg {
    width: 16px;
    height: 16px;
  }
  .viewer-btn--text {
    min-width: 40px;
    font-size: 11px;
    height: 28px;
    padding: 0 6px;
  }
  .viewer-lens {
    width: 150px;
    height: 150px;
  }
  /* On mobile, fully hide toggle button when collapsed */
  .viewer-toolbar-wrap.is-collapsed .viewer-toolbar-toggle {
    opacity: 0;
    pointer-events: none;
  }
}

/* ================================================================
   Toast Popup Notification (e.g. '마지막 페이지입니다')
   ================================================================ */
.viewer-toast {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px) scale(0.96);
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.viewer-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* ================================================================
   Apple Dynamic Island — Minimal / Compact / Expanded (Live Issue Navigator)
   ================================================================ */
.island-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.island-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dynamic-island {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;

  /* Apple True OLED Black */
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.15);

  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;

  /* Apple signature fluid spring animation */
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-island[hidden] {
  display: none !important;
}

/* Views switching */
.island-view {
  display: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* ----------------------------------------------------------------
   State 01: Minimal (약 32pt 높이)
   ---------------------------------------------------------------- */
.dynamic-island[data-state="minimal"] {
  height: 34px;
  width: auto;
  min-width: 74px;
  border-radius: 9999px;
  padding: 0 10px 0 8px;
  cursor: pointer;
}
.dynamic-island[data-state="minimal"]:hover {
  transform: translateX(-50%) scale(1.04);
}
.dynamic-island[data-state="minimal"] .island-view--minimal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.island-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 6px #34c759;
  flex-shrink: 0;
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.island-emblem {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.island-emblem--lg {
  width: 24px;
  height: 24px;
}

.island-min-category {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   State 02: Compact (기본 · 주요 제어: 약 126pt ~ 210pt 가변 너비)
   ---------------------------------------------------------------- */
.dynamic-island[data-state="compact"] {
  height: 38px;
  width: auto;
  min-width: 180px;
  max-width: 260px;
  border-radius: 9999px;
  padding: 0 8px;
  cursor: pointer;
}
.dynamic-island[data-state="compact"]:hover {
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.65),
    0 2px 12px rgba(0, 0, 0, 0.45);
}
.dynamic-island[data-state="compact"] .island-view--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.island-compact__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding-left: 2px;
}
.island-compact__cat {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.island-compact__pager {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2px 4px;
}
.island-compact__page-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 4px;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.island-icon-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}
.island-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.island-icon-btn:active {
  transform: scale(0.92);
}

.island-menu-trigger {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.island-menu-trigger:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* ----------------------------------------------------------------
   State 03: Expanded (확장 · 날짜별 목록)
   ---------------------------------------------------------------- */
.dynamic-island[data-state="expanded"] {
  width: min(92vw, 380px);
  height: auto;
  border-radius: 36px;
  padding: 16px 16px 14px 16px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
}

.dynamic-island[data-state="expanded"] .island-view--expanded {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 3-1. Header */
.island-exp__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.island-exp__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.island-exp__titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.island-exp__church {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}
.island-exp__cat-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.island-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.island-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: scale(1.05);
}
.island-collapse-btn:active {
  transform: scale(0.92);
}

/* 3-2. Showcase Card */
.island-showcase {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 12px;
}
.island-showcase__thumb {
  width: 46px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.island-showcase__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.island-showcase__date {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.island-showcase__title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3-3. Horizontal Timeline of Thumbnails */
.island-timeline-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.island-timeline-wrap::-webkit-scrollbar {
  display: none;
}

.island-timeline {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 100%;
}

.island-thumb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  width: 58px;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.island-thumb-card:hover {
  transform: translateY(-2px);
}
.island-thumb-card:active {
  transform: scale(0.94);
}

.island-thumb-card__img {
  width: 54px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
.island-thumb-card.is-current .island-thumb-card__img {
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.island-thumb-card__date {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.island-thumb-card.is-current .island-thumb-card__date {
  color: #ffffff;
  font-weight: 700;
}

/* More Button Card */
.island-thumb-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  width: 58px;
  transition: transform 0.18s ease;
}
.island-thumb-more:hover {
  transform: translateY(-2px);
}
.island-thumb-more__box {
  width: 54px;
  height: 74px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
}
.island-thumb-more__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

/* 3-4. Footer */
.island-exp__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 8px;
  margin-top: 2px;
}

.island-foot-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.island-foot-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.island-foot-btn:active {
  transform: scale(0.94);
}

.island-foot-page {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.2px;
}

.island-foot-menu {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.island-foot-menu:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}


