.handmade-feature,.handmade-dialog,.handmade-home{--hm-gold:#d6bb86;--hm-paper:#f1e5c9;--hm-muted:#b8aebf;color:var(--hm-paper);font-family:Miley,"Microsoft JhengHei",sans-serif}
.handmade-feature{position:relative;max-width:1080px;margin:auto;padding:100px 28px 80px;display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);align-items:center;gap:clamp(32px,6vw,90px);scroll-margin-top:90px}
.handmade-feature::before{content:"";position:absolute;inset:12% 0 0;z-index:-1;background:radial-gradient(ellipse at 18% 40%,#5c6f6b22,transparent 64%);pointer-events:none}
.handmade-cover{position:relative;display:block;width:100%;padding:0;border:1px solid #d6bb8655;border-radius:3px;overflow:hidden;background:#10151c;color:#fff;cursor:pointer;box-shadow:0 24px 70px #0005}
.handmade-cover img{display:block;width:100%;aspect-ratio:49/80;object-fit:cover;object-position:50% 30%;filter:brightness(.89);transition:filter .2s}
.handmade-cover:hover img{filter:brightness(1)}
.handmade-cover::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#10101bd9);pointer-events:none}
.handmade-play{position:absolute;z-index:1;bottom:24px;left:24px;right:24px;display:flex;align-items:center;gap:12px;text-align:left;font:500 15px/1.5 Miley,"Microsoft JhengHei",sans-serif}
.handmade-play svg{width:48px;height:48px;padding:15px;border:1px solid #f1e5c999;border-radius:50%;fill:currentColor;flex:none;box-sizing:border-box}
.handmade-play small{display:block;color:#e4d9c6;font-size:12px;letter-spacing:.06em}
.handmade-kicker{font-size:12px;letter-spacing:.18em;color:var(--hm-gold);margin:0 0 18px}
.handmade-feature h2{margin:0 0 18px;font:500 clamp(28px,3.2vw,42px)/1.5 "Noto Serif TC","PMingLiU",serif;letter-spacing:.04em}
.handmade-lead{margin:0 0 30px;color:#d8cfdb;font-size:16px;line-height:1.9}
.handmade-raffle{border-top:1px solid #d6bb8650;padding-top:25px}
.handmade-raffle h3{margin:0 0 12px;font:500 21px/1.6 "Noto Serif TC","PMingLiU",serif;color:var(--hm-gold)}
.handmade-raffle p{font-size:15px;line-height:1.95;margin:0 0 14px}
.handmade-raffle .handmade-weight-note{color:var(--hm-muted);font-size:13px}
.handmade-text-link{display:inline-flex;align-items:center;min-height:44px;color:var(--hm-gold);text-underline-offset:6px;font-size:14px}
.handmade-ranking-note{max-width:640px;margin:18px auto 32px;text-align:center;color:#b8aebf;font-size:13px;line-height:1.9}
.handmade-home{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;text-decoration:none;padding:12px 0 0;margin-top:14px;border-top:1px solid #d6bb8644;flex:none}
.handmade-home img{display:block;width:42px;height:54px;object-fit:cover;border:1px solid #d6bb8655;filter:none;transform:none}
.handmade-home small{display:block;font-size:10px;letter-spacing:.1em;color:#d6bb86;margin-bottom:4px}
.handmade-home strong{display:block;color:#eee1c8;font-size:13px;font-weight:500;line-height:1.5}
.handmade-home span>span{display:block;color:#b9aebe;font-size:11px;line-height:1.7}
.handmade-archive-icon{font-size:17px!important;line-height:1!important;color:#d9bc86}
.handmade-dialog{box-sizing:border-box;position:fixed;width:min(480px,calc(100vw - 24px));max-width:none;max-height:calc(100svh - 24px);margin:auto;padding:18px 18px 12px;border:1px solid #b995615e;border-radius:5px;background:#171220;box-shadow:0 24px 100px #000a;overflow:auto}
.handmade-dialog::backdrop{background:#04040de8;backdrop-filter:blur(8px)}
.handmade-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.handmade-dialog h2{font:500 16px/1.6 "Noto Serif TC","PMingLiU",serif;margin:0}
.handmade-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d6bb8650;background:transparent;color:#f1e5c9;cursor:pointer;font:28px/1 sans-serif}
.handmade-video{display:block;width:100%;height:min(68svh,680px);object-fit:contain;background:#08080e}
.handmade-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;font-size:12px;color:#b8aebf}
.handmade-dialog footer p{margin:0;line-height:1.6}
.handmade-dialog a{color:#d6bb86;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;text-underline-offset:5px}
.handmade-play-status{font-size:13px;line-height:1.7;color:#eedbb7}
.handmade-cover:focus-visible,.handmade-home:focus-visible,.handmade-close:focus-visible,[data-handmade-open]:focus-visible,.handmade-text-link:focus-visible{outline:2px solid #f1d59d;outline-offset:5px}
@media(min-width:761px){.fused-console .handmade-home{position:fixed;z-index:12;left:3vw;bottom:58px;width:min(270px,calc(55vw - 64px));box-sizing:border-box;margin:0;padding:12px 15px;grid-template-columns:34px 1fr;background:#0b1420e8;border:1px solid #d6bb8644;box-shadow:0 8px 24px #0004}.fused-console .handmade-home img{height:44px;width:34px}}
@media(max-width:760px){.handmade-feature{padding:64px 24px 48px;grid-template-columns:minmax(0,1fr);gap:32px}.handmade-feature .handmade-cover{width:min(100%,300px);justify-self:center}.handmade-cover img{aspect-ratio:49/70}.handmade-kicker{font-size:11px;margin-bottom:12px}.handmade-lead{font-size:15px;margin-bottom:24px}.handmade-feature h2{font-size:28px}.handmade-home{padding-top:9px;margin-top:12px;gap:10px}.handmade-home strong{font-size:12px}.handmade-home img{height:48px;width:36px}.handmade-home{grid-template-columns:36px 1fr}.handmade-dialog{padding:12px}.handmade-video{height:65svh}.handmade-dialog footer{font-size:11px}}
@media(max-width:360px){.handmade-feature{padding-inline:20px}.handmade-feature h2{font-size:25px}.handmade-dialog footer{gap:8px}.handmade-dialog h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){.handmade-cover img{transition:none}}

/* v2: use the same two gift photographs as the film ending, with no caption badge. */
.handmade-gift-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:14px 14px 94px;background:#193e49}
.handmade-gift-pair>span{display:block;min-width:0}
.handmade-cover .handmade-gift-pair img{width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;filter:none;border:2px solid #eee1bc;box-sizing:border-box}
.handmade-gift-pair small{display:block;color:#eee1bc;font:500 13px/1.8 Miley,"Microsoft JhengHei",sans-serif;margin-top:10px;text-align:center;letter-spacing:.12em}
.handmade-cover::after{inset:75% 0 0}
.handmade-home-pair{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:70px}
.handmade-home .handmade-home-pair img{width:100%;height:auto;aspect-ratio:9/16;object-fit:contain}
.fused-console .handmade-home{grid-template-columns:70px minmax(0,1fr)}
@media(min-width:761px){.fused-console .handmade-home{width:min(310px,calc(55vw - 64px))}}

/* v3: mobile home grows with its content; the portrait has its own space. */
@media(max-width:760px){
  html:has(body.fused-home){height:auto;min-height:100%;overflow-x:clip;overflow-y:auto}
  body.fused-home{height:auto;min-height:100svh;overflow:visible;padding-bottom:calc(var(--mobile-nav-h,64px) + env(safe-area-inset-bottom))}
  .fused-home .fused-stage{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible;grid-template-rows:none}
  .fused-home .fused-photo{position:relative;flex:none;width:100%;height:clamp(380px,125vw,540px);min-height:0;overflow:hidden}
  .fused-home .fused-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 24%}
  .fused-home .fused-console{position:relative;flex:none;width:100%;box-sizing:border-box;height:auto;max-height:none;min-height:0;margin:0;padding:26px 24px 32px;overflow:visible;overscroll-behavior:auto;background:var(--fused-bg,#08121e)}
  .fused-home .fused-atmosphere{inset:0 0 auto;height:clamp(380px,125vw,540px)}
  .fused-home .handmade-home{position:relative;left:auto;bottom:auto;width:auto;margin-top:24px;padding-top:18px}
}
