/* DIF Match 页样式（票 137）——dm-* 命名空间，作用域 .dm-page（挂模板 main wrapper）。
   源：D:\feishu\DIF_Match_Website\dif-match-web\css\styles.css 分节适配迁移（映射表见票档 plan Task 2.3）。
   图标全部 CSS background 化（core/html 两档皆禁，markup 零内联 svg）。
   --dm-* 为页内 scoped tokens，不进 theme.json preset——spec §6 偏离记录：markup 零硬编码
   色值已满足设计导入管线口径；dm 色板与 difgc 现有色板同族但未做 preset 映射。 */
.dm-page {
  --dm-ink: #20232b; --dm-dark: #20242d; --dm-dark-deep: #171b23;
  --dm-gold: #bb8d49; --dm-gold-light: #eed3a2; --dm-gold-deep: #806031;
  --dm-paper: #fff; --dm-warm: #f8f5ef; --dm-muted: #64646a;
  --dm-line: #e9dfcf; --dm-max: 1240px; --dm-radius: 16px;
  --dm-serif: Georgia, 'Times New Roman', serif;
  --dm-sans: Arial, Helvetica, system-ui, sans-serif;
  --dm-slide-ms: 850ms;
}
.dm-page, .dm-page *, .dm-page *::before, .dm-page *::after { box-sizing: border-box; }
.dm-page { margin: 0; background: var(--dm-paper); color: var(--dm-ink); font-family: var(--dm-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* ---- 源 styles.css 原样迁移段（处置映射见票档 137 plan Task 2.3；87 行 url 微改） ---- */
:where(.dm-page) img{max-width:100%;display:block}
.dm-page a{color:inherit;text-decoration:none}
.dm-page button,.dm-page input{font:inherit}
.dm-page button{cursor:pointer}
.dm-page button,.dm-page a{-webkit-tap-highlight-color:transparent}
.dm-page :focus-visible{outline:3px solid var(--dm-gold);outline-offset:5px}
.dm-page ::selection{background:#e5c68d;color:#1c2028}
.dm-page h1,.dm-page h2,.dm-page h3,.dm-page h4,.dm-page p,.dm-page figure{margin:0}
.dm-container{width:min(var(--dm-max),calc(100% - 96px));margin-inline:auto}
.dm-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Hero: photographs scroll, the readable event introduction stays in place. */
.dm-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:var(--dm-dark-deep);min-height:416px}
.dm-carousel{mask-image:linear-gradient(to right,transparent,#000 14%);position:absolute;inset:0 0 0 39%;overflow:hidden;z-index:-3;touch-action:pan-y}
.dm-carousel__viewport{width:100%;height:100%;overflow:hidden}
.dm-carousel__track{height:100%;display:flex;transform:translateX(0);transition:transform var(--dm-slide-ms) cubic-bezier(.22,.61,.36,1);will-change:transform}
.dm-carousel__slide{flex:0 0 100%;min-width:0;height:100%;overflow:hidden}
.dm-carousel__slide>img{width:100%;height:100%;object-fit:cover;object-position:center 44%}
.dm-carousel__slide.is-active>img{animation:dm-photo-breathe 7.5s ease-out both}
.dm-hero__shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#171c26 0%,#191e28fa 27%,#191e28d9 42%,#171b2391 55%,#171b2310 79%,#171b2310 100%),linear-gradient(0deg,#11192370,transparent 42%)}
.dm-hero__inner{min-height:416px;position:relative;display:flex;align-items:center;padding-top:35px;padding-bottom:73px}
.dm-hero__copy{max-width:660px}
.dm-hero h1{font-family:var(--dm-serif);font-size:76px;font-weight:700;line-height:1.04;letter-spacing:-2px;color:var(--dm-gold-light);text-shadow:0 2px 12px #0002}
.dm-hero__tagline{font-family:var(--dm-serif);font-size:23px;font-weight:700;line-height:1.3;margin-top:12px!important;letter-spacing:-.3px;max-width:650px}
.dm-gold-rule{display:block;width:52px;height:3px;background:linear-gradient(90deg,var(--dm-gold),#efdbb3);margin-top:13px}
.dm-hero__description{margin-top:15px!important;font-size:15.5px;line-height:1.58;max-width:545px;color:#f4f4f5}
.dm-hero__meta{display:flex;flex-wrap:wrap;gap:0;margin-top:22px;align-items:center;font-size:13px;color:#fff}
.dm-hero__meta>span{display:flex;align-items:center;gap:10px;min-height:24px;padding-right:18px}
.dm-hero__meta>span+span{padding-left:18px;border-left:1px solid #f4f0e96b}
.dm-hero__meta img{flex-shrink:0;filter:brightness(1.35)}
.dm-hero__meta strong{font-weight:700}
.dm-hero__ribbon{position:absolute;bottom:-1px;left:0;z-index:-1;width:100%;height:48px;max-height:50px;pointer-events:none}
.dm-carousel-controls{position:absolute;right:0;bottom:62px;display:flex;gap:11px;align-items:center;background:#1a1d27b3;border:1px solid #ebd3a23d;backdrop-filter:blur(10px);padding:8px 11px;border-radius:40px}
.dm-icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;transition:background .2s ease,transform .2s ease}
.dm-icon-button:hover{background:#d2b07425;transform:translateY(-1px)}
.dm-icon-button img{filter:brightness(1.45)}
.dm-carousel-dots{display:flex;gap:7px;align-items:center}
.dm-carousel-dot{display:block;width:8px;height:8px;padding:0;border:0;background:#ffffff55;border-radius:10px;transition:width .35s ease,background .25s ease;position:relative}
.dm-carousel-dot::before{content:"";position:absolute;inset:-10px -3px}
.dm-carousel-dot.is-active{width:26px;background:var(--dm-gold-light)}
.dm-carousel-counter{font-size:11px;color:#e6dfd5;letter-spacing:1px;white-space:nowrap}
.dm-counter-divider{margin:0 7px;color:#8d8c8b}
.dm-pause{border-left:1px solid #ffffff30;border-radius:0;width:27px}
/* Content */
.dm-section{padding-top:41px}
.dm-section-heading{margin-bottom:24px}
.dm-section-heading h2{font-family:var(--dm-serif);font-size:34px;line-height:1.15;letter-spacing:-.75px;font-weight:700}
.dm-section-heading .dm-gold-rule{width:48px;margin-top:10px}
.dm-focus{padding-top:27px}
.dm-focus__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.dm-focus-card{display:flex;align-items:center;gap:22px;min-height:102px;padding:20px 24px;background:linear-gradient(120deg,#f9f7f2,#f6f3ee);border:1px solid #f4efe6;border-radius:10px;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.dm-focus-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px #3629170a;border-color:#d8bd8f}
.dm-focus-card h3{font-family:var(--dm-serif);font-size:18px;line-height:1.24;letter-spacing:-.15px}
/* Two and only two registration calls to action. */
.dm-tickets{display:grid;grid-template-columns:.92fr 1.14fr;gap:25px}
.dm-ticket{position:relative;border:1px solid var(--dm-line);border-radius:var(--dm-radius);overflow:hidden;background:linear-gradient(125deg,#fffdf9,#f7f3eb);box-shadow:0 8px 26px #6c542512;display:flex;flex-direction:column;transition:transform .32s ease,box-shadow .32s ease,border-color .3s ease}
.dm-ticket:hover{transform:translateY(-5px);box-shadow:0 16px 32px #614b231c;border-color:#d4b078}
.dm-ticket::after{content:"";position:absolute;inset:auto 0 0;height:100px;background:url('../img/dm/card-wave.svg') bottom right/100% auto no-repeat;opacity:.55;pointer-events:none;mix-blend-mode:multiply}
.dm-ticket__heading{display:flex;align-items:stretch;justify-content:space-between;min-height:66px;background:linear-gradient(115deg,#fffdf8,#ede7db);position:relative;z-index:1}
.dm-ticket__heading h3{font-family:var(--dm-serif);font-size:23px;line-height:1.18;padding:18px 22px;font-weight:700;display:flex;align-items:center;letter-spacing:-.4px}
.dm-ticket__price{font-family:var(--dm-serif);font-size:32px;line-height:1.2;font-weight:700;white-space:nowrap;padding:15px 20px 15px 30px;background:var(--dm-dark);color:var(--dm-gold-light);clip-path:polygon(16px 0,100% 0,100% 100%,0 100%);display:flex;align-items:center}
.dm-ticket--host .dm-ticket__heading{background:linear-gradient(100deg,#242833,#323641);color:var(--dm-gold-light)}
.dm-ticket--host .dm-ticket__price{background:linear-gradient(130deg,#efd6a6,#c39b5c);color:var(--dm-dark)}
.dm-ticket__body{position:relative;z-index:1;padding:22px 28px 24px;flex:1;display:flex;flex-direction:column}
.dm-ticket__intro{font-size:14px;line-height:1.5;max-width:450px}
.dm-includes{font-family:var(--dm-serif);font-size:18px;margin-top:17px!important;line-height:1.2;width:max-content;background:#ead2a73b;border-radius:20px;padding:3px 16px}
.dm-pass-list{list-style:none;margin:11px 0 25px;padding:0;display:grid;gap:9px;font-size:14px}
.dm-pass-list li{padding-left:23px;position:relative}
.dm-pass-list li::before{content:"";position:absolute;left:2px;top:7px;width:8px;height:8px;border-radius:50%;background:var(--dm-gold)}
.dm-benefits ol{list-style-type:decimal;margin:3px 0 0;padding-left:19px}
.dm-benefits ol li{padding-left:1px;margin-top:2px}
/* Genuine event photographs, kept in the city grouping provided. */
.dm-event-list{display:grid;gap:16px}
.dm-event{display:grid;grid-template-columns:37% 63%;border:1px solid #dfd3c3;border-radius:13px;overflow:hidden;background:var(--dm-warm);min-height:170px;box-shadow:0 4px 20px #302b2208}
.dm-event__info{position:relative;background:linear-gradient(125deg,#252a35,#343844);color:#fff;padding:24px 30px;display:flex;flex-direction:column;justify-content:center;border-right:5px solid #d3b17a}
.dm-event__info::after{content:"";position:absolute;right:-1px;top:0;width:32px;height:100%;background:linear-gradient(100deg,#a07e45,#e8c48a);clip-path:polygon(95% 0,100% 0,100% 100%,0 100%);opacity:.95;pointer-events:none}
.dm-event h3{font-family:var(--dm-serif);font-size:25px;line-height:1.15;margin-bottom:18px;font-weight:700;color:#eed8b2;letter-spacing:-.6px;position:relative;z-index:1}
.dm-event h3 span{font-weight:400;color:#baa78e;margin:0 3px}
.dm-event__info p{display:flex;gap:11px;align-items:center;font-size:13px;line-height:1.4}
.dm-event__info p+p{margin-top:11px}
.dm-event__photos{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;min-width:0}
/* Four steps */
.dm-workflow{padding-bottom:43px}
.dm-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px}
.dm-step{position:relative;display:grid;grid-template-columns:62px 1fr;align-items:start;gap:15px;padding-right:12px}
.dm-step__icon{height:62px;width:62px;border-radius:50%;border:1px solid #e4d7bd;background:linear-gradient(120deg,#fffdf7,#f8e9c9);display:flex;align-items:center;justify-content:center}
.dm-step h3{font-family:var(--dm-serif);font-size:17px;line-height:1.25;margin-top:6px;margin-bottom:7px;letter-spacing:-.2px}
.dm-step p{font-size:13px;line-height:1.5}
/* Contact strip: no repeated registration buttons. */
.dm-footer{background:linear-gradient(110deg,#252a35,#171b23);color:#efefed;border-top:1px solid #c6a46b;padding:22px 0}
.dm-footer__inner{width:min(1360px,calc(100% - 64px));display:grid;grid-template-columns:1fr 1fr 1.07fr 1fr;align-items:center;gap:0}
/* Native dialog gives keyboard focus containment and Escape dismissal. */
.dm-dialog{color:var(--dm-ink);border:1px solid #d5bc90;border-radius:19px;padding:38px;background:#fcfaf5;box-shadow:0 24px 90px #0004;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto}
.dm-dialog[open]{animation:dm-modal-in .28s ease-out}
.dm-dialog::backdrop{background:#131820bf;backdrop-filter:blur(6px)}
.dm-dialog__close{position:absolute;right:15px;top:15px;border:0;background:#e4d7c355;padding:9px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}
.dm-dialog__close:hover{background:#d5bd955e}
.dm-lightbox{width:min(760px,calc(100% - 32px));background:#20242d;border-color:#a6844a;color:white;padding:48px 34px 24px}
.dm-lightbox__image{width:100%;max-width:580px;aspect-ratio:1.5;object-fit:contain;margin:auto;background:#171c24}
.dm-lightbox figcaption{text-align:center;font-family:var(--dm-serif);font-size:21px;color:#efd9ae;margin-top:19px}
.dm-lightbox__controls{display:flex;align-items:center;justify-content:center;gap:30px;margin-top:16px;font-size:12px;color:#d7cbb6}
.dm-lightbox .dm-icon-button{background:#ffffff0c;width:36px;height:36px}
body.dm-modal-open{overflow:hidden}
.dm-focus__grid .dm-reveal:nth-child(2),.dm-steps .dm-reveal:nth-child(2){transition-delay:70ms}
.dm-focus__grid .dm-reveal:nth-child(3),.dm-steps .dm-reveal:nth-child(3){transition-delay:140ms}
.dm-focus__grid .dm-reveal:nth-child(4),.dm-steps .dm-reveal:nth-child(4){transition-delay:210ms}
@keyframes dm-modal-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes dm-photo-breathe{from{transform:scale(1.035)}to{transform:scale(1)}}
@media(min-width:1600px){.dm-hero,.dm-hero__inner{min-height:450px}.dm-hero h1{font-size:82px}}
@media(max-width:1250px){
 .dm-container{width:calc(100% - 72px)}.dm-focus-card{padding:18px;gap:16px}.dm-focus-card h3{font-size:17px}
 .dm-ticket__heading h3{font-size:21px;padding:17px 18px}.dm-ticket__price{font-size:29px;padding-right:17px}.dm-ticket__body{padding:22px}
 .dm-footer__inner{grid-template-columns:1fr 1fr;row-gap:17px}
 .dm-event h3{font-size:23px}.dm-step{grid-template-columns:52px 1fr;gap:12px}.dm-step__icon{width:52px;height:52px}.dm-step h3{font-size:16px}
}
@media(max-width:1050px){
 .dm-container{width:calc(100% - 56px)}.dm-hero h1{font-size:69px}.dm-hero__copy{max-width:590px}.dm-hero__tagline{font-size:22px}.dm-hero__description{max-width:470px;font-size:14px}
 .dm-hero__meta{font-size:11.5px}.dm-hero__meta>span{padding-right:12px;gap:7px}.dm-hero__meta>span+span{padding-left:12px}
 .dm-carousel-controls{bottom:49px}.dm-section-heading h2{font-size:30px}
 .dm-focus-card{gap:12px;padding:16px 12px;min-height:92px}.dm-focus-card h3{font-size:16px}
 .dm-tickets{gap:18px;grid-template-columns:1fr 1.15fr}.dm-ticket__heading h3{font-size:19px;padding:16px}.dm-ticket__price{font-size:27px;padding-left:24px}.dm-ticket__body{padding:21px}.dm-benefits{font-size:13px}.dm-benefits>li{gap:12px;grid-template-columns:24px 1fr}.dm-benefits>li>img{width:23px}
 .dm-event__info{padding:22px}.dm-event h3{font-size:21px}.dm-event{grid-template-columns:36% 64%;min-height:160px}.dm-event__info p{font-size:12px}
 .dm-steps{gap:18px}.dm-step{grid-template-columns:1fr;gap:8px}.dm-step h3{font-size:17px}.dm-step p{font-size:13px}
}
@media(max-width:760px){
 .dm-container{width:calc(100% - 40px)}
 .dm-hero{min-height:490px}.dm-hero__inner{min-height:490px;padding-top:38px;padding-bottom:125px;align-items:flex-start}
 .dm-carousel{inset:0 0 0 0;mask-image:none}.dm-carousel__slide>img{object-position:center center}
 .dm-hero__shade{background:linear-gradient(90deg,#171c26f5 0%,#171c26d9 55%,#171c2675 100%),linear-gradient(0deg,#171c2670,#171c2620)}
 .dm-hero h1{font-size:65px}.dm-hero__tagline{font-size:21px;max-width:450px}.dm-hero__description{max-width:440px;font-size:14px;margin-top:17px!important}
 .dm-hero__meta{gap:10px 0;margin-top:20px;font-size:12px;max-width:520px}.dm-hero__meta>span{padding-right:13px}.dm-hero__meta img{width:19px;height:20px}
 .dm-carousel-controls{right:0;bottom:37px;padding:6px 8px}.dm-hero__ribbon{height:24px;max-height:none;object-fit:cover}
 .dm-section{padding-top:33px}.dm-focus{padding-top:23px}.dm-section-heading{margin-bottom:20px}.dm-section-heading h2{font-size:29px;letter-spacing:-.7px}
 .dm-focus__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dm-focus-card{min-height:92px;padding:17px 20px;gap:17px}.dm-focus-card h3{font-size:18px}
 .dm-tickets{grid-template-columns:1fr;gap:24px}.dm-ticket__heading{min-height:65px}.dm-ticket__heading h3{font-size:23px;padding:18px 24px}.dm-ticket__price{font-size:30px;padding-right:22px;padding-left:30px}.dm-ticket__body{padding:23px 25px 26px}
 .dm-ticket__intro{font-size:14px}.dm-pass-list{font-size:14px;gap:10px;margin-bottom:24px}.dm-benefits{font-size:14px;line-height:1.5}.dm-benefits>li{gap:16px;grid-template-columns:28px 1fr;padding:14px 0}.dm-benefits>li>img{width:27px}.dm-button{min-height:48px;font-size:17px}.dm-ticket .dm-button{width:100%}
 .dm-event{grid-template-columns:1fr}.dm-event__info{padding:22px 23px;border-right:0;border-bottom:3px solid #cfab6c}.dm-event__info::after{display:none}.dm-event h3{font-size:25px;margin-bottom:12px}.dm-event__info p{font-size:13px}.dm-event__info p+p{margin-top:8px}
 .dm-event__photos{gap:5px;min-height:0}.dm-photo{aspect-ratio:1.5;min-height:0}
 .dm-steps{grid-template-columns:1fr 1fr;gap:25px 24px}.dm-step{grid-template-columns:52px 1fr;gap:12px;padding:0}.dm-step h3{font-size:17px;margin-top:3px}.dm-step p{font-size:13px}.dm-workflow{padding-bottom:37px}
 .dm-footer__inner{width:calc(100% - 44px);grid-template-columns:1fr;gap:15px}.dm-footer{padding:24px 0}
 .dm-dialog{padding:36px 25px 27px}.dm-lightbox{padding:48px 16px 22px}.dm-lightbox figcaption{font-size:20px}
}
@media(max-width:420px){
 .dm-hero h1{font-size:58px}.dm-hero__tagline{font-size:20px}.dm-hero__description{font-size:13.5px;line-height:1.6}.dm-hero,.dm-hero__inner{min-height:505px}
 .dm-hero__meta>span:nth-child(3){border:0;padding-left:0;width:100%}.dm-carousel-controls{bottom:35px}
 .dm-focus-card{padding:16px 13px;gap:11px;min-height:91px}.dm-focus-card h3{font-size:16px}.dm-section-heading h2{font-size:27px}
 .dm-ticket__heading h3{font-size:20px;padding:17px 17px}.dm-ticket__price{font-size:27px;padding:15px 16px 15px 25px}.dm-ticket__body{padding:22px 21px}.dm-benefits{font-size:13px}
 .dm-steps{gap:24px 16px}.dm-step{grid-template-columns:1fr;gap:9px}.dm-step h3{font-size:17px}.dm-step__icon{width:52px;height:52px}.dm-step p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .dm-page *,.dm-page *::before,.dm-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 body.dm-enhanced .dm-page .dm-reveal{opacity:1;transform:none}
}
@media print{
 .dm-carousel-controls{display:none!important}.dm-hero{print-color-adjust:exact;-webkit-print-color-adjust:exact}body.dm-enhanced .dm-page .dm-reveal{opacity:1!important;transform:none!important}.dm-ticket,.dm-event{break-inside:avoid}.dm-container{width:96%}.dm-page a{color:inherit}
}

@media(max-width:380px){.dm-focus-card{flex-direction:column;align-items:flex-start;padding:15px;gap:10px;min-width:0}.dm-focus-card h3{font-size:15.5px;overflow-wrap:normal}.dm-hero h1{font-size:54px}.dm-hero__meta>span:nth-child(2){border:0;padding-left:0;width:100%}}

/* ---- 票137 适配段：core 块输出 ↔ 设计稿选择器（结构差收编） ---- */
/* section 标题金线：h2 直接挂 .dm-section-heading（设计稿是容器 div 内 h2+span，pattern 合并为单 h2） */
.dm-page .dm-section-heading::after { content: ""; display: block; width: 48px; height: 3px; background: linear-gradient(90deg, var(--dm-gold), #efdbb3); margin-top: 10px; }
/* section 标题字族/字号：源 styles.css 74 行 `.dm-section-heading h2` 后代选择器在单 h2 结构（h2 自身即 .dm-section-heading）下为死规则，等价搬迁（margin-bottom 例外：被原样段 reset 压制，由下方票137/06 规则重挂——见 R11 注） */
.dm-page .dm-section-heading { font-family: var(--dm-serif); font-size: 34px; line-height: 1.15; letter-spacing: -.75px; font-weight: 700; }
/* focus 卡图标：column 即卡，::before 按列序数（列结构 lock，运营不可增删列，序数安全） */
.dm-focus__grid .dm-focus-card::before { content: ""; flex-shrink: 0; width: 43px; height: 43px; background: center/contain no-repeat; transition: transform .3s ease; }
.dm-focus__grid .dm-focus-card:nth-child(1)::before { background-image: url('../img/dm/investment.svg'); }
.dm-focus__grid .dm-focus-card:nth-child(2)::before { background-image: url('../img/dm/infrastructure.svg'); }
.dm-focus__grid .dm-focus-card:nth-child(3)::before { background-image: url('../img/dm/cloud.svg'); }
.dm-focus__grid .dm-focus-card:nth-child(4)::before { background-image: url('../img/dm/power.svg'); }
.dm-focus__grid .dm-focus-card:hover::before { transform: translateY(-2px) scale(1.06); }
/* benefits 行：pattern 用组序列（非 ul>li），选择器适配 + 图标 ::before */
.dm-benefits { list-style: none; margin: -4px 0 20px; padding: 0; display: grid; font-size: 13.5px; line-height: 1.42; }
.dm-benefits > .wp-block-group { display: grid; grid-template-columns: 31px 1fr; gap: 17px; padding: 12px 0; border-bottom: 1px solid #d8c9b43d; }
.dm-benefits > .wp-block-group:first-child { padding-top: 0; }
.dm-benefits > .wp-block-group:last-child { border-bottom: 0; padding-bottom: 0; }
.dm-benefits > .wp-block-group::before { content: ""; grid-column: 1; grid-row: 1; width: 28px; height: 28px; margin-top: 2px; background: center/contain no-repeat; }
/* 用户验收②b(票137/08)：组内子元素（p/ol）全进第 2 列顺序下行——第三条 benefit（Brand Exposure 含 ol）隐式放置掉图标列致布局破碎+行高暴涨 */
.dm-benefits > .wp-block-group > * { grid-column: 2; }
.dm-benefits > .wp-block-group:nth-child(1)::before { background-image: url('../img/dm/handshake.svg'); }
.dm-benefits > .wp-block-group:nth-child(2)::before { background-image: url('../img/dm/ticket.svg'); }
.dm-benefits > .wp-block-group:nth-child(3)::before { background-image: url('../img/dm/megaphone.svg'); }
.dm-benefits > .wp-block-group:nth-child(4)::before { background-image: url('../img/dm/target.svg'); }
/* 按钮：a.dm-button → wp:buttons/button（div.wp-block-buttons > div.wp-block-button > a.wp-block-button__link），原 107–117 全套重挂；
   沉底+水平居中挂外层 .wp-block-buttons（.dm-ticket__body 为 flex column + flex:1，margin-top:auto 推底），
   内层 .wp-block-button 承担 365px 宽、link width:100% 撑满 pill */
.dm-page .dm-ticket .wp-block-buttons { margin-top: auto; justify-content: center; }
.dm-page .dm-ticket .wp-block-button { width: min(100%, 365px); }
.dm-page .wp-block-button.dm-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 23px; width: 100%; border-radius: 11px; font-family: var(--dm-serif); font-weight: 700; font-size: 17px; line-height: 1.25; text-align: center; border: 1px solid transparent; text-decoration: none; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.dm-page .wp-block-button.dm-button .wp-block-button__link::before { content: ""; position: absolute; inset: -1px; background: linear-gradient(110deg, transparent 30%, #ffffff25 47%, transparent 65%); transform: translateX(-120%); transition: transform .65s ease; pointer-events: none; }
.dm-page .wp-block-button.dm-button:hover .wp-block-button__link::before { transform: translateX(120%); }
.dm-page .wp-block-button.dm-button .wp-block-button__link::after { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url('../img/dm/arrow-right.svg') center/contain no-repeat; transition: transform .25s ease; }
.dm-page .wp-block-button.dm-button:hover .wp-block-button__link { transform: translateY(-2px); box-shadow: 0 6px 18px #342d2520; }
.dm-page .wp-block-button.dm-button:hover .wp-block-button__link::after { transform: translateX(4px); }
.dm-page .wp-block-button.dm-button--dark .wp-block-button__link { background: linear-gradient(130deg, #333847, #191e28); color: #f3dfbb; border-color: #373c48; }
.dm-page .wp-block-button.dm-button--dark .wp-block-button__link::after { filter: brightness(1.5); }
.dm-page .wp-block-button.dm-button--gold .wp-block-button__link { background: linear-gradient(120deg, #e7c48d, #c59c5d); color: #201e19; border-color: #d7b16f; box-shadow: inset 0 1px 0 #fff5; }
.dm-page .wp-block-button.dm-button--gold .wp-block-button__link::after { filter: brightness(.38); }
/* event info 行图标：设计 p 内 <img> → p::before 按序数（第 1 行日期 calendar、第 2 行地点 location） */
.dm-event__info p::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; background: center/contain no-repeat; filter: brightness(1.4); }
.dm-event__info p:nth-of-type(1)::before { background-image: url('../img/dm/calendar.svg'); }
.dm-event__info p:nth-of-type(2)::before { background-image: url('../img/dm/location.svg'); }
/* past-events 照片：设计 button.dm-photo → figure.wp-block-image.dm-photo（core/image className） */
.dm-event__photos .dm-photo { position: relative; overflow: hidden; background: #d4c7b8; min-height: 160px; cursor: pointer; }
.dm-event__photos .dm-photo > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2, .65, .3, 1), filter .4s ease; }
.dm-event__photos .dm-photo:hover > img { transform: scale(1.055); filter: brightness(1.04); }
.dm-event__photos .dm-photo::after { content: ""; position: absolute; right: 11px; bottom: 11px; width: 34px; height: 34px; border-radius: 50%; background: #1f242cc4 url('../img/dm/expand.svg') center/18px no-repeat; border: 1px solid #f1dcac55; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.dm-event__photos .dm-photo:hover::after, .dm-event__photos .dm-photo:focus-visible::after { opacity: 1; transform: none; }
/* steps：图标 = 空组 .dm-step__icon（139 行外观保留）叠图标层；箭头 = ::after（原 .dm-step__arrow img 替代） */
.dm-steps .wp-block-group:nth-child(1) .dm-step__icon { background: url('../img/dm/edit.svg') center/30px no-repeat, linear-gradient(120deg, #fffdf7, #f8e9c9); }
.dm-steps .wp-block-group:nth-child(2) .dm-step__icon { background: url('../img/dm/search.svg') center/29px no-repeat, linear-gradient(120deg, #fffdf7, #f8e9c9); }
.dm-steps .wp-block-group:nth-child(3) .dm-step__icon { background: url('../img/dm/users.svg') center/30px no-repeat, linear-gradient(120deg, #fffdf7, #f8e9c9); }
.dm-steps .wp-block-group:nth-child(4) .dm-step__icon { background: url('../img/dm/send.svg') center/28px no-repeat, linear-gradient(120deg, #fffdf7, #f8e9c9); }
.dm-step:not(:last-child)::after { content: ""; position: absolute; right: -17px; top: 27px; width: 12px; height: 22px; background: url('../img/dm/chevron-right.svg') center/contain no-repeat; opacity: .9; }
/* contact 横条：设计 inner>a → inner 组>p（内联 a）；图标 ::before 按序数（1/2 phone、3/4 mail） */
.dm-footer p { margin: 0; }
.dm-footer p a { display: flex; gap: 12px; align-items: center; font-size: 12px; line-height: 1.7; padding: 0 20px; color: inherit; text-decoration: none; transition: color .2s; }
.dm-footer p:first-child a { padding-left: 0; }
.dm-footer p:last-child a { padding-right: 0; }
.dm-footer p + p a { border-left: 1px solid #e7ddc747; }
.dm-footer p a::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: center/contain no-repeat; filter: brightness(1.4); }
.dm-footer p:nth-child(1) a::before, .dm-footer p:nth-child(2) a::before { background-image: url('../img/dm/phone.svg'); }
.dm-footer p:nth-child(3) a::before, .dm-footer p:nth-child(4) a::before { background-image: url('../img/dm/mail.svg'); }
.dm-footer p a:hover { color: var(--dm-gold-light); }
/* reveal 前缀改写：enhanced 挂 body（front.js 控制），.dm-page.dm-enhanced → body.dm-enhanced .dm-page（227 行 reduced-motion 还原同步此前缀） */
body.dm-enhanced .dm-page .dm-reveal { opacity: 0; transform: translateY(19px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .6, .2, 1); }
body.dm-enhanced .dm-page .dm-reveal.is-visible { opacity: 1; transform: none; }
/* lightbox（front.js 动态建 dialog 于 body 直下，class="dm-dialog dm-lightbox"；基类 .dm-dialog 已保留原样） */
.dm-lightbox .dm-lightbox__prev { background: #ffffff0c url('../img/dm/arrow-left.svg') center/17px no-repeat; }
.dm-lightbox .dm-lightbox__next { background: #ffffff0c url('../img/dm/arrow-right.svg') center/17px no-repeat; }
body > dialog.dm-lightbox .dm-dialog__close::before { content: ""; width: 19px; height: 19px; background: url('../img/dm/close.svg') center/contain no-repeat; }
/* pause/play 双 <img> 切换（render.php 输出，front.js 切 hidden）——原 63 行 img filter 已覆盖亮化。
   [hidden] 兜底：原样段 :where(.dm-page) img{display:block}（author origin）恒压 UA 样式表 [hidden]{display:none}
   （与特异性无关），不补则 play 图标（render 带 hidden）首屏起与 pause 并排同显（票 137 quality C1）。 */
.dm-page [hidden] { display: none; }

/* 用户验收①(票137/08)：hero/footer 全宽（类首页等宽效果）——style.css:85 限宽 !important 压制，
   仿 .pg-band 先例（style.css:887-888）calc(50%-50vw) 反向豁免；dm-footer__inner 自带
   min(1360px,…) 限宽（108 行）、dm-hero copy/meta 自带限宽，豁免后内层布局零补充。
   前提：依赖 .dm-hero/.dm-footer 为 post-content 直接子级（模板 page-dif-match.html 直配、
   match-hero 零外包装）；模板/渲染层改动需复查此选择器 */
main .wp-block-post-content > .dm-hero,
main .wp-block-post-content > .dm-footer {
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* 用户验收①追加(票137/08)：footer 横条内容居中——原样段 108/130/157 行 grid 列全 1fr（轨道撑满容器、
   内容钉列左缘），仅 margin-inline:auto 容器居中改不动内容分布（复验返工 2026-11-04）。
   正解：列收 auto（轨道收缩至内容宽）+ justify-content:center（整组居中）；断点覆盖对齐原样段
   130/157 行形态（两列居中 / 单列逐条居中），原样段 L1-178 仍一字不动 */
.dm-page .dm-footer__inner { margin-inline: auto; grid-template-columns: repeat(3, auto); justify-content: center; }
/* 用户拍板 2026-11-04 删 Compliance 条目（4→3 条）：≤1250 两列会排 2+1 不对称，改单列逐条居中（与 ≤760 形态统一） */
@media (max-width: 1250px) { .dm-page .dm-footer__inner { grid-template-columns: auto; justify-items: center; } }
@media (max-width: 760px)  { .dm-page .dm-footer__inner { grid-template-columns: auto; justify-items: center; } }
/* 用户验收②a(票137/08)：style.css:27 元素级 h3 色压掉 L79 组继承——host 卡深底显式重挂金色；
   forum 卡浅底 var(--blue) 视觉贴参考页、未在验收反馈内，不动 */
.dm-page .dm-ticket--host .dm-ticket__heading h3 { color: var(--dm-gold-light); }

/* ---- 票137/06 移动门禁修复（17 页加页首跑红 4/68 全在 /dif-match/，规则见 issue 137；
       只加不删，不动上方原样段。除本条全档修复外，其余收在 ≤1050 断点补丁块——门禁
       采样 320–768，桌面（>1050）保持原型形态（图标 natural/14px、计数器 11px、ribbon
       fill），不改设计稿视觉 ---- */
/* R11 根因：单 h2 结构下原样段 reset `.dm-page h2{margin:0}`（特异 0,1,1）压掉
   63/150 行 `.dm-section-heading{margin-bottom}`（0,1,0）——原型里该 margin 挂 div 容器
   （reset 只压 h1-h4/p/figure），搬迁后 h2 自身即 .dm-section-heading，静态间距归 0，
   reveal 过渡中间态（translateY 19px 不同步）瞬时侵入被门禁采样。恢复原型间距
   （24px > 19px 最大侵入）双关：视觉呼吸感 + R11 消红（全档等价恢复，桌面原型同为 24px） */
.dm-page h2.dm-section-heading { margin-bottom: 24px; }


/* ---- 断点补丁（集中在非断点适配规则之后，与源文件 179–233 顺序一致）。
     源 styles.css 195/210 的 `>li` 断点规则对组结构为死规则，等价覆盖见下 ---- */
@media (max-width:1250px) {
  .dm-footer p a { justify-content: center; }
  .dm-footer p:nth-child(3) a { border-left: 0; padding-left: 0; }
  .dm-footer p:nth-child(2) a { padding-right: 0; }
}
@media (max-width:1050px) {
  .dm-page .dm-section-heading { font-size: 30px; }
  .dm-focus__grid .dm-focus-card::before { width: 33px; height: 36px; }
  .dm-step:not(:last-child)::after { right: -13px; top: 23px; }
  .dm-benefits > .wp-block-group { gap: 12px; grid-template-columns: 24px 1fr; }
  .dm-benefits > .wp-block-group::before { width: 23px; height: 23px; }
  /* R7（768 档）：原样段 135 行 meta 11.5px 低于 12px 地板 */
  .dm-page .dm-hero__meta { font-size: 12px; }
  /* R5/R6：hero meta 图标 19-22px 低于 24 地板 + 竖长 nat（91/189x150 等）在近方盒内
     fill 变形 >15%；统一 24x24 盒 + contain（contain 不触发 R6，盒 min 边 24 过 R5） */
  .dm-page .dm-hero__meta img { width: 24px; height: 24px; object-fit: contain; }
  /* R5/R6：轮播控制条按钮图标（chevron/pause/play 同族）14/12px 同症同修 */
  .dm-page .dm-icon-button img { width: 24px; height: 24px; object-fit: contain; }
  /* R5 续（二轮实测）：主题对 button 元素的通用 padding（1px 6px）把 30px 按钮内容区压到
     18px，img 显式 24px 被 flex 布局夹住（!important 亦不可越，宽度受可用空间约束）——
     原型 .dm-icon-button 无 padding（51 行），按钮内图标本应满盒居中 */
  .dm-page .dm-icon-button { padding: 0; }
  /* R6（768 档 squish）：hero 底饰带补 cover（≤760 档 149 行原已 cover，761–1050 档
     fill 将 nat 300x150 拉到 737x48 变形 >15%；>1050 档维持原型 fill 不动） */
  .dm-page .dm-hero__ribbon { object-fit: cover; }
  /* R7：轮播计数器 11px 低于 12px 可读性地板（counter/'01'/divider 三 span 随父） */
  .dm-page .dm-carousel-counter { font-size: 12px; }
}
@media (max-width:760px) {
  .dm-page .dm-section-heading { font-size: 29px; letter-spacing: -.7px; }
  /* 原样段 150 行 margin-bottom:20px（0,1,0）同被 reset 压制，等价重挂（见上方 R11 注） */
  .dm-page h2.dm-section-heading { margin-bottom: 20px; }
  .dm-event__photos .dm-photo { aspect-ratio: 1.5; min-height: 0; }
  .dm-event__photos .dm-photo::after { opacity: 1; transform: none; width: 28px; height: 28px; background-size: 14px; right: 8px; bottom: 8px; }
  .dm-step:not(:last-child)::after { display: none; }
  .dm-event__info p::before { width: 14px; height: 14px; }
  .dm-focus__grid .dm-focus-card::before { width: 36px; height: 38px; }
  .dm-footer p a { border: 0 !important; padding: 0 !important; justify-content: flex-start; font-size: 12.5px; gap: 13px; }
  .dm-page .dm-ticket .wp-block-button { width: 100%; }
  .dm-page .wp-block-button.dm-button .wp-block-button__link { min-height: 48px; }
  .dm-benefits > .wp-block-group { gap: 16px; grid-template-columns: 28px 1fr; padding: 14px 0; }
  .dm-benefits > .wp-block-group::before { width: 27px; height: 27px; }
}
@media (max-width:420px) {
  .dm-page .dm-section-heading { font-size: 27px; }
  .dm-focus__grid .dm-focus-card::before { width: 30px; height: 34px; }
}
