.diy-document { --diy-primary:#7956ff; --diy-accent:#ff5fbd; --diy-bg:var(--theme-background,#080718); --diy-text:#f8f7ff; --diy-on-primary:#fff; --diy-surface:#191823; --diy-surface-alt:#1a142c; --diy-surface-strong:#25242e; --diy-border:#383640; --diy-muted:#a3a0aa; --diy-primary-soft:#211a4b; --diy-radius:18px; --diy-padding:14px; min-height:100%; padding:0 var(--diy-padding) 28px; color:var(--diy-text); background:var(--diy-bg); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
.diy-document * { box-sizing:border-box; }.diy-document button { font:inherit;color:inherit;cursor:pointer }.diy-component { display:flow-root;margin:0 }.diy-component[hidden] { display:none }.diy-document h1,.diy-document h2,.diy-document p { margin-top:0 }
.dc-component-frame{display:flow-root;min-width:0;margin:var(--diy-component-margin-top,0) var(--diy-component-inline-margin,0) var(--diy-component-margin-bottom,12px)}
.dc-component-frame.has-surface-border>:first-child{border-style:solid!important;border-width:var(--diy-component-border-width,0)!important;border-color:var(--diy-component-border-color,transparent)!important}
.dc-component-frame.has-surface-border>.dc-hero-carousel .dc-hero{border-width:0!important}
.dc-component-frame.has-surface-radius>:first-child{overflow:hidden;border-radius:var(--diy-component-top-radius,var(--diy-radius)) var(--diy-component-top-radius,var(--diy-radius)) var(--diy-component-bottom-radius,var(--diy-radius)) var(--diy-component-bottom-radius,var(--diy-radius))!important}
.dc-store { display:flex;align-items:center;justify-content:space-between;height:58px }.dc-store>div { display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center }.dc-store strong{font-size:14px}.dc-store small{grid-column:2;color:var(--diy-muted);font-size:9px}.dc-live{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:#67f2b2;box-shadow:0 0 10px #67f2b2}.dc-store button{position:relative;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--diy-border) 10%,transparent);border-radius:50%;background:color-mix(in srgb,var(--diy-surface) 4%,transparent)}.dc-store button i{position:absolute;right:4px;top:4px;width:5px;height:5px;border-radius:50%;background:#ff4f92}
.dc-hero { position:relative;display:flex;align-items:center;overflow:hidden;padding:24px 18px;border:1px solid color-mix(in srgb,var(--diy-primary) 42%,transparent);border-radius:calc(var(--diy-radius) + 5px);background:radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--diy-accent) 30%,transparent),transparent 32%),linear-gradient(135deg,var(--diy-surface-alt),var(--diy-surface-alt));box-shadow:0 18px 38px rgba(0,0,0,.28) }.dc-hero-grid{position:absolute;inset:0;opacity:.18;background:radial-gradient(circle at 24% 18%,color-mix(in srgb,var(--diy-surface) 16%,transparent),transparent 48%)}.dc-hero-copy{position:relative;z-index:2;width:68%}.dc-hero-copy>small{color:var(--diy-primary);font-size:8px;letter-spacing:2px;font-weight:800}.dc-hero h1{margin:8px 0;font-size:26px;line-height:1.14}.dc-hero p{margin-bottom:15px;color:var(--diy-muted);font-size:10px}.dc-hero button{padding:8px 11px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--diy-primary),color-mix(in srgb,var(--diy-accent) 72%,var(--diy-primary)));font-size:10px;font-weight:700}.dc-hero button b{padding-left:7px}.dc-cards{position:absolute;right:-4px;top:32px;width:120px;height:145px}.dc-cards i{position:absolute;width:57px;height:83px;padding:8px;border:1px solid var(--diy-border);border-radius:8px;background:linear-gradient(145deg,var(--diy-surface-alt),var(--diy-surface));font:700 17px Georgia,serif}.dc-cards i:first-child{right:50px;top:27px;color:#ff638e;transform:rotate(-15deg)}.dc-cards i:nth-child(2){right:13px;top:16px;color:#68dfff;transform:rotate(10deg)}.dc-cards b{position:absolute;bottom:12px;width:31px;height:31px;border:4px dashed color-mix(in srgb,var(--diy-border) 55%,transparent);border-radius:50%;background:var(--diy-primary);transform:rotateX(58deg)}.dc-cards b:nth-of-type(1){right:55px}.dc-cards b:nth-of-type(2){right:26px;background:var(--diy-accent)}
.dc-notice{display:flex;align-items:center;gap:8px;min-height:39px;padding:8px 11px;border:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);border-radius:12px;background:color-mix(in srgb,var(--diy-surface) 3.5%,transparent)}.dc-notice span{color:#f4cb68}.dc-notice p{flex:1;margin:0;overflow:hidden;color:var(--diy-muted);font-size:10px;white-space:nowrap;text-overflow:ellipsis}.dc-notice b{color:var(--diy-muted)}
.dc-grid{display:grid;gap:14px 5px;padding:9px 0}.dc-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;background:none}.dc-grid button span{display:grid;place-items:center;width:45px;height:45px;border:1px solid color-mix(in srgb,var(--diy-primary) 30%,transparent);border-radius:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--diy-primary) 19%,transparent),color-mix(in srgb,var(--diy-surface-alt) 25%,transparent));color:var(--diy-primary);font-size:19px}.dc-grid button b{font-size:9px;font-weight:500;color:var(--diy-muted)}
.dc-image{position:relative;display:grid;place-items:center;overflow:hidden;border:1px dashed color-mix(in srgb,var(--diy-border) 16%,transparent);border-radius:var(--diy-radius);background:linear-gradient(145deg,color-mix(in srgb,var(--diy-primary) 14%,transparent),color-mix(in srgb,var(--diy-accent) 11%,transparent));background-size:cover;background-position:center;color:var(--diy-on-gradient)}.dc-image span{color:var(--diy-muted);font-size:11px}.dc-image small{position:absolute;left:10px;bottom:8px;color:color-mix(in srgb,var(--diy-text) 60%,transparent);font-size:8px}.dc-richtext{padding:14px;border-radius:var(--diy-radius);background:color-mix(in srgb,var(--diy-surface) 3.5%,transparent)}.dc-richtext h2{margin-bottom:8px;font-size:16px}.dc-richtext p{margin-bottom:0;color:var(--diy-muted);font-size:11px;line-height:1.75}
.dc-section-head{display:flex;align-items:end;justify-content:space-between;margin:17px 0 9px}.dc-section-head small,.dc-ranking header small{color:var(--diy-primary);font-size:7px;letter-spacing:2px}.dc-section-head h2,.dc-ranking h2{margin:2px 0 0;font-size:17px}.dc-section-head button,.dc-ranking header button{border:0;background:none;color:var(--diy-muted);font-size:9px}.dc-party-list{display:grid;gap:8px}.dc-party-row{display:grid;grid-template-columns:70px 1fr 43px;align-items:center;min-height:83px;padding:10px;border:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);border-radius:15px;background:linear-gradient(110deg,color-mix(in srgb,var(--diy-surface-alt) 78%,transparent),color-mix(in srgb,var(--diy-surface-alt) 87%,transparent))}.dc-party-row time{display:flex;flex-direction:column;gap:5px;padding-right:8px;border-right:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent)}.dc-party-row time small,.dc-party-row>div>span{color:var(--diy-primary);font-size:7px}.dc-party-row time b{font-size:10px}.dc-party-row>div{padding:0 9px}.dc-party-row>div strong{display:block;margin:2px 0 6px;font-size:11px}.dc-party-row>div i{display:block;height:3px;border-radius:3px;background:color-mix(in srgb,var(--diy-surface) 8%,transparent)}.dc-party-row>div i em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--diy-primary),var(--diy-accent))}.dc-party-row>div>small{color:var(--diy-muted);font-size:7px}.dc-party-row>button{height:26px;border:1px solid color-mix(in srgb,var(--diy-primary) 50%,transparent);border-radius:8px;background:color-mix(in srgb,var(--diy-primary) 18%,transparent);color:var(--diy-primary);font-size:8px}
.dc-tournament{position:relative;min-height:145px;padding:18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--diy-accent) 28%,transparent);border-radius:var(--diy-radius);background:radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--diy-accent) 30%,transparent),transparent 30%),linear-gradient(135deg,var(--diy-surface-alt),var(--diy-surface-alt) 55%,var(--diy-surface-alt))}.dc-tournament>i{display:inline-block;padding:3px 6px;border-radius:4px;background:#ff467d;font-size:7px;font-style:normal}.dc-tournament>small{display:block;margin:12px 0 3px;color:var(--diy-muted);font-size:8px}.dc-tournament h2{margin-bottom:8px;font-size:18px}.dc-tournament p{display:flex;gap:10px;color:var(--diy-muted);font-size:8px}.dc-tournament button{padding:7px 9px;border:1px solid color-mix(in srgb,var(--diy-border) 15%,transparent);border-radius:8px;background:color-mix(in srgb,var(--diy-surface) 6%,transparent);font-size:8px}.dc-tournament>b{position:absolute;right:14px;top:-28px;color:color-mix(in srgb,var(--diy-text) 8%,transparent);font:130px Georgia,serif;transform:rotate(12deg)}
.dc-products{display:grid;gap:8px}.dc-product{display:grid;grid-template-columns:65px 1fr 29px;align-items:center;gap:10px;min-height:76px;padding:7px;border:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);border-radius:14px;background:color-mix(in srgb,var(--diy-surface) 3.5%,transparent)}.dc-product-cover{display:grid;place-items:center;width:65px;height:62px;border-radius:11px;background:linear-gradient(145deg,#704018,#d78d36,var(--diy-surface-alt));color:color-mix(in srgb,var(--diy-text) 60%,transparent);font-size:7px;letter-spacing:1px}.dc-product-cover-1{background:radial-gradient(circle at 60% 35%,color-mix(in srgb,var(--diy-primary) 70%,transparent),transparent 22%),linear-gradient(145deg,var(--diy-accent),var(--diy-accent),var(--diy-accent));color:var(--diy-on-gradient)}.dc-product>div:nth-child(2)>strong{font-size:11px}.dc-product p{margin:4px 0 7px;color:var(--diy-muted);font-size:8px}.dc-product>div:nth-child(2)>b{color:var(--diy-primary);font-size:12px}.dc-product>div:nth-child(2)>small{color:var(--diy-muted);font-size:7px}.dc-product>button{width:27px;height:27px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--diy-primary),var(--diy-accent))}.dc-products.is-grid{grid-template-columns:1fr 1fr}.dc-products.is-grid .dc-product{display:block}.dc-products.is-grid .dc-product-cover{width:100%;height:90px;margin-bottom:8px}.dc-products.is-grid .dc-product>button{float:right;margin-top:-25px}
.dc-ranking{padding:14px;border:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);border-radius:var(--diy-radius);background:color-mix(in srgb,var(--diy-surface) 3.5%,transparent)}.dc-ranking header{display:flex;align-items:end;justify-content:space-between}.dc-ranking ol{margin:11px 0 0;padding:0;list-style:none}.dc-ranking li{display:grid;grid-template-columns:25px 1fr auto;align-items:center;padding:8px 2px;border-top:1px solid color-mix(in srgb,var(--diy-border) 6%,transparent);font-size:10px}.dc-ranking li em{color:var(--diy-primary);font-style:normal}.dc-ranking li b{color:var(--diy-muted)}.dc-coupon{display:grid;grid-template-columns:72px 1fr auto;align-items:center;min-height:84px;padding:12px;border-radius:var(--diy-radius);background:linear-gradient(135deg,var(--diy-surface-alt),var(--diy-surface-alt))}.dc-coupon>div{color:#ffd07a}.dc-coupon>div small{font-size:12px}.dc-coupon>div b{font-size:30px}.dc-coupon article strong{font-size:12px}.dc-coupon article p{margin:5px 0 0;color:var(--diy-muted);font-size:8px}.dc-coupon button{padding:7px 9px;border:0;border-radius:9px;background:var(--diy-accent);font-size:8px}.dc-lottery{display:flex;align-items:center;gap:11px;min-height:92px;padding:15px;border-radius:var(--diy-radius);background:linear-gradient(120deg,var(--diy-surface-alt),var(--diy-surface-alt) 52%,#132b54)}.dc-lottery>span{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:color-mix(in srgb,var(--diy-surface) 8%,transparent);color:#ffd57e;font-size:25px}.dc-lottery>div{flex:1}.dc-lottery small{color:var(--diy-primary);font-size:8px}.dc-lottery h2{margin:3px 0 0;font-size:16px}.dc-lottery button{padding:8px 10px;border:1px solid color-mix(in srgb,var(--diy-border) 15%,transparent);border-radius:9px;background:color-mix(in srgb,var(--diy-surface) 8%,transparent);font-size:8px}.dc-spacer{position:relative}.dc-spacer span{display:none}.dc-unknown{padding:20px;border:1px dashed #f66;color:#f99}
.diy-runtime-page{margin:0;background:var(--diy-page-background,#080718)}.diy-runtime-page .diy-runtime-shell{position:relative;min-height:100vh;background:var(--diy-page-background,#080718)}.diy-runtime-page .diy-document{width:min(100%,540px);margin:auto;padding-bottom:80px}.diy-runtime-loading{display:grid;place-items:center;min-height:100vh;color:var(--diy-muted);background:var(--diy-page-background,#080718);font-family:sans-serif}
@supports not (color:color-mix(in srgb,red,blue)){.dc-hero{border-color:color-mix(in srgb,var(--diy-border) 40%,transparent)}.dc-grid button span{border-color:color-mix(in srgb,var(--diy-border) 30%,transparent)}.dc-party-row>button{border-color:color-mix(in srgb,var(--diy-border) 50%,transparent)}.dc-tournament{border-color:color-mix(in srgb,var(--diy-border) 28%,transparent)}}


/* v0.8.0-alpha.12.9 DIY运行时点击态 */
button.dc-notice,
button.dc-image {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.dc-notice {
  border: 1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);
}
button.dc-image {
  padding: 0;
}
.diy-document button:focus-visible {
  outline: 2px solid var(--diy-accent);
  outline-offset: 2px;
}

/* SVG icon support */
.dc-grid button span svg,.dc-bottom-nav button span svg{width:21px;height:21px}.dc-grid button span img,.dc-bottom-nav button span img{width:22px;height:22px;object-fit:contain}.dc-grid button span,.dc-bottom-nav button span{line-height:1}


/* v0.8.0-alpha.12.9.7: complete template variants and light-theme readability */
.dc-hero-art{position:absolute;right:13px;top:28px;display:grid;width:118px;height:150px;place-items:center;color:var(--diy-accent)}
.dc-hero-art-svg{position:relative;z-index:2;width:58px;height:58px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.3))}
.dc-hero-art i,.dc-hero-art b{position:absolute;border-radius:50%;background:color-mix(in srgb,var(--diy-primary) 34%,transparent)}
.dc-hero-art i{width:108px;height:108px;border:1px solid color-mix(in srgb,var(--diy-accent) 42%,transparent)}
.dc-hero-art b{right:4px;bottom:18px;width:42px;height:42px;background:color-mix(in srgb,var(--diy-accent) 45%,transparent)}
.dc-hero-event{background:radial-gradient(circle at 88% 15%,rgba(255,123,83,.3),transparent 30%),linear-gradient(135deg,#38101f,var(--diy-surface-alt) 55%,var(--diy-surface))}
.dc-hero-dining{background:radial-gradient(circle at 88% 12%,rgba(255,212,92,.5),transparent 31%),linear-gradient(135deg,#fff4d8,#ffe7ae);color:#362516;box-shadow:0 18px 38px rgba(117,70,10,.15)}
.dc-hero-dining .dc-hero-copy>small,.dc-hero-dining p{color:#8a6227}.dc-hero-dining .dc-hero-grid{opacity:.28;background:radial-gradient(circle at 24% 18%,rgba(130,83,22,.17),transparent 50%)}
.dc-hero-city{background:radial-gradient(circle at 88% 15%,rgba(81,217,255,.35),transparent 31%),linear-gradient(135deg,#071a3a,#132f66 58%,#091226)}
.dc-hero-service{background:radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--diy-primary) 28%,transparent),transparent 32%),linear-gradient(135deg,var(--diy-surface-strong),var(--diy-surface-strong))}
.dc-image{border-style:solid}.dc-image-placeholder{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px;color:var(--diy-text);text-align:center}
.dc-image-placeholder-svg{width:34px;height:34px;color:var(--diy-primary)}.dc-image-placeholder b{font-size:15px}.dc-image-placeholder small{position:static;color:color-mix(in srgb,var(--diy-text) 62%,transparent);font-size:9px}
.dc-image-brand{background:radial-gradient(circle at 22% 20%,color-mix(in srgb,var(--diy-accent) 45%,transparent),transparent 28%),linear-gradient(135deg,color-mix(in srgb,var(--diy-primary) 24%,#111),color-mix(in srgb,var(--diy-accent) 18%,#111))}
.dc-image-food{background:linear-gradient(135deg,#fff0c8,#ffd88a)}.dc-image-event{background:linear-gradient(135deg,var(--diy-surface-alt),var(--diy-surface-alt))}.dc-image-city{background:linear-gradient(135deg,#0e2b55,#155f87)}.dc-image-service{background:linear-gradient(135deg,var(--diy-surface-strong),var(--diy-surface-strong))}
.dc-lottery-svg{width:25px;height:25px}.dc-dual-art-svg{width:40px;height:40px}.dc-member-avatar-svg{width:24px;height:24px}.dc-upgrade-svg{width:19px;height:19px}.dc-time-svg{width:14px;height:14px}.dc-service-placeholder-svg{width:36px;height:36px;margin:auto}.dc-service figure span b,.dc-service figure span small{display:block;margin-top:6px}.dc-service figure span small{color:var(--diy-muted);font-size:8px}
.diy-document[data-theme-mode="light"] .dc-store small,.diy-document[data-theme-mode="light"] .dc-notice p,.diy-document[data-theme-mode="light"] .dc-richtext p,.diy-document[data-theme-mode="light"] .dc-section-head button,.diy-document[data-theme-mode="light"] .dc-product p,.diy-document[data-theme-mode="light"] .dc-product>div:nth-child(2)>small{color:color-mix(in srgb,var(--diy-text) 58%,transparent)}
.diy-document[data-theme-mode="light"] .dc-store button,.diy-document[data-theme-mode="light"] .dc-notice,.diy-document[data-theme-mode="light"] .dc-richtext,.diy-document[data-theme-mode="light"] .dc-product,.diy-document[data-theme-mode="light"] .dc-ranking{border-color:rgba(68,48,25,.1);background:color-mix(in srgb,var(--diy-surface) 72%,transparent);box-shadow:0 10px 24px rgba(109,73,24,.06)}
.diy-document[data-theme-mode="light"] .dc-grid button b,.diy-document[data-theme-mode="light"] .dc-product>div:nth-child(2)>strong,.diy-document[data-theme-mode="light"] .dc-ranking li,.diy-document[data-theme-mode="light"] .dc-richtext h2{color:var(--diy-text)}
.diy-document[data-theme-mode="light"] .dc-grid button span{background:linear-gradient(145deg,color-mix(in srgb,var(--diy-primary) 13%,#fff),var(--diy-surface));color:var(--diy-primary);box-shadow:0 7px 18px rgba(99,65,22,.08)}
.diy-document[data-theme-mode="light"] .dc-party-row{border-color:rgba(99,65,22,.1);background:linear-gradient(110deg,var(--diy-surface),#fff8e9);color:var(--diy-text)}
.diy-document[data-theme-mode="light"] .dc-party-row>div>small{color:rgba(51,39,27,.5)}
.diy-document[data-theme-mode="light"] .dc-product>div:nth-child(2)>b,.diy-document[data-theme-mode="light"] .dc-ranking li b{color:var(--diy-primary)}
.diy-document[data-theme-mode="light"] .dc-ranking li{border-color:rgba(68,48,25,.08)}
.diy-document[data-theme-mode="light"] .dc-coupon{background:linear-gradient(135deg,#fff0b7,#ffe4ae);color:#3b2b16}.diy-document[data-theme-mode="light"] .dc-coupon article p{color:#80623b}
.diy-document[data-theme-mode="light"] .dc-lottery{background:linear-gradient(120deg,#fff1d2,#ffe0a7 52%,#fff7e9);color:#3b2b16}.diy-document[data-theme-mode="light"] .dc-lottery small{color:#9b642e}
.diy-document[data-theme-mode="light"] .dc-dual-hero{color:var(--diy-text)}.diy-document[data-theme-mode="light"] .dc-booking{background:var(--diy-surface);border:1px solid rgba(68,48,25,.08);box-shadow:0 10px 24px rgba(109,73,24,.06)}


/* v0.8.0-alpha.12.9.12: responsive image hotspot component */
.dc-hotspot-image{position:relative;display:block;overflow:hidden;width:100%;min-height:120px;border:1px solid color-mix(in srgb,var(--diy-border) 8%,transparent);border-radius:var(--diy-radius);background:linear-gradient(145deg,color-mix(in srgb,var(--diy-primary) 14%,transparent),color-mix(in srgb,var(--diy-accent) 8%,transparent));color:var(--diy-on-gradient)}
.dc-hotspot-image>img{display:block;width:100%;height:100%;object-position:center}
.dc-hotspot-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;width:100%;height:100%;color:var(--diy-muted);text-align:center}
.dc-hotspot-placeholder-svg{width:34px;height:34px;color:var(--diy-primary)}.dc-hotspot-placeholder b{font-size:13px}.dc-hotspot-placeholder small{font-size:9px;color:var(--diy-muted)}
.dc-hotspot-zone{position:absolute;z-index:2;display:block;margin:0;padding:0;border:0;background:transparent;color:transparent;cursor:pointer;touch-action:manipulation}
.dc-hotspot-zone span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dc-hotspot-zone:focus-visible{outline:2px solid var(--diy-primary);outline-offset:-2px;background:color-mix(in srgb,var(--diy-primary) 10%,transparent)}

/* v0.8.0-alpha.12.9.13: hotspot image natural ratio */
.dc-hotspot-image.is-natural{height:auto;min-height:0}.dc-hotspot-image.is-natural>img{width:100%;height:auto;object-fit:contain}.dc-hotspot-image.is-fixed>img{height:100%}

/* v0.8.0-alpha.15.11: transparent dual-character IP, freely layered without an image tile */
.dc-hero-has-image{isolation:isolate;background:radial-gradient(circle at 82% 38%,color-mix(in srgb,var(--diy-primary) 42%,transparent),transparent 38%),radial-gradient(circle at 92% 14%,color-mix(in srgb,var(--diy-accent) 14%,transparent),transparent 26%),linear-gradient(135deg,var(--diy-accent) 0%,var(--diy-accent) 52%,var(--diy-accent) 100%);color:var(--diy-on-gradient)}
.dc-hero-has-image .dc-hero-grid{z-index:0;opacity:.08}
.dc-hero-has-image .dc-hero-copy{z-index:3;width:59%;text-shadow:0 2px 12px rgba(0,0,0,.78)}
.dc-hero-ip-art{position:absolute;z-index:2;right:-12px;bottom:-12px;width:232px;height:194px;overflow:visible;border:0;background:transparent;box-shadow:none;pointer-events:none}
.dc-hero-ip-image{display:block;width:100%;height:100%;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 13px 18px rgba(3,0,17,.52)) saturate(1.06);transform:none}
@media(max-width:370px){.dc-hero-has-image .dc-hero-copy{width:62%}.dc-hero-ip-art{right:-22px;bottom:-8px;width:218px;height:184px}.dc-hero-has-image h1{font-size:23px}}

/* v0.8.0-alpha.15.17: configurable multi-image hero carousel */
.dc-hero-carousel{position:relative;isolation:isolate;overflow:hidden;width:auto;background:var(--diy-surface-alt);box-shadow:0 18px 38px rgba(0,0,0,.28)}
.dc-hero-slide{position:absolute;inset:0;z-index:1;display:block;overflow:hidden;border-radius:inherit;opacity:0;visibility:hidden;pointer-events:none;cursor:pointer;transition:opacity .34s ease,visibility .34s ease}
.dc-hero-slide.is-active{z-index:2;opacity:1;visibility:visible;pointer-events:auto}
.dc-hero-slide>.dc-hero{width:100%;height:100%;min-height:0;border-radius:inherit;box-shadow:none}
.dc-hero-slide:focus-visible{outline:2px solid var(--diy-accent);outline-offset:-3px}
.dc-hero-dots{position:absolute;z-index:6;right:14px;bottom:10px;display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:999px;background:color-mix(in srgb,var(--diy-surface) 36%,transparent);backdrop-filter:blur(8px)}
.dc-hero-dots button{width:6px;height:6px;padding:0;border:0;border-radius:999px;background:color-mix(in srgb,var(--diy-surface) 42%,transparent);box-shadow:none;transition:background-color .2s ease,opacity .2s ease}
.dc-hero-dots button.is-active{width:17px;background:var(--diy-surface)}
.dc-hero-dots button:focus-visible{outline:2px solid var(--diy-accent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.dc-hero-slide,.dc-hero-dots button{transition:none}}

/* v0.8.0-alpha.15.30.41 首页“今晚组局”实时状态 */
.dc-party-row>button{display:flex;align-items:center;justify-content:center;min-width:43px;padding:0 6px;font-weight:700;line-height:1.1;white-space:nowrap;cursor:pointer;touch-action:manipulation}
.dc-party-row.is-pending>button{border-color:color-mix(in srgb,var(--diy-accent) 42%,transparent);background:color-mix(in srgb,var(--diy-accent) 16%,transparent);color:color-mix(in srgb,var(--diy-accent) 72%,#fff)}
.dc-party-row.is-joined>button{border-color:color-mix(in srgb,var(--diy-primary) 33%,transparent);background:color-mix(in srgb,var(--diy-primary) 25%,transparent);color:var(--diy-text)}
.dc-party-row.is-full>button,.dc-party-row.is-ended>button{border-color:color-mix(in srgb,var(--diy-border) 8%,transparent);background:color-mix(in srgb,var(--diy-surface) 6%,transparent);color:var(--diy-muted)}
.dc-party-row.is-pending>button,.dc-party-row.is-joined>button,.dc-party-row.is-full>button,.dc-party-row.is-ended>button{cursor:default}
.diy-document[data-theme-mode="light"] .dc-party-row.is-pending>button{background:color-mix(in srgb,var(--diy-accent) 12%,#fff);color:color-mix(in srgb,var(--diy-accent) 78%,#38254c)}
.diy-document[data-theme-mode="light"] .dc-party-row.is-joined>button{background:color-mix(in srgb,var(--diy-primary) 13%,#fff);color:color-mix(in srgb,var(--diy-primary) 75%,#2b2041)}
.diy-document[data-theme-mode="light"] .dc-party-row.is-full>button,.diy-document[data-theme-mode="light"] .dc-party-row.is-ended>button{border-color:rgba(68,48,25,.08);background:var(--diy-surface);color:var(--diy-muted)}
@media(max-width:370px){.dc-party-row{grid-template-columns:64px minmax(0,1fr) 46px;padding:9px}.dc-party-row>div{padding:0 7px}.dc-party-row>button{font-size:7px}}

/* v0.8.0-alpha.15.30.47: standalone DIY page inside miniapp WebView */
html.miniapp-webview.miniapp-zoom-locked,
html.miniapp-webview.miniapp-zoom-locked body,
html.miniapp-webview.miniapp-zoom-locked .diy-document {
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Page-level DIY chrome shared by the editor, draft preview and customer runtime. */
.diy-page-chrome{
  position:relative;
  z-index:12;
  width:100%;
  color:var(--diy-page-title-color,#fff);
  background-color:var(--diy-page-header-bg,#080718);
  background-image:var(--diy-page-header-image,none);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}
.diy-page-chrome.is-immersive{background-color:transparent;background-image:none}
.diy-document.diy-immersive-content{padding-top:0}
.diy-document.diy-immersive-content>.diy-component.diy-immersive-anchor{position:relative;margin-right:calc(0px - var(--diy-padding));margin-left:calc(0px - var(--diy-padding))}
.diy-document.diy-immersive-content>.diy-component.diy-immersive-anchor>.dc-component-frame{margin-top:0!important;margin-right:0!important;margin-left:0!important}
.diy-document.diy-immersive-content>.diy-component.diy-immersive-anchor>.dc-component-frame>.dc-image,
.diy-document.diy-immersive-content>.diy-component.diy-immersive-anchor>.dc-component-frame>.dc-hotspot-image{border-top-left-radius:0!important;border-top-right-radius:0!important}
.diy-page-status{position:relative;display:flex;height:24px;align-items:center;justify-content:space-between;padding:0 14px;color:var(--diy-page-title-color,#fff);font-size:8px;font-weight:700;line-height:1}
.diy-page-status>b{position:absolute;left:50%;top:5px;width:72px;height:14px;border-radius:9px;background:var(--diy-surface);transform:translateX(-50%)}
.diy-page-status>i{font-style:normal;letter-spacing:.02em}
.diy-page-toolbar{position:relative;display:flex;height:46px;align-items:center;justify-content:space-between;padding:0 10px}
.diy-page-toolbar h1{position:absolute;right:72px;left:72px;margin:0;overflow:hidden;color:var(--diy-page-title-color,#fff);font-size:17px;font-weight:700;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.diy-page-home{position:relative;z-index:1;display:grid;width:44px;height:44px;padding:0;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--diy-page-home-color,#fff)}
.diy-page-home:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.diy-page-home:active{transform:scale(.96)}
.diy-page-home:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.diy-page-home-icon{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.diy-page-capsule{position:relative;z-index:1;display:flex;width:82px;height:32px;align-items:center;justify-content:space-around;padding:0 7px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:18px;color:var(--diy-text);background:color-mix(in srgb,var(--diy-surface) 24%,transparent);backdrop-filter:blur(8px)}
.diy-page-capsule:after{content:"";position:absolute;left:50%;top:7px;bottom:7px;width:1px;background:color-mix(in srgb,currentColor 18%,transparent)}
.diy-page-capsule i,.diy-page-capsule b{font-size:12px;font-style:normal;font-weight:700;line-height:1}
.diy-page-chrome.capsule-black .diy-page-capsule{border-color:color-mix(in srgb,var(--diy-border) 18%,transparent);background:color-mix(in srgb,var(--diy-surface) 42%,transparent);color:var(--diy-text)}
.diy-page-native-reserve{display:block;width:44px;height:44px;flex:0 0 44px}
.diy-runtime-page-chrome{position:sticky;z-index:16;top:0;display:block;width:min(100%,540px);margin:auto}
.diy-runtime-page-chrome[hidden]{display:none}
.diy-runtime-page-chrome .diy-page-chrome{--diy-native-top:var(--diy-mp-status-top,var(--diy-mp-menu-top,0px));--diy-native-toolbar-height:var(--diy-mp-toolbar-height,52px);--diy-native-right-reserve:var(--diy-mp-right-reserve,56px);padding-top:var(--diy-native-top)}
.diy-runtime-page-chrome .diy-page-toolbar{height:var(--diy-native-toolbar-height)}
.diy-runtime-page-chrome .diy-page-toolbar h1{right:var(--diy-native-right-reserve);left:var(--diy-native-right-reserve)}
.diy-runtime-page-chrome .diy-page-native-reserve{width:var(--diy-native-right-reserve);height:44px;flex-basis:var(--diy-native-right-reserve)}
.diy-runtime-shell.is-immersive .diy-runtime-page-chrome{position:absolute;top:0;right:0;left:0;width:100%;margin:0;pointer-events:none}
.diy-runtime-shell.is-immersive .diy-runtime-page-chrome .diy-page-home{pointer-events:auto}
html.miniapp-webview .diy-runtime-page-chrome .diy-page-chrome{--diy-native-top:var(--diy-mp-status-top,var(--diy-mp-menu-top,24px));--diy-native-toolbar-height:var(--diy-mp-toolbar-height,40px);--diy-native-right-reserve:var(--diy-mp-right-reserve,103px)}
@supports(padding-top:max(0px)){html.miniapp-webview .diy-runtime-page-chrome .diy-page-chrome{--diy-native-top:max(env(safe-area-inset-top,0px),var(--diy-mp-status-top,var(--diy-mp-menu-top,24px)))}}
html.miniapp-webview .diy-runtime-page-chrome{display:none!important}
@media(max-width:340px){.diy-page-toolbar h1{right:62px;left:62px;font-size:15px}.diy-page-capsule{width:76px}}
@media(prefers-reduced-motion:reduce){.diy-page-home{transition:none}}

html.miniapp-webview.miniapp-zoom-locked,
html.miniapp-webview.miniapp-zoom-locked body {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* v0.8.0-alpha.15.30.55: DIY runtime mobile layout and touch hardening */
.dc-party-row {
  grid-template-columns: 70px minmax(0, 1fr) 43px;
}
.dc-party-row > div,
.dc-product > div:nth-child(2) {
  min-width: 0;
}
.dc-party-row > div strong {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dc-product {
  grid-template-columns: 65px minmax(0, 1fr) 29px;
}
.dc-product > div:nth-child(2) > strong,
.dc-product p {
  overflow: hidden;
  overflow-wrap: anywhere;
}
.dc-product > div:nth-child(2) > strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dc-product p {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-hero-dots {
  gap: 0;
  padding: 1px 3px;
}
.dc-hero-dots button,
.dc-hero-dots button.is-active {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  transition: opacity .2s ease;
}
.dc-hero-dots button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb,var(--diy-surface) 42%,transparent);
  content: "";
  transform: translate(-50%, -50%) scaleX(1);
  transition: transform .2s ease, background-color .2s ease;
}
.dc-hero-dots button.is-active::after {
  background: var(--diy-surface);
  transform: translate(-50%, -50%) scaleX(2.8333);
}
@media (prefers-reduced-motion: reduce) {
  .dc-hero-dots button,
  .dc-hero-dots button::after {
    transition: none;
  }
}

@media (max-width: 370px) {
  .dc-party-row {
    grid-template-columns: 64px minmax(0, 1fr) 46px;
  }
}

@media (pointer: coarse), (hover: none) {
  .dc-store button {
    width: 44px;
    height: 44px;
  }
  .dc-hero button,
  .dc-notice,
  .dc-section-head button,
  .dc-ranking header button,
  .dc-party-row > button,
  .dc-tournament button,
  .dc-coupon button,
  .dc-lottery button {
    min-width: 44px;
    min-height: 44px;
  }
  .dc-party-row {
    grid-template-columns: 70px minmax(0, 1fr) 44px;
  }
  .dc-product {
    grid-template-columns: 65px minmax(0, 1fr) 44px;
  }
  .dc-product > button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: transparent;
    font-size: 0;
  }
  .dc-product > button::before {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--diy-primary),var(--diy-accent));
    color: var(--diy-text);
    content: "＋";
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
  }
  .dc-hero-dots button,
  .dc-hero-dots button.is-active {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 370px) and (pointer: coarse), (max-width: 370px) and (hover: none) {
  .dc-party-row {
    grid-template-columns: 64px minmax(0, 1fr) 44px;
  }
}

/* v0.8.0-alpha.15.30.73: generic DIY surfaces follow the published theme palette. */
.dc-grid button span {
  border-color: var(--diy-border);
  background: linear-gradient(145deg,var(--diy-primary-soft),var(--diy-surface-alt));
  color: var(--diy-primary);
}
.dc-grid button b,
.dc-image-placeholder,
.dc-hotspot-placeholder,
.dc-richtext {
  color: var(--diy-text);
}
.dc-image,
.dc-hotspot-image {
  border-color: var(--diy-border);
  background: linear-gradient(145deg,var(--diy-primary-soft),var(--diy-surface));
}
.dc-image span,
.dc-image small,
.dc-image-placeholder small,
.dc-hotspot-placeholder small,
.dc-richtext p,
.dc-product p,
.dc-product > div:nth-child(2) > small,
.dc-ranking header small {
  color: var(--diy-muted);
}
.dc-richtext,
.dc-product,
.dc-ranking {
  border-color: var(--diy-border);
  background: var(--diy-surface);
}
.dc-ranking li {
  border-top-color: var(--diy-border);
}
.dc-ranking li em,
.dc-product > div:nth-child(2) > b {
  color: var(--diy-primary);
}
.dc-ranking li b {
  color: var(--diy-text);
}
.dc-dynamic-empty {
  border-color: color-mix(in srgb,var(--diy-primary) 34%,var(--diy-border));
  background: var(--diy-primary-soft);
  color: var(--diy-muted);
}

/* Runtime component surfaces follow the applied semantic theme tokens. */
.diy-document .dc-hero,.diy-document .dc-dual-hero{background:linear-gradient(135deg,var(--diy-surface-alt),var(--diy-surface-strong));}
.diy-document .dc-hero button,.diy-document .dc-upgrade button{color:var(--diy-on-primary,#fff)}
.diy-document .dc-store small,.diy-document .dc-notice p,.diy-document .dc-richtext p,.diy-document .dc-product p{color:var(--diy-muted)}
