/* Mi'adop 巡獵部落 E10 — 紙雕荒土風
   配色取自主視覺（_source/hero/hero.html 的 P）；陰影模擬一層層剪紙疊起來的高度差。 */
:root {
  --sky: #f1dfa9; --ray: #ecd08c; --paper: #f6eed8; --cream: #e6d7ab; --kraft: #c39a63;
  --sun: #e2b23a; --brick: #c4553a; --ruin: #9a4a2f; --dune: #c9772f; --dune3: #8a4b24;
  --dark: #2b2620; --ink: #1c1b18; --mid: #6ea196; --pine: #5d7a5c; --olive: #9aa567;
  --sh1: 0 2px 3px rgba(42, 26, 8, .28);
  --sh2: 2px 6px 10px rgba(42, 26, 8, .32);
  --sh3: 3px 10px 18px rgba(42, 26, 8, .38);
  --zh: 'Noto Sans TC', system-ui, sans-serif;
  --an: 'Anton', 'Noto Sans TC', sans-serif;
  --mo: 'Share Tech Mono', 'Noto Sans TC', monospace;
  --wrap: 1120px;
  --top: 60px;
  /* 編織紋（菱形＋三角，取自 Logo 星芒） */
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='11'%3E%3Cpath d='M0 5.5L5.5 0L11 5.5L5.5 11Z' fill='%231c1b18'/%3E%3Cpath d='M11 0h11L16.5 5.5Z' fill='%23c4553a'/%3E%3Cpath d='M11 11h11L16.5 5.5Z' fill='%23c4553a'/%3E%3C/svg%3E");
  /* 紙纖維雜訊 */
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .1 0 0 0 0 .04 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.7 var(--zh);
  background: var(--sky); background-image: var(--fibre);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }   /* height:auto：不讓 <img height> 屬性把圖拉長變形 */
a { color: inherit; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mo { font-family: var(--mo); letter-spacing: .12em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }

/* ---------- 上方列 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top);
  display: flex; align-items: center; gap: 12px; padding: 0 max(12px, env(safe-area-inset-left));
  background: var(--dark); color: var(--paper); box-shadow: var(--sh2);
}
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brandmark img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); padding: 4px; }
.brandmark span { display: flex; flex-direction: column; line-height: 1.1; }
.brandmark b { font: 400 18px/1 var(--an); letter-spacing: .08em; }
.brandmark small { font-size: 12px; font-weight: 700; letter-spacing: .2em; opacity: .8; }
.booth-chip { font: normal 400 15px/1 var(--an); background: var(--sun); color: var(--ink); padding: 5px 8px 4px; border-radius: 4px; letter-spacing: .06em; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(246, 238, 216, .12); }
.lang {
  margin-left: auto; display: flex; border: 2px solid var(--paper); border-radius: 999px; background: none; padding: 2px; cursor: pointer;
  font: 700 13px/1 var(--zh); color: var(--paper);
}
.lang span { padding: 6px 10px; border-radius: 999px; }
html[lang^="zh"] .lang [data-lang="zh"], html[lang="en"] .lang [data-lang="en"] { background: var(--paper); color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } .lang { margin-left: 8px; } }

.notice {
  position: sticky; top: var(--top); z-index: 29; padding: 10px 16px; text-align: center; font-weight: 700;
  background: var(--brick); color: var(--paper); box-shadow: var(--sh1);
}

/* ---------- 主視覺 ---------- */
.hero { position: relative; }
.hero-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { .hero-img { aspect-ratio: 4 / 5; } }
.hero-info { position: relative; display: grid; gap: 14px; margin-top: -28px; z-index: 2; }
.ticket {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  background: var(--kraft); padding: 14px 16px; border-radius: 6px; box-shadow: var(--sh3); rotate: -1deg;
}
.ticket::after { content: ''; position: absolute; inset: 6px; border: 2px dashed rgba(28, 27, 24, .45); border-radius: 4px; pointer-events: none; }
.ticket-booth { background: var(--ink); color: var(--paper); border-radius: 6px; padding: 6px 14px 4px; text-align: center; box-shadow: var(--sh2); }
.ticket-booth small { display: block; font: 12px/1 var(--mo); letter-spacing: .25em; color: var(--sun); }
.ticket-booth b { font: 400 44px/1.05 var(--an); letter-spacing: .02em; }
.ticket dl { margin: 0; display: grid; gap: 4px; }
.ticket dl div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ticket dt { font: 12px/1 var(--mo); letter-spacing: .15em; opacity: .75; min-width: 4.5em; }
.ticket dd { margin: 0; font-weight: 900; font-size: 17px; line-height: 1.35; word-break: keep-all; }   /* 中文只在空白處換行，地點不會斷在詞中間 */
.ticket-state { grid-column: 1 / -1; margin: 4px 0 0; padding: 6px 10px; background: var(--paper); border-radius: 4px; font-weight: 900; text-align: center; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px;
  font: 900 16px/1 var(--zh); letter-spacing: .08em; text-decoration: none; color: var(--ink);
  background: var(--paper); border-radius: 6px; box-shadow: var(--sh2); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh3); }
.btn-brick { background: var(--brick); color: var(--paper); }
.hero-cta .btn { flex: 1 1 140px; }
@media (min-width: 761px) {
  .hero-info { grid-template-columns: 1fr auto; align-items: center; margin-top: -44px; }
  .hero-cta .btn { flex: 0 0 auto; }
}

/* ---------- 共用：剪紙標題 ---------- */
.section { padding: 56px 0 8px; }
.sec-head { margin-bottom: 22px; }
.strip {
  display: inline-block; background: var(--ink); color: var(--paper); padding: 5px 12px 4px; font-size: 13px;
  rotate: -1.5deg; box-shadow: var(--sh2);
}
.cut-title {
  margin: 10px 0 0; font: 900 clamp(30px, 8vw, 48px)/1.15 var(--zh); letter-spacing: .08em; color: var(--brick);
  -webkit-text-stroke: 10px var(--paper); paint-order: stroke fill;
  filter: drop-shadow(0 0 0 var(--ink)) drop-shadow(2px 6px 6px rgba(42, 26, 8, .35));
}
html[lang="en"] .cut-title { font-family: var(--an); font-weight: 400; letter-spacing: .06em; }
.sec-sub { margin: 8px 0 0; font-weight: 500; opacity: .8; }
.weave { height: 11px; background: var(--weave); opacity: .85; }

/* ---------- 前言 ---------- */
.intro { margin-top: 40px; }
.tag-paper { position: relative; background: var(--paper); padding: 22px 20px 20px; border-radius: 6px; box-shadow: var(--sh3); rotate: .6deg; }
.tag-paper::before, .tag-paper::after { content: ''; position: absolute; left: 12px; right: 12px; height: 11px; background: var(--weave); opacity: .8; }
.tag-paper::before { top: 8px; } .tag-paper::after { bottom: 8px; }
.tag-paper .eyebrow { margin: 10px 0 0; font-size: 12px; opacity: .7; }
.tag-paper p:last-child { margin: 10px 0 12px; font-size: 17px; font-weight: 500; }

/* ---------- 創作者 ---------- */
.creators { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .creators { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .creators { grid-template-columns: repeat(4, 1fr); } }
.creator {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 8px; padding: 14px 16px 16px;
  box-shadow: var(--sh2); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.creator:nth-child(odd) { rotate: -.6deg; } .creator:nth-child(even) { rotate: .7deg; }
.creator:hover { transform: translateY(-3px); box-shadow: var(--sh3); }
.creator .avatars { display: flex; justify-content: center; gap: 0; height: 150px; margin: -4px 0 8px; }
.creator .avatars img { height: 150px; width: auto; filter: drop-shadow(3px 8px 6px rgba(42, 26, 8, .4)); }
.creator .avatars img + img { margin-left: -26px; }
.creator h3 { margin: 0; font: 400 26px/1.1 var(--an); letter-spacing: .05em; display: flex; align-items: center; gap: 8px; }
.creator h3 img { width: 28px; height: 28px; }
.creator .tl { margin: 2px 0 8px; font-weight: 900; color: var(--ruin); font-size: 14px; }
.creator p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; flex: 1; }
.creator .who { font: 13px/1.4 var(--mo); letter-spacing: .06em; opacity: .75; margin-bottom: 10px; }
.creator .links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.creator .links a { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cream); text-decoration: none; }
.creator .go { align-self: flex-start; font-weight: 900; font-size: 14px; color: var(--brick); }

/* ---------- 商品 ---------- */
.brand-block { margin-top: 34px; }
.brand-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.brand-head .bh-avatars { display: flex; }
.brand-head .bh-avatars img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(2px 4px 4px rgba(42, 26, 8, .35)); }
.brand-head .bh-avatars img + img { margin-left: -14px; }
.brand-head h3 { margin: 0; font: 400 28px/1 var(--an); letter-spacing: .05em; }
.creator h3.cjk, .brand-head h3.cjk { font-family: var(--zh); font-weight: 900; letter-spacing: .04em; }
.brand-head p { margin: 2px 0 0; font-size: 13px; font-weight: 900; color: var(--ruin); }
.brand-head::after { content: ''; flex: 1; height: 11px; background: var(--weave); opacity: .5; align-self: center; min-width: 30px; }
.roles-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.roles-head h4 { margin: 0; font: 900 19px/1.3 var(--zh); letter-spacing: .1em; background: var(--sun); padding: 4px 12px; box-shadow: var(--sh1); rotate: -1deg; }
.roles-head span { font-size: 14px; opacity: .75; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left; border: 0; padding: 8px 8px 12px; cursor: pointer;
  background: var(--paper); border-radius: 8px; box-shadow: var(--sh2); color: inherit; font: inherit;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--sh3); }
.card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 5px; overflow: hidden; background: var(--cream); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.soon { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--cream) 0 14px, #ddcc9b 14px 28px); }
.card .ph.soon > span { font: 900 15px/1.3 var(--zh); letter-spacing: .15em; background: var(--paper); padding: 6px 12px; border-radius: 4px; box-shadow: var(--sh1); text-align: center; }
.card .badges { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; flex-wrap: wrap; }
.badge { font: 400 12px/1 var(--an); letter-spacing: .08em; padding: 4px 6px 3px; border-radius: 3px; background: var(--ink); color: var(--paper); }
.badge.new { background: var(--brick); }
.badge.d3 { background: var(--sun); color: var(--ink); }
.badge.vid { background: var(--mid); color: var(--ink); }
.badge.r18 { background: #8f1d1d; }
.badge.deal { background: var(--olive); color: var(--ink); font-family: var(--zh); font-weight: 900; }
html[lang="en"] .badge.deal { font-family: var(--an); font-weight: 400; }
.card h4 { margin: 10px 4px 0; font: 900 17px/1.3 var(--zh); letter-spacing: .04em; }
.card .sub { margin: 0 4px; font-size: 13px; opacity: .7; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 8px 4px 0; flex-wrap: wrap; }
.price { font: 400 18px/1 var(--an); letter-spacing: .04em; }
.price.tba { font: 700 13px/1.2 var(--zh); opacity: .7; }
.price.gift { font: 900 15px/1.2 var(--zh); color: var(--brick); }
.count { font-size: 12px; font-weight: 700; background: var(--cream); padding: 2px 8px; border-radius: 999px; }
.stamp {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(246, 238, 216, .55);
}
.stamp b { font: 900 24px/1 var(--zh); letter-spacing: .2em; color: var(--brick); border: 4px solid var(--brick); padding: 8px 12px 6px 16px; rotate: -12deg; background: rgba(246, 238, 216, .8); }
html[lang="en"] .stamp b { font-family: var(--an); font-weight: 400; letter-spacing: .1em; }
.status { font: normal 900 12px/1 var(--zh); padding: 4px 8px; border-radius: 999px; background: var(--olive); color: var(--ink); white-space: nowrap; }
.status.sold { background: var(--brick); color: var(--paper); }
.status.soon { background: var(--cream); }
.status.partial { background: var(--sun); }

/* ---------- 購買須知 ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .rules { grid-template-columns: 1fr 1fr; } .rules li.wide { grid-column: 1 / -1; } }
.rules li { display: flex; gap: 14px; align-items: center; background: var(--paper); padding: 14px 16px; border-radius: 8px; box-shadow: var(--sh2); }
.rules li:nth-child(2n) { rotate: .5deg; } .rules li:nth-child(2n+1) { rotate: -.5deg; }
.rules b { font-size: 28px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--cream); border-radius: 50%; flex: none; }
.rules strong { display: block; font-size: 17px; font-weight: 900; }
.rules small { font-size: 14px; opacity: .75; }

/* ---------- 地圖 ---------- */
.map-card { background: var(--paper); border-radius: 8px; padding: 12px; box-shadow: var(--sh3); }
.map-erow, .map-full-img { position: relative; border-radius: 5px; overflow: hidden; }
.map-erow { overflow: visible; margin: 14px 0 38px; }   /* 紅圈和「E10 在這裡」標籤可以超出圖片邊緣 */
.map-erow img { border-radius: 5px; }
.map-erow img { width: 100%; }
.pin { position: absolute; translate: -50% -50%; pointer-events: none; }
.pin i { display: block; width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--brick); background: rgba(196, 85, 58, .2); animation: pulse 1.6s ease-out infinite; }
.pin b { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; white-space: nowrap; font: 900 13px/1 var(--zh); background: var(--brick); color: var(--paper); padding: 5px 8px; border-radius: 4px; box-shadow: var(--sh1); }
/* E 排放大圖：紅圈用圖片寬度的百分比，不論螢幕多寬都把整個「10」圈住（蓋到旁邊沒關係） */
.map-erow .pin { top: 49%; width: 15%; }
.map-erow .pin i { width: 100%; height: auto; aspect-ratio: 1; border-width: 5px; background: rgba(196, 85, 58, .12); }
.map-erow .pin b { bottom: auto; top: calc(100% + 4px); }
@keyframes pulse { 0% { scale: .7; opacity: 1; } 100% { scale: 1.5; opacity: 0; } }
.map-erow .pin i { animation-name: pulse2; }
@keyframes pulse2 { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }   /* 最小也維持原大，才不會縮到露出數字邊緣 */
.map-full { margin-top: 10px; }
.map-full summary { cursor: pointer; font-weight: 900; padding: 8px 4px; list-style: none; }
.map-full summary::before { content: '▸ '; }
.map-full[open] summary::before { content: '▾ '; }
/* 完整地圖：其他攤位壓暗，只留 E10 一格亮著（用超大陰影當遮罩） */
.map-full-img .spot {
  position: absolute; width: 3.2%; height: 5%; translate: -50% -50%; border-radius: 5px; pointer-events: none;
  box-shadow: 0 0 0 3px var(--brick), 0 0 14px 4px rgba(196, 85, 58, .9), 0 0 0 4000px rgba(28, 27, 24, .64);
  animation: spot 1.8s ease-in-out infinite;
}
@keyframes spot { 50% { box-shadow: 0 0 0 4px var(--brick), 0 0 22px 8px rgba(196, 85, 58, .95), 0 0 0 4000px rgba(28, 27, 24, .64); } }


/* ---------- 頁尾 ---------- */
.ground { margin-top: 72px; background: var(--dark); color: var(--paper); position: relative; padding: 46px 0 calc(40px + env(safe-area-inset-bottom)); }
.ground::before {   /* 撕紙邊沙丘 */
  content: ''; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--dark);
  clip-path: polygon(0 60%, 6% 40%, 14% 55%, 22% 30%, 31% 50%, 40% 35%, 50% 58%, 58% 32%, 67% 48%, 76% 28%, 85% 50%, 93% 36%, 100% 52%, 100% 100%, 0 100%);
}
.foot { display: grid; justify-items: center; text-align: center; gap: 6px; }
.foot img { width: 56px; height: 56px; opacity: .9; }
.foot p { margin: 0; font-size: 14px; opacity: .85; }
.foot-title b { font-weight: 900; }
.foot-small { font-size: 12.5px !important; opacity: .6 !important; }

/* ---------- 商品視窗 ---------- */
.modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(28, 27, 24, .72); }
.modal-inner { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.modal-close {
  position: fixed; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--paper); font-size: 20px; cursor: pointer; box-shadow: var(--sh2);
}
.modal-media { background: #efe3c4; position: relative; }
.stage { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 66vh; overflow: hidden; display: grid; place-items: center; touch-action: pan-y; }
.stage.three { touch-action: none; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
/* 照片、影片固定在展示區內完整縮放（直式內容不會被上下裁掉） */
.stage > img, .stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #e7d9b6; }
.stage .hint { position: absolute; bottom: 8px; left: 50%; translate: -50% 0; font-size: 12.5px; font-weight: 700; background: rgba(246, 238, 216, .85); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.stage .spin { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 10px; pointer-events: none; }
.stage .spin i { width: 46px; height: 46px; border-radius: 50%; border: 5px solid rgba(28, 27, 24, .14); border-top-color: var(--brick); border-right-color: var(--sun); background: rgba(246, 238, 216, .9); box-shadow: 0 0 0 4px rgba(246, 238, 216, .9), var(--sh1); animation: spin .9s linear infinite; }
.stage .spin span { font: 700 13px/1 var(--zh); letter-spacing: .1em; color: var(--ink); background: rgba(246, 238, 216, .85); padding: 4px 10px; border-radius: 999px; }
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .stage .spin i { animation-duration: 2.4s; } }
.stage .soon-big { font: 900 22px/1.4 var(--zh); letter-spacing: .2em; opacity: .55; text-align: center; padding: 20px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; scrollbar-width: thin; }
.thumbs button {
  flex: none; width: 64px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--cream);
  position: relative; font: 400 15px/1 var(--an);
}
.thumbs button[aria-selected="true"] { border-color: var(--brick); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t3d { background: var(--sun); color: var(--ink); letter-spacing: .05em; }
.thumbs .tv::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; text-shadow: 0 1px 4px #000; }
.modal-info { padding: 16px 18px calc(28px + env(safe-area-inset-bottom)); }
.m-brand { margin: 0; font: 13px/1.3 var(--mo); letter-spacing: .12em; color: var(--ruin); }
.modal-info h3 { margin: 4px 0 0; font: 900 28px/1.2 var(--zh); letter-spacing: .06em; }
.m-sub { margin: 0; font-weight: 700; opacity: .7; }
/* 款式選擇：有標題、有縮圖的卡片，一看就知道可以點來切換 */
.variants { margin: 14px 0 0; padding: 12px; background: var(--cream); border-radius: 8px; border: 2px dashed rgba(28, 27, 24, .25); }
.variants:empty { display: none; }
.v-head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; flex-wrap: wrap; }
.v-head b { font: 900 16px/1.2 var(--zh); background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 4px; letter-spacing: .08em; }
.v-head span { font-size: 13.5px; font-weight: 700; opacity: .75; }
.v-head em { margin-left: auto; font: normal 400 16px/1 var(--an); letter-spacing: .06em; }
.v-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 10px; }
.v-card {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 5px 5px 8px; cursor: pointer;
  background: var(--paper); border: 3px solid transparent; border-radius: 8px; box-shadow: var(--sh1); color: var(--ink);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.v-card:hover { transform: translateY(-2px); box-shadow: var(--sh2); border-color: rgba(196, 85, 58, .45); }
.v-card[aria-checked="true"] { border-color: var(--brick); background: #fff8e6; box-shadow: var(--sh2); }
.v-card[aria-checked="true"]::after {   /* 勾勾 */
  content: '✓'; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brick); color: var(--paper); font: 900 14px/24px var(--zh); text-align: center; box-shadow: var(--sh1);
}
.v-img { position: relative; display: block; aspect-ratio: 1; border-radius: 5px; overflow: hidden; background: #efe3c4; }
.v-img img { width: 100%; height: 100%; object-fit: cover; }
.v-img i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(246, 238, 216, .7); font: normal 900 13px/1 var(--zh); color: var(--brick); }
.v-name { font: 900 14px/1.2 var(--zh); text-align: center; }
.v-card[aria-checked="true"] .v-name { color: var(--brick); }
.v-card.sold .v-name { text-decoration: line-through; opacity: .6; }
@media (min-width: 900px) { .v-row { grid-template-columns: repeat(auto-fill, minmax(92px, 112px)); } }
.m-price { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.m-price .price { font-size: 26px; }
.m-lore { margin: 14px 0 0; padding: 12px 14px; background: var(--cream); border-radius: 6px; font-size: 15.5px; font-weight: 500; border-left: 5px solid var(--kraft); }
.m-specs { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.m-specs li { font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: #fff8e6; box-shadow: var(--sh1); }
.m-age { margin: 12px 0 0; font-weight: 900; font-size: 14px; color: #8f1d1d; }
.m-deal { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: #eef0d8; border: 2px solid var(--olive); font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.m-deal b { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: var(--olive); font-size: 13px; }
.m-note { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--ruin); }
@media (min-width: 900px) {
  .modal { width: min(1080px, 94vw); height: min(720px, 90vh); margin: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
  .modal-inner { flex-direction: row; height: 100%; }
  .modal-media { flex: 1.25; display: flex; flex-direction: column; }
  .stage { flex: 1; aspect-ratio: auto; max-height: none; }
  .modal-info { flex: 1; overflow-y: auto; padding: 56px 28px 28px; }
  .modal-close { position: absolute; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pin i, .spot { animation: none; } * { transition: none !important; } }
