/* ========================================================
   garden.css｜樣式維護索引與修改注意事項
   --------------------------------------------------------
   本檔依「共用基礎 → 共用元件 → 各頁面模組 → 響應式設定」整理。
   1. 全域基礎設定：Reset、body 字體與基本色彩。
   2. 共用容器：各花園功能頁面的內容寬度與置中方式。
   3. 共用按鈕與膠囊元件：按鈕、分享按鈕、徽章、期數標籤。
   4. 說明頁：garden-intro 的左右欄、步驟、手捏棉花糖軟雲朵按鈕。
   5. 投票列表頁：摘要、搜尋、作品卡片、投票與分頁。
   6. 詳細作品頁：主圖、縮圖、作品資訊、故事內容與操作按鈕。
   7. 得獎公告頁：公告、空狀態、期數選單、前三名與作品回顧。
   8. 詳細頁社群分享列：分享列文字、圖示及各社群按鈕。
   8-1. 投票列表頁分享彈窗：遮罩、彈窗卡片、社群圖示、複製連結與關閉按鈕。
   8-2. 作品編輯/上傳頁：表單輸入框美化、手機靠左對齊。
   9. RWD 響應式佈局：依螢幕寬度調整欄數、間距及字級。
   ======================================================== */

@charset "UTF-8";

/* ========================================================
   1. 全域共用基礎設定 (Reset & Base)
   ======================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #2B382C;
  background-color: #FFFFFF;
}

/* ========================================================
   2. 共用頁面包裝容器 (Container)
   ======================================================== */
.garden-content-area, 
.garden-vote-module, 
.garden-detail-module {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.garden-result-module {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
  line-height: 1.7;
}

/* ========================================================
   3. 共用按鈕與膠囊元件 (Buttons & Badges)
   ======================================================== */
.btn-leaf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #809969;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 35px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(74, 91, 76, 0.18);
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  max-width: 258px;
  width: 100%;
}

.btn-leaf-pill:hover {
  background: #daa02b;
  transform: translateY(-2px);
}

.btn-leaf-pill.primary-green {
  background: #619163;
  box-shadow: 0 4px 10px rgba(85, 122, 70, 0.25);
}

.btn-leaf-pill.primary-green:hover {
  background: #436037;
}

.cta-row-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-simple-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5B6E5D;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  padding: 13px 36px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(91, 110, 93, 0.2);
}

.btn-simple-cta:hover {
  background: #475749;
  transform: translateY(-1px);
}

.btn-simple-cta.primary-green {
  background: #6A9C59;
  box-shadow: 0 4px 14px rgba(106, 156, 89, 0.25);
}

.btn-simple-cta.primary-green:hover {
  background: #568446;
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 30px;
  border: 1.5px solid #C3DEC2;
  background: #FFFFFF;
  color: #4A5B4C;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.btn-nav-outline i {
  color: #6A9C59;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.btn-nav-outline:hover {
  background: #6A9C59;
  border-color: #6A9C59;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 156, 89, 0.2);
}

.btn-nav-outline:hover i {
  color: #FFFFFF;
}

.share-soft-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.share-soft-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-soft-btn.line-btn { background: #52B176; }
.share-soft-btn.fb-btn   { background: #5A83A2; }
.share-soft-btn.link-btn { background: #7A917B; }

.vote-circle-icon, 
.notice-badge {
  width: 60px;
  height: 60px;
  background-color: #6A9C59;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 2px rgb(106 156 89 / 19%);
}

.period-month-pill {
  background: #FFFDF9;
  border: 1.5px solid #F0C49E;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #D97724;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(217, 119, 36, 0.1);
}

.period-month-pill i {
  color: #E88B24;
}

/* ========================================================
   4. 【說明頁】專用樣式 (garden-intro)
   ======================================================== */
.garden-split-wrap {
  display: flex;
  gap: 46px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.col-left-editorial {
  width: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.editorial-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #32913a;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 1px;
  background: linear-gradient(to right, #11904f, #3d938491);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.editorial-sub-title {
  font-size: 1.05rem;
  color: #637765;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* 4-1. 看板背景：微點陣漸層手繪色塊，無生硬外框線 */
.garden-ad-banner-card.lively-shape {
  width: 100%;
  background-color: #F1F8EE;
  background-image: 
    radial-gradient(#D3E8CE 1.6px, transparent 1.6px),
    radial-gradient(circle at 50% 35%, #FFFFFF 0%, #EBF5E7 100%);
  background-size: 16px 16px, 100% 100%;
  border-radius: 42px;
  border: none;
  padding: 32px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 5px 12px rgba(85, 136, 75, 0.12);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  overflow: visible;
}

.garden-ad-banner-card.lively-shape:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(85, 136, 75, 0.22);
}

/* 4-2. 背景微點裝飾 */
.deco-bg-sparkle {
  position: absolute;
  color: #F3C472;
  font-size: 0.95rem;
  pointer-events: none;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}
.sparkle-1 { top: 22px; right: 28px; }
.sparkle-2 { bottom: 35px; left: 24px; animation-delay: 1.5s; font-size: 0.8rem; }

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

.deco-leaf {
  position: absolute;
  color: #79B86D;
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.3s ease;
}
.leaf-top-left {
  top: 18px;
  left: 20px;
  font-size: 1.25rem;
  transform: rotate(-25deg);
}
.leaf-bottom-right {
  bottom: 22px;
  right: 22px;
  font-size: 1.35rem;
  transform: rotate(20deg);
}

.garden-ad-banner-card:hover .leaf-top-left {
  transform: rotate(-35deg) scale(1.15);
  color: #5E994D;
}

.garden-ad-banner-card:hover .leaf-bottom-right {
  transform: rotate(30deg) scale(1.15);
  color: #5E994D;
}

/* 4-3. 頂部橘色「每日投票支持」標籤 */
.ad-ribbon-tag {
  position: absolute;
  top: -12px;
  background: #E2751E;
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(226, 117, 30, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-1.5deg);
  transition: all 0.25s ease;
}

.ad-plant-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* 4-4. 「投我一票！」對話泡泡與文字 */
.ad-speech-bubble {
  position: absolute;
  top: 0px;
  right: -46px;
  background: #FFFDF8;
  border: 2px solid #F5B984;
  color: #D3650E;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 18px;
  box-shadow: 0 5px 14px rgba(217, 119, 36, 0.2);
  animation: bubbleFloat 3s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
  z-index: 5;
}

.ad-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 9px solid #FFFDF8;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-6px) rotate(-1.5deg); }
}

/* 小花盆插圖：180px 大主角 */
.ad-potted-anim {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 12px 22px rgba(85, 136, 75, 0.22));
  transform-origin: bottom center;
  transition: transform 0.3s ease;
}

.garden-ad-banner-card:hover .ad-potted-anim {
  transform: scale(1.05) rotate(1.5deg);
}

.ad-scene-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #263827;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  display: block;
}

.ad-scene-en {
  font-size: 0.82rem;
  color: #6E946F;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

/* ========================================================
   4-5. 【手捏棉花糖軟雲朵按鈕】（完全無 !important 規範版）
   ======================================================== */
/* ========================================================
   【極簡平面化按鈕】（Flat Design・純淨俐落，無多餘裝飾）
   ======================================================== */
.ad-action-pill.flat-simple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #5AA047;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease;
}

.ad-action-pill.flat-simple-btn .pill-text {
  color: #FFFFFF;
  line-height: 1;
}

.ad-action-pill.flat-simple-btn i {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

/* Hover：純色平滑切換為暖橘，箭頭微推 */
.garden-ad-banner-card:hover .ad-action-pill.flat-simple-btn,
.ad-action-pill.flat-simple-btn:hover {
  background-color: #E2751E;
}

.garden-ad-banner-card:hover .ad-action-pill.flat-simple-btn i,
.ad-action-pill.flat-simple-btn:hover i {
  transform: translateX(4px);
}

/* ========================================================
   4-6. 兩欄並排膠囊（成果拍照、得獎名單）
   ======================================================== */
.editorial-capsule-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin: 5px 0 35px 0;
}

.editorial-capsule-row.two-capsules {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 6px 0 28px 0;
}

.editorial-capsule-row.two-capsules .editorial-pill-btn {
  padding: 10px 6px;
  font-size: 1rem;
}

.editorial-pill-btn {
  border: 1.5px solid #6A9C59;
  background: #FFFFFF;
  color: #2F4230;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(106, 156, 89, 0.08);
  transition: all 0.2s ease;
}

.editorial-pill-btn:hover {
  background: #6A9C59;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(106, 156, 89, 0.25);
}

.editorial-pill-btn i {
  color: #6A9C59;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.editorial-pill-btn:hover i {
  color: #FFFFFF;
}

.award-hero-card {
  width: 100%;
  background: #FFFFFF;
  padding: 0 2px;
  margin: 0 0 12px 0;
  text-align: left;
  box-sizing: border-box;
}

.award-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.award-card-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  border: 5px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}

.award-card-title-box {
  display: flex;
  flex-direction: column;
}

.award-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #b65d36;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.award-card-period {
  font-size: 1.2rem;
  font-weight: 700;
  color: #556B56;
  margin-top: 2px;
  line-height: .6;
}

.award-card-period strong {
  color: #D97724;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 2px;
  font-family: 'Fredoka', cursive, sans-serif;
}

.award-card-text {
  color: #49594B;
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 0 10px;
}

.award-hero-card .btn-fb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #5B899B;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(91, 137, 155, 0.2);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.award-hero-card .btn-fb-link:hover {
  background: #4A7384;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 137, 155, 0.3);
}

.award-hero-card .btn-fb-link i {
  font-size: 1.05rem;
}

.col-right-steps {
  width: 58%;
}

.step-list-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: #263327;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-list-heading i {
  color: #557A46;
  font-size: 1.5rem;
}

.step-group {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 22px;
}

.step-box-item {
  background: #F4F7F4;
  border-radius: 16px;
  padding: 18px 22px;
}

.step-num-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.step-num-line .big-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: #E8AF44;
  font-family: 'Fredoka', cursive, sans-serif;
  line-height: 1;
  letter-spacing: -0.5px;
}

.step-num-line .slash {
  font-size: 1.3rem;
  color: #C3D5C3;
}

.step-num-line .step-name {
  font-size: 1.24rem;
  font-weight: 800;
  color: #427385;
  letter-spacing: -.25px;
}

.step-txt {
  font-size: 1.02rem;
  color: #49594B;
  line-height: 1.75;
}

.step-txt strong {
  color: #314E29;
}

.step-txt .note-sub {
  display: block;
  font-size: 0.9rem;
  color: #517055;
  margin-top: 4px;
}

.notice-rule-box {
  padding: 0 5px 0 10px;
  font-size: 0.96rem;
  color: #5C5C5C;
  line-height: 1.65;
}

.notice-rule-box strong {
  color: #2F4230;
  display: block;
  margin-bottom: 2px;
  font-size: 1.1rem;
}

.notice-rule-box ol {
  padding-left: 20px;
  margin: 0;
}

/* ========================================================
   5. 【投票列表頁】專用樣式 (garden-vote)
   ======================================================== */
.vote-summary-bar {
  display: flex;
  align-items: center;
  background: #F9FCF8;
  border: 1px solid #DCEBD9;
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 35px;
  box-shadow: 0 3px 12px rgba(106, 156, 89, 0.05);
  justify-content: space-between;
}

.vote-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vote-header-info h3 {
  font-size: 1.45rem;
  color: #2B382C;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.vote-header-info p {
  color: #556B56;
  margin: 0;
}

.vote-filter-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: #F9FCF8;
  border-radius: 30px;
  padding: 6px 18px;
  border: 1.5px solid #87a881;
  transition: border-color 0.2s ease;
}

.search-input-box:focus-within {
  border-color: #6A9C59;
  background: #FFFFFF;
}

.search-input-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: #2B382C;
  width: 170px;
  font-family: inherit;
}

.search-input-box input::placeholder {
  color: #9AA89B;
  opacity: 1;
}

.search-input-box i {
  color: #6A9C59;
  font-size: 1.2rem;
  cursor: pointer;
}

.garden-grid-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 30px;
  margin-bottom: 36px;
}

.garden-card-item {
  background: #FFFFFF;
  border: 1.5px solid #E1EBE1;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.garden-card-item:hover {
  transform: translateY(-4px);
  border-color: #6A9C59;
  box-shadow: 0 8px 24px rgba(106, 156, 89, 0.12);
}

.garden-img-thumb {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #EDF3ED;
}

.garden-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.garden-card-item:hover .garden-img-thumb img {
  transform: scale(1.05);
}

.rank-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(43, 56, 44, 0.78);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.rank-tag.gold {
  background: #D97724;
  box-shadow: 0 2px 6px rgba(217, 119, 36, 0.3);
}

.card-detail-content {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.garden-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2B382C;
  letter-spacing: 0.3px;
}

.author-name {
  font-size: 0.85rem;
  color: #6F8270;
  font-weight: 600;
}

.garden-story {
  font-size: 0.92rem;
  color: #4A584C;
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85em;
}

.card-vote-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px dashed #DCE8DC;
}

.vote-tally {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 0.85rem;
  color: #6F8270;
  font-weight: 700;
}

.vote-tally .tally-digit {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #e99a0f;
  line-height: 1;
  letter-spacing: -0.5px;
}

.action-right-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-share {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #C3DEC2;
  background: #F9FCF8;
  color: #6A9C59;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-share:hover {
  background: #FFFDF9;
  color: #D97724;
  border-color: #E59A54;
  transform: translateY(-1px);
}

.btn-vote-pill {
  background: #6A9C59;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgb(106 156 89 / 16%);
}

.btn-vote-pill:hover {
  background: #568446;
  transform: translateY(-1px);
}

.btn-vote-pill.voted {
  background: #EDF3ED;
  color: #6F8270;
  box-shadow: none;
  cursor: default;
}

.btn-vote-pill.voted:hover {
  transform: none;
}

.btn-vote-pill.closed {
  background: #E2E7E2;
  color: #8C9E8E;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.9;
}

.btn-vote-pill.closed:hover {
  transform: none;
  background: #E2E7E2;
}

.pagination-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.p-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #DCEBD9;
  background: #FFFFFF;
  color: #2B382C;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.p-btn.active, 
.p-btn:hover {
  background: #6A9C59;
  border-color: #6A9C59;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(106, 156, 89, 0.25);
}

/* ========================================================
   6. 【詳細作品頁】專用樣式 (garden-detail)
   ======================================================== */
.detail-split-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-top: 10px;
}

.detail-gallery-col {
  width: 52%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
}

.main-photo-stage {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #EDF3ED;
  border: 1.5px solid #E1EBE1;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.main-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}

.stage-rank-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #D97724;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(217, 119, 36, 0.25);
  letter-spacing: 0.5px;
}

.thumb-swipe-hint {
  display: none;
}

.thumbnail-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 4px 2px 8px;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 10;
}

.thumbnail-strip::-webkit-scrollbar {
  height: 4px;
}

.thumbnail-strip::-webkit-scrollbar-track {
  background: #EDF3ED;
  border-radius: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
  background: #C3DEC2;
  border-radius: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
  background: #6A9C59;
}

.thumb-item-btn {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #EDF3ED;
  cursor: pointer;
  opacity: 0.65;
  flex-shrink: 0;
  transition: all 0.2s ease;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.thumb-item-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.thumb-item-btn.active, 
.thumb-item-btn:hover {
  opacity: 1;
  border-color: #6A9C59;
  transform: translateY(-2px);
}

.detail-info-col {
  width: 48%;
  display: flex;
  flex-direction: column;
}

.work-header-line {
  margin-bottom: 6px;
}

.work-title-text {
  font-size: 1.85rem;
  font-weight: 600;
  color: #2B382C;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.work-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #6F8270;
  font-weight: 600;
}

.author-badge {
  color: #2B382C;
  font-weight: 600;
}

.author-date {
  color: #8A9D8B;
  font-size: 0.88rem;
}

.botanical-decor-clean {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 20px;
  padding-left: 2px;
}

.botanical-leaf-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0F6EE;
  color: #6A9C59;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.botanical-clean-text {
  display: flex;
  flex-direction: column;
}

.botanical-clean-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #3B4E3C;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.botanical-clean-sub {
  font-size: 0.83rem;
  color: #7D8F7F;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.detail-vote-action-card {
  background: #F9FCF8;
  border: 1px solid #DCEBD9;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(106, 156, 89, 0.05);
}

.vote-count-group {
  display: flex;
  flex-direction: column;
}

.vote-count-label {
  font-size: 0.9rem;
  color: #6F8270;
  font-weight: 600;
}

.vote-count-digits {
  color: #5d5d5d;
  font-weight: 600;
  margin-left: 2px;
}

.vote-count-digits span {
  font-size: 2.1rem;
  font-weight: 900;
  color: #D97724;
  font-family: Arial, sans-serif;
  line-height: 1.1;
}

.detail-btn-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-detail-share {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #C3DEC2;
  background: #FFFFFF;
  color: #6A9C59;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-share:hover {
  background: #FFFDF9;
  color: #D97724;
  border-color: #E59A54;
  transform: translateY(-2px);
}

.btn-detail-share i {
  font-size: 1.05rem;
  line-height: 1;
}

.btn-detail-vote {
  background: #6A9C59;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(106, 156, 89, 0.25);
  transition: all 0.2s ease;
}

.btn-detail-vote:hover {
  background: #568446;
  transform: translateY(-2px);
}

.vote-rule-tiny-hint {
  font-size: 0.88rem;
  color: #556B56;
  background: #FFFDF9;
  border: 1px dashed #F0C49E;
  border-radius: 12px;
  padding: 8px 14px 8px 16px;
  line-height: 1.6;
}

.vote-rule-tiny-hint strong {
  color: #D97724;
}

.story-article-card {
  background: #FFFFFF;
  border: 1.5px solid #E1EBE1;
  border-radius: 22px;
  padding: 32px 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.story-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2B382C;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #DCE8DC;
}

.story-section-title i {
  color: #6A9C59;
}

.story-body-paragraph {
  font-size: 1.02rem;
  color: #4A584C;
  line-height: 1.9;
  margin-bottom: 18px;
}

.story-body-paragraph:last-child {
  margin-bottom: 0;
}

.story-quote-box {
  background: #F9FCF8;
  border-left: 3px solid #6A9C59;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.98rem;
  color: #3B503D;
  line-height: 1.8;
  font-style: italic;
}

.detail-bottom-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ========================================================
   7. 【得獎公告頁】專用樣式 (現代圓角生活風格 - 移入微傾互動版)
   ======================================================== */
.result-notice-box {
  background: #F9FCF8;
  border: 1px solid #DCEBD9;
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 3px 12px rgba(106, 156, 89, 0.05);
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.result-notice-box .notice-badge {
  width: 48px;
  height: 48px;
  background-color: #6A9C59;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(106, 156, 89, 0.25);
}

.notice-text {
  min-width: 0;
}

.notice-text h3 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #2B382C;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.notice-text p {
  font-size: 0.92rem;
  color: #556B56;
  margin: 0;
  line-height: 1.4;
}

.result-empty-box {
  background: #FFFFFF;
  border: 1.5px dashed #D4E4D3;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  background: #F4F8F3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #6A9C59;
  font-size: 1.8rem;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2B382C;
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 0.98rem;
  color: #6F8270;
  line-height: 1.6;
  max-width: 420px;
}

.badge-capsule-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 2px rgba(14, 181, 161, 0.38);
  background: linear-gradient(135deg, #20DFC9 0%, #0CA391 100%);
  border-radius: 35px;
  padding: 0 8px 0 18px;
  height: 42px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.badge-capsule-select:hover {
  transform: translateY(-2px);  
  box-shadow: 0 4px 4px rgb(201 105 105 / 19%);
  background: linear-gradient(to right, #f78ca0 0%, #f9748f 19%, #fd868c 60%, #fe9a8b 100%);
}

.capsule-text-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  pointer-events: none;
  white-space: nowrap;
}

.capsule-circle-badge {
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.capsule-circle-badge i {
  color: #0EB5A1;
  font-size: 0.82rem;
  font-weight: 900;
}

.badge-capsule-select:hover .capsule-circle-badge {
  transform: scale(1.08);
}

.badge-native-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.badge-native-select option {
  color: #2B382C;
  background: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
}

.spotlight-winners-grid.polaroid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 46px;
  padding: 10px 4px;
}

.spotlight-card.polaroid-card {
  background: #FFFFFF;
  padding: 12px 12px 18px 12px;
  border-radius: 12px;
  border: 1.5px solid #E3ECE2;
  box-shadow: 0 3px 12px rgba(43, 56, 44, 0.05);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  transform: rotate(0deg);
}

.spotlight-card.polaroid-card:hover {
  border-color: #C6DFC5;
  box-shadow: 0 10px 24px rgba(106, 156, 89, 0.16);
  z-index: 2;
}

.spotlight-card.polaroid-card.first-rank:hover {
  transform: translateY(-6px) rotate(0.8deg);
}

.spotlight-card.polaroid-card.second-rank:hover {
  transform: translateY(-5px) rotate(-1.5deg);
}

.spotlight-card.polaroid-card.third-rank:hover {
  transform: translateY(-5px) rotate(1.5deg);
}

.spotlight-media-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #EDF3ED;
}

.spotlight-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-card:hover .spotlight-media-wrap img {
  transform: scale(1.03);
}

.rank-floating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.rank-floating-badge .rank-digit {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  margin: 0 2px;
}

.rank-floating-badge.gold {
  background: #f66710;
}

.rank-floating-badge.gold i {
  color: #FFF2DF;
  font-size: 0.85rem;
}

.rank-floating-badge.green {
  background: #67b053;
}

.vote-floating-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(35, 45, 36, 0.78);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.3px;
}

.first-rank .vote-floating-pill {
  color: #FFD15C;
}

.spotlight-content {
  padding: 12px 2px 2px;
  display: flex;
  flex-direction: column;
}

.spotlight-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.spotlight-garden-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #243325;
  letter-spacing: 0.3px;
}

.spotlight-prize-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #557A46;
  background: #EEF5ED;
  padding: 2px 8px;
  border-radius: 10px;
}

.spotlight-prize-badge.gold {
  color: #C26315;
  background: #FFF3E6;
}

.spotlight-author-line {
  font-size: 0.88rem;
  color: #4A5B4C;
  font-weight: 600;
  margin-bottom: 3px;
}

.spotlight-prize-line {
  font-size: 0.82rem;
  color: #7D8F7F;
  line-height: 1.45;
}

.clean-others-container {
  margin-bottom: 46px;
  border-top: 1px dashed #DCE8DC;
  padding-top: 32px;
}

.clean-others-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.clean-heading-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2B382C;
}

.clean-heading-text i {
  color: #6A9C59;
}

.clean-heading-tip {
  font-size: 0.88rem;
  color: #798D7B;
  font-weight: 600;
}

.clean-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 18px;
  row-gap: 24px;
}

.portfolio-card-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.portfolio-thumb-box {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  background: #EDF3ED;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card-item:hover .portfolio-thumb-box {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(106, 156, 89, 0.12);
}

.portfolio-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card-item:hover .portfolio-thumb-box img {
  transform: scale(1.04);
}

.portfolio-body {
  padding: 10px 6px 0 6px;
}

.portfolio-title {
  font-size: 1rem;
  font-weight: 600;
  color: #263327;
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.portfolio-card-item:hover .portfolio-title {
  color: #6A9C59;
}

.portfolio-meta-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-author {
  font-size: 0.82rem;
  color: #8A9D8B;
  font-weight: 500;
}

.portfolio-vote-dim {
  font-size: 0.78rem;
  color: #A3B5A4;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.portfolio-card-item.hidden-item {
  display: none;
  opacity: 0;
  transform: translateY(18px);
}

.portfolio-card-item.visible-item {
  display: flex;
}

.portfolio-card-item.fade-in-up {
  animation: smoothFloatUp 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes smoothFloatUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.clean-load-more-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  padding-top: 4px;
}

.btn-load-more-others {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: #da7825;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-direction: column;
}

.btn-load-more-others i {
  color: #6A9C59;
  font-size: 0.82rem;
  transition: transform 0.2s ease;
  border: 1px solid #ccc;
  border-radius: 50px;
  padding: 8px 10px;
}

.btn-load-more-others:hover {
  transform: translateY(-2px);
}

.btn-load-more-others:hover i {
  color: #FFFFFF;
  background: #30b49a;
  transform: translateY(2px);
}

.result-rule-note {
  border-top: 1px dashed #DCE8DC;
  padding-top: 20px;
  font-size: 0.95rem;
  color: #556B56;
  line-height: 1.8;
  margin-bottom: 28px;
}

.result-rule-note strong {
  color: #2B382C;
}

.result-rule-note a {
  color: #1877F2;
  text-decoration: underline;
  font-weight: 700;
}

.result-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ========================================================
   8. 【詳細頁】專用社群分享列（日系精緻膠囊風）
   ======================================================== */
.detail-social-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 6px 4px 5px 10px;
}

.share-row-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #637765;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.share-row-label i {
  color: #6A9C59;
}

.social-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-social-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #DCE8DC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-social-item i {
  font-size: 1rem;
  line-height: 1;
  transition: all 0.22s ease;
}

.btn-social-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
  transition: all 0.22s ease;
}

.btn-social-item.fb { color: #1877F2; }
.btn-social-item.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.btn-social-item.line { color: #06C755; }
.btn-social-item.line:hover {
  background: #06C755;
  border-color: #06C755;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
}

.btn-social-item.ig { color: #E1306C; }
.btn-social-item.ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(225, 48, 108, 0.3);
}

.btn-social-item.threads { color: #222222; }
.btn-social-item.threads:hover {
  background: #111111;
  border-color: #111111;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-social-item.copy { 
  color: #6A9C59; 
}

.btn-social-item.copy:hover {
  background: #6A9C59;
  border-color: #6A9C59;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(106, 156, 89, 0.3);
}

/* ========================================================
   8-1. 【投票列表頁】分享彈窗樣式 (Share Modal)
   ======================================================== */
.share-modal-backdrop { 
  position: fixed; 
  inset: 0; 
  background: rgba(43,56,44,.55); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 9999; 
  padding: 16px; 
}

.share-modal-backdrop.active { 
  display: flex; 
}

.share-modal-card { 
  background: #fff; 
  border-radius: 18px; 
  max-width: 420px; 
  width: 100%; 
  padding: 26px 24px 22px; 
  position: relative; 
  box-shadow: 0 18px 50px rgba(0,0,0,.25); 
  text-align: center; 
}

.share-modal-card h4 { 
  font-size: 1.15rem; 
  font-weight: 800; 
  color: #2B382C; 
  margin-bottom: 6px; 
}

.share-modal-card .share-modal-name { 
  color: #6A9C59; 
  font-weight: 700; 
  margin-bottom: 16px; 
  word-break: break-all; 
}

.share-modal-grid { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-bottom: 16px; 
}

.share-modal-grid .btn-social-item { 
  width: 52px; 
  height: 52px; 
}

.share-modal-grid .btn-social-item i { 
  font-size: 1.4rem; 
}

.share-modal-grid .btn-social-item svg { 
  width: 22px; 
  height: 22px; 
}

.share-modal-copy { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  border: 1.5px solid #DCE8DC; 
  background: #F4F8F2; 
  color: #4A5B4C; 
  font-weight: 700; 
  border-radius: 30px; 
  padding: 10px 26px; 
  cursor: pointer; 
  transition: all .2s ease; 
}

.share-modal-copy:hover { 
  background: #6A9C59; 
  border-color: #6A9C59; 
  color: #fff; 
}

.share-modal-close { 
  position: absolute; 
  top: 10px; 
  right: 14px; 
  border: none; 
  background: none; 
  font-size: 1.6rem; 
  color: #999; 
  cursor: pointer; 
  line-height: 1; 
}

.share-modal-close:hover { 
  color: #333; 
}

.share-modal-tip { 
  font-size: .82rem; 
  color: #8AA08C; 
  margin-top: 12px; 
}

/* ========================================================
   8-2. 【作品編輯/上傳頁】專用表單美化 (Garden Form Style)
   ======================================================== */
.garden-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.garden-edit-card {
  background: #FFFFFF;
  border: 1.5px solid #DCEBD9;
  border-radius: 22px;
  padding: 36px 38px;
  box-shadow: 0 4px 20px rgba(106, 156, 89, 0.08);
}

.garden-form-group {
  margin-bottom: 22px;
}

.garden-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #2B382C;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.garden-form-label i {
  color: #6A9C59;
  font-size: 1rem;
}

.garden-form-sublabel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #556B56;
  margin-top: 14px;
  margin-bottom: 6px;
}

.label-badge {
  font-size: .9rem;
  font-weight: 700;
  color: #bc4f24;
  background: #c773540a;
  padding: 2px 10px;
  border-radius: 12px;
  margin-left: 4px;
  letter-spacing: 0;
}

.garden-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.98rem;
  color: #2B382C;
  background-color: #F9FCF8;
  border: 1.5px solid #C3DEC2;
  border-radius: 12px;
  transition: all 0.25s ease;
  outline: none;
  font-family: inherit;
  line-height: 1.6;
  text-align: left;
}

.garden-form-control:focus {
  border-color: #6A9C59;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(106, 156, 89, 0.2);
}

textarea.garden-form-control {
  min-height: 140px;
  resize: vertical;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

textarea.garden-form-control::-webkit-scrollbar {
  width: 6px;
  display: block;
}

textarea.garden-form-control::-webkit-scrollbar-thumb {
  background-color: #C3DEC2;
  border-radius: 4px;
}

textarea.garden-form-control::-webkit-scrollbar-track {
  background-color: #F0F6EE;
}

.garden-form-control.readonly-field {
  background-color: #F2F5F2;
  color: #6F8270;
  border-color: #DCE8DC;
  cursor: not-allowed;
}

.garden-form-control.file-input {
  padding: 8px 12px;
  background: #FFFFFF;
  cursor: pointer;
}

.garden-form-tip {
  font-size: 0.85rem;
  color: #798D7B;
  margin-top: 6px;
  padding-left: 2px;
  line-height: 1.45;
}

.garden-empty-hint {
  font-size: 0.92rem;
  color: #8A9D8B;
  background: #F9FCF8;
  border: 1px dashed #DCE8DC;
  border-radius: 10px;
  padding: 10px 14px;
}

.current-cover-preview {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #E1EBE1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.current-cover-preview img {
  max-width: 200px;
  height: 130px;
  object-fit: cover;
  display: block;
}

.preview-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(43, 56, 44, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.edit-attach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 14px;
  padding: 5px;
}

.attach-item-box {
  position: relative;
  width: 96px;
  height: 72px;
  border-radius: 10px;
  overflow: visible;
  border: 1.5px solid #DCEBD9;
}

.attach-item-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.attach-del-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #d9534f;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.attach-del-btn:hover {
  background: #c9302c;
  transform: scale(1.15);
}

.garden-form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed #DCE8DC;
}

.garden-form-actions .btn-leaf-pill {
  width: auto;
  min-width: 200px;
  font-size: 1.05rem;
  padding: 10px 28px;
}

/* ========================================================
   9. RWD 響應式佈局 (Responsive Design)
   ======================================================== */
@media (max-width: 900px) {
  .garden-grid-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .spotlight-winners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clean-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .garden-split-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .award-hero-card {
    padding: 10px 15px;
    margin: 0;
    background: #30617412;
    border-radius: 5px;
  }

  .col-left-editorial, 
  .col-right-steps {
    width: 100%;
    padding-top: 0;
  }

  .step-list-heading {
    margin-bottom: 4px;
  }

  .editorial-main-title {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.2;
  }

  .editorial-sub-title {
    letter-spacing: 10px;
    text-align: center;
    font-size: .95rem;
    margin-bottom: 8px;
  }

  .editorial-main-title br {
    display: block;
  }

  .cta-row-wrap {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn-leaf-pill {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 20px;
    font-size: 1.05rem;
  }

  .detail-split-layout {
    flex-direction: column;
    gap: 20px;
  }

  .detail-gallery-col, 
  .detail-info-col {
    width: 100%;
  }

  .main-photo-stage {
    height: 280px;
  }

  .work-title-text {
    font-size: 1.55rem;
  }

  .work-author-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .work-author-bar span:nth-child(2) {
    display: none;
  }

  .botanical-decor-clean {
    display: none;
  }

  .story-article-card {
    padding: 22px 20px;
  }

  .edit-attach-grid {
    gap: 6px;
    padding: 0 0 0 5px;
  }
}

@media (max-width: 768px) {
  br {
    display: block;
  }

  .garden-content-area.py-5,
  .garden-vote-module.py-5,
  .garden-detail-module.py-5,
  .garden-result-module.py-5,
  section.py-5:has([class*="garden-"]),
  div.py-5:has([class*="garden-"]) {
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .vote-summary-bar {
    padding: 16px 14px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .vote-summary-left {
    align-items: flex-start;
    gap: 10px;
  }

  .vote-circle-icon, 
  .notice-badge {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    padding-top: 5px;
  }

  .vote-header-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    letter-spacing: 0;
  }

  .vote-header-info p {
    line-height: 1.45;
  }

  .vote-summary-right a.rr-primary-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    padding: 12px 40px;
    font-weight: 400;
  }

  .vote-filter-row {
    width: 100%;
  }

  .search-input-box {
    width: 100%;
    box-sizing: border-box;
  }

  .search-input-box input {
    width: 100%;
  }

  .step-box-item {
    padding: 12px 15px;
  }

  .step-num-line .big-num {
    font-size: 2rem;
  }

  .step-num-line .step-name {
    font-size: 1.15rem;
    letter-spacing: -.35px;
  }

  .step-txt {
    line-height: 1.45;
  }

  .notice-rule-box {
    padding: 0;
  }

  .notice-rule-box ol li {
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .garden-grid-box {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .garden-img-thumb {
    height: 200px;
  }

  .detail-gallery-col {
    gap: 3px;
  }

  .thumb-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.8rem;
    color: #798D7B;
    margin-top: 4px;
    margin-bottom: 2px;
    padding-right: 4px;
    user-select: none;
  }

  .thumb-swipe-hint i {
    color: #6A9C59;
    font-size: 0.85rem;
    animation: hintShake 2s infinite ease-in-out;
  }

  @keyframes hintShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }

  .detail-vote-action-card {
    padding: 10px 15px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .vote-count-group {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .btn-detail-vote {
    padding: 8px 35px;
  }

  .vote-rule-tiny-hint {
    padding: 6px 4px 6px 6px;
  }

  .garden-edit-card {
    padding: 15px 20px;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .garden-form-actions {
    flex-direction: column;
    gap: 12px;
  }

  .garden-form-actions .btn-leaf-pill,
  .garden-form-actions .btn-nav-outline {
    width: 100%;
    min-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .spotlight-winners-grid {
    grid-template-columns: 1fr;
  }

  .clean-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-notice-box {
    flex-direction: column;
    align-items: center;
  }

  .notice-left {
    align-items: flex-start;
  }

  .notice-right {
    width: 100%;
  }

  .badge-capsule-select {
    width: 100%;
    justify-content: space-around;
  }

  .result-empty-box {
    padding: 0;
    border: none;
    margin-bottom: 25px;
  }

  .empty-icon-wrap {
    margin: 0;
  }

  .portfolio-body {
    padding: 5px 6px 0 6px;
  }

  .portfolio-title {
    margin: 0;
  }

  .result-rule-note {
    line-height: 1.45;
  }

  .clean-select-pill {
    width: 100%;
    justify-content: space-between;
  }

  .btn-nav-outline {
    width: 100%;
    justify-content: center;
    padding: 5px;
    margin-bottom: 1rem;
  }
}