/* 房仲落地頁 /realtor：只用白、黑、離子青（base.css 變數） */
.re-hero { padding-top: 40px; }
.re-hero__grid { display: grid; gap: 32px; align-items: center; }
.re-code { font: 700 13px var(--font-mono); color: var(--volt); margin-bottom: 12px; }
.re-title { font: 900 clamp(28px, 8.2vw, 52px)/1.2 var(--font-display); color: var(--ion); }
.re-title span, .re-title { white-space: nowrap; }
.re-title span { color: var(--volt); }
.re-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 24px; }
.re-link { color: var(--ion); font-weight: 700; text-underline-offset: 4px; }
.re-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--static); }
.re-mini li::before { content: "✓ "; color: var(--volt); font-weight: 700; }
.re-hero__video { margin: 0 auto; width: 100%; max-width: 320px; }
.re-hero__video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #000; border: 1px solid var(--line-strong); }
.re-hero__video figcaption, .re-note { margin-top: 10px; font-size: 13px; color: var(--static); text-align: center; }
.re-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.re-pair figure { margin: 0; }
.re-pair video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #000; border: 1px solid var(--line); }
.re-pair figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--static); }
.re-pair figcaption b { display: block; color: var(--ion); font-size: 15px; }
.re-pair .is-done figcaption b { color: var(--volt); }
.re-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.re-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.re-list b { font-size: 17px; color: var(--ion); }
.re-list span { color: var(--static); font-size: 15px; }
.re-steps { display: grid; gap: 14px; counter-reset: s; }
.re-steps li { counter-increment: s; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--static); font-size: 15px; }
.re-steps li::before { content: counter(s); display: block; font: 700 28px var(--font-display); color: var(--volt); margin-bottom: 6px; }
.re-steps b { display: block; color: var(--ion); font-size: 18px; margin-bottom: 4px; }
.re-black { background: #0a0a0a; --ion: #fff; --static: #b4b4b8; --line: rgba(255, 255, 255, .16); }
.re-black .sv-h2 { color: #fff; }
.re-gift { display: grid; gap: 20px; align-items: center; }
.re-gift ul { display: grid; gap: 8px; margin-top: 18px; color: var(--static); font-size: 15px; }
.re-gift ul b { color: var(--ion); }
.re-final { text-align: center; }
.re-nb { display: inline-block; }
.re-note--left { text-align: left; }
.re-final .re-cta { justify-content: center; }
@media (min-width: 760px) {
  .re-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .re-hero__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .re-hero__video { max-width: 340px; }
  .re-gift { grid-template-columns: 1.3fr 1fr; gap: 56px; }
}

/* 2026-11-06 第三版：Google 登入＋上傳面板、痛點區、4 個主張配真人照片、點數方案 */
.re-hero .sv-lead b { color: var(--ion); }
.re-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: #e9e9eb; }
.re-hero__pic { margin: 0; aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: center; }
.re-hero__pic .re-photo { border: 1px solid var(--line); }

.re-app { margin-top: 24px; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); max-width: 540px; background: #fff; box-shadow: 0 10px 30px rgba(10, 10, 10, .06); }
.re-app__title { margin: 0; font-size: 19px; font-weight: 900; color: var(--ion); }
.re-app__sub { margin: 4px 0 14px; font-size: 14px; color: var(--static); }
.re-app__note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--static); }
.re-app__note a { color: inherit; text-decoration: underline; }
.re-app__msg { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--volt); }
.re-app__msg:empty { display: none; }
.re-gsi { min-height: 44px; }
.re-app__out.is-flash { animation: re-flash 1.2s ease; border-radius: var(--radius-sm); }
@keyframes re-flash { 30% { box-shadow: 0 0 0 4px rgba(0, 120, 138, .25); } }
[data-re-in][hidden], [data-re-out][hidden], .re-file[hidden], .re-run[hidden], .re-done[hidden], .re-drop[hidden], .re-modal[hidden] { display: none; }

.re-acct { display: flex; align-items: center; gap: 10px; }
.re-acct img { border-radius: 50%; width: 36px; height: 36px; }
.re-acct img[hidden] { display: none; }
.re-acct div { flex: 1; min-width: 0; display: grid; }
.re-acct b { font-size: 15px; color: var(--ion); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-acct small { font-size: 12px; color: var(--static); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-acct__out { background: none; border: 0; color: var(--static); font-size: 13px; text-decoration: underline; cursor: pointer; }
.re-bal { display: flex; gap: 8px; align-items: stretch; margin: 14px 0; }
.re-bal span { flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; }
.re-bal small { font-size: 12px; color: var(--static); }
.re-bal b { font-size: 17px; color: var(--ion); }
.re-bal__buy { display: grid; place-items: center; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--volt); color: var(--volt); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.re-drop { display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--line-strong); border-radius: var(--radius); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.re-drop:hover, .re-drop.is-over { border-color: var(--volt); background: rgba(0, 120, 138, .04); }
.re-drop__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--volt); color: #fff; margin-bottom: 6px; }
.re-drop__icon svg { width: 22px; height: 22px; }
.re-drop b { font-size: 16px; color: var(--ion); }
.re-drop small { font-size: 13px; color: var(--static); }
.re-file { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.re-file__row { display: flex; gap: 10px; align-items: center; }
.re-file__name { flex: 1; min-width: 0; font-weight: 700; color: var(--ion); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-file__x { background: none; border: 0; color: var(--static); font-size: 13px; text-decoration: underline; cursor: pointer; }
.re-file__meta { margin: 2px 0 12px; font-size: 13px; color: var(--static); }
.re-file__label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ion); }
.re-file__label small { font-weight: 400; color: var(--static); }
.re-file__label .sv-input { font-size: 16px; }
.re-file__cost { margin: 14px 0 12px; font-size: 14px; color: var(--static); }
.re-file__cost b { color: var(--ion); }
.re-file__go { width: 100%; box-shadow: none; }
.re-run__bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.re-run__bar i { display: block; height: 100%; width: 0; background: var(--volt); transition: width .2s linear; }
.re-run__steps { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--static); }
.re-run__steps li { padding-left: 26px; position: relative; }
.re-run__steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); }
.re-run__steps li.is-on { color: var(--ion); font-weight: 700; }
.re-run__steps li.is-on::before { border-color: var(--volt); border-top-color: transparent; animation: re-spin .8s linear infinite; }
.re-run__steps li.is-done { color: var(--ion); }
.re-run__steps li.is-done::before { content: "✓"; border: 0; background: var(--volt); color: #fff; font-size: 11px; line-height: 18px; text-align: center; width: 18px; height: 18px; top: 1px; }
@keyframes re-spin { to { transform: rotate(360deg); } }
.re-done { padding: 16px; border-radius: var(--radius); background: rgba(0, 120, 138, .06); border: 1px solid var(--volt); }
.re-done p { margin: 0; font-size: 15px; color: var(--static); }
.re-done b { display: block; font-size: 18px; color: var(--ion); margin-bottom: 4px; }
.re-done [data-re-email2] { color: var(--ion); font-weight: 700; }
.re-done__again { margin-top: 10px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; }

.re-pain__grid { display: grid; gap: 28px; align-items: center; }
.re-pain__pic { margin: 0; aspect-ratio: 4 / 3; }
.re-pain { display: grid; gap: 0; border-top: 1px solid var(--line); }
.re-pain li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 17px; color: var(--static); }
.re-pain li::before { content: "✕"; position: absolute; left: 0; top: 15px; color: var(--ion); font-weight: 700; }
.re-pain b { color: var(--ion); }
.re-punch { margin-top: 28px; font: 900 clamp(22px, 5.6vw, 34px)/1.4 var(--font-display); color: var(--ion); }
.re-br { display: none; }

.re-solve { display: grid; gap: 16px; }
.re-solve article { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
.re-solve article .re-photo { border-radius: 0; aspect-ratio: 16 / 10; height: auto; }
.re-solve article > div { padding: 20px 22px 22px; }
.re-solve__pain { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--static); }
.re-solve h3 { margin: 0 0 8px; font: 900 22px/1.3 var(--font-display); color: var(--volt); }
.re-solve article > div > p:last-child { margin: 0; font-size: 15px; color: var(--static); }

.re-rate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 760px; }
.re-rate span { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; }
.re-rate small { font-size: 13px; color: var(--static); }
.re-rate b { font-size: 20px; color: var(--ion); }
.re-packs { display: grid; gap: 14px; margin-top: 24px; }
.re-pack { position: relative; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); display: grid; gap: 4px; align-content: start; background: #fff; }
.re-pack.is-best { border: 2px solid var(--volt); }
.re-pack__tag { position: absolute; top: -12px; left: 18px; padding: 2px 10px; border-radius: 99px; background: var(--volt); color: #fff; font-size: 12px; font-weight: 700; }
.re-pack__name { margin: 0; font-size: 15px; font-weight: 700; color: var(--static); }
.re-pack__pts { margin: 0; font: 900 32px/1.2 var(--font-display); color: var(--ion); }
.re-pack__pts small { font-size: 16px; }
.re-pack__price { margin: 0; font-size: 20px; font-weight: 700; color: var(--ion); }
.re-pack__per { margin: 0; font-size: 13px; color: var(--static); }
.re-pack__per b { color: var(--volt); }
.re-pack__fit { margin: 8px 0 14px; font-size: 14px; color: var(--ion); }
.re-pack .sv-btn { width: 100%; box-shadow: none; }
.re-pack .sv-btn--ghost { background: #fff; color: var(--volt); border: 1px solid var(--volt); }

.re-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 10, .55); }
.re-modal__box { position: relative; width: 100%; max-width: 400px; padding: 24px; border-radius: var(--radius); background: #fff; }
.re-modal__x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 18px; color: var(--static); cursor: pointer; }
.re-modal__t { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: var(--ion); }
.re-modal__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 18px; font-size: 15px; }
.re-modal__dl dt { color: var(--static); }
.re-modal__dl dd { margin: 0; color: var(--ion); font-weight: 700; word-break: break-all; }
.re-modal__pay { width: 100%; box-shadow: none; }

@media (max-width: 520px) { .re-br { display: inline; } }
@media (min-width: 760px) {
  .re-solve { grid-template-columns: repeat(2, 1fr); }
  .re-rate { grid-template-columns: repeat(4, 1fr); }
  .re-packs { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .re-pain__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .re-hero__pic { max-width: 520px; }
}

/* 2026-11-06 第四版：開剪確認、我的影片、我要修改 */
.re-confirm { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px; border-radius: var(--radius-sm); background: rgba(0, 120, 138, .06); font-size: 13px; color: var(--static); cursor: pointer; }
.re-confirm input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--volt); flex: none; }
.re-confirm b { display: block; font-size: 14px; color: var(--ion); }
.re-file__go.is-off { opacity: .45; }
.re-jobs { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.re-jobs[hidden] { display: none; }
.re-jobs__t { margin: 0 0 8px; font-size: 15px; font-weight: 900; color: var(--ion); }
.re-jobs li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.re-jobs li > div { flex: 1; min-width: 0; display: grid; }
.re-jobs li b { font-size: 14px; color: var(--ion); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-jobs li small { font-size: 12px; color: var(--static); }
.re-jobs__btn { flex: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--volt); background: #fff; color: var(--volt); font-size: 13px; font-weight: 700; cursor: pointer; }
.re-rm__file { margin: -6px 0 6px; font-size: 14px; font-weight: 700; color: var(--ion); }
.re-rm__rule { margin: 0 0 12px; font-size: 13px; color: var(--static); }
.re-rm__set { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.re-rm__set legend { font-size: 14px; font-weight: 700; color: var(--ion); margin-bottom: 4px; }
.re-rm__set label { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ion); cursor: pointer; }
.re-rm__set input { width: 17px; height: 17px; accent-color: var(--volt); }
.re-rm__set small { color: var(--static); }
.re-rm__group { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--volt); }
.re-rm__note { margin-top: 10px; }
.re-rm__note textarea { font-size: 16px; resize: vertical; border-radius: var(--radius-sm); }
.re-rm__sum { margin: 12px 0; font-size: 14px; color: var(--static); }
.re-rm__sum b { color: var(--ion); }
.re-modal { overflow-y: auto; }
.re-modal__box { margin: auto; }

/* 2026-11-06 第五版：修改先檢測 */
[data-re-rform][hidden], .re-rcheck[hidden], .re-rres[hidden], .re-rres__choice[hidden], [data-re-rok][hidden], [data-re-rnote2wrap][hidden] { display: none; }
.re-rcheck { padding: 6px 0 4px; }
.re-rres__list { display: grid; gap: 8px; margin: 0 0 14px; }
.re-rres__list li { padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; gap: 2px; font-size: 13px; color: var(--static); }
.re-rres__list li b { font-size: 14px; color: var(--ion); }
.re-rres__list li.is-found { border-color: var(--volt); background: rgba(0, 120, 138, .06); }
.re-rres__list li.is-found b::before { content: "✓ "; color: var(--volt); }
.re-rres__list li.is-pass b::before { content: "— "; color: var(--static); }
.re-rres__box p { margin: 0 0 10px; font-size: 14px; color: var(--static); }
.re-rres__box b { color: var(--ion); }
.re-rres__note { font-size: 13px !important; }
.re-rres__opts { display: grid; gap: 6px; margin: 0 0 14px; font-size: 14px; color: var(--static); }
.re-rres__choice { display: grid; gap: 10px; }
.re-rres__choice .sv-btn--ghost { background: #fff; color: var(--volt); border: 1px solid var(--volt); }
.re-rres__choice .sv-btn:disabled { opacity: .4; }

/* 2026-11-06 30 題要登入 */
.re-topics { display: grid; gap: 10px; justify-items: start; }
.re-topics__note { margin: 0; font-size: 14px; color: var(--static); }
.re-topics__note b { color: var(--ion); }
.re-topics__dl[hidden], [data-re-topics][hidden] { display: none; }
.re-black .re-topics__dl { background: transparent; color: #fff; border: 1px solid #fff; }

/* 2026-11-06 房屋元素：灰階照片若隱若現當背景裝飾（不搶內容、不算新顏色） */
.re-hero, #pain, #solve, #points, #topics, .re-final { position: relative; isolation: isolate; overflow: hidden; }
.re-hero::before, #pain::before, #solve::before, #points::before, #topics::before, .re-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: cover; }
.re-hero::before { background-image: url(/assets/realtor/photos/bg-living.webp); background-position: center; opacity: .07;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%); }
#pain::before { background-image: url(/assets/realtor/photos/bg-tower.webp); background-size: auto 120%; background-position: right center; opacity: .14;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
#solve::before { background-image: url(/assets/realtor/photos/bg-skyline.webp); background-size: 100% auto; background-position: center bottom; opacity: .08;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 60%); mask-image: linear-gradient(0deg, #000 0%, transparent 60%); }
#points::before { background-image: url(/assets/realtor/photos/bg-living.webp); background-position: center; opacity: .05; }
#topics::before { background-image: url(/assets/realtor/photos/bg-skyline.webp); background-size: 100% auto; background-position: center bottom; opacity: .16;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 75%); mask-image: linear-gradient(0deg, #000 0%, transparent 75%); }
.re-final::before { background-image: url(/assets/realtor/photos/bg-skyline.webp); background-size: 100% auto; background-position: center bottom; opacity: .1;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%); mask-image: linear-gradient(0deg, #000 0%, transparent 85%); }
@media (max-width: 760px) { #solve::before, #topics::before, .re-final::before { background-size: 220% auto; } #pain::before { opacity: .1; } }

/* 選填勾選：跟必勾的確認框分開，用白底細框 */
.re-confirm--opt { background: #fff; border: 1px solid var(--line); margin-top: 8px; }
.re-confirm a { color: var(--volt); text-decoration: underline; margin-left: 4px; }

/* 2026-11-06 「剪好的片」縮小集中：標題小一號、五項改成兩欄小卡 */
.re-compact { padding-top: 48px; padding-bottom: 48px; }
.re-compact .sv-h2 { font-size: clamp(22px, 4.6vw, 30px); }
.re-compact .sv-lead { font-size: 15px; }
.re-feat { display: grid; gap: 10px; margin-top: 4px; }
.re-feat li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 2px; align-content: start; background: #fff; }
.re-feat b { font-size: 15px; color: var(--ion); }
.re-feat span { font-size: 14px; color: var(--static); }
.re-compact .re-note { font-size: 12px; margin-top: 12px; }
@media (min-width: 760px) { .re-feat { grid-template-columns: repeat(2, 1fr); } .re-feat li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 常見問題展開／收起 */
#faq .sv-faq__item[hidden] { display: none; }
.re-faq__more { display: block; margin: 16px auto 0; padding: 10px 22px; border-radius: 99px; border: 1px solid var(--volt); background: #fff; color: var(--volt); font-size: 15px; font-weight: 700; cursor: pointer; }
.re-faq__more[hidden] { display: none; }

/* 2026-11-17 多段片段清單 */
.re-file__head { flex: 1; font-size: 14px; color: var(--ion); }
.re-clips { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.re-clips li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.re-clips li small { color: var(--static); white-space: nowrap; }
.re-clip__n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ion); color: var(--bg, #fff); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.re-clip__btn { flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ion); cursor: pointer; font-size: 14px; }
.re-clips__more { margin: 2px 0 12px; font-size: 14px; }
.re-clips__more[hidden] { display: none; }
.re-drop.is-paused { opacity: .55; cursor: not-allowed; }

.re-run__info { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ion); }
.re-run__note { margin: 8px 0 0; font-size: 13px; color: var(--static); }
.re-run__after { margin: 16px 0 6px; font-size: 14px; color: var(--ion); font-weight: 700; }
.re-run__todo { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--static); list-style: disc; }
.re-run__steps[hidden] { display: none; }
.re-style { border: 0; padding: 0; margin: 14px 0 4px; display: grid; gap: 8px; }
.re-style legend { font-size: 14px; font-weight: 700; color: var(--ion); margin-bottom: 8px; padding: 0; }
.re-style__opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.re-style__opt input { margin-top: 3px; accent-color: var(--ion); flex: none; }
.re-style__opt b { display: block; font-size: 15px; }
.re-style__opt small { display: block; font-size: 13px; color: var(--static); line-height: 1.5; margin-top: 2px; }
.re-style__opt:has(input:checked) { border-color: var(--ion); box-shadow: 0 0 0 1px var(--ion) inset; }
.re-note { resize: vertical; min-height: 84px; font: inherit; line-height: 1.5; text-align: left; border-radius: 12px; padding: 10px 14px; height: auto; }

/* 2026-11-17 看範例圖選外觀 */
.re-style__hint { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--static); }
.re-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.re-look { position: relative; display: grid; gap: 6px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.re-look input { position: absolute; opacity: 0; pointer-events: none; }
.re-look img, .re-look video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; display: block; background: #eee; }
.re-look span { display: grid; gap: 1px; padding: 0 2px 2px; }
.re-look b { font-size: 14px; color: var(--ion); }
.re-look small { font-size: 12px; color: var(--static); line-height: 1.4; }
.re-look:has(input:checked) { border-color: var(--ion); box-shadow: 0 0 0 2px var(--ion); }
.re-look:has(input:checked)::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--ion); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.re-look:has(input:focus-visible) { outline: 2px solid var(--ion); outline-offset: 2px; }
.re-style { min-width: 0; }
/* 11/21 iPhone Safari 選完影片後整塊變寬、右邊被切：Safari 把圖片原始寬度（360px）算進最小寬度，撐開外層格線。全部鎖住不准撐開 */
.re-hero__grid { grid-template-columns: minmax(0, 1fr); }
.re-hero__grid > *, .re-app, .re-app__in, .re-file, .re-looks, .re-clips, .re-clips li { min-width: 0; max-width: 100%; }
.re-looks { grid-template-columns: repeat(auto-fill, minmax(min(118px, 100%), 1fr)); }
.re-look { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.re-look img, .re-look video { min-width: 0; max-width: 100%; }
.re-style { min-inline-size: 0; }
.re-clips li .re-file__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 960px) { .re-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
/* 11/23 交件：下載成品按鈕（實心，比我要修改醒目） */
.re-jobs__btn--dl { background: var(--volt); color: #fff; }
.re-jobs li { flex-wrap: wrap; }
